/* WherOra team clock (/team-clock/) */
:root{--tc-work:#2b9d66;--tc-edge:#efbd4a;--tc-off:#dbe3ec;--tc-night:#40516b;--tc-empty:#e6ecf2;--tc-line:#d4dde7;--tc-ink:#172331;--tc-soft:#4a5d70;--tc-card:#fff}
html[data-theme=dark]{--tc-work:#2f9e68;--tc-edge:#b98a2b;--tc-off:#2d3b4c;--tc-night:#0f1823;--tc-empty:#1e2a38;--tc-line:#33445a;--tc-ink:#e7edf5;--tc-soft:#b4c3d3;--tc-card:#151e29}
.tc-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 6px;padding:0;list-style:none}
.tc-trust li{display:flex;gap:12px;align-items:flex-start;background:var(--tc-card);border:1px solid var(--tc-line);border-radius:14px;padding:14px 16px;color:var(--tc-ink)}
.tc-trust svg{flex:none;color:#0b7a4b;margin-top:2px}
html[data-theme=dark] .tc-trust svg{color:#5fd39a}
.tc-trust strong{display:block;font-size:15px;margin-bottom:2px}
.tc-trust span{font-size:14px;line-height:1.5;color:var(--tc-soft)}
#tc-app{margin:18px 0 8px;background:var(--tc-card);border:1px solid var(--tc-line);border-radius:16px;padding:20px 22px;color:var(--tc-ink);min-height:240px}
.tc-board-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 20px;align-items:flex-start}
.tc-board-head h2{margin:0 0 4px;font-size:24px}
.tc-board-head h2:focus{outline:none}
.tc-board-head .eyebrow{margin-bottom:6px}
.tc-you{margin:0;font-size:14px;color:var(--tc-soft)}
.tc-actions,.tc-edit-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tc-actions button,.tc-edit-actions button,.tc-button-link{min-height:44px}
.tc-button-link{display:inline-flex;align-items:center;border:1px solid #dce3ea;background:#fff;border-radius:8px;padding:11px 15px;font-size:14px;color:inherit;text-decoration:none;white-space:nowrap}
html[data-theme=dark] .tc-button-link{background:#1c2734;border-color:#3a4b60;color:#e7edf5}
.tc-trust-note{display:flex;gap:10px;align-items:flex-start;margin:14px 0 4px;padding:11px 14px;border-radius:12px;background:#eaf6ef;border:1px solid #c5e6d3;color:#123b28}
.tc-trust-note p{margin:0;font-size:14px;line-height:1.5}
.tc-lock{flex:none;color:#0b7a4b;margin-top:1px}
html[data-theme=dark] .tc-trust-note{background:#13281e;border-color:#25513b;color:#d6f1e3}
html[data-theme=dark] .tc-lock{color:#5fd39a}
.tc-copy-status{margin:8px 0 0;font-size:14px;color:#0b6b41;min-height:0}
.tc-copy-status:empty{display:none}
html[data-theme=dark] .tc-copy-status{color:#7fe0ad}
.tc-copy-input{width:100%;max-width:520px;font:inherit;font-size:14px;padding:8px 10px;margin-top:4px}
.tc-summary{margin:16px 0 4px;font-size:16px;line-height:1.5}
.tc-overlap{margin:4px 0;font-size:15px;line-height:1.5;color:var(--tc-soft)}
.tc-overlap strong{color:var(--tc-ink)}
.tc-notice{margin:8px 0 0;padding:9px 12px;border-radius:10px;background:#fff7e3;border:1px solid #f0d9a0;font-size:14px;line-height:1.5;color:#4a3500}
html[data-theme=dark] .tc-notice{background:#2a2213;border-color:#5c4a22;color:#f3dca4}
.tc-warn{margin:10px 0 0;font-size:14px;color:#8a3b00}
html[data-theme=dark] .tc-warn{color:#ffb98a}
.tc-timeline{margin-top:14px}
.tc-axis{position:relative;height:20px;margin-left:calc(var(--tc-cols-left,0px));font-size:12px;color:var(--tc-soft)}
.tc-tick{position:absolute;top:0;transform:translateX(0);white-space:nowrap;border-left:1px solid var(--tc-line);padding-left:4px}
.tc-axis-label{position:absolute;right:0;top:0}
.tc-rows{list-style:none;margin:0;padding:0}
.tc-row{display:grid;grid-template-columns:minmax(140px,1.3fr) minmax(96px,.7fr) minmax(170px,1.4fr);grid-template-areas:"who time state" "bar bar bar";gap:6px 14px;align-items:center;padding:12px 0;border-top:1px solid var(--tc-line)}
.tc-who{grid-area:who;display:flex;flex-direction:column;min-width:0}
.tc-name{font-weight:700;font-size:16px;overflow-wrap:anywhere}
.tc-place{font-size:13px;color:var(--tc-soft)}
.tc-time{grid-area:time;display:flex;flex-direction:column}
.tc-clock{font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.15}
.tc-day{font-size:13px;color:var(--tc-soft)}
.tc-state{grid-area:state;display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.tc-chip{display:inline-block;font-size:13px;font-weight:650;padding:3px 10px;border-radius:999px}
.tc-chip.tc-work{background:#dcf3e6;color:#0c5131}
.tc-chip.tc-edge{background:#fcefcc;color:#5c3f00}
.tc-chip.tc-off{background:#e6ecf3;color:#2f4357}
.tc-chip.tc-night{background:#2c3b52;color:#fff}
html[data-theme=dark] .tc-chip.tc-work{background:#17402b;color:#b9f0d3}
html[data-theme=dark] .tc-chip.tc-edge{background:#3d3015;color:#f7dc9c}
html[data-theme=dark] .tc-chip.tc-off{background:#263445;color:#d3dfeb}
html[data-theme=dark] .tc-chip.tc-night{background:#0b121b;color:#e7edf5;box-shadow:inset 0 0 0 1px #33445a}
.tc-next,.tc-hours{font-size:13px;color:var(--tc-soft)}
.tc-bar{grid-area:bar;position:relative;height:14px;border-radius:7px;background:var(--tc-empty);overflow:visible}
.tc-team-row .tc-name{font-size:14px}
.tc-now{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:var(--tc-ink);border-radius:1px}
.tc-pick{position:absolute;top:-6px;bottom:-6px;width:0;margin-left:-1px;border-left:2px dashed #087de5}
html[data-theme=dark] .tc-pick{border-color:#7cc0ff}
.tc-scrub{display:grid;grid-template-columns:1fr auto;gap:4px 16px;align-items:center;margin-top:16px;padding-top:14px;border-top:1px solid var(--tc-line)}
.tc-scrub label{font-size:14px;font-weight:650;grid-column:1/-1}
.tc-scrub input[type=range]{grid-column:1/-1;height:28px}
.tc-scrub .tc-small-note{margin:0}
.tc-scrub #tc-back{justify-self:end}
.tc-format{grid-column:1/-1;display:flex;gap:6px;margin-top:6px}
.tc-format button{min-height:40px;padding:8px 14px;border:1px solid #c7d3e0;border-radius:8px;background:transparent;color:inherit;font-size:14px}
.tc-format button[aria-pressed=true]{background:#0a63b4;border-color:#0a63b4;color:#fff}
.tc-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:12px 0 0;font-size:13px;color:var(--tc-soft)}
.tc-legend span{display:inline-flex;align-items:center;gap:6px}
.tc-dot{display:inline-block;width:14px;height:10px;border-radius:3px}
.tc-dot.tc-work{background:var(--tc-work)}.tc-dot.tc-edge{background:var(--tc-edge)}.tc-dot.tc-off{background:var(--tc-off)}.tc-dot.tc-night{background:var(--tc-night)}
.tc-foot{margin:14px 0 0;font-size:14px;color:var(--tc-soft)}
.tc-small-note{font-size:13px;color:var(--tc-soft);margin:6px 0 0}
/* editor */
.tc-field{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:650;min-width:0}
.tc-field input,.tc-field select{font:inherit;font-weight:400;font-size:16px;min-height:44px;padding:8px 10px;border:1.5px solid #8395a8;border-radius:9px;background:#fff;color:#172331;width:100%;box-sizing:border-box}
html[data-theme=dark] .tc-field input,html[data-theme=dark] .tc-field select{background:#0f1720;color:#e7edf5;border-color:#5b7088}
.tc-field input[aria-invalid=true],.tc-field select[aria-invalid=true]{border-color:#c2410c;box-shadow:0 0 0 1px #c2410c}
.tc-team-name{max-width:360px;margin:16px 0 6px}
.tc-edit-list{list-style:none;margin:10px 0;padding:0;counter-reset:tc}
.tc-edit-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(190px,1.6fr) 110px 110px 120px 44px;gap:8px 10px;align-items:end;padding:10px 0;border-top:1px solid var(--tc-line)}
.tc-remove{min-width:44px;min-height:44px;border:0;background:transparent}
.tc-err{grid-column:1/-1;margin:0;font-size:14px;color:#a33a00}
.tc-err:empty{display:none}
html[data-theme=dark] .tc-err{color:#ffb98a}
.tc-saved{margin-top:16px;padding-top:12px;border-top:1px solid var(--tc-line)}
.tc-saved h3{font-size:16px;margin:0 0 6px}
.tc-saved ul{margin:0;padding-left:18px}
.tc-saved li{margin:4px 0}
.tc-url code{white-space:normal;overflow-wrap:anywhere;word-break:break-all;font-size:14px}
.tc-url mark{background:#fff1b8;color:#3d2c00;padding:1px 2px;border-radius:3px}
html[data-theme=dark] .tc-url mark{background:#4a3c12;color:#ffe9a6}
/* static example table (also shown without JavaScript) */
.tc-example td:nth-child(3),.tc-example th:nth-child(3){white-space:nowrap}
@media(max-width:860px){
 .tc-edit-row{grid-template-columns:1fr 1fr 44px;grid-template-areas:none}
 .tc-edit-row .tc-wide{grid-column:1/3}
 .tc-edit-row .tc-field:first-child{grid-column:1/3}
 .tc-edit-row .tc-remove{grid-row:1;grid-column:3}
 .tc-trust{grid-template-columns:1fr}
}
@media(max-width:600px){
 #tc-app{padding:16px 14px;border-radius:14px}
 .tc-row{grid-template-columns:1fr auto;grid-template-areas:"who time" "state state" "bar bar"}
 .tc-time{align-items:flex-end;text-align:right}
 .tc-state{flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:10px}
 .tc-hours{flex-basis:100%}
 .tc-actions{width:100%}
 .tc-actions>*{flex:1 1 auto;justify-content:center;text-align:center}
 .tc-board-head h2{font-size:21px}
 .tc-axis-label{display:none}
}
@media(max-width:420px){
 .tc-edit-row{grid-template-columns:1fr 1fr 44px}
 .tc-edit-row label:nth-of-type(5){grid-column:1/3}
}
@media(forced-colors:active){.tc-bar{border:1px solid CanvasText}.tc-now,.tc-pick{background:Highlight;border-color:Highlight}}

/* Tool-page layout (November 7, 2026): same container, gutters and top spacing as /meeting/ and /convert/.
   The board uses the full width; intro copy and explainer sections keep the 850px reading width used on the other tools. */
main.tc-page{max-width:1280px;padding:16px 28px 0}
main.tc-page .about-intro{max-width:none;margin:0 0 4px}
main.tc-page .about-intro h1,main.tc-page .guide-answer,main.tc-page .about-section,main.tc-page .guide-links{max-width:850px}
@media(max-width:850px){main.tc-page{padding:18px 20px 0}}
@media(max-width:600px){main.tc-page{padding:14px 12px 0}}
/* Editor row below 861px: Starts and Ends sit side by side under the city, Workdays below them (Starts used to squeeze into the 44px remove column). */
@media(max-width:860px){.tc-edit-row label:nth-of-type(3){grid-column:1}.tc-edit-row label:nth-of-type(5){grid-column:1/3}}
