/* Clemson preview · Variant C (clean premium SaaS) */
:root {
  --orange: #F56600; --orange-50: #FFF3EB; --orange-600: #D95A00;
  --regalia: #522D80; --regalia-50: #F4F0FA; --regalia-100: #E9E1F5;
  --bg: #FAFAFB; --surface: #fff; --sunk: #F5F5F7;
  --line: #E7E7EC; --line-2: #EFEFF3;
  --ink: #0E1015; --ink-2: #3A3D46; --muted: #6B6F7B; --faint: #6E717D;
  --go: #12A150; --go-50: #E9F8EF; --mon: #C98204; --mon-50: #FFF6E0; --hold: #E5484D; --hold-50: #FDECEC;
  --r: 12px; --r-sm: 8px;
  --sh-1: 0 1px 2px rgba(16,18,27,.04), 0 1px 1px rgba(16,18,27,.03);
  --sh-2: 0 1px 2px rgba(16,18,27,.05), 0 6px 16px -6px rgba(16,18,27,.10);
  --sh-3: 0 12px 40px -12px rgba(16,18,27,.28), 0 2px 6px rgba(16,18,27,.06);
  --top: 60px; --side: 248px; --chat: 420px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--regalia); outline-offset: 2px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.i { width: 16px; height: 16px; flex: none; }
kbd { font: 500 10px/1 var(--font); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 2px 4px; color: var(--muted); background: #fff; }
[hidden] { display: none !important; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 20px; padding: 0 20px; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; min-width: calc(var(--side) - 20px); flex: none; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(140deg, var(--regalia), #3a1d61); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), var(--sh-1); }
.brand-txt { display: flex; flex-direction: column; min-width: 0; }
.wordmark { font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--regalia); white-space: nowrap; }
.wordmark::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 2px; background: var(--orange); margin-left: 6px; vertical-align: 1px; }
.brand-sub { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot-sep { color: var(--faint); }
.sim { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.sim-ctl { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; max-width: 560px; }
.top-right { display: flex; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 13px; box-shadow: var(--sh-1); transition: transform .15s var(--ease), box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { box-shadow: var(--sh-2); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #D4520A, #C2410C); border-color: #B23C0B; color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 4px 12px -4px rgba(245,102,0,.55); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 18px -4px rgba(245,102,0,.6); }
.btn-ghost { background: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--ink-2); transition: background .15s, border-color .15s; flex: none; }
.icon-btn:hover { background: var(--sunk); border-color: var(--line); }
#sim-pause .ic-play { display: none; }
.sim[data-state="paused"] #sim-pause .ic-play { display: block; }
.sim[data-state="paused"] #sim-pause .ic-pause { display: none; }
.sim[data-state="playing"] .sim-play, .sim[data-state="paused"] .sim-play { display: none; }
.scrub { position: relative; flex: 1; height: 28px; display: flex; align-items: center; min-width: 80px; }
.scrub-track { position: absolute; left: 0; right: 0; height: 6px; border-radius: 99px; background: var(--line-2); box-shadow: inset 0 0 0 1px var(--line); overflow: visible; }
.scrub-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--regalia), var(--orange)); }
.scrub-marks i { position: absolute; top: -3px; width: 2px; height: 12px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.scrub-marks i[data-k="HOLD"] { background: var(--hold); box-shadow: none; }
.scrub-marks i[data-k="MONITOR"] { background: var(--mon); box-shadow: none; }
.scrub-marks i[data-k="GO"] { background: var(--go); box-shadow: none; }
.scrub input { position: relative; width: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; height: 28px; cursor: pointer; }
.scrub input::-webkit-slider-runnable-track { height: 6px; background: transparent; }
.scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.scrub input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.scrub input:focus-visible { outline: none; }
.scrub input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--regalia-100), var(--sh-2); border-color: var(--regalia); }
.sim-clock { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; min-width: 64px; text-align: right; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pill-preview { background: var(--sunk); color: var(--ink-2); border: 1px solid var(--line); }
.pill-sim { background: var(--regalia-50); color: var(--regalia); border: 1px solid var(--regalia-100); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--regalia); }
.sim[data-state="playing"] .pill-dot { background: var(--orange); animation: pulse 1.4s infinite; }
.sim[data-state="idle"] .pill-sim { display: none; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .5 } }

/* ---------- layout ---------- */
.app { display: grid; grid-template-columns: var(--side) minmax(0,1fr) var(--chat); min-height: calc(100vh - var(--top)); transition: grid-template-columns .3s var(--ease); }
.app.chat-collapsed { grid-template-columns: var(--side) minmax(0,1fr) 64px; }
.side { position: sticky; top: var(--top); height: calc(100vh - var(--top)); border-right: 1px solid var(--line); background: #FCFCFD; padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; overflow: visible; z-index: 35; }
.side-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 0 8px; display: block; margin-bottom: 6px; }
.side-label-nav { margin-top: 18px; }
.tabs { display: flex; flex-direction: column; gap: 2px; }
.tab { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-weight: 500; font-size: 13.5px; text-align: left; position: relative; transition: background .15s, color .15s; }
.tab .i { color: var(--faint); transition: color .15s; }
.tab:hover { background: var(--sunk); color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.tab[aria-selected="true"] .i { color: var(--orange); }
.tab-badge { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--hold); color: #fff; font-size: 10.5px; font-weight: 700; display: inline-grid; place-items: center; }
.tab-badge.calm { background: var(--sunk); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.side-foot { margin-top: auto; padding: 12px 8px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.onduty { display: flex; gap: 10px; align-items: center; }
.onduty b { display: block; font-size: 13px; }
.onduty small { color: var(--muted); font-size: 11.5px; }
.side-note { font-size: 11px; color: var(--faint); line-height: 1.45; }

/* ---------- venue picker ---------- */
.vp { position: relative; }
.vp-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); text-align: left; transition: box-shadow .15s, border-color .15s; }
.vp-btn:hover { box-shadow: var(--sh-2); }
.vp-btn[aria-expanded="true"] { border-color: var(--regalia); box-shadow: 0 0 0 3px var(--regalia-100); }
.vp-btn-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vp-btn-name { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-btn-kind { font-size: 11.5px; color: var(--muted); }
.chev { color: var(--faint); transition: transform .2s var(--ease); }
.vp-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.vp-pop { position: absolute; left: 0; top: calc(100% + 6px); width: 300px; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-3); padding: 6px; transform-origin: top left; animation: pop .16s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98) } to { opacity: 1; transform: none } }
.vp-pop-head { display: flex; align-items: center; gap: 4px; padding: 6px 8px 8px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.vp-pop-head kbd:first-of-type { margin-left: auto; }
.vp-list { list-style: none; margin: 0; padding: 0; outline: none; }
.vp-opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.vp-opt.active { background: var(--sunk); }
.vp-opt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vp-opt-txt b { font-weight: 600; font-size: 13.5px; }
.vp-opt-txt small { color: var(--muted); font-size: 11.5px; }
.vp-opt-st { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.vp-check { width: 16px; color: var(--regalia); visibility: hidden; }
.vp-opt[aria-selected="true"] .vp-check { visibility: visible; }
.sdot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--go); box-shadow: 0 0 0 3px var(--go-50); }
.sdot[data-s="MONITOR"] { background: var(--mon); box-shadow: 0 0 0 3px var(--mon-50); }
.sdot[data-s="HOLD"] { background: var(--hold); box-shadow: 0 0 0 3px var(--hold-50); animation: pulse 1.6s infinite; }
.st-GO { color: var(--go); } .st-MONITOR { color: var(--mon); } .st-HOLD { color: var(--hold); }

/* ---------- main ---------- */
.main { padding: 28px 32px 40px; min-width: 0; outline: none; }
.panel { animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(4px) } to { opacity: 1; transform: none } }
.page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
h1 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.page-sub { color: var(--muted); margin-top: 2px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); padding: 18px; min-width: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-h.mt { margin-top: 22px; }
h2 { font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.grid { display: grid; gap: 16px; margin-top: 16px; }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-trop { grid-template-columns: 1.1fr 1fr; margin-top: 0; }
.g-team { grid-template-columns: minmax(0,1fr) 300px; margin-top: 0; }
.tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.tag-live { background: var(--go-50); color: #0B7A3B; }
.tag-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--go); }
.tag-sim { background: var(--regalia-50); color: var(--regalia); }
.tag-team { background: var(--orange-50); color: #B54B00; }
.tag-prod { background: var(--sunk); color: var(--muted); }
.cap { font-size: 12px; color: var(--muted); margin-top: 10px; }
.cap.pad { padding: 0 18px 16px; }
.now-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: 12.5px; color: var(--ink-2); box-shadow: var(--sh-1); }
.link-btn { border: 0; background: none; padding: 0; color: var(--regalia); font-weight: 600; font-size: 13px; margin-top: 12px; }
.link-btn:hover { text-decoration: underline; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 24px; padding: 24px 28px; position: relative; overflow: hidden; transition: border-color .4s, box-shadow .4s; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--go); transition: background .4s; }
.hero::after { content: ""; position: absolute; right: -80px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18,161,80,.10), transparent); transition: background .4s; pointer-events: none; }
.hero[data-s="MONITOR"]::before { background: var(--mon); }
.hero[data-s="MONITOR"]::after { background: radial-gradient(closest-side, rgba(201,130,4,.12), transparent); }
.hero[data-s="HOLD"]::before { background: var(--hold); }
.hero[data-s="HOLD"]::after { background: radial-gradient(closest-side, rgba(229,72,77,.13), transparent); }
.hero[data-s="HOLD"] { border-color: #F6C9CB; box-shadow: 0 0 0 4px rgba(229,72,77,.06), var(--sh-2); }
.hero-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-venue { font-size: 13px; font-weight: 600; color: var(--muted); }
.hero-status { margin: 10px 0 8px; }
.status-badge { display: inline-flex; align-items: center; gap: 14px; font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -.035em; color: var(--go); transition: color .3s; }
.status-badge .sdot { width: 14px; height: 14px; box-shadow: 0 0 0 6px var(--go-50); }
.hero[data-s="MONITOR"] .status-badge { color: var(--mon); }
.hero[data-s="HOLD"] .status-badge { color: var(--hold); }
.hero[data-s="MONITOR"] .status-badge .sdot { background: var(--mon); box-shadow: 0 0 0 6px var(--mon-50); }
.hero[data-s="HOLD"] .status-badge .sdot { background: var(--hold); box-shadow: 0 0 0 6px var(--hold-50); animation: pulse 1.4s infinite; }
.hero-status.flip .status-badge { animation: flip .5s var(--ease); }
@keyframes flip { 0% { transform: translateY(8px); opacity: 0 } 100% { transform: none; opacity: 1 } }
.hero-reason { font-size: 17px; font-weight: 500; color: var(--ink); max-width: 56ch; letter-spacing: -.01em; }
.hero-eta { color: var(--muted); margin-top: 6px; font-size: 13px; }
.hero-clock { position: relative; width: 168px; height: 168px; grid-row: span 2; align-self: center; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line-2); stroke-width: 7; }
.ring-fg { fill: none; stroke: var(--go); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 0; transition: stroke-dashoffset .35s linear, stroke .3s; }
.hero[data-s="MONITOR"] .ring-fg { stroke: var(--mon); }
.hero[data-s="HOLD"] .ring-fg { stroke: var(--hold); }
.hero-clock-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-clock-label { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); max-width: 92px; line-height: 1.25; }
.hero-clock-val { font-size: 34px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 2px 0; }
.hero-clock-sub { font-size: 11.5px; color: var(--muted); }
.hero-policy { grid-column: 1 / -1; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 8px; }

/* lightning */
.lt { display: grid; grid-template-columns: minmax(0, 190px) minmax(0,1fr); gap: 18px; align-items: center; }
.lt-viz svg { width: 100%; height: auto; display: block; }
.lt-side { display: grid; gap: 14px; }
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--sunk); border: 1px solid var(--line); gap: 2px; width: max-content; }
.seg button { border: 0; background: transparent; height: 28px; padding: 0 12px; border-radius: 6px; font-weight: 600; font-size: 12.5px; color: var(--muted); transition: background .15s, color .15s, box-shadow .15s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.kv { margin: 0; display: grid; gap: 8px; }
.kv div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.kv div:last-child { border-bottom: 0; padding-bottom: 0; }
.kv dt { color: var(--muted); font-size: 12.5px; }
.kv dd { margin: 0; font-weight: 600; font-size: 12.5px; text-align: right; font-variant-numeric: tabular-nums; }
.kv dt { white-space: nowrap; }
.strike { transform-box: fill-box; transform-origin: center; }
.strike.new { animation: strikein .6s var(--ease); }
@keyframes strikein { 0% { transform: scale(2.2); opacity: 0 } 60% { opacity: 1 } 100% { transform: scale(1) } }
.flash { animation: flash .7s ease-out; }
@keyframes flash { 0% { opacity: .9 } 100% { opacity: 0 } }

/* radar */
.radar-wrap { position: relative; border-radius: 10px; overflow: hidden; background: #12101A; aspect-ratio: 4 / 3; max-height: 270px; width: 100%; display: grid; place-items: center; }
.radar-wrap[data-size="lg"] { max-height: none; aspect-ratio: 16 / 10; }
.radar-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; background: #12101A; }
.radar-wrap svg { width: 100%; height: 100%; display: block; }
.radar-badge { position: absolute; left: 10px; top: 10px; display: inline-flex; gap: 6px; }
.radar-badge .tag { background: rgba(255,255,255,.92); }
.eta-line { margin-top: 12px; font-weight: 500; font-size: 13px; line-height: 1.7; }
.eta-line .i { color: var(--orange); vertical-align: -3px; margin-right: 6px; }
.eta-line .tag { margin-left: 6px; vertical-align: 1px; }
.radar-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.radar-foot .cap { margin-top: 12px; }

/* alerts */
.alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alerts + .alerts { margin-top: 8px; }
.alerts li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.alerts li.new { animation: slidein .4s var(--ease); }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }
.alerts .sev { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .05em; padding: 3px 6px; border-radius: 5px; margin-top: 1px; }
.sev-w { background: var(--hold-50); color: #B4262B; } .sev-a { background: var(--mon-50); color: #8A5A00; } .sev-s { background: var(--sunk); color: var(--ink-2); }
.sev-go { background: var(--go-50); color: #0B7A3B; } .sev-team { background: var(--orange-50); color: #B54B00; }
.alerts .al-t { display: flex; flex-direction: column; min-width: 0; font-weight: 600; font-size: 13px; }
.alerts .al-t small { font-weight: 400; color: var(--muted); font-size: 12px; }
.al-loading, .al-none { color: var(--muted); font-size: 13px; }
.al-none::before { content: "✓"; color: var(--go); font-weight: 700; }

/* next up */
.nx { display: grid; gap: 10px; }
.nx-item { display: flex; gap: 12px; align-items: center; }
.nx-time { width: 62px; flex: none; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; }
.nx-body { flex: 1; min-width: 0; }
.nx-body b { display: block; font-size: 13px; font-weight: 600; }
.nx-body small { color: var(--muted); font-size: 12px; }
.nx-first { padding: 12px; border-radius: 10px; background: var(--sunk); border: 1px solid var(--line); }
.risk { flex: none; font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; }
.risk-low { background: var(--go-50); color: #0B7A3B; } .risk-mod { background: var(--mon-50); color: #8A5A00; } .risk-high { background: var(--hold-50); color: #B4262B; }

/* hourly */
.hours { display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap: 4px; align-items: end; text-align: center; font-size: 11px; color: var(--muted); }
.hours .bar { height: 64px; display: flex; align-items: flex-end; justify-content: center; background: var(--sunk); border-radius: 6px; overflow: hidden; margin-bottom: 4px; }
.hours .bar i { width: 100%; background: linear-gradient(180deg, #7FA8E8, #4B7BD1); border-radius: 6px 6px 0 0; transition: height .5s var(--ease); }
.hours strong { display: block; color: var(--ink); font-size: 12px; }

/* schedule timeline */
.tl-card { padding-bottom: 8px; }
.tl-scroll { overflow-x: auto; padding-bottom: 10px; }
.tl { position: relative; min-width: 720px; height: 332px; }
.tl-hours { position: absolute; left: 0; right: 0; top: 0; height: 20px; }
.tl-hours span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--faint); font-weight: 500; font-variant-numeric: tabular-nums; }
.tl-grid { position: absolute; left: 0; right: 0; top: 24px; bottom: 0; }
.tl-grid i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.tl-band-row { position: absolute; left: 0; right: 0; top: 30px; height: 40px; border-radius: 10px; overflow: hidden; background: var(--sunk); }
.tl-band { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 10px; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.tl-band.low { background: linear-gradient(180deg, #E9F8EF, #DDF3E6); color: #0B7A3B; }
.tl-band.mod { background: linear-gradient(180deg, #FFF6E0, #FDEBC4); color: #8A5A00; }
.tl-band.high { background: repeating-linear-gradient(135deg, #FDECEC 0 8px, #FADADB 8px 16px); color: #B4262B; }
.tl-row-label { position: absolute; left: 0; font-size: 11px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.tl-pop { position: absolute; left: 0; right: 0; top: 112px; height: 44px; border-bottom: 1px solid var(--line); }
.tl-pop i { position: absolute; bottom: 0; width: 3%; border-radius: 4px 4px 0 0; background: #A9C3EE; }
.tl-ev { position: absolute; top: 172px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; width: 0; }
.tl-ev .stem { width: 2px; height: 16px; background: var(--line); }
.tl-ev .pin { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--regalia); box-shadow: var(--sh-1); margin-top: -2px; }
.tl-ev .lbl { margin-top: 8px; white-space: nowrap; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; box-shadow: var(--sh-1); font-size: 12px; font-weight: 600; transition: border-color .3s, box-shadow .3s; }
.tl-ev .lbl small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.tl-ev.alt .stem { height: 74px; }
.tl-ev[data-risk="high"] .pin { border-color: var(--hold); }
.tl-ev[data-risk="mod"] .pin { border-color: var(--mon); }
.tl-ev[data-risk="low"] .pin { border-color: var(--go); }
.tl-ev.affected .lbl { border-color: #F6C9CB; box-shadow: 0 0 0 3px rgba(229,72,77,.08); }
.tl-now { position: absolute; top: 24px; bottom: 0; width: 2px; background: var(--orange); transition: left .3s linear; z-index: 2; }
.tl-now::before { content: attr(data-label); position: absolute; top: -2px; left: 6px; font-size: 10.5px; font-weight: 700; color: #B54B00; background: #fff; padding: 0 4px; border-radius: 4px; white-space: nowrap; }
.tl-hold { position: absolute; top: 76px; height: 14px; box-shadow: 0 4px 12px -4px rgba(229,72,77,.6); border-radius: 4px; background: var(--hold); opacity: .85; z-index: 1; transition: left .3s linear, width .3s linear; }
.tl-hold::after { content: attr(data-label); color: var(--hold) !important; position: absolute; left: calc(100% + 8px); top: -1px; font-size: 10px; font-weight: 700; color: #fff; white-space: nowrap; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 8px; border-radius: 3px; display: inline-block; }
.lg-low { background: #DDF3E6; } .lg-mod { background: #FDEBC4; } .lg-high { background: #F6C9CB; }

/* briefing + heat */
.video-slot { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; border: 1px dashed var(--line); background: linear-gradient(135deg, var(--regalia-50), #fff); margin-bottom: 14px; }
.video-slot b { display: block; font-size: 13px; }
.video-slot small { color: var(--muted); font-size: 12px; }
.play-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--regalia); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 6px 16px -6px rgba(82,45,128,.6); }
.brief { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.brief li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 13px; }
.brief li:first-child { border-top: 0; }
.brief b { font-size: 12px; color: var(--regalia); font-weight: 700; }
.heat-level { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 10px; background: var(--orange-50); border: 1px solid #FFD9BD; }
.heat-n { width: 44px; height: 44px; border-radius: 12px; background: var(--orange); color: #fff; font-weight: 800; font-size: 22px; display: grid; place-items: center; }
.heat-level b { display: block; }
.heat-level small { color: var(--ink-2); font-size: 12px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: 13px; }
.checks li { padding-left: 24px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 4px; background: var(--go-50); box-shadow: inset 0 0 0 1px #BFE9CF; }
.checks li::after { content: ""; position: absolute; left: 4px; top: 6px; width: 6px; height: 3px; border-left: 2px solid var(--go); border-bottom: 2px solid var(--go); transform: rotate(-45deg); }

/* decision log */
.table-card { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
.log th { text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); padding: 12px 16px; background: #FCFCFD; border-bottom: 1px solid var(--line); white-space: nowrap; }
.log td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.log td:first-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.log tr.new td { animation: rowin 1.6s var(--ease); }
@keyframes rowin { 0% { background: var(--orange-50) } 100% { background: transparent } }
.call { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 11px; letter-spacing: .03em; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.call-GO { background: var(--go-50); color: #0B7A3B; } .call-MONITOR { background: var(--mon-50); color: #8A5A00; } .call-HOLD { background: var(--hold-50); color: #B4262B; } .call-INFO { background: var(--sunk); color: var(--ink-2); }
.ack-yes { color: #0B7A3B; font-weight: 600; } .ack-pending { color: var(--mon); font-weight: 600; } .ack-na { color: var(--faint); }

/* tropical */
.trop { list-style: none; margin: 0; padding: 0; position: relative; }
.trop::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.trop li { position: relative; padding: 0 0 18px 30px; }
.trop li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--regalia); }
.trop li[data-k="high"]::before { border-color: var(--hold); }
.trop li[data-k="mod"]::before { border-color: var(--mon); }
.trop li[data-k="low"]::before { border-color: var(--go); }
.trop b { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.trop strong { display: block; font-size: 14px; margin: 1px 0 2px; }
.trop p { font-size: 13px; color: var(--ink-2); }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-k { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.stat-v { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.stat-amber { color: var(--mon); }
.stat-s { color: var(--muted); font-size: 12.5px; }

/* team */
.roles th, .roles td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: center; }
.roles th:first-child, .roles td:first-child { text-align: left; }
.roles thead th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); }
.roles td b { display: block; font-size: 13px; }
.roles td small { color: var(--muted); font-size: 11.5px; }
.sw { position: relative; display: inline-block; width: 34px; height: 20px; border-radius: 99px; background: var(--line); border: 0; padding: 0; transition: background .2s; vertical-align: middle; }
.sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.sw[aria-checked="true"] { background: var(--regalia); }
.sw[aria-checked="true"]::after { transform: translateX(14px); }
.phone-card { display: flex; flex-direction: column; }
.phone { position: relative; margin: 0 auto; width: 240px; height: 440px; border-radius: 38px; background: linear-gradient(160deg, #3B2560, #1A1226 60%, #2A1408); border: 8px solid #0E0E12; box-shadow: var(--sh-3); overflow: hidden; color: #fff; text-align: center; }
.phone-notch { width: 80px; height: 20px; border-radius: 0 0 14px 14px; background: #0E0E12; margin: 0 auto; }
.phone-time { font-size: 48px; font-weight: 300; letter-spacing: -.02em; margin-top: 18px; font-variant-numeric: tabular-nums; }
.phone-date { font-size: 12px; opacity: .7; }
.push-stack { position: absolute; left: 10px; right: 10px; top: 150px; display: grid; gap: 8px; text-align: left; }
.push { background: rgba(255,255,255,.88); color: var(--ink); border-radius: 14px; padding: 10px 12px; font-size: 12px; backdrop-filter: blur(10px); box-shadow: 0 6px 20px rgba(0,0,0,.25); animation: pushin .45s var(--ease); }
@keyframes pushin { from { opacity: 0; transform: translateY(-14px) scale(.96) } to { opacity: 1; transform: none } }
.push-h { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); margin-bottom: 2px; }
.push-h .app-ic { width: 16px; height: 16px; border-radius: 4px; background: var(--regalia); color: #fff; font-size: 7px; font-weight: 800; display: grid; place-items: center; }
.push-h time { margin-left: auto; }
.push b { display: block; font-size: 12.5px; }
.push-empty { font-size: 12px; opacity: .6; text-align: center; padding-top: 30px; }

/* floating phone toast (simulation) */
.toast-phone { position: fixed; z-index: 70; left: calc(var(--side) + 24px); bottom: 24px; width: 320px; animation: phonein .5s var(--ease); }
.toast-phone .push { box-shadow: var(--sh-3); border: 1px solid var(--line); background: rgba(255,255,255,.96); padding: 12px 14px; }
.toast-phone .tp-label { display: inline-flex; margin-bottom: 6px; }
.mini-phone { position: relative; width: 300px; height: 210px; border-radius: 36px 36px 0 0; border: 7px solid #0E0E12; border-bottom: 0; background: linear-gradient(160deg, #3B2560, #1A1226 70%); overflow: hidden; padding: 0 12px; box-shadow: var(--sh-3); }
.mini-phone .phone-notch { width: 84px; height: 18px; }
.mp-time { color: #fff; font-size: 34px; font-weight: 300; text-align: center; margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.toast-phone .mini-phone .push { animation: pushin .5s .25s var(--ease) both; }
.toast-phone { width: 300px; }
.toast-phone.out { animation: phoneout .35s var(--ease) forwards; }
@keyframes phonein { from { opacity: 0; transform: translateY(24px) } to { opacity: 1; transform: none } }
@keyframes phoneout { to { opacity: 0; transform: translateY(16px) } }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 13px; box-shadow: var(--sh-3); animation: phonein .3s var(--ease); max-width: calc(100vw - 32px); }

/* ---------- chat ---------- */
.chat { position: sticky; top: var(--top); height: calc(100vh - var(--top)); border-left: 1px solid var(--line); background: #fff; display: flex; min-width: 0; z-index: 30; }
.chat-in { display: flex; flex-direction: column; width: 100%; min-width: 0; }
.chat-rail-collapsed { display: none; }
.app.chat-collapsed .chat-in { display: none; }
.app.chat-collapsed .chat-rail-collapsed { display: flex; justify-content: center; align-items: flex-start; width: 100%; padding-top: 14px; }
.chat-expand { position: relative; border: 0; background: none; padding: 4px; border-radius: 12px; }
.chat-expand:hover { background: var(--sunk); }
.unread { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; animation: pop .25s var(--ease); }
.chat-h { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--line); }
.chat-who { flex: 1; min-width: 0; }
.chat-who b { display: block; font-size: 14px; }
.chat-who small { font-size: 12px; color: var(--muted); }
.chat-who .on { color: var(--go); font-weight: 600; }
.avatar { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(140deg, var(--regalia), #6B3FA6); color: #fff; font-weight: 700; font-size: 12.5px; display: grid; place-items: center; letter-spacing: .02em; }
.avatar.sm { width: 30px; height: 30px; font-size: 11px; }
.avatar.xs { width: 22px; height: 22px; font-size: 8.5px; }
.presence { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 2px #fff; }
.threads { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.thread { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.thread[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.thread .tdot { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: #C2410C; color: #fff; font-size: 10px; font-weight: 700; display: inline-grid; place-items: center; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; background: linear-gradient(180deg, #FCFCFD, #fff 120px); }
.day-sep { align-self: center; font-size: 11px; color: var(--faint); font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--sunk); }
.m { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; animation: msgin .3s var(--ease); }
@keyframes msgin { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.m.me { align-self: flex-end; flex-direction: row-reverse; }
.m-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.m.me .m-col { align-items: flex-end; }
.bubble { padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--sunk); border: 1px solid var(--line-2); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.m.me .bubble { background: var(--regalia); color: #fff; border-color: var(--regalia); border-radius: 14px 14px 4px 14px; }
.meta { font-size: 10.5px; color: var(--faint); display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.meta .rcpt { color: var(--faint); }
.meta .rcpt.read { color: var(--regalia); }
.meta .sim-mark { color: var(--regalia); font-weight: 600; }
.dcard { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--sh-2); overflow: hidden; width: 280px; max-width: 100%; }
.dcard-h { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line-2); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.dcard-b { padding: 12px; }
.dcard-call { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.dcard[data-c="HOLD"] .dcard-call { color: var(--hold); }
.dcard[data-c="GO"] .dcard-call { color: var(--go); }
.dcard[data-c="HOLD"] { border-top: 3px solid var(--hold); }
.dcard[data-c="GO"] { border-top: 3px solid var(--go); }
.dcard p { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.dcard dl { margin: 10px 0 0; display: grid; gap: 4px; font-size: 12px; }
.dcard dl div { display: flex; justify-content: space-between; gap: 8px; }
.dcard dt { color: var(--muted); } .dcard dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.dcard-f { padding: 10px 12px; border-top: 1px solid var(--line-2); background: #FCFCFD; display: flex; align-items: center; gap: 8px; }
.ack { flex: 1; height: 32px; border-radius: 8px; border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background .2s, transform .1s; }
.ack:hover { background: #262A33; }
.ack:active { transform: translateY(1px); }
.ack.attn { animation: attn 1.6s infinite; }
@keyframes attn { 0%,100% { box-shadow: 0 0 0 0 rgba(245,102,0,.45) } 50% { box-shadow: 0 0 0 6px rgba(245,102,0,0) } }
.acked { flex: 1; display: inline-flex; align-items: center; gap: 6px; color: #0B7A3B; font-weight: 600; font-size: 12px; }
.acked svg { color: var(--go); }
.ccard .cd { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--hold); }
.ccard .cd.done { color: var(--go); }
.ccard .bar { height: 5px; border-radius: 99px; background: var(--line-2); margin-top: 8px; overflow: hidden; }
.ccard .bar i { display: block; height: 100%; background: var(--hold); transition: width .3s linear; }
.rcard svg { display: block; width: 100%; height: auto; }
.typing { display: flex; align-items: center; gap: 8px; padding: 0 14px 8px; }
.dots { display: inline-flex; gap: 4px; padding: 10px 12px; background: var(--sunk); border-radius: 14px 14px 14px 4px; border: 1px solid var(--line-2); }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: bounce 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,60%,100% { transform: none; opacity: .5 } 30% { transform: translateY(-3px); opacity: 1 } }
.chips { display: flex; gap: 6px; padding: 8px 12px 4px; overflow-x: auto; scrollbar-width: none; flex-wrap: wrap; }
.chip { flex: none; height: 28px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 500; color: var(--ink-2); transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--regalia); color: var(--regalia); background: var(--regalia-50); }
.composer { display: flex; gap: 8px; padding: 8px 12px; }
.composer input { flex: 1; min-width: 0; height: 38px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; font: inherit; font-size: 13.5px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.composer input:focus { outline: none; border-color: var(--regalia); box-shadow: 0 0 0 3px var(--regalia-100); }
.send { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; flex: none; transition: transform .1s, background .15s; }
.send:hover { background: var(--orange-600); }
.send:active { transform: scale(.96); }
.chat-note { font-size: 10.5px; color: var(--faint); text-align: center; padding: 0 12px 12px; }
.chat-fab { display: none; }
.scrim { display: none; }

.foot-note { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); max-width: 90ch; }

/* ---------- responsive ---------- */
/* ---------- polish-c (10/07) ---------- */
.g-1 { grid-template-columns: minmax(0,1fr); }
.main { padding-top: 20px; }
#p-overview .page-h { margin-bottom: 12px; align-items: center; }
#p-overview .page-sub { font-size: 13px; }
#p-overview .grid { margin-top: 12px; }
.hero-reason { font-size: 16px; }
.hero-policy { font-size: 11.5px; }
.js-radar[data-size="sm"] { max-height: 220px; }
.dcard p.dcard-body { color: var(--muted); font-size: 12px; }
.dcard-f { flex-wrap: wrap; }
.dcard-f .esc { border: 0; background: none; padding: 0 4px; font: inherit; font-size: 12px; font-weight: 600; color: var(--regalia); margin-left: auto; }
.dcard-f .esc:hover { text-decoration: underline; }
.hero { padding: 14px 22px; }
.hero-status { margin: 6px 0 6px; }
.status-badge { font-size: 44px; }
.hero-clock { width: 136px; height: 136px; }
.hero-clock-val { font-size: 28px; }
.hero-clock-sub { font-size: 10.5px; max-width: 96px; line-height: 1.25; }
.hero-clock-label { font-size: 9.5px; }
.hero-policy { padding-top: 10px; margin-top: 4px; }
.hero-eta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.hn-k { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toast-phone { left: calc(var(--side) + 20px); right: auto; top: calc(var(--top) + 8px); bottom: auto; width: 380px; }
.toast-phone .push { background: #fff; color: var(--ink); border-radius: 14px; font-size: 12.5px; line-height: 1.4; }
.toast-phone .push-h { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.toast-phone .push-h .tag { font-size: 10.5px; letter-spacing: 0; }
.toast-phone .tp-to { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }

.call-sheet { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(14,16,21,.4); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.call-sheet.open { opacity: 1; }
.call-card { width: min(340px, calc(100% - 32px)); padding: 28px 24px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-align: center; box-shadow: var(--sh-3); transform: scale(.97); transition: transform .25s var(--ease); }
.call-sheet.open .call-card { transform: none; }
.call-card .avatar.xl { width: 64px; height: 64px; font-size: 20px; margin: 0 auto 14px; }
.call-card h2 { font-size: 18px; }
.call-card p { margin-top: 6px; color: var(--ink-2); font-size: 13.5px; }
.call-card .call-cap { color: var(--muted); font-size: 12px; margin-top: 12px; }
.end-call { margin-top: 18px; height: 40px; padding: 0 28px; border: 0; border-radius: 20px; background: #C8262C; color: #fff; font-weight: 700; }
.call-CALL { background: var(--regalia-50); color: var(--regalia); }
.attach-wrap { position: relative; display: flex; align-items: center; }
.attach-menu { position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 5; min-width: 200px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--sh-3); display: grid; }
.attach-menu button { text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 7px; font: inherit; font-size: 13px; color: var(--ink); }
.attach-menu button:hover, .attach-menu button:focus-visible { background: var(--regalia-50); }
.attach-chip { align-self: flex-end; font-size: 11.5px; font-weight: 600; color: var(--regalia); background: var(--regalia-50); border: 1px solid var(--regalia-100); border-radius: 8px; padding: 4px 8px; }
@media (max-width: 1360px) {
  #p-overview .page-sub { display: none; }
  :root { --side: 224px; --chat: 372px; }
  .main { padding: 24px 24px 36px; }
  .g-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g-3 > :last-child { grid-column: 1 / -1; }
  .g-3 > .stat:last-child { grid-column: auto; }
  .status-badge { font-size: 44px; }
  .hero-clock { width: 150px; height: 150px; }
  .hero-clock-val { font-size: 30px; }
  .brand-sub .by { display: none; }
  .lt { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .lt-viz { max-width: 190px; margin: 0 auto; width: 100%; }
  .lt-side { grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 16px; }
}
@media (max-width: 1100px) {
  .app, .app.chat-collapsed { grid-template-columns: var(--side) minmax(0,1fr); }
  .chat { position: fixed; right: 16px; bottom: 84px; top: auto; height: min(640px, calc(100vh - 120px)); width: 380px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-3); overflow: hidden; transform: translateY(16px); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .2s; }
  .chat.open { transform: none; opacity: 1; pointer-events: auto; }
  .app.chat-collapsed .chat-in { display: flex; }
  .app.chat-collapsed .chat-rail-collapsed { display: none; }
  .chat-fab { display: inline-flex; align-items: center; gap: 8px; position: fixed; right: 16px; bottom: 20px; z-index: 50; height: 48px; padding: 0 16px 0 9px; border-radius: 99px; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-3); font-weight: 600; font-size: 13.5px; }
  .chat-fab .unread { top: -4px; right: -4px; }
  .g-2 { grid-template-columns: minmax(0,1fr); }
  .top-right .pill-preview { display: none; }
}
@media (max-width: 760px) {
  :root { --top: 56px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .topbar { gap: 8px; padding: 0 12px; }
  .brand { width: auto; flex: 1; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-sub { display: none; }
  .wordmark { font-size: 11.5px; }
  .sim { flex: none; }
  .sim-play { padding: 0 12px; height: 32px; }
  .sim[data-state="idle"] #sim-play-label { font-size: 12.5px; }
  .sim-ctl { position: fixed; left: 0; right: 0; top: var(--top); z-index: 39; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 6px 12px; max-width: none; }
  .sim[data-state="playing"] .pill-sim, .sim[data-state="paused"] .pill-sim, .sim[data-state="ended"] .pill-sim { display: inline-flex; }
  body.sim-on .main { padding-top: 64px; }
  .app, .app.chat-collapsed { display: block; }
  .side { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; top: auto; height: auto; padding: 0 0 env(safe-area-inset-bottom); border-right: 0; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); flex-direction: row; overflow: visible; }
  .side > .vp, .side-label-nav, .side-foot { display: none; }
  .tabs { flex-direction: row; width: 100%; gap: 0; }
  .tab { flex: 1; flex-direction: column; justify-content: center; gap: 3px; height: 60px; padding: 0 2px; border-radius: 0; font-size: 10px; text-align: center; }
  .tab .tab-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .tab[aria-selected="true"] { box-shadow: none; background: transparent; color: var(--regalia); }
  .tab[aria-selected="true"]::before { content: ""; position: absolute; top: 0; left: 22%; right: 22%; height: 2px; border-radius: 0 0 2px 2px; background: var(--orange); }
  .tab .i { width: 20px; height: 20px; }
  .tab-badge { position: absolute; top: 6px; left: 55%; margin: 0; min-width: 16px; height: 16px; font-size: 9.5px; }
  .tab-badge.calm { display: none; }
  .main { padding: 16px 14px 24px; }
  .mvp { display: block !important; margin-bottom: 14px; }
  .page-h { margin-bottom: 14px; align-items: flex-start; }
  h1 { font-size: 20px; }
  .hero { grid-template-columns: 1fr; padding: 18px; }
  .hero-clock { grid-row: auto; width: 100%; height: auto; display: flex; align-items: center; gap: 14px; }
  .hero-clock .ring { width: 84px; height: 84px; flex: none; }
  .hero-clock-in { position: static; align-items: flex-start; text-align: left; }
  .hero-clock-label { max-width: none; }
  .status-badge { font-size: 44px; }
  .hero-reason { font-size: 15.5px; }
  .g-2, .g-3, .g-trop, .g-team { grid-template-columns: minmax(0,1fr); }
  .g-3 > :last-child { grid-column: auto; }
  .lt { grid-template-columns: 130px minmax(0,1fr); gap: 12px; }
  .lt-side { grid-template-columns: minmax(0,1fr); }
  .lt-viz { margin: 0; }
  .chat { left: 0; right: 0; bottom: 0; top: 0; width: auto; height: 100%; height: 100dvh; border-radius: 0; border: 0; z-index: 90; transform: translateY(100%); opacity: 1; }
  .chat.open { transform: none; }
  .chat-h { padding-top: max(14px, env(safe-area-inset-top)); }
  .chat-in { padding-bottom: env(safe-area-inset-bottom); }
  #chat-collapse svg { transform: rotate(90deg); }
  .chat-fab { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; height: 46px; }
  .toast-phone { left: 12px; right: 12px; width: auto; margin-left: 0; top: auto; bottom: calc(84px + env(safe-area-inset-bottom)); }
  .mini-phone { height: 190px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .vp-pop { width: 100%; }
  .foot-note { margin-bottom: 40px; }
}
.mvp { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Clemson Tiger Paw (demo for Clemson only, Andrew 10/07) */
.brand-logo{display:block;width:34px;height:auto;flex:none}
.wordmark::after{display:none}
@media(max-width:760px){.brand-logo{width:28px}}
