/* Styles for v2 modules: search palette, calendar, goals, recruiting, org chart, dashboards */

/* search palette */
.search-trigger { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; min-width: 240px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); color: var(--muted); font: inherit; cursor: pointer; margin-left: 12px; }
.search-trigger svg { width: 16px; height: 16px; }
.search-trigger .st-label { flex: 1; text-align: left; }
.search-trigger:hover { border-color: var(--primary); }
@media (max-width: 900px) { .search-trigger { min-width: 0; } .search-trigger .st-label, .search-trigger .kbd { display: none; } .clock-btn span { display: none; } }
.palette { position: fixed; inset: 0; z-index: 150; background: rgba(8, 10, 20, .45); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; animation: fade .1s; }
.palette-box { width: min(640px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .12s; }
.palette-box input { width: 100%; border: 0; outline: 0; padding: 18px 20px; font: inherit; font-size: 16px; background: transparent; color: var(--text); border-bottom: 1px solid var(--border); }
.palette-results { max-height: 52vh; overflow-y: auto; padding: 6px; }
.palette-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; cursor: pointer; color: var(--text); }
.palette-item.sel { background: var(--primary-soft); }
.palette-item .pi-ico { width: 26px; text-align: center; flex: none; }
.palette-item .pi-sub { color: var(--muted); font-size: 12px; margin-left: auto; white-space: nowrap; }
.palette-item .pi-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-group { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 12px 4px; }
.clock-btn.in { background: var(--success-soft); color: var(--success); border-color: transparent; }

/* calendar */
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--border); gap: 1px; }
.cal-dow { background: var(--surface-2); padding: 8px; font-size: 12px; font-weight: 650; color: var(--text-2); text-align: center; }
.cal-day { background: var(--surface); min-height: 118px; padding: 6px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; min-width: 0; }
.cal-day:hover { background: var(--surface-2); }
.cal-day.other { background: var(--bg); color: var(--muted); }
.cal-day.today .cal-num { background: var(--primary); color: #fff; }
.cal-num { font-size: 12px; font-weight: 650; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.cal-ev { font-size: 11.5px; padding: 2px 6px; border-radius: 5px; background: var(--primary-soft); color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid var(--primary); }
.cal-ev.task { background: var(--info-soft); color: var(--info); border-left-color: var(--info); }
.cal-ev.leave { background: var(--warning-soft); color: var(--warning); border-left-color: var(--warning); }
.cal-ev.declined { opacity: .5; text-decoration: line-through; }
.cal-more { font-size: 11px; color: var(--muted); }
.agenda-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.agenda-item:last-child { border-bottom: 0; }
.agenda-time { width: 92px; flex: none; font-variant-numeric: tabular-nums; color: var(--text-2); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; cursor: pointer; }
.chip.sel { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
@media (max-width: 760px) { .cal-day { min-height: 70px; } .cal-ev { font-size: 10px; } }

/* goals */
.goal-head { display: flex; align-items: flex-start; gap: 14px; }
.ring { --p: 0; width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: conic-gradient(var(--primary) calc(var(--p) * 1%), var(--surface-3) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--surface); }
.ring span { position: relative; }
.kr { display: grid; grid-template-columns: minmax(0, 1fr) 180px 150px; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); }
.kr .progress { height: 8px; }
.kr input { width: 84px; height: 30px; }
.status-pill { border: 0; border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.st-on_track { background: var(--success-soft); color: var(--success); }
.st-at_risk { background: var(--warning-soft); color: var(--warning); }
.st-off_track { background: var(--danger-soft); color: var(--danger); }
.st-done { background: var(--primary-soft); color: var(--primary); }
@media (max-width: 760px) { .kr { grid-template-columns: 1fr; } }

/* recruiting pipeline */
.pipeline { display: grid; grid-template-columns: repeat(6, minmax(210px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.cand { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px; cursor: grab; }
.cand:hover { box-shadow: var(--shadow); }
.score { display: inline-grid; place-items: center; min-width: 34px; height: 22px; border-radius: 6px; font-weight: 700; font-size: 12px; padding: 0 6px; }
.score.hi { background: var(--success-soft); color: var(--success); }
.score.mid { background: var(--warning-soft); color: var(--warning); }
.score.lo { background: var(--danger-soft); color: var(--danger); }
.score.na { background: var(--surface-2); color: var(--muted); }
.job-card { cursor: pointer; }
.job-card.active { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

/* org chart */
.org { overflow-x: auto; padding: 10px 0 20px; }
.org ul { padding-top: 20px; position: relative; display: flex; justify-content: center; margin: 0; padding-left: 0; }
.org li { list-style: none; text-align: center; position: relative; padding: 20px 6px 0; }
.org li::before, .org li::after { content: ""; position: absolute; top: 0; right: 50%; border-top: 1px solid var(--muted); width: 50%; height: 20px; }
.org li::after { right: auto; left: 50%; border-left: 1px solid var(--muted); }
.org li:only-child::after, .org li:only-child::before { display: none; }
.org li:only-child { padding-top: 0; }
.org li:first-child::before, .org li:last-child::after { border: 0 none; }
.org li:last-child::before { border-right: 1px solid var(--muted); border-radius: 0 6px 0 0; }
.org li:first-child::after { border-radius: 6px 0 0 0; }
.org ul ul::before { content: ""; position: absolute; top: 0; left: 50%; border-left: 1px solid var(--muted); height: 20px; }
.org > ul { padding-top: 0; }
.org-node { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); min-width: 140px; box-shadow: var(--shadow); }
.org-node .small { max-width: 160px; }

/* misc */
.feed-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; align-items: flex-start; }
.feed-item:last-child { border-bottom: 0; }
.briefing { background: linear-gradient(135deg, var(--primary-soft), var(--surface) 70%); }
.pill-group { display: inline-flex; gap: 2px; background: var(--surface-2); padding: 3px; border-radius: 10px; }
.pill-group button { border: 0; background: none; padding: 5px 12px; border-radius: 8px; font: inherit; font-weight: 550; color: var(--text-2); cursor: pointer; }
.pill-group button.active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow); }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; }
@media (max-width: 600px) { .dash-grid { grid-template-columns: 1fr; } }
.template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.template { border: 1px solid var(--border); border-radius: 12px; padding: 14px; cursor: pointer; background: var(--surface); text-align: left; font: inherit; color: var(--text); }
.template:hover { border-color: var(--primary); background: var(--primary-soft); }
.template .ti { font-size: 22px; display: block; margin-bottom: 4px; }
@media (max-width: 600px) { .template-grid { grid-template-columns: 1fr 1fr; } }
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; margin: 16px 6px 6px; }
.unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-left: auto; }

/* meeting mode */
.meet-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr) 390px; width: 100%; height: 100%; }
.meet-side { border-right: 1px solid var(--border); padding: 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.meet-side .card { padding: 14px; }
.meet-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--surface); }
.transcript { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.seg { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.seg .who { font-weight: 650; margin-right: 6px; }
.seg .when { font-size: 11px; color: var(--muted); }
.seg.note > .grow { background: var(--warning-soft); border-radius: 8px; padding: 6px 10px; }
.interim { min-height: 24px; padding: 0 22px 6px; color: var(--muted); font-style: italic; }
.meet-main .composer { border-top: 1px solid var(--border); }
.meet-copilot { border-left: 1px solid var(--border); padding: 12px; overflow-y: auto; background: var(--bg); }
.meter { height: 4px; border-radius: 2px; background: var(--surface-3); margin-top: 8px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--success); transition: width .08s; }
.obj { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.obj:last-child { border-bottom: 0; }
.sugg.pending { border-left: 3px solid var(--warning); }
.sugg.failed { border-left: 3px solid var(--danger); }
.sugg.approved { border-left: 3px solid var(--success); opacity: .9; }
.sugg.dismissed { opacity: .55; }
.sugg .form-grid { grid-template-columns: 1fr 1fr; }
.sugg .input, .sugg .select { height: 32px; font-size: 13px; }
.sugg .textarea { font-size: 13px; }
.evidence { font-size: 12px; color: var(--text-2); border-left: 2px solid var(--border); padding-left: 8px; margin-top: 6px; font-style: italic; }
.minutes { margin: 14px 22px 0; max-height: 45vh; overflow-y: auto; }
/* video call stage */
.stage { position: relative; background: #0b0d17; border-bottom: 1px solid var(--border); padding: 10px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.stage-videos { display: grid; gap: 8px; height: 34vh; min-height: 190px; grid-auto-rows: minmax(0, 1fr); }
.stage.big .stage-videos { height: 62vh; }
.stage-videos.grid.n1 { grid-template-columns: 1fr; }
.stage-videos.grid.n2 { grid-template-columns: 1fr 1fr; }
.stage-videos.grid.n3, .stage-videos.grid.n4 { grid-template-columns: 1fr 1fr; }
.stage-videos.grid.n5, .stage-videos.grid.n6 { grid-template-columns: repeat(3, 1fr); }
.stage-videos.grid.n7, .stage-videos.grid.n8, .stage-videos.grid.n9 { grid-template-columns: repeat(3, 1fr); }
.stage-videos.spotlight { grid-template-columns: minmax(0, 1fr) 190px; grid-auto-rows: minmax(0, 1fr); }
.stage-videos.spotlight .tile { grid-column: 2; }
.stage-videos.spotlight .tile.featured, .stage-videos.spotlight .tile:first-child:not(.featured):only-child { grid-column: 1; grid-row: 1 / span 6; }
.tile { position: relative; background: #1a1e33; border-radius: 12px; overflow: hidden; min-height: 0; border: 2px solid transparent; transition: border-color .15s; }
.tile video { width: 100%; height: 100%; object-fit: cover; background: #000; display: block; }
.tile.screen video { object-fit: contain; }
.tile.mirror video { transform: scaleX(-1); }
.tile.speaking { border-color: #3ccf7f; box-shadow: 0 0 0 2px rgba(60, 207, 127, .35); }
.tile-avatar { position: absolute; inset: 0; display: none; place-items: center; background: #1a1e33; }
.tile.novideo .tile-avatar { display: grid; }
.tile.novideo video { visibility: hidden; }
.tile-label { position: absolute; left: 8px; bottom: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 6px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-badges { position: absolute; right: 8px; top: 8px; display: flex; gap: 4px; color: #fff; font-size: 16px; text-shadow: 0 1px 3px #000; }
.tile:fullscreen video { object-fit: contain; }
.call-bar { display: flex; align-items: center; gap: 6px; justify-content: center; flex-wrap: wrap; }
.cbtn { height: 40px; min-width: 44px; padding: 0 12px; border-radius: 999px; border: 0; background: #262b42; color: #fff; font: inherit; font-size: 17px; cursor: pointer; transition: background .12s; }
.cbtn:hover { background: #343a58; }
.cbtn.off { background: #d12f2f; }
.cbtn.on { background: var(--primary); }
.cbtn.leave { background: #d12f2f; font-size: 14px; font-weight: 650; margin-left: 8px; }
.call-info { color: #aab2c8; margin: 0 6px; }
.react-menu { display: flex; gap: 2px; padding: 6px; min-width: 0; bottom: calc(100% + 6px); top: auto; right: auto; left: 0; }
.react-menu button { font-size: 20px; padding: 4px 6px !important; width: auto !important; }
.reaction { position: absolute; bottom: 60px; font-size: 34px; animation: floatUp 3.2s ease-out forwards; pointer-events: none; display: flex; flex-direction: column; align-items: center; z-index: 5; }
.reaction small { font-size: 11px; color: #fff; background: rgba(0, 0, 0, .5); padding: 0 6px; border-radius: 6px; }
@keyframes floatUp { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translateY(-20px) scale(1.1); } 100% { transform: translateY(-220px) scale(1); opacity: 0; } }
@media (max-width: 760px) { .stage-videos.spotlight { grid-template-columns: 1fr; } .stage-videos.spotlight .tile { grid-column: 1; } }

@media (max-width: 1200px) { .meet-layout { grid-template-columns: 240px minmax(0, 1fr) 330px; } }
@media (max-width: 900px) { .meet-layout { grid-template-columns: 1fr; height: auto; } .content.flush { overflow-y: auto; display: block; } .meet-side, .meet-copilot { border: 0; } .transcript { max-height: 60vh; } }

/* ================================================================ v4: inbox, autopilot, people ops, CRM, invoices */
.nav-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.sidebar { overflow-y: auto; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h1 { margin: 0; font-size: 22px; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split.side { grid-template-columns: 300px minmax(0, 1fr); }
@media (max-width: 1000px) { .split, .split.even, .split.side { grid-template-columns: minmax(0, 1fr); } }
.section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }

/* inbox */
.ib-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); margin-bottom: 8px; }
.ib-item:hover { border-color: var(--primary); }
.ib-ico { font-size: 20px; width: 28px; text-align: center; flex: none; line-height: 1.3; }
.ib-body { flex: 1; min-width: 0; }
.ib-body a.ib-title { font-weight: 600; color: var(--text); display: block; overflow-wrap: anywhere; }
.ib-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; flex: none; }
.rec { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; padding: 4px 8px; border-radius: 8px; font-size: 12.5px; background: var(--surface-2); }
.rec.approve, .rec.dismiss-ok { background: var(--success-soft); color: var(--success); }
.rec.reject, .rec.dismiss { background: var(--danger-soft); color: var(--danger); }
.rec.check { background: var(--warning-soft); color: var(--warning); }
@media (max-width: 640px) { .ib-item { flex-wrap: wrap; } .ib-actions { width: 100%; justify-content: flex-start; } }

/* autopilot */
.rule-card, .agent-card { display: flex; gap: 12px; align-items: flex-start; }
.rule-card .grow p, .agent-card .grow p { margin: 4px 0 0; color: var(--text-2); font-size: 13px; }
.toggle { position: relative; width: 38px; height: 22px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; border-radius: 11px; background: var(--surface-3); cursor: pointer; transition: .15s; }
.toggle span::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .15s; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.toggle input:checked + span { background: var(--success); }
.toggle input:checked + span::before { transform: translateX(16px); }
.builder-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) auto; gap: 8px; align-items: center; padding: 10px; border: 1px dashed var(--border); border-radius: 10px; margin-bottom: 8px; background: var(--surface-2); }
.builder-row .ask { display: flex; gap: 6px; align-items: center; font-size: 12.5px; white-space: nowrap; }
.recipe { cursor: pointer; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.recipe:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.recipe strong { display: block; margin-bottom: 4px; }
.log-ok { color: var(--success); } .log-fail { color: var(--danger); }

/* standups */
.mood-pick { display: flex; gap: 6px; }
.mood-pick button { font-size: 22px; width: 44px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; filter: grayscale(.7); }
.mood-pick button.sel { border-color: var(--primary); background: var(--primary-soft); filter: none; }
.standup { padding: 12px 0; border-bottom: 1px solid var(--border); }
.standup:last-child { border-bottom: 0; }
.standup .su-grid { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 2px 10px; font-size: 13.5px; margin-top: 6px; }
.standup .su-grid b { color: var(--text-2); font-weight: 600; }
.blocker { color: var(--danger); font-weight: 600; }

/* checklists */
.cl-card { cursor: pointer; }
.cl-card.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.phase { margin: 16px 0 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cl-item { display: flex; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--border); }
.cl-item input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--success); flex: none; }
.cl-item.done .cl-title { text-decoration: line-through; color: var(--muted); }
.cl-item .late { color: var(--danger); font-weight: 600; }

/* kudos & reviews */
.kudo { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.kudo:last-child { border-bottom: 0; }
.kudo .val { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.stars { display: flex; gap: 4px; }
.stars button { font-size: 22px; background: none; border: 0; cursor: pointer; color: var(--surface-3); padding: 0 2px; }
.stars button.on { color: var(--warning); }
.evidence { white-space: pre-wrap; font-size: 12.5px; color: var(--text-2); background: var(--surface-2); padding: 10px; border-radius: 8px; max-height: 220px; overflow: auto; }

/* surveys */
.q-card { padding: 14px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; background: var(--surface); }
.scale { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.scale button { min-width: 40px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font: inherit; font-weight: 600; color: var(--text); }
.scale button.sel { background: var(--primary); color: #fff; border-color: var(--primary); }
.bar-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 40px; gap: 8px; align-items: center; font-size: 13px; margin: 4px 0; }
.bar-row .bar { height: 14px; border-radius: 0 4px 4px 0; background: var(--series-1); min-width: 2px; }

/* CRM */
.deal-pipeline { grid-template-columns: repeat(6, minmax(220px, 1fr)); }
.deal { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px; cursor: grab; }
.deal:hover { box-shadow: var(--shadow); }
.deal .amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.col-total { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline { border-left: 2px solid var(--border); margin-left: 8px; padding-left: 14px; }
.timeline .t-item { position: relative; padding: 6px 0 10px; font-size: 13.5px; }
.timeline .t-item::before { content: ""; position: absolute; left: -20px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid var(--surface); }

/* invoices */
.lines { width: 100%; border-collapse: collapse; }
.lines td, .lines th { padding: 4px; text-align: left; font-size: 13px; }
.lines input { height: 32px; }
.lines .num { text-align: right; width: 110px; }
.totals { margin-left: auto; width: min(280px, 100%); font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .grand { font-weight: 750; font-size: 16px; border-top: 1px solid var(--border); padding-top: 6px; }
.badge.overdue { background: var(--danger-soft); color: var(--danger); }

/* ================================================================ v5: platform */
.center-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(circle at 20% 10%, var(--primary-soft), transparent 50%), var(--bg); }
.center-card { width: min(440px, 100%); text-align: center; padding: 32px; }
.center-card h1 { margin: 8px 0; font-size: 24px; }
.center-icon { font-size: 44px; }
.center-code { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.top-banner { background: var(--primary); color: #fff; padding: 8px 16px; font-size: 13.5px; text-align: center; }
.setup-card { border: 1px solid var(--primary); background: linear-gradient(120deg, var(--primary-soft), var(--surface) 60%); margin-bottom: 16px; }
.setup-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-top: 12px; }
.setup-step { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 13.5px; }
.setup-step:hover { text-decoration: none; border-color: var(--primary); }
.setup-step.done { color: var(--muted); text-decoration: line-through; }
.setup-step .tick { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; font-size: 11px; flex: none; }
.setup-step.done .tick { background: var(--success); border-color: var(--success); color: #fff; }
.kbd-table { width: 100%; border-collapse: collapse; }
.kbd-table td { padding: 7px 4px; border-bottom: 1px solid var(--border); font-size: 14px; }
.kbd-table td:last-child { text-align: right; white-space: nowrap; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav button { text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 9px; font: inherit; color: var(--text-2); cursor: pointer; }
.admin-nav button.active { background: var(--primary-soft); color: var(--primary); font-weight: 650; }
.admin-nav button:hover { background: var(--surface-2); }
@media (max-width: 1000px) { .admin-nav { flex-direction: row; flex-wrap: wrap; } }
.week-pick { display: flex; gap: 6px; flex-wrap: wrap; }
.week-pick label { display: flex; align-items: center; gap: 4px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 13px; }
.copy-box { display: flex; gap: 6px; }
.copy-box input { font-family: var(--mono); font-size: 12.5px; }
.pager { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 12px; }
.notif-row { display: flex; gap: 10px; align-items: flex-start; padding: 12px 8px; border-bottom: 1px solid var(--border); }
.notif-row.unread { background: var(--primary-soft); border-radius: 8px; }
.notif-row a { color: var(--text); }
.cal-ev.holiday { background: var(--success-soft); color: var(--success); border-left-color: var(--success); }
@media (max-width: 760px) { .content { padding: 16px; } .page-head h1 { font-size: 19px; } }
