@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-latin-400-normal.woff2?v=aN3O7x0WSk) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/inter-latin-500-normal.woff2?v=hYH6zjo3A7) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/inter-latin-600-normal.woff2?v=kXcMi5l5yC) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-latin-700-normal.woff2?v=UeJuZw5gnF) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-vietnamese-400-normal.woff2?v=x5LSIOvtcM) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/inter-vietnamese-500-normal.woff2?v=CUM23jWJKM) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/inter-vietnamese-600-normal.woff2?v=-Z5aj32Fhi) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-vietnamese-700-normal.woff2?v=tzN31Z-Dzo) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/jetbrains-mono-latin-400-normal.woff2?v=a49BHp6eQq) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/jetbrains-mono-latin-500-normal.woff2?v=e5GscL4950) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/jetbrains-mono-vietnamese-400-normal.woff2?v=25Y-s_HYlp) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/jetbrains-mono-vietnamese-500-normal.woff2?v=sjLmALt_fD) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}

:root {
--mist: #edf2f3;
--paper: #ffffff;
--ink: #12313a;
--ink-2: #4d6870;
--ink-3: #7f979e;
--line: #d5e0e3;
--deep: #0f3d4a;
--water: #0b7a8f;
--water-soft: #d6eef2;
--add: #1b7f52;
--add-soft: #dcf2e6;
--edit: #9a6508;
--edit-soft: #fbeccb;
--del: #b93a32;
--del-soft: #fbe1de;
--r-s: 6px;
--r-m: 10px;
--rail: 208px;
--tab: 60px;
font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 15px;
line-height: 1.45;
color: var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--mist); }
body { min-height: 100dvh; -webkit-text-size-adjust: 100%; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 1.55rem; line-height: 1.2; font-weight: 650; letter-spacing: -0.01em; }
h2 { font-size: 1.05rem; font-weight: 650; }
a { color: var(--water); }
button, input, select, textarea { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.small { font-size: 0.87rem; }
.boot { color: var(--ink-2); }
.sk { pointer-events: none; }
.sk .rail { gap: 10px; }
.sk-b { border-radius: 8px; background: color-mix(in srgb, currentColor 9%, transparent); animation: sk 1.2s ease-in-out infinite; }
.sk .rail .sk-b { background: rgba(255, 255, 255, 0.12); }
.sk-brand { height: 26px; width: 60%; margin: 6px 8px 20px; }
.sk-line { height: 32px; margin: 0 2px; }
.sk-title { height: 30px; width: 180px; margin-bottom: 10px; }
.sk-sub { height: 14px; width: 60%; max-width: 480px; margin-bottom: 24px; }
.sk-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin-bottom: 16px; }
.sk-tiles .sk-b { height: 92px; border-radius: 0; }
.sk-tiles .sk-b:first-child { border-radius: 12px 0 0 12px; }
.sk-tiles .sk-b:last-child { border-radius: 0 12px 12px 0; }
.sk-panel { height: 320px; }
@keyframes sk { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (max-width: 760px) { .sk .rail { display: none; } .sk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .sk-b { animation: none; } }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--water); outline-offset: 2px; border-radius: 4px; }
.shell { min-height: 100dvh; }
.rail {
position: fixed; inset: 0 auto 0 0; width: var(--rail);
background: var(--deep); color: #d9eef2;
display: flex; flex-direction: column; padding: 18px 12px; gap: 4px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; font-weight: 650; font-size: 1.08rem; color: #fff; }
.brand img { width: 26px; height: 26px; }
.nav a {
display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-s);
color: #cfe6ea; text-decoration: none;
}
.nav a svg { width: 19px; height: 19px; flex: none; }
.nav a:hover { background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { background: #fff; color: var(--deep); font-weight: 600; }
.rail-foot { margin-top: auto; padding: 10px 8px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 0.85rem; }
.rail-foot .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.rail-foot button { background: none; border: 0; padding: 4px 0; color: #a9d3da; cursor: pointer; text-decoration: underline; }
.main { margin-left: var(--rail); padding: 28px 32px 120px; max-width: 1180px; }
.demo-flag { background: var(--edit-soft); color: #5e3f05; padding: 7px 12px; border-radius: var(--r-s); margin-bottom: 16px; font-size: 0.9rem; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.head p { color: var(--ink-2); margin-top: 4px; max-width: 62ch; }
.back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; text-decoration: none; font-size: 0.93rem; }
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 7px;
min-height: 40px; padding: 0 15px; border-radius: var(--r-s);
border: 1px solid var(--line); background: var(--paper); cursor: pointer; text-decoration: none; color: var(--ink);
font-weight: 550; white-space: nowrap;
}
.btn:hover { border-color: var(--ink-3); }
.btn.primary { background: var(--water); border-color: var(--water); color: #fff; }
.btn.primary:hover { background: #096a7c; }
.btn.danger { color: var(--del); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--water); padding: 0 8px; }
.btn.sm { min-height: 34px; padding: 0 11px; font-size: 0.9rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.field { display: grid; gap: 5px; }
.field > span { font-size: 0.87rem; color: var(--ink-2); font-weight: 550; }
.field small { color: var(--ink-3); }
input[type="text"], input[type="search"], input[type="email"], select, textarea {
min-height: 40px; padding: 8px 11px; border: 1px solid var(--line); border-radius: var(--r-s);
background: var(--paper); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--water); outline-offset: 0; border-color: var(--water); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--water); flex: none; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 0.78rem; background: var(--mist); color: var(--ink-2); white-space: nowrap; }
.tag.warn { background: var(--edit-soft); color: #6b4705; }
.tag.off { background: #e6e9ea; color: var(--ink-3); }
.tag.add { background: var(--add-soft); color: #115637; }
.tag.del { background: var(--del-soft); color: #842720; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); }
.panel + .panel { margin-top: 16px; }
.panel-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-body { padding: 16px 18px; }
.note { padding: 11px 14px; border-radius: var(--r-s); background: var(--water-soft); color: #0a4a57; font-size: 0.93rem; }
.note.warn { background: var(--edit-soft); color: #5e3f05; }
.note.err { background: var(--del-soft); color: #7a221c; }
.empty { padding: 34px 18px; text-align: center; color: var(--ink-2); }
.filters { display: grid; grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; }
.listmeta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: 0.9rem; color: var(--ink-2); }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.row-link:hover .row-title { color: var(--water); }
.row-text { flex: 1; min-width: 0; }
.row-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-sub { font-size: 0.86rem; color: var(--ink-2); display: flex; gap: 6px 10px; flex-wrap: wrap; margin-top: 2px; }
.row-floors { text-align: right; font-size: 0.88rem; color: var(--ink-2); white-space: nowrap; }
.row-floors b { display: block; color: var(--ink); font-weight: 600; }
.mini { display: flex; align-items: flex-end; gap: 2px; height: 30px; width: 74px; flex: none; }
.mini i { flex: 1; background: var(--water); border-radius: 1.5px 1.5px 0 0; min-height: 3px; }
.mini.none { align-items: center; justify-content: center; font-size: 0.75rem; color: var(--ink-3); border: 1px dashed var(--line); border-radius: 4px; }
.ladder { list-style: none; margin: 0; padding: 6px 0; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 5px 18px; }
.step-bar {
position: relative; height: 46px; border-radius: 4px 12px 12px 4px; background: var(--deep); color: #fff;
display: flex; align-items: center; padding: 0 14px; gap: 10px; min-width: 132px;
transition: width .35s cubic-bezier(.2,.7,.2,1);
}
.step-price { font-size: 1.2rem; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.step-name { font-size: 0.82rem; opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step-old { font-size: 0.85rem; text-decoration: line-through; opacity: .75; }
.step.is-add .step-bar { background: var(--add); }
.step.is-edit .step-bar { background: var(--edit); }
.step.is-del .step-bar { background: #c9d3d6; color: #5d7279; }
.step.is-del .step-price { text-decoration: line-through; }
.step.is-off .step-bar { background: #8aa4ab; }
.step-acts { display: flex; gap: 2px; }
.icon-btn { width: 38px; height: 38px; border: 0; background: none; border-radius: var(--r-s); cursor: pointer; color: var(--ink-2); display: grid; place-items: center; }
.icon-btn:hover { background: var(--mist); color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
.step-edit { display: flex; gap: 6px; align-items: center; }
.step-edit input { width: 96px; min-height: 38px; }
.addtier { display: flex; gap: 8px; padding: 12px 18px 16px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.addtier .money { position: relative; flex: 1; min-width: 180px; max-width: 340px; }
.addtier .money::before { content: "$"; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.addtier .money input { padding-left: 24px; }
.others { list-style: none; margin: 0; padding: 0; }
.others li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 18px; border-top: 1px solid var(--line); font-size: 0.92rem; }
.others li:first-child { border-top: 0; }
.pending {
position: fixed; left: var(--rail); right: 0; bottom: 0; z-index: 5;
background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(15,61,74,.09);
padding: 12px 32px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.pending .sum { flex: 1; min-width: 180px; font-weight: 550; }
.form { display: grid; gap: 14px; max-width: 560px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--water); background: var(--water-soft); }
.choice b { display: block; }
.choice span { font-size: 0.88rem; color: var(--ink-2); }
.planrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 10px 16px; border-top: 1px solid var(--line); align-items: center; }
.planrow:first-child { border-top: 0; }
.planrow .chg { display: flex; gap: 6px; flex-wrap: wrap; grid-column: 1 / -1; }
.status { font-size: 0.88rem; white-space: nowrap; }
.status.ok { color: var(--add); }
.status.err { color: var(--del); }
.status.run { color: var(--water); }
.log { list-style: none; margin: 0; padding: 0; }
.log li { border-top: 1px solid var(--line); }
.log li:first-child { border-top: 0; }
.log summary { list-style: none; cursor: pointer; padding: 11px 16px; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; }
.log summary::-webkit-details-marker { display: none; }
.log .when { color: var(--ink-2); font-size: 0.86rem; }
.log .what { font-weight: 550; }
.log .where { grid-column: 2 / -1; font-size: 0.86rem; color: var(--ink-2); }
.log .more { padding: 0 16px 14px 120px; font-size: 0.9rem; color: var(--ink-2); display: grid; gap: 4px; overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 14px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.inline .field { flex: 1; min-width: 160px; }
.gate { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: var(--deep); }
.gate-card { background: var(--paper); border-radius: 14px; padding: 30px 28px; width: min(420px, 100%); display: grid; gap: 16px; }
.gate-steps { display: grid; gap: 5px; margin-bottom: 4px; }
.gate-steps i { display: block; height: 12px; border-radius: 2px 6px 6px 2px; background: var(--water); }
.gate-steps i:nth-child(1) { width: 100%; background: var(--deep); }
.gate-steps i:nth-child(2) { width: 68%; }
.gate-steps i:nth-child(3) { width: 40%; background: #58b6c6; }
dialog { border: 0; border-radius: 12px; padding: 0; width: min(520px, calc(100vw - 28px)); color: var(--ink); box-shadow: 0 20px 60px rgba(15,61,74,.3); }
dialog::backdrop { background: rgba(15,61,74,.45); }
.dlg { padding: 22px; display: grid; gap: 14px; }
.dlg ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.dlg-acts { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.bar { height: 6px; border-radius: 3px; background: var(--mist); overflow: hidden; }
.bar i { display: block; height: 100%; width: 40%; background: var(--water); border-radius: 3px; animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
#toasts { position: fixed; right: 16px; top: 16px; z-index: 50; display: grid; gap: 8px; max-width: min(400px, calc(100vw - 32px)); }
.toast { background: var(--ink); color: #fff; padding: 11px 14px; border-radius: var(--r-s); box-shadow: 0 6px 20px rgba(0,0,0,.2); font-size: 0.93rem; }
.toast.err { background: var(--del); }
@media (max-width: 820px) {
.rail {
inset: auto 0 0 0; width: auto; height: calc(var(--tab) + env(safe-area-inset-bottom)); flex-direction: row; padding: 0 4px env(safe-area-inset-bottom); z-index: 10;
}
.brand, .rail-foot { display: none; }
.nav { display: flex; flex: 1; }
.nav a { flex: 1; flex-direction: column; gap: 2px; padding: 8px 2px; font-size: 0.72rem; justify-content: center; border-radius: 0; text-align: center; }
.nav a[aria-current="page"] { background: none; color: #fff; box-shadow: inset 0 3px 0 #7fd6e3; }
.main { margin-left: 0; padding: 18px 14px calc(var(--tab) + 110px); }
h1 { font-size: 1.3rem; }
.filters { grid-template-columns: 1fr 1fr; }
.filters .field:first-child { grid-column: 1 / -1; }
.row { padding: 11px 12px; gap: 10px; }
.row-floors { display: none; }
.mini { width: 52px; }
.step { padding: 5px 12px; gap: 4px; }
.step-bar { height: 44px; padding: 0 11px; min-width: 104px; }
.step-name { display: none; }
.addtier, .others li { padding-left: 12px; padding-right: 12px; }
.pending { left: 0; bottom: calc(var(--tab) + env(safe-area-inset-bottom)); padding: 10px 14px; }
.pending .sum { flex-basis: 100%; }
.pending .btn { flex: 1; }
.log summary { grid-template-columns: minmax(0, 1fr) auto; }
.log .when { grid-column: 1 / -1; }
.log .where { grid-column: 1 / -1; }
.log .more { padding-left: 16px; }
.kv { grid-template-columns: 1fr; gap: 0 0; }
.kv dd { margin-bottom: 8px; }
#toasts { top: auto; bottom: calc(var(--tab) + 16px); left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
.step-bar { transition: none; }
.bar i { animation: none; width: 100%; }
}
.head .tag { background: var(--paper); }
#preview { margin-top: 16px; }
.l-short { display: none; }
input[type="date"] { min-height: 40px; padding: 6px 9px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper); }
.range { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.range .field { min-width: 170px; }
.range-custom { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.listmeta { align-items: flex-end; }
.listtools { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.listtools .field { min-width: 150px; }
.filters.three { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.filters.three .range .field { flex: 1; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tile { padding: 14px 18px; border-left: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.tile:first-child { border-left: 0; }
.tile span { font-size: 0.84rem; color: var(--ink-2); }
.tile b { font-size: 1.45rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.2; }
.is-loading { opacity: .55; }
.ladder .step { grid-template-columns: minmax(0, 1fr) 316px 118px; }
.ladder.no-acts .step { grid-template-columns: minmax(0, 1fr) 316px; }
.step-edit { grid-column: 1 / -1; }
.step-acts { justify-content: flex-end; }
.mx { display: grid; grid-template-columns: 0.9fr 1fr 0.9fr 1fr; gap: 10px; text-align: right; font-size: 0.93rem; }
.mx b { font-weight: 600; }
.mx-l { display: none; }
.step-head { color: var(--ink-2); font-size: 0.8rem; padding-top: 8px; padding-bottom: 0; }
.step-head .mx { font-size: 0.8rem; }
.step-flag { margin-left: auto; font-size: 0.76rem; background: var(--edit-soft); color: #5e3f05; padding: 1px 8px; border-radius: 99px; white-space: nowrap; }
.others li { display: grid; grid-template-columns: minmax(0, 1fr) 316px 118px; align-items: center; gap: 12px; }
.others li.no-acts { grid-template-columns: minmax(0, 1fr) 316px; }
.fold > summary { cursor: pointer; list-style: none; border-bottom: 0; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary h2::before { content: "▸"; display: inline-block; width: 1.1em; color: var(--ink-3); }
.fold[open] > summary h2::before { content: "▾"; }
.fold[open] > summary { border-bottom: 1px solid var(--line); }
.fold-inline { padding: 0 18px 14px; font-size: 0.9rem; }
.fold-inline summary { cursor: pointer; color: var(--water); padding: 6px 0; }
.fold-inline .tablewrap { margin: 6px -18px 0; }
.tablewrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.tbl th { text-align: right; font-weight: 550; color: var(--ink-2); font-size: 0.82rem; padding: 9px 12px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.tbl td { text-align: right; padding: 9px 12px; border-top: 1px solid var(--line); white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { text-align: left; padding-left: 18px; white-space: normal; min-width: 150px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 18px; }
.tbl tbody tr:first-child td { border-top: 0; }
.rev { display: inline-grid; gap: 3px; min-width: 96px; font-weight: 600; }
.share { display: block; height: 4px; border-radius: 2px; background: var(--mist); }
.share i { display: block; height: 100%; border-radius: 2px; background: var(--water); margin-left: auto; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.seg button { border: 0; background: var(--paper); padding: 6px 12px; cursor: pointer; font-size: 0.88rem; border-left: 1px solid var(--line); }
.seg button:first-child { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--deep); color: #fff; }
.chart { position: relative; padding: 14px 12px 6px; }
.chart svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.c-grid { stroke: var(--line); stroke-width: 1; }
.c-tick { fill: var(--ink-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.c-line { fill: none; stroke: var(--water); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-area { fill: var(--water); opacity: .08; }
.c-cross { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.c-dot { fill: var(--water); stroke: var(--paper); stroke-width: 2; }
.c-hit { fill: transparent; }
.c-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; padding: 6px 10px; border-radius: var(--r-s); font-size: 0.84rem; display: grid; white-space: nowrap; font-variant-numeric: tabular-nums; }
.c-tip span { opacity: .75; font-size: 0.78rem; }
@media (max-width: 1080px) {
.ladder .step, .ladder.no-acts .step { grid-template-columns: minmax(0, 1fr) auto; }
.ladder .mx { grid-column: 1 / -1; grid-row: 2; text-align: left; padding: 0 2px 10px; max-width: 460px; }
.ladder .step-acts { grid-column: 2; grid-row: 1; }
.mx-l { display: block; font-size: 0.72rem; color: var(--ink-3); font-weight: 400; }
.step-head { display: none !important; }
.others li, .others li.no-acts { grid-template-columns: 1fr; gap: 4px; }
.others li > span:empty { display: none; }
.others .mx { text-align: left; max-width: 460px; }
.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile:nth-child(4) { border-left: 0; }
.tile:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
.l-full { display: none; }
.l-short { display: inline; }
.row-floors { display: block; font-size: 0.8rem; }
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { border-left: 0; padding: 11px 14px; }
.tile:nth-child(even) { border-left: 1px solid var(--line); }
.tile:nth-child(n+3) { border-top: 1px solid var(--line); }
.tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tile b { font-size: 1.2rem; }
.filters.three { grid-template-columns: 1fr 1fr; }
.filters.three .range { grid-column: 1 / -1; }
.listtools { width: 100%; }
.listtools .field, .listtools .range { flex: 1; min-width: 0; }
.listtools .range .field { min-width: 0; flex: 1; }
.head .range { width: 100%; }
.head .range .field { flex: 1; }
.tbl th:first-child, .tbl td:first-child { padding-left: 12px; min-width: 120px; }
.seg { width: 100%; }
.seg button { flex: 1; padding: 7px 4px; }
}
.acct { display: grid; gap: 4px; }
.acct span { font-size: 0.78rem; }
.acct-rail { padding: 0 8px 16px; color: #a9d3da; }
.acct-rail b { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.acct-rail select { min-height: 36px; padding: 5px 8px; background: #17505f; color: #fff; border-color: #2b6a79; }
.acct-bar { display: none; }
.err-cell { text-align: left !important; color: var(--del); white-space: normal !important; }
@media (max-width: 820px) {
.acct-bar { display: grid; margin-bottom: 14px; }
.acct-bar span { color: var(--ink-2); }
}
.scope { margin-bottom: 14px; }
.scope .seg button { padding: 8px 14px; font-size: 0.93rem; }
.tbl th.left, .tbl td.left { text-align: left; white-space: normal; }
.acct-chip { display: inline-block; padding: 2px 9px; border-radius: 99px; background: var(--water-soft); color: #0a4a57; font-size: 0.86rem; font-weight: 550; white-space: nowrap; }
.inline-search { max-width: 280px; min-height: 36px; padding: 5px 10px; }
@media (max-width: 820px) {
.scope .seg { width: 100%; }
.scope .seg button { flex: 1; padding: 8px 6px; }
.inline-search { max-width: none; }
}
:root {
--mist: #f6f7f9;
--paper: #ffffff;
--ink: #1e2629;
--ink-2: #5b6780;
--ink-3: #8a94a8;
--line: #e3e6ee;
--deep: #1e2629;
--water: #1479b8;
--sky: #2aa6de;
--water-soft: #e6f4fb;
--amber: #f2af3a;
--edit: #8a5a00;
--edit-soft: #fdf1d8;
--r-s: 10px;
--r-m: 20px;
--rail: 232px;
font-family: "Be Vietnam Pro", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
html, body { background: #fff; }
body {
background:
radial-gradient(900px 420px at 78% -140px, rgba(42, 166, 222, .30), transparent 70%),
radial-gradient(700px 380px at 18% -160px, rgba(126, 190, 255, .28), transparent 70%),
#fff;
background-repeat: no-repeat;
}
h1 { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; }
h2 { font-weight: 600; letter-spacing: -0.005em; }
a { color: var(--water); text-underline-offset: 3px; }
.rail { background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink-2); border-right: 1px solid var(--line); padding: 22px 14px; }
.brand { color: var(--ink); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; padding-bottom: 20px; }
.brand img { width: 30px; height: 30px; }
.nav { display: grid; gap: 4px; }
.nav a { color: var(--ink-2); border-radius: 999px; padding: 10px 14px; font-weight: 500; }
.nav a:hover { background: var(--mist); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 500; }
.rail-foot { border-top: 1px solid var(--line); }
.rail-foot .who { color: var(--ink); }
.rail-foot button { color: var(--water); }
.acct-rail { color: var(--ink-3); }
.acct-rail b { color: var(--ink); }
.acct-rail select { background: var(--paper); color: var(--ink); border-color: var(--line); border-radius: 999px; padding: 6px 12px; }
.demo-flag { border-radius: 14px; }
.btn { border-radius: 999px; padding: 0 20px; min-height: 42px; font-weight: 500; border-color: var(--line); }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #000; }
.btn.sm { min-height: 34px; padding: 0 14px; }
.btn.ghost { color: var(--water); padding: 0 10px; }
.btn.danger:hover { border-color: var(--del); }
input[type="text"], input[type="search"], input[type="email"], input[type="date"], select, textarea { border-radius: 12px; border-color: var(--line); }
input:focus, select:focus, textarea:focus { outline-color: var(--sky); border-color: var(--sky); }
:focus-visible { outline-color: var(--sky); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ink); }
.panel { border-radius: var(--r-m); border-color: var(--line); overflow: hidden; }
.panel-head { padding: 16px 22px; }
.panel-body { padding: 18px 22px; }
.panel + .panel { margin-top: 18px; }
.tag { background: var(--mist); color: var(--ink-2); padding: 2px 10px; }
.head .tag { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); }
.note { border-radius: 14px; }
.tiles { background: var(--mist); gap: 1px; }
.tile { background: var(--mist); border: 0 !important; padding: 18px 22px; }
.tile + .tile { box-shadow: -1px 0 0 var(--line); }
.tile b { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; }
.row { padding: 13px 22px; }
.mini i { background: var(--sky); }
.share i { background: var(--sky); }
.acct-chip { background: var(--water-soft); color: #0d5c8c; }
.tbl th:first-child, .tbl td:first-child { padding-left: 22px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 22px; }
.choice { border-radius: 14px; }
.choice:has(input:checked) { border-color: var(--sky); background: var(--water-soft); }
.seg { border-radius: 999px; background: var(--mist); border: 0; padding: 3px; gap: 2px; }
.seg button { border: 0 !important; border-radius: 999px; background: transparent; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.step { padding-left: 22px; padding-right: 22px; }
.step-bar { background: linear-gradient(90deg, #1553c4 0%, #1b74d8 45%, #2aa6de 100%); border-radius: 8px 999px 999px 8px; height: 48px; }
.step.is-add .step-bar { background: #1b7f52; }
.step.is-edit .step-bar { background: var(--amber); color: #2b1d00; }
.step.is-edit .step-name, .step.is-edit .step-old { opacity: .85; }
.step.is-del .step-bar { background: #e3e6ee; color: #7a8598; }
.step.is-off .step-bar { background: #9db4cf; }
.step-flag { background: #fff; color: #7a4d00; }
.addtier { padding-left: 22px; padding-right: 22px; }
.others li { padding-left: 22px; padding-right: 22px; }
.icon-btn { border-radius: 999px; }
.pending { left: var(--rail); background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -8px 24px rgba(30, 38, 41, .08); }
.c-line { stroke: var(--sky); stroke-width: 2.5; }
.c-area { fill: var(--sky); opacity: .12; }
.c-dot { fill: var(--sky); }
.bar i { background: var(--sky); }
dialog { border-radius: 24px; box-shadow: 0 24px 70px rgba(30, 38, 41, .28); }
dialog::backdrop { background: rgba(30, 38, 41, .4); }
.toast { border-radius: 14px; background: var(--ink); }
.c-tip { border-radius: 10px; }
.gate { background: radial-gradient(1000px 520px at 70% 0, rgba(42, 166, 222, .38), transparent 70%), radial-gradient(800px 480px at 15% 10%, rgba(126, 190, 255, .34), transparent 70%), #fff; }
.gate-card { border-radius: 28px; padding: 36px 32px; box-shadow: 0 20px 60px rgba(30, 38, 41, .12); border: 1px solid var(--line); }
.gate-card h1 { font-size: 2.2rem; }
.gate-steps i { height: 12px; border-radius: 3px 999px 999px 3px; background: var(--sky) !important; }
.gate-steps i:nth-child(1) { background: linear-gradient(90deg, #1553c4, #2aa6de) !important; }
.gate-steps i:nth-child(3) { background: #9fd6f1 !important; }
@media (max-width: 1080px) {
.tile + .tile { box-shadow: none; }
.tiles { gap: 0; }
.tile { border-top: 1px solid var(--line) !important; }
.tile:nth-child(-n+3) { border-top: 0 !important; }
}
@media (max-width: 820px) {
h1 { font-size: 1.5rem; }
.rail { background: rgba(255, 255, 255, .94); border-right: 0; border-top: 1px solid var(--line); padding: 0 6px env(safe-area-inset-bottom); }
.nav { display: flex; gap: 0; }
.nav a { border-radius: 0; color: var(--ink-3); padding: 8px 2px; }
.nav a:hover { background: none; }
.nav a[aria-current="page"] { background: none; color: var(--ink); box-shadow: inset 0 3px 0 var(--sky); font-weight: 600; }
.row, .panel-head, .panel-body, .step, .addtier, .others li { padding-left: 14px; padding-right: 14px; }
.tbl th:first-child, .tbl td:first-child { padding-left: 14px; }
.tile { padding: 13px 14px; }
.tile:nth-child(-n+3) { border-top: 1px solid var(--line) !important; }
.tile:nth-child(-n+2) { border-top: 0 !important; }
.tile:nth-child(even) { box-shadow: -1px 0 0 var(--line); }
.tile b { font-size: 1.25rem; }
.pending { left: 0; }
.acct-bar select { border-radius: 999px; }
}
@media (max-width: 820px) {
.acct-rail { display: none; }
.nav { flex: 1; }
.nav a { flex: 1; white-space: nowrap; }
}
.brand { display: grid; gap: 6px; justify-items: start; align-items: start; padding: 2px 10px 20px; }
.brand .brand-logo { width: auto; height: 38px; max-width: 100%; display: block; }
.brand-sub { font-size: 0.86rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-left: 2px; }
.brand.is-fallback { display: flex; align-items: center; gap: 10px; }
.brand.is-fallback .brand-logo { width: 30px; height: 30px; }
.brand.is-fallback .brand-sub { font-size: 1.1rem; letter-spacing: -0.01em; text-transform: none; color: var(--ink); font-weight: 700; }
.gate-card .brand { display: grid; padding: 0; }
.gate-card .brand .brand-logo { height: 46px; }
.gate-card .brand-sub { display: none; }
.gate-card .brand.is-fallback { display: none; }
.gate-steps { display: none; }
@media (max-width: 820px) {
.rail .brand { display: none; }
}
dialog.wide { width: min(700px, calc(100vw - 28px)); }
dialog .dlg { max-height: calc(100dvh - 60px); overflow: auto; }
.form.wide { max-width: none; }
.seg.picks { flex-wrap: wrap; width: fit-content; max-width: 100%; }
.seg.picks button { padding: 8px 16px; font-size: 0.93rem; }
.wz .panel-head h2 { display: flex; align-items: center; gap: 10px; }
.wz-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.82rem; font-weight: 600; flex: none; }
.wz.is-off .wz-n { background: var(--line); color: var(--ink-3); }
.wz.is-off h2 { color: var(--ink-3); }
.scrollbox { max-height: 340px; overflow: auto; border-top: 1px solid var(--line); }
.rows.bordered { border-top: 1px solid var(--line); }
.unitpick { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; cursor: pointer; }
.unitmap { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 10px; min-width: 0; }
.unitmap + .unitmap { margin-top: 10px; }
.unitmap legend { font-weight: 600; padding: 0 6px; font-size: 0.93rem; }
.unitmap-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.others li.is-off > div:first-child, .others li.is-off .mx { opacity: .55; }
.panel-head .inline { flex-wrap: wrap; }
@media (max-width: 1080px) {
.others li .step-acts { justify-content: flex-start; }
}
@media (max-width: 820px) {
.seg.picks { width: 100%; }
.seg.picks button { flex: 1 1 30%; }
.head .inline { width: 100%; }
.head .inline .btn { flex: 1; }
}
.field.narrow { max-width: 460px; }
.field.grow { flex: 2; min-width: 220px; }
.bordered-top { border-top: 1px solid var(--line); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--water); cursor: pointer; text-decoration: underline; font: inherit; }
.srclist { display: grid; gap: 12px; }
.srccard { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 10px; min-width: 0; }
.srccard.is-off { background: var(--mist); }
.srccard.is-off b { color: var(--ink-2); }
.srccard-head { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.srccard-head b { font-size: 1rem; }
div.srccard-head { cursor: default; }
.srccard p { margin: 0; }
.unitline { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 12px; align-items: end; padding-top: 10px; border-top: 1px dashed var(--line); }
.unitline-name { font-weight: 550; font-size: 0.93rem; padding-bottom: 10px; overflow-wrap: anywhere; }
.unitline-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; align-items: end; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.seg.picks button:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 820px) {
.unitline { grid-template-columns: 1fr; gap: 6px; }
.unitline-name { padding-bottom: 0; }
.field.narrow { max-width: none; }
}
.ladder .step { border-top: 1px solid var(--line); padding-top: 10px; padding-bottom: 10px; }
.ladder .step-head { border-top: 0; padding-top: 8px; padding-bottom: 6px; }
.step-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.step-main .step-price { min-width: 64px; color: var(--ink); font-size: 1.05rem; }
.step-main .step-name { color: var(--ink-2); opacity: 1; font-size: 0.9rem; }
.step-main .step-old { color: var(--ink-2); }
.step.is-del .step-price, .step.is-del .step-name { text-decoration: line-through; color: var(--ink-3); }
.step.is-off .step-price { color: var(--ink-3); }
.tag.st-add { background: #e3f4ea; color: #14613e; }
.tag.st-edit { background: #fdf0d3; color: #6b4700; }
.tag.st-del { background: #fde7e4; color: #8f2318; }
.step-main .step-flag { margin-left: 0; background: #fdf0d3; color: #6b4700; }
.step-main .money { position: relative; width: 150px; }
.step-main .money::before { content: "$"; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.step-main .money input { padding-left: 24px; min-height: 38px; width: 100%; }
@media (max-width: 820px) { .step-main .step-name { display: inline; } }
.msel-field { position: relative; }
.msel { position: relative; }
.msel > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 550; }
.msel > summary::-webkit-details-marker { display: none; }
.msel > summary::after { content: "▾"; color: var(--ink-2); }
.msel[open] > summary { border-color: var(--sky, #2aa6de); }
.msel-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 100%; max-height: 320px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(30, 38, 41, .14); padding: 8px; display: grid; gap: 2px; }
.msel-menu label { padding: 8px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.msel-menu label:hover { background: var(--mist); }
.tbl.mix td, .tbl.mix th { white-space: nowrap; }
.tbl.mix tr.total td { background: var(--mist); }
.tbl.mix td .small { font-weight: 400; }
.mixchart { display: grid; gap: 14px; }
.mixlegend { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.mixlegend li { display: flex; align-items: center; gap: 7px; font-size: 0.92rem; }
.mixlegend i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.mixrow { display: grid; grid-template-columns: minmax(130px, 210px) minmax(0, 1fr) 96px; gap: 14px; align-items: center; }
.mixrow-name { display: grid; min-width: 0; overflow-wrap: anywhere; }
.mixrow-total { text-align: right; }
.mixbar { display: flex; height: 30px; border-radius: 8px; overflow: hidden; background: var(--mist); gap: 2px; }
.mixrow.total .mixbar { height: 44px; }
.mixbar i { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 0.8rem; font-weight: 600; color: #fff; min-width: 2px; overflow: hidden; white-space: nowrap; }
.mixbar-empty { padding: 0 12px; align-self: center; font-size: 0.85rem; color: var(--ink-3); }
.c0 { background: #1b74d8; } .c1 { background: #f2af3a; } .c2 { background: #1b7f52; } .c3 { background: #c2410c; }
.c4 { background: #7c3aed; } .c5 { background: #0e7490; } .c6 { background: #be185d; } .c7 { background: #4d7c0f; } .c8 { background: #7a8598; }
.mixbar i.c1 { color: #2b1d00; }
@media (max-width: 820px) {
.mixrow { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
.mixrow .mixbar { grid-column: 1 / -1; grid-row: 2; }
}
.mixchart .chart { padding: 6px 0 0; }
.ml { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.mp { stroke: #fff; stroke-width: 1.5; }
.ml.s0 { stroke: #1b74d8; } .mp.s0 { fill: #1b74d8; } .ml.s1 { stroke: #f2af3a; } .mp.s1 { fill: #f2af3a; }
.ml.s2 { stroke: #1b7f52; } .mp.s2 { fill: #1b7f52; } .ml.s3 { stroke: #c2410c; } .mp.s3 { fill: #c2410c; }
.ml.s4 { stroke: #7c3aed; } .mp.s4 { fill: #7c3aed; } .ml.s5 { stroke: #0e7490; } .mp.s5 { fill: #0e7490; }
.ml.s6 { stroke: #be185d; } .mp.s6 { fill: #be185d; } .ml.s7 { stroke: #4d7c0f; } .mp.s7 { fill: #4d7c0f; }
.ml.s8 { stroke: #7a8598; } .mp.s8 { fill: #7a8598; }
.ml-tip { display: grid; gap: 4px; min-width: 230px; pointer-events: none; }
.ml-row { display: grid; grid-template-columns: 12px 1fr auto; gap: 8px; align-items: center; font-size: 0.85rem; }
.ml-row i { width: 10px; height: 10px; border-radius: 3px; }
.nav-sec { font-size: 0.72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 14px 14px 4px; }
.nav-sec:first-child { padding-top: 0; }
.nav-soon { padding: 8px 14px; color: var(--ink-3); font-size: 0.92rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 820px) { .nav-sec, .nav-soon { display: none; } }
.thsort { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; white-space: nowrap; }
.thsort:hover { color: var(--ink); text-decoration: underline; }
.tbl.revtbl tr.total td { background: var(--mist); }
.tbl.revtbl td, .tbl.revtbl th { white-space: nowrap; }
.filters select { width: 100%; }
.uapps { flex-basis: 100%; }
.checks.col { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 18px; max-height: 280px; overflow: auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
#uform { flex-wrap: wrap; align-items: flex-end; }
#uform .uapps { flex: 0 0 100%; width: 100%; }
.checks.col label.inline { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 8px; }
.checks.col label.inline input { flex: none; margin-top: 3px; }
.form textarea { width: 100%; min-height: 84px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; resize: vertical; background: #fff; }
.filelist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.filelist li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px 4px 12px; border: 1px solid var(--line); border-radius: 10px; }
.tbl tr.is-off td { color: var(--ink-2); }
.tbl td .step-acts { justify-content: flex-end; min-width: 84px; flex-wrap: nowrap; }
.permgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.permbox { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 12px; margin: 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.permbox legend { font-weight: 600; padding: 0 6px; font-size: 0.9rem; }
.permbox label.inline { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 8px; }
.permbox label.inline input { flex: none; margin-top: 3px; }
.permbox label.sub { margin-left: 24px; color: var(--ink-2); }
.permbox label[hidden], .checks.col label[hidden] { display: none; }
.appsearch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 8px; }
.appsearch input[type="search"] { flex: 1; min-width: 220px; max-width: 420px; }
#uform .uapps { flex: none; width: auto; }
.neg { color: #b42318; } .pos { color: #14613e; }
.srcstate { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; }
.srcstate li { display: flex; align-items: center; gap: 6px; }
.linkbtn.plain { text-decoration: none; color: var(--ink); font-weight: 550; text-align: left; }
.linkbtn.plain:hover { text-decoration: underline; }
.tbl tr.subrow td { background: var(--mist); font-size: 0.88rem; padding-top: 6px; padding-bottom: 6px; }
.tbl tr.subrow td:first-child { padding-left: 44px; }
em.neg, em.pos { font-style: normal; }
.brand.tool-brand { display: flex; align-items: center; gap: 10px; padding: 2px 10px 20px; }
.brand.tool-brand .brand-mark { width: 34px; height: 34px; }
.brand.tool-brand .brand-name { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.gate { grid-template-rows: 1fr auto; gap: 28px; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); background: radial-gradient(900px 520px at 80% -5%, rgba(42, 166, 222, .34), transparent 70%), radial-gradient(760px 480px at 5% 15%, rgba(47, 63, 158, .18), transparent 70%), #fff; }
.gate-card { justify-items: center; text-align: center; gap: 18px; padding: 44px 28px 32px; width: min(380px, 100%); align-self: center; }
.gate-mark { width: 96px; height: 96px; display: block; }
.gate-card h1.gate-name { margin: -6px 0 10px; font-size: 3.4rem; line-height: 1; font-weight: 700; letter-spacing: -0.04em; background: linear-gradient(100deg, #2c3a9a, #2f6fd0 55%, #2aa6de); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gate-card .btn.primary { width: 100%; justify-content: center; }
.gate-card .note { width: 100%; text-align: left; }
.gate-by { display: grid; justify-items: center; gap: 8px; font-size: .8rem; color: var(--ink-2); letter-spacing: .04em; }
.gate-by .company-logo { height: 34px; width: auto; max-width: 200px; display: block; }
.gate-by strong { font-size: .95rem; color: #2c3a9a; letter-spacing: 0; }
.gate { grid-template-rows: 1fr; }
.gate-card { gap: 20px; padding: 40px 28px 36px; }
.gate-card .gate-logo { height: 52px; width: auto; max-width: 240px; display: block; }
.gate-card h1.gate-name { margin: 0 0 8px; }
.gate-co { font-size: 1rem; color: #2c3a9a; font-weight: 700; }
.brand.tool-brand { display: grid; justify-items: start; gap: 8px; }
.brand.tool-brand .brand-co { height: 34px; width: auto; max-width: 100%; display: block; }
.filters.two { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: end; }
.filters.two .range .field { flex: 1; }
@media (max-width: 820px) { .filters.two { grid-template-columns: 1fr; } .filters.two .field:first-child { grid-column: auto; } }
@media (max-width: 820px) { .rail .brand.tool-brand { display: none; } }
.rev-spark { display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end; }
.spark { display: block; flex: none; }
.spark rect { fill: #9fd6f1; }
.spark rect.last { fill: #1479b8; }
.spark rect.zero { fill: var(--line); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.pager-size { display: inline-flex; align-items: center; gap: 8px; }
.pager-size select { width: auto; padding: 4px 28px 4px 10px; }
.pager-nav { display: inline-flex; align-items: center; gap: 10px; }
.pager .btn.small { padding: 5px 12px; font-size: .85rem; }
.pager .btn[disabled] { opacity: .45; cursor: default; }
@media (max-width: 820px) { .pager { justify-content: center; } .pager-pos { order: 3; width: 100%; text-align: center; } }
.filters.with-acct { grid-template-columns: minmax(150px, 1.2fr) minmax(180px, 2fr) repeat(3, minmax(110px, 1fr)); }
@media (max-width: 820px) {
.filters.with-acct { grid-template-columns: 1fr 1fr; }
.filters.with-acct .field:first-child, .filters.with-acct .field:nth-child(2) { grid-column: 1 / -1; }
}
.steps-list { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; line-height: 1.5; }
textarea.code { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; line-height: 1.45; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #f7f9fb; resize: vertical; white-space: pre; }
.mapcell { display: inline-flex; gap: 6px; align-items: center; }
.mapcell select { min-width: 180px; max-width: 260px; padding: 4px 28px 4px 10px; }
.btn.small { padding: 5px 12px; font-size: .85rem; }
details.fold-panel > summary { cursor: pointer; list-style: none; }
details.fold-panel > summary::-webkit-details-marker { display: none; }
details.fold-panel > summary h2::before { content: '▸ '; color: var(--ink-2); }
details.fold-panel[open] > summary h2::before { content: '▾ '; }
.err-text { color: var(--del, #b93a32); }
#bid-msel > summary { font-weight: 500; }
.msel-menu .msel-search { position: sticky; top: -8px; z-index: 1; margin: -8px -8px 6px; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; background: #fff; width: calc(100% + 16px); }
.msel-menu .msel-only { color: var(--ink-2); font-size: .88rem; border-bottom: 1px dashed var(--line); border-radius: 0; margin-bottom: 4px; }
.msel-menu label[hidden] { display: none; }
.msel-empty { padding: 8px 10px; margin: 0; }
#bid-msel .msel-menu { max-height: 360px; min-width: 100%; }
.msel-menu .msel-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); margin-bottom: 4px; }
.msel-menu .msel-tools .msel-only { border-bottom: 0; margin: 0; }
#app-msel .msel-menu { max-height: 380px; min-width: 100%; }
.note.ok { background: var(--success-soft); border-color: color-mix(in srgb, var(--success) 30%, transparent); color: var(--text); }
.ab-panel .panel-head .inline { gap: 8px; }
.ab-panel .note { margin-bottom: 8px; }
.ab-tbl td.pos { color: var(--success); }
.ab-tbl td.neg { color: var(--danger); }
.ab-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-4); margin-top: var(--sp-4); }
.ab-cols .panel { margin-top: 0; }
.ab-col .others li, .ab-col .others li.no-acts { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.ab-col .others .mx { text-align: left; max-width: 580px; }
@media (max-width: 1100px) { .ab-cols { grid-template-columns: minmax(0, 1fr); } }
.ab-cols .panel + .panel { margin-top: 0; }
.ab-col .mx-l { display: block; font-size: 0.72rem; color: var(--ink-3); font-weight: 400; }
@media (max-width: 600px) {
.ab-tbl th, .ab-tbl td { padding-left: 6px; padding-right: 6px; font-size: 0.82rem; }
.ab-tbl th { white-space: normal; }
.ab-tbl td.left { white-space: normal; }
}
@media (max-width: 600px) {
.ab-tbl th:first-child, .ab-tbl td:first-child { min-width: 0; padding-left: 12px; }
.ab-tbl th:last-child, .ab-tbl td:last-child { padding-right: 12px; }
}
.revtbl th.ga-col { border-left: 1px solid var(--line); }
.revtbl th.ga-col + th.ga-col { border-left: 0; }
.rv-users-head h2 { font-size: 0.95rem; }
.ga-tiles .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rt-tbl td { padding-top: 7px; padding-bottom: 7px; }
.rt-tbl td.rt-0 { color: var(--ink-3); }
.rt-tbl td.rt-1 { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.rt-tbl td.rt-2 { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.rt-tbl td.rt-3 { background: color-mix(in srgb, var(--accent) 24%, transparent); }
.rt-tbl td.rt-4 { background: color-mix(in srgb, var(--accent) 36%, transparent); color: var(--on-accent); }
.rt-tbl td.rt-5 { background: color-mix(in srgb, var(--accent) 52%, transparent); color: var(--on-accent); }
@media (max-width: 760px) { .ga-tiles .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ga-unmatched ul { max-height: 60vh; overflow: auto; }
.ga-unmatched [data-collapse], #codes-detail [data-collapse] { margin: 8px 0 4px; }
.row-text .note.small { margin: 6px 0; padding: 8px 10px; }
.rt-panel, .ab-cols, details.fold-inline .tablewrap, details.fold-panel .tablewrap, .panel.cost-unmatched { content-visibility: auto; contain-intrinsic-size: auto 420px; }
@media (max-width: 760px) {
.rail, .msel-menu, .toast, dialog { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.rail { background: var(--surface-2); }
.msel-menu, dialog { background: var(--surface); }
dialog::backdrop { backdrop-filter: none; }
.panel { box-shadow: none; }
}


:root {
--font-sans: "Inter", "SF Pro Display", -apple-system, "Segoe UI Variable Text", system-ui, sans-serif;
--font-mono: "JetBrains Mono", "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
--text-2xs: 11px; --text-xs: 12px; --text-sm: 13px; --text-base: 14px; --text-lg: 16px; --text-xl: 20px; --text-2xl: 24px;
--tracking-tight: -0.022em; --tracking-snug: -0.012em; --tracking-wide: 0.06em;
--sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;
--radius-xs: 4px; --radius-sm: 6px; --radius-md: 8px; --radius-lg: 10px; --radius-xl: 14px;
--control-h: 32px; --control-h-sm: 28px; --control-h-lg: 36px;
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
--dur-fast: 120ms; --dur: 180ms;
--bg: #f7f7f8;
--surface: #ffffff;
--surface-2: #fafafa;
--surface-hover: #f2f2f4;
--glass: rgba(250, 250, 251, 0.72);
--border: rgba(9, 9, 11, 0.09);
--border-strong: rgba(9, 9, 11, 0.16);
--text: #09090b;
--text-2: #52525b;
--text-3: #a1a1aa;
--accent: #5b5bf6;
--accent-hover: #4a4ae8;
--accent-text: #4141d6;
--accent-soft: rgba(91, 91, 246, 0.10);
--accent-ring: rgba(91, 91, 246, 0.28);
--on-accent: #ffffff;
--success: #12a150; --success-soft: rgba(18, 161, 80, 0.10);
--warning: #b7791f; --warning-soft: rgba(217, 140, 30, 0.12);
--danger: #dc2f3c; --danger-soft: rgba(220, 47, 60, 0.10);
--highlight: rgba(255, 255, 255, 0.9);
--shadow-xs: 0 1px 2px rgba(9, 9, 11, 0.05);
--shadow-sm: 0 1px 2px rgba(9, 9, 11, 0.04), 0 1px 3px rgba(9, 9, 11, 0.06);
--shadow-md: 0 1px 2px rgba(9, 9, 11, 0.04), 0 4px 12px rgba(9, 9, 11, 0.06), 0 12px 32px -8px rgba(9, 9, 11, 0.10);
--shadow-lg: 0 2px 4px rgba(9, 9, 11, 0.04), 0 12px 24px rgba(9, 9, 11, 0.08), 0 32px 64px -16px rgba(9, 9, 11, 0.18);
color-scheme: light;
--mist: var(--surface-2); --paper: var(--surface); --ink: var(--text); --ink-2: var(--text-2); --ink-3: var(--text-3);
--line: var(--border); --water: var(--accent-text); --sky: var(--accent); --water-soft: var(--accent-soft); --deep: var(--text);
--add: var(--success); --add-soft: var(--success-soft); --edit: var(--warning); --edit-soft: var(--warning-soft);
--del: var(--danger); --del-soft: var(--danger-soft);
--r-s: var(--radius-sm); --r-m: var(--radius-lg); --rail: 232px;
}
:root[data-theme="dark"] {
--bg: #09090b; --surface: #121215; --surface-2: #151518; --surface-hover: #1b1b1f;
--glass: rgba(14, 14, 17, 0.72);
--border: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.14);
--text: #ededef; --text-2: #a1a1aa; --text-3: #63636e;
--accent: #7b7bff; --accent-hover: #9090ff; --accent-text: #a5a5ff;
--accent-soft: rgba(123, 123, 255, 0.14); --accent-ring: rgba(123, 123, 255, 0.35); --on-accent: #ffffff;
--success: #3ccf7e; --success-soft: rgba(60, 207, 126, 0.12);
--warning: #f0b45a; --warning-soft: rgba(240, 180, 90, 0.12);
--danger: #ff6b74; --danger-soft: rgba(255, 107, 116, 0.12);
--highlight: rgba(255, 255, 255, 0.05);
--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
--shadow-md: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
--shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 64px rgba(0, 0, 0, 0.55);
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #09090b; --surface: #121215; --surface-2: #151518; --surface-hover: #1b1b1f;
--glass: rgba(14, 14, 17, 0.72);
--border: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.14);
--text: #ededef; --text-2: #a1a1aa; --text-3: #63636e;
--accent: #7b7bff; --accent-hover: #9090ff; --accent-text: #a5a5ff;
--accent-soft: rgba(123, 123, 255, 0.14); --accent-ring: rgba(123, 123, 255, 0.35); --on-accent: #ffffff;
--success: #3ccf7e; --success-soft: rgba(60, 207, 126, 0.12);
--warning: #f0b45a; --warning-soft: rgba(240, 180, 90, 0.12);
--danger: #ff6b74; --danger-soft: rgba(255, 107, 116, 0.12);
--highlight: rgba(255, 255, 255, 0.05);
--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
--shadow-md: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
--shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 64px rgba(0, 0, 0, 0.55);
color-scheme: dark;
}
}
:root { font-family: var(--font-sans); font-size: var(--text-base); line-height: 1.5; color: var(--text); font-feature-settings: "cv11", "ss01", "ss03"; }
html, body { background: var(--bg); }
body { background: var(--bg); letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; }
h1 { font-size: var(--text-2xl); font-weight: 600; letter-spacing: var(--tracking-tight); line-height: 1.2; }
h2 { font-size: var(--text-base); font-weight: 600; letter-spacing: var(--tracking-snug); }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: color var(--dur-fast) var(--ease-out); }
a:hover { text-decoration-color: currentColor; }
.num, .tbl.num td, .tile b, .row-sub .num, code, kbd, .mono { font-family: var(--font-mono); font-feature-settings: "zero", "tnum"; letter-spacing: -0.01em; }
.muted { color: var(--text-2); }
.small { font-size: var(--text-sm); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }
::selection { background: var(--accent-soft); }
.head p, .head > div > p { color: var(--text-2); font-size: var(--text-sm); margin-top: 4px; }
.head { gap: var(--sp-4); margin-bottom: var(--sp-5); }
.main { padding: 28px 32px 48px; }
.eyebrow, .nav-sec, .tile > span, .field > span, .tbl th { font-family: var(--font-sans); }
.nav-sec { font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-3); padding: 14px 10px 6px; }
.rail { background: var(--glass); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-right: 1px solid var(--border); padding: 18px 10px; color: var(--text-2); }
.nav { gap: 1px; }
.nav a { height: var(--control-h); padding: 0 10px; border-radius: var(--radius-sm); color: var(--text-2); font-size: var(--text-sm); font-weight: 500; gap: 9px; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.nav a svg { width: 16px; height: 16px; opacity: 0.85; }
.nav a:hover { background: var(--surface-hover); color: var(--text); }
.nav a[aria-current="page"] { background: var(--surface); color: var(--text); font-weight: 550; box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--border), inset 0 1px 0 var(--highlight); }
.nav a[aria-current="page"] svg { color: var(--accent); opacity: 1; }
.nav-soon { font-size: var(--text-xs); color: var(--text-3); padding: 6px 10px; }
.rail-foot { border-top: 1px solid var(--border); font-size: var(--text-xs); color: var(--text-2); padding: 12px 8px 0; display: grid; gap: 4px; }
.rail-foot .who { color: var(--text); font-weight: 500; font-size: var(--text-sm); }
.rail-foot button { color: var(--text-2); text-decoration: none; font-size: var(--text-xs); }
.rail-foot button:hover { color: var(--text); }
.brand.tool-brand .brand-name { font-size: var(--text-lg); letter-spacing: var(--tracking-tight); color: var(--text); }
.brand.tool-brand { padding: 2px 10px 14px; }
.rail-tools { display: flex; gap: 6px; padding: 0 2px 10px; }
.btn {
height: var(--control-h); min-height: var(--control-h); padding: 0 12px; gap: 6px;
border-radius: var(--radius-md); border: 1px solid var(--border-strong);
background: var(--surface); color: var(--text);
font-size: var(--text-sm); font-weight: 500; letter-spacing: -0.005em;
box-shadow: var(--shadow-xs), inset 0 1px 0 var(--highlight);
transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:hover { background: var(--surface-hover); border-color: var(--border-strong); }
.btn:active { transform: translateY(0.5px); }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--on-accent); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0 1px color-mix(in srgb, var(--accent) 60%, black); }
.btn.primary:hover { background: var(--accent-hover); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px color-mix(in srgb, var(--accent) 60%, black), 0 0 0 4px var(--accent-soft), 0 4px 16px -4px var(--accent-ring); }
.btn.danger { color: var(--danger); }
.btn.danger:hover { border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: var(--danger-soft); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--accent-text); }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.sm, .btn.small { height: var(--control-h-sm); min-height: var(--control-h-sm); padding: 0 10px; font-size: var(--text-xs); }
.btn:disabled, .btn[disabled] { opacity: 0.45; box-shadow: none; }
.icon-btn { width: var(--control-h-sm); height: var(--control-h-sm); border-radius: var(--radius-sm); color: var(--text-2); transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.icon-btn:hover { background: var(--surface-hover); color: var(--text); }
.linkbtn { color: var(--accent-text); }
input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="date"], input[type="number"], select, textarea, .msel > summary {
height: var(--control-h); min-height: var(--control-h); padding: 0 10px;
border-radius: var(--radius-md); border: 1px solid var(--border-strong);
background: var(--surface); color: var(--text); font-size: var(--text-sm);
box-shadow: var(--shadow-xs), inset 0 1px 0 var(--highlight);
transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
textarea, .form textarea { height: auto; min-height: 84px; padding: 8px 10px; line-height: 1.5; background: var(--surface); border-radius: var(--radius-md); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:hover, select:hover, textarea:hover, .msel > summary:hover { border-color: color-mix(in srgb, var(--text) 24%, transparent); }
input:focus, select:focus, textarea:focus, .msel[open] > summary { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 15px; height: 15px; }
select { appearance: none; -webkit-appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field > span, .form .field > span { font-size: var(--text-xs); font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.field small, .form small { color: var(--text-3); font-size: var(--text-xs); }
.msel > summary { display: flex; font-weight: 500; }
.msel > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: rotate(45deg) translateY(-2px); flex: none; }
.inline-search { height: var(--control-h); }
.kbd, kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--radius-xs); border: 1px solid var(--border-strong); border-bottom-width: 2px; background: var(--surface-2); color: var(--text-2); font-size: 10.5px; font-weight: 500; line-height: 1; }
.panel {
background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm), inset 0 1px 0 var(--highlight); overflow: hidden; position: relative;
}
.panel + .panel { margin-top: var(--sp-4); }
.panel-head { padding: 12px 16px; border-bottom: 1px solid var(--border); gap: var(--sp-3); min-height: 48px; }
.panel-head h2 { font-size: var(--text-sm); font-weight: 600; }
.panel-body { padding: 14px 16px; }
.panel.is-loading { opacity: 0.6; transition: opacity var(--dur) var(--ease-out); }
.note { border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-size: var(--text-sm); padding: 10px 12px; }
.note.warn { background: var(--warning-soft); border-color: color-mix(in srgb, var(--warning) 30%, transparent); color: var(--text); }
.note.err { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 30%, transparent); color: var(--text); }
.demo-flag { background: var(--warning-soft); border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent); border-radius: var(--radius-md); color: var(--text); font-size: var(--text-sm); }
.tiles { background: transparent; gap: 0; }
.tile { background: transparent; padding: 14px 16px; gap: 6px; }
.tile + .tile { box-shadow: -1px 0 0 var(--border); }
.tile > span { font-size: var(--text-2xs); font-weight: 500; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-3); }
.tile b { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
.tbl { font-size: var(--text-sm); }
.tbl th { font-size: var(--text-xs); font-weight: 500; color: var(--text-3); padding: 8px 12px; background: var(--surface-2); border-bottom: 1px solid var(--border); letter-spacing: 0; }
.tbl td { padding: 9px 12px; border-top: 1px solid var(--border); color: var(--text); }
.tbl th:first-child, .tbl td:first-child { padding-left: 16px; font-family: var(--font-sans); }
.tbl th:last-child, .tbl td:last-child { padding-right: 16px; }
.tbl td.left, .tbl td:first-child { font-family: var(--font-sans); letter-spacing: -0.006em; }
.tbl tbody tr { transition: background var(--dur-fast) var(--ease-out); }
.tbl tbody tr:hover td { background: var(--surface-hover); }
.tbl tr.total td, .tbl.revtbl tr.total td, .tbl.mix tr.total td { background: var(--surface-2); font-weight: 500; }
.tbl td b { font-weight: 600; }
.thsort { color: inherit; font: inherit; }
.thsort:hover { color: var(--text); }
.rows .row { padding: 10px 16px; border-top: 1px solid var(--border); transition: background var(--dur-fast) var(--ease-out); }
.rows .row:first-child { border-top: 0; }
.rows .row:hover { background: var(--surface-hover); }
.row-title { font-weight: 500; letter-spacing: var(--tracking-snug); }
.row-sub { color: var(--text-2); font-size: var(--text-xs); }
.tag { border-radius: var(--radius-xs); padding: 1px 7px; font-size: var(--text-2xs); font-weight: 500; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); letter-spacing: 0; }
.tag.st-add { background: var(--success-soft); color: var(--success); border-color: color-mix(in srgb, var(--success) 25%, transparent); }
.tag.st-del { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 25%, transparent); }
.tag.off { color: var(--text-3); }
.acct-chip { background: var(--accent-soft); color: var(--accent-text); border-radius: var(--radius-xs); font-family: var(--font-mono); font-size: var(--text-2xs); padding: 1px 6px; }
.err-text { color: var(--danger); }
em.pos { color: var(--success); font-style: normal; }
em.neg { color: var(--danger); font-style: normal; }
.seg { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2px; gap: 2px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.03); }
.seg button { height: 26px; padding: 0 10px; border-radius: var(--radius-sm); font-size: var(--text-xs); font-weight: 500; color: var(--text-2); border: 0; background: transparent; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--border); }
.scope { margin-bottom: var(--sp-3); }
.choice { border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.choice:hover { border-color: var(--border-strong); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pager { border-top: 1px solid var(--border); padding: 10px 16px; font-size: var(--text-xs); color: var(--text-2); }
.pager-pos { font-family: var(--font-mono); font-size: var(--text-2xs); }
.pager-size select { height: var(--control-h-sm); min-height: var(--control-h-sm); font-size: var(--text-xs); }
.msel-menu {
background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--highlight); padding: 4px;
animation: ds-pop var(--dur) var(--ease-out);
}
.msel-menu label { padding: 6px 8px; border-radius: var(--radius-sm); font-size: var(--text-sm); }
.msel-menu label:hover { background: var(--surface-hover); }
.msel-menu .msel-search { height: 36px; margin: -4px -4px 4px; width: calc(100% + 8px); top: -4px; background: transparent; box-shadow: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: 1px solid var(--border); }
.msel-menu .msel-search:focus { box-shadow: none; }
dialog { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--highlight); animation: ds-pop var(--dur) var(--ease-out); }
dialog::backdrop { background: rgba(9, 9, 11, 0.35); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.dlg h2 { font-size: var(--text-lg); letter-spacing: var(--tracking-tight); }
.toast { background: color-mix(in srgb, #18181b 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fafafa; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); font-size: var(--text-sm); animation: ds-rise var(--dur) var(--ease-out); }
.toast.err { background: color-mix(in srgb, var(--danger) 90%, black); }
.c-tip { background: color-mix(in srgb, #18181b 94%, transparent); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: var(--text-2xs); }
.pending { background: var(--glass); border-top: 1px solid var(--border); }
textarea.code { font-family: var(--font-mono); background: var(--surface-2); border-color: var(--border); border-radius: var(--radius-md); }
@keyframes ds-pop { from { opacity: 0; transform: translateY(-4px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes ds-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gate { background: radial-gradient(800px 400px at 50% -10%, var(--accent-soft), transparent 70%), var(--bg); }
.gate-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--highlight); }
.gate-card h1.gate-name { letter-spacing: -0.045em; }
.gate-card .btn.primary { height: var(--control-h-lg); }
.cmdk-btn { display: flex; align-items: center; gap: 8px; width: 100%; height: var(--control-h); padding: 0 8px 0 10px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); color: var(--text-3); font-size: var(--text-sm); box-shadow: var(--shadow-xs), inset 0 1px 0 var(--highlight); cursor: pointer; transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.cmdk-btn:hover { border-color: var(--border-strong); color: var(--text-2); }
.cmdk-btn span { flex: 1; text-align: left; }
.cmdk-btn svg { width: 14px; height: 14px; }
.cmdk { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding-top: 14vh; background: rgba(9, 9, 11, 0.32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: ds-fade var(--dur-fast) var(--ease-out); }
.cmdk-box { width: min(560px, calc(100vw - 32px)); background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); border: 1px solid var(--border-strong); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--highlight); overflow: hidden; animation: ds-pop var(--dur) var(--ease-out); }
.cmdk-box input { width: 100%; height: 48px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; padding: 0 16px; font-size: var(--text-lg); }
.cmdk-box input:focus { box-shadow: none; }
.cmdk-list { max-height: 320px; overflow: auto; padding: 6px; }
.cmdk-sec { font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-3); padding: 8px 10px 4px; }
.cmdk-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text); font-size: var(--text-sm); text-align: left; cursor: pointer; }
.cmdk-item svg { width: 16px; height: 16px; color: var(--text-3); }
.cmdk-item[aria-selected="true"] { background: var(--surface-hover); }
.cmdk-item[aria-selected="true"] svg { color: var(--accent); }
.cmdk-empty { padding: 18px; text-align: center; color: var(--text-3); font-size: var(--text-sm); }
.cmdk-foot { display: flex; gap: 14px; padding: 8px 14px; border-top: 1px solid var(--border); font-size: var(--text-2xs); color: var(--text-3); }
.cmdk-foot span { display: inline-flex; gap: 5px; align-items: center; }
@keyframes ds-fade { from { opacity: 0; } to { opacity: 1; } }
.theme-btn { background: none; border: 0; padding: 0; color: var(--text-2); font-size: var(--text-xs); cursor: pointer; text-align: left; }
.theme-btn:hover { color: var(--text); }
.step-flag { background: var(--surface); }
.head .tag { background: var(--surface); }
.wz-n { background: var(--text); color: var(--bg); }
.mp { stroke: var(--surface); }
.mini i, .share i { background: color-mix(in srgb, var(--accent) 75%, transparent); }
.spark rect { fill: color-mix(in srgb, var(--accent) 35%, transparent); }
.spark rect.last { fill: var(--accent); }
.spark rect.zero { fill: var(--border-strong); }
.permbox { border-color: var(--border); border-radius: var(--radius-md); background: var(--surface); }
@media (max-width: 820px) {
.main { padding: 18px 16px 96px; }
.rail { background: var(--glass); border-top: 1px solid var(--border); border-right: 0; padding: 0 4px env(safe-area-inset-bottom); }
.nav a { height: auto; border-radius: var(--radius-sm); }
.nav a[aria-current="page"] { background: transparent; box-shadow: inset 0 2px 0 var(--accent); color: var(--text); }
.cmdk-btn, .rail-tools { display: none; }
h1 { font-size: var(--text-xl); }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; }
}
.search-kbd { position: relative; display: inline-flex; align-items: center; }
.search-kbd input { padding-right: 30px; }
.search-kbd kbd { position: absolute; right: 8px; pointer-events: none; }
.search-kbd input:focus + kbd { opacity: 0; }
.users-head { flex-wrap: wrap; }
.users-title { display: flex; align-items: center; gap: 8px; }
.count-badge { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; }
.users-head .inline-search { width: 240px; max-width: 100%; }
.users-tbl td { height: 50px; padding-top: 0; padding-bottom: 0; }
.users-tbl td, .users-tbl th { white-space: nowrap; }
.users-tbl .act-col { width: 84px; text-align: right; }
.u-cell { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { box-sizing: border-box; width: 26px; min-width: 26px; max-width: 26px; height: 26px; min-height: 26px; max-height: 26px; aspect-ratio: 1; padding: 0; line-height: 1; flex: 0 0 26px; overflow: hidden; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; color: hsl(var(--h) 55% 32%); background: hsl(var(--h) 70% 92%); box-shadow: inset 0 0 0 1px hsl(var(--h) 40% 50% / 0.18); }
:root[data-theme="dark"] .avatar { color: hsl(var(--h) 80% 82%); background: hsl(var(--h) 40% 22%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .avatar { color: hsl(var(--h) 80% 82%); background: hsl(var(--h) 40% 22%); } }
.u-email { font-weight: 500; font-size: var(--text-sm); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.role-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); font-size: var(--text-xs); font-weight: 500; border: 1px solid transparent; }
.r-gm { background: var(--accent-soft); color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.r-admin { background: var(--warning-soft); color: var(--warning); border-color: color-mix(in srgb, var(--warning) 22%, transparent); }
.r-ua { background: var(--success-soft); color: var(--success); border-color: color-mix(in srgb, var(--success) 22%, transparent); }
.r-monet { background: color-mix(in srgb, #0ea5e9 12%, transparent); color: color-mix(in srgb, #0ea5e9 80%, var(--text)); border-color: color-mix(in srgb, #0ea5e9 22%, transparent); }
.r-link, .r-none { background: var(--surface-2); color: var(--text-2); border-color: var(--border); }
.role-more { display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-2); border: 1px solid var(--border); background: var(--surface); cursor: default; }
.scope-cell { position: relative; }
.scope-chip { height: 24px; padding: 0 8px; border-radius: var(--radius-sm); border: 1px dashed var(--border-strong); background: transparent; color: var(--text-2); font-family: var(--font-mono); font-size: var(--text-2xs); cursor: pointer; transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.scope-chip:hover, .scope-chip[aria-expanded="true"] { border-style: solid; border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }
.scope-text { color: var(--text-3); font-size: var(--text-xs); }
.scope-pop { position: fixed; z-index: 60; top: var(--pop-top, 0); left: var(--pop-left, 0); min-width: 260px; max-width: 360px; max-height: 300px; overflow: auto; white-space: normal; padding: 6px 4px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--highlight); animation: ds-pop var(--dur) var(--ease-out); }
.scope-pop ul { list-style: none; margin: 0; padding: 0; }
.scope-pop li { padding: 4px 10px; font-size: var(--text-sm); color: var(--text); }
.scope-pop-sec { font-size: var(--text-2xs); font-weight: 500; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-3); padding: 8px 10px 4px; }
.row-acts { display: inline-flex; gap: 2px; opacity: 0; transition: opacity var(--dur-fast) var(--ease-out); }
.users-tbl tr:hover .row-acts, .users-tbl tr:focus-within .row-acts { opacity: 1; }
@media (hover: none) { .row-acts { opacity: 1; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.head-acts { display: inline-flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; justify-content: flex-end; }
.fresh-note { font-size: var(--text-xs); color: var(--text-3); font-variant-numeric: tabular-nums; }
@media (max-width: 820px) {
.rail { overflow: hidden; }
.rail .rail-foot { display: none; }
.head-acts { justify-content: flex-start; }
.nav { position: relative; flex: 1 1 auto; min-width: 0; display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; touch-action: pan-x; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: 1 0 auto; min-width: 68px; padding: 8px 10px; scroll-snap-align: center; }
.nav.more-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.nav.more-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px); mask-image: linear-gradient(90deg, transparent, #000 28px); }
.nav.more-l.more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
}
.nav-more { display: none; }
@media (max-width: 820px) {
.nav-more { display: flex; flex: 1 0 auto; min-width: 68px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 10px; background: none; border: 0; color: var(--text-2); font: inherit; font-size: var(--text-sm); font-weight: 500; cursor: pointer; scroll-snap-align: center; }
.nav-more svg { width: 19px; height: 19px; }
}
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
[data-newid].err { color: var(--danger, #d33); font-family: var(--font-sans); }
.grp-acts { margin-top: 10px; }
.abbox { margin: 12px 0; padding-top: 12px; border-top: 1px solid var(--line, rgba(128,128,128,.25)); display: grid; gap: 10px; }
.abbox .field input[type="number"] { width: 110px; }
.abbox label.inline { display: flex; align-items: flex-start; gap: 8px; }
.abbox label.inline input { margin-top: 3px; flex: none; }
.panel.allow-pop { overflow: visible; }
.ct-pick { min-width: 230px; max-width: 320px; flex: 0 1 280px; }
.tbl.revtbl tbody tr td.hl, .tbl.revtbl thead tr th.hl { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.tbl.revtbl tbody tr td.hl { font-weight: 650; font-size: 1.03em; color: var(--text); }
.tbl.revtbl tbody tr.total td.hl { background: color-mix(in srgb, var(--accent) 13%, transparent); font-weight: 700; }
.tbl.revtbl thead tr th.hl .thsort { color: var(--text); font-weight: 600; }
.app-ico { box-sizing: border-box; width: 22px; min-width: 22px; height: 22px; flex: 0 0 22px; border-radius: 6px; overflow: hidden; display: inline-grid; place-items: center; vertical-align: middle; margin-right: 8px; font-size: 10.5px; font-weight: 700; line-height: 1; color: hsl(var(--h, 210) 55% 32%); background: hsl(var(--h, 210) 70% 92%); box-shadow: inset 0 0 0 1px hsl(var(--h, 210) 40% 50% / 0.18); }
.app-ico img { width: 100%; height: 100%; display: block; object-fit: cover; }
.app-ico { contain: strict; }
.mini { contain: layout paint; }
.app-ico.has-img { background: transparent; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08); }
:root[data-theme="dark"] .app-ico { color: hsl(var(--h, 210) 80% 82%); background: hsl(var(--h, 210) 40% 22%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app-ico { color: hsl(var(--h, 210) 80% 82%); background: hsl(var(--h, 210) 40% 22%); } }
:root[data-theme="dark"] .app-ico.has-img { background: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app-ico.has-img { background: transparent; } }
.app-ico-stack { display: inline-flex; vertical-align: middle; margin-right: 8px; }
.app-ico-stack .app-ico { margin-right: 0; }
.app-ico-stack .app-ico + .app-ico { margin-left: -6px; box-shadow: 0 0 0 2px var(--surface, #fff); }
.msel label.inline .app-ico, .ct-pick label.inline .app-ico { margin-right: 6px; }
.dim-n { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; font-size: 10px; font-weight: 700; background: var(--accent, #4f46e5); color: #fff; }
.dim-hint { margin-left: 12px; align-self: center; }
.seg.picks button { display: inline-flex; align-items: center; }
.dim-n { line-height: 1; flex: 0 0 auto; }
.caret { appearance: none; border: 0; background: transparent; color: var(--text-2, #666); cursor: pointer; width: 20px; height: 20px; padding: 0; margin-right: 4px; border-radius: 4px; font-size: 12px; line-height: 20px; vertical-align: middle; }
.caret:hover { background: var(--surface-hover, #f2f2f4); color: var(--text, #111); }
.tbl tr.subwrap > td { padding: 0; background: var(--surface-2, #fafafa); }
.sub-pad { padding: 10px 16px 12px 40px; }
.tbl.subtbl { width: 100%; background: var(--surface, #fff); border-radius: 8px; box-shadow: 0 0 0 1px var(--border, rgb(0 0 0 / 0.08)); margin: 4px 0 8px; }
.tbl.subtbl tr.camp-row td.left { padding-left: 40px; }
.tbl.subtbl tr.ch-row td { font-weight: 500; }
.tbl tr.subrow > td { background: var(--surface-2, #fafafa); }
.tbl tr.subrow > td.hl { background: color-mix(in srgb, var(--accent, #4f46e5) 6%, var(--surface-2, #fafafa)); }
.tbl tr.subhead > td { font-size: 11.5px; color: var(--text-2); padding-top: 6px; padding-bottom: 6px; }
.tbl tr.subrow.ch-row > td.left { padding-left: 28px; }
.tbl tr.subrow.camp-row > td.left { padding-left: 64px; }
.tbl tr.subrow.subhead > td.left, .tbl tr.subrow.subnote > td.left { padding-left: 52px; }
.tbl tr.subrow.subnote > td { padding-top: 6px; padding-bottom: 10px; }
.tbl.revtbl tr.subhead > td, .tbl.revtbl tr.subhead > td.hl { font-weight: 500; font-family: var(--font-sans, inherit); font-size: 11.5px; color: var(--text-2); }
.tbl tr.subrow.subnote > td { white-space: normal; }
.pm-tbl th.pm-col, .pm-tbl td.pm-col { text-align: center; white-space: nowrap; padding-left: 10px; padding-right: 10px; }
.pm-tbl th.pm-col { font-size: 12px; }
.pm-tbl input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--accent); }
.pm-tbl input[type="checkbox"]:disabled { cursor: default; opacity: 0.55; }
.pm-tbl .pm-email { min-width: 240px; position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: inset -1px 0 0 var(--border); }
.pm-tbl thead .pm-email { background: var(--surface-2); }
.pm-tbl td.pm-admin, .pm-tbl th.pm-admin { box-shadow: inset -1px 0 0 var(--border); }
.pm-tbl tr.pm-dirty > td { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.pm-tbl tr.pm-fixed > td { background: var(--surface-2); }
.pm-tbl .pm-email-in { width: 100%; min-width: 220px; }
.pm-tbl .pm-scope { white-space: nowrap; }
.pm-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--border); }
.users-head .inline { gap: 8px; }
.pm-tbl th.pm-scope, .pm-tbl td.pm-scope, .pm-tbl .scope-chip, .pm-tbl th.pm-col { white-space: nowrap; }
.tg { appearance: none; position: relative; display: inline-block; vertical-align: middle; width: 30px; height: 17px; margin-right: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--border-strong); cursor: pointer; transition: background 0.15s; }
.tg i { position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.25); transition: left 0.15s; }
.tg.on { background: var(--pos, #16a34a); }
.tg.on i { left: 15px; }
.tg:disabled { opacity: 0.55; cursor: default; }
.tg.tg-wait { background: var(--border); cursor: default; }
.filters.rv-filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; }
.filters.rv-filters .linkbtn { align-self: center; white-space: nowrap; }
@media (max-width: 820px) { .filters.rv-filters { grid-template-columns: 1fr; } }
.mx.has-sow { grid-template-columns: 0.9fr 1fr 0.9fr 1fr 0.75fr 0.9fr; }
.ladder .step { grid-template-columns: minmax(0, 1fr) 470px 118px; }
.ladder.no-acts .step { grid-template-columns: minmax(0, 1fr) 470px; }
@media (max-width: 1080px) { .ladder .step, .ladder.no-acts .step { grid-template-columns: minmax(0, 1fr) auto; } }
.msel-menu .msel-tools { flex-wrap: wrap; } .msel-menu .msel-tools .linkbtn + .linkbtn { margin-left: 4px; }
.opt-strategy .panel-head { flex-wrap: wrap; gap: 10px; }
.opt-params { display: grid; grid-template-columns: repeat(3, minmax(0, 200px)) 1fr; gap: 12px; align-items: end; }
.opt-rules { grid-column: 1 / -1; }
.opt-rules ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.6; }
.opt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 10px; }
.opt-card { margin-bottom: 10px; }
.opt-head { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 90px; align-items: center; gap: 12px; padding: 12px 16px; }
.opt-title { appearance: none; border: 0; background: none; padding: 0; display: flex; align-items: center; gap: 6px; text-align: left; cursor: pointer; color: inherit; font: inherit; min-width: 0; }
.opt-title .caret-ico { width: 16px; color: var(--text-2); flex: 0 0 16px; }
.opt-name { display: flex; flex-direction: column; min-width: 0; }
.opt-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.opt-rev { text-align: right; font-weight: 600; }
.opt-tbl td.left .tag { white-space: nowrap; }
.opt-why { margin-top: 3px; max-width: 520px; white-space: normal; }
.opt-tbl tr.opt-add > td { background: color-mix(in srgb, #3b82f6 7%, var(--surface)); }
.opt-tbl tr.opt-remove > td { background: color-mix(in srgb, #ef4444 6%, var(--surface)); }
.opt-tbl tr.opt-remove .opt-floor, .opt-tbl tr.opt-remove td:first-child b { text-decoration: line-through; }
.opt-tbl tr.is-skip > td { opacity: 0.55; }
.opt-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px 14px; border-top: 1px solid var(--border); }
.tag.st-info { background: color-mix(in srgb, #3b82f6 14%, transparent); color: #2563eb; }
:root[data-theme="dark"] .tag.st-info { color: #93c5fd; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.st-info { color: #93c5fd; } }
@media (max-width: 820px) { .opt-params { grid-template-columns: 1fr; } .opt-head { grid-template-columns: 22px 1fr; } .opt-chips, .opt-rev { grid-column: 2; justify-content: flex-start; text-align: left; } }
.set-tabs { display: flex; gap: 4px; margin: -4px 0 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.set-tabs a { padding: 8px 14px; color: var(--text-2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; }
.set-tabs a:hover { color: var(--text); }
.set-tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.pl-head { grid-template-columns: 0 minmax(0, 1fr) auto 110px; }
.pl-prog { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; }
.pl-prog progress { width: 120px; height: 8px; accent-color: var(--accent, #3b82f6); }
.pl-body { border-top: 1px solid var(--border); }
.pl-fmt { border-bottom: 1px solid var(--border); }
.pl-fmt:last-child { border-bottom: 0; }
.pl-fmt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px 8px; }
.pl-note { margin: 0; padding: 4px 16px 12px; }
.pl-cc { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; max-width: 260px; }
.pl-floors { display: inline-flex; flex-wrap: wrap; gap: 4px; max-width: 230px; }
.pl-why { min-width: 220px; max-width: 340px; white-space: normal; }
.pl-tbl tr.is-skip > td { opacity: 0.55; }
@media (max-width: 820px) { .pl-head { grid-template-columns: 0 1fr; } }
.tile b.pl-range { font-size: 15px; font-weight: 600; font-family: inherit; }
.pl-draft { margin: 0 16px 10px; }
.pl-params { grid-template-columns: repeat(3, minmax(0, 240px)) 1fr; }
.pl-params input { width: 100%; box-sizing: border-box; }
@media (max-width: 820px) { .pl-params { grid-template-columns: 1fr; } }
@media (min-width: 769px) { #nav-more { display: none; } }
.ml-part { stroke-dasharray: 4 4; }
.mp-open { fill: var(--bg); stroke-width: 2; }
.num, .tile b, table.tbl td { font-variant-numeric: tabular-nums; }
.filters.flexrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filters.flexrow > .field { flex: 0 1 300px; min-width: 220px; margin: 0; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.mix-sub { font-size: var(--text-2xs); font-weight: 600; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-3); margin: 2px 0 8px; }
.mixchart .mix-sub + .chart { margin-top: 0; }
.mix-fold .mix-small { display: inline-flex; margin: 8px 16px 6px; color: var(--text-2); }
.mix-fold .tablewrap { max-height: 380px; overflow-y: auto; }
.mix-fold thead th { position: sticky; top: 0; z-index: 2; background: var(--surface-2); }
.mix-fold tr.mix-rest td { background: var(--surface-2); }
.plat-tag { margin-left: 4px; white-space: nowrap; }
.th-sort { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.th-sort:hover { color: var(--text); }
.th-sort .arr { color: var(--accent-text); font-weight: 700; }
th[aria-sort="none"] .th-sort::after { content: "↕"; opacity: 0; font-size: 10px; transition: opacity var(--dur-fast); }
th[aria-sort="none"] .th-sort:hover::after { opacity: 0.5; }
.warn-dot { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: var(--text-2xs); font-weight: 600; color: var(--warning); background: var(--warning-soft); white-space: nowrap; }
.warn-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.spark.partial rect.last { opacity: 0.45; }
.spark-tip { position: fixed; z-index: 1000; pointer-events: none; padding: 4px 8px; border-radius: var(--radius-sm); background: var(--text); color: var(--surface); font-size: var(--text-xs); font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: var(--shadow-md); }
.msel-row { display: flex; align-items: center; gap: 6px; border-radius: var(--radius-sm); }
.msel-row:hover { background: var(--surface-hover); }
.msel-row > label { flex: 1; min-width: 0; }
.only-btn { flex: 0 0 auto; visibility: hidden; appearance: none; border: 1px solid var(--border-strong); background: var(--surface); color: var(--accent-text); font: inherit; font-size: var(--text-2xs); font-weight: 600; padding: 1px 8px; border-radius: 999px; cursor: pointer; }
.msel-row:hover .only-btn, .only-btn:focus-visible { visibility: visible; }
@media (hover: none) { .only-btn { visibility: visible; } }
.msel-menu.has-header { display: flex; flex-direction: column; gap: 0; max-height: none; overflow: visible; padding: 0; }
#app-msel .msel-menu.has-header { max-height: none; min-width: min(460px, 92vw); }
.msel-header { position: sticky; top: 0; z-index: 3; background: var(--surface); padding: 0 8px 8px; border-bottom: 1px solid var(--border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.msel-menu.has-header .msel-search { position: static; margin: 0 -8px 6px; width: calc(100% + 16px); }
.msel-header .msel-tools { border-bottom: 0; margin: 0; padding: 2px 0; flex-wrap: wrap; }
.msel-list { max-height: 320px; overflow-y: auto; display: grid; gap: 2px; padding: 6px; }
.msel-row[hidden] { display: none; }
.msel-row > label { display: flex; align-items: center; gap: 6px; overflow: hidden; }
.msel-row .app-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.msel-row .app-code { flex: none; padding: 0 6px; border-radius: var(--radius-xs); background: var(--surface-2); border: 1px solid var(--border); font-family: var(--font-mono); font-size: var(--text-2xs); }
.msel-row label > .small.muted:last-child { flex: none; }
.cr-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 8px; }
.cr-bar select { width: auto; min-width: 150px; max-width: 280px; }
.cr-bar .inline-search { flex: 1 1 220px; }
.cr-meta { margin: 0 0 12px; }
.cr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cr-card { appearance: none; text-align: left; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 0 0 10px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-xs); overflow: hidden; transition: border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast); }
.cr-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.cr-card:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 2px; }
.cr-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--surface-2); border-bottom: 1px solid var(--border); overflow: hidden; }
.cr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cr-ph { font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--text-3); }
.cr-ph.cr-video { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: var(--on-accent); background: var(--accent); box-shadow: var(--shadow-sm); padding-left: 3px; }
.cr-kind { position: absolute; left: 8px; top: 8px; padding: 1px 7px; border-radius: 999px; font-size: var(--text-2xs); font-weight: 600; background: color-mix(in srgb, var(--surface) 86%, transparent); color: var(--text-2); }
.cr-st { position: absolute; right: 8px; top: 8px; }
.cr-name { padding: 0 10px; font-size: var(--text-sm); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-sub { padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-pager { border: 0; display: flex; justify-content: space-between; margin-top: 12px; }
.cr-dlg { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); gap: 18px; min-height: 360px; }
.cr-view { display: grid; place-items: center; background: #000; border-radius: var(--radius-md); overflow: hidden; min-height: 320px; }
.cr-view video, .cr-view img { max-width: 100%; max-height: 70vh; display: block; }
.cr-title { margin: 0 0 4px; font-size: var(--text-lg); word-break: break-word; }
.cr-side .field { margin-bottom: 10px; }
.cr-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.cr-drop { display: grid; place-items: center; gap: 4px; padding: 26px 16px; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--surface-2); cursor: pointer; text-align: center; margin: 6px 0 10px; }
.cr-drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.up-list { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; margin-bottom: 8px; }
.up-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 110px; gap: 10px; align-items: center; font-size: var(--text-sm); }
.up-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-row progress { width: 110px; height: 6px; accent-color: var(--accent); }
.dbx-steps { margin: 0; padding-left: 20px; display: grid; gap: 14px; }
.dbx-steps code { font-family: var(--font-mono); font-size: var(--text-2xs); background: var(--surface-2); padding: 1px 5px; border-radius: var(--radius-xs); word-break: break-all; }
.dbx-h { margin: 0 0 6px; font-size: var(--text-sm); }
.dbx-src { display: grid; gap: 6px; margin-bottom: 6px; }
.dbx-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 320px); gap: 10px; align-items: center; }
@media (max-width: 820px) { .cr-dlg { grid-template-columns: 1fr; } .dbx-row { grid-template-columns: 1fr; } .up-row { grid-template-columns: 1fr auto; } }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
dialog.wide.cr { width: min(1100px, calc(100vw - 28px)); }
.dbx-steps > li > p:first-child, .dbx-steps > li > form:first-child { margin-top: 0; }
.rail { background: var(--surface-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
.msel-menu, dialog, .cmdk-box, .pending { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
dialog::backdrop, .cmdk { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(9, 9, 11, 0.45); }
.bar { overflow: hidden; }
.bar i { margin-left: 0; will-change: transform; animation: ds-slide 1.1s ease-in-out infinite; }
@keyframes ds-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .bar i { animation-duration: 3s; } }
.rows > li { content-visibility: auto; contain-intrinsic-size: auto 64px; }
.cr-card { content-visibility: auto; contain-intrinsic-size: auto 230px; }
.opt-card:not(.is-open) { content-visibility: auto; contain-intrinsic-size: auto 72px; }
.msel-row { content-visibility: auto; contain-intrinsic-size: auto 34px; }
.lite *, .lite *::before, .lite *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
.lite .bar i { animation: ds-slide 1.6s linear infinite !important; }
.lite .panel, .lite .cr-card, .lite .msel-menu, .lite dialog, .lite .cmdk-box { box-shadow: none !important; }
.rows > li.more-row { content-visibility: visible; display: flex; justify-content: center; padding: 12px; }
.dbx-steps svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--success); flex: none; }
dialog .dlg { position: relative; }
.dlg-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; box-shadow: var(--shadow-sm); }
.dlg-x:hover { color: var(--text); background: var(--surface-hover); }
.dlg-x svg { width: 16px; height: 16px; }
.cr-dlg .cr-side { padding-right: 36px; }
dialog { cursor: default; }
.share-tools { display: flex; gap: 12px; align-items: center; margin: 4px 0 8px; }
.share-tools .inline-search { flex: 1; }
.share-list { display: grid; gap: 2px; max-height: 340px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px; }
.share-row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; padding: 6px 8px; border-radius: var(--radius-sm); }
.share-row:hover { background: var(--surface-hover); }
.share-row[hidden] { display: none; }
.share-row .small { grid-column: 2; }
.share-em { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.dlt { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 500; font-family: var(--font-mono); letter-spacing: -0.02em; white-space: nowrap; vertical-align: 1px; }
.dlt.good { color: var(--success); }
.dlt.bad { color: var(--danger); }
.dlt.neu, .dlt.flat { color: var(--text-3); }
.tile .dlt { display: block; margin: 2px 0 0; font-size: 12px; }
.tbl td .dlt { display: block; margin: 1px 0 0; line-height: 1.2; }
.rev-spark + .dlt { margin-top: 2px; }
.cmp-note { padding: 6px 16px 8px; font-size: var(--text-2xs); color: var(--text-3); border-top: 1px solid var(--border); }
.panel-head + .cmp-note { border-top: 0; padding-top: 8px; }
.csv-btn { white-space: nowrap; }
.colmenu > summary { min-height: var(--control-h-sm); height: var(--control-h-sm); padding: 0 10px; font-size: var(--text-sm); }
.colmenu .msel-menu { left: auto; right: 0; min-width: 220px; max-height: 420px; }
.colmenu .col-sec { padding: 8px 8px 2px; text-transform: uppercase; letter-spacing: var(--tracking-wide); font-size: var(--text-2xs); }
.tbl tr.th-group th { padding-top: 6px; padding-bottom: 4px; border-bottom: 0; }
.tbl tr.th-group th.ga-grp { text-align: center; color: var(--accent-text); border-bottom: 1px solid var(--accent-ring); }
.tbl.sticky1 tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); }
.tbl.sticky1 thead tr > :first-child, .tbl.sticky1 tr.total > :first-child { background: var(--surface-2); }
.tbl.sticky1 tr.th-group > :first-child { position: static; }
.tablewrap { position: relative; }
.tablewrap.sx-l .tbl.sticky1 tr > :first-child { box-shadow: 6px 0 8px -6px rgba(0, 0, 0, .18); }
.tablewrap.sx-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
.fwrap { margin-bottom: 12px; }
.fsum { display: flex; width: 100%; align-items: center; gap: 8px; justify-content: space-between; min-height: 40px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); font: inherit; font-size: var(--text-sm); text-align: left; cursor: pointer; }
.fsum-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.fsum-a { flex: none; font-weight: 600; color: var(--accent-text); }
.fwrap .fbody { display: none; padding-top: 10px; }
.fwrap.open .fbody { display: block; }
.fwrap .fbody > * + * { margin-top: 10px; }
.tbl tr.th-group th.ga-grp { text-align: left; padding-left: 12px; }
@media (max-width: 640px) { .head p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
.pj-week-body { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.4fr); gap: 24px; align-items: end; }
.pj-big > b { font-size: 40px; font-weight: 650; letter-spacing: -0.03em; }
.pj-big > span { font-size: 20px; }
.pj-prog { position: relative; height: 10px; border-radius: 99px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); margin: 10px 0 8px; overflow: hidden; }
.pj-prog i, .pj-prog s { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.pj-prog s { background: var(--accent-soft); text-decoration: none; }
.pj-prog i { background: var(--accent); z-index: 1; }
.pj-prog i.ok { background: var(--success); }
.pj-weeks { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; height: 120px; align-items: end; padding-bottom: 18px; }
.pj-wk { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.pj-wk i { display: block; width: 100%; max-width: 34px; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--accent) 45%, transparent); }
.pj-wk.now i { background: var(--accent); }
.pj-wk i.ok { background: var(--success); }
.pj-wk b { font-size: 10px; font-weight: 500; color: var(--text-2); margin-bottom: 2px; }
.pj-wk i { max-height: calc(100% - 14px); }
.pj-wk span { position: absolute; bottom: -18px; font-size: 10px; color: var(--text-3); font-family: var(--font-mono); }
.pj-tl { position: absolute; left: 0; right: 0; top: 0; bottom: 18px; pointer-events: none; }
.pj-tl em { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1.5px dashed var(--warning); }
.pj-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4, 16px); margin-top: var(--sp-4, 16px); }
.pj-cols .panel { margin-top: 0; }
.pj-bars { list-style: none; margin: 0; padding: 10px 16px 14px; display: grid; gap: 8px; }
.pj-bars li { display: grid; grid-template-columns: minmax(70px, 0.9fr) 2fr auto; gap: 10px; align-items: center; font-size: var(--text-sm); }
.pj-bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.pj-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.pe-list { max-height: 340px; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 6px; display: grid; gap: 2px; margin-top: 6px; }
.pe-list .pj-app { padding: 6px 8px; border-radius: var(--radius-sm); }
.pe-list .pj-app:hover { background: var(--surface-hover); }
.pe-list .pj-app .app-ico { margin-right: 6px; }
.pe-tools { gap: 12px; flex-wrap: wrap; }
.pe-tools input[type="search"] { flex: 1; min-width: 200px; }
.dlg-acts .grow { flex: 1; }
@media (max-width: 900px) { .pj-week-body, .pj-cols { grid-template-columns: minmax(0, 1fr); } }
.pjc-n { display: inline-block; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; font-weight: 500; }
.pjc-un summary { cursor: pointer; color: var(--text-2); }
.pjc-un ul { margin: 8px 0 4px; padding-left: 18px; columns: 2; column-gap: 24px; }
@media (max-width: 720px) { .pjc-n { max-width: 180px; } .pjc-un ul { columns: 1; } }
.cr-yt { position: absolute; right: 8px; bottom: 8px; padding: 1px 7px; border-radius: 999px; font-size: var(--text-2xs); font-weight: 700; background: #c4302b; color: #fff; }
.cr-pick { position: absolute; right: 8px; top: 8px; width: 24px; height: 24px; border-radius: 999px; border: 2px solid #fff; background: color-mix(in srgb, var(--surface) 70%, transparent); display: grid; place-items: center; box-shadow: var(--shadow-xs); }
.cr-pick svg { width: 14px; height: 14px; }
.cr-card.is-picked { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-ring); }
.cr-card.is-picked .cr-pick { background: var(--accent); color: #fff; }
.cr-pickbar { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 8px 12px; margin: 0 0 10px; border: 1px solid var(--accent-ring); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.cr-pickbar .cr-pickacts { margin-left: auto; display: inline-flex; gap: 6px; flex-wrap: wrap; }
.cr-ytq { margin: 0 0 12px; }
.cr-ytq summary { list-style: none; cursor: pointer; }
.cr-ytq summary::-webkit-details-marker { display: none; }
.cr-ytq summary h2::before { content: '▸ '; color: var(--text-2); }
.cr-ytq[open] summary h2::before { content: '▾ '; }
.cr-ytq.is-active summary h2 { color: var(--accent); }
.cr-ytcur { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; margin-bottom: 10px; }
.cr-ytcur .pj-prog { grid-column: 1 / -1; }
.cr-ytacts { flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.cr-ytlist { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow: auto; border-top: 1px solid var(--border); }
.cr-ytlist li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 5px 0; border-bottom: 1px solid var(--border); }
.cr-ytlist li.yt-uploading .cr-ytname { color: var(--accent); font-weight: 600; }
.cr-ytlist li.yt-failed .cr-ytname { color: var(--danger, #c0392b); }
.cr-ytlist a { word-break: break-all; }
.cr-ytname { display: inline-block; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.cr-ytbox > span { display: block; font-size: var(--text-xs); color: var(--text-2); margin-bottom: 2px; }
.cr-ytbox a { word-break: break-all; }
@media (max-width: 720px) { .cr-ytname { max-width: 200px; } .cr-pickbar .cr-pickacts { margin-left: 0; } }
.cr-card[aria-pressed] .cr-st { top: 38px; }
.rv-grp { margin-left: 8px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font: inherit; font-size: var(--text-2xs); font-weight: 600; cursor: pointer; vertical-align: middle; opacity: 0.75; }
.rv-grp:hover, tr:hover .rv-grp { opacity: 1; border-color: var(--accent); color: var(--accent); }
.ag-title { margin-right: 36px; }
.ag-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 4px 0 10px; }
.ag-head .inline-search { flex: 1 1 200px; max-width: 320px; }
.ag-list { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 560px); overflow: auto; border-top: 1px solid var(--border); }
.ag-row { border-bottom: 1px solid var(--border); }
.ag-row.is-off .ag-name { color: var(--text-2); }
.ag-link { display: flex; gap: 12px; align-items: center; padding: 10px 6px; color: inherit; text-decoration: none; border-radius: var(--radius); }
.ag-link:hover { background: var(--surface-2); }
.ag-main { flex: 1 1 auto; min-width: 0; }
.ag-name { font-weight: 600; margin-bottom: 4px; }
.ag-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ag-num { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 720px) { .ag-link { flex-wrap: wrap; } .ag-num { text-align: left; } .rv-grp { margin-left: 4px; } }
.pl-state { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; flex-wrap: wrap; }
.mini>i[data-h="12"]{height:12%}.mini>i[data-h="13"]{height:13%}.mini>i[data-h="14"]{height:14%}.mini>i[data-h="15"]{height:15%}.mini>i[data-h="16"]{height:16%}.mini>i[data-h="17"]{height:17%}.mini>i[data-h="18"]{height:18%}.mini>i[data-h="19"]{height:19%}.mini>i[data-h="20"]{height:20%}.mini>i[data-h="21"]{height:21%}.mini>i[data-h="22"]{height:22%}.mini>i[data-h="23"]{height:23%}.mini>i[data-h="24"]{height:24%}.mini>i[data-h="25"]{height:25%}.mini>i[data-h="26"]{height:26%}.mini>i[data-h="27"]{height:27%}.mini>i[data-h="28"]{height:28%}.mini>i[data-h="29"]{height:29%}.mini>i[data-h="30"]{height:30%}.mini>i[data-h="31"]{height:31%}.mini>i[data-h="32"]{height:32%}.mini>i[data-h="33"]{height:33%}.mini>i[data-h="34"]{height:34%}.mini>i[data-h="35"]{height:35%}.mini>i[data-h="36"]{height:36%}.mini>i[data-h="37"]{height:37%}.mini>i[data-h="38"]{height:38%}.mini>i[data-h="39"]{height:39%}.mini>i[data-h="40"]{height:40%}.mini>i[data-h="41"]{height:41%}.mini>i[data-h="42"]{height:42%}.mini>i[data-h="43"]{height:43%}.mini>i[data-h="44"]{height:44%}.mini>i[data-h="45"]{height:45%}.mini>i[data-h="46"]{height:46%}.mini>i[data-h="47"]{height:47%}.mini>i[data-h="48"]{height:48%}.mini>i[data-h="49"]{height:49%}.mini>i[data-h="50"]{height:50%}.mini>i[data-h="51"]{height:51%}.mini>i[data-h="52"]{height:52%}.mini>i[data-h="53"]{height:53%}.mini>i[data-h="54"]{height:54%}.mini>i[data-h="55"]{height:55%}.mini>i[data-h="56"]{height:56%}.mini>i[data-h="57"]{height:57%}.mini>i[data-h="58"]{height:58%}.mini>i[data-h="59"]{height:59%}.mini>i[data-h="60"]{height:60%}.mini>i[data-h="61"]{height:61%}.mini>i[data-h="62"]{height:62%}.mini>i[data-h="63"]{height:63%}.mini>i[data-h="64"]{height:64%}.mini>i[data-h="65"]{height:65%}.mini>i[data-h="66"]{height:66%}.mini>i[data-h="67"]{height:67%}.mini>i[data-h="68"]{height:68%}.mini>i[data-h="69"]{height:69%}.mini>i[data-h="70"]{height:70%}.mini>i[data-h="71"]{height:71%}.mini>i[data-h="72"]{height:72%}.mini>i[data-h="73"]{height:73%}.mini>i[data-h="74"]{height:74%}.mini>i[data-h="75"]{height:75%}.mini>i[data-h="76"]{height:76%}.mini>i[data-h="77"]{height:77%}.mini>i[data-h="78"]{height:78%}.mini>i[data-h="79"]{height:79%}.mini>i[data-h="80"]{height:80%}.mini>i[data-h="81"]{height:81%}.mini>i[data-h="82"]{height:82%}.mini>i[data-h="83"]{height:83%}.mini>i[data-h="84"]{height:84%}.mini>i[data-h="85"]{height:85%}.mini>i[data-h="86"]{height:86%}.mini>i[data-h="87"]{height:87%}.mini>i[data-h="88"]{height:88%}.mini>i[data-h="89"]{height:89%}.mini>i[data-h="90"]{height:90%}.mini>i[data-h="91"]{height:91%}.mini>i[data-h="92"]{height:92%}.mini>i[data-h="93"]{height:93%}.mini>i[data-h="94"]{height:94%}.mini>i[data-h="95"]{height:95%}.mini>i[data-h="96"]{height:96%}.mini>i[data-h="97"]{height:97%}.mini>i[data-h="98"]{height:98%}.mini>i[data-h="99"]{height:99%}.mini>i[data-h="100"]{height:100%}
.mc-list { display: grid; gap: 4px; max-height: 50vh; overflow: auto; margin: 10px 0 6px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.mc-row { display: flex; align-items: flex-start; gap: 8px; padding: 3px 0; }
.mc-row span { overflow-wrap: anywhere; }
#mn-admob, #mn-urlpick { margin-top: 6px; }
.crumb { margin-bottom: 2px; }
.mc-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.mc-toolbar .inline-search { min-width: 240px; flex: 1 1 240px; }
.mc-toolbar .spacer { flex: 1; }
.mc-toolbar .seg .n { font-size: 11px; color: var(--text-3); margin-left: 4px; }
.mc-toolbar .seg .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); margin-right: 6px; vertical-align: 1px; }
.mc-toolbar .seg .dot.on { background: var(--pos, #16a34a); }
.mc-bulk { gap: 8px; }
.mc-tbl .c-chk, .mc-tbl .c-tog { width: 36px; }
.mc-tbl .c-tog .tg { margin-right: 0; }
.mc-tbl .c-id { font-size: var(--text-xs); }
.mc-tbl .mc-name { font: inherit; font-weight: 500; color: var(--text); text-align: left; padding: 0; }
.mc-tbl .mc-name:hover { color: var(--accent); }
.mc-tbl .mc-edit { vertical-align: middle; margin-left: 4px; width: 22px; height: 22px; }
.mc-tbl tr.is-off td { color: var(--text-3); }
.mc-tbl tr.is-off td .tag { opacity: 0.85; }
.mc-bal { padding: 6px 0; }
.md-ad { padding-left: 28px !important; }
@media (max-width: 720px) { .mc-tbl .c-id { display: none; } }
.ms-h { font-size: var(--text-sm); font-weight: 600; margin: 14px 0 6px; }
.ms-list { max-height: 260px; }
.ms-row { display: flex; align-items: flex-start; gap: 8px; }
.ms-bmrow { align-items: flex-start; }
.ms-bmrow .grow { flex: 1; }
.md-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; align-items: start; }
.md-left { position: sticky; top: 12px; }
.md-tools { display: grid; gap: 8px; }
.md-tools .seg { display: flex; }
.md-tools .seg button { flex: 1; }
.md-list { list-style: none; margin: 0; padding: 4px 6px 8px; max-height: 60vh; overflow: auto; }
.md-item { display: grid; grid-template-columns: 10px 1fr; column-gap: 8px; width: 100%; text-align: left; padding: 8px 10px; border: 0; background: transparent; border-radius: var(--radius-md); font: inherit; color: var(--text); cursor: pointer; }
.md-item:hover { background: var(--surface-2); }
.md-item.on { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.md-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); margin-top: 6px; }
.md-item .dot.on { background: var(--pos, #16a34a); }
.md-item .md-name { font-weight: 500; overflow-wrap: anywhere; }
.md-item .small { grid-column: 2; }
.md-empty { padding: 8px 14px 14px; }
.md-blank .panel-body { padding: 48px 20px; text-align: center; }
@media (max-width: 900px) { .md-grid { grid-template-columns: 1fr; } .md-left { position: static; } .md-list { max-height: 40vh; } }
.mn-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.mn-main { display: grid; gap: 14px; min-width: 0; }
.mn-side { position: sticky; top: 12px; }
.mn-step { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent, #fff); font-size: 12px; font-weight: 700; flex: none; }
.mn-lv2 { margin-left: 22px; }
.mn-lv3 { margin-left: 44px; }
.mn-lv1, .mn-lv2, .mn-lv3 { border-left: 3px solid var(--accent); }
.mn-lv2 { border-left-color: color-mix(in srgb, var(--accent) 65%, var(--border)); }
.mn-lv3 { border-left-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.mn-cr-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.mn-tree { display: grid; gap: 6px; font-size: var(--text-sm); }
.mn-node { display: grid; gap: 2px; padding: 8px 10px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-2); position: relative; }
.mn-node b { font-weight: 600; overflow-wrap: anywhere; }
.mn-node small { color: var(--text-2); overflow-wrap: anywhere; }
.mn-node.lv2 { margin-left: 14px; }
.mn-node.lv3 { margin-left: 28px; }
.mn-node.lv2::before, .mn-node.lv3::before { content: ""; position: absolute; left: -10px; top: 50%; width: 8px; height: 1px; background: var(--border-strong); }
.mn-node.empty { border-style: dashed; background: transparent; }
.mn-tag { font-size: var(--text-2xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--accent-text, var(--accent)); }
.mn-cr li > span:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.mn-adno { font-weight: 600; color: var(--text-2); font-size: var(--text-xs); }
.mn-up { display: inline-block; width: 120px; height: 6px; border-radius: 999px; background: var(--surface-3, var(--border)); overflow: hidden; }
.mn-up i { display: block; height: 100%; background: var(--accent); transition: width var(--dur) var(--ease-out); }
.mn-cr .err { color: var(--danger, #d33); }
@media (max-width: 1000px) { .mn-grid { grid-template-columns: 1fr; } .mn-side { position: static; } .mn-lv2, .mn-lv3 { margin-left: 0; } }
html[data-read] { --text-2xs: 12px; --text-xs: 13px; --text-sm: 14px; --text-base: 15px; --text-lg: 17px; --text-xl: 21px; --text-2xl: 25px; }
html[data-read] .num, html[data-read] .tbl.num td, html[data-read] .tile b, html[data-read] .row-sub .num, html[data-read] .dlt, html[data-read] .acct-chip, html[data-read] .count-badge, html[data-read] .pager-pos { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-feature-settings: "tnum", "cv11"; letter-spacing: 0; }
html[data-read] .tbl td, html[data-read] .tbl th { font-size: var(--text-sm); }
html[data-read] .seg button { font-size: var(--text-sm); height: 28px; }
.mn-lv1 .panel-head > h2, .mn-lv2 .panel-head > h2, .mn-lv3 .panel-head > h2 { flex: 1; }
.gate-legal { margin: 14px 0 0; text-align: center; } .gate-legal a { color: inherit; }
.md-pick { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.md-pick .field { margin: 0; min-width: 200px; }
.md-pick .field > span { display: flex; gap: 4px; }
.md-pick select { max-width: 280px; }
.md-tools > .btn.primary { width: 100%; justify-content: center; height: 40px; border-radius: 999px; font-size: var(--text-base); }
.mb-tree { padding: 6px 8px 4px; }
.mb-node { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 8px 10px; border: 1px solid transparent; background: transparent; border-radius: var(--radius-md); font: inherit; color: var(--text); cursor: pointer; }
.mb-node:hover { background: var(--surface-2); }
.mb-node.on { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.mb-camp { border: 1px dashed color-mix(in srgb, #d97706 60%, transparent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.mb-tx { display: grid; min-width: 0; }
.mb-tx b, .mb-tx i { overflow-wrap: anywhere; font-weight: 500; }
.mb-tx i { color: var(--text-2); }
.mb-tx small { color: var(--text-3); font-size: var(--text-2xs); }
.mb-ic { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-sm); color: var(--text-2); font-size: 13px; }
.mb-ic svg { width: 16px; height: 16px; }
.mb-ic-set { background: color-mix(in srgb, #8b5cf6 14%, transparent); color: #7c3aed; }
.mb-ic-ad { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #b45309; font-size: 10px; }
.mb-dot { width: 8px; height: 8px; border-radius: 50%; background: #d97706; }
.mb-ok { color: var(--pos, #16a34a); font-weight: 700; }
.mb-new { font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, #f59e0b 18%, transparent); color: #b45309; }
.mb-kids { margin-left: 18px; padding-left: 10px; border-left: 1px solid var(--border); display: grid; gap: 2px; margin-top: 4px; }
.mb-add { display: block; text-align: left; border: 0; background: none; color: var(--accent); font: inherit; font-size: var(--text-sm); padding: 6px 10px; cursor: pointer; }
.mb-add.muted { color: var(--text-3); cursor: default; }
.mb-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.mb-step { display: flex; align-items: center; gap: 12px; text-align: left; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); font: inherit; color: var(--text); cursor: pointer; min-height: 84px; }
.mb-step:hover { border-color: var(--border-strong); }
.mb-step.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.mb-step b { display: block; font-weight: 600; }
.mb-step small { display: block; font-size: var(--text-xs); line-height: 1.55; }
.mb-step.bad small { color: var(--danger, #dc2626); }
.mb-step.ok small { color: var(--text-2); }
.mb-num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); font-weight: 700; }
.mb-step.ok .mb-num { background: color-mix(in srgb, var(--pos, #16a34a) 14%, transparent); color: var(--pos, #16a34a); }
.mb-editor { padding: 0; }
.mb-ehead { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.mb-ehead small { color: var(--text-3); font-size: var(--text-xs); }
.mb-ehead h2 { font-size: var(--text-lg); font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.mb-eic { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--surface-2); flex: none; }
.mb-eic-s { background: color-mix(in srgb, #8b5cf6 14%, transparent); color: #7c3aed; }
.mb-eic-a { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #b45309; }
.mb-eacts { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.danger-text { color: var(--danger, #dc2626); }
.warn-text { color: #d97706; font-weight: 600; }
.mb-sec { padding: 16px 20px; border-bottom: 1px solid var(--border); display: grid; gap: 12px; }
.mb-sec:last-child { border-bottom: 0; }
.mb-sec h3 { margin: 0; font-size: var(--text-sm); font-weight: 600; color: var(--text-2); }
.mb-sec .field { margin: 0; }
.mb-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.mb-row .grow { flex: 1 1 320px; }
.mb-toggle { display: inline-flex; align-items: center; gap: 8px; height: 32px; font-weight: 500; color: var(--text-3); }
.mb-toggle .cur { color: var(--text); }
.mb-toggle .cur.on { color: var(--accent); }
.switch { appearance: none; width: 40px; height: 22px; border-radius: 999px; background: var(--border-strong); position: relative; cursor: pointer; transition: background var(--dur-fast); margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform var(--dur-fast) var(--ease-out); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(18px); }
.mb-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 36px; padding: 4px 8px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); cursor: text; }
.mb-chips:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.mb-chips.dis { background: var(--surface-2); cursor: not-allowed; }
.mb-chips .chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 4px 2px 8px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); font-size: var(--text-xs); }
.mb-chips .chip button { border: 0; background: none; color: var(--text-3); cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px; }
.mb-chipin { flex: 1; min-width: 160px; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent; height: 26px; padding: 0 !important; font: inherit; }
.mb-sec .field { position: relative; }
.mb-drop { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin-top: 4px; max-height: 260px; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 4px; }
.mb-dropit { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 6px 10px; border-radius: var(--radius-sm); font: inherit; color: var(--text); cursor: pointer; }
.mb-dropit:hover, .mb-dropit.hi { background: var(--surface-2); }
.mb-dropmsg { padding: 8px 10px; color: var(--text-3); font-size: var(--text-sm); }
.mb-adgrid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 20px; }
.mb-crcol { display: grid; gap: 8px; align-content: start; }
.mb-crbox { display: grid; justify-items: center; align-content: center; gap: 4px; text-align: center; min-height: 300px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-2); overflow: hidden; }
.mb-crbox.empty { border: 1px dashed var(--danger, #dc2626); color: var(--danger, #dc2626); font-size: 28px; }
.mb-crbox.empty b, .mb-crbox.empty small { font-size: var(--text-xs); font-weight: 500; }
.mb-crbox.err { border-color: var(--danger, #dc2626); }
.mb-crbox img { width: 100%; max-height: 220px; object-fit: contain; border-radius: var(--radius-md); background: #000; }
.mb-crk { font-size: 40px; }
.mb-crn { font-size: var(--text-sm); overflow-wrap: anywhere; }
.mb-crbox small { color: var(--text-3); font-size: var(--text-2xs); }
.mb-crbox .err { color: var(--danger, #dc2626); }
.mb-crmode { display: flex; }
.mb-crmode button { flex: 1; }
.mb-crbtn { justify-content: flex-start; width: 100%; }
.mb-adform { display: grid; gap: 14px; align-content: start; }
.mb-adform .field { margin: 0; }
select.need { border-color: var(--danger, #dc2626); }
.mb-adform small.err, .mb-sec small.err { color: var(--danger, #dc2626); }
.mb-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 60vh; overflow: auto; }
.mb-libit { display: grid; gap: 4px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; position: relative; }
.mb-libit input { position: absolute; top: 12px; left: 12px; }
.mb-libit img { width: 100%; aspect-ratio: 9/16; max-height: 160px; object-fit: cover; border-radius: var(--radius-sm); background: #000; }
.mb-libit b { font-size: var(--text-xs); font-weight: 500; overflow-wrap: anywhere; }
.mb-libit small { color: var(--text-3); font-size: var(--text-2xs); }
.mb-spacer { height: 80px; }
.mb-bar { position: fixed; z-index: 40; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(820px, calc(100vw - 32px)); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: var(--radius-xl); background: #18181b; color: #fafafa; box-shadow: var(--shadow-lg); }
.mb-bic { flex: none; opacity: 0.8; }
.mb-btx { flex: 1; min-width: 0; display: grid; }
.mb-btx b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-btx small { color: #fca5a5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--text-xs); }
.mb-bar .btn.ghost-light { background: transparent; color: #fafafa; border-color: transparent; }
.mb-bar .btn.ghost-light:hover { background: rgba(255, 255, 255, 0.08); }
.mb-bar .btn.primary[disabled] { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 1100px) { .mb-steps { grid-template-columns: 1fr; } .mb-adgrid { grid-template-columns: 1fr; } .mb-crbox { min-height: 160px; } }
.mb-btx small.ok { color: #86efac; }
input[type="checkbox"].switch { appearance: none; -webkit-appearance: none; flex: none; width: 40px; height: 22px; min-width: 40px; padding: 0; border: 0; display: inline-block; vertical-align: middle; }
.mb-bar button.btn.ghost-light { background: transparent; color: #fafafa; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: none; }
.mb-crmode button { white-space: nowrap; padding: 0 6px; font-size: var(--text-xs); }
.md-grid.drafting { padding-bottom: 90px; }
.mc-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 320px); gap: 8px; margin-bottom: 8px; } .mc-filters select { max-width: 100%; } .mb-bulk { display: flex; justify-content: flex-end; } .mb-bulkf label b { font-weight: 500; overflow-wrap: anywhere; } .mb-store { word-break: break-all; margin: 0; } @media (max-width: 600px) { .mc-filters { grid-template-columns: 1fr; } }
.cr-view .cr-poster { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0.85; }
.mb-sec.mb-need { background: color-mix(in srgb, var(--danger, #dc2626) 5%, transparent); } .mb-sec h3 .err { color: var(--danger, #dc2626); font-weight: 600; } .mb-drop { max-height: 320px; }
.nav-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; vertical-align: middle; }
.nav a[aria-current="page"] .nav-badge { background: #dc2626; }
.ab-tiles .tile-alert b { color: #dc2626; }
.ab-tiles .ab-rules b { font-size: var(--text-sm); font-family: var(--font-sans); font-weight: 600; }
.ab-tiles .ab-rules small { display: block; margin-top: 2px; }
.ab-list tr.ab-alert td:first-child { box-shadow: inset 3px 0 0 #dc2626; }
.ab-acts { white-space: nowrap; }
.ab-acts .btn + .btn { margin-left: 6px; }
.toast.toast-link { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.spy-form { display: flex; gap: 10px; align-items: center; }
.spy-form input[type="text"] { flex: 1; min-width: 0; height: var(--control-h); padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; }
.spy-form input[type="text"]:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; vertical-align: -2px; animation: spy-spin 0.8s linear infinite; }
@keyframes spy-spin { to { transform: rotate(360deg); } }
.spy-main > * + * { margin-top: 16px; }
.spy-seed { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spy-ico { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; background: var(--surface-2); flex: none; }
.spy-app { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.spy-app > span { display: flex; flex-direction: column; line-height: 1.25; }
.spy-app:hover b { text-decoration: underline; }
.spy-pubs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.spy-pub { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); }
.spy-pub.is-reseller { opacity: 0.6; }
.spy-pub code { font-size: 12px; }
.spy-apps td.left { max-width: 260px; }
.spy-via .tag { margin: 1px 2px 1px 0; }
tr.spy-unsure td { opacity: 0.7; }
.spy-form textarea { flex: 1; min-width: 0; min-height: calc(var(--control-h) + 14px); padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; resize: vertical; }
.spy-form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.spy-note { margin-top: 8px; }
.spy-form input[type='text'] { flex: 1; min-width: 0; }
.spy-pubhead code { font-size: 1.15rem; font-weight: 600; }
.spy-store .panel-head h2 a { color: inherit; }
.spy-pubbtn { margin: 0 6px 6px 0; }
.spy-pub.is-mine { border-color: color-mix(in srgb, var(--pos, #16a34a) 50%, transparent); background: color-mix(in srgb, var(--pos, #16a34a) 10%, transparent); }
.spy-pub a { color: inherit; text-decoration: none; }
.spy-pub a:hover code { text-decoration: underline; }
td.spy-pubcell { max-width: 340px; white-space: normal; }
td.spy-pubcell .spy-pub { margin: 1px 2px 1px 0; }
.spy-crawl select, #spy-pk, #spy-dk, #spy-mk { width: auto; }
.spy-apps code, .spy-pub code, td code.spy-id { white-space: nowrap; }
.spy-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.spy-status > div:first-child { flex: 1; min-width: 240px; }
.spy-run, .spy-crawl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spy-crawl select { height: var(--control-h); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; padding: 0 8px; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline dotted; }
.linkish:hover { text-decoration: underline; }
tr.spy-sub > td { background: var(--surface-2); padding: 8px 12px; }
tr.spy-sub .tablewrap { margin: 0; }
.tile b.pos { color: var(--pos, #16a34a); }
.tile b.neg { color: var(--danger, #dc2626); }
.mb-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.mb-tools .mb-keys { margin-left: auto; }
.mb-tools .btn.primary-soft { background: color-mix(in srgb, var(--accent) 12%, transparent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); color: var(--accent); }
.mb-saved { color: var(--pos, #16a34a); font-size: 9px; vertical-align: middle; }
.mb-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.mb-preview { padding: 14px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px 24px; align-items: start; }
.mb-preview .mb-pv-head { grid-column: 1 / -1; margin-bottom: 0; }
.md-grid.drafting { grid-template-columns: 280px minmax(0, 1fr); }
.mb-two .mb-row .grow { flex-basis: 220px; }
.mb-two .mb-adform input:not([type='checkbox']), .mb-two .mb-adform select, .mb-two .mb-adform textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
@media (min-width: 1640px) {
.mb-two { grid-template-columns: minmax(0, 1fr) 330px; }
.mb-preview { position: sticky; top: 12px; grid-template-columns: 1fr; }
}
.mb-pv-head { font-weight: 600; font-size: var(--text-sm); margin-bottom: 10px; }
.mb-pv-card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; font-size: var(--text-xs); }
.mb-pv-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.mb-pv-top b { display: block; font-size: var(--text-sm); }
.mb-pv-top small { color: var(--text-3); }
.mb-pv-avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; flex: none; }
.mb-pv-text { padding: 0 12px 10px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 120px; overflow: auto; }
.mb-pv-media { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #000; }
.mb-pv-media.ph, .mb-pv-media.empty { display: grid; place-items: center; align-content: center; gap: 6px; background: var(--surface-2); color: var(--text-3); font-size: 34px; }
.mb-pv-media.ph small, .mb-pv-media.empty { font-size: var(--text-xs); padding: 0 12px; text-align: center; overflow-wrap: anywhere; }
.mb-pv-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--surface-2); }
.mb-pv-foot small { display: block; color: var(--text-3); text-transform: uppercase; font-size: var(--text-2xs); }
.mb-pv-foot b { display: block; overflow-wrap: anywhere; }
.mb-pv-cta { flex: none; padding: 6px 12px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border-strong); font-weight: 600; }
.mb-pv-sum { display: grid; gap: 6px; margin-top: 12px; font-size: var(--text-xs); }
.mb-pv-sum > div { display: flex; justify-content: space-between; gap: 10px; }
.mb-pv-sum span { color: var(--text-3); flex: none; }
.mb-pv-sum b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.mb-ready { color: var(--pos, #16a34a); }
.mp-save { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 8px; }
.rows .row.on { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.mbk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.mbk-grid h3 { margin: 12px 0 6px; font-size: var(--text-sm); }
.mbk-grid h3:first-child { margin-top: 0; }
.mbk-accs { max-height: 46vh; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 6px 10px; }
.mbk-bm > b { display: block; margin: 8px 0 4px; font-size: var(--text-xs); color: var(--text-2); text-transform: uppercase; letter-spacing: 0.03em; }
.mbk-acc { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 8px; align-items: center; padding: 4px 0; }
.mbk-acc label { display: flex; align-items: center; gap: 8px; min-width: 0; cursor: pointer; }
.mbk-acc select { height: var(--control-h-sm); font-size: var(--text-xs); }
.mbk-acc small { display: block; }
#mbk-geo, #mbk-name { width: 100%; }
.tbl tr.is-err td { background: color-mix(in srgb, var(--danger, #dc2626) 6%, transparent); }
@media (max-width: 1100px) { .mb-preview { grid-template-columns: 1fr; } .mbk-grid { grid-template-columns: 1fr; } .mb-tools .mb-keys { display: none; } }
dialog .row-acts { opacity: 1; }
.mp-code input { width: 100px; }
.fb-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); margin-right: 6px; vertical-align: 1px; }
.fb-dot.live { background: var(--pos, #16a34a); }
.fb-dot.die { background: var(--danger, #dc2626); }
.fb-dot.other { background: var(--warn, #d97706); }
.fb-pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); font-size: var(--text-xs); white-space: nowrap; }
.fb-pill.live { color: var(--pos, #16a34a); background: color-mix(in srgb, var(--pos, #16a34a) 12%, transparent); }
.fb-pill.die { color: var(--danger, #dc2626); background: color-mix(in srgb, var(--danger, #dc2626) 10%, transparent); }
.fb-pill.other { color: var(--warn, #d97706); background: color-mix(in srgb, var(--warn, #d97706) 12%, transparent); }
.fb-tbl td.zero, .fb-tbl .zero { color: var(--text-3); }
.num-live { color: var(--pos, #16a34a); font-weight: 600; }
.num-die { color: var(--danger, #dc2626); font-weight: 600; }
.num-other { color: var(--warn, #d97706); font-weight: 600; }
.fb-tbl tr.fb-grp td { background: var(--surface-2); font-weight: 500; }
.fb-tbl tr.fb-click { cursor: pointer; }
.fb-tbl tr.fb-click:hover td { background: var(--surface-hover); }
.fb-tbl tr.on td { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.fb-tbl th.fb-sort { cursor: pointer; user-select: none; }
.fb-chart { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.fb-bar { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 4px; }
.fb-bar i { display: block; width: 100%; min-height: 1px; background: var(--accent); border-radius: 3px 3px 0 0; opacity: 0.85; }
.fb-bar small { font-size: 9px; color: var(--text-3); margin-top: 3px; }
.fb-share { display: inline-block; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 35%, transparent); margin-right: 8px; vertical-align: middle; }
.fb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fb-chip { font: inherit; font-size: var(--text-xs); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.fb-chip.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.fb-exs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.fb-ex { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.fb-exim { position: relative; width: 96px; height: 96px; border-radius: var(--radius-md); background: var(--surface-2); display: grid; place-items: center; overflow: hidden; text-align: center; }
.fb-exim img { width: 100%; height: 100%; object-fit: cover; }
.fb-cnt { position: absolute; right: 4px; bottom: 4px; padding: 1px 6px; border-radius: 999px; background: #18181b; color: #fff; font-size: var(--text-2xs); }
.fb-extx { display: grid; gap: 2px; min-width: 0; font-size: var(--text-xs); }
.fb-extx > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-pol { color: var(--danger, #dc2626); font-weight: 600; }
.fb-risk { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: var(--text-xs); font-weight: 600; }
.fb-risk.r3 { color: #fff; background: var(--danger, #dc2626); }
.fb-risk.r2 { color: #fff; background: var(--warn, #d97706); }
.fb-risk.r1 { background: var(--surface-2); }
.fb-iss { margin: 8px 0 0; padding-left: 18px; font-size: var(--text-xs); }
.fb-vacc .panel-head { flex-wrap: wrap; gap: 8px; }
.err { color: var(--danger, #dc2626); }
.fb-filters { margin: 12px 0; }
.fb-filters > .field { flex: 0 1 220px; min-width: 160px; }
.fb-filters > .seg { align-self: flex-end; }
.fb-filters > .muted { align-self: center; }
:root { --viz-1: #2a78d6; --viz-2: #eb6834; --viz-3: #1baf7a; --viz-0: #a1a1aa; --viz-pos: #0ca30c; --viz-neg: #d03b3b; --viz-grid: rgba(9, 9, 11, 0.08); --viz-axis: rgba(9, 9, 11, 0.28); }
:root[data-theme="dark"] { --viz-1: #3987e5; --viz-2: #d95926; --viz-3: #199e70; --viz-0: #71717a; --viz-grid: rgba(255, 255, 255, 0.08); --viz-axis: rgba(255, 255, 255, 0.3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --viz-1: #3987e5; --viz-2: #d95926; --viz-3: #199e70; --viz-0: #71717a; --viz-grid: rgba(255, 255, 255, 0.08); --viz-axis: rgba(255, 255, 255, 0.3); } }
.viz-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
@media (max-width: 1100px) { .viz-grid2 { grid-template-columns: minmax(0, 1fr); } }
.viz-card { margin: 0; min-width: 0; }
.viz-card.wide { margin-top: 20px; }
.viz-card figcaption { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.viz-card figcaption b { font-weight: 600; }
.viz { position: relative; width: 100%; min-height: 60px; }
.viz svg { display: block; }
.viz .s0, .viz-key.s0, .hbar i.s0 { --c: var(--viz-0); }
.viz .s1, .viz-key.s1, .hbar i.s1 { --c: var(--viz-1); }
.viz .s2, .viz-key.s2, .hbar i.s2 { --c: var(--viz-2); }
.viz .s3, .viz-key.s3, .hbar i.s3 { --c: var(--viz-3); }
.viz .pos, .viz-key.pos, .hbar i.pos { --c: var(--viz-pos); }
.viz .neg, .viz-key.neg, .hbar i.neg { --c: var(--viz-neg); }
.viz-line { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.viz-bar { fill: var(--c); }
.viz-dot { fill: var(--c); stroke: var(--surface); stroke-width: 2; }
.viz-grid { stroke: var(--viz-grid); stroke-width: 1; shape-rendering: crispEdges; }
.viz-grid.zero { stroke: var(--viz-axis); }
.viz-ref { stroke: var(--viz-axis); stroke-width: 1; shape-rendering: crispEdges; }
.viz-cross { stroke: var(--viz-axis); stroke-width: 1; shape-rendering: crispEdges; pointer-events: none; }
.viz-ax { fill: var(--text-3, #71717a); font-size: 11px; font-variant-numeric: tabular-nums; }
.viz-hit { fill: transparent; cursor: crosshair; }
.viz-hov { pointer-events: none; }
.viz-tip { position: absolute; z-index: 5; min-width: 150px; padding: 8px 10px; border: 1px solid var(--border-strong, var(--border)); border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14); font-size: var(--text-xs); pointer-events: none; white-space: nowrap; }
.viz-tip-h { font-weight: 600; margin-bottom: 4px; }
.viz-tip > div:not(.viz-tip-h) { display: flex; align-items: center; gap: 6px; }
.viz-tip b { margin-left: auto; padding-left: 14px; font-variant-numeric: tabular-nums; }
.viz-tip-t { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--border); }
.viz-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 4px; font-size: var(--text-xs); color: var(--text-2, inherit); }
.viz-legend span { display: inline-flex; align-items: center; gap: 6px; }
.viz-empty { margin: 8px 0; }
.viz-table { margin: 0 calc(-1 * var(--panel-pad, 0px)); }
.viz-panel .btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-text, var(--accent)); }
.hbars { display: grid; gap: 6px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 220px) minmax(0, 1fr) 84px; align-items: center; gap: 10px; font-size: var(--text-sm, 13px); }
.hbar-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-t { position: relative; height: 16px; }
.hbars.is-div .hbar-t::before { content: ""; position: absolute; left: var(--zero, 50%); top: -3px; bottom: -3px; width: 1px; background: var(--viz-axis); }
.hbar i { position: absolute; top: 0; height: 100%; left: 0; width: 0; min-width: 2px; border-radius: 4px; background: var(--c); }
.hbar-v { text-align: right; font-variant-numeric: tabular-nums; }
.team-field select { width: auto; min-width: 170px; }
.team-tbl .tm-name { width: 100%; min-width: 160px; height: var(--control-h); padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; }
.team-tbl td { vertical-align: top; }
.team-tbl .tm-msel { display: inline-block; }
.viz-gap { margin-top: 20px; }
.viz-panel .panel-head > .btn { margin-left: auto; }
.team-tbl .tm-msel { display: block; }
.team-tbl .tm-msel > summary { display: inline-flex; }
.team-tbl .tm-msel .msel-menu { position: static; display: block; margin: 6px 0 4px; min-width: 0; width: min(520px, 100%); max-height: none; overflow: visible; box-shadow: none; animation: none; }
.team-tbl .tm-msel .msel-list { max-height: 280px; }
.team-tbl .msel-row > label { white-space: normal; overflow: visible; flex-wrap: wrap; }
.gq-step { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--accent); color: #fff; font-size: var(--text-xs); font-weight: 600; vertical-align: 1px; }
.gq-body { display: grid; gap: 12px; }
.gq-pick { position: relative; max-width: 640px; }
.gq-pick input, .gq-pick input[type="search"] { width: 100%; max-width: none; }
.gq-sug { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 360px; overflow: auto; padding: 4px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.gq-sug button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border-radius: var(--radius-sm); text-align: left; color: var(--text); }
.gq-sug button:hover, .gq-sug button:focus-visible { background: var(--surface-hover); }
.gq-sug button > span { min-width: 0; overflow-wrap: anywhere; }
.gq-none { margin: 0; padding: 8px 10px; }
.gq-apphead { display: flex; align-items: flex-start; gap: 12px; }
.gq-apphead .app-ico { width: 40px; height: 40px; flex: none; }
#gq-app { display: grid; gap: 12px; }
.gq-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 880px; }
.gq-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gq-sub { margin-top: 4px; }
.gq-accs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2px 18px; max-height: 232px; overflow: auto; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.gq-acc { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 8px; padding: 3px 0; }
.gq-acc input { flex: none; margin-top: 3px; }
.gq-acc span { min-width: 0; overflow-wrap: anywhere; }
.gq-camp { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.gq-camp select { width: auto; min-width: 220px; }
.gq-no { display: inline-grid; place-items: center; width: 24px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.gq-stepper { display: inline-flex; align-items: center; gap: 8px; }
.gq-stepper b { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.gq-stepper .btn { min-width: 30px; padding: 0; justify-content: center; }
.gq-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gq-acts { margin-top: 6px; align-items: center; }
.gq-chsel { max-width: 640px; }
.gq-pv { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); margin-bottom: 10px; }
.gq-pv > summary { padding: 10px 14px; cursor: pointer; overflow-wrap: anywhere; }
.gq-pvbody { display: grid; gap: 12px; padding: 4px 14px 14px; }
.gq-group { display: grid; gap: 10px; padding: 12px; border: 1px dashed var(--border-strong); border-radius: var(--radius-md); background: var(--surface-2); }
.gq-group.over { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.gq-group textarea { width: 100%; font: inherit; line-height: 1.5; resize: vertical; }
.gq-dropped ul { margin: 6px 0 0; padding-left: 18px; }
.gq-vbtns { align-items: center; }
.gq-file { cursor: pointer; }
.gq-vfs { display: grid; gap: 6px; }
.gq-vf { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.gq-vfmain { flex: 1; min-width: 0; }
.gq-vfname { overflow-wrap: anywhere; font-weight: 500; }
.gq-vfst { overflow-wrap: anywhere; white-space: pre-line; }
.gq-vf progress, #gq-job progress { width: 100%; height: 6px; margin-top: 4px; accent-color: var(--accent); }
.gq-jobhead { margin-top: 10px; }
.gq-res td { vertical-align: top; }
.gq-err { white-space: pre-line; overflow-wrap: anywhere; }
.gq-sum { margin: 8px 0; padding-left: 18px; display: grid; gap: 3px; overflow-wrap: anywhere; }
.gq-enable { margin-top: 10px; }
.gq-chlist { margin: 10px 0; border: 1px solid var(--border); border-radius: var(--radius-md); }
.gq-chlist .row { display: flex; align-items: center; gap: 10px; }
.gq-chlist .row-text { flex: 1; min-width: 0; }
.gq-wide { max-width: none; width: 100%; }
.gq-acccell { vertical-align: top; }
@media (max-width: 760px) {
.gq-grid3, .gq-grid2 { grid-template-columns: minmax(0, 1fr); }
.gq-accs { grid-template-columns: minmax(0, 1fr); }
.gq-camp { flex-wrap: wrap; }
.gq-camp select { min-width: 0; flex: 1; }
}
.mb-adform { grid-template-columns: minmax(0, 1fr); }
.mb-adform > *, .mb-adform .field, .mb-adgrid > * { min-width: 0; }
.mb-adform select, .mb-adform input:not([type='checkbox']), .mb-adform textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.mb-adform select { text-overflow: ellipsis; }
.mb-adform small { overflow-wrap: anywhere; }
.mb-adgrid { grid-template-columns: minmax(160px, 220px) minmax(0, 1fr); }
@media (max-width: 1100px) { .mb-adgrid { grid-template-columns: minmax(0, 1fr); } }
.mb-editor { container-type: inline-size; }
@container (max-width: 640px) {
.mb-adgrid { grid-template-columns: minmax(0, 1fr); }
.mb-adgrid .mb-crbox { min-height: 150px; }
}
.mcp-accs { display: grid; gap: 4px; max-height: 300px; overflow: auto; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.mcp-acc { display: grid; gap: 4px; padding: 3px 0; }
.mcp-acc > label { flex-wrap: nowrap; align-items: flex-start; }
.mcp-acc > label input { flex: none; margin-top: 3px; }
.mcp-acc > label span { min-width: 0; overflow-wrap: anywhere; }
.mcp-acc select { margin-left: 24px; width: calc(100% - 24px); max-width: 520px; }
.mcp-acc small { margin-left: 24px; }
#mcp-mode { margin: 4px 0 12px; }
#mcp-result { margin-top: 10px; }
@media (min-width: 821px) {
.rail > .nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; align-content: start; scrollbar-width: thin; margin-right: -6px; padding-right: 6px; }
.rail > .brand, .rail > .rail-tools, .rail > .rail-foot { flex: none; }
.rail > .rail-foot { margin-top: 0; }
}
.cb { position: relative; }
.cb > input { width: 100%; }
.cb-list { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; max-height: 340px; overflow: auto; padding: 4px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.cb-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px; border-radius: var(--radius-sm); text-align: left; color: var(--text); }
.cb-list button > span { min-width: 0; overflow-wrap: anywhere; }
.cb-list button:hover, .cb-list button[aria-selected="true"] { background: var(--surface-hover); }
.cb-list button.is-cur { font-weight: 600; }
.cb-more { margin: 0; padding: 8px 10px; }
.panel.wz:has(.cb) { overflow: visible; }
.cb-list button, .gq-sug button { border: 0; background: none; box-shadow: none; height: auto; min-height: 34px; font: inherit; cursor: pointer; }
.cb-list button:hover, .cb-list button[aria-selected="true"], .gq-sug button:hover, .gq-sug button:focus-visible { background: var(--surface-hover); }
.tag.st-warn { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #b45309; border-color: color-mix(in srgb, #f59e0b 35%, transparent); }
:root[data-theme="dark"] .tag.st-warn { color: #fbbf24; }
.om-tiles .tile-alert b { color: #dc2626; }
.om-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.om-bar .inline-search { flex: 1 1 240px; min-width: 180px; }
.om-bar .check, .om-checks .check { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; }
.om-list td { vertical-align: top; }
.om-list tr.om-row { cursor: pointer; }
.om-list tr.om-row:hover td, .om-list tr.om-row:focus-visible td { background: var(--surface-hover); }
.om-list tr.om-new td:first-child { box-shadow: inset 3px 0 0 #f59e0b; }
.om-appcell { display: flex; align-items: flex-start; gap: 10px; min-width: 190px; }
.om-appcell > div { min-width: 0; overflow-wrap: anywhere; }
.om-clip { max-width: 260px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.om-acts { display: flex; gap: 6px; margin-top: 6px; }
.om-list th, .om-list td { padding-left: 10px; padding-right: 10px; }
.om-list td:nth-child(5) { overflow-wrap: anywhere; max-width: 150px; }
.om-list td:nth-child(8) .tag { margin: 0 2px 2px 0; display: inline-block; }
.om-form, .om-detail { display: grid; gap: 14px; }
.om-form textarea, .om-detail textarea, .om-paste, .om-grid3 textarea { width: 100%; resize: vertical; font: inherit; }
.om-form b.neg, .om-detail b.neg { color: var(--danger); }
.dlg:has(.om-form) { overflow: visible; }
.om-apphead { display: flex; align-items: center; gap: 12px; }
.om-apphead > div { min-width: 0; overflow-wrap: anywhere; }
.om-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 18px; margin: 0; }
.om-dl dt { font-size: var(--text-2xs); color: var(--text-3); }
.om-dl dd { margin: 2px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.om-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.om-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.om-grid select, .om-grid input, .om-form select, .om-form input[type="text"] { width: 100%; }
.om-detail h3 { margin: 4px 0 -4px; font-size: var(--text-sm); }
.om-lab { display: block; margin-bottom: 6px; font-size: var(--text-xs); color: var(--text-2); }
.om-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.om-hist summary { cursor: pointer; color: var(--text-2); font-size: var(--text-xs); }
.om-hist ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; max-height: 200px; overflow: auto; }
.om-prev { max-height: 320px; overflow: auto; margin-top: 10px; }
.om-paste { font-family: var(--font-mono, monospace); font-size: var(--text-xs); white-space: pre; }
.dlg-acts .om-left { margin-right: auto; }
@media (max-width: 640px) { .om-grid, .om-grid3 { grid-template-columns: 1fr; } }
.dlg:has(.om-paste) > *, .dlg:has(.om-grid3) > * { min-width: 0; max-width: 100%; }
.om-paste { overflow: auto; box-sizing: border-box; }
.om-bar .seg { max-width: 100%; overflow-x: auto; }
.om-bar .seg button { white-space: nowrap; flex: none; }
.pm-tbl th.pm-group { text-align: center; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); border-bottom: 1px solid var(--border); padding-top: 6px; padding-bottom: 6px; }
.pm-tbl th.pm-g0, .pm-tbl td.pm-g0 { box-shadow: inset 1px 0 0 var(--border-strong); }
.pm-tbl .pm-role { white-space: nowrap; }
.pm-role-sel { height: 28px; min-width: 150px; max-width: 190px; }
.scope-chip.scope-none { border-style: solid; border-color: var(--danger); color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, transparent); }
.scope-chip.scope-all { border-style: solid; border-color: color-mix(in srgb, #f59e0b 60%, transparent); color: #b45309; background: color-mix(in srgb, #f59e0b 12%, transparent); }
:root[data-theme="dark"] .scope-chip.scope-all { color: #fbbf24; }
.pa-all { align-items: flex-start; margin-bottom: 10px; }
.tag.st-review { background: color-mix(in srgb, #8b5cf6 15%, transparent); color: #6d28d9; border-color: color-mix(in srgb, #8b5cf6 35%, transparent); }
:root[data-theme="dark"] .tag.st-review { color: #c4b5fd; }
.tag.st-rej { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.om-list tr.om-review td:first-child { box-shadow: inset 3px 0 0 #8b5cf6; }
.gt-form { display: grid; gap: 14px; }
.gt-form input[type="text"], .gt-lead input { width: 100%; }
.gt-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; max-height: 180px; overflow: auto; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.gt-checks .check { display: flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; cursor: pointer; }
.gt-members { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 4px; }
.gt-lead { gap: 8px; margin-bottom: 6px; }
.gt-lead input { flex: 1 1 auto; }
.gt-tbl td { vertical-align: top; overflow-wrap: anywhere; }
.mc-box { border-top: 1px solid var(--border); display: grid; gap: 10px; }
.mc-box h3 { margin: 0; font-size: var(--text-sm); }
.mc-form { gap: 8px; flex-wrap: wrap; }
.mc-form input { flex: 1 1 240px; max-width: 340px; }
.mc-bm { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; margin-bottom: 8px; }
.mc-bm summary { cursor: pointer; }
.mc-list { margin: 4px 0 8px; padding-left: 18px; display: grid; gap: 3px; max-height: 260px; overflow: auto; }
.mc-tbl td { vertical-align: top; overflow-wrap: anywhere; }
