:root {
  --ink:#172e2b; --muted:#596c65; --subtle:#435a52; --line:#dce5df; --bg:#f3f7f4; --paper:#fff;
  --forest:#14312f; --forest-deep:#102826; --mint:#c0e6ce; --green:#17674f; --green-soft:#e9f4ed;
  --copper:#9b4e2d; --copper-soft:#fbf0e9; --warning:#7b5722; --warning-soft:#fff5dd;
  --blue:#2b526a; --blue-soft:#eaf1f6; --shadow:0 8px 25px rgba(25,57,44,.06);
  --body:"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC","Segoe UI",sans-serif;
  --numbers:"Segoe UI","Microsoft YaHei UI",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scrollbar-color:#aebdb5 transparent;scrollbar-width:thin}
body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 var(--body);min-height:100vh}
[hidden]{display:none!important}
button,input,textarea,select{font:inherit}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:var(--green)}
a:hover{text-decoration-thickness:2px}
button:disabled{cursor:not-allowed;opacity:.63}
:focus-visible{outline:2px solid #20815f;outline-offset:3px}
svg{display:block}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(26px,3vw,37px);letter-spacing:-.055em;line-height:1.18;font-weight:700}
h2{font-size:19px;letter-spacing:-.025em;line-height:1.35}
h3{font-size:15px;line-height:1.4}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.opening{min-height:100vh;display:flex;gap:10px;align-items:center;justify-content:center;color:var(--muted)}
.loading-dot{width:9px;height:9px;background:var(--green);border-radius:50%}
.shell{min-height:100vh;display:grid;grid-template-columns:223px minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;min-width:0;background:var(--forest-deep);color:#e9f4ed;padding:27px 16px 15px;z-index:2}
.sidebar nav{min-height:0;overflow:auto;scrollbar-width:thin}
.brand{display:flex;align-items:center;gap:11px;padding:0 6px 26px}
.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#c5e8d0;color:var(--forest-deep);flex:none}
.brand-mark svg{width:24px;height:24px;stroke-width:1.7}
.brand-text{display:grid;gap:1px;line-height:1.3}
.brand-text strong{font-size:19px;letter-spacing:-.06em}
.brand-text small{font-size:11px;color:#a9c5b7}
.nav-label{font-size:11px;color:#9fbbae;padding:6px 11px;margin:9px 0 3px}
.mobile-nav{display:none}
.nav-links{display:grid;gap:3px}
.nav-link{display:flex;align-items:center;gap:10px;width:100%;padding:10px 11px;border:1px solid transparent;border-radius:7px;color:#c9dbd3;background:transparent;text-align:left;line-height:1.45;white-space:nowrap}
.nav-link .icon{width:18px;height:18px;color:#a9c7b9;flex:none}
.nav-link:hover{background:#1c3a36;color:#fff}
.nav-link[aria-current=page]{background:#264942;border-color:#365e53;color:#fff;font-weight:650}
.nav-link[aria-current=page] .icon{color:#cfefd8}
.nav-count{margin-left:auto;font-size:11px;min-width:21px;padding:1px 5px;text-align:center;background:#37574d;color:#e9f6ee;border-radius:4px;font-variant-numeric:tabular-nums}
.sidebar-footer{margin-top:auto;display:grid;gap:8px;border-top:1px solid #365047;padding:14px 8px 0;font-size:11px;color:#b1c8bd}
.sidebar-footer strong{color:#eef5ef;font-size:12px}
.sidebar-footer .btn-plain{color:#bdcfc5;justify-self:start;padding-left:0;font-size:12px}
.sidebar-footer .btn-plain:hover{color:white}
.dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#5d8873;flex:none}
.dot.ok{background:#49a477}.dot.warn{background:#c89141}.dot.error{background:#b95d3d}
.work-area{min-width:0}
.utility{height:60px;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(18px,3.2vw,48px);background:#fff;border-bottom:1px solid var(--line);gap:12px}
.breadcrumb,.utility-state{display:flex;align-items:center;gap:9px;min-width:0}
.breadcrumb{color:var(--muted);font-size:12px}.breadcrumb b{color:var(--ink);font-weight:650}
.utility-state{font-size:12px;color:var(--subtle);flex:none}
.workspace{width:min(100%,1580px);padding:25px clamp(18px,3.2vw,48px) 38px;margin:auto}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:21px}
.page-head p{color:var(--muted);margin-top:7px;font-size:13px}
.filters,.actions,.inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.filters{justify-content:flex-end;flex:none}
.btn,.filter-control,input,textarea,select{border:1px solid #cddbd2;border-radius:7px;background:var(--paper);color:var(--ink);padding:8px 10px;min-width:0}
.btn{display:inline-flex;gap:7px;align-items:center;justify-content:center;text-decoration:none;min-height:37px;font-weight:600;line-height:1.2;white-space:nowrap}
.btn:hover:not(:disabled){background:#eff6f0;border-color:#9db9a9}
.btn-primary{background:var(--green);color:white;border-color:var(--green)}
.btn-primary:hover:not(:disabled){background:#12543f;border-color:#12543f}
.btn-plain{border:0;background:transparent;padding:5px 3px;color:var(--green);min-height:28px;box-shadow:none}
.btn-plain:hover:not(:disabled){background:transparent;color:#0b4e3a;text-decoration:underline}
.btn-small{min-height:29px;padding:5px 8px;font-size:12px}
.filter-control{min-height:38px;max-width:100%}
.icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.icon-small{width:14px;height:14px}
.card{background:#fff;border:1px solid var(--line);border-radius:11px;min-width:0;box-shadow:var(--shadow)}
.headline-strip{display:grid;grid-template-columns:minmax(255px,1.15fr) minmax(0,2fr);min-height:156px;overflow:hidden;margin-bottom:17px;box-shadow:none}
.balance-zone{position:relative;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:19px 25px;background:#e2f0e7;border-right:1px solid #d3e7d9;overflow:hidden}
.balance-zone::after{content:"";pointer-events:none;position:absolute;width:133px;height:133px;right:-57px;top:-37px;border:1px solid #bad7c6;border-radius:50%;box-shadow:0 0 0 12px #d9ecdf,0 0 0 13px #bed8ca,0 0 0 26px #d9ecdf,0 0 0 27px #c3dfcf}
.balance-zone>*{position:relative;z-index:1}
.balance-label,.metric-label{display:flex;align-items:center;gap:7px;font-weight:650}
.balance-label .icon,.metric-label .icon{width:16px;height:16px}
.number{font-family:var(--numbers);font-variant-numeric:tabular-nums;letter-spacing:-.035em;white-space:nowrap}
.balance-zone .number{font-size:clamp(29px,4vw,44px);line-height:1.05;font-weight:680}
.balance-zone .unavailable{font-family:var(--body);font-size:29px;color:#395d4c}
.metric-unavailable{font-family:var(--body);font-size:.64em;letter-spacing:0;color:var(--muted)}
.small-muted{font-size:12px;color:var(--muted)}
.mini-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
.metric{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;padding:11px 17px}
.metric:nth-child(even){border-left:1px solid var(--line)}
.metric:nth-child(n+3){border-top:1px solid var(--line)}
.metric-label{font-size:12px;color:var(--subtle)}
.metric .number{font-size:22px;font-weight:680;overflow-wrap:anywhere}
.metric.in .number{color:var(--green)}.metric.out .number{color:var(--copper)}
.overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:17px;align-items:start;margin-bottom:17px}
.chart-card{padding:18px 20px 12px;min-height:299px}
.panel-top{display:flex;justify-content:space-between;align-items:flex-start;gap:9px;margin-bottom:13px}
.panel-top p{font-size:12px;color:var(--muted);margin-top:4px}
.legend{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin:3px 0;font-size:11px;color:var(--muted)}
.legend-item{display:flex;gap:5px;align-items:center;white-space:nowrap}
.swatch{width:8px;height:8px;border-radius:2px;background:#4c9e78}
.swatch.out{background:#c7825c}
.chart{position:relative;height:207px}
.chart-plot{height:100%;width:100%;overflow:visible}
.chart-grid{stroke:#e5ede7;stroke-width:1;vector-effect:non-scaling-stroke}
.chart-text{font:12px var(--numbers);fill:#60786b}
.bar.in{fill:#4d9e78}.bar.out{fill:#c7825c}
.plot-guide:focus{outline:none;stroke:#187054;stroke-width:1;stroke-dasharray:3 3;fill:#17674f15}
.chart-empty{position:absolute;top:51%;left:52%;width:min(75%,320px);transform:translate(-50%,-50%);text-align:center;background:#f8fbf9e8;border:1px solid #e4eee7;border-radius:8px;padding:11px 13px;color:var(--muted);font-size:12px}
.chart-empty strong{display:block;color:var(--ink);font-size:13px;margin-bottom:3px}
.chart-readout{font-size:12px;color:var(--muted);min-height:23px;margin-top:5px;font-variant-numeric:tabular-nums}
.queue{padding:17px 15px 9px}
.queue .panel-top{margin-bottom:7px}
.queue-row{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--line);padding:10px 0;color:var(--ink);border-radius:0}
.queue-row:hover{background:#f7faf8}
.queue-row span:first-child{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;color:var(--subtle)}
.queue-row .number{font-size:14px;font-weight:650;white-space:nowrap}
.queue-row .icon{width:15px;height:15px;color:#5c7c6f}
.queue-row .end{display:flex;align-items:center;gap:4px}
.queue-row .end .icon{width:12px;height:12px}
.warning-chip{padding:2px 7px;border-radius:5px;background:var(--warning-soft);color:var(--warning);font-size:11px;font-weight:650}
.callout{padding:11px 13px;margin:0 0 14px;background:#eef5ef;border:1px solid #dceae0;border-radius:8px;color:#3d5d4d;font-size:12px}
.callout.warning{background:var(--warning-soft);color:var(--warning);border-color:#efe0ba}
.callout.error,.form-error{background:#faeeeb;color:#8b3d31;border:1px solid #eed9d2}
.form-error{padding:9px 11px;border-radius:6px}
.coverage{display:flex;gap:8px;align-items:flex-start;color:var(--muted);font-size:12px;margin:0 0 14px}
.coverage .icon{margin-top:2px;color:#557768}
.coverage details{min-width:0}
.coverage summary{cursor:pointer;color:#385d4d;font-weight:650}
.coverage ul{margin:5px 0 0;padding-left:19px}
.table-card{overflow:hidden}
.table-card .panel-top{padding:16px 18px 0}
.table-scroll{position:relative;overflow:auto}
table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}
thead{background:#f1f6f2;color:#4d6658;font-size:11px}
th,td{padding:9px 13px;border-bottom:1px solid #ebf0ec}
th{font-weight:650}
td{font-size:12px;line-height:1.45}
tr:last-child td{border-bottom:0}
tr:hover td{background:#f8fbf9}
.title-cell{white-space:normal;min-width:150px;max-width:370px;font-weight:600}
.secondary-cell{color:var(--muted);font-size:11px;white-space:normal;font-weight:400;overflow-wrap:anywhere;margin-top:1px}
.table-number{text-align:right;font-variant-numeric:tabular-nums;font-family:var(--numbers);font-size:14px;font-weight:600}
.table-number.in{color:var(--green)}.table-number.out{color:var(--copper)}
.badge{display:inline-flex;align-items:center;white-space:nowrap;background:#edf2ef;color:#4b6355;border-radius:5px;padding:2px 6px;font-size:11px;font-weight:550;line-height:1.4}
.badge.ok{background:var(--green-soft);color:#26644b}.badge.warn{background:var(--warning-soft);color:var(--warning)}
.badge.info{background:var(--blue-soft);color:var(--blue)}.badge.error{background:var(--copper-soft);color:#884733}
.empty{display:grid;justify-items:center;gap:6px;padding:37px 18px 40px;text-align:center;color:var(--muted)}
.empty .empty-icon{width:36px;height:36px;background:#eff6f1;border-radius:9px;display:grid;place-items:center;color:#567b68;margin-bottom:3px}
.empty .empty-icon .icon{width:19px;height:19px}.empty strong{color:var(--ink)}
.empty p{font-size:12px;max-width:360px}
.pager{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;border-top:1px solid var(--line);gap:8px;color:var(--muted);font-size:12px}
.toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:13px}
.section-stack{display:grid;gap:15px}
.source-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.source-row{padding:15px 16px;display:grid;gap:7px}
.source-row p{color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.source-row .source-title{display:flex;justify-content:space-between;align-items:center;gap:7px}
.source-row .source-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted)}
.form{display:grid;gap:12px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.field{display:grid;gap:5px;font-size:12px;color:var(--subtle);font-weight:600;min-width:0}
.field :is(input,textarea,select){width:100%;font-weight:400}
textarea{resize:vertical;min-height:105px}
input[type=file]{font-size:12px;padding:7px 8px}
input[type=file]::file-selector-button{margin-right:8px;border:0;border-radius:4px;background:#e9f3ed;color:#2b5b46;padding:4px 7px;cursor:pointer;font:inherit}
.field-help{font-weight:400;color:var(--muted);font-size:11px}
.form-panel{padding:16px 18px}
.form-panel>p{color:var(--muted);font-size:12px;margin:5px 0 12px}
dialog{border:1px solid var(--line);border-radius:12px;padding:0;background:#fff;color:var(--ink);width:min(610px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 20px 90px #10282644}
dialog::backdrop{background:#142f2a66}
.dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px 18px;background:#f4f8f5;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1}
.dialog-body{padding:17px 18px}
.close{background:none;border:0;padding:5px;color:var(--subtle);border-radius:5px}
.close:hover{background:#e0eee4}
.record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 14px;margin:0}
.record-grid div{min-width:0}
.record-grid dt{font-size:11px;color:var(--muted)}
.record-grid dd{margin:3px 0 0;color:var(--ink);font-size:13px;overflow-wrap:anywhere}
.record-detail{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8f6;padding:11px 12px;border-radius:7px;color:var(--subtle);font-size:12px;margin:13px 0}
.toast{position:fixed;bottom:22px;right:22px;z-index:8;max-width:min(420px,calc(100vw - 44px));background:var(--forest);color:#fff;padding:10px 14px;border-radius:8px;box-shadow:var(--shadow);font-size:13px}
.toast.error{background:#803d2f}
.segmented{display:flex;gap:3px;padding:3px;background:#eaf1eb;border-radius:8px;width:max-content;max-width:100%;overflow:auto;margin-bottom:13px}
.segmented button{background:none;border:1px solid transparent;border-radius:6px;padding:6px 10px;color:var(--muted);white-space:nowrap;line-height:1.2}
.segmented button[aria-pressed=true]{background:white;color:var(--ink);border-color:#dbe6de;font-weight:650}
.payroll-table input,.payroll-table select{min-width:70px;width:100%;padding:4px 6px;font-size:12px}
.payroll-table :is(td,th){padding:6px 8px}
.payroll-employee-name{min-width:85px}
.report-result{margin-top:12px;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.result-top{padding:12px 13px;background:#eff6f0;color:var(--green);font-size:13px;font-weight:650}
.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.8fr);align-items:stretch;background:#f5f8f4}
.login-brand{display:flex;flex-direction:column;justify-content:center;padding:clamp(25px,8vw,115px);background:#163a35;color:white;position:relative;overflow:hidden}
.login-brand::after{content:"";position:absolute;right:-16%;bottom:-43%;width:78%;aspect-ratio:1;border:1px solid #416e60;border-radius:50%;box-shadow:0 0 0 34px #163a35,0 0 0 35px #416e60,0 0 0 75px #163a35,0 0 0 76px #416e60;pointer-events:none}
.login-brand>*{position:relative;z-index:1}
.login-brand .brand{padding-left:0;margin-bottom:18px}
.login-brand h1{font-size:clamp(34px,5vw,60px);line-height:1.25;max-width:9em}
.login-brand p{margin-top:14px;color:#c7ddcf;max-width:24em}
.login-main{display:grid;place-items:center;padding:24px}
.login-form{width:min(100%,380px);padding:26px;display:grid;gap:15px}
.login-form p{color:var(--muted);font-size:12px}
.login-form .btn{width:100%}

/* Operations workspace: the large monthly pair leads, and the right rail keeps day decisions visible. */
.workspace-operations{padding-top:22px}
.ops-dash{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.ops-period{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;color:var(--muted);font-size:12px;margin:-3px 0 0}
.ops-period strong{color:var(--ink);font-size:12px}
.ops-period-missing{margin-left:auto}
.ops-fixed-scope{display:inline-flex;align-items:center;gap:6px;background:#edf5ef;color:#245640;border-color:#d4e5d8;font-weight:650;white-space:nowrap}
.ops-main,.ops-lower{display:grid;grid-template-columns:minmax(0,1.92fr) minmax(265px,1fr);gap:15px;align-items:start}
.ops-left,.ops-right{min-width:0;display:grid;gap:12px}
.ops-anchors,.ops-line-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.ops-anchor{position:relative;display:grid;gap:7px;align-content:start;container-type:inline-size;padding:17px 18px 12px;min-width:0;min-height:151px;overflow:hidden;border:1px solid transparent;border-radius:10px;isolation:isolate}
.ops-anchor.turnover{color:#f0f8f1;background:#17463a;border-color:#17463a}
.ops-anchor.profit{color:#203c39;background:#dcece2;border-color:#cddfd4}
.ops-anchor::after{content:"";z-index:-1;pointer-events:none;position:absolute;right:-54px;bottom:-87px;width:182px;height:182px;border-radius:50%;border:1px solid currentColor;opacity:.15;box-shadow:0 0 0 15px transparent,0 0 0 16px currentColor,0 0 0 31px transparent,0 0 0 32px currentColor}
.ops-anchor-top{display:flex;align-items:center;justify-content:space-between;gap:6px}
.ops-anchor-top h2{font-size:15px;font-weight:650}
.ops-anchor-top>span{display:grid;place-items:center;width:25px;height:25px;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 25%,transparent);border-radius:6px;opacity:.86}
.ops-anchor strong{font-size:clamp(27px,3.3vw,52px);font-size:clamp(24px,13cqw,57px);font-weight:680;line-height:1.06;letter-spacing:-.045em}
.ops-anchor p,.ops-anchor-foot{font-size:11px}
.ops-anchor .ops-anchor-basis{font-weight:650}
.ops-anchor.turnover p,.ops-anchor.turnover .ops-anchor-foot{color:#d0e8d9}
.ops-anchor.profit p,.ops-anchor.profit .ops-anchor-foot{color:#426559}
.ops-anchor-foot{border-top:1px solid color-mix(in srgb,currentColor 25%,transparent);margin-top:3px;padding-top:7px;min-height:24px}
.ops-cash-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;box-shadow:none}
.ops-cash-strip .ops-tile{padding:11px 17px;background:#fcfdfb}
.ops-cash-strip .ops-tile+.ops-tile{border-left:1px solid var(--line)}
.ops-cash-strip .ops-tile strong{font-size:26px;color:#234b40}
.ops-tile{display:grid;gap:2px;min-width:0;align-content:start}
.ops-tile>span{color:#536b60;font-size:11px;line-height:1.45;display:flex;align-items:flex-start;justify-content:space-between;gap:2px}
.ops-tile>strong{font-size:21px;font-weight:670;line-height:1.2}
.ops-tile>small{color:var(--muted);font-size:10px}
.ops-tile .ops-tile-missing{color:var(--muted);font-weight:550}
.ops-tile-action{appearance:none;border:0;padding:0;text-align:left;color:inherit;cursor:pointer;font:inherit}
.ops-tile-action:hover{box-shadow:inset 0 0 0 1px #99b9a6;background:#f0f8f2!important}
.ops-tile-action:focus-visible{outline-offset:-3px}
.ops-tile-action>span .icon{width:11px;height:11px;margin-top:2px;color:#567969}
.ops-receipts{padding:13px 14px;overflow:hidden}
.ops-receipt-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:7px;overflow:hidden;margin-top:9px}
.ops-receipt-grid .ops-tile{padding:8px 9px;background:#f8fbf9}
.ops-receipt-grid .ops-tile:nth-child(n+5){background:#fff}
.ops-receipt-grid .ops-tile strong{font-size:19px}
.ops-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:6px;min-width:0}
.ops-card-head h2{font-size:16px}
.ops-card-head p{margin-top:4px}
.ops-card-head>.small-muted{white-space:nowrap}
.ops-chart{padding:12px 12px 9px;--op-stroke:#277853}
.ops-chart.profit{--op-stroke:#496e8a}
.ops-chart-body{height:161px;position:relative;margin-top:8px}
.ops-chart-body svg{width:100%;height:100%;overflow:visible}
.ops-chart-rule{stroke:#e0eae3;stroke-width:1;vector-effect:non-scaling-stroke}
.ops-axis{font:10px var(--body);fill:#5f756a}
.ops-chart-line{stroke:var(--op-stroke);stroke-width:2;fill:none;vector-effect:non-scaling-stroke}
.ops-chart-dot{fill:var(--op-stroke);stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke}
.ops-point-guide{fill:transparent;stroke:transparent;cursor:crosshair}
.ops-point-guide:focus,.ops-point-guide:hover{fill:#54806a25;stroke:var(--op-stroke);stroke-width:1;outline:none}
.ops-chart-empty{position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);background:#f7faf8ef;border:1px solid #e2ebe5;border-radius:6px;padding:6px 8px;color:var(--muted);font-size:11px;white-space:nowrap}
.ops-chart-readout{font-size:11px;min-height:17px}
.ops-note{display:flex;align-items:flex-start;gap:6px;color:#556e62;font-size:11px}
.ops-note svg{margin-top:1px}
.ops-rail-card,.ops-lower-card{padding:13px 14px}
.ops-order-counts,.ops-schedule,.ops-prev-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#e2ebe5;border:1px solid #e2ebe5;overflow:hidden;border-radius:7px;margin-top:9px}
.ops-order-counts{grid-template-columns:repeat(3,minmax(0,1fr))}
.ops-service-orders .ops-order-counts{grid-template-columns:repeat(2,minmax(0,1fr))}
.ops-service-actual-refunds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px;margin-top:10px;padding-top:9px;border-top:1px solid var(--line)}
.ops-service-actual-refunds .ops-tile{padding:4px 5px;background:#f9fbfa}
.ops-service-actual-refunds .ops-tile strong{font-size:15px}
@media(min-width:1350px){.ops-service-orders .ops-order-counts{grid-template-columns:repeat(4,minmax(0,1fr))}}
.ops-order-counts .ops-tile,.ops-schedule .ops-tile,.ops-prev-counts .ops-tile{padding:8px 9px;background:#f8fbf9}
.ops-schedule .ops-tile{padding:7px 9px}
.ops-schedule .ops-tile strong,.ops-prev-counts .ops-tile strong{font-size:18px}
.ops-refund-strip,.ops-prev-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}
.ops-refund{padding:8px 9px;background:#fbf0e8;border:1px solid #f0e1d5;border-radius:7px;color:#81472f}
.ops-refund-strip>.ops-tile:last-child:nth-child(odd){grid-column:1/-1}
.ops-refund>span{color:#795440}
.ops-refund strong{font-size:20px}
.ops-day-table{margin-top:9px}
.ops-day-head,.ops-day-row{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.1fr) minmax(0,1fr) minmax(0,.53fr);gap:4px;text-align:right;font-size:11px}
.ops-day-head{color:var(--muted);padding:5px 5px 4px;border-bottom:1px solid var(--line)}
.ops-day-head>:first-child,.ops-day-row>:first-child{text-align:left}
.ops-day-row{padding:7px 5px 6px;border-bottom:1px solid #edf2ee;color:var(--subtle)}
.ops-day-row.today{background:#edf6f0;color:#235747}
.ops-day-row .number{font-size:12px;font-weight:650}
.ops-day-row small{font-size:10px;color:var(--muted)}
.ops-side-note{margin-top:7px;font-size:10px}
.ops-plan-table{margin-top:8px}
.ops-plan-head,.ops-plan-row{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.2fr) minmax(0,1fr);gap:6px;border-bottom:1px solid var(--line);padding:6px 3px;align-items:center;text-align:right}
.ops-plan-head{color:var(--muted);font-size:11px}
.ops-plan-head>:first-child,.ops-plan-row>:first-child{text-align:left}
.ops-plan-row{font-size:12px}
.ops-plan-row small{color:var(--muted);font-size:10px}
.ops-plan-row .number{font-size:14px}
.ops-fee-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:11px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--line)}
.ops-fee-tiles .ops-tile{padding:10px;background:#f9fbf9}
.ops-fee-tiles .ops-tile strong{font-size:19px}
.ops-fee-category{margin-top:14px}
.ops-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;margin-top:5px}
.ops-category-grid>:is(div,button){display:flex;justify-content:space-between;align-items:baseline;gap:6px;padding:7px 0;border:0;border-bottom:1px solid #edf2ee;background:transparent;text-align:left;font-size:12px;color:var(--subtle);min-width:0}
.ops-category-grid>:is(div,button) span{overflow-wrap:anywhere}
.ops-category-action:hover{background:#f0f8f2;color:var(--green)}
.ops-category-grid small{display:block;font-size:10px;color:var(--muted)}
.ops-category-grid .number{font-size:13px;color:var(--ink)}
.ops-category-grid .ops-tile-missing{color:var(--muted);font-weight:400}
.ops-prev-amounts .ops-tile{padding:8px 9px;background:#edf5ef;border:1px solid #e0ede4;border-radius:7px}
.ops-prev-amounts strong{font-size:19px}
.ops-ranks{margin:10px 0 0;padding:0;list-style:none}
.ops-ranks li{display:grid;grid-template-columns:20px minmax(40px,.85fr) minmax(22px,1fr) max-content;gap:6px;align-items:center;min-height:31px;border-top:1px solid #edf2ee}
.ops-rank-index{font-size:11px;font-weight:650;color:#567264}
.ops-rank-name{font-size:12px;overflow-wrap:anywhere}
button.ops-rank-name{justify-self:start;text-align:left;white-space:normal;min-width:0}
.ops-ranks meter{width:100%;height:8px}
.ops-ranks meter::-webkit-meter-bar{background:#e4eee8;border:none;border-radius:5px;height:7px}
.ops-ranks meter::-webkit-meter-optimum-value{background:#5e9677;border-radius:5px}
.ops-ranks strong{font-size:14px}
.ops-ranks strong small{font-size:9px;color:var(--muted)}
.ops-details{min-width:0;scroll-margin-top:15px}
.ops-details:focus{outline:none}
.ops-details>.ops-card-head{margin-bottom:9px}
.ops-filter-control{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;max-width:100%}
.ops-filter-control .filter-control{max-width:230px}
.ops-active-filter{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;margin:-4px 0 10px;font-size:12px}
.ops-active-filter>span{padding:4px 7px;border-radius:5px;background:#e9f3ec;color:#295d48}
.ops-detail-actions{margin-top:14px}
.ops-balance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:9px}
.ops-balance-grid article{border:1px solid var(--line);border-radius:7px;padding:8px 10px}
.ops-balance-grid h3 small{font-size:11px;color:var(--muted);font-weight:400}
.ops-balance-grid dl{margin:4px 0 0}
.ops-balance-grid dl>div{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #edf2ee;padding:5px 0}
.ops-balance-grid dt{color:var(--muted);font-size:12px}
.ops-balance-grid dd{margin:0;font-size:14px;font-weight:650}
.ops-report{overflow:hidden}
.ops-report>.ops-card-head{padding:13px 14px 11px}
.ops-report .ops-card-head .badge{flex:none}
.ops-report .title-cell{min-width:144px}
.ops-report .table-number{font-size:13px}
.ops-report .ops-report-missing{color:var(--muted);font-weight:400}
.ops-report-source{min-width:132px;max-width:300px;white-space:normal}
.ops-report-link{display:inline-flex;gap:4px;align-items:center;text-decoration:none}
.ops-report-link:hover{text-decoration:underline}
.ops-report-file{overflow-wrap:anywhere}
.ops-report-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 14px 11px}
.ops-report-totals .ops-tile{background:#f2f7f4;border:1px solid #e6eee8;border-radius:6px;padding:6px 9px}
.ops-report-totals .ops-tile strong{font-size:18px}
.ops-report-empty{padding:11px 14px;border-top:1px solid var(--line)}
.ops-jd-daily{scroll-margin-top:62px}
.ops-jd-daily .table-scroll{max-height:310px}
.ops-jd-daily .table-scroll:focus-visible{outline-offset:-3px}
.ops-jd-daily table{min-width:505px}
.ops-jd-daily thead{position:sticky;top:0}
.ops-jd-jump{display:inline-flex;align-items:center;gap:3px;font-weight:650;text-decoration:none;white-space:nowrap}
.ops-jd-jump:hover{text-decoration:underline}
.ops-jd-status{padding:8px 14px;background:#f7faf8;border-top:1px solid #eaf0eb;color:var(--muted);font-size:12px}
.ops-jd-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px}
.ops-jd-meta strong{font-weight:650;color:var(--subtle)}
.ops-jd-message,.ops-jd-guidance{margin-top:4px;overflow-wrap:anywhere}
.ops-jd-guidance{color:var(--warning)}
.ops-channel-table{min-width:660px}
.ops-channel-table tbody th{font-size:13px}
.ops-channel-table .table-number{vertical-align:top}
.ops-channel-table .ops-channel-today{display:block;margin-top:2px;font-size:10px;font-weight:400;color:var(--muted)}
.ops-channel-table tbody .btn-plain{min-height:26px;padding-left:0}
.ops-coverage details>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;padding:11px 13px;color:#355d4b}
.ops-coverage details>summary::-webkit-details-marker{display:none}
.ops-coverage details>summary::after{content:"";width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);margin-left:auto}
.ops-coverage details[open]>summary::after{transform:rotate(225deg)}
.ops-coverage details>summary>span{font-size:11px;color:var(--muted)}
.ops-coverage-body{padding:0 13px 11px;color:var(--muted);font-size:12px}
.ops-coverage-body ul{padding-left:17px;margin:0 0 11px}
.ops-coverage-body li{margin:5px 0}
.ops-source-alert{margin:0}
.ops-source-status{margin:0 0 9px}
.ops-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}
.ops-source-list>div{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 7px;background:#f6f9f7;padding:6px 8px;border-radius:5px}
.ops-source-list a{display:inline-flex;align-items:center;gap:4px;text-decoration:none}
.ops-source-list a:hover{text-decoration:underline}
.ops-source-list>div>span{font-size:10px}
@media(max-width:1050px){
  .ops-main,.ops-lower{grid-template-columns:minmax(0,1.75fr) minmax(225px,1fr);gap:11px}
  .ops-anchor{padding-inline:13px}
  .ops-fee-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ops-category-grid{grid-template-columns:1fr}
}
@media(max-width:740px){
  .ops-main,.ops-lower{grid-template-columns:1fr}
  .ops-main>.ops-right{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .ops-lower>.ops-right{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .ops-fee-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ops-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ops-details{scroll-margin-top:59px}
}
@media(max-width:545px){
  .ops-dash{gap:12px}
  .ops-main>.ops-right,.ops-lower>.ops-right{grid-template-columns:1fr}
  .ops-anchors{gap:7px}
  .ops-anchor{padding:9px 10px 7px;min-height:124px;gap:5px}
  .ops-anchor-top h2{font-size:12px}
  .ops-anchor-top>span{width:19px;height:19px}
  .ops-anchor-top .icon{width:12px;height:12px}
  .ops-anchor strong{font-size:clamp(20px,12cqw,41px)}
  .ops-anchor p,.ops-anchor-foot{font-size:10px}
  .ops-cash-strip .ops-tile{padding:8px 10px}
  .ops-cash-strip .ops-tile strong{font-size:21px}
  .ops-line-grid{grid-template-columns:1fr;gap:8px}
  .ops-chart-body{height:145px}
  .ops-fee-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ops-category-grid,.ops-source-list{grid-template-columns:1fr}
  .ops-order-counts,.ops-schedule,.ops-prev-counts{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ops-order-counts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ops-order-counts .ops-tile,.ops-schedule .ops-tile,.ops-prev-counts .ops-tile{padding:7px}
  .ops-coverage details>summary>span{font-size:9px}
  .ops-period-missing{margin-left:0}
  .ops-receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ops-receipt-grid .ops-tile:nth-child(n+5){background:#fff}
  .ops-balance-grid{grid-template-columns:1fr}
  .ops-day-row .number{font-size:12px}
}
@media(max-width:1080px){
  .shell{grid-template-columns:186px minmax(0,1fr)}
  .sidebar{padding-inline:12px}
  .overview-grid{grid-template-columns:minmax(0,1fr) 240px}
  .queue{padding-inline:12px}
  .balance-zone{padding-inline:17px}
}
@media(max-width:880px){
  .shell{grid-template-columns:67px minmax(0,1fr)}
  .sidebar{padding:18px 8px 10px}
  .sidebar .brand{justify-content:center;padding:0 0 21px}
  .sidebar .brand-text,.nav-label,.nav-text,.sidebar-footer .footer-details,.nav-count{display:none}
  .nav-link{justify-content:center;padding:10px}
  .sidebar-footer{justify-items:center;padding:8px 0 0}
  .sidebar-footer .btn-plain{justify-self:center;padding:5px}
  .logout-label{display:none}
  .workspace{padding-top:19px}
}
@media(max-width:680px){
  .shell{display:block}
  .sidebar{position:sticky;top:0;height:auto;padding:7px 12px;flex-direction:row;align-items:center;gap:10px}
  .sidebar .brand{padding:0;flex:none}
  .sidebar .brand-text{display:grid}
  .sidebar .brand-text strong{font-size:16px}
  .sidebar .brand-text small{display:none}
  .brand-mark{width:29px;height:29px;border-radius:7px}
  .brand-mark svg{width:19px;height:19px}
  .sidebar nav{display:none}
  .mobile-nav{display:block;background:#244640;color:#e9f4ed;border-color:#456557;margin-left:auto;font-size:12px;padding:6px 8px}
  .sidebar-footer{margin:0 0 0 auto;padding:0;border:0;flex:none}
  .utility{height:43px;padding-inline:14px}
  .utility-state{font-size:11px}
  .workspace{padding:16px 12px 30px}
  .page-head{display:grid;gap:11px;margin-bottom:14px}
  .filters{justify-content:flex-start;flex-wrap:wrap;gap:6px}
  .filters .filter-control{font-size:12px;min-height:35px}
  .filters .btn{font-size:12px;min-height:35px}
  .headline-strip,.overview-grid{grid-template-columns:1fr;gap:0}
  .headline-strip{min-height:0}
  .balance-zone{border-right:0;border-bottom:1px solid #d3e7d9;padding:15px 16px}
  .balance-zone .number{font-size:34px}
  .balance-zone .unavailable{font-size:25px}
  .metric{padding:9px 13px}
  .metric .number{font-size:19px}
  .overview-grid{gap:13px}
  .chart-card{padding:14px 13px 9px;min-height:0}
  .chart{height:178px}
  .queue{padding:14px 13px 5px}
  .table-card .panel-top{padding:13px 12px 0}
  .panel-top{gap:8px}
  .source-board{grid-template-columns:1fr}
  .login-page{grid-template-columns:1fr;min-height:100dvh;grid-template-rows:auto 1fr}
  .login-brand{padding:24px 22px}
  .login-brand .brand{margin-bottom:4px;padding-bottom:13px}
  .login-brand h1{font-size:30px}
  .login-brand p{margin-top:8px}
  .login-main{padding:19px}
}
@media(max-width:395px){
  .utility-state .next-label{display:none}
  .form-grid{grid-template-columns:1fr}
  .record-grid{grid-template-columns:1fr}
  .panel-top .legend{justify-content:flex-end}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}
