@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./ibm-plex-sans-latin-400-normal-CDDApCn2.woff2)format("woff2"),url(./ibm-plex-sans-latin-400-normal-CYLoc0-x.woff)format("woff")}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./ibm-plex-sans-latin-500-normal-6ng42L7E.woff2)format("woff2"),url(./ibm-plex-sans-latin-500-normal-BgVn5rGT.woff)format("woff")}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(./ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2)format("woff2"),url(./ibm-plex-sans-latin-600-normal-Cu4Hd6ag.woff)format("woff")}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./ibm-plex-sans-latin-700-normal-Bxkt5Cjx.woff2)format("woff2"),url(./ibm-plex-sans-latin-700-normal-Bth3BMcD.woff)format("woff")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2)format("woff2"),url(./ibm-plex-mono-latin-500-normal-CB9ihrfo.woff)format("woff")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./ibm-plex-mono-latin-600-normal-BgSNZQsw.woff2)format("woff2"),url(./ibm-plex-mono-latin-600-normal-DWFSQ4vo.woff)format("woff")}:root{--bg:#eef0f3;--card:#fff;--ink:#1b2230;--muted:#4f5866;--line:#d5d9e0;--line-soft:#e3e6eb;--stage:#2b333e;--black:#000;--dx:#1d4ed8;--sx:#c2410c;--warn:#b45309;--danger:#b91c1c;--sans:"IBM Plex Sans", system-ui, -apple-system, sans-serif;--mono:"IBM Plex Mono", ui-monospace, monospace;--tap:44px;--sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;margin:0}body{font-family:var(--sans);color:var(--ink);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;overscroll-behavior:none}button,input,select{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}:focus-visible{outline:2px solid var(--dx);outline-offset:2px}.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.hidden{display:none!important}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}#app{flex-direction:column;height:100dvh;display:flex}.screen{min-height:0;padding-top:var(--sat);flex-direction:column;flex:1;display:flex}.screen.scroll{-webkit-overflow-scrolling:touch;padding-bottom:calc(16px + var(--sab));overflow-y:auto}.topbar{align-items:center;gap:8px;padding:10px 12px 10px 8px;display:flex}.topbar .titles{flex:1;min-width:0}.topbar h1{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:17px;font-weight:600;line-height:22px;overflow:hidden}.topbar .sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px;overflow:hidden}.content{flex-direction:column;gap:12px;padding:0 12px;display:flex}.btn{min-height:var(--tap);min-width:var(--tap);background:var(--card);color:var(--ink);border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:15px;font-weight:600;display:inline-flex}.btn.outline{border:1px solid var(--line)}.btn.ghost{background:0 0}.btn.primary{background:var(--ink);color:#fff}.btn.danger{background:var(--card);color:var(--danger);border:1px solid var(--line)}.btn.icon{width:var(--tap);padding:0}.btn.block{width:100%;min-height:52px;font-size:16px}.btn.mono{font-family:var(--mono);font-size:14px}.btn:active:not(:disabled){filter:brightness(.94)}.card{background:var(--card);border-radius:18px;padding:14px 16px}.card h2{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0 0 10px;font-size:13px;font-weight:600}.card p{margin:0;font-size:14px;line-height:20px}.card p+p{margin-top:8px}.kv{grid-template-columns:1fr auto;gap:0;font-size:14px;display:grid}.kv>*{border-bottom:1px solid var(--bg);padding:7px 0}.kv>:nth-last-child(-n+2){border-bottom:none}.kv dt{color:var(--muted)}.kv dd{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums;margin:0;font-weight:500}.kv dd.warn{color:var(--warn);font-weight:600}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;display:grid}.stat .label{color:var(--muted);font-size:12px}.stat .value{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:16px;font-weight:600}.note{color:var(--muted);font-size:13px;line-height:18px}.note.warn{color:var(--warn)}.error-box{color:var(--danger);background:#fdecec;border-radius:12px;padding:10px 12px;font-size:14px;line-height:20px}.seg{background:var(--bg);border-radius:12px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;padding:3px;display:grid}.seg button{min-height:var(--tap);color:var(--muted);background:0 0;border:none;border-radius:9px;padding:0 8px;font-size:14px;font-weight:500;line-height:1.15}.seg button[aria-pressed=true]{background:var(--card);color:var(--ink);font-weight:600;box-shadow:0 1px 2px #00000014}.seg button small{color:var(--muted);font-size:11px;font-weight:400;display:block}.seg.on-stage{background:#ffffffeb;grid-auto-columns:auto}.seg.on-stage button{color:var(--ink);padding:0 10px;font-size:12px}.seg.on-stage button[aria-pressed=true]{background:var(--ink);color:#fff;box-shadow:none}.stage{background:var(--stage);touch-action:manipulation;border-radius:18px;margin:0 12px;position:relative;overflow:hidden}.stage video,.stage canvas{width:100%;height:100%;position:absolute;inset:0}.stage video{object-fit:contain}.stage canvas{pointer-events:none}.stage.only-skeleton{background:var(--black)}.stage.only-skeleton video{visibility:hidden}.stage .stage-busy.soft{text-shadow:0 1px 3px #000c;background:0 0;align-items:flex-end;padding-bottom:10px;font-size:12px}.stage .stage-busy{color:#fff;pointer-events:none;background:#0000008c;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex;position:absolute;inset:0}.stage .stage-tl{position:absolute;top:12px;left:12px}.stage .stage-bl{position:absolute;bottom:12px;left:12px}.stage .stage-tr{position:absolute;top:12px;right:12px}.stage .chip{color:#e8edf3;background:#00000080;border-radius:6px;padding:3px 8px;font-size:12px;position:absolute;bottom:12px;right:12px}.timeline{height:var(--tap);position:relative}.timeline .track,.timeline .fill,.timeline .sel{border-radius:2px;height:4px;position:absolute;top:20px}.timeline .track{background:var(--line);left:0;right:0}.timeline .fill{background:var(--ink);left:0}.timeline .sel{background:var(--dx);opacity:.35;border-radius:3px;height:12px;top:16px}.timeline .marker{background:var(--ink);border-radius:1px;width:2px;height:20px;margin-left:-1px;position:absolute;top:12px}.timeline input[type=range]{appearance:none;background:0 0;width:100%;height:100%;margin:0;position:absolute;inset:0}.timeline input[type=range]::-webkit-slider-runnable-track{height:var(--tap);background:0 0}.timeline input[type=range]::-webkit-slider-thumb{appearance:none;border:2px solid var(--ink);background:#fff;border-radius:50%;width:22px;height:22px;margin-top:11px;box-shadow:0 1px 3px #0003}.timeline input[type=range]::-moz-range-track{background:0 0;height:4px}.timeline input[type=range]::-moz-range-thumb{border:2px solid var(--ink);background:#fff;border-radius:50%;width:18px;height:18px}.controls{flex-direction:column;gap:4px;padding:6px 16px 8px;display:flex}.controls .row{align-items:center;gap:6px;display:flex}.controls .time{text-align:center;min-width:0;font-family:var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:14px;font-weight:500;overflow:hidden}.controls .time small{color:var(--muted);font-size:11px;display:block}.controls .btn.play{width:52px}.progress{background:var(--line);border-radius:4px;height:8px;overflow:hidden}.progress>div{background:var(--ink);border-radius:4px;width:0;height:100%;transition:width .15s linear}.sheet-backdrop{z-index:10;background:#1b223073;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--card);width:100%;padding:18px 16px calc(16px + var(--sab));border-radius:22px 22px 0 0;flex-direction:column;gap:12px;display:flex}.sheet h2{margin:0;font-size:17px;font-weight:600}.sheet .preview{background:var(--black);border-radius:14px;height:180px;position:relative;overflow:hidden}.sheet .preview canvas{width:100%;height:100%;position:absolute;inset:0}.analysis .stage{flex:auto;min-height:180px}.datapanel{background:var(--card);height:38%;max-height:340px;padding:12px 16px calc(12px + var(--sab));border-radius:22px 22px 0 0;flex-direction:column;flex:none;gap:10px;display:flex;overflow:hidden}.datapanel .head{align-items:center;gap:8px;display:flex}.datapanel .head .seg{flex:1}.datapanel .body{flex:1;min-height:0;overflow-y:auto}.datapanel.collapsed{height:auto;padding-top:8px}.datapanel .showbar{min-height:var(--tap);align-items:center;gap:10px;width:100%;display:flex}.datapanel .showmain{min-width:0;min-height:var(--tap);text-align:left;background:0 0;border:none;flex:1;align-items:center;gap:10px;padding:0;display:flex}.datapanel .showbar .t{flex:1;min-width:0}.datapanel .showbar .t b{font-size:15px;font-weight:600;display:block}.datapanel .showbar .t span{color:var(--muted);font-size:12px;display:block}.vis-table{border-collapse:collapse;width:100%;font-size:13px}.vis-table th{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);text-align:right;border-bottom:1px solid var(--line-soft);padding:0 0 6px;font-size:11px;font-weight:600}.vis-table th:first-child{text-align:left}.vis-table td{border-bottom:1px solid var(--bg);text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums;padding:6px 0}.vis-table td:first-child{text-align:left;font-family:var(--sans);font-weight:500}.vis-table td.low{color:var(--warn);font-weight:600}.dx-text{color:var(--dx)}.sx-text{color:var(--sx)}.hero{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:28px 16px 20px;display:flex}.hero .badge{background:var(--bg);border-radius:18px;justify-content:center;align-items:center;width:64px;height:64px;display:flex}.hero h2{text-transform:none;letter-spacing:0;color:var(--ink);margin:0;font-size:20px;font-weight:600}.file-input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.seg.tight button{padding:0 4px;font-size:13px}.seg.small button{min-height:36px;font-size:13px}.datapanel .pane{flex-direction:column;gap:8px;display:flex}.pick-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.pick{border:1px solid var(--line);background:var(--card);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231B2230' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 8px center;background-repeat:no-repeat;border-radius:8px;max-width:58%;height:36px;padding:0 28px 0 10px;font-size:16px;font-weight:600}.legend{text-align:right;flex-wrap:wrap;justify-content:flex-end;gap:4px 12px;font-size:12px;font-weight:600;display:flex}.legend .key{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.legend .key b{font-weight:600}.sw{border-radius:2px;width:14px;height:3px;display:inline-block}.sw.dx{background:var(--dx)}.sw.sx{background:var(--sx)}.sw.split{background:linear-gradient(90deg, var(--dx) 50%, var(--sx) 50%)}.chart{touch-action:pan-y;width:100%;height:132px;display:block}.asym{flex-direction:column;font-size:13px;display:flex}.asym-row{border:none;border-bottom:1px solid var(--bg);text-align:right;min-height:36px;font-family:var(--mono);font-variant-numeric:tabular-nums;background:0 0;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,.75fr)) minmax(0,.85fr) minmax(0,.55fr);align-items:center;gap:4px;width:100%;padding:4px 0;font-size:13px;display:grid}.asym-row .name{text-align:left;font-family:var(--sans);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.asym-row .span{grid-column:2/-1}.asym-row.th{border-bottom:1px solid var(--line-soft);min-height:0;font-family:var(--sans);text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:0 0 6px;font-size:11px;font-weight:600}.asym-row.th span:first-child{text-align:left}.asym-row .delta{border-radius:6px;padding:1px 6px;font-style:normal}.asym-row.over .delta{background:var(--ink);color:#fff;font-weight:600}.asym-row.over .delta b{color:inherit}.sheet.tall{max-height:88dvh}.sheet-body{-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:18px;min-height:0;margin:0 -16px;padding:0 16px;display:flex;overflow-y:auto}.sheet-body section{flex-direction:column;gap:8px;display:flex}.sheet-body h3{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0;font-size:13px;font-weight:600}.sheet-body h3.split{justify-content:space-between;display:flex}.sheet-body .note{margin:0}.angle-row{border-bottom:1px solid var(--bg);align-items:center;gap:8px;padding:2px 0;display:flex}.angle-row label{min-width:0;min-height:var(--tap);flex:1;align-items:center;gap:10px;display:flex}.angle-row label span{min-width:0}.angle-row b{font-size:14px;font-weight:500;display:block}.angle-row small{color:var(--muted);font-size:12px;display:block}.angle-row input[type=checkbox]{width:22px;height:22px;accent-color:var(--ink);flex:none;margin:0}.angle-row .thr{font-family:var(--mono);color:var(--muted);align-items:center;gap:3px;font-size:13px;display:inline-flex}.angle-row .thr input{border:1px solid var(--line);text-align:right;width:56px;height:36px;font-family:var(--mono);background:var(--card);border-radius:8px;padding:0 6px;font-size:16px}.btn.small{border-radius:10px;min-height:36px;padding:0 10px;font-size:13px}.choices{flex-direction:column;gap:6px;display:flex}.choice{min-height:var(--tap);text-align:left;border:1px solid var(--line);background:var(--card);border-radius:12px;flex-direction:column;align-items:flex-start;gap:1px;width:100%;padding:8px 12px;display:flex}.choice b{font-size:15px;font-weight:600}.choice small{color:var(--muted);font-size:12px}.choice[aria-checked=true]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.card .card-sub{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:14px 0 6px;font-size:12px;font-weight:600}.setup{margin:0;padding-left:18px;font-size:14px;line-height:20px}.setup li+li{margin-top:4px}.timeline .marks{pointer-events:none;position:absolute;inset:0}.timeline .marker{background:var(--muted);height:18px;top:13px}.timeline .marker.dx{background:var(--dx)}.timeline .marker.sx{background:var(--sx)}.stage .event-tag{color:#fff;background:#1b2230d9;border-radius:8px;padding:4px 9px;font-size:12px;font-weight:600}.asym-row .sd{color:var(--muted);font-size:10px;font-weight:400;line-height:12px;display:block}.asym-row.over .delta+.sd{margin-top:2px}.cycle-edit{flex-direction:column;gap:6px;margin-top:4px;display:flex}.cycle-edit .edit-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.cycle-edit h3{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0;font-size:12px;font-weight:600}.cycle-edit .edit-head .btn{color:var(--dx)}.edit-bar{background:var(--bg);border-radius:12px;align-items:center;gap:6px;padding:6px 8px;display:flex}.edit-bar .t{flex:1;min-width:0}.edit-bar .t b{font-size:13px;font-weight:600;display:block}.edit-bar .t small{color:var(--muted);font-size:12px;font-family:var(--mono);font-variant-numeric:tabular-nums;display:block}.edit-bar .t small.warn{color:var(--warn);font-family:var(--sans)}.cycle-list{flex-direction:column;display:flex}.cycle-row{border-bottom:1px solid var(--bg);border-left:3px solid #0000;flex-wrap:wrap;align-items:center;gap:6px;padding:5px 0 5px 8px;display:flex}.cycle-row.current{border-left-color:var(--ink)}.cycle-row.off{opacity:.55}.cycle-row .n{width:58px;font-size:13px;font-weight:600}.side-chip{color:#fff;border:none;border-radius:8px;min-width:40px;min-height:32px;font-size:13px;font-weight:600}.side-chip.dx{background:var(--dx)}.side-chip.sx{background:var(--sx)}.ev-chip{border:1px solid var(--line);background:var(--card);min-height:36px;color:var(--muted);border-radius:8px;flex-direction:column;align-items:flex-start;gap:0;padding:2px 8px;font-size:11px;line-height:14px;display:inline-flex}.ev-chip .mono{color:var(--ink);font-size:12px;font-weight:500}.ev-chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#c9d1dc}.ev-chip[aria-pressed=true] .mono{color:#fff}.record{padding-bottom:calc(12px + var(--sab))}.record .scroll-body{-webkit-overflow-scrolling:touch;flex:1;min-height:0;padding-bottom:8px;overflow-y:auto}.card>p+.btn,.card>p+.note{margin-top:12px}.rec-live{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.rec-stage{background:var(--black);border-radius:18px;flex:1;justify-content:center;align-items:center;min-height:0;margin:0 12px;display:flex;position:relative;overflow:hidden}.rec-frame{position:relative;overflow:hidden}.rec-frame video{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.rec-frame video.mirror{transform:scaleX(-1)}.rec-grid{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.rec-grid path{fill:none;vector-effect:non-scaling-stroke}.rec-grid .third{stroke:#ffffff59;stroke-width:1px}.rec-grid .axis{stroke:#ffffff8c;stroke-width:1px;stroke-dasharray:4 4}.rec-horizon{pointer-events:none;background:#fff;height:2px;position:absolute;top:50%;left:-20%;right:-20%;box-shadow:0 0 0 1px #00000059}.rec-ticks{pointer-events:none;opacity:.9;background:linear-gradient(90deg,#fff 0 24px,#0000 24px calc(100% - 24px),#fff calc(100% - 24px));height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}.rec-horizon.ok,.rec-ticks.ok{background-color:#22c55e}.rec-ticks.ok{background:linear-gradient(90deg,#22c55e 0 24px,#0000 24px calc(100% - 24px),#22c55e calc(100% - 24px))}.rec-pitch{pointer-events:none;background:#ffffff4d;border-radius:3px;width:6px;height:140px;margin-top:-70px;position:absolute;top:50%;right:10px}.rec-pitch .mid{background:#fff;height:2px;margin-top:-1px;position:absolute;top:50%;left:-5px;right:-5px}.rec-pitch-dot{background:#fff;border-radius:50%;width:14px;height:14px;margin-top:-7px;position:absolute;top:50%;left:-4px;box-shadow:0 0 0 1px #0006}.rec-pitch.ok .mid,.rec-pitch.ok .rec-pitch-dot{background:#22c55e}.rec-chip{color:#e8edf3;background:#0000008c;border-radius:6px;max-width:calc(100% - 20px);padding:3px 8px;font-size:12px;position:absolute}.rec-chip.level{top:10px;left:10px}.rec-chip.level.ok{color:#86efac}.rec-chip.rec{color:#fff;background:#b91c1c;top:40px;left:10px}.rec-chip.info{bottom:10px;left:10px}.rec-count{font-family:var(--mono);color:#fff;text-shadow:0 2px 24px #0009;pointer-events:none;justify-content:center;align-items:center;font-size:160px;font-weight:600;display:flex;position:absolute;inset:0}.rec-bar{justify-content:space-between;align-items:center;min-height:76px;padding:0 28px;display:flex}.rec-side{background:var(--card);border-radius:50%;width:52px;height:52px}.rec-btn{border:4px solid var(--ink);background:0 0;border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;padding:0;display:flex}.rec-btn .dot{background:var(--danger);border-radius:50%;width:52px;height:52px;transition:border-radius .15s,width .15s,height .15s}.rec-btn.recording .dot{border-radius:6px;width:28px;height:28px}.rec-btn.counting .dot{background:var(--muted);border-radius:6px;width:28px;height:28px}.text-input{width:100%;min-height:var(--tap);border:1px solid var(--line);background:var(--card);border-radius:12px;padding:0 12px;font-size:16px}.text-input.area{resize:vertical;padding:10px 12px;line-height:22px}.row{align-items:center;gap:8px;display:flex}.row .text-input{flex:1;min-width:0}.stack{flex-direction:column;gap:8px;margin-top:10px;display:flex}.patient-field{flex-direction:column;gap:8px;display:flex}.pick.wide{width:100%;max-width:none;height:var(--tap)}.check-row{align-items:flex-start;gap:12px;padding:4px 0;display:flex}.check-row input{width:22px;height:22px;accent-color:var(--ink);flex:none;margin:11px 0 0}.check-row b{min-height:22px;padding-top:11px;font-size:15px;font-weight:600;line-height:22px;display:block}.check-row small{color:var(--muted);font-size:13px;line-height:18px;display:block}.sess-list{flex-direction:column;display:flex}.sess{border-bottom:1px solid var(--bg);align-items:center;gap:4px;display:flex}.sess:last-child{border-bottom:none}.sess[aria-busy=true]{opacity:.5}.sess-main{min-width:0;min-height:var(--tap);text-align:left;background:0 0;border:none;flex-direction:column;flex:1;align-items:flex-start;gap:1px;padding:9px 0;display:flex}.sess-main b{font-size:15px;font-weight:600}.sess-main span{font-size:14px}.sess-main small{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px;overflow:hidden}.btn.icon.outline.saved{background:var(--ink);color:#fff;border-color:var(--ink)}.backup-result{display:contents}.trend{width:100%;height:auto;margin-top:8px;display:block}.trend .zero{stroke:var(--ink);stroke-width:1px}.trend .thr{stroke:var(--warn);stroke-width:1px;stroke-dasharray:4 4;opacity:.7}.trend .line{fill:none;stroke:var(--ink);stroke-width:2px;stroke-linejoin:round}.trend .pt{fill:var(--card);stroke:var(--ink);stroke-width:2px}.trend .pt.over{fill:var(--warn);stroke:var(--warn)}.trend .ax{font:500 10px var(--mono);fill:var(--muted)}.trend .val{font:600 11px var(--mono);fill:var(--ink)}.toast{left:16px;right:16px;bottom:calc(24px + var(--sab));z-index:30;background:var(--ink);color:#fff;text-align:center;pointer-events:none;border-radius:12px;padding:12px 16px;font-size:14px;line-height:20px;position:fixed}.toast.error{background:var(--danger)}.screen.compare{background:var(--black);padding-bottom:var(--sab);overflow:hidden}.compare .pane{flex-direction:column;flex:1 1 0;min-height:0;display:flex}.compare .stage{border-radius:0;flex:1 1 0;min-height:0;margin:0}.compare .stage .stage-bl{flex-direction:column;align-items:flex-start;gap:4px;display:flex;bottom:8px;left:8px}.compare .stage .chip{position:static}.pane-ctl .badge{min-width:20px;color:var(--ink);text-align:center;background:#fff;border-radius:5px;flex:none;padding:0 5px;font-size:12px;font-weight:700;line-height:20px}.pane-ctl .time-chip{color:#fff;min-width:58px;font-family:var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap;flex-direction:column;flex:none;align-items:flex-end;font-size:12px;font-weight:500;line-height:14px;display:flex}.pane-ctl .time-chip small{color:#c9d1dc;font-size:10px;line-height:12px}.tool.small{width:32px;height:32px}.tool.small svg{width:17px;height:17px}.tool.primary{background:var(--ink);color:#fff;box-shadow:0 1px 5px #00000080}.tool.mono{font:600 13px var(--mono)}.pane-ctl{background:#14181f;flex:none;align-items:center;gap:4px;padding:0 8px;display:flex}.pane-ctl .timeline{flex:1;min-width:0}.pane-ctl .timeline .track{background:#ffffff59}.pane-ctl .timeline .fill,.pane-ctl .timeline .marker{background:#fff}.compare-strip{color:#c9d1dc;background:#14181f;flex-direction:column;flex:none;align-items:center;gap:2px;padding:3px 12px;display:flex}.compare-strip .tool{width:40px;height:40px}.compare-strip .strip-row,.compare-strip .draw-tools.inline{justify-content:center;align-items:center;gap:14px;display:flex}.compare-strip.drawing .controls-row{display:none}.compare-strip .draw-tools.inline{flex-direction:row;gap:10px;position:static}.compare-strip .draw-hint.inline{text-align:center;color:#c9d1dc;background:0 0;padding:0;font-size:11px;line-height:14px;position:static}.compare .toolbar{z-index:1;gap:8px;top:8px}.compare-tables{flex-direction:column;gap:16px;margin-bottom:12px;display:flex}.compare-tables section{flex-direction:column;gap:8px;display:flex}.compare-tables h3{margin:0;font-size:13px;font-weight:600;line-height:18px}.compare-tables h3 .letter{background:var(--ink);color:#fff;text-align:center;border-radius:5px;min-width:20px;margin-right:2px;padding:0 5px;display:inline-block}.compare-tables .pair{background:var(--bg);border-radius:12px;margin:0 -12px;padding:10px 12px}.compare-tables .note{margin:0}.screen.scroll>.stage{flex:none}.analysis .stage{border-radius:0;flex:auto;min-height:220px;margin:0}.tool{width:var(--tap);height:var(--tap);color:var(--ink);background:#ffffffeb;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;box-shadow:0 1px 5px #00000059}.tool:active{filter:brightness(.9)}.tool[aria-pressed=true],.tool.saved{background:var(--ink);color:#fff}.stage-top{pointer-events:none;align-items:center;gap:8px;display:flex;position:absolute;top:8px;left:8px;right:8px}.stage-top>*{pointer-events:auto}.stage-top .titles{color:#fff;background:#1b2230b8;border-radius:12px;min-width:0;padding:4px 10px}.stage-top h1{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;font-weight:600;line-height:18px;overflow:hidden}.stage-top .sub{color:#c9d1dc;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:14px;overflow:hidden}.toolbar{flex-direction:column;gap:10px;display:flex;position:absolute;top:64px;left:8px}.log{font:500 10.5px/1.45 var(--mono);white-space:pre-wrap;word-break:break-word;color:var(--ink);margin:8px 0 0}.note:empty{display:none}.home h1{letter-spacing:-.01em;font-size:28px;line-height:34px}.home .card{padding:10px}.home .card .pick{background-color:#0000;border:none;padding-left:8px}.tile{background:var(--card);min-height:150px;color:var(--ink);text-align:left;font:inherit;border:none;border-radius:18px;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:16px;display:flex}.tile:active:not(:disabled){filter:brightness(.94)}.tile:disabled{opacity:.45}.tile .chip{background:var(--bg);border-radius:14px;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.tile .chip.rec{color:var(--danger)}.tile .foot{justify-content:space-between;align-items:flex-end;width:100%;display:flex}.tile b{font-size:20px;font-weight:600;line-height:24px}.tile.main{background:var(--ink);color:#fff;min-height:224px}.tile.main .chip{background:#ffffff1f}.tile.main b{font-size:28px;line-height:32px}.tile-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.update-banner{left:16px;right:16px;bottom:calc(24px + var(--sab));z-index:40;background:var(--ink);color:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:8px 8px 8px 16px;font-size:14px;line-height:20px;display:flex;position:fixed}.update-banner .btn{color:var(--ink);background:#fff;border-color:#fff}.asym-row.static{cursor:default}.stage .side-check{z-index:2;color:#fff;background:#1b2230e6;border-radius:12px;flex-direction:column;gap:8px;padding:10px 12px;font-size:13px;line-height:18px;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.stage .side-check .row{justify-content:flex-end}.stage .side-check .btn:not(.primary){color:#fff;background:0 0;border-color:#ffffff80}.stage .side-check .btn.primary{color:var(--ink);background:#fff;border-color:#fff}.snap-img{object-fit:contain;background:#000;border-radius:10px;width:100%;max-height:60vh;display:block}.snap-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.snap-grid .note{grid-column:1/-1}.snap-thumb{aspect-ratio:3/4;background:#000;border:none;border-radius:10px;padding:0;overflow:hidden}.snap-thumb .snap-img{object-fit:cover;border-radius:0;height:100%;max-height:none}.stage .draw-tools{z-index:2;flex-direction:column;gap:10px;display:flex;position:absolute;top:64px;right:8px}.stage .draw-hint{z-index:2;color:#fff;pointer-events:none;background:#1b2230d9;border-radius:10px;padding:6px 10px;font-size:12px;line-height:16px;position:absolute;bottom:44px;left:8px;right:68px}.tool:disabled{opacity:.45}.tool[aria-pressed=true] svg{color:#facc15}.districts{flex-direction:column;gap:18px;margin:14px 0;display:flex}.district{border:1.5px solid var(--line);background:var(--card);border-radius:16px;overflow:hidden;box-shadow:0 1px 4px #1b22301f}.dist-head,.dist-row{grid-template-columns:30px minmax(0, 1fr) repeat(var(--cols,2), 56px);align-items:center;column-gap:4px;padding:0 6px 0 12px;display:grid}.dist-head{background:var(--ink);color:#fff;min-height:50px}.dist-head .ico{color:#fff;display:inline-flex}.dist-head b{font-size:15px;font-style:italic;font-weight:700}.dist-head .col{text-align:center;color:#fff;border-radius:10px;justify-self:center;width:40px;padding:2px 0;font-size:12px;font-weight:700}.dist-head .col.dx{background:var(--dx)}.dist-head .col.sx{background:var(--sx)}.dist-row{border-top:1px solid var(--line-soft);min-height:54px}.dist-row:nth-child(2n){background:#f6f7f9}.dist-row .what{flex-direction:column;grid-column:1/3;font-size:14px;font-weight:500;line-height:18px;display:flex}.dist-row .what small{color:var(--muted);font-size:11px;font-weight:400;line-height:14px}.dist-row .cell{justify-content:center;display:flex}.dist-row .cell.all{grid-column:3/-1}.dot{background:0 0;border:none;width:44px;height:44px;padding:0;position:relative}.dot:before{content:"";border:2px solid var(--muted);background:var(--card);border-radius:50%;position:absolute;inset:8px}.dot.dx:before{border-color:var(--dx)}.dot.sx:before{border-color:var(--sx)}.dot[aria-checked=true]:before{background:var(--ink);border-color:var(--ink)}.dot.dx[aria-checked=true]:before{background:var(--dx);border-color:var(--dx)}.dot.sx[aria-checked=true]:before{background:var(--sx);border-color:var(--sx)}.dot[aria-checked=true]:after{content:"";border:2.5px solid #fff;border-width:0 2.5px 2.5px 0;width:6px;height:11px;position:absolute;top:13px;left:17px;transform:rotate(45deg)}.screen.compare.side{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.compare.side .pane.a{grid-area:1/1}.compare.side .pane.b{grid-area:1/2}.compare.side .compare-strip{grid-area:2/1/auto/-1}.compare.side .pane-ctl{flex-wrap:wrap;row-gap:0;padding-bottom:2px}.compare.side .pane-ctl .timeline{flex:1 0 100%;order:-1}.compare.side .pane-ctl .time-chip{margin-left:auto}
