@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2) format("woff2-variations");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:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-wght-normal-BgDaEnEv.woff2) format("woff2-variations");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:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-cyrillic-ext-wght-normal-X_5orZeX.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-cyrillic-wght-normal-DiZS0aHC.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-symbols2-wght-normal-CO5SzqOn.woff2) format("woff2-variations");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-vietnamese-wght-normal-DadHysG0.woff2) format("woff2-variations");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:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-latin-ext-wght-normal-Bwz-egvJ.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2) format("woff2-variations");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}:root{--bg: #f5f5f2;--surface: #ffffff;--soft: #fafaf7;--soft-2: #f3f4ef;--soft-3: #f0f1ec;--ink: #101412;--ink-2: #3a433c;--muted: #6b726d;--faint: #8a908b;--line: #e9e9e4;--line-2: #e4e5df;--line-3: #f0f0eb;--accent: #d4f36b;--accent-ring: rgba(212, 243, 107, .55);--elec: #f5b445;--elec-bg: #fff4db;--elec-fg: #8a5300;--water: #6ea8fe;--water-bg: #e6f0ff;--water-fg: #1e4fb8;--pending-bg: #fff1de;--pending-fg: #8a4b00;--ok: #7cb518;--ok-bg: #eef7dc;--ok-fg: #3d6b00;--danger: #c92a2a;--danger-bg: #fff0f0;--radius-lg: 22px;--radius: 14px;--radius-sm: 10px;--shadow: 0 1px 2px rgba(16, 20, 18, .04);--shadow-dark: 0 12px 32px rgba(16, 20, 18, .16);--font: "Geist Variable", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;--mono: "Geist Mono Variable", ui-monospace, "SF Mono", Menlo, monospace;color-scheme:light}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}a{color:inherit}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}h1,h2,h3{margin:0}:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.faint{color:var(--faint)}.app{min-height:100vh;display:flex;align-items:stretch}.sidebar-wrap{flex:0 0 264px;padding:16px 0 16px 16px;position:sticky;top:0;height:100vh}.sidebar{height:100%;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);padding:18px 12px;display:flex;flex-direction:column;gap:22px;box-shadow:var(--shadow);overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;padding:0 6px;text-decoration:none}.brand-mark{width:34px;height:34px;border-radius:10px;background:var(--ink);color:var(--accent);display:grid;place-items:center;flex:none}.brand-text{display:flex;flex-direction:column}.brand-name{font-size:16px;font-weight:700;letter-spacing:-.01em}.brand-sub{font-size:11px;color:var(--muted)}.nav-group{display:flex;flex-direction:column;gap:2px}.nav-title{font-size:11px;font-weight:500;color:var(--muted);letter-spacing:.04em;padding:0 10px 6px}.nav-link{height:40px;padding:0 10px;border-radius:var(--radius-sm);color:var(--ink-2);display:flex;align-items:center;gap:10px;text-decoration:none;font-size:14px;font-weight:500}.nav-link:hover{background:var(--soft-2)}.nav-link[aria-current=page]{background:var(--soft-3);color:var(--ink);font-weight:600}.nav-link .label{flex:1}.nav-badge{font-size:11px;font-weight:600;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--pending-bg);color:var(--pending-fg);display:grid;place-items:center}.rate-panel{margin-top:auto;background:#f7f7f3;border:1px solid #eeeee9;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px}.rate-panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rate-chip{background:var(--surface);border-radius:var(--radius-sm);padding:8px 10px;display:flex;flex-direction:column;gap:2px;text-decoration:none}.rate-chip .k{font-size:11px}.rate-chip .v{font-family:var(--mono);font-size:15px;font-weight:600}.main{flex:1;min-width:0;padding:16px clamp(16px,2.6vw,36px) 48px;display:flex;flex-direction:column;gap:28px}.topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;min-height:56px}.crumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);min-width:0}.crumbs a{text-decoration:none}.crumbs a:hover{color:var(--ink)}.crumbs .here{color:var(--ink);font-weight:500}.topbar-actions{display:flex;align-items:center;gap:10px}.avatar{width:40px;height:40px;border-radius:20px;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:600;border:0;flex:none}.page-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px}.page-head-text{display:flex;flex-direction:column;gap:10px;min-width:0}.page-title{font-size:36px;font-weight:650;letter-spacing:-.035em;line-height:1.1}.page-sub{font-size:14px;color:var(--muted)}.head-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.pill{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;height:28px;padding:0 12px 0 10px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:12px;font-weight:500;color:var(--ink-2)}.dot{width:8px;height:8px;border-radius:4px;background:var(--ok);box-shadow:0 0 0 3px #7cb5182e;flex:none}.dot.warn{background:var(--elec);box-shadow:0 0 0 3px #f5b44533}.grid-kpi{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:16px}.split{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}.split>.primary{flex:999 1 640px;min-width:0}.split>.aside{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:16px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow)}.card-pad{padding:22px}.card-dark{background:var(--ink);color:#fff;border:0;box-shadow:var(--shadow-dark)}.card-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px}.card-title{font-size:18px;font-weight:600;letter-spacing:-.01em}.card-title-sm{font-size:15px;font-weight:600}.card-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:16px 20px;background:var(--soft);font-size:13px;border-radius:0 0 var(--radius-lg) var(--radius-lg)}.kpi{display:flex;flex-direction:column;gap:18px}.kpi-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.card-dark .kpi-top{color:#a3aba5}.kpi-value{font-family:var(--mono);font-size:34px;font-weight:600;letter-spacing:-.04em;line-height:1.1}.kpi-value small{font-size:20px;color:var(--faint);letter-spacing:-.02em}.card-dark .kpi-value small{color:#7d867f}.kpi-unit{font-family:var(--font);font-size:16px;font-weight:500;color:var(--faint);letter-spacing:0}.tag{font-size:11px;font-weight:600;padding:3px 8px;border-radius:999px;background:var(--accent);color:var(--ink);white-space:nowrap}.icon-tile{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;flex:none}.icon-tile.elec{background:var(--elec-bg);color:var(--elec-fg)}.icon-tile.water{background:var(--water-bg);color:var(--water-fg)}.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:12px}.legend span{display:inline-flex;align-items:center;gap:6px}.swatch{width:8px;height:8px;border-radius:2px;display:inline-block}.stack-bar{display:flex;height:8px;border-radius:4px;overflow:hidden;gap:2px;background:#ffffff14}.bar-row{display:flex;align-items:center;gap:10px;font-size:12px}.bar-row .name{width:56px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-track{flex:1;height:6px;border-radius:3px;background:#f3f3ef;overflow:hidden}.bar-fill{display:block;height:100%;border-radius:3px}.bar-row .num{min-width:40px;text-align:right;font-family:var(--mono)}.btn{height:40px;padding:0 14px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface);display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;font-size:13px;font-weight:600;color:var(--ink);white-space:nowrap}.btn:hover:not(:disabled){background:var(--soft-2)}.btn:disabled{opacity:.5}.btn-primary{background:var(--ink);color:#fff;border-color:var(--ink);box-shadow:0 1px 2px #10141233,inset 0 1px #ffffff14}.btn-primary:hover:not(:disabled){background:#232a26}.btn-plus{padding-left:6px}.btn-plus .plus{width:28px;height:28px;border-radius:8px;background:var(--accent);color:var(--ink);display:grid;place-items:center}.btn-sm{height:32px;padding:0 12px;border-radius:9px;font-size:12px}.btn-lg{height:52px;padding:0 20px;border-radius:14px;font-size:15px}.btn-ghost{border-color:transparent;background:transparent}.btn-danger{color:var(--danger)}.btn-accent{background:var(--accent);border-color:var(--accent);color:var(--ink)}.btn-accent:hover:not(:disabled){background:#c6e85a}.card-dark .btn-accent:disabled{background:#262c28;border-color:#262c28;color:#7d867f;opacity:1}.btn-block{width:100%}.icon-btn{width:40px;height:40px;padding:0}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field-label{font-size:13px;font-weight:600;display:flex;justify-content:space-between;gap:8px}.field-label .hint{font-weight:400;color:var(--muted);font-size:12px}.input-box{height:44px;padding:0 12px;border-radius:12px;background:var(--surface);border:1px solid var(--line-2);display:flex;align-items:center;gap:8px;color:var(--muted);min-width:0}.input-box:focus-within{border-color:var(--ink);box-shadow:0 0 0 4px var(--accent-ring)}.input-box.invalid{border-color:var(--danger)}.input-box.invalid:focus-within{box-shadow:0 0 0 4px #c92a2a26}.input-box input,.input-box select{flex:1;min-width:0;border:0;outline:none;background:transparent;color:var(--ink);font-weight:500}.input-box input::placeholder{color:var(--faint);font-weight:400}.input-box.big{height:60px;border-radius:14px;padding:0 16px}.input-box.big input{font-family:var(--mono);font-size:26px;font-weight:600;letter-spacing:-.02em}.input-box.big input::placeholder{font-family:var(--font);font-size:15px;font-weight:400;letter-spacing:0}.input-box .affix{font-size:13px;color:var(--muted);white-space:nowrap}.input-box.mono input{font-family:var(--mono)}.field-error{font-size:12px;color:var(--danger)}.field-help{font-size:12px;color:var(--muted)}.search{width:280px;max-width:100%;height:40px}.segmented{display:inline-flex;background:#f3f3ef;border-radius:var(--radius-sm);padding:3px;gap:2px}.segmented button{height:30px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #10141214}.month-switch{height:40px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface);display:inline-flex;align-items:center;padding:0 4px}.month-switch button{width:32px;height:32px;border:0;border-radius:8px;background:transparent;display:grid;place-items:center}.month-switch button:hover:not(:disabled){background:var(--soft-2)}.month-switch button:disabled{opacity:.35}.month-switch .label{padding:0 8px;font-size:13px;font-weight:600;min-width:96px;text-align:center}.table-scroll{overflow-x:auto}.t-row{display:grid;align-items:center;padding:0 20px;gap:12px}.t-head{height:40px;background:var(--soft);border-top:1px solid var(--line-3);border-bottom:1px solid var(--line-3);font-size:12px;color:var(--muted)}.t-body .t-row{min-height:66px;border-bottom:1px solid #f3f3ef;font-size:13px;padding-top:8px;padding-bottom:8px}.t-body .t-row:hover{background:var(--soft)}.t-body .t-row:last-child{border-bottom:0}.right{text-align:right;justify-content:flex-end}.room-no{min-width:44px;height:30px;padding:0 8px;border-radius:8px;background:var(--soft-2);font:600 13px var(--mono);display:inline-grid;place-items:center;white-space:nowrap}.room-no.pending{background:var(--pending-bg);color:var(--pending-fg)}.room-no.dark{background:var(--ink);color:#fff}.reading-pair{font-family:var(--mono);color:var(--ink-2);white-space:nowrap}.reading-pair .arrow{color:#a0a6a1}.usage-line{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin-top:6px}.usage-line .track{width:72px;height:4px;border-radius:2px;background:#f3f3ef;overflow:hidden;flex:none}.usage-line .fill{display:block;height:100%;border-radius:2px}.chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}.chip .d{width:6px;height:6px;border-radius:3px}.chip.saved{background:var(--soft-2);color:var(--ink)}.chip.saved .d{background:var(--ink)}.chip.pending{background:var(--pending-bg);color:var(--pending-fg)}.chip.pending .d{background:#e8590c}.chip.locked{background:#f1f1ee;color:var(--faint)}.chip.locked .d{background:#c4c8c3}.chip.ok{background:var(--ok-bg);color:var(--ok-fg)}.chip.ok .d{background:var(--ok)}.empty{padding:48px 20px;text-align:center;font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:10px;align-items:center}.empty strong{color:var(--ink);font-size:15px}.grid-buildings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:16px}.b-card{text-align:left;background:var(--surface);border:1.5px solid var(--line);border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:16px;color:var(--ink);box-shadow:var(--shadow)}.b-card:hover{border-color:#c9cdc4}.b-card[aria-pressed=true]{border-color:var(--ink);box-shadow:0 0 0 4px var(--accent-ring)}.tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.tile{height:30px;border-radius:8px;font:600 11px var(--mono);display:grid;place-items:center;overflow:hidden}.tile.saved{background:var(--ink);color:#fff}.tile.pending{background:#ffe3bf;color:var(--pending-fg)}.tile.locked{background:#ecece8;color:var(--faint)}.list-link{display:flex;align-items:center;gap:12px;padding:10px 8px;margin:0 -8px;border-radius:12px;text-decoration:none;color:var(--ink)}.list-link:hover{background:var(--soft-2)}.timeline{list-style:none;margin:0;padding:0}.timeline li{display:flex;gap:12px}.timeline .rail{display:flex;flex-direction:column;align-items:center;padding-top:5px}.timeline .node{width:8px;height:8px;border-radius:4px;background:var(--ink);box-shadow:0 0 0 3px #eef0e8}.timeline .line{flex:1;width:1px;background:#ecece7;margin-top:4px;min-height:30px}.timeline li:last-child .line{display:none}.timeline .body{flex:1;display:flex;justify-content:space-between;gap:8px;padding-bottom:14px;min-width:0}.room-hero{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.room-badge{width:64px;height:64px;border-radius:18px;background:var(--ink);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none}.room-badge .n{font:600 18px var(--mono);letter-spacing:-.02em}.room-badge .b{font-size:10px;color:#a3aba5}.meta-row{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--muted)}.meta-row b{color:var(--ink);font-weight:600}.meters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:16px}.meter{padding:20px;display:flex;flex-direction:column;gap:16px;border-radius:18px;border:1px solid var(--line);background:var(--surface)}.meter-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.meter-name{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600}.meter-name .icon-tile{width:30px;height:30px;border-radius:9px}.meter-rate{font:500 12px var(--mono);color:var(--muted)}.odometer{display:flex;align-items:center;gap:4px}.odometer .digit{min-width:28px;height:38px;padding:0 4px;border-radius:8px;background:var(--soft-2);font:600 20px var(--mono);display:grid;place-items:center}.odometer .digit.frac{background:transparent;color:var(--faint);min-width:0}.odometer .unit{margin-left:6px;font-size:13px;color:var(--muted)}.meter-calc{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding-top:14px;border-top:1px dashed var(--line-2);font-size:13px;color:var(--muted)}.meter-calc .fee{font:600 18px var(--mono);color:var(--ink)}.warn-box{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:var(--pending-bg);color:var(--pending-fg);font-size:12px;line-height:1.5}.info-box{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:var(--soft-2);color:var(--ink-2);font-size:12px;line-height:1.5}.err-box{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:var(--danger-bg);color:var(--danger);font-size:13px;line-height:1.5}.receipt{display:flex;flex-direction:column;gap:18px;position:sticky;top:16px}.receipt-total{font-family:var(--mono);font-size:44px;font-weight:600;letter-spacing:-.045em;line-height:1}.receipt-total small{font-size:24px;color:#7d867f}.receipt-lines{display:flex;flex-direction:column;gap:12px;padding:16px 0;border-top:1px dashed rgba(255,255,255,.16);border-bottom:1px dashed rgba(255,255,255,.16)}.receipt-line{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;font-size:13px}.receipt-line .k{display:flex;flex-direction:column;gap:2px}.receipt-line .k small{font:400 11px var(--mono);color:#8e978f}.receipt-line .v{font-family:var(--mono);font-weight:600;white-space:nowrap}.status-chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600}.status-chip.draft{background:#ffffff1a;color:#c5ccc6}.status-chip.saved{background:var(--accent);color:var(--ink)}.steps{display:flex;flex-wrap:wrap;gap:8px}.step{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px 0 6px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:12px;font-weight:500;color:var(--muted)}.step .mark{width:20px;height:20px;border-radius:10px;background:var(--soft-2);display:grid;place-items:center;font:600 11px var(--mono)}.step.done{color:var(--ink)}.step.done .mark{background:var(--ink);color:var(--accent)}.step.on{color:var(--ink);border-color:var(--ink)}.history-bars{display:flex;align-items:flex-end;gap:8px;height:96px}.history-bars .col{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}.history-bars .b{width:100%;max-width:28px;border-radius:6px 6px 3px 3px;background:#e8eadf}.history-bars .col.cur .b{background:var(--accent)}.history-bars .m{font-size:11px;color:var(--muted)}.months{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.month-card{flex:0 0 auto;min-width:128px;text-align:left;padding:14px;border-radius:16px;border:1.5px solid var(--line);background:var(--surface);display:flex;flex-direction:column;gap:8px}.month-card:hover{border-color:#c9cdc4}.month-card[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.month-card .top{display:flex;justify-content:space-between;gap:8px;font-size:13px;font-weight:600}.month-card .t{font-size:10px;font-weight:600;padding:2px 6px;border-radius:999px;background:var(--soft-2);color:var(--muted)}.month-card[aria-pressed=true] .t{background:var(--accent);color:var(--ink)}.month-card .v{font:600 15px var(--mono)}.trend{display:flex;align-items:flex-end;gap:10px;height:140px}.trend .col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;height:100%;min-width:0}.trend .b{width:100%;max-width:34px;border-radius:8px 8px 4px 4px;background:#e8eadf;min-height:3px}.trend .col.on .b{background:var(--ink)}.trend .v{font:500 10px var(--mono);color:var(--muted);white-space:nowrap}.trend .m{font-size:11px;color:var(--muted)}.toast-stack{position:fixed;left:50%;bottom:24px;transform:translate(-50%);display:flex;flex-direction:column;gap:8px;z-index:50;pointer-events:none;width:max-content;max-width:calc(100vw - 32px)}.toast{pointer-events:auto;display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:14px;background:var(--ink);color:#fff;font-size:13px;font-weight:500;box-shadow:var(--shadow-dark);animation:toast-in .18s ease-out}.toast.error{background:var(--danger)}.toast .ok{width:20px;height:20px;border-radius:10px;background:var(--accent);color:var(--ink);display:grid;place-items:center;flex:none}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#10141252;display:grid;place-items:center;padding:16px;z-index:40;animation:fade .15s ease-out}.modal{width:min(460px,100%);max-height:calc(100vh - 32px);overflow-y:auto;background:var(--surface);border-radius:var(--radius-lg);padding:24px;display:flex;flex-direction:column;gap:18px;box-shadow:0 24px 64px #1014123d}.modal-title{font-size:18px;font-weight:650;letter-spacing:-.01em}.modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}@keyframes fade{0%{opacity:0}}.skeleton{background:linear-gradient(90deg,#efefea,#f6f6f2,#efefea);background-size:200% 100%;animation:shimmer 1.2s infinite linear;border-radius:10px}@keyframes shimmer{to{background-position:-200% 0}}.spinner{width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite;flex:none}@keyframes spin{to{transform:rotate(360deg)}}.plain-ol{margin:0;padding-left:20px;font-size:13px}.plain-ol li+li{margin-top:6px}.signin{min-height:100vh;display:flex;flex-direction:column;position:relative;overflow:hidden;background:radial-gradient(circle at 1px 1px,rgba(16,20,18,.09) 1px,transparent 0) 0 0 / 22px 22px,var(--bg)}.signin:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(ellipse 60% 55% at 50% 48%,transparent 0%,var(--bg) 78%)}.signin>*{position:relative}.signin-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px clamp(16px,3vw,40px)}.signin-tag{font-size:12px;color:var(--muted);border:1px solid var(--line-2);background:#ffffffb3;border-radius:999px;padding:6px 12px;white-space:nowrap}.signin-main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:8px 16px 24px}.signin-title{font-size:34px;font-weight:650;letter-spacing:-.035em;line-height:1.15;text-align:center}.signin-title mark{background:linear-gradient(transparent 58%,var(--accent) 58%,var(--accent) 92%,transparent 92%);color:inherit;padding:0 2px}.signin-note{margin:0;font-size:13px;color:var(--muted);text-align:center;max-width:380px}.signin-foot{text-align:center;font-size:12px;color:var(--faint);padding:0 16px 22px}.receipt-ticket{--paper: #ffffff;width:min(360px,100%);background:var(--paper);border-radius:18px 18px 6px 6px;position:relative;box-shadow:0 1px 1px #1014120a,0 18px 40px -12px #1014122e;padding:20px 22px 0;display:flex;flex-direction:column}.receipt-ticket:after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:10px;background:radial-gradient(circle at 7px -2px,transparent 6px,var(--paper) 6.5px) 0 0 / 14px 10px repeat-x;filter:drop-shadow(0 3px 2px rgba(16,20,18,.06))}.rt-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;letter-spacing:.02em;padding-bottom:14px;border-bottom:1px dashed var(--line-2)}.rt-head .mono{color:var(--muted);font-weight:500}.rt-steps{list-style:none;margin:0;padding:14px 0;display:flex;flex-direction:column;gap:11px;border-bottom:1px dashed var(--line-2)}.rt-steps li{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--faint)}.rt-steps li.on,.rt-steps li.done{color:var(--ink)}.rt-steps .k{font-size:11px;color:var(--faint);width:18px}.rt-steps .label{white-space:nowrap}.rt-steps .dots{flex:1;border-bottom:1px dotted #cfd2cb;transform:translateY(3px);min-width:12px}.rt-steps .mark{width:20px;height:20px;border-radius:10px;display:grid;place-items:center;flex:none}.rt-steps li.done .mark{background:var(--ink);color:var(--accent)}.rt-steps .idle{width:6px;height:6px;border-radius:3px;background:#d9dbd5}.rt-steps .pulse{width:8px;height:8px;border-radius:4px;background:var(--ok);box-shadow:0 0 #7cb51880;animation:pulse 1.6s infinite}@keyframes pulse{70%{box-shadow:0 0 0 7px #7cb51800}to{box-shadow:0 0 #7cb51800}}.rt-total{display:flex;justify-content:space-between;align-items:baseline;padding:14px 0 16px;font-size:13px;font-weight:600}.rt-total .mono{font-size:26px;font-weight:600;letter-spacing:-.03em}.rt-total .mono.muted{color:var(--faint)}.rt-tear{position:relative;height:22px;margin:0 -22px}.rt-tear:before{content:"";position:absolute;left:14px;right:14px;top:50%;border-top:2px dashed #dcded8}.rt-tear:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 0 50%,var(--bg) 10px,#e4e5df 10.5px,#e4e5df 11px,transparent 11.5px),radial-gradient(circle at 100% 50%,var(--bg) 10px,#e4e5df 10.5px,#e4e5df 11px,transparent 11.5px)}.rt-stub{padding:14px 0 26px;display:flex;flex-direction:column;align-items:center;gap:14px}.rt-code{width:188px;height:188px;display:grid;place-items:center;position:relative;color:var(--muted)}.rt-code img{width:188px;height:188px;transition:opacity .2s}.rt-code img.faded{opacity:.18}.rt-code img.plain{image-rendering:pixelated}.rt-missing{width:100%;height:100%;border:1.5px dashed var(--line-2);border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:13px}.rt-caption{font-size:12px;color:var(--muted)}.rt-text{margin:0;padding:16px 0 18px;font-size:14px;color:var(--ink-2);line-height:1.6}.stamp{position:absolute;display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 18px 8px;border:3px double currentColor;border-radius:10px;transform:rotate(-11deg);background:#ffffff8c;animation:stamp-in .22s cubic-bezier(.2,1.4,.5,1)}.stamp strong{font-size:26px;letter-spacing:.18em;font-weight:800;line-height:1.1;padding-left:.18em}.stamp small{font-size:11px;font-weight:600;letter-spacing:.04em}.stamp.ok{color:#4f7f0a}.stamp.void{color:#b8322e}@keyframes stamp-in{0%{transform:rotate(-11deg) scale(1.5);opacity:0}}.dev-login{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;font-size:12px;color:var(--muted)}.dev-login .mono{font-size:10px;font-weight:600;background:var(--ink);color:var(--accent);padding:2px 6px;border-radius:5px}.dev-login button{border:1px solid var(--line-2);background:var(--surface);border-radius:999px;padding:4px 10px;font:500 12px var(--mono)}.dev-login button:hover{background:var(--soft-2)}.tabbar,.savebar{display:none}@media (max-width: 1199px){.sidebar-wrap{flex-basis:88px}.sidebar{padding:18px 10px;align-items:center}.sidebar .brand-text,.nav-title,.nav-link .label,.nav-badge,.rate-panel{display:none}.sidebar .brand{padding:0}.nav-link{width:48px;height:44px;justify-content:center;padding:0;position:relative}.nav-link .dot-badge{display:block}.page-title{font-size:30px}.grid-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}}.nav-link .dot-badge{display:none;position:absolute;top:9px;right:10px;width:7px;height:7px;border-radius:4px;background:#e8590c}@media (max-width: 767px){body{font-size:15px}.sidebar-wrap{display:none}.main{padding:8px 16px calc(96px + env(safe-area-inset-bottom));gap:20px}.topbar{min-height:48px}.search{display:none}.page-title{font-size:26px}.page-head{align-items:stretch;flex-direction:column}.head-actions{width:100%}.head-actions .month-switch{flex:1 1 100%;justify-content:space-between}.head-actions>.btn{flex:1 1 0}.card-pad{padding:18px}.kpi{gap:12px}.kpi-value{font-size:28px}.grid-kpi{grid-template-columns:minmax(0,1fr);gap:12px}.tabbar{display:flex;position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:30;background:#101412f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:20px;padding:6px;gap:4px;box-shadow:var(--shadow-dark)}.tabbar a{flex:1;height:52px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#a3aba5;text-decoration:none;font-size:11px;font-weight:600}.tabbar a[aria-current=page]{background:#ffffff1a;color:var(--accent)}.t-head{display:none}.table-scroll .t-table{min-width:0!important}.t-body .t-row.cardify{grid-template-columns:1fr auto!important;grid-template-areas:none;gap:8px 12px;padding:14px 16px;min-height:0}.t-row.cardify>[data-label]{display:flex;justify-content:space-between;gap:12px;grid-column:1 / -1;text-align:left}.t-row.cardify>[data-label]:before{content:attr(data-label);color:var(--muted);font-size:12px;font-family:var(--font);font-weight:400}.t-row.cardify>.cell-main{grid-column:1}.t-row.cardify>.cell-side{grid-column:2;grid-row:1;justify-self:end}.t-row.cardify .usage-line{margin-top:0}.t-row.cardify>.cell-action{grid-column:1 / -1;display:flex}.t-row.cardify>.cell-action .btn{flex:1;height:40px}.has-savebar .main{padding-bottom:calc(120px + env(safe-area-inset-bottom))}.has-savebar .tabbar{display:none}.savebar{display:flex;position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:30;align-items:center;gap:12px;padding:10px 10px 10px 18px;border-radius:20px;background:#101412f5;color:#fff;box-shadow:var(--shadow-dark)}.savebar .sum{flex:1;display:flex;flex-direction:column;min-width:0}.savebar .sum small{font-size:11px;color:#a3aba5}.savebar .sum b{font:600 20px var(--mono);letter-spacing:-.03em}.savebar .btn{height:48px;border-radius:14px}.receipt{position:static}.signin-top{padding:16px}.signin-tag{display:none}.signin-title{font-size:28px}.signin-main{justify-content:flex-start;padding-top:12px;gap:18px}.tiles{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.share-lines{display:flex;flex-direction:column;gap:14px;padding:16px 0 18px}.share-line{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.share-line .t{font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:8px}.share-line .d{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.share-line .v{font-size:15px;font-weight:600;white-space:nowrap}.share-note{margin:0;font-size:12px;color:var(--muted)}.invite-code{display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px;border-radius:14px;background:var(--bg)}.invite-code .mono{font-size:30px;font-weight:650;letter-spacing:.12em;-webkit-user-select:all;user-select:all}.link-btn{align-self:flex-start;border:0;background:none;padding:2px 0;font-size:12px;color:var(--ink-2);text-decoration:underline;cursor:pointer}.invite-img{width:100%;max-width:280px;border-radius:12px}
