/* ══ 管理者工作室 設計系統 46.0.0 ══ style-s6.css（石墨 GRAPHITE 材質層：只有與 S1 不同的規則）
   由 emit_css.py 自元件庫示範頁產生，不要手改；改元件庫後重跑。
   風格層只准改顏色、框線、陰影、圓角、字型；不得出現 min-height、padding、font-size、z-index（第六項檢查的風格層純度會擋，規範 12.2）。 */

/* S1 有、本套沒有的規則或屬性：歸零（unset），等於本套原本沒寫 */
.alert .btn.sm:hover{opacity:unset}
/* 本套材質（相對於 S1 基準的屬性層級差異） */
:root{--ink:#171717;--line:#E3E3E3;--muted:#6A6A6A;--paperc:#F6F6F6}
.st.gray{background:#F1F1F1}
.t td{border-bottom:1px solid #F0F0F0}
.toast i{background:#2A722E}
.sk{background:linear-gradient(90deg,#EFEFEF 25%,#F6F6F6 50%,#EFEFEF 75%)}
.nrow{border-bottom:1px solid #F0F0F0}
.desc dt{background:var(--paperc,#F6F6F6)}
.count.gray{background:var(--paperc,#F6F6F6)}
.drawerdemo{background:#F4F4F4}
.tlist .th2{background:var(--paperc,#F6F6F6)}
.split .pa{background:var(--paperc,#F6F6F6)}
.thumb{background:repeating-linear-gradient(135deg,var(--line) 0 7px,var(--paperc,#F6F6F6) 7px 14px)}
.result .dl{background:var(--paperc,#F6F6F6)}
:root{--line-2:#D9D9D9;--sel:#F2F2F2;--dark:#3B3B3B;--mono:"SF Mono",Menlo,Consolas,"Liberation Mono",monospace}
body{background:#F4F4F4}
.btn,.btn.primary,.btn.ghost,.btn.danger,.kebab,.msearch,.p2,.cal .ch button,.cal .quick button,.p4 button{border-radius:6px}
.field input,.field select,.field textarea,.search,.txa textarea,.p5 input,.dd .trg,.qty,.seg,.upfile,.tokcell,.mck,.chip{border-radius:6px}
.board,.tblwrap,.cardx,.card,.empty,.cal,.desc,.drawerdemo,.noti,.acc-p,.feed,.chart,.split,.result,.upload{border-radius:12px}
.cardx .ct,.card .card-title{border-radius:12px 12px 0 0}
.dt,.t td.num{font-family:var(--mono);letter-spacing:var(--ls-n4)}
.t tbody tr:hover td{background:var(--sel)}
.t tbody tr:hover td:first-child{border-radius:6px 0 0 6px}
.t tbody tr:hover td:last-child{border-radius:0 6px 6px 0}
.pillf.on{background:var(--sel);border-color:var(--line-2);color:var(--ink)}
.seg button.on{background:var(--sel);color:var(--ink)}
.nitem:hover{background:var(--sel)}
:root{--d1:#1F4F9E;--d2:#C9781F;--d3:#00806A;--d4:#8659CC;--d5:#5E7A12;--d6:#C7466E;--d7:#0E82A8;--d8:#B5651D}
.notice{background:#F4F4F4}
.sheet{background:var(--card,#fff);border:1px solid var(--line);border-bottom:none;border-radius:12px 12px 0 0;box-shadow:none}
.igroup .ad{background:var(--page,#F4F4F4);border-color:var(--line)}
.igroup .ad:first-child{border-radius:6px 0 0 6px}
.igroup .ad:last-child{border-radius:0 6px 6px 0}
.igroup input,.field .igroup input{background:var(--card,#fff);border-color:var(--line);border-radius:0}
.igroup input:first-child,.field .igroup input:first-child{border-radius:6px 0 0 6px}
.igroup input:last-child,.field .igroup input:last-child{border-radius:0 6px 6px 0}
.igroup .btn{border-radius:0 6px 6px 0}
.otp input,.field .otp input{background:var(--card,#fff);border-color:var(--line);border-radius:6px}
.codeblk{background:var(--page,#F4F4F4);border-color:var(--line);border-radius:6px}
.thumbs button{border-radius:6px;background:var(--sel);color:var(--ink);border-color:var(--line)}
.cmdk{background:var(--card,#fff);border-color:var(--line);border-radius:12px;box-shadow:0 16px 48px rgba(0,0,0,.18)}
.cmdk .it{border-radius:6px}
.prose code{background:var(--page,#F4F4F4);border-color:var(--line)}
.prose figure .ph{border-radius:6px}
.sheetdemo{background:var(--page,#F4F4F4)}
.rate{color:var(--wrn)}
.tabbar,.tnav{background:var(--page,#F4F4F4)}
.tabbar .tbi[aria-current]{color:var(--acc)}
.tbdemo{background:var(--page,#F4F4F4)}
:root{--trk-bar:5px;--trk-meter:5px;--th-w:14px;--th-h:20px;--tl-x:-25px;--tl-w:9px;--tl-h:9px;--tnl-al:center;--tnl-h:3.6rem}
.tabbar .tbi,.tnav .tnl a{border-radius:6px}
.tnav .tnl a{border-bottom:none}
.tabbar .tbi[aria-current],.tnav .tnl a[aria-current]{background:var(--card,#FFFFFF);color:var(--acc);border-bottom-color:transparent;box-shadow:inset 0 0 0 1px var(--line-2)}
.tree .nd.on,.cmdk .it.on,.split .pa .li.on,.p1 button.on,.p2 button.on,.cal .quick button.on{background:var(--sel);border-color:var(--line-2);color:var(--ink);border-radius:6px}
.p1 button,.p3 button,.p5 button{border-radius:6px}
.cmdk .it.on kbd,.tree .nd.on .tw{color:inherit}
.strip .thumb.on{outline:1px solid var(--ink);outline-offset:1px;border-radius:6px}
.bar,.meter .mt,.slider .tr,.bar i,.meter .mt i,.slider .fl{border-radius:2px}
.slider .th{border:1px solid var(--line-2);border-radius:4px;background:var(--card,#FFFFFF)}
.tl{border-left-width:1px}
.tl li::before{border-radius:2px;border:none;box-shadow:none}
.avatar,.avatar.sq{border-radius:6px}
.conf{border-radius:6px;background:transparent;box-shadow:inset 0 0 0 1px currentColor}
.cal .ch button{color:var(--muted)}
.cal .ch button:hover{color:var(--ink)}
.cal .cg span{border-radius:6px}
.cal .cg .sel.a{border-radius:6px 0 0 6px}
.cal .cg .sel.b{border-radius:0 6px 6px 0}
.cal .cg .inr{background:var(--sel);border-radius:0}
:root{--bub-r:6px;--bub-tail:2px;--ring-w:2;--ring-tw:2;--ring-trk:var(--line-2);--ring-cap:butt;--wv-r:1px}
.bub{background:var(--sel);border-color:transparent}
.cmsg.me .bub{background:var(--acc);border-color:var(--acc)}
.voice{border-radius:6px}
.vplay{border-radius:6px}
.cd .cu{border-radius:6px}
:root{--page:#F4F4F4;--card:#FFFFFF}

/* ══ 深色模式（規範 8.8）：元件庫頁面淺色規則與深色規則的屬性層級差異（build_dark.py 產生深色）。html[data-theme="dark"] 強制深色；沒有指定時跟隨系統；:where() 讓深色規則權重與淺色相同。 ══ */
html[data-theme="dark"]{color-scheme:dark}
:where(html[data-theme="dark"]) body{background:var(--page)}
:where(html[data-theme="dark"]) .board{background:var(--card)}
:where(html[data-theme="dark"]) .btn{background:var(--card)}
:where(html[data-theme="dark"]) .btn.primary{background:var(--acc);color:var(--on-acc)}
:where(html[data-theme="dark"]) .btn.ghost{background:var(--card)}
:where(html[data-theme="dark"]) .btn.danger{background:var(--card)}
:where(html[data-theme="dark"]) .field input,:where(html[data-theme="dark"]) .field select,:where(html[data-theme="dark"]) .field textarea{background:var(--card)}
:where(html[data-theme="dark"]) .search{background:var(--card)}
:where(html[data-theme="dark"]) .search input{background:none}
:where(html[data-theme="dark"]) .check i{color:var(--on-acc)}
:where(html[data-theme="dark"]) .chip{background:var(--card)}
:where(html[data-theme="dark"]) .chip.on{background:var(--accsoft)}
:where(html[data-theme="dark"]) .pillf{background:var(--card)}
:where(html[data-theme="dark"]) .pillf.on{background:var(--acc);color:var(--on-acc)}
:where(html[data-theme="dark"]) .seg button{background:var(--card)}
:where(html[data-theme="dark"]) .seg button.on{background:var(--acc);color:var(--on-acc)}
:where(html[data-theme="dark"]) .st.gray{background:var(--sel)}
:where(html[data-theme="dark"]) .tblwrap{background:var(--card)}
:where(html[data-theme="dark"]) .t td{border-bottom:1px solid var(--line)}
:where(html[data-theme="dark"]) .t tr:last-child td{border-bottom:none}
:where(html[data-theme="dark"]) .t tbody tr:hover td:first-child{border-radius:12px 0 0 12px}
:where(html[data-theme="dark"]) .t tbody tr:hover td:last-child{border-radius:0 12px 12px 0}
:where(html[data-theme="dark"]) .statc{background:var(--card)}
:where(html[data-theme="dark"]) .statc.hero{background:var(--accsoft)}
:where(html[data-theme="dark"]) .cardx{background:var(--card)}
:where(html[data-theme="dark"]) .notice{background:var(--card)}
:where(html[data-theme="dark"]) .nitem.on{background:var(--accsoft);color:var(--acc)}
:where(html[data-theme="dark"]) .tab.on{color:var(--acc)}
:where(html[data-theme="dark"]) .p1 button{background:var(--card)}
:where(html[data-theme="dark"]) .p1 button.on{background:var(--acc);color:var(--on-acc)}
:where(html[data-theme="dark"]) .p2 button{background:var(--card)}
:where(html[data-theme="dark"]) .p2 button.on{background:var(--acc);color:var(--on-acc)}
:where(html[data-theme="dark"]) .p2 .dots{background:var(--card)}
:where(html[data-theme="dark"]) .p3 button{background:var(--card)}
:where(html[data-theme="dark"]) .p4 button{background:none}
:where(html[data-theme="dark"]) .p4 button.on{color:var(--acc)}
:where(html[data-theme="dark"]) .p5 button{background:var(--card)}
:where(html[data-theme="dark"]) .modal{background:var(--card)}
:where(html[data-theme="dark"]) .toast{color:var(--on-ink)}
:where(html[data-theme="dark"]) .toast i{background:var(--ok)}
:where(html[data-theme="dark"]) .flow .stp{background:var(--card)}
:where(html[data-theme="dark"]) .flow .stp.done{background:var(--accsoft)}
:where(html[data-theme="dark"]) .dd .trg{background:var(--card)}
:where(html[data-theme="dark"]) .menu{background:var(--card)}
:where(html[data-theme="dark"]) .mi.on{color:var(--acc);background:var(--accsoft)}
:where(html[data-theme="dark"]) .kebab{background:var(--card)}
:where(html[data-theme="dark"]) .mck i{color:var(--on-acc)}
:where(html[data-theme="dark"]) .mck.on i{background:var(--acc)}
:where(html[data-theme="dark"]) .sw2 .tk::after{background:var(--card)}
:where(html[data-theme="dark"]) .sw2.on .tk{background:var(--acc)}
:where(html[data-theme="dark"]) .txa textarea{background:var(--card)}
:where(html[data-theme="dark"]) .tip{color:var(--on-ink)}
:where(html[data-theme="dark"]) .sk{background:linear-gradient(90deg,var(--sel) 25%,var(--paperc) 50%,var(--sel) 75%);background-size:200% 100%}
:where(html[data-theme="dark"]) .noti{background:var(--card)}
:where(html[data-theme="dark"]) .nrow{border-bottom:1px solid var(--line)}
:where(html[data-theme="dark"]) .nrow:last-child{border-bottom:none}
:where(html[data-theme="dark"]) .acc-p{background:var(--card)}
:where(html[data-theme="dark"]) .bell{background:var(--card)}
:where(html[data-theme="dark"]) .bell b{color:var(--on-err);border:2px solid var(--card)}
:where(html[data-theme="dark"]) .bar i{background:var(--acc)}
:where(html[data-theme="dark"]) .noresult b{color:var(--ink)}
:where(html[data-theme="dark"]) .selcount button{background:none}
:where(html[data-theme="dark"]) .aibadge{color:var(--on-acc2) !important}
:where(html[data-theme="dark"]) .btn:disabled,:where(html[data-theme="dark"]) .btn[disabled]{background:var(--line) !important;color:var(--muted) !important}
:where(html[data-theme="dark"]) .aibadge{color:var(--acc2-deep) !important}
:where(html[data-theme="dark"]) .alert.err{background:var(--err-soft,var(--err-soft))}
:where(html[data-theme="dark"]) .alert.wrn{background:var(--wrn-soft,var(--wrn-soft))}
:where(html[data-theme="dark"]) .alert.ok{background:var(--ok-soft,var(--ok-soft))}
:where(html[data-theme="dark"]) .alert.info{background:var(--info-soft,var(--info-soft));color:var(--info,var(--info))}
:where(html[data-theme="dark"]) .pop{background:var(--card)}
:where(html[data-theme="dark"]) .pop .pt i{background:var(--wrn-soft,var(--wrn-soft));color:var(--wrn)}
:where(html[data-theme="dark"]) .cal{background:var(--card)}
:where(html[data-theme="dark"]) .cal .ch button{background:none}
:where(html[data-theme="dark"]) .cal .cg .sel{color:var(--on-acc)}
:where(html[data-theme="dark"]) .cal .quick button{background:none}
:where(html[data-theme="dark"]) .cal .quick button.on{background:var(--acc);color:var(--on-acc)}
:where(html[data-theme="dark"]) .tab.on .cnt{color:var(--on-acc)}
:where(html[data-theme="dark"]) .desc{background:var(--card)}
:where(html[data-theme="dark"]) .desc dt{background:var(--paperc,var(--paperc))}
:where(html[data-theme="dark"]) .avatar{color:var(--on-acc)}
:where(html[data-theme="dark"]) .avatar.gray{color:var(--ink)}
:where(html[data-theme="dark"]) .avatar .dot{border:2px solid var(--card)}
:where(html[data-theme="dark"]) .avstack .avatar{border:2px solid var(--card)}
:where(html[data-theme="dark"]) .badge>b{border-radius:999px;color:var(--on-err);border:2px solid var(--card)}
:where(html[data-theme="dark"]) .badge>b.gray{background:var(--muted)}
:where(html[data-theme="dark"]) .count.err{background:var(--err-soft,var(--err-soft))}
:where(html[data-theme="dark"]) .count.gray{background:var(--paperc,var(--paperc))}
:where(html[data-theme="dark"]) .t th.sortable.on{color:var(--ink)}
:where(html[data-theme="dark"]) .t th.sortable.on i{color:var(--acc)}
:where(html[data-theme="dark"]) .drawerdemo{background:var(--page)}
:where(html[data-theme="dark"]) .drawerdemo .ghost i{background:var(--line)}
:where(html[data-theme="dark"]) .drawerdemo .scrim{background:rgba(0,0,0,.6)}
:where(html[data-theme="dark"]) .drawer{background:var(--card);box-shadow:-12px 0 32px rgba(0,0,0,.6)}
:where(html[data-theme="dark"]) .toolbar{background:var(--card)}
:where(html[data-theme="dark"]) .toolbar .tb.on{background:var(--accsoft,var(--acc-soft));color:var(--acc)}
:where(html[data-theme="dark"]) .slider .th{background:var(--card);box-shadow:0 1px 4px rgba(0,0,0,.6)}
:where(html[data-theme="dark"]) .slider .tt{color:var(--on-ink)}
:where(html[data-theme="dark"]) .meter .mt i{background:var(--ok)}
:where(html[data-theme="dark"]) .meter.wrn .mt i{background:var(--wrn)}
:where(html[data-theme="dark"]) .meter.err .mt i{background:var(--err)}
:where(html[data-theme="dark"]) .meter.wrn .mh b{color:var(--wrn)}
:where(html[data-theme="dark"]) .meter.err .mh b{color:var(--err)}
:where(html[data-theme="dark"]) .casc{background:var(--card)}
:where(html[data-theme="dark"]) .casc li.on{background:var(--accsoft,var(--acc-soft));color:var(--acc)}
:where(html[data-theme="dark"]) .casc li.pick{color:var(--on-acc)}
:where(html[data-theme="dark"]) .tlist{background:var(--card)}
:where(html[data-theme="dark"]) .tlist .th2{background:var(--paperc,var(--paperc))}
:where(html[data-theme="dark"]) .tlist .check.on{background:var(--accsoft,var(--acc-soft))}
:where(html[data-theme="dark"]) .tree .nd.on{background:var(--accsoft,var(--acc-soft));color:var(--acc)}
:where(html[data-theme="dark"]) .stepper .sp .dot{border-radius:50%;border:2px solid var(--line);background:var(--card)}
:where(html[data-theme="dark"]) .stepper .sp.done .dot{background:var(--acc);border-color:var(--acc);color:var(--on-acc)}
:where(html[data-theme="dark"]) .stepper .sp.cur .dot{border-color:var(--acc);color:var(--acc)}
:where(html[data-theme="dark"]) .stepper .sp b{color:var(--muted)}
:where(html[data-theme="dark"]) .stepper .sp.cur b,:where(html[data-theme="dark"]) .stepper .sp.done b{color:var(--ink)}
:where(html[data-theme="dark"]) .tl li::before{border:2px solid var(--card)}
:where(html[data-theme="dark"]) .tl li.ok::before{background:var(--ok)}
:where(html[data-theme="dark"]) .tl li.err::before{background:var(--err)}
:where(html[data-theme="dark"]) .tl .tt{color:var(--ink)}
:where(html[data-theme="dark"]) .feed{background:var(--card)}
:where(html[data-theme="dark"]) .chart{background:var(--card)}
:where(html[data-theme="dark"]) .spark{background:var(--card)}
:where(html[data-theme="dark"]) .split{background:var(--card)}
:where(html[data-theme="dark"]) .split .pa{background:var(--paperc,var(--paperc))}
:where(html[data-theme="dark"]) .split .pa .li.on{background:var(--accsoft,var(--acc-soft));color:var(--acc)}
:where(html[data-theme="dark"]) .thumb{background:repeating-linear-gradient(135deg,var(--line) 0 7px,var(--paperc,var(--paperc)) 7px 14px)}
:where(html[data-theme="dark"]) .thumb .lab{background:color-mix(in srgb,var(--card) 95%,transparent)}
:where(html[data-theme="dark"]) .thumb .arr{background:color-mix(in srgb,var(--card) 95%,transparent);box-shadow:0 2px 8px rgba(0,0,0,.6)}
:where(html[data-theme="dark"]) .thumb .dots i{background:color-mix(in srgb,var(--card) 80%,transparent);border:1px solid rgba(255,255,255,.15)}
:where(html[data-theme="dark"]) .thumb .dots i.on{background:var(--acc)}
:where(html[data-theme="dark"]) .strip .thumb small{background:color-mix(in srgb,var(--card) 95%,transparent)}
:where(html[data-theme="dark"]) .result{background:var(--card)}
:where(html[data-theme="dark"]) .result.ok .ic{background:var(--ok-soft,var(--ok-soft))}
:where(html[data-theme="dark"]) .result.err .ic{background:var(--err-soft,var(--err-soft))}
:where(html[data-theme="dark"]) .result.info .ic{background:var(--info-soft,var(--info-soft));color:var(--info,var(--info))}
:where(html[data-theme="dark"]) .result .dl{background:var(--paperc,var(--paperc))}
html[data-theme="dark"].sc-light .aibadge{color:var(--acc2-text) !important}
html[data-theme="dark"].sc-light .avatar.a2{color:var(--acc2-text)}
html[data-theme="dark"].sc-light .rowset:has(.st.wrn) .aibadge,html[data-theme="dark"].sc-light tr:has(.st.wrn) .aibadge,html[data-theme="dark"].sc-light .nitem:has(.st.wrn) .aibadge{color:var(--on-acc) !important}
html[data-theme="dark"].sc-adjust .aibadge,html[data-theme="dark"].sc-adjust .avatar.a2{border:1px solid var(--ink) !important}
:where(html[data-theme="dark"]) .rate .ic.off{color:var(--line)}
:where(html[data-theme="dark"]) .rate.input button{background:none}
:where(html[data-theme="dark"]) .rate.input button.off{color:var(--line)}
:where(html[data-theme="dark"]) .raterow .n b{color:var(--ink)}
:where(html[data-theme="dark"]) .sheetdemo .scr i{border-radius:var(--r-pill);background:var(--line)}
:where(html[data-theme="dark"]) .sheetdemo .scrim{background:rgba(0,0,0,.28)}
:where(html[data-theme="dark"]) .sheet{background:var(--card)}
:where(html[data-theme="dark"]) .prose th,:where(html[data-theme="dark"]) .prose td{border-bottom:1px solid var(--line)}
:where(html[data-theme="dark"]) .igroup input,:where(html[data-theme="dark"]) .field .igroup input{background:var(--card)}
:where(html[data-theme="dark"]) .pwstr i{border-radius:var(--r-pill);background:var(--line)}
:where(html[data-theme="dark"]) .pwstr.s1 i:nth-child(1){background:var(--err)}
:where(html[data-theme="dark"]) .pwstr.s4 i{background:var(--ok)}
:where(html[data-theme="dark"]) .otp input,:where(html[data-theme="dark"]) .field .otp input{background:var(--card)}
:where(html[data-theme="dark"]) .thumbs button{background:var(--accsoft)}
:where(html[data-theme="dark"]) .lbx .cnt{color:#fff}
:where(html[data-theme="dark"]) .cmdk{background:var(--card)}
:where(html[data-theme="dark"]) .cmdk .in input{background:none}
:where(html[data-theme="dark"]) .cmdk .it.on{background:var(--accsoft);color:var(--acc)}
:where(html[data-theme="dark"]) .cmdk .it .ic{color:var(--muted)}
:where(html[data-theme="dark"]) .cmdk .it.on .ic{color:inherit}
:where(html[data-theme="dark"]) .tbdemo .scr i{border-radius:var(--r-pill);background:var(--line)}
:where(html[data-theme="dark"]) .tnav .tnb i{border-radius:50%;background:var(--acc)}
html[data-theme="dark"][data-style="s1"] .tabbar .tbi[aria-current] .ic{background:var(--accsoft)}
html[data-theme="dark"][data-style="s1"] .p1 button.on,html[data-theme="dark"][data-style="s1"] .p2 button.on,html[data-theme="dark"][data-style="s1"] .cal .quick button.on{background:var(--accsoft);color:var(--acc)}
:where(html[data-theme="dark"]) .bub.typing i{border-radius:50%;background:var(--muted)}
:where(html[data-theme="dark"]) .wave i{border-radius:var(--wv-r);background:color-mix(in srgb,var(--muted) 38%,transparent)}
:where(html[data-theme="dark"]) .wave i.on{background:var(--acc)}
:where(html[data-theme="dark"]) .cd .cu b{color:var(--ink)}
:where(html[data-theme="dark"]) .cd.urgent .cu b{color:var(--err)}
:where(html[data-theme="dark"]) .ring .rc b{color:var(--ink)}
:where(html[data-theme="dark"]) .tp .tpcol span.sel{color:var(--on-acc)}
:where(html[data-theme="dark"]) .card{background:var(--card)}
:where(html[data-theme="dark"]) body{background:var(--page)}
:where(html[data-theme="dark"]) .t tbody tr:hover td:first-child{border-radius:6px 0 0 6px}
:where(html[data-theme="dark"]) .t tbody tr:hover td:last-child{border-radius:0 6px 6px 0}
:where(html[data-theme="dark"]) .pillf.on{background:var(--sel);color:var(--ink)}
:where(html[data-theme="dark"]) .seg button.on{background:var(--sel);color:var(--ink)}
:where(html[data-theme="dark"]) .nitem:hover{background:var(--sel)}
:where(html[data-theme="dark"]) .check.dis i,:where(html[data-theme="dark"]) .radio.dis i{border-color:var(--muted)}
:where(html[data-theme="dark"]) .check.ind i{background:var(--acc);border-color:var(--acc);color:var(--on-acc)}
:where(html[data-theme="dark"]) .alert .btn.sm{background:none;color:currentColor}
:where(html[data-theme="dark"]) .notice{background:var(--page)}
:where(html[data-theme="dark"]) .sheet{background:var(--card,var(--card))}
:where(html[data-theme="dark"]) .igroup .ad{background:var(--page,var(--page))}
:where(html[data-theme="dark"]) .igroup input,:where(html[data-theme="dark"]) .field .igroup input{background:var(--card,var(--card))}
:where(html[data-theme="dark"]) .otp input,:where(html[data-theme="dark"]) .field .otp input{background:var(--card,var(--card))}
:where(html[data-theme="dark"]) .codeblk{background:var(--page,var(--page))}
:where(html[data-theme="dark"]) .thumbs button{background:var(--sel)}
:where(html[data-theme="dark"]) .cmdk{background:var(--card,var(--card));box-shadow:0 16px 48px rgba(0,0,0,.6)}
:where(html[data-theme="dark"]) .prose code{background:var(--page,var(--page))}
:where(html[data-theme="dark"]) .sheetdemo{background:var(--page,var(--page))}
:where(html[data-theme="dark"]) .tabbar,:where(html[data-theme="dark"]) .tnav{background:var(--page,var(--page))}
:where(html[data-theme="dark"]) .tbdemo{background:var(--page,var(--page))}
:where(html[data-theme="dark"]) [fill="#fff"]{fill:var(--card)}
:where(html[data-theme="dark"]) .tree .nd.on,:where(html[data-theme="dark"]) .cmdk .it.on,:where(html[data-theme="dark"]) .split .pa .li.on,:where(html[data-theme="dark"]) .p1 button.on,:where(html[data-theme="dark"]) .p2 button.on,:where(html[data-theme="dark"]) .cal .quick button.on{background:var(--sel);color:var(--ink)}
:where(html[data-theme="dark"]) .bar,:where(html[data-theme="dark"]) .meter .mt,:where(html[data-theme="dark"]) .slider .tr,:where(html[data-theme="dark"]) .bar i,:where(html[data-theme="dark"]) .meter .mt i,:where(html[data-theme="dark"]) .slider .fl{border-radius:2px}
:where(html[data-theme="dark"]) .slider .th{background:var(--card,#FFFFFF)}
:where(html[data-theme="dark"]) .tl li::before{border-radius:2px;border:none}
:where(html[data-theme="dark"]) .avatar,:where(html[data-theme="dark"]) .avatar.sq{border-radius:6px}
html[data-theme="dark"]{color-scheme:dark;--page:#121212;--card:#1A1A1A;--paperc:#202020;--sel:#262626;--line:#2E2E2E;--line-2:#3A3A3A;--ink:#EDEDED;--muted:#A3A3A3;--dark:#D4D4D4;--err:#F28B82;--err-soft:#3D2C2B;--wrn:#E2B341;--wrn-soft:#3A3220;--ok:#74C483;--ok-soft:#28352B;--info:#7DB6EE;--info-soft:#2A333C;--d1:#6E97DB;--on-acc:#121212;--on-acc2:#121212;--on-err:#121212;--on-ink:#121212;--acc:#629AF8;--accsoft:#262E3E;--acc-soft:#262E3E;--acc-deep:#629AF8;--acc2:#C2377B;--acc2soft:#351F2A;--acc2-soft:#351F2A;--acc2-deep:#F46BA8;--acc2-text:#EDEDED}
@media (prefers-color-scheme:dark){
html:not([data-theme="light"]){color-scheme:dark}
:where(html:not([data-theme="light"])) body{background:var(--page)}
:where(html:not([data-theme="light"])) .board{background:var(--card)}
:where(html:not([data-theme="light"])) .btn{background:var(--card)}
:where(html:not([data-theme="light"])) .btn.primary{background:var(--acc);color:var(--on-acc)}
:where(html:not([data-theme="light"])) .btn.ghost{background:var(--card)}
:where(html:not([data-theme="light"])) .btn.danger{background:var(--card)}
:where(html:not([data-theme="light"])) .field input,:where(html:not([data-theme="light"])) .field select,:where(html:not([data-theme="light"])) .field textarea{background:var(--card)}
:where(html:not([data-theme="light"])) .search{background:var(--card)}
:where(html:not([data-theme="light"])) .search input{background:none}
:where(html:not([data-theme="light"])) .check i{color:var(--on-acc)}
:where(html:not([data-theme="light"])) .chip{background:var(--card)}
:where(html:not([data-theme="light"])) .chip.on{background:var(--accsoft)}
:where(html:not([data-theme="light"])) .pillf{background:var(--card)}
:where(html:not([data-theme="light"])) .pillf.on{background:var(--acc);color:var(--on-acc)}
:where(html:not([data-theme="light"])) .seg button{background:var(--card)}
:where(html:not([data-theme="light"])) .seg button.on{background:var(--acc);color:var(--on-acc)}
:where(html:not([data-theme="light"])) .st.gray{background:var(--sel)}
:where(html:not([data-theme="light"])) .tblwrap{background:var(--card)}
:where(html:not([data-theme="light"])) .t td{border-bottom:1px solid var(--line)}
:where(html:not([data-theme="light"])) .t tr:last-child td{border-bottom:none}
:where(html:not([data-theme="light"])) .t tbody tr:hover td:first-child{border-radius:12px 0 0 12px}
:where(html:not([data-theme="light"])) .t tbody tr:hover td:last-child{border-radius:0 12px 12px 0}
:where(html:not([data-theme="light"])) .statc{background:var(--card)}
:where(html:not([data-theme="light"])) .statc.hero{background:var(--accsoft)}
:where(html:not([data-theme="light"])) .cardx{background:var(--card)}
:where(html:not([data-theme="light"])) .notice{background:var(--card)}
:where(html:not([data-theme="light"])) .nitem.on{background:var(--accsoft);color:var(--acc)}
:where(html:not([data-theme="light"])) .tab.on{color:var(--acc)}
:where(html:not([data-theme="light"])) .p1 button{background:var(--card)}
:where(html:not([data-theme="light"])) .p1 button.on{background:var(--acc);color:var(--on-acc)}
:where(html:not([data-theme="light"])) .p2 button{background:var(--card)}
:where(html:not([data-theme="light"])) .p2 button.on{background:var(--acc);color:var(--on-acc)}
:where(html:not([data-theme="light"])) .p2 .dots{background:var(--card)}
:where(html:not([data-theme="light"])) .p3 button{background:var(--card)}
:where(html:not([data-theme="light"])) .p4 button{background:none}
:where(html:not([data-theme="light"])) .p4 button.on{color:var(--acc)}
:where(html:not([data-theme="light"])) .p5 button{background:var(--card)}
:where(html:not([data-theme="light"])) .modal{background:var(--card)}
:where(html:not([data-theme="light"])) .toast{color:var(--on-ink)}
:where(html:not([data-theme="light"])) .toast i{background:var(--ok)}
:where(html:not([data-theme="light"])) .flow .stp{background:var(--card)}
:where(html:not([data-theme="light"])) .flow .stp.done{background:var(--accsoft)}
:where(html:not([data-theme="light"])) .dd .trg{background:var(--card)}
:where(html:not([data-theme="light"])) .menu{background:var(--card)}
:where(html:not([data-theme="light"])) .mi.on{color:var(--acc);background:var(--accsoft)}
:where(html:not([data-theme="light"])) .kebab{background:var(--card)}
:where(html:not([data-theme="light"])) .mck i{color:var(--on-acc)}
:where(html:not([data-theme="light"])) .mck.on i{background:var(--acc)}
:where(html:not([data-theme="light"])) .sw2 .tk::after{background:var(--card)}
:where(html:not([data-theme="light"])) .sw2.on .tk{background:var(--acc)}
:where(html:not([data-theme="light"])) .txa textarea{background:var(--card)}
:where(html:not([data-theme="light"])) .tip{color:var(--on-ink)}
:where(html:not([data-theme="light"])) .sk{background:linear-gradient(90deg,var(--sel) 25%,var(--paperc) 50%,var(--sel) 75%);background-size:200% 100%}
:where(html:not([data-theme="light"])) .noti{background:var(--card)}
:where(html:not([data-theme="light"])) .nrow{border-bottom:1px solid var(--line)}
:where(html:not([data-theme="light"])) .nrow:last-child{border-bottom:none}
:where(html:not([data-theme="light"])) .acc-p{background:var(--card)}
:where(html:not([data-theme="light"])) .bell{background:var(--card)}
:where(html:not([data-theme="light"])) .bell b{color:var(--on-err);border:2px solid var(--card)}
:where(html:not([data-theme="light"])) .bar i{background:var(--acc)}
:where(html:not([data-theme="light"])) .noresult b{color:var(--ink)}
:where(html:not([data-theme="light"])) .selcount button{background:none}
:where(html:not([data-theme="light"])) .aibadge{color:var(--on-acc2) !important}
:where(html:not([data-theme="light"])) .btn:disabled,:where(html:not([data-theme="light"])) .btn[disabled]{background:var(--line) !important;color:var(--muted) !important}
:where(html:not([data-theme="light"])) .aibadge{color:var(--acc2-deep) !important}
:where(html:not([data-theme="light"])) .alert.err{background:var(--err-soft,var(--err-soft))}
:where(html:not([data-theme="light"])) .alert.wrn{background:var(--wrn-soft,var(--wrn-soft))}
:where(html:not([data-theme="light"])) .alert.ok{background:var(--ok-soft,var(--ok-soft))}
:where(html:not([data-theme="light"])) .alert.info{background:var(--info-soft,var(--info-soft));color:var(--info,var(--info))}
:where(html:not([data-theme="light"])) .pop{background:var(--card)}
:where(html:not([data-theme="light"])) .pop .pt i{background:var(--wrn-soft,var(--wrn-soft));color:var(--wrn)}
:where(html:not([data-theme="light"])) .cal{background:var(--card)}
:where(html:not([data-theme="light"])) .cal .ch button{background:none}
:where(html:not([data-theme="light"])) .cal .cg .sel{color:var(--on-acc)}
:where(html:not([data-theme="light"])) .cal .quick button{background:none}
:where(html:not([data-theme="light"])) .cal .quick button.on{background:var(--acc);color:var(--on-acc)}
:where(html:not([data-theme="light"])) .tab.on .cnt{color:var(--on-acc)}
:where(html:not([data-theme="light"])) .desc{background:var(--card)}
:where(html:not([data-theme="light"])) .desc dt{background:var(--paperc,var(--paperc))}
:where(html:not([data-theme="light"])) .avatar{color:var(--on-acc)}
:where(html:not([data-theme="light"])) .avatar.gray{color:var(--ink)}
:where(html:not([data-theme="light"])) .avatar .dot{border:2px solid var(--card)}
:where(html:not([data-theme="light"])) .avstack .avatar{border:2px solid var(--card)}
:where(html:not([data-theme="light"])) .badge>b{border-radius:999px;color:var(--on-err);border:2px solid var(--card)}
:where(html:not([data-theme="light"])) .badge>b.gray{background:var(--muted)}
:where(html:not([data-theme="light"])) .count.err{background:var(--err-soft,var(--err-soft))}
:where(html:not([data-theme="light"])) .count.gray{background:var(--paperc,var(--paperc))}
:where(html:not([data-theme="light"])) .t th.sortable.on{color:var(--ink)}
:where(html:not([data-theme="light"])) .t th.sortable.on i{color:var(--acc)}
:where(html:not([data-theme="light"])) .drawerdemo{background:var(--page)}
:where(html:not([data-theme="light"])) .drawerdemo .ghost i{background:var(--line)}
:where(html:not([data-theme="light"])) .drawerdemo .scrim{background:rgba(0,0,0,.6)}
:where(html:not([data-theme="light"])) .drawer{background:var(--card);box-shadow:-12px 0 32px rgba(0,0,0,.6)}
:where(html:not([data-theme="light"])) .toolbar{background:var(--card)}
:where(html:not([data-theme="light"])) .toolbar .tb.on{background:var(--accsoft,var(--acc-soft));color:var(--acc)}
:where(html:not([data-theme="light"])) .slider .th{background:var(--card);box-shadow:0 1px 4px rgba(0,0,0,.6)}
:where(html:not([data-theme="light"])) .slider .tt{color:var(--on-ink)}
:where(html:not([data-theme="light"])) .meter .mt i{background:var(--ok)}
:where(html:not([data-theme="light"])) .meter.wrn .mt i{background:var(--wrn)}
:where(html:not([data-theme="light"])) .meter.err .mt i{background:var(--err)}
:where(html:not([data-theme="light"])) .meter.wrn .mh b{color:var(--wrn)}
:where(html:not([data-theme="light"])) .meter.err .mh b{color:var(--err)}
:where(html:not([data-theme="light"])) .casc{background:var(--card)}
:where(html:not([data-theme="light"])) .casc li.on{background:var(--accsoft,var(--acc-soft));color:var(--acc)}
:where(html:not([data-theme="light"])) .casc li.pick{color:var(--on-acc)}
:where(html:not([data-theme="light"])) .tlist{background:var(--card)}
:where(html:not([data-theme="light"])) .tlist .th2{background:var(--paperc,var(--paperc))}
:where(html:not([data-theme="light"])) .tlist .check.on{background:var(--accsoft,var(--acc-soft))}
:where(html:not([data-theme="light"])) .tree .nd.on{background:var(--accsoft,var(--acc-soft));color:var(--acc)}
:where(html:not([data-theme="light"])) .stepper .sp .dot{border-radius:50%;border:2px solid var(--line);background:var(--card)}
:where(html:not([data-theme="light"])) .stepper .sp.done .dot{background:var(--acc);border-color:var(--acc);color:var(--on-acc)}
:where(html:not([data-theme="light"])) .stepper .sp.cur .dot{border-color:var(--acc);color:var(--acc)}
:where(html:not([data-theme="light"])) .stepper .sp b{color:var(--muted)}
:where(html:not([data-theme="light"])) .stepper .sp.cur b,:where(html:not([data-theme="light"])) .stepper .sp.done b{color:var(--ink)}
:where(html:not([data-theme="light"])) .tl li::before{border:2px solid var(--card)}
:where(html:not([data-theme="light"])) .tl li.ok::before{background:var(--ok)}
:where(html:not([data-theme="light"])) .tl li.err::before{background:var(--err)}
:where(html:not([data-theme="light"])) .tl .tt{color:var(--ink)}
:where(html:not([data-theme="light"])) .feed{background:var(--card)}
:where(html:not([data-theme="light"])) .chart{background:var(--card)}
:where(html:not([data-theme="light"])) .spark{background:var(--card)}
:where(html:not([data-theme="light"])) .split{background:var(--card)}
:where(html:not([data-theme="light"])) .split .pa{background:var(--paperc,var(--paperc))}
:where(html:not([data-theme="light"])) .split .pa .li.on{background:var(--accsoft,var(--acc-soft));color:var(--acc)}
:where(html:not([data-theme="light"])) .thumb{background:repeating-linear-gradient(135deg,var(--line) 0 7px,var(--paperc,var(--paperc)) 7px 14px)}
:where(html:not([data-theme="light"])) .thumb .lab{background:color-mix(in srgb,var(--card) 95%,transparent)}
:where(html:not([data-theme="light"])) .thumb .arr{background:color-mix(in srgb,var(--card) 95%,transparent);box-shadow:0 2px 8px rgba(0,0,0,.6)}
:where(html:not([data-theme="light"])) .thumb .dots i{background:color-mix(in srgb,var(--card) 80%,transparent);border:1px solid rgba(255,255,255,.15)}
:where(html:not([data-theme="light"])) .thumb .dots i.on{background:var(--acc)}
:where(html:not([data-theme="light"])) .strip .thumb small{background:color-mix(in srgb,var(--card) 95%,transparent)}
:where(html:not([data-theme="light"])) .result{background:var(--card)}
:where(html:not([data-theme="light"])) .result.ok .ic{background:var(--ok-soft,var(--ok-soft))}
:where(html:not([data-theme="light"])) .result.err .ic{background:var(--err-soft,var(--err-soft))}
:where(html:not([data-theme="light"])) .result.info .ic{background:var(--info-soft,var(--info-soft));color:var(--info,var(--info))}
:where(html:not([data-theme="light"])) .result .dl{background:var(--paperc,var(--paperc))}
html:not([data-theme="light"]).sc-light .aibadge{color:var(--acc2-text) !important}
html:not([data-theme="light"]).sc-light .avatar.a2{color:var(--acc2-text)}
html:not([data-theme="light"]).sc-light .rowset:has(.st.wrn) .aibadge,html:not([data-theme="light"]).sc-light tr:has(.st.wrn) .aibadge,html:not([data-theme="light"]).sc-light .nitem:has(.st.wrn) .aibadge{color:var(--on-acc) !important}
html:not([data-theme="light"]).sc-adjust .aibadge,html:not([data-theme="light"]).sc-adjust .avatar.a2{border:1px solid var(--ink) !important}
:where(html:not([data-theme="light"])) .rate .ic.off{color:var(--line)}
:where(html:not([data-theme="light"])) .rate.input button{background:none}
:where(html:not([data-theme="light"])) .rate.input button.off{color:var(--line)}
:where(html:not([data-theme="light"])) .raterow .n b{color:var(--ink)}
:where(html:not([data-theme="light"])) .sheetdemo .scr i{border-radius:var(--r-pill);background:var(--line)}
:where(html:not([data-theme="light"])) .sheetdemo .scrim{background:rgba(0,0,0,.28)}
:where(html:not([data-theme="light"])) .sheet{background:var(--card)}
:where(html:not([data-theme="light"])) .prose th,:where(html:not([data-theme="light"])) .prose td{border-bottom:1px solid var(--line)}
:where(html:not([data-theme="light"])) .igroup input,:where(html:not([data-theme="light"])) .field .igroup input{background:var(--card)}
:where(html:not([data-theme="light"])) .pwstr i{border-radius:var(--r-pill);background:var(--line)}
:where(html:not([data-theme="light"])) .pwstr.s1 i:nth-child(1){background:var(--err)}
:where(html:not([data-theme="light"])) .pwstr.s4 i{background:var(--ok)}
:where(html:not([data-theme="light"])) .otp input,:where(html:not([data-theme="light"])) .field .otp input{background:var(--card)}
:where(html:not([data-theme="light"])) .thumbs button{background:var(--accsoft)}
:where(html:not([data-theme="light"])) .lbx .cnt{color:#fff}
:where(html:not([data-theme="light"])) .cmdk{background:var(--card)}
:where(html:not([data-theme="light"])) .cmdk .in input{background:none}
:where(html:not([data-theme="light"])) .cmdk .it.on{background:var(--accsoft);color:var(--acc)}
:where(html:not([data-theme="light"])) .cmdk .it .ic{color:var(--muted)}
:where(html:not([data-theme="light"])) .cmdk .it.on .ic{color:inherit}
:where(html:not([data-theme="light"])) .tbdemo .scr i{border-radius:var(--r-pill);background:var(--line)}
:where(html:not([data-theme="light"])) .tnav .tnb i{border-radius:50%;background:var(--acc)}
html:not([data-theme="light"])[data-style="s1"] .tabbar .tbi[aria-current] .ic{background:var(--accsoft)}
html:not([data-theme="light"])[data-style="s1"] .p1 button.on,html:not([data-theme="light"])[data-style="s1"] .p2 button.on,html:not([data-theme="light"])[data-style="s1"] .cal .quick button.on{background:var(--accsoft);color:var(--acc)}
:where(html:not([data-theme="light"])) .bub.typing i{border-radius:50%;background:var(--muted)}
:where(html:not([data-theme="light"])) .wave i{border-radius:var(--wv-r);background:color-mix(in srgb,var(--muted) 38%,transparent)}
:where(html:not([data-theme="light"])) .wave i.on{background:var(--acc)}
:where(html:not([data-theme="light"])) .cd .cu b{color:var(--ink)}
:where(html:not([data-theme="light"])) .cd.urgent .cu b{color:var(--err)}
:where(html:not([data-theme="light"])) .ring .rc b{color:var(--ink)}
:where(html:not([data-theme="light"])) .tp .tpcol span.sel{color:var(--on-acc)}
:where(html:not([data-theme="light"])) .card{background:var(--card)}
:where(html:not([data-theme="light"])) body{background:var(--page)}
:where(html:not([data-theme="light"])) .t tbody tr:hover td:first-child{border-radius:6px 0 0 6px}
:where(html:not([data-theme="light"])) .t tbody tr:hover td:last-child{border-radius:0 6px 6px 0}
:where(html:not([data-theme="light"])) .pillf.on{background:var(--sel);color:var(--ink)}
:where(html:not([data-theme="light"])) .seg button.on{background:var(--sel);color:var(--ink)}
:where(html:not([data-theme="light"])) .nitem:hover{background:var(--sel)}
:where(html:not([data-theme="light"])) .check.dis i,:where(html:not([data-theme="light"])) .radio.dis i{border-color:var(--muted)}
:where(html:not([data-theme="light"])) .check.ind i{background:var(--acc);border-color:var(--acc);color:var(--on-acc)}
:where(html:not([data-theme="light"])) .alert .btn.sm{background:none;color:currentColor}
:where(html:not([data-theme="light"])) .notice{background:var(--page)}
:where(html:not([data-theme="light"])) .sheet{background:var(--card,var(--card))}
:where(html:not([data-theme="light"])) .igroup .ad{background:var(--page,var(--page))}
:where(html:not([data-theme="light"])) .igroup input,:where(html:not([data-theme="light"])) .field .igroup input{background:var(--card,var(--card))}
:where(html:not([data-theme="light"])) .otp input,:where(html:not([data-theme="light"])) .field .otp input{background:var(--card,var(--card))}
:where(html:not([data-theme="light"])) .codeblk{background:var(--page,var(--page))}
:where(html:not([data-theme="light"])) .thumbs button{background:var(--sel)}
:where(html:not([data-theme="light"])) .cmdk{background:var(--card,var(--card));box-shadow:0 16px 48px rgba(0,0,0,.6)}
:where(html:not([data-theme="light"])) .prose code{background:var(--page,var(--page))}
:where(html:not([data-theme="light"])) .sheetdemo{background:var(--page,var(--page))}
:where(html:not([data-theme="light"])) .tabbar,:where(html:not([data-theme="light"])) .tnav{background:var(--page,var(--page))}
:where(html:not([data-theme="light"])) .tbdemo{background:var(--page,var(--page))}
:where(html:not([data-theme="light"])) [fill="#fff"]{fill:var(--card)}
:where(html:not([data-theme="light"])) .tree .nd.on,:where(html:not([data-theme="light"])) .cmdk .it.on,:where(html:not([data-theme="light"])) .split .pa .li.on,:where(html:not([data-theme="light"])) .p1 button.on,:where(html:not([data-theme="light"])) .p2 button.on,:where(html:not([data-theme="light"])) .cal .quick button.on{background:var(--sel);color:var(--ink)}
:where(html:not([data-theme="light"])) .bar,:where(html:not([data-theme="light"])) .meter .mt,:where(html:not([data-theme="light"])) .slider .tr,:where(html:not([data-theme="light"])) .bar i,:where(html:not([data-theme="light"])) .meter .mt i,:where(html:not([data-theme="light"])) .slider .fl{border-radius:2px}
:where(html:not([data-theme="light"])) .slider .th{background:var(--card,#FFFFFF)}
:where(html:not([data-theme="light"])) .tl li::before{border-radius:2px;border:none}
:where(html:not([data-theme="light"])) .avatar,:where(html:not([data-theme="light"])) .avatar.sq{border-radius:6px}
html:not([data-theme="light"]){color-scheme:dark;--page:#121212;--card:#1A1A1A;--paperc:#202020;--sel:#262626;--line:#2E2E2E;--line-2:#3A3A3A;--ink:#EDEDED;--muted:#A3A3A3;--dark:#D4D4D4;--err:#F28B82;--err-soft:#3D2C2B;--wrn:#E2B341;--wrn-soft:#3A3220;--ok:#74C483;--ok-soft:#28352B;--info:#7DB6EE;--info-soft:#2A333C;--d1:#6E97DB;--on-acc:#121212;--on-acc2:#121212;--on-err:#121212;--on-ink:#121212;--acc:#629AF8;--accsoft:#262E3E;--acc-soft:#262E3E;--acc-deep:#629AF8;--acc2:#C2377B;--acc2soft:#351F2A;--acc2-soft:#351F2A;--acc2-deep:#F46BA8;--acc2-text:#EDEDED}
}
