:root{--bg: #f6f7f9;--surface: #ffffff;--surface-2: #f0f2f5;--border: #dfe3e8;--border-strong: #c4cad2;--text: #16191d;--text-muted: #646c78;--accent: #1f5fd6;--accent-soft: #e8effd;--positive: #0f7b4f;--positive-soft: #e3f5ec;--negative: #c02b2b;--negative-soft: #fbe9e9;--warning: #9a6400;--warning-soft: #fdf1dc;--radius: 10px;--radius-sm: 6px;--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);--mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg: #101317;--surface: #181c22;--surface-2: #20252c;--border: #2b323a;--border-strong: #3d4650;--text: #e8ebee;--text-muted: #9aa4b1;--accent: #6ea0ff;--accent-soft: #1b2942;--positive: #4bd394;--positive-soft: #10301f;--negative: #ff7b7b;--negative-soft: #331616;--warning: #f0b45e;--warning-soft: #33260f;--shadow: 0 1px 2px rgba(0, 0, 0, .4)}}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3{margin:0;font-weight:650;letter-spacing:-.01em}h1{font-size:20px}h2{font-size:16px}h3{font-size:14px}a{color:var(--accent)}.shell{display:flex;min-height:100%}.sidebar{width:236px;flex:0 0 236px;background:var(--surface);border-right:1px solid var(--border);padding:16px 12px;display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{padding:4px 8px 14px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.brand-logo{width:148px;height:auto;display:block}.brand-name{font-weight:750;font-size:17px;letter-spacing:-.02em;display:flex;align-items:center;gap:8px}.brand-name span{font-size:10px;font-weight:600;color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase}.brand-logo,.login-logo{background:transparent;padding:0;border-radius:var(--radius-sm);transition:background .12s ease}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .brand-logo,:root:not([data-theme=light]) .login-logo{background:#fff;padding:9px 12px;box-shadow:inset 0 0 0 1px #ffffff14}}:root[data-theme=dark] .brand-logo,:root[data-theme=dark] .login-logo{background:#fff;padding:9px 12px;box-shadow:inset 0 0 0 1px #ffffff14}.login-brand{display:flex;flex-direction:column;align-items:center;gap:10px}.login-logo{width:210px;height:auto}.login-rule{width:54px;height:1px;background:var(--border);margin:4px 0}.nav-group{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);padding:16px 12px 6px;font-weight:700}.nav-link{position:relative;display:flex;align-items:center;gap:11px;padding:9px 12px;margin:1px 0;border-radius:8px;color:var(--text);text-decoration:none;font-weight:550;transition:background .12s ease,color .12s ease}.nav-icon{flex:none;color:var(--text-muted);transition:color .12s ease}.nav-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-link:hover{background:var(--surface-2)}.nav-link:hover .nav-icon{color:var(--text)}.nav-link.active{background:var(--accent-soft);color:var(--accent);font-weight:700}.nav-link.active .nav-icon{color:var(--accent)}.nav-link.active:before{content:"";position:absolute;left:-12px;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--accent)}.nav-link:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.sidebar-footer{margin-top:auto;padding-top:12px;border-top:1px solid var(--border)}.user-card{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;background:var(--surface-2)}.avatar{flex:none;width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;font-size:14px;font-weight:800;letter-spacing:.02em}.user-meta{flex:1;min-width:0}.user-name{font-size:13.5px;font-weight:700;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-sub{display:flex;align-items:center;gap:6px;margin-top:2px;min-width:0}.user-login{font-size:11.5px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.role-chip{flex:none;font-size:10.5px;font-weight:700;padding:1px 7px;border-radius:999px;background:var(--surface);color:var(--text-muted);border:1px solid var(--border)}.role-chip.admin{background:var(--accent-soft);color:var(--accent);border-color:transparent}button.logout-btn{flex:none;width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;background:transparent;color:var(--text-muted);border-radius:8px}button.logout-btn:hover:not(:disabled){background:var(--negative-soft);color:var(--negative)}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;border-bottom:1px solid var(--border);background:var(--surface);position:sticky;top:0;z-index:10;flex-wrap:wrap}.content{padding:20px 24px 48px;max-width:1400px;width:100%}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row.tight{gap:6px}.spacer{flex:1}.stack{display:flex;flex-direction:column;gap:14px}.grid{display:grid;gap:14px}.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}@media (max-width: 1000px){.grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.cols-3,.grid.cols-2{grid-template-columns:1fr}}@media (max-width: 760px){.shell{flex-direction:column}.sidebar{width:100%;flex:none;height:auto;position:static;flex-direction:row;overflow-x:auto;align-items:center;border-right:none;border-bottom:1px solid var(--border);padding:8px 12px}.brand,.nav-group{display:none}.nav-link{white-space:nowrap}.nav-link.active:before{display:none}.sidebar-footer{margin:0 0 0 auto;padding:0;border:0}.user-card{background:transparent;padding:0}.user-meta{display:none}.content{padding:16px}.topbar{padding:12px 16px}.grid.cols-4{grid-template-columns:1fr}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}.card-sub{color:var(--text-muted);font-size:12px}.stat{display:flex;flex-direction:column;gap:2px}.stat-label{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-weight:600}.stat-value{font-size:24px;font-weight:680;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.stat-value.sm{font-size:18px}.stat-note{font-size:12px;color:var(--text-muted)}.pos{color:var(--positive)}.neg{color:var(--negative)}.muted{color:var(--text-muted)}.num{font-variant-numeric:tabular-nums;font-family:var(--mono)}.table-wrap{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--border)}table{width:100%;border-collapse:collapse;background:var(--surface)}th,td{padding:8px 10px;text-align:left;border-bottom:1px solid var(--border);white-space:nowrap}th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-weight:650;background:var(--surface-2);position:sticky;top:0}tbody tr:last-child td{border-bottom:none}tbody tr:hover td{background:var(--surface-2)}td.n,th.n{text-align:right;font-variant-numeric:tabular-nums;font-family:var(--mono)}tr.total td{font-weight:700;background:var(--surface-2);border-top:2px solid var(--border-strong)}label.field{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--text-muted)}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:7px 9px;width:100%;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:-1px;border-color:var(--accent)}input[type=number]{font-family:var(--mono);text-align:right}textarea{min-height:62px;resize:vertical}input:disabled,select:disabled,textarea:disabled,input[readonly]{background:var(--surface-2);color:var(--text-muted);border-color:var(--border);cursor:not-allowed}button{font:inherit;font-weight:600;cursor:pointer;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);padding:9px 16px;font-size:14.5px;line-height:1.25;white-space:nowrap}button:hover:not(:disabled){background:var(--surface-2)}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--accent);border-color:var(--accent);color:#fff}button.primary:hover:not(:disabled){background:var(--accent);border-color:var(--accent);color:#fff;filter:brightness(.9)}button.primary:active:not(:disabled){filter:brightness(.82)}button.danger{color:var(--negative);border-color:var(--negative);background:transparent}button.danger:hover:not(:disabled){background:var(--negative-soft)}button.ghost{border-color:transparent;background:transparent;color:var(--text-muted)}button.ghost:hover:not(:disabled){background:var(--surface-2)}button.sm{padding:6px 12px;font-size:13px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:650;padding:2px 8px;border-radius:999px;background:var(--surface-2);color:var(--text-muted);white-space:nowrap}.badge.pos{background:var(--positive-soft);color:var(--positive)}.badge.neg{background:var(--negative-soft);color:var(--negative)}.badge.warn{background:var(--warning-soft);color:var(--warning)}.badge.info{background:var(--accent-soft);color:var(--accent)}.banner{padding:10px 14px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-2);font-size:13px}.banner.error{background:var(--negative-soft);border-color:var(--negative);color:var(--negative)}.banner.ok{background:var(--positive-soft);border-color:var(--positive);color:var(--positive)}.banner.warn{background:var(--warning-soft);border-color:var(--warning);color:var(--warning)}.empty{padding:32px;text-align:center;color:var(--text-muted);font-size:13px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a0d1180;display:flex;align-items:center;justify-content:center;padding:16px;z-index:100}.modal{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);width:100%;max-width:560px;max-height:90vh;overflow-y:auto;padding:20px;box-shadow:0 12px 40px #00000040}.modal.wide{max-width:860px}.login-shell{min-height:100%;display:flex;align-items:center;justify-content:center;padding:16px}.login-card{width:100%;max-width:380px}.ladder{display:flex;flex-direction:column}.ladder-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px dashed var(--border)}.ladder-row:last-child{border-bottom:none}.ladder-row.sum{background:var(--t-soft, var(--surface-2));border:1px solid var(--t-line, var(--border));border-radius:var(--radius-sm);padding:12px;margin:6px -12px;font-weight:700}.ladder-row.sum .ladder-label{color:var(--t-ink, var(--text))}.ladder-row.sum .ladder-value:not(.pos):not(.neg):not(.muted){color:var(--t-ink, var(--text))}.ladder-row.sum+.ladder-row{border-top:none}.ladder-label{color:var(--text);font-size:15px;font-weight:600}.ladder-value{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:15px;font-weight:700;white-space:nowrap}.ladder-row.sum .ladder-label{font-size:16px;font-weight:800}.ladder-row.sum .ladder-value{font-size:19px;font-weight:800}@media (max-width: 600px){.ladder-label,.ladder-value{font-size:14px}.ladder-row.sum .ladder-label{font-size:15px}.ladder-row.sum .ladder-value{font-size:17px}}.totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.total-tile{border-radius:var(--radius);border:1px solid var(--t-line, var(--border));padding:14px 16px;background:var(--t-soft, var(--surface-2));display:flex;flex-direction:column;gap:3px;min-width:0}.total-tile .t-label{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--t-ink, var(--text-muted))}.total-tile .t-value{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.15;color:var(--t-ink, var(--text))}.total-tile .t-note{font-size:12px;color:var(--text-muted)}.tint-blue,.total-tile.accent{--t-ink:#1f5fd6;--t-soft:#e8effd;--t-line:#9dbcf5}.tint-green,.total-tile.pos{--t-ink:#0f7b4f;--t-soft:#e3f5ec;--t-line:#86ccae}.tint-red,.total-tile.neg{--t-ink:#c02b2b;--t-soft:#fbe9e9;--t-line:#eda3a3}.tint-amber,.total-tile.warn{--t-ink:#8a5a00;--t-soft:#fdf1dc;--t-line:#e8c27a}.tint-slate{--t-ink:#3f4a5a;--t-soft:#eef1f5;--t-line:#c3ccd8}.tint-steel{--t-ink:#2c3542;--t-soft:#dde3ea;--t-line:#a9b5c3}.tint-orange{--t-ink:#b1500f;--t-soft:#fdeee1;--t-line:#f0b98a}.tint-violet{--t-ink:#7c3aed;--t-soft:#f1eafe;--t-line:#c9b0f7}.total-tile.hero{padding:18px 20px}.total-tile.hero .t-value{font-size:34px}@media (max-width: 600px){.total-tile .t-value{font-size:23px}.total-tile.hero .t-value{font-size:28px}}.ladder-row.expandable{cursor:pointer}.ladder-row.expandable:hover{background:var(--surface-2)}.chevron{display:inline-block;width:14px;margin-right:4px;color:var(--text-muted);font-size:10px;line-height:1;transition:transform .12s ease;transform-origin:45% 50%}.chevron.open{transform:rotate(90deg)}tbody tr.expanded>td{background:var(--surface-2)}tbody tr.expanded .chevron{color:var(--accent)}.ladder-detail{background:var(--surface-2);border-radius:var(--radius-sm);margin:2px 0 8px;padding:4px 10px}.detail-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px dashed var(--border);font-size:13px}.detail-line:last-child{border-bottom:none}.detail-line .d-main{min-width:0}.detail-line .d-name{font-weight:600}.detail-line .d-sub{color:var(--text-muted);font-size:12px}.detail-line .d-value{font-family:var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap}.detail-empty{padding:10px 0;color:var(--text-muted);font-size:13px}.cart-line{display:grid;grid-template-columns:1fr 78px 92px 34px;gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--border)}@media (max-width: 600px){.cart-line{grid-template-columns:1fr 64px 80px 32px;font-size:13px}}.add-panel{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px}.day-bar{align-items:center}.day-nav{position:relative;display:flex;align-items:stretch;gap:8px}.day-nav-arrow{width:46px;min-height:60px;padding:0;font-size:26px;line-height:1;font-weight:700;color:var(--text);border-radius:var(--radius-sm)}.day-nav-date{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-width:290px;min-height:60px;padding:8px 18px;text-align:left;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm)}.day-nav-date.open,.day-nav-date:hover{border-color:var(--accent)}.day-nav-label{font-size:11px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}.day-nav-value{font-size:21px;font-weight:800;line-height:1.15;color:var(--text)}.day-nav-value:first-letter,.calendar-head strong:first-letter{text-transform:uppercase}.day-nav-today{min-height:60px;padding:0 16px;font-weight:650}.calendar{position:absolute;top:calc(100% + 8px);left:54px;z-index:40;width:360px;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 18px 44px #00000038}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.calendar-head strong{font-size:16px}.calendar-head button{width:36px;height:36px;padding:0;font-size:20px;line-height:1}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.calendar-dow{padding-bottom:6px;font-size:11px;font-weight:650;text-align:center;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.calendar-day{position:relative;height:44px;padding:0;font-size:16px;font-weight:600;color:var(--text);background:transparent;border:1px solid transparent;border-radius:var(--radius-sm)}.calendar-day:hover{background:var(--surface-2)}.calendar-day.today{border-color:var(--border-strong);font-weight:800}.calendar-day.selected,.calendar-day.selected:hover{background:var(--accent);border-color:var(--accent);color:#fff}.calendar-dot,.calendar-legend .dot{display:block;width:6px;height:6px;border-radius:50%;background:var(--border)}.calendar-dot{position:absolute;left:50%;bottom:6px;transform:translate(-50%)}.calendar-day.closed .calendar-dot,.calendar-legend .dot.closed{background:var(--positive)}.calendar-day.opened .calendar-dot,.calendar-legend .dot.opened{background:var(--accent)}.calendar-day.selected .calendar-dot{background:#ffffffe6}.calendar-legend{display:flex;gap:14px;margin-top:12px;padding-top:10px;border-top:1px solid var(--border);font-size:12px;color:var(--text-muted)}.calendar-legend span{display:flex;align-items:center;gap:6px}.calendar-actions{display:flex;justify-content:flex-end;margin-top:10px}@media (max-width: 640px){.day-nav{flex-wrap:wrap}.day-nav-date{min-width:0;flex:1}.calendar{left:0;width:min(360px,calc(100vw - 48px))}}@media (prefers-color-scheme: dark){.calendar-day.selected,.calendar-day.selected:hover{color:#101317}.calendar-day.selected .calendar-dot{background:#101317bf}}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .tint-blue,:root:not([data-theme=light]) .total-tile.accent{--t-ink:#6ea0ff;--t-soft:#1b2942;--t-line:#35507f}:root:not([data-theme=light]) .tint-green,:root:not([data-theme=light]) .total-tile.pos{--t-ink:#4bd394;--t-soft:#10301f;--t-line:#26603f}:root:not([data-theme=light]) .tint-red,:root:not([data-theme=light]) .total-tile.neg{--t-ink:#ff7b7b;--t-soft:#331616;--t-line:#6b2f2f}:root:not([data-theme=light]) .tint-amber,:root:not([data-theme=light]) .total-tile.warn{--t-ink:#f0b45e;--t-soft:#33260f;--t-line:#6b5322}:root:not([data-theme=light]) .tint-slate{--t-ink:#d5d9de;--t-soft:#242a31;--t-line:#39414a}:root:not([data-theme=light]) .tint-steel{--t-ink:#f0f3f6;--t-soft:#2e353e;--t-line:#4a545f}:root:not([data-theme=light]) .tint-orange{--t-ink:#f59b62;--t-soft:#35220f;--t-line:#6e4722}:root:not([data-theme=light]) .tint-violet{--t-ink:#b294f5;--t-soft:#281f3d;--t-line:#4a3a73}}.provider-logo{display:inline-flex;align-items:center;justify-content:center;flex:none;overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:10px;padding:4px}.provider-logo img{width:100%;height:100%;object-fit:contain;display:block}.provider-logo.empty{background:var(--surface-2);color:var(--text-muted);font-weight:800;letter-spacing:.02em;border-style:dashed}.provider-row{display:flex;align-items:center;gap:14px;padding:10px 0;border-bottom:1px dashed var(--border)}.provider-row .p-name{flex:1;min-width:0;font-size:17px;font-weight:700}.provider-row .p-code{display:block;font-size:11px;font-weight:600;color:var(--text-muted);letter-spacing:.05em}.provider-row .p-amount{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:20px;font-weight:800;white-space:nowrap}.provider-row input.p-input{width:200px;font-size:20px;font-weight:700;padding:10px 12px}.logo-picker{display:flex;align-items:center;gap:14px}.logo-picker .hint{font-size:12px;color:var(--text-muted)}.logo-picker .hint.req{color:var(--negative);font-weight:600}@media (max-width: 600px){.provider-row .p-name{font-size:15px}.provider-row .p-amount{font-size:17px}.provider-row input.p-input{width:140px;font-size:17px}}.p-edit{display:flex;align-items:center;gap:12px}.p-status{min-width:118px;text-align:right;font-size:12px;font-weight:600;color:var(--text-muted)}.p-status.saved{color:var(--positive)}.p-status.error{color:var(--negative)}.status-pill{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border-radius:999px;border:1px solid;font-size:17px;font-weight:800;line-height:1.2}.status-pill>i{width:12px;height:12px;border-radius:50%;background:currentColor;flex:none}.status-pill small{display:block;font-size:12px;font-weight:600;opacity:.85}.status-pill.open{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.status-pill.closed{color:var(--positive);background:var(--positive-soft);border-color:var(--positive)}.status-pill.open>i{animation:pulse 2s ease-in-out infinite}@keyframes pulse{50%{opacity:.35}}@media (prefers-reduced-motion: reduce){.status-pill.open>i{animation:none}}.cloture-card{padding:22px 24px}.cloture-card .card-head h2{font-size:22px;font-weight:800}.cloture-card .card-sub{font-size:14px}.cloture-card label.field{font-size:15px;font-weight:700;color:var(--text);gap:8px}.cloture-card label.field input{font-size:22px;font-weight:700;padding:12px 14px}.cloture-card label.field textarea{font-size:16px;font-weight:400;padding:12px 14px;min-height:80px}.cloture-card .banner{font-size:15px}.cloture-card .grid{gap:18px}.cloture-card button.primary,.cloture-card button.danger{font-size:17px;padding:12px 22px}@media (max-width: 600px){.p-status{min-width:0}.status-pill{font-size:15px;padding:8px 14px}.cloture-card label.field input{font-size:19px}}.evo-head{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.evo-title{font-size:20px;font-weight:800}.evo-sub{font-size:14px;font-weight:700;margin:18px 0 6px}.segmented{display:inline-flex;border:1px solid var(--border-strong);border-radius:var(--radius-sm);overflow:hidden}.segmented button{border:0;border-radius:0;padding:9px 16px;background:var(--surface);font-weight:600}.segmented button+button{border-left:1px solid var(--border-strong)}.segmented button.on,.segmented button.on:hover:not(:disabled){background:var(--accent);color:#fff}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .segmented button.on{color:#101317}}.evo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}.evo-panel{border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px 10px;background:var(--surface);min-width:0}.evo-panel-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}.evo-name{flex:1;min-width:0;font-size:16px;font-weight:700}.evo-name .p-code{display:block;font-size:11px;font-weight:600;color:var(--text-muted);letter-spacing:.05em}.evo-total{display:flex;flex-direction:column;align-items:flex-end}.evo-total .num{font-size:18px;font-weight:800}.evo-total span:last-child{font-size:11px;color:var(--text-muted)}.evo-facts{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:4px;font-size:12px;color:var(--text-muted)}.evo-facts b{color:var(--text)}.evo-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.evo-kpi{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);padding:12px 14px;min-width:0}.evo-kpi-label{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}.evo-kpi-label i{width:10px;height:10px;border-radius:3px;flex:none}.evo-kpi-value{font-size:24px;font-weight:800;margin-top:2px}.evo-kpi-note{font-size:12px;color:var(--text-muted)}@media (max-width: 600px){.evo-grid{grid-template-columns:1fr}}button.danger-text{color:var(--negative)}button.danger-text:hover:not(:disabled){background:var(--negative-soft)}td.row{display:table-cell;vertical-align:middle;white-space:nowrap}td.row>*+*{margin-left:6px}.sidebar{overflow:hidden}.nav-scroll{flex:1;min-height:0;overflow-y:auto;margin:0 -12px;padding:0 12px 8px;scrollbar-width:thin}@media (max-width: 760px){.sidebar{overflow-x:auto}.nav-scroll{display:flex;flex:none;overflow:visible;margin:0;padding:0}.nav-scroll>div{display:flex}}@media (max-width: 760px){.sidebar-footer{position:sticky;right:0;background:var(--surface);padding-left:8px;box-shadow:-10px 0 12px -8px #00000026}}@media (max-width: 640px){.day-nav-value{font-size:16px}}@media (max-width: 760px){.sidebar{padding-right:0}.sidebar-footer{align-self:stretch;display:flex;align-items:center;padding-right:12px}}.depenses-page .card-head h2{font-size:20px;font-weight:800}.depenses-page .card-sub{font-size:14px}.depenses-page label.field{font-size:15px;font-weight:700;color:var(--text);gap:7px}.depenses-page label.field input,.depenses-page label.field select{font-size:17px;padding:11px 13px}.depenses-page label.field input[type=number]{font-weight:700}.depenses-page table{font-size:15px}.depenses-page th{font-size:12px}.depenses-page td{padding:11px 12px}.depenses-page td.n{font-size:16px;font-weight:700}.depenses-page tfoot td{font-size:16px}.depenses-page .card-head .badge{font-size:15px;padding:5px 12px}.depenses-page button.primary{font-size:16px;padding:11px 22px}.depenses-page .modal p{font-size:14px}.price-pair input{font-size:17px;font-weight:700;padding:10px 12px}.price-pair input.price-anchor{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.credit-form label.field,.credit-form .field-title{font-size:15px;font-weight:700;color:var(--text)}.credit-form label.field{gap:7px}.credit-form label.field input,.credit-form label.field select{font-size:17px;padding:11px 13px}.credit-form input.amount-input{font-size:22px;font-weight:800}.credit-form button.primary{font-size:16px;padding:11px 22px}.field-block{display:flex;flex-direction:column;gap:7px;min-width:0}.field-title{font-size:12px;font-weight:600;color:var(--text-muted)}.client-picker{position:relative}button.cp-trigger{width:100%;display:flex;align-items:center;gap:12px;min-height:60px;padding:9px 14px;text-align:left;font-weight:500;background:var(--surface);border:1px solid var(--border-strong);border-radius:10px}button.cp-trigger:hover:not(:disabled){background:var(--surface);border-color:var(--accent)}button.cp-trigger.open,button.cp-trigger:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.cp-placeholder{flex:1;font-size:16px;color:var(--text-muted)}.cp-chevron{flex:none;color:var(--text-muted);transition:transform .12s ease}button.cp-trigger.open .cp-chevron{transform:rotate(180deg)}.cp-avatar{flex:none;width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:800}.cp-main{flex:1;min-width:0;display:flex;flex-direction:column}.cp-name{font-size:16px;font-weight:700;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-sub{font-size:12.5px;color:var(--text-muted)}.cp-balance{flex:none;font-size:12.5px;font-weight:700;padding:3px 10px;border-radius:999px;font-variant-numeric:tabular-nums}.cp-balance.owes{background:var(--negative-soft);color:var(--negative)}.cp-balance.clear{background:var(--surface-2);color:var(--text-muted)}.cp-panel{position:absolute;z-index:60;top:calc(100% + 6px);left:0;right:0;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 18px 44px #00000038;overflow:hidden}.cp-search{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border);color:var(--text-muted)}.cp-search input{flex:1;border:0;outline:none;padding:6px 2px;font-size:16px;background:transparent}.cp-search input:focus{outline:none;box-shadow:none}button.cp-clear{border:0;background:transparent;padding:4px;color:var(--text-muted)}.cp-list{list-style:none;margin:0;padding:6px;max-height:320px;overflow-y:auto}.cp-option{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:8px;cursor:pointer}.cp-option.active{background:var(--surface-2)}.cp-option.selected{background:var(--accent-soft)}.cp-option.selected .cp-name{color:var(--accent)}.cp-empty{padding:18px 12px;text-align:center;color:var(--text-muted);font-size:14px}.cp-footer{padding:7px 12px;border-top:1px solid var(--border);font-size:11.5px;color:var(--text-muted);background:var(--surface-2)}.cp-panel{position:relative;top:auto;left:auto;right:auto;margin-top:6px;box-shadow:0 8px 24px #0000001f}.cp-list{max-height:290px}.op-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}button.op-btn{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:14px 16px;min-height:118px;text-align:left;white-space:normal;background:var(--surface);border:1px solid var(--border-strong);border-radius:12px;transition:border-color .12s ease,box-shadow .12s ease,transform .12s ease}button.op-btn:hover:not(:disabled){background:var(--surface);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}button.op-btn:active:not(:disabled){transform:translateY(1px)}.op-icon{color:var(--accent);margin-bottom:4px}.op-label{font-size:17px;font-weight:800;color:var(--text)}.op-hint{font-size:12.5px;font-weight:500;color:var(--text-muted)}.op-effect{margin-top:auto;padding-top:6px;font-size:12px;font-weight:700}.op-effect.in{color:var(--positive)}.op-effect.out{color:var(--negative)}.modal.xl{max-width:1180px;width:min(1180px,calc(100vw - 32px))}.locked-date{display:flex;align-items:center;min-height:46px;padding:10px 13px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);font-size:17px;font-weight:700}.ladder-ops{margin:10px -12px 12px;padding:12px;border:1px dashed var(--border-strong);border-radius:12px;background:var(--surface-2)}.ladder-ops-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:10px}.ladder-ops-title{font-size:15px;font-weight:800;color:var(--text)}.ladder-ops-sub{font-size:12.5px;color:var(--text-muted)}.ladder-ops button.op-btn{min-height:104px;padding:12px 14px}.ladder-ops .op-label{font-size:16px}
