.cockpit{--ink:#203b32;--soft:#eef3ee}.cockpit-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:18px}.cockpit-head p{color:var(--muted);font-size:14px}.cockpit-head button{font-size:13px;white-space:nowrap}.cockpit-kicker{font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.cockpit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cockpit-card{background:white;border:1px solid var(--line);border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:9px;min-width:0}.cockpit-card h2{font-size:15px;line-height:1.3}.cockpit-card .sub{font-size:12px;margin-top:3px}.cockpit-value{font-size:34px;line-height:1.05;font-weight:750;letter-spacing:-.03em;color:var(--ink)}.cockpit-value small{font-size:13px;font-weight:500;letter-spacing:0;margin-left:5px;color:var(--muted)}.cockpit-card p{font-size:13px;margin:0;color:var(--muted)}.cockpit-card button{font-size:12px;padding:6px 10px;align-self:flex-start;margin-top:auto}.cockpit-card .warn{color:#925809}.cockpit-card .danger{color:#a23e2e}.cockpit-card a{font-size:13px;color:var(--green);margin-top:auto;font-weight:650}.cockpit-statline{display:flex;gap:12px;justify-content:space-between;font-size:13px}.cockpit-statline strong{font-weight:700;color:var(--ink)}.cockpit-main{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:18px;margin:20px 0}.cockpit-section{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.cockpit-section h2{font-size:17px}.cockpit-section-head{padding:17px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.cockpit-section-head .count{font-size:12px}.cockpit-row{padding:16px 20px;border-bottom:1px solid #edf1ee}.cockpit-row:last-child{border-bottom:0}.cockpit-row h3{font-size:14px;overflow-wrap:anywhere}.cockpit-row p{font-size:13px;color:var(--muted);margin:5px 0;overflow-wrap:anywhere}.cockpit-row .row{align-items:flex-start}.cockpit-row .tag{font-size:11px}.cockpit-row-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;font-size:12px;color:var(--muted)}.cockpit-row-footer a{color:var(--green);font-weight:650}.cockpit-row-footer button{font-size:12px;padding:5px 9px}.cockpit-empty{padding:23px 20px;color:var(--muted);font-size:13px}.cockpit-footer{padding:14px 0;display:flex;flex-wrap:wrap;gap:10px 22px;font-size:12px;color:var(--muted)}.cockpit-footer a{color:var(--green)}.cockpit-stale{font-size:12px;background:#fff5dc;border:1px solid #ead5a3;border-radius:8px;padding:10px 14px;margin-bottom:16px}.cockpit-skeleton{color:var(--muted)}.cockpit .warning{margin-top:0}.cockpit-section-foot{padding:12px 20px;background:#f8faf8;font-size:12px}.cockpit-section-foot button{font-size:12px;padding:6px 9px}.cockpit-report-note{white-space:pre-wrap;max-height:100px;overflow:auto}.cockpit .cockpit-card:last-child{background:#edf3ee}.shell:has(.cockpit) .sidebar{gap:24px;padding-top:26px}.shell:has(.cockpit) .sidebar nav{gap:3px}.shell:has(.cockpit) .sidebar button{padding:9px 12px;font-size:14px}.shell:has(.cockpit) .sidebar button .sub{font-size:12px}.shell:has(.cockpit) .top{margin-bottom:22px}.shell:has(.cockpit) .main{padding-top:28px}@media(max-width:850px){.cockpit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cockpit-main{grid-template-columns:1fr}.cockpit-value{font-size:30px}}@media(max-width:680px){.cockpit-card{padding:15px;gap:8px}.cockpit-grid{gap:10px}.cockpit-head{align-items:flex-start}.cockpit-head p{font-size:13px}.cockpit-card h2{font-size:14px}.cockpit-section-head,.cockpit-row{padding:15px}.cockpit-row .row{flex-wrap:wrap}.cockpit-card p{font-size:12px}}@media(max-width:360px){.cockpit-grid{grid-template-columns:1fr}}

.cockpit-focus{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#e7efe9;border:1px solid #bfd0c3;border-left:4px solid #143d34;border-radius:10px;padding:15px 20px;margin-bottom:16px}.cockpit-focus h2{font-size:17px;margin:4px 0;overflow-wrap:anywhere}.cockpit-focus p{font-size:12px;color:var(--muted);margin:0}.cockpit-focus a{font-size:13px;white-space:nowrap;font-weight:650;color:var(--green)}.cockpit-focus button{white-space:nowrap;font-size:12px}@media(max-width:1100px){.cockpit-card{padding:16px}.cockpit-card .cockpit-value{font-size:28px}.cockpit-card button .sub{font-size:11px}}@media(max-width:680px){.cockpit-focus{padding:14px}.cockpit-focus h2{font-size:15px}}

.cockpit-records{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 18px}.cockpit-records .cockpit-value{font-size:27px}.cockpit-record-date{font-size:12px;font-weight:650;color:var(--muted)}.cockpit-records summary{font-size:12px;color:var(--green);cursor:pointer;padding:8px 0;min-height:32px}.cockpit-sales-days{margin:5px 0 10px}.cockpit-sales-days>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:5px 0;border-bottom:1px solid var(--line)}.cockpit-records details p{margin:8px 0;font-size:11px}@media(max-width:680px){.cockpit-records{grid-template-columns:1fr;gap:10px}.cockpit-records .cockpit-value{font-size:25px}}

.sales-ledger{color:#203b32;background:#fff;border:1px solid #cbd8d0;border-radius:14px;padding:24px;width:min(1100px,94vw);max-width:94vw;max-height:90vh;overflow:auto;margin:auto}.sales-ledger::backdrop{background:rgba(20,35,30,.5)}.sales-ledger-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.sales-ledger h2{font-size:23px;margin:0 0 5px}.sales-ledger p{font-size:13px;color:#52635a}.sales-ledger button,.sales-ledger select{min-height:44px;font-size:14px}.sales-ledger-tools,.sales-ledger-tabs,.sales-ledger-downloads{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.sales-ledger-tools label{display:flex;gap:10px;align-items:center;font-size:14px}.sales-ledger-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.sales-ledger-stats>div{padding:14px;background:#f1f5f1;border-radius:8px;font-size:12px}.sales-ledger-stats strong{display:block;font-size:24px;margin:8px 0}.sales-ledger small{display:block;font-size:12px;color:#52635a;margin-top:4px}.sales-ledger-tabs button[aria-pressed=true]{background:#203b32;color:white}.sales-table-scroll{overflow:auto;border:1px solid #dbe3dd;border-radius:8px}.sales-table-scroll table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.sales-table-scroll th{text-align:left;background:#f1f5f1}.sales-table-scroll th,.sales-table-scroll td{padding:12px;border-bottom:1px solid #e4ebe5;vertical-align:top}.sales-table-scroll summary{cursor:pointer;min-height:36px}.sales-table-scroll ul{padding-left:18px;white-space:normal;min-width:240px}.sales-table-scroll li{margin:8px 0}.sales-ledger .sales-note{line-height:1.6}.sales-ledger .warn{color:#925809}@media(max-width:680px){.sales-ledger{padding:16px}.sales-ledger-stats{grid-template-columns:1fr 1fr}.sales-ledger-stats strong{font-size:20px}.sales-ledger-tools label{flex-wrap:wrap}}

.sales-ledger-downloads a{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;border:1px solid #b9ccc1;border-radius:8px;color:#203b32;font-size:14px;font-weight:650;text-decoration:none;background:#f1f5f1}

.live-sales-panel{container-type:inline-size;margin:8px 0}.live-sales-panel .sales-ledger-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:10px 0}.live-sales-panel .sales-ledger-stats strong{font-size:clamp(18px,1.5vw,24px);font-variant-numeric:tabular-nums}.live-sales-panel small{display:block;color:#52635a;font-size:11px;line-height:1.5}.live-sales-panel .sales-note{font-size:12px;line-height:1.6;margin:10px 0}.live-sales-panel .warn{color:#925809}.live-sales-panel>a{display:inline-flex;align-items:center;min-height:44px}.cockpit-records{align-items:start}@container(max-width:560px){.live-sales-panel .sales-ledger-stats{grid-template-columns:1fr}.live-sales-panel .sales-ledger-stats>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center;padding:10px 12px}.live-sales-panel .sales-ledger-stats strong{margin:0;font-size:21px}.live-sales-panel .sales-ledger-stats small{grid-column:1/-1}}
@media print{body:has(.sales-ledger[open])> :not(.sales-ledger){display:none!important}.sales-ledger[open]{position:static;display:block;width:100%;max-width:none;height:auto;max-height:none;overflow:visible;border:0;padding:0;margin:0;font-size:10pt}.sales-ledger::backdrop{display:none}.sales-ledger button,.sales-ledger-tools,.sales-ledger-tabs,.sales-ledger-downloads,.live-sales-panel>a{display:none!important}.sales-table-scroll{overflow:visible}.sales-table-scroll table{white-space:normal;font-size:9pt}.sales-table-scroll th,.sales-table-scroll td{padding:5px}.sales-ledger-stats{break-inside:avoid}.sales-ledger .live-sales-panel{container-type:normal}.sales-ledger .live-sales-panel .sales-ledger-stats{grid-template-columns:repeat(3,1fr)}}

.cockpit-records{grid-template-columns:minmax(0,2fr) minmax(240px,1fr)}@media(max-width:1000px){.cockpit-records{grid-template-columns:1fr}}
