/* Triangle Event Calendar — scoped to .tec so the theme cannot restyle it */
.tec{--forest:#123F38;--teal:#1F6E62;--gold:#C6A15B;--gold-deep:#A08040;--gold-text:#7D6330;--ivory:#FAF9F4;--paper:#fff;--ink:#22332E;--body:#46695F;--sage:#8AA096;--hair:rgba(160,128,64,.28);--water:#DCEFEA;--gold-tint:#F3EDDD;--clay:#B0664A;
  font-family:"Jost","Avenir Next",system-ui,sans-serif;color:var(--body);max-width:1040px;margin:0 auto;line-height:1.45}
.tec *,.tec *::before,.tec *::after{box-sizing:border-box}
.tec p{margin:0;max-width:none}
.tec button{font:inherit;color:inherit;text-transform:none;letter-spacing:0;box-shadow:none;min-height:0;height:auto;line-height:1.2;cursor:pointer}
.tec-head{display:flex;align-items:center;gap:.5rem;margin:0 0 .8rem}
.tec-title{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:1.9rem;color:var(--forest);margin:0;flex:1;text-align:center;letter-spacing:0;text-transform:none}
.tec .tec-nav{width:40px;height:40px;border-radius:50%;border:1px solid var(--hair);background:var(--paper);color:var(--forest);font-size:1.4rem;display:inline-flex;align-items:center;justify-content:center;padding:0}
.tec-nav:hover,.tec-today:hover{border-color:var(--gold);background:var(--gold-tint)}
.tec .tec-today{border:1px solid var(--hair);background:var(--paper);color:var(--forest);border-radius:999px;padding:.45rem .9rem;font-size:.85rem}
.tec-filters{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap;margin:0 0 .6rem}
.tec .tec-pill{border:1px solid var(--hair);background:var(--paper);color:var(--forest);border-radius:999px;padding:.5rem 1.1rem;font-size:.9rem}
.tec .tec-pill.is-on{background:var(--teal);border-color:var(--teal);color:#fff}
.tec-legend{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap;margin:0 0 .9rem}
.tec-legend .tec-ev--key{display:inline-block;white-space:nowrap;font-size:.78rem;padding:4px 10px 4px 8px;cursor:default;pointer-events:none}
.tec-legend span{display:inline-flex;align-items:center;gap:.35rem}
.tec-dot{width:9px;height:9px;border-radius:50%;display:inline-block}
.tec-dot--public{background:var(--teal)} .tec-dot--therapists{background:var(--gold)} .tec-dot--online{background:#fff;border:2px solid var(--teal)}
.tec-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;background:transparent}
.tec-dow{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-text);text-align:center;padding:.3rem 0 .4rem}
.tec-cell{min-height:108px;background:var(--paper);border:1px solid var(--hair);border-radius:10px;padding:.35rem .4rem;display:flex;flex-direction:column;gap:3px;text-align:left}
.tec-cell.is-out{background:transparent;border-color:transparent}
.tec-cell.is-out .tec-num{color:var(--sage);opacity:.6}
.tec-cell.is-today{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.tec-cell.is-sel{background:var(--water)}
.tec-cell.has-ev{cursor:pointer}
.tec-cell.has-ev:hover{border-color:var(--teal)}
.tec-num{font-family:"Cormorant Garamond",Georgia,serif;font-size:1.1rem;color:var(--forest);line-height:1}
.tec-cell.is-today .tec-num{background:var(--gold);color:var(--forest);border-radius:50%;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;font-weight:600}
.tec-ev{display:block;font-size:.74rem;line-height:1.25;color:var(--ink);background:var(--water);border-left:4px solid var(--teal);border-radius:4px;padding:3px 5px;text-decoration:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border-bottom:0}
.tec-ev.is-therapists{background:var(--gold-tint);border-left-color:var(--gold)}
.tec-ev.is-online::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;border:2px solid var(--teal);background:#fff;margin-right:5px;vertical-align:-1px}
.tec-ev--plain{background:#fff;border-left-color:var(--hair)}
.tec-ev.is-cancelled{text-decoration:line-through;opacity:.6}
.tec-ev:hover{background:var(--teal);color:#fff}
.tec-more{font-size:.72rem;color:var(--teal);margin-top:auto}
.tec-empty{grid-column:1/-1;text-align:center;color:var(--sage);padding:1rem;font-style:italic}
.tec-day{margin:1rem 0 0}
.tec-day:empty{display:none}
.tec-day h3{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:1.4rem;color:var(--forest);margin:0 0 .5rem;letter-spacing:0;text-transform:none}
.tec-card{display:grid;grid-template-columns:auto 1fr;gap:.2rem 1rem;align-items:baseline;background:var(--paper);border:1px solid var(--hair);border-radius:12px;padding:.8rem 1rem;margin:0 0 .6rem}
.tec-card .t{font-size:.85rem;color:var(--gold-text);white-space:nowrap}
.tec-card .n{font-family:"Cormorant Garamond",Georgia,serif;font-size:1.25rem;color:var(--forest);text-decoration:none;border-bottom:0}
.tec-card .n:hover{color:var(--teal)}
.tec-card .m{grid-column:2;font-size:.85rem;color:var(--sage)}
.tec-tag{display:inline-block;font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;padding:.15rem .5rem;border-radius:999px;background:var(--water);color:var(--teal);margin-right:.4rem}
.tec-tag.is-therapists{background:var(--gold-tint);color:var(--gold-text)}
.tec-tag.is-cancelled{background:#F2E3DC;color:var(--clay)}
.tec-foot{font-size:.85rem;color:var(--sage);text-align:center;margin:1rem 0 0}
.tec-foot a{color:var(--teal)}
@media (max-width:700px){
  .tec-grid{gap:2px}
  .tec-cell{min-height:52px;padding:.25rem .2rem;align-items:center;border-radius:8px}
  .tec-ev{display:none}
  .tec-more{display:none}
  .tec-dots{display:flex;gap:3px;flex-wrap:wrap;justify-content:center;margin-top:2px}
  .tec-dots i{width:6px;height:6px;border-radius:50%;background:var(--teal);display:block}
  .tec-dots i.is-therapists{background:var(--gold)}
  .tec-title{font-size:1.5rem}
  .tec-card{grid-template-columns:1fr}
  .tec-card .m{grid-column:1}
}
@media (min-width:701px){ .tec-dots{display:none} }

/* Calendar / List switch on the Events page */
.tec-switch{display:flex;justify-content:center;gap:.5rem;margin:1.6rem 0 1rem}
.tec-switch .tec-pill{border:1px solid rgba(160,128,64,.28);background:#fff;color:#123F38;border-radius:999px;padding:.5rem 1.3rem;font:inherit;font-family:"Jost","Avenir Next",system-ui,sans-serif;font-size:.9rem;text-transform:none;letter-spacing:0;box-shadow:none;min-height:0;height:auto;line-height:1.2;cursor:pointer}
.tec-switch .tec-pill.is-on{background:#1F6E62;border-color:#1F6E62;color:#fff}
#tec-auto .tec{margin-bottom:1.5rem}
