/* 입찰레이더 앱 화면 — 보기 B(기본)·C(일정) 공통 껍데기. 토큰은 base.css. 보기 전환은 html[data-layout] 이 정한다.
   스크롤 모델: 데스크톱 fixed(바깥은 고정, 스크롤은 목록 패널/아젠다 한 곳) · 모바일 hybrid(툴바·요약·달력 고정, #paneList 또는 #main 한 곳이 스크롤).
   모션: transform/opacity 만, 진입 ease-out, 퇴장도 ease-out(가속 곡선 없음), prefers-reduced-motion 이면 거의 0. */
html { height: 100%; }
body.is-app { height: 100%; overflow: hidden; font-size: 14px; line-height: 1.4; }
html[data-layout='c'][data-theme='dark'] { --bg: #111113; --bg-side: #18181a; --bg-elev: #232325; --glass: rgba(17, 17, 19, 0.65); }
.mob { display: none !important; }
* { scrollbar-width: thin; scrollbar-color: var(--fill-2) transparent; }
.sp { flex: 1; }
.center-t { text-align: center; }
.link.center { display: block; margin: var(--space-2) auto 0; }

/* ── 게이트(로딩·로그인) ─────────────────────────────── */
.gate { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-4); position: relative; }
.gate .state { padding: 0; }
.login { width: min(360px, 100%); display: flex; flex-direction: column; gap: var(--space-2); }
.login .wordmark { font-size: 28px; justify-content: center; }
.login-sub { text-align: center; color: var(--fg-2); font-size: var(--fs-m); margin: 0 0 var(--space-4); }
.login-sub b { color: var(--fg); font-weight: 600; }
.gate-theme { position: fixed; top: calc(var(--inset-top) + 8px); right: 8px; }
.legal { font-size: 12px; color: var(--fg-2); text-align: center; margin: var(--space-3) 0 0; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ── 껍데기 ──────────────────────────────────────────── */
.app { display: flex; flex-direction: column; height: 100%; height: 100dvh; }
.toolbar { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: 'l seg r' 'strip strip strip'; align-items: center; padding: 0 var(--space-3); border-bottom: 1px solid var(--line); z-index: 5; }
.tb-l { grid-area: l; display: flex; align-items: center; gap: var(--space-3); min-width: 0; height: 52px; }
.tb-r { grid-area: r; display: flex; align-items: center; justify-content: flex-end; gap: var(--space-1); height: 52px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; text-decoration: none; }
.wordmark svg { color: var(--red); }
.tagline { font-size: 13px; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tagline b { color: var(--fg); font-weight: 600; }
.vseg { grid-area: seg; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--fill); border-radius: 9px; padding: 2px; height: 32px; min-width: 300px; }
.vseg button { position: relative; z-index: 1; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--fg); padding: 0 12px; text-align: center; white-space: nowrap; }
.vseg button[aria-selected='true'] { font-weight: 600; }
.seg-ind { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / 4); background: var(--seg-sel); border-radius: 7px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 200ms var(--ease-out); }
.icon { width: 36px; height: 36px; flex: none; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--fg-2); transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
@media (hover: hover) { .icon:hover { background: var(--fill); color: var(--fg); } }
.icon:active { transform: scale(0.92); }
.icon.theme-btn { width: 36px; height: 36px; border-radius: 8px; }
.avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--fill-2); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; transition: transform var(--dur-fast) var(--ease-out); }
.avatar:active { transform: scale(0.92); }
.trial-badge { height: 24px; padding: 0 9px; border-radius: 12px; font-size: 12px; font-weight: 600; background: var(--fill); color: var(--fg-2); display: inline-flex; align-items: center; white-space: nowrap; margin-right: 4px; text-decoration: none; }
.search { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 8px; background: var(--fill); color: var(--fg-2); width: 180px; }
.search input { flex: 1; min-width: 0; width: auto; min-height: 0; height: 100%; padding: 0; border-radius: 0; background: none; border: 0; outline: 0; color: var(--fg); font-size: 13px; }
.search:focus-within { box-shadow: 0 0 0 2px var(--blue); }
.search input:focus-visible { outline: 0; }
.mnav { display: flex; align-items: center; min-width: 0; }
.mtitle { height: 44px; padding: 0 6px; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mtitle .yr, .mhead h1 .yr, .range h2 .yr { font-weight: 400; color: var(--fg-2); }

.body { flex: 1; min-height: 0; display: flex; }
.sidebar { width: 240px; flex: none; background: var(--bg-side); border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.app.side-collapsed .sidebar { display: none; }
.side-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-3) var(--space-2) var(--space-4); }
.side-filters { padding: 0 var(--space-2) var(--space-2); }
.side-scroll .site-footer { border-top: 1px solid var(--line); margin-top: var(--space-4); padding: var(--space-4) var(--space-2) var(--space-2); font-size: 11px; line-height: 1.6; }
.side-scroll .site-footer .wrap { width: auto; }
.side-scroll .site-footer nav { gap: var(--space-3); margin-bottom: var(--space-2); }
.side-scroll .site-footer nav a { font-weight: 500; color: var(--fg-2); }
.side-scroll .site-footer .faint { font-size: 11px; }
.center { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pane { width: 400px; flex: none; border-left: 1px solid var(--line); background: var(--bg-pane); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.app.list-mode .center { display: none; }
.app.list-mode .pane { width: auto; flex: 1; border-left: 0; background: var(--bg); }
.app.list-mode .pane .list-in { max-width: 900px; margin: 0 auto; padding: 0 var(--space-5); }

/* 보기 전환: 쓰지 않는 쪽 영역은 숨긴다 */
html[data-layout='b'] .main, html[data-layout='b'] .aside, html[data-layout='b'] .dstrip, html[data-layout='b'] .chero { display: none; }
html[data-layout='c'] .center, html[data-layout='c'] .pane, html[data-layout='c'] .tagline { display: none; }
html[data-layout='c'] .app.list-mode .pane { display: none; }
html[data-layout='b'] .dstrip { display: none; }

/* ── 회사 카드 · 분야 체크박스 (사이드바/레일) ────────── */
.co { margin: 0 0 var(--space-3); padding: var(--space-3); border-radius: 12px; background: var(--fill); display: flex; flex-direction: column; gap: 6px; text-align: left; width: 100%; }
.empty-co { gap: 2px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
@media (hover: hover) { .empty-co:hover { background: var(--fill); } }
.empty-co:active { transform: scale(0.98); }
.co-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.co-name .ok { margin-left: auto; margin-top: 0; }
.co-sub { font-size: 12px; color: var(--fg-2); }
.co-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.lic { font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 5px; background: var(--bg-elev); color: var(--fg-2); white-space: nowrap; }
.co .link { align-self: flex-start; padding: 4px 0; }
.ok, .no-b { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; flex: none; }
.ok { background: var(--green); }
.no-b { background: var(--red); }
.tsec { padding: var(--space-2) 0; }
.tsec-h { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--space-2) var(--space-1); font-size: 12px; font-weight: 600; color: var(--fg-2); }
.trow { display: flex; align-items: center; gap: var(--space-2); height: 34px; padding: 0 var(--space-2); border-radius: 8px; cursor: pointer; -webkit-user-select: none; user-select: none; position: relative; }
@media (hover: hover) { .trow:hover { background: var(--fill); } }
.trow input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.cb { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid hsl(var(--h) var(--s) 55%); flex: none; position: relative; transition: background-color var(--dur-fast) var(--ease-out); }
.trow input:checked + .cb { background: hsl(var(--h) var(--s) 50%); border-color: transparent; }
.trow input:checked + .cb::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.trow input:focus-visible + .cb { outline: 2px solid var(--blue); outline-offset: 2px; }
.tname { flex: 1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcnt { font-size: 12px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.tchip { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; color: hsl(var(--h) var(--s) var(--pill-l)); background: hsl(var(--h) var(--s) 50% / var(--pill-a)); }

/* ── 칩·버튼·구분 ────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { position: relative; height: 28px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; color: var(--fg); transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.fchip:active { transform: scale(0.95); }
.fchip.on { background: var(--fg); color: var(--bg); border-color: transparent; }
.fchip .dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--h) var(--s) 60%); flex: none; }
.fchip.on .dot { box-shadow: 0 0 0 1.5px var(--bg); }
.sc { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 600; background: var(--fill); color: var(--fg-2); white-space: nowrap; flex: none; }
.sc.closedchip { color: var(--red); }
.dd { font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 6px; background: var(--fill); color: var(--fg-2); font-variant-numeric: tabular-nums; display: inline-block; }
.dd.urgent { background: var(--red); color: #fff; }
.dd.past { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.dvd { display: flex; align-items: center; gap: var(--space-3); margin: var(--space-5) 0 var(--space-2); font-size: 12px; font-weight: 600; color: var(--fg-2); }
.dvd::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.empty { padding: var(--space-6) 0; text-align: center; color: var(--fg-2); font-size: 14px; }
.empty.left { padding: 12px 0; text-align: left; }
.capnote { font-size: 12px; color: var(--fg-2); padding: var(--space-2) var(--space-4); margin: 0; }
.fav { color: var(--star); margin-right: 3px; }
.more-s { display: flex; justify-content: center; padding: var(--space-4) 0; }
.lock-banner { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); margin: var(--space-3) 0; border-radius: 12px; background: var(--fill); font-size: 13px; font-weight: 500; }
.lock-banner span { flex: 1; }
.blur, .sub.blur, .isub.blur, .d-rows.blur { filter: blur(4px); opacity: 0.7; -webkit-user-select: none; user-select: none; pointer-events: none; }

/* ══ 보기 B ═════════════════════════════════════════════ */
.strip { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4) 0; overflow-x: auto; flex: none; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.sstat { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 10px; background: var(--fill); min-width: 92px; flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.sstat[data-act]:active { transform: scale(0.97); }
.sstat[data-act] { cursor: pointer; }
.sstat b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sstat span { font-size: 11px; color: var(--fg-2); font-weight: 500; white-space: nowrap; }
.sstat.lead { background: var(--fg); color: var(--bg); }
.sstat.lead span { color: var(--bg); opacity: 0.7; }
.mhead { flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: var(--space-3) var(--space-4) var(--space-2); }
.mhead h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 2px; background: var(--fill); border-radius: 8px; padding: 2px; }
.navb { height: 28px; min-width: 30px; padding: 0 10px; border-radius: 6px; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
@media (hover: hover) { .navb:hover { background: var(--fill-2); } }
.navb:active { transform: scale(0.94); }
.viewport { flex: 1; min-height: 0; position: relative; }
.viewport > * { position: absolute; inset: 0; }
.anim-fade { animation: vfade 200ms var(--ease-out); }
.anim-left { animation: vleft 220ms var(--ease-out); }
.anim-right { animation: vright 220ms var(--ease-out); }
@keyframes vfade { from { opacity: 0; } }
@keyframes vleft { from { opacity: 0; transform: translateX(24px); } }
@keyframes vright { from { opacity: 0; transform: translateX(-24px); } }

.month { display: flex; flex-direction: column; }
.wk { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 0 var(--space-1); border-bottom: 1px solid var(--line); flex: none; }
.wk span { text-align: right; padding-right: var(--space-2); font-size: 12px; color: var(--fg-2); }
.mgrid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); }
.cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; padding: 3px 3px 0; position: relative; }
.cell:nth-child(7n) { border-right: 0; }
.cell.other .dnum { color: var(--fg-3); }
.dnum { align-self: flex-end; height: 22px; min-width: 22px; padding: 0 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; border-radius: 11px; flex: none; cursor: default; }
.cell.today .dnum { background: var(--red); color: #fff; }
.cell.sel:not(.today) .dnum { background: var(--fill-2); }
.pills { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 2px; margin-top: 1px; }
.pill { flex: none; display: flex; align-items: center; gap: 4px; height: 18px; padding: 0 5px; border-radius: 4px; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; width: 100%; color: hsl(var(--h) var(--s) var(--pill-l)); background: hsl(var(--h) var(--s) 50% / var(--pill-a)); transition: transform var(--dur-fast) var(--ease-out); }
.pill:active { transform: scale(0.98); }
.pill .t { opacity: 0.75; font-weight: 500; font-variant-numeric: tabular-nums; flex: none; }
.pill .n { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pill .fav { flex: none; font-size: 10px; margin: 0; }
.pill.closed { opacity: 0.45; }
.pill.closed .n { text-decoration: line-through; }
.pill.no { opacity: 0.4; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg-2); }
.more { height: 16px; font-size: 11px; font-weight: 500; color: var(--fg-2); padding: 0 5px; flex: none; border-radius: 4px; text-align: left; }
@media (hover: hover) { .more:hover { background: var(--fill); } }
.dots { display: none; }

.week { display: flex; flex-direction: column; }
.whead { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); flex: none; }
.wcol-h { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: var(--space-2) 0; font-size: 12px; color: var(--fg-2); }
.wcol-h b { width: 30px; height: 30px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; color: var(--fg); }
.wcol-h.today b { background: var(--red); color: #fff; }
.wcol-h.sel:not(.today) b { background: var(--fill-2); }
.wbody { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.wcol { border-right: 1px solid var(--line); padding: var(--space-2); display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; align-content: start; }
.wcol:last-child { border-right: 0; }
.wc { flex: none; display: flex; flex-direction: column; gap: 2px; padding: 6px 8px; border-radius: 6px; width: 100%; color: hsl(var(--h) var(--s) var(--pill-l)); background: hsl(var(--h) var(--s) 50% / var(--pill-a)); transition: transform var(--dur-fast) var(--ease-out); }
.wc:active { transform: scale(0.98); }
.c-time { font-size: 11px; font-weight: 600; opacity: 0.8; font-variant-numeric: tabular-nums; }
.c-title { font-size: 12px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-org { font-size: 11px; opacity: 0.75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc.closed { opacity: 0.45; }
.wc.closed .c-title { text-decoration: line-through; }
.day { overflow-y: auto; overscroll-behavior: contain; }
.day-in { max-width: 840px; margin: 0 auto; padding: 0 var(--space-4) var(--space-6); }

.pane-list { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; transition: transform 240ms var(--ease-out), opacity 240ms var(--ease-out); }
.pane.detail-open .pane-list { transform: translateX(-24px); opacity: 0.3; pointer-events: none; }
.pane-detail { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--bg-pane); transform: translateX(100%); visibility: hidden; transition: transform 240ms var(--ease-out), visibility 0s linear 240ms; padding: var(--space-3) var(--space-4) var(--space-6); border-left: 1px solid var(--line); }
.pane.detail-open .pane-detail { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.app.list-mode .pane-detail { max-width: 560px; left: auto; right: 0; box-shadow: var(--shadow); }
.list-in { padding: 0 var(--space-3) var(--space-6); }
.list-top { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) 0 var(--space-2); min-height: 44px; flex-wrap: wrap; position: sticky; top: 0; background: var(--bg-pane); z-index: 3; }
.app.list-mode .list-top { background: var(--bg); }
.list-top h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-right: auto; }
.count { font-size: 12px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.bg { border-bottom: 1px solid var(--line); }
.bg:last-child { border-bottom: 0; }
.bg-h { position: sticky; top: 44px; z-index: 2; display: flex; align-items: baseline; gap: var(--space-2); padding: var(--space-3) 0 6px; background: var(--bg-pane); font-size: 13px; font-weight: 600; }
.app.list-mode .bg-h { background: var(--bg); font-size: 15px; }
.bg-d.today { color: var(--red); }
.bg.past .bg-d { color: var(--fg-2); }
.bg-n { margin-left: auto; font-size: 12px; color: var(--fg-2); font-weight: 400; }
.li { display: flex; align-items: stretch; border-top: 1px solid var(--line); }
.li-main { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-radius: 6px; transition: background-color var(--dur-fast) var(--ease-out); }
@media (hover: hover) { .li-main:hover { background: var(--fill); } }
.li-main:active { background: var(--fill-2); }
.li.active .li-main { background: var(--fill); }
.bar { flex: none; width: 4px; border-radius: 2px; background: hsl(var(--h) var(--s) 58%); align-self: stretch; min-height: 20px; }
.time { flex: none; width: 40px; font-size: 12px; color: var(--fg-2); font-variant-numeric: tabular-nums; padding-top: 2px; }
.rbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ttl { font-size: 14px; font-weight: 500; line-height: 1.35; display: flex; gap: 6px; align-items: flex-start; }
.ttl .ok, .ttl .no-b, .ittl .ok, .ittl .no-b { margin-top: 2px; }
.sub { font-size: 12px; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.why { font-size: 12px; color: var(--red); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-star, .item-star { flex: none; width: 40px; display: flex; align-items: center; justify-content: center; color: var(--fg-3); font-size: 17px; transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.li-star:active, .item-star:active { transform: scale(0.85); }
.li-star.on, .item-star.on { color: var(--star); }
.li.closed { opacity: 0.6; }
.li.closed .ttl { text-decoration: line-through; color: var(--fg-2); }
.li.no .ttl { color: var(--fg-2); }
.li .sc { align-self: center; margin-left: 6px; }

.locked { overflow: hidden; }
.locked .month { position: absolute; inset: 0; filter: blur(7px); pointer-events: none; -webkit-user-select: none; user-select: none; opacity: 0.75; }
.lock-card { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: min(320px, calc(100% - 32px)); background: var(--bg-elev); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); border-radius: 16px; padding: var(--space-5); display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; z-index: 2; }
.lock-card b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.lock-card > span { color: var(--fg-2); font-size: 14px; }
.lock-cta { width: 100%; margin-top: var(--space-2); }

/* ══ 보기 C ═════════════════════════════════════════════ */
.dstrip { grid-area: strip; display: flex; gap: 4px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.dstrip::-webkit-scrollbar { display: none; }
.dcell { flex: none; width: 52px; height: 64px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; scroll-snap-align: start; transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); position: relative; }
.dcell:active { transform: scale(0.95); }
.dcell small { font-size: 11px; color: var(--fg-2); font-weight: 500; }
.dcell b { font-size: 19px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.dcell .cnt { font-size: 10px; color: var(--fg-2); height: 12px; font-variant-numeric: tabular-nums; }
.dcell.m1 { margin-left: 12px; }
.dcell.m1::before { content: attr(data-m); position: absolute; left: -10px; top: 4px; font-size: 10px; color: var(--fg-2); transform: rotate(-90deg); transform-origin: left top; }
.dcell.today b { color: var(--red); }
.dcell.sel { background: var(--fg); color: var(--bg); }
.dcell.sel small, .dcell.sel .cnt { color: var(--bg); opacity: 0.7; }
.dcell.sel.today b { color: var(--bg); }
.dcell.past { opacity: 0.5; }
.ddots { display: flex; gap: 2px; height: 5px; }
.ddots i, .dots i { width: 4px; height: 4px; border-radius: 50%; background: hsl(var(--h) var(--s) 60%); }
.dcell.sel .ddots i, .md.sel .ddots i { background: var(--bg); }
.main { flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior: contain; position: relative; }
.main-in { max-width: 780px; margin: 0 auto; padding: 0 var(--space-5) var(--space-7); }
.aside { width: 300px; flex: none; border-left: 1px solid var(--line); background: var(--bg-side); overflow-y: auto; padding: var(--space-4) var(--space-3); }
.chero { padding: var(--space-5) 0 var(--space-3); }
.chero h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.chero h1 small { display: block; font-size: 15px; font-weight: 500; color: var(--fg-2); letter-spacing: 0; margin-top: 6px; }
.nums { display: flex; gap: var(--space-5); margin-top: var(--space-4); flex-wrap: wrap; align-items: flex-end; }
.hnum { display: flex; flex-direction: column; gap: 2px; }
.hnum b { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.hnum.lead b { color: var(--green); }
.hnum span { font-size: 12px; color: var(--fg-2); font-weight: 500; }
.range { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) 0 var(--space-2); position: sticky; top: 0; background: var(--bg); z-index: 3; }
.range h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-right: auto; }
.cg { display: flex; gap: var(--space-4); border-top: 1px solid var(--line); padding: var(--space-3) 0; }
.gd { flex: none; width: 56px; position: sticky; top: 48px; align-self: flex-start; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.gd b { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.gd span { font-size: 12px; color: var(--fg-2); font-weight: 600; }
.gd .dd { margin-top: 4px; white-space: nowrap; padding: 2px 5px; }
.cg.today .gd b { color: var(--red); }
.cg.past .gd b { color: var(--fg-3); }
.gbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.free-list { gap: 8px; }
.item { display: flex; align-items: stretch; border-radius: 14px; background: hsl(var(--h) var(--s) 50% / var(--pill-a)); overflow: hidden; transition: transform var(--dur-fast) var(--ease-out); }
.item:active { transform: scale(0.985); }
.item.no { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); opacity: 0.6; }
.item.closed { opacity: 0.5; }
.item-main { flex: 1; min-width: 0; display: flex; gap: 10px; padding: 10px 12px; align-items: flex-start; }
.ibar { flex: none; width: 4px; border-radius: 2px; background: hsl(var(--h) var(--s) 60%); align-self: stretch; }
.ibody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.itop { display: flex; align-items: center; gap: 6px; font-size: 12px; color: hsl(var(--h) var(--s) var(--pill-l)); font-weight: 600; }
.itop .tn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.itop .tm { margin-left: auto; color: var(--fg-2); font-weight: 500; font-variant-numeric: tabular-nums; flex: none; }
.ittl { font-size: 15px; font-weight: 600; line-height: 1.35; display: flex; gap: 6px; align-items: flex-start; }
.item.closed .ittl { text-decoration: line-through; color: var(--fg-2); }
.isub { font-size: 13px; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-star { width: 44px; font-size: 18px; }
.mini { padding: 0 0 var(--space-4); }
.mini-h { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; padding: 0 var(--space-1) var(--space-2); }
.mini-h .icon { width: 28px; height: 28px; }
.mini-g, .mgrid-c { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mw { font-size: 11px; color: var(--fg-2); text-align: center; font-weight: 600; }
.md { height: 34px; font-size: 13px; border-radius: 8px; text-align: center; color: var(--fg); transition: background-color var(--dur-fast) var(--ease-out); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; line-height: 1; }
@media (hover: hover) { .md:hover { background: var(--fill); } }
.md.other { color: var(--fg-3); }
.md.today { color: var(--red); font-weight: 700; }
.md.sel { background: var(--fg); color: var(--bg); }
.md .ddots { height: 4px; }
.locked .fake { filter: blur(7px); pointer-events: none; -webkit-user-select: none; user-select: none; opacity: 0.7; display: flex; flex-direction: column; gap: 8px; padding: var(--space-3); }
.locked .fake .item { height: 64px; }
html[data-layout='c'] .locked { position: relative; min-height: 420px; border-radius: 16px; margin-top: var(--space-3); }
html[data-layout='c'] .lock-card { top: 50%; }

/* ── 시트 · 팝오버 ───────────────────────────────────── */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); opacity: 0; transition: opacity var(--dur-exit) var(--ease-out); z-index: 40; }
.overlay.on { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: calc(100% - var(--inset-top) - 24px); background: var(--bg-elev); border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform var(--dur-exit) var(--ease-out); z-index: 50; display: flex; flex-direction: column; box-shadow: var(--shadow); outline: 0; }
.sheet.medium { max-height: min(72%, 680px); }
.sheet.on { transform: translateY(0); transition: transform var(--dur-sheet) var(--ease-drawer); }
.sheet-head { flex: none; height: 28px; display: flex; align-items: center; justify-content: center; touch-action: none; cursor: grab; }
.grabber { width: 36px; height: 5px; border-radius: 3px; background: var(--fg-3); }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--space-4) calc(var(--inset-bottom) + var(--space-5)); touch-action: pan-y; }
@media (min-width: 900px) {
  .sheet, .sheet.medium { left: 50%; right: auto; bottom: auto; top: 50%; width: min(540px, calc(100% - 48px)); max-height: min(88vh, 800px); border-radius: 16px; transform: translate(-50%, -50%) scale(0.96); opacity: 0; transition: transform var(--dur-pop) var(--ease-out), opacity var(--dur-pop) var(--ease-out); }
  .sheet.on { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  html[data-layout='c'] .sheet.medium { left: auto; right: 0; top: 0; bottom: 0; transform: translateX(100%); width: min(460px, calc(100% - 48px)); max-height: none; border-radius: 0; opacity: 1; transition: transform var(--dur-exit) var(--ease-out); }
  html[data-layout='c'] .sheet.medium.on { transform: translateX(0); transition: transform 280ms var(--ease-out); }
  .sheet-head { display: none; }
  .sheet-body { padding: var(--space-5); }
}
.popover { position: fixed; width: 300px; background: var(--bg-elev); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); border-radius: 12px; z-index: 45; opacity: 0; transform: scale(0.96); transition: opacity var(--dur-pop) var(--ease-out), transform var(--dur-pop) var(--ease-out); padding: var(--space-3); }
.popover.on { opacity: 1; transform: none; }

/* ── 상세 ────────────────────────────────────────────── */
.d-top { display: flex; align-items: center; gap: 6px; margin-bottom: var(--space-3); flex-wrap: wrap; }
.d-top h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.d-top .sc { height: 22px; font-size: 12px; }
.d-title { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 4px; }
.d-org { font-size: 13px; color: var(--fg-2); margin-bottom: var(--space-3); }
.detail .li-star, .d-top .li-star { width: 36px; height: 36px; font-size: 20px; }
.detail .btn, .sheet .btn.block { margin-top: var(--space-2); }
.back { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 8px 0 2px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--blue); margin: 0 0 var(--space-2) -6px; }
.elig { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; margin-bottom: var(--space-3); font-size: 13px; line-height: 1.4; }
.elig.ok-b { background: rgba(48, 209, 88, 0.14); }
.elig.no-bg { background: rgba(255, 69, 58, 0.12); }
.elig b { display: block; font-size: 14px; font-weight: 700; }
.elig span { color: var(--fg-2); }
.elig .ok, .elig .no-b { width: 20px; height: 20px; font-size: 12px; margin-top: 1px; }
.d-rows { margin: 0 0 var(--space-3); border-top: 1px solid var(--line); }
.d-rows > div { display: flex; gap: var(--space-3); padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.d-rows dt { flex: none; width: 40px; color: var(--fg-2); }
.d-rows dd { margin: 0; flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.d-rows .warn dd { color: var(--warn); display: block; line-height: 1.5; }
.d-rows .warn svg { vertical-align: -2px; margin-right: 2px; }
.sec-h { font-size: 12px; font-weight: 700; color: var(--fg-2); margin: var(--space-4) 0 var(--space-2); }
.d-award { margin: 0 0 var(--space-3); padding: var(--space-3); border-radius: 12px; background: var(--fill); }
.d-award-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 0; }
.d-award-g div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.d-award-g dt { font-size: 11px; color: var(--fg-2); }
.d-award-g dd { margin: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-4); }
.foot { font-size: 12px; color: var(--fg-2); margin: var(--space-4) 0 0; }

/* ── 메뉴 · 폼 · 온보딩 ──────────────────────────────── */
.menu-id { padding: var(--space-2) var(--space-2) var(--space-3); display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: var(--space-2); }
.menu-id span { font-size: 13px; color: var(--fg-2); word-break: break-all; }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; min-height: 40px; padding: 0 var(--space-2); border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; }
@media (hover: hover) { a.mrow:hover, button.mrow:hover { background: var(--fill); } }
.mrow .mval { color: var(--fg-2); font-weight: 400; font-size: 13px; }
.mrow.danger { color: var(--red); }
.mrow.seg-row { padding-top: 4px; padding-bottom: 4px; }
.mseg { display: inline-flex; background: var(--fill); border-radius: 8px; padding: 2px; }
.mseg button { height: 28px; padding: 0 10px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--fg); white-space: nowrap; transition: background-color var(--dur-fast) var(--ease-out); }
.mseg button[aria-checked='true'] { background: var(--seg-sel); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.menu-legal { display: flex; gap: var(--space-3); flex-wrap: wrap; padding: var(--space-3) var(--space-2) 0; border-top: 1px solid var(--line); margin-top: var(--space-2); }
.menu-legal a { font-size: 12px; color: var(--fg-2); text-decoration: none; }
details.biz { padding: var(--space-2) var(--space-2) 0; font-size: 12px; color: var(--fg-2); }
details.biz summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
details.biz address { font-style: normal; line-height: 1.7; }
details.biz .site-footer, details.biz .wrap { all: unset; }
details.biz nav, details.biz .faint { display: none; }
.form h2, .tsheet h2, .onb h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.notice { font-size: 13px; color: var(--fg-2); margin: 0 0 var(--space-2); }
.f-sec { padding: var(--space-3) 0; }
.f-label { font-size: 13px; font-weight: 600; color: var(--fg-2); margin-bottom: var(--space-2); display: flex; gap: 6px; align-items: baseline; }
.f-more { border-top: 1px solid var(--line); margin-top: var(--space-2); }
.f-more summary { height: 44px; display: flex; align-items: center; font-weight: 600; cursor: pointer; list-style: none; -webkit-user-select: none; user-select: none; }
.f-more summary::-webkit-details-marker { display: none; }
.f-more summary::after { content: ''; width: 8px; height: 8px; border: solid var(--fg-3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-left: auto; transition: transform var(--dur-fast) var(--ease-out); }
.f-more[open] summary::after { transform: rotate(-135deg); }
.f-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 44px; border-bottom: 1px solid var(--line); font-size: 15px; }
.f-row.col { flex-direction: column; align-items: stretch; padding: var(--space-2) 0; gap: var(--space-2); }
.f-row.check { align-items: flex-start; padding: var(--space-3) 0; justify-content: flex-start; font-size: 14px; }
.f-row.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; }
.f-row.check span { color: var(--fg); line-height: 1.45; }
.f-row > span:first-child { flex: none; color: var(--fg); }
.f-row > span em { font-style: normal; color: var(--fg-2); font-size: 12px; margin-left: 4px; }
.f-row input:not([type='checkbox']) { flex: 1; min-width: 0; width: auto; background: none; border: 0; outline: 0; text-align: right; height: 44px; padding: 0; font-size: 15px; color: var(--fg); }
.f-row input:not([type='checkbox']):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.f-row select { flex: 0 1 auto; width: auto; min-height: 44px; background: none; padding: 0; text-align: right; font-size: 15px; color: var(--fg); }
.chipin { min-height: 36px; height: 36px; font-size: 14px; }
.switch { appearance: none; -webkit-appearance: none; width: 51px; height: 31px; border-radius: 16px; background: var(--fill-2); position: relative; flex: none; transition: background-color var(--dur-fast) var(--ease-out); margin: 0; cursor: pointer; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); transition: transform 200ms var(--ease-out); }
.switch:checked { background: #34c759; }
.switch:checked::after { transform: translateX(20px); }
.form .btn, .onb .btn { margin-top: var(--space-4); }
.onb { display: flex; flex-direction: column; }
.onb .ohero { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: var(--space-2) 0 var(--space-1); }
.bizno { display: flex; align-items: center; gap: 8px; margin-top: var(--space-5); height: 56px; border-radius: 14px; background: var(--fill); padding: 0 var(--space-4); font-size: 22px; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.bizno input { flex: 1; min-width: 0; width: auto; min-height: 0; height: 100%; padding: 0; border-radius: 0; background: none; border: 0; outline: 0; font: inherit; color: var(--fg); letter-spacing: 0.06em; }
.bizno:focus-within { box-shadow: 0 0 0 2px var(--blue); }
.bizno input:focus-visible { outline: 0; }
.bizno input::placeholder { color: var(--fg-3); font-weight: 500; }
.fetch { display: flex; flex-direction: column; gap: 6px; margin-top: var(--space-4); }
.fetch-row { display: flex; align-items: center; gap: 8px; font-size: 14px; min-height: 28px; }
.fetch-row .ok { width: 18px; height: 18px; }
.fetch-row.wait .ok { background: var(--fill-2); color: transparent; animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.found { border-radius: 12px; background: var(--fill); padding: var(--space-3); display: flex; flex-direction: column; gap: 8px; margin-top: var(--space-3); }

/* ── 하단 도구줄(모바일) ─────────────────────────────── */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--tabbar-h) + var(--inset-bottom)); padding: 0 var(--space-2) var(--inset-bottom); border-top: 0.5px solid var(--glass-edge); z-index: 30; align-items: center; justify-content: space-between; }
.tabbar button { height: 44px; min-width: 64px; padding: 0 var(--space-3); border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--fg); display: inline-flex; align-items: center; justify-content: center; transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.tabbar button:active { transform: scale(0.94); background: var(--fill); }
html.keyboard-open .tabbar { display: none !important; }

/* ══ 모바일 ═════════════════════════════════════════════ */
@media (max-width: 899px) {
  .dsk { display: none !important; }
  .mob { display: flex !important; }
  .mob[hidden] { display: none !important; }
  body.is-app { font-size: 16px; }
  .toolbar { grid-template-columns: 1fr auto; grid-template-areas: 'l r' 'seg seg' 's s' 'strip strip'; padding: var(--inset-top) var(--space-2) 0; row-gap: 0; }
  .tb-l { gap: 0; height: 44px; }
  .tb-r { height: 44px; }
  .vseg { margin: 2px var(--space-2) 8px; min-width: 0; height: 36px; }
  .vseg button { font-size: 14px; }
  .srow { grid-area: s; align-items: center; gap: var(--space-2); padding: 0 var(--space-2) var(--space-2); }
  .srow .search { flex: 1; width: auto; height: 36px; }
  .srow .search input { font-size: 16px; }
  .icon { width: 44px; height: 44px; }
  .sidebar { display: none; }
  .body { flex-direction: column; }
  .center { flex: none; display: flex !important; }
  html[data-layout='c'] .center { display: none !important; }
  .pane { width: auto; flex: 1; border-left: 0; background: var(--bg); min-height: 0; }
  .app.list-mode .pane { flex: 1; }
  .mhead { display: none; }
  .strip { padding: var(--space-2) var(--space-3) var(--space-2); }
  .sstat { min-width: 84px; padding: 6px 10px; }
  .sstat b { font-size: 18px; }
  .viewport { flex: none; height: auto; position: static; }
  .viewport > * { position: static; }
  .month { display: block; }
  .wk { padding: 0 var(--space-2) 2px; }
  .wk span { text-align: center; padding: 0; font-size: 11px; }
  .mgrid { display: grid; grid-template-rows: repeat(6, 42px); border-bottom: 1px solid var(--line); padding: 0 var(--space-2); transition: grid-template-rows 200ms var(--ease-out); }
  .mgrid.collapsed .cell:not(.wsel) { display: none; }
  .mgrid.collapsed { grid-template-rows: 42px; }
  .cell { border: 0; align-items: center; padding: 2px 0 0; cursor: pointer; }
  .dnum { align-self: center; min-width: 28px; height: 28px; padding: 0 4px; font-size: 14px; font-weight: 500; border-radius: 14px; white-space: nowrap; }
  .cell[data-key$='-01'] .dnum { font-size: 11px; }
  .cell.sel:not(.today) .dnum { background: var(--fg); color: var(--bg); }
  .pills, .more { display: none; }
  .dots { display: flex; gap: 3px; height: 7px; margin-top: 1px; }
  .dots i { width: 5px; height: 5px; }
  .week .whead { padding: 0 var(--space-2); }
  .wbody { display: none; }
  .wcol-h { min-height: 60px; justify-content: center; font-size: 12px; }
  .wcol-h b { width: 34px; height: 34px; border-radius: 17px; }
  .day { display: none; }
  .list-in { padding: 0 var(--space-4) var(--content-pad-bottom); }
  .list-top { background: var(--bg); }
  .bg-h { background: var(--bg); font-size: 16px; }
  .ttl { font-size: 16px; }
  .sub, .why { font-size: 13px; }
  .time { width: 46px; font-size: 13px; }
  .tname { font-size: 17px; }
  .trow { height: 44px; }
  .fchip { height: 32px; font-size: 13px; }
  .fchip::after { content: ''; position: absolute; inset: -6px 0; }
  .li-star { width: 44px; }
  .pane-detail { display: none; }
  .lock-card { top: 46%; }
  .locked { position: relative; height: 420px; }
  .d-rows > div { font-size: 14px; }
  .f-row { font-size: 17px; }
  .f-row input:not([type='checkbox']), .f-row select { font-size: 17px; }
  /* C */
  .dstrip { padding: 0 var(--space-1) 8px; }
  .dcell { width: 48px; height: 60px; }
  .aside { display: none; }
  .main-in { padding: 0 var(--space-4) var(--content-pad-bottom); }
  .chero { padding: var(--space-4) 0 var(--space-2); }
  .chero h1 { font-size: 28px; }
  .nums { gap: var(--space-4); }
  .hnum b { font-size: 24px; }
  .gd { width: 48px; top: 44px; }
  .gd b { font-size: 30px; }
  .main .mgrid { grid-template-rows: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: var(--space-2) 0 var(--space-3); border-bottom: 1px solid var(--line); margin-bottom: var(--space-2); }
  .main .mgrid .mw { padding-bottom: 4px; }
  .md { height: 44px; }
  html[data-layout='c'] .locked { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ⛔ 참가 불가 토글 — 판정 자료가 있을 때만 그려진다 */
.sstat.no { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg-2); margin-left: auto; justify-content: center; }
.sstat.no.on { box-shadow: inset 0 0 0 1px var(--red); color: var(--fg); }
.notoggle { margin-left: auto; height: 32px; padding: 0 12px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12px; font-weight: 600; color: var(--fg-2); display: inline-flex; align-items: center; gap: 6px; }
.notoggle.on { box-shadow: inset 0 0 0 1px var(--red); color: var(--fg); }
