:root {
  font-family: Inter, Segoe UI, system-ui, sans-serif;
  color-scheme: dark;
  --bg: #071019;
  --surface: #0d1824;
  --surface2: #111f2d;
  --line: #223447;
  --text: #edf7ff;
  --muted: #89a0b5;
  --blue: #1688df;
  --green: #15d68a;
  --red: #f54959;
  --amber: #f5a623;
  --app-background: radial-gradient(circle at 12% 0, #0d2940 0, transparent 35%), #071019;
}
.password-input-wrap{position:relative;display:block}.password-input-wrap input{padding-right:48px!important}.password-visibility-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;background:transparent;color:#53606a;cursor:pointer;border-radius:8px;display:grid;place-items:center}.password-visibility-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.password-visibility-toggle:hover,.password-visibility-toggle:focus-visible{background:#dfeae4;color:#126b54;outline:2px solid #2e8b70;outline-offset:1px}
.station-reports-card { width:min(98vw,1900px); height:min(94vh,980px); padding:0; overflow:hidden; display:flex; flex-direction:column; background:var(--bg); color:var(--text); border:1px solid var(--line); }
#stationReportsOverlay .station-reports-card { width:min(98vw,1900px); }
.station-reports-header { min-height:94px; padding:20px 60px 18px 26px; display:flex; align-items:center; justify-content:space-between; gap:24px; background:linear-gradient(115deg,var(--surface),color-mix(in srgb,var(--surface) 70%,var(--blue)) 58%,color-mix(in srgb,var(--surface) 55%,var(--green))); color:var(--text); border-bottom:1px solid var(--line); }
.station-reports-header h2 { margin:2px 0; color:var(--text); font-size:clamp(1.4rem,2vw,2rem); }
.station-reports-header p { margin:0; color:var(--muted); }
.station-report-controls { display:flex; align-items:end; gap:10px; }
.station-report-controls label { display:grid; gap:4px; color:var(--muted); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; }
.station-report-controls input,.station-report-controls select { min-width:135px; height:40px; border:1px solid var(--line); border-radius:10px; padding:0 11px; background:var(--surface2); color:var(--text); font:inherit; }
.station-reports-layout { flex:1; display:grid; grid-template-columns:210px 1fr; min-height:0; }
.station-report-menu-toggle { display:none; }
.station-reports-nav { padding:18px 12px; background:var(--surface); border-right:1px solid var(--line); overflow:auto; display:flex; flex-direction:column; gap:5px; }
.station-reports-nav button { border:0; border-radius:10px; padding:12px 14px; background:transparent; color:var(--muted); text-align:left; font-weight:700; cursor:pointer; }
.station-reports-nav button:hover { background:var(--surface2); color:var(--green); }
.station-reports-nav button.active { background:color-mix(in srgb,var(--green) 17%,var(--surface)); color:var(--green); box-shadow:inset 3px 0 var(--green); }
.station-reports-main { position:relative; min-width:0; overflow:auto; padding:24px; }
.station-reports-status { padding:13px 15px; margin-bottom:14px; border-radius:10px; background:var(--surface2); color:var(--blue); }
.station-reports-status.error { background:color-mix(in srgb,var(--red) 13%,var(--surface)); color:var(--red); }
.station-reports-loader { position:absolute; inset:0; z-index:20; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; padding:24px; text-align:center; color:var(--text); background:color-mix(in srgb,var(--bg) 88%,transparent); backdrop-filter:blur(5px); }
.station-reports-loader.hidden { display:none; }
.station-reports-loader strong { font-size:1.05rem; }
.station-reports-loader span { color:var(--muted); font-size:.85rem; }
.report-data-loader { position:fixed; inset:0; z-index:10000; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:24px; text-align:center; color:var(--text); background:color-mix(in srgb,var(--bg) 84%,transparent); backdrop-filter:blur(6px); }
.report-data-loader.in-report-window { position:absolute; inset:0; z-index:50; border-radius:inherit; }
.report-data-loader.hidden { display:none; }
.report-data-loader strong { font-size:1.08rem; }
.report-data-loader > span { max-width:340px; color:var(--muted); font-size:.86rem; }
.report-data-loader .report-loader-orbit { width:68px; height:68px; }
@media (max-width:900px) {
  .report-data-loader { inset:0; padding:max(20px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left)); }
  .report-data-loader .report-loader-orbit { width:58px; height:58px; }
  .report-data-loader strong { font-size:1rem; }
  .report-data-loader > span { font-size:.8rem; }
}
.report-loader-orbit { position:relative; width:64px; height:64px; margin-bottom:5px; border:3px solid color-mix(in srgb,var(--blue) 20%,transparent); border-top-color:var(--blue); border-radius:50%; animation:report-loader-spin .9s linear infinite; }
.report-loader-orbit::after { content:""; position:absolute; inset:11px; border:3px solid color-mix(in srgb,var(--green) 22%,transparent); border-bottom-color:var(--green); border-radius:50%; animation:report-loader-spin .65s linear infinite reverse; }
.report-loader-orbit i { position:absolute; width:9px; height:9px; border-radius:50%; background:var(--green); box-shadow:0 0 14px color-mix(in srgb,var(--green) 70%,transparent); }
.report-loader-orbit i:nth-child(1) { top:-5px; left:25px; }
.report-loader-orbit i:nth-child(2) { right:-4px; bottom:13px; background:var(--blue); }
.report-loader-orbit i:nth-child(3) { left:2px; bottom:4px; background:var(--amber); }
@keyframes report-loader-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .report-loader-orbit,.report-loader-orbit::after { animation-duration:2.5s; } }
.station-report-title { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:18px; }
.station-report-title h3 { margin:0; font-size:1.45rem; color:var(--text); }
.station-report-title p { margin:5px 0 0; color:var(--muted); }
.station-report-title>span { padding:6px 10px; border-radius:99px; background:var(--surface2); color:var(--muted); font-weight:700; font-size:.78rem; }
.station-report-actions { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.station-save-pdf,.station-save-csv,.station-save-xlsx { min-height:36px; padding:7px 14px; border:1px solid color-mix(in srgb,var(--blue) 55%,var(--line)); border-radius:10px; font-size:.78rem; font-weight:850; white-space:nowrap; }
.station-save-pdf { background:var(--blue); color:#fff; box-shadow:0 5px 14px color-mix(in srgb,var(--blue) 20%,transparent); }
.station-save-csv,.station-save-xlsx { background:var(--surface); color:var(--blue); }
.station-save-pdf:hover,.station-save-csv:hover,.station-save-xlsx:hover { filter:brightness(1.06); transform:translateY(-1px); }
.station-ugt-filter { display:flex; justify-content:flex-start; margin:-3px 0 14px; }
.station-ugt-filter label { display:grid; gap:5px; width:min(340px,100%); color:var(--muted); font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.station-ugt-filter select { width:100%; min-height:44px; padding:0 40px 0 13px; border:1px solid var(--line); border-radius:10px; background:var(--surface2); color:var(--text); font:inherit; font-size:.9rem; text-transform:none; }
.station-account-filter { position:relative; z-index:4; display:flex; margin:-3px 0 14px; }
.station-account-filter details { position:relative; width:min(390px,100%); }
.station-account-filter summary { display:grid; gap:3px; min-height:48px; box-sizing:border-box; padding:9px 42px 9px 14px; border:1px solid var(--line); border-radius:10px; background:var(--surface2); color:var(--text); cursor:pointer; list-style:none; }
.station-account-filter summary::-webkit-details-marker { display:none; }
.station-account-filter summary::after { content:"⌄"; position:absolute; top:14px; right:15px; color:var(--muted); font-size:1rem; }
.station-account-filter summary span { color:var(--muted); font-size:.67rem; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }
.station-account-filter summary strong { overflow:hidden; font-size:.86rem; text-overflow:ellipsis; white-space:nowrap; }
.station-account-filter-panel { position:absolute; top:calc(100% + 5px); left:0; z-index:20; width:100%; max-height:min(470px,60vh); overflow:auto; box-sizing:border-box; padding:8px; border:1px solid var(--line); border-radius:10px; background:var(--surface); box-shadow:0 16px 34px rgba(0,0,0,.22); }
.station-account-filter-panel label { display:grid; grid-template-columns:24px 1fr; align-items:center; margin-bottom:6px; padding:0 10px; border-radius:8px; background:color-mix(in srgb,var(--blue) 12%,var(--surface2)); color:var(--muted); }
.station-account-filter-panel input { width:100%; min-width:0; height:42px; border:0; outline:0; background:transparent; color:var(--text); font:inherit; }
.station-account-filter-panel button { display:grid; grid-template-columns:24px 1fr; align-items:center; width:100%; min-height:40px; padding:7px 10px; border:0; border-radius:7px; background:transparent; color:var(--text); text-align:left; cursor:pointer; }
.station-account-filter-panel button:hover,.station-account-filter-panel button.selected { background:color-mix(in srgb,var(--blue) 16%,var(--surface2)); }
.station-account-filter-panel button i { font-style:normal; font-size:1rem; }
.station-account-filter-panel p { padding:14px 10px; margin:0; color:var(--muted); text-align:center; }
.station-account-summary { margin:0 0 14px; }
.station-account-summary h4 { margin:0 0 9px; }
.account-product-kpis { margin-bottom:0; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); }
.account-product-kpis article { min-height:102px; }
.account-product-kpis .account-grand-total { border-color:color-mix(in srgb,var(--blue) 55%,var(--line)); background:color-mix(in srgb,var(--blue) 8%,var(--surface)); }
.account-product-kpis article:not(.account-grand-total) strong { color:var(--green); }
.station-transaction-filters { display:grid; grid-template-columns:minmax(150px,1fr) minmax(170px,1.2fr) minmax(260px,2fr) auto; gap:10px; align-items:end; margin:0 0 8px; }
.station-transaction-filters label { display:grid; gap:4px; color:var(--muted); font-size:.7rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.station-transaction-filters select,.station-transaction-filters input { box-sizing:border-box; width:100%; min-width:0; height:42px; padding:0 12px; border:1px solid var(--line); border-radius:9px; background:var(--surface2); color:var(--text); font:inherit; text-transform:none; }
.station-transaction-filters button { height:42px; padding:0 18px; border:1px solid var(--line); border-radius:9px; background:var(--surface2); color:var(--text); font-weight:800; }
.station-transaction-status { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:6px 2px 12px; color:var(--muted); font-size:.75rem; }
.station-transaction-pages { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.station-transaction-pages button { min-height:34px; padding:5px 12px; border:1px solid var(--line); border-radius:8px; background:var(--surface2); color:var(--text); font-weight:750; cursor:pointer; }
.station-transaction-pages button:disabled { opacity:.4; cursor:default; }
.station-transaction-pages b { color:var(--text); white-space:nowrap; }
.station-card-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.station-card-heading h4 { margin:0; }
@media(max-width:600px){.station-card-heading{align-items:flex-start;flex-direction:column}.station-card-heading .station-transaction-pages{width:100%}}
.station-transaction-status { margin:0 0 12px; color:var(--muted); font-size:.78rem; }
.station-cash-filters { display:grid; grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto; align-items:end; gap:10px; margin-bottom:14px; }
.station-cash-filters label { display:grid; gap:5px; min-width:0; color:var(--muted); font-size:.68rem; font-weight:800; letter-spacing:.045em; text-transform:uppercase; }
.station-cash-filters select,.station-cash-filters button { width:100%; min-height:42px; padding:8px 11px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--text); font:inherit; }
.station-cash-filters button { width:auto; cursor:pointer; font-weight:800; }
@media(max-width:700px){.station-cash-filters{grid-template-columns:1fr 1fr}.station-cash-filters button{grid-column:1/-1;width:100%}}
@media(max-width:900px){.station-transaction-filters{grid-template-columns:1fr 1fr}.station-transaction-search{grid-column:1/-1}.station-transaction-filters button{grid-column:1/-1}.station-transaction-status{align-items:flex-start;flex-direction:column}.station-transaction-pages{width:100%;justify-content:space-between}.station-transaction-pages button{min-width:84px}}
@media(max-width:520px){.station-transaction-filters{grid-template-columns:1fr}.station-transaction-search,.station-transaction-filters button{grid-column:auto}}
@media(max-width:600px){.station-ugt-filter{margin:0 0 10px}.station-ugt-filter label{width:100%}.station-ugt-filter select{min-height:42px}}
@media(max-width:600px){.station-account-filter{margin:0 0 10px}.station-account-filter details{width:100%}.station-account-filter-panel{position:fixed;top:auto;right:12px;bottom:12px;left:12px;width:auto;max-height:58dvh}}
@media(max-width:600px){.account-product-kpis{grid-template-columns:1fr 1fr}.account-product-kpis article{min-height:88px;padding:12px}.account-product-kpis article strong{font-size:1.15rem}}
.station-pdf-export { --bg:#fff; --surface:#fff; --surface2:#f2f5f7; --surface-muted:#f5f7f8; --line:#cbd3d9; --text:#15202b; --muted:#52606d; --blue:#147cca; --green:#18836f; --amber:#c47b16; --red:#c63f48; position:fixed; left:-12000px; top:0; width:1400px; box-sizing:border-box; padding:20px; background:#fff; color:var(--text); font-family:inherit; }
.station-pdf-export .station-reports-header { display:block; padding:6px 4px 18px; border-bottom:1px solid var(--line); background:#fff; color:var(--text); }
.station-pdf-export .station-reports-header h2 { margin:5px 0; color:var(--text); }
.station-pdf-export .station-reports-header p { margin:0; color:var(--muted); }
.station-pdf-export .station-report-title { margin:18px 0 14px; }
.station-pdf-export .station-report-table-wrap { display:block !important; max-height:none !important; overflow:visible !important; box-shadow:none; }
.station-pdf-export .station-account-filter { display:none !important; }
.station-pdf-export .station-report-table-wrap table { font-size:10px; white-space:normal; }
.station-pdf-export .station-report-table-wrap th,.station-pdf-export .station-report-table-wrap td { padding:7px 8px; }
.station-pdf-export .station-report-mobile-list,.station-pdf-export .station-report-mobile-total { display:none !important; }
.station-pdf-export .station-report-card,.station-pdf-export .station-kpi-grid article { break-inside:avoid; box-shadow:none; }
.station-pdf-export .station-report-grid { break-inside:avoid; }
.station-data-warning { display:flex; align-items:flex-start; flex-wrap:wrap; gap:6px 14px; margin:-4px 0 16px; padding:11px 14px; border:1px solid color-mix(in srgb,var(--amber) 48%,var(--line)); border-radius:12px; background:color-mix(in srgb,var(--amber) 10%,var(--surface)); color:var(--muted); font-size:.78rem; }
.station-data-warning strong { color:var(--amber); white-space:nowrap; }
.station-data-warning span { flex:1 1 320px; }
.station-kpi-grid { display:grid; grid-template-columns:repeat(4,minmax(150px,1fr)); gap:14px; margin-bottom:16px; }
.station-kpi-grid article,.station-report-card { background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:0 8px 24px rgba(0,0,0,.10); }
.station-kpi-grid article { padding:18px; display:grid; gap:7px; }
.station-kpi-grid article span { color:var(--muted); font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.station-kpi-grid article strong { color:var(--text); font-size:clamp(1.25rem,2vw,1.8rem); }
.station-kpi-grid article small { color:var(--muted); }
.station-report-grid { display:grid; grid-template-columns:2fr 1fr; gap:16px; margin-bottom:16px; }
.station-reports-main,#stationReportsContent,.station-report-grid,.station-report-card { min-width:0; }
.station-report-grid > .station-report-card { width:100%; box-sizing:border-box; }
.dtr-summary-grid { grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr); align-items:stretch; }
.dtr-summary-grid > .station-report-card { display:flex; flex-direction:column; }
.dtr-summary-grid .station-report-table-wrap { flex:0 1 auto; width:100%; }
.station-report-card { padding:18px; min-height:0; }
#stationReportsContent > .station-report-card { margin-bottom:16px; }
.station-report-card h4 { margin:0 0 16px; color:var(--text); }
.station-bars { height:230px; display:flex; align-items:end; gap:8px; border-bottom:1px solid var(--line); overflow-x:auto; padding:10px 6px 0; }
.station-bars>div { min-width:22px; flex:1; height:100%; display:flex; flex-direction:column; justify-content:end; align-items:center; gap:6px; }
.station-bars i { width:100%; max-width:34px; min-height:8px; border-radius:7px 7px 2px 2px; background:linear-gradient(var(--green),color-mix(in srgb,var(--green) 68%,var(--bg))); }
.station-bars span { font-size:.7rem; color:var(--muted); }
.station-kpi-five { grid-template-columns:repeat(5,minmax(0,1fr)); }
.station-insights { margin-top:16px; }
.station-insight-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.station-insight-grid div { display:flex; flex-direction:column; gap:4px; padding:12px 14px; border-radius:12px; background:color-mix(in srgb,var(--surface-muted) 70%,transparent); }
.station-insight-grid b { font-size:.7rem; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.station-insight-grid strong { font-size:1.05rem; }
.station-insight-grid small { color:var(--muted); }
.station-chart-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.station-chart-heading span { color:var(--muted); font-size:.72rem; }
.station-trend-svg { width:100%; height:230px; display:block; margin-top:2px; overflow:visible; }
.trend-grid { fill:none; stroke:var(--line); stroke-width:.35; vector-effect:non-scaling-stroke; }
.trend-axis-label { fill:var(--muted); font-size:12px; font-weight:600; dominant-baseline:middle; }
.trend-line { fill:none; stroke:var(--blue); stroke-width:2.4; vector-effect:non-scaling-stroke; stroke-linecap:round; stroke-linejoin:round; }
.trend-sales-bars rect { fill:var(--blue); opacity:.78; cursor:crosshair; transition:opacity .15s ease; }
.trend-sales-bars rect:hover { opacity:1; }
.trend-volume-line { fill:none; stroke:var(--green); stroke-width:2; stroke-dasharray:7 5; vector-effect:non-scaling-stroke; stroke-linecap:round; stroke-linejoin:round; opacity:.9; }
.trend-dots circle { fill:var(--blue); stroke:var(--panel); stroke-width:.8; vector-effect:non-scaling-stroke; cursor:crosshair; }
.trend-dots circle:hover { r:7; }
.trend-volume-dots circle { fill:var(--panel); stroke:var(--green); stroke-width:2; vector-effect:non-scaling-stroke; cursor:crosshair; }
.trend-volume-dots circle:hover { r:6; }
.station-trend-card .trend-sales-bars rect { transform-box:fill-box; transform-origin:center bottom; animation:reportChartBarIn .65s cubic-bezier(.2,.75,.25,1) both; }
.station-trend-card .trend-sales-bars rect:nth-child(3n+2) { animation-delay:.06s; }
.station-trend-card .trend-sales-bars rect:nth-child(3n) { animation-delay:.12s; }
.station-trend-card .trend-volume-line { animation:reportChartLineIn .9s cubic-bezier(.2,.7,.2,1) .12s both; }
.station-trend-card .trend-volume-dots circle { transform-box:fill-box; transform-origin:center; animation:reportChartPointIn .32s ease-out .72s both; }
.station-stacked-day > div { transform-origin:center bottom; animation:reportChartBarIn .6s cubic-bezier(.2,.75,.25,1) both; }
.station-stacked-day:nth-child(4n+2) > div { animation-delay:.05s; }.station-stacked-day:nth-child(4n+3) > div { animation-delay:.1s; }.station-stacked-day:nth-child(4n) > div { animation-delay:.15s; }
.station-bars i { transform-origin:center bottom; animation:reportChartBarIn .55s cubic-bezier(.2,.75,.25,1) both; }
.customer-donut { animation:reportChartDonutIn .7s cubic-bezier(.2,.75,.25,1) both; }
@keyframes reportChartBarIn { from { opacity:.15; transform:scaleY(.04); } to { opacity:1; transform:scaleY(1); } }
@keyframes reportChartLineIn { from { opacity:0; clip-path:inset(0 100% 0 0); } to { opacity:.9; clip-path:inset(0); } }
@keyframes reportChartPointIn { from { opacity:0; transform:scale(.2); } to { opacity:1; transform:scale(1); } }
@keyframes reportChartDonutIn { from { opacity:0; transform:scale(.72) rotate(-12deg); } to { opacity:1; transform:scale(1) rotate(0); } }
@media(prefers-reduced-motion:reduce){.station-trend-card .trend-sales-bars rect,.station-trend-card .trend-volume-line,.station-trend-card .trend-volume-dots circle,.station-stacked-day>div,.station-bars i,.customer-donut{animation:none}}
.station-trend-labels { display:flex; justify-content:space-between; gap:6px; margin:0 8%; color:var(--muted); font-size:.72rem; overflow:hidden; }
.station-trend-labels span { white-space:nowrap; }
.station-trend-labels.single { justify-content:center; }
.station-trend-legend { display:flex; gap:18px; align-items:center; color:var(--muted); font-size:.72rem; margin:2px 0 -4px 6.5%; }
.station-trend-legend span::before { content:""; display:inline-block; width:13px; height:9px; border-radius:3px; margin-right:6px; vertical-align:middle; background:var(--blue); opacity:.78; }
.station-trend-legend .volume::before { width:18px; height:3px; border-radius:3px; background:var(--green); opacity:1; }
@media (max-width: 900px) { .station-kpi-five { grid-template-columns:repeat(2,minmax(0,1fr)); } .station-insight-grid { grid-template-columns:1fr; } }
@media (min-width:901px) and (max-width:1250px) {
  .station-reports-card{width:99vw;height:96vh}
  .station-reports-header{padding:16px 52px 14px 20px;align-items:flex-start;flex-wrap:wrap}
  .station-report-controls{width:100%;justify-content:flex-end;flex-wrap:wrap}
  .station-reports-layout{grid-template-columns:170px 1fr}
  .station-reports-nav{padding:14px 9px}
  .station-reports-nav button{padding:10px 11px;font-size:.82rem}
  .station-reports-main{padding:18px}
  .station-kpi-grid,.station-kpi-five{grid-template-columns:repeat(3,minmax(0,1fr))}
  .station-report-grid{grid-template-columns:1fr}
  .station-trend-svg{height:210px}
  .station-report-card .station-report-table-wrap{max-height:430px}
}
.station-stacked-chart { display:flex; gap:8px; align-items:flex-end; min-height:150px; overflow-x:auto; padding:12px 4px 0; }
.station-stacked-day { min-width:22px; height:130px; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:6px; font-size:10px; color:var(--muted); }
.station-stacked-day > div { width:100%; min-height:8px; display:flex; flex-direction:column-reverse; align-items:stretch; justify-content:flex-start; border-radius:5px 5px 0 0; overflow:hidden; background:var(--surface-muted); }
.station-stacked-day i { display:block; width:100%; min-height:1px; }
.station-chart-legend { display:flex; flex-wrap:wrap; gap:10px; margin-top:10px; font-size:11px; color:var(--muted); }
.station-chart-legend span { display:inline-flex; align-items:center; gap:4px; }
.station-chart-legend i { width:9px; height:9px; border-radius:50%; display:inline-block; }
.customer-donut-layout { display:flex; align-items:center; justify-content:center; gap:24px; min-height:190px; max-width:620px; margin:0 auto; }
.customer-donut { width:132px; height:132px; border-radius:50%; display:grid; place-items:center; flex:0 0 auto; }
.customer-donut::after { content:""; width:78px; height:78px; border-radius:50%; background:var(--panel); grid-area:1/1; }
.customer-donut span { grid-area:1/1; z-index:1; text-align:center; font-weight:800; font-size:1rem; }
.customer-donut span small { display:block; font-size:.65rem; font-weight:500; color:var(--muted); }
.customer-donut-legend { flex:0 1 300px; width:300px; display:grid; gap:7px; min-width:0; }
.customer-donut-legend div { display:grid; grid-template-columns:10px minmax(130px,1fr) auto; gap:7px; align-items:center; font-size:.78rem; }
.customer-donut-legend i { width:9px; height:9px; border-radius:50%; }
.customer-donut-legend span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.customer-donut-legend span b,.customer-donut-legend span small { display:block; }
.customer-donut-legend span small { color:var(--muted); font-size:.68rem; margin-top:2px; }
.station-rank { display:grid; grid-template-columns:1fr auto; gap:4px 12px; padding:12px 0; border-bottom:1px solid var(--line); }
.station-rank span { font-weight:800; color:var(--text); }.station-rank b { color:var(--green); }.station-rank small { grid-column:2; color:var(--muted); text-align:right; }
.station-report-table-wrap { background:var(--surface); border:1px solid var(--line); border-radius:15px; overflow:auto; box-shadow:0 8px 24px rgba(0,0,0,.08); }
.station-report-table-wrap { overscroll-behavior-inline:contain; scrollbar-gutter:stable; }
.station-report-card .station-report-table-wrap { max-height:min(54vh,520px); }
.station-report-table-wrap table { width:100%; min-width:0; max-width:100%; table-layout:fixed; border-collapse:collapse; white-space:normal; }
.station-report-table-wrap th { position:sticky; top:0; z-index:1; padding:11px 10px; background:var(--surface2); color:var(--muted); font-size:clamp(.62rem,.6vw,.74rem); line-height:1.2; overflow-wrap:anywhere; text-align:left; text-transform:uppercase; letter-spacing:.025em; }
.station-report-table-wrap td { padding:10px; border-top:1px solid var(--line); color:var(--text); font-size:clamp(.69rem,.66vw,.82rem); line-height:1.25; overflow-wrap:anywhere; text-align:left; vertical-align:top; }
.station-report-table-compact th,.station-report-table-compact td { padding-inline:8px; }
.compact-report-card .station-report-table-wrap { overflow-x:hidden; scrollbar-gutter:auto; }
.compact-report-card .station-report-table-wrap th,
.compact-report-card .station-report-table-wrap td { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.station-report-table-dense th,.station-report-table-dense td { padding-inline:6px; font-size:clamp(.58rem,.56vw,.72rem); }
.station-report-table-dense th { letter-spacing:0; }
.station-report-table-wrap .align-right,
.station-report-table-wrap .align-center { text-align:left; }
.station-report-table-wrap tfoot td { padding:12px 14px; border-top:2px solid var(--line); background:var(--surface2); color:var(--text); font-weight:900; }
.station-report-table-wrap tbody tr:hover { background:var(--surface2); }
.station-report-table-wrap tbody .report-subtotal-row { background:color-mix(in srgb,var(--surface2) 78%,var(--surface)); font-weight:850; }
.station-summary-inline { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:22px; padding:14px 4px 2px; color:var(--muted); font-size:.82rem; }
.station-summary-inline b { color:var(--text); margin-left:7px; }
.station-accountability { display:grid; gap:0; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.station-accountability span,.station-accountability>strong { display:flex; justify-content:space-between; gap:18px; padding:13px 15px; border-bottom:1px solid var(--line); }
.station-accountability span b { color:var(--text); }
.station-accountability>strong { border-bottom:0; background:var(--surface2); color:var(--text); }
.station-report-mobile-list { display:none; }
.station-report-mobile-total { display:none; }
.station-report-empty { min-height:220px; display:grid; place-content:center; gap:7px; text-align:center; color:var(--muted); }
.station-report-empty strong { color:var(--text); font-size:1.1rem; }.station-report-empty span { max-width:420px; }
.station-report-summary-strip { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:8px; margin-top:12px; }
.station-report-summary-strip>span { display:grid; gap:3px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--muted); font-size:.76rem; }
.station-report-summary-strip b { color:var(--text); }.station-report-summary-strip em { font-style:normal; }
.dtr-consolidated-summary { margin-bottom:16px; }
.dtr-summary-cards { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; }
.dtr-summary-cards article { min-width:0; display:grid; gap:4px; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--surface2); }
.dtr-summary-cards span { color:var(--muted); font-size:.68rem; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.dtr-summary-cards strong { overflow-wrap:anywhere; color:var(--text); font-size:clamp(1rem,1.35vw,1.35rem); }
.dtr-summary-cards small { color:var(--muted); line-height:1.25; }
.dtr-summary-cards .dtr-summary-total { border-color:color-mix(in srgb,var(--green) 55%,var(--line)); background:color-mix(in srgb,var(--green) 10%,var(--surface)); }
@media(max-width:1250px){.dtr-summary-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.station-report-table-wrap{display:none}.station-report-mobile-list{display:block}.station-report-mobile-total{display:grid}.dtr-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:521px) and (max-width:900px){
  .station-report-mobile-list{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--surface)}
  .station-report-mobile-list details+details{border-top:1px solid var(--line)}
  .station-report-mobile-list summary{display:grid;grid-template-columns:28px repeat(3,minmax(0,1fr)) 14px;align-items:center;gap:10px;min-height:58px;padding:9px 12px;cursor:pointer;list-style:none}
  .station-report-mobile-list summary::-webkit-details-marker{display:none}
  .station-report-mobile-list summary>span,.station-report-mobile-details>div{min-width:0;display:grid;gap:3px}
  .station-report-mobile-list summary small,.station-report-mobile-details small{overflow:hidden;color:var(--muted);font-size:.62rem;font-weight:800;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
  .station-report-mobile-list summary b,.station-report-mobile-details b{overflow:hidden;color:var(--text);font-size:.76rem;text-align:left;text-overflow:ellipsis;white-space:nowrap}
  .station-report-mobile-list .mobile-row-number{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--surface2);color:var(--muted);font-size:.65rem;font-weight:800}
  .station-report-mobile-list summary i{width:8px;height:8px;border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(45deg)}
  .station-report-mobile-list details[open] summary{background:var(--surface2)}
  .station-report-mobile-list details[open] summary i{transform:rotate(225deg)}
  .station-report-mobile-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 16px;padding:13px 16px 15px;border-top:1px dashed var(--line)}
  .station-report-mobile-total{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px;margin-top:9px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface2)}
  .station-report-mobile-total>strong{grid-column:1/-1}.station-report-mobile-total>span{display:grid;gap:2px}.station-report-mobile-total small{color:var(--muted);font-size:.62rem;font-weight:800;text-transform:uppercase}
}
@media(max-width:520px){.dtr-summary-cards{grid-template-columns:1fr 1fr}.dtr-summary-cards article{padding:10px}.dtr-summary-cards small{font-size:.65rem}}
.variance-alert { color:var(--red); font-weight:800; }
@media(max-width:900px){.station-reports-card{width:100vw;height:100dvh;border-radius:0}.station-reports-header{align-items:flex-start;flex-direction:column;padding:16px 50px 14px 16px}.station-report-controls{width:100%;overflow-x:auto}.station-report-controls label{min-width:125px}.station-reports-layout{position:relative;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.station-report-menu-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:8px 16px;border:0;border-bottom:1px solid var(--line);background:var(--surface);color:var(--text);text-align:left}.station-report-menu-toggle strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}.hamburger-icon{width:26px;height:22px;display:flex;flex-direction:column;justify-content:space-between;flex:0 0 auto}.hamburger-icon span{display:block;width:100%;height:3px;border-radius:1px;background:var(--blue);transition:transform .18s ease,opacity .18s ease}.station-report-menu-toggle.open .hamburger-icon span:nth-child(1){transform:translateY(9.5px) rotate(45deg)}.station-report-menu-toggle.open .hamburger-icon span:nth-child(2){opacity:0}.station-report-menu-toggle.open .hamburger-icon span:nth-child(3){transform:translateY(-9.5px) rotate(-45deg)}.station-reports-nav{display:none;position:absolute;z-index:5;top:48px;left:0;right:0;padding:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-bottom:1px solid var(--line);background:var(--bg);box-shadow:0 14px 30px rgba(0,0,0,.28);max-height:55dvh;overflow:auto}.station-reports-nav.mobile-open{display:grid}.station-reports-nav button{min-height:58px;padding:10px 12px;border-radius:3px;background:var(--surface2);border:1px solid var(--line);white-space:normal;text-align:left}.station-reports-nav button:hover{transform:none}.station-reports-nav button.active{background:color-mix(in srgb,var(--green) 23%,var(--surface));box-shadow:inset 4px 0 var(--green)}.station-reports-main{grid-row:2;padding:15px}.station-kpi-grid{grid-template-columns:repeat(2,1fr)}.station-report-grid{grid-template-columns:1fr}}
@media(max-width:900px){#stationReportsOverlay .station-reports-card{width:100vw;height:100dvh}}
@media(max-width:900px){.station-report-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;width:100%;overflow:visible}.station-report-controls label{min-width:0;width:100%;overflow:hidden}.station-report-controls input,.station-report-controls select{min-width:0;width:100%;max-width:100%}.station-report-controls #refreshStationReports{width:100%;height:40px;align-self:end}.station-reports-header{gap:14px}}
@media(max-width:520px){
  .station-reports-header{min-height:0;padding:10px 42px 9px 12px;gap:7px}
  .station-reports-header .eyebrow{display:none}
  .station-reports-header h2{margin:0;font-size:1.2rem;line-height:1.15}
  .station-reports-header p{max-width:calc(100vw - 64px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem}
  .station-report-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 7px}
  .station-report-controls label{min-width:0;width:100%;gap:2px;font-size:.61rem}
  .station-report-controls input,.station-report-controls select{min-width:0;width:100%;height:34px;padding:0 8px;border-radius:8px;font-size:.72rem}
  .station-report-controls #refreshStationReports{height:34px;border-radius:8px}
  .station-report-menu-toggle{min-height:40px;padding:6px 12px;gap:10px}
  .hamburger-icon{width:23px;height:19px}
  .station-report-menu-toggle.open .hamburger-icon span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .station-report-menu-toggle.open .hamburger-icon span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  .station-reports-nav{top:40px;max-height:62dvh}
  .station-reports-main{padding:9px 12px 11px}
  .station-report-title{align-items:center;margin-bottom:8px;gap:8px;flex:0 0 auto}
  .station-report-title h3{font-size:1.15rem;line-height:1.15}
  .station-report-title p{margin-top:3px;font-size:.78rem;line-height:1.25}
  .station-report-title>span{display:none}
  .station-report-actions{gap:5px}
  .station-save-pdf,.station-save-csv,.station-save-xlsx{min-height:34px;padding:6px 8px;border-radius:8px;font-size:.66rem}
  .station-report-table-wrap{display:none}
  .station-report-mobile-list{display:block;min-height:0;overflow:visible;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
  .station-report-mobile-list details+details{border-top:1px solid var(--line)}
  .station-report-mobile-list summary{position:relative;display:grid;grid-template-columns:22px repeat(3,minmax(0,1fr)) 12px;align-items:center;gap:6px;min-height:48px;padding:6px 8px;cursor:pointer;list-style:none}
  .station-report-mobile-list summary::-webkit-details-marker{display:none}
  .station-report-mobile-list summary>span{min-width:0;display:grid;gap:2px}
  .station-report-mobile-list summary small,.station-report-mobile-details small{overflow:hidden;color:var(--muted);font-size:.56rem;font-weight:800;letter-spacing:.035em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
  .station-report-mobile-list summary b,.station-report-mobile-details b{overflow:hidden;color:var(--text);font-size:.68rem;text-align:left;text-overflow:ellipsis;white-space:nowrap}
  .station-report-mobile-list .mobile-row-number{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--surface2);color:var(--muted);font-size:.58rem;font-weight:800}
  .station-report-mobile-list summary i{width:7px;height:7px;border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(45deg);transition:transform .16s ease}
  .station-report-mobile-list details[open] summary{background:var(--surface2)}
  .station-report-mobile-list details[open] summary i{transform:rotate(225deg)}
  .station-report-mobile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:10px 12px 12px;border-top:1px dashed var(--line);background:color-mix(in srgb,var(--surface) 84%,var(--surface2))}
  .station-report-mobile-details>div{min-width:0;display:grid;gap:2px}
  .station-report-mobile-total{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text)}
  .station-report-mobile-total>strong{grid-column:1/-1;font-size:.76rem}
  .station-report-mobile-total>span{display:grid;gap:2px;min-width:0}
  .station-report-mobile-total small{color:var(--muted);font-size:.56rem;font-weight:800;text-transform:uppercase}
  .station-report-mobile-total b{font-size:.7rem;text-align:left}
  .station-kpi-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:9px}
  .station-kpi-grid article{padding:10px;gap:4px;border-radius:12px}
  .station-kpi-grid article small{display:none}
  .station-report-grid{gap:9px}
  .station-report-card{padding:12px;min-height:0;border-radius:12px}
  .station-bars{height:170px}
}

@media print {
  @page { size:landscape; margin:10mm; }
  body.printing-station-report { background:#fff !important; overflow:visible !important; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  body.printing-station-report * { visibility:hidden; }
  body.printing-station-report #stationReportsOverlay,
  body.printing-station-report #stationReportsOverlay .station-reports-card,
  body.printing-station-report #stationReportsOverlay .station-reports-header,
  body.printing-station-report #stationReportsOverlay .station-reports-layout,
  body.printing-station-report #stationReportsOverlay .station-reports-main,
  body.printing-station-report #stationReportsContent,
  body.printing-station-report #stationReportsContent * { visibility:visible; }
  body.printing-station-report #stationReportsOverlay { position:absolute !important; inset:0 !important; display:block !important; padding:0 !important; background:#fff !important; }
  body.printing-station-report .station-reports-card { width:100% !important; height:auto !important; max-height:none !important; overflow:visible !important; padding:0 !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; }
  body.printing-station-report .station-reports-header { display:block !important; padding:0 0 12px !important; border-bottom:1px solid #aaa !important; background:#fff !important; color:#111 !important; }
  body.printing-station-report .station-reports-header h2,
  body.printing-station-report .station-reports-header p,
  body.printing-station-report .station-reports-header .eyebrow { color:#111 !important; }
  body.printing-station-report .station-report-controls,
  body.printing-station-report .station-reports-nav,
  body.printing-station-report .station-report-menu-toggle,
  body.printing-station-report .station-reports-loader,
  body.printing-station-report .station-reports-status,
  body.printing-station-report .modal-close,
  body.printing-station-report .station-save-pdf { display:none !important; }
  body.printing-station-report .station-reports-layout { display:block !important; }
  body.printing-station-report .station-reports-main { display:block !important; overflow:visible !important; padding:14px 0 0 !important; }
  body.printing-station-report #stationReportsContent { overflow:visible !important; }
  body.printing-station-report .station-report-grid { break-inside:avoid; }
  body.printing-station-report .station-report-card,
  body.printing-station-report .station-kpi-grid article { break-inside:avoid; box-shadow:none !important; }
  body.printing-station-report .station-report-table-wrap { display:block !important; max-height:none !important; overflow:visible !important; box-shadow:none !important; }
  body.printing-station-report .station-report-table-wrap table { font-size:9px; white-space:normal; }
  body.printing-station-report .station-report-table-wrap th,
  body.printing-station-report .station-report-table-wrap td { padding:6px 7px; }
  body.printing-station-report .station-report-mobile-list,
  body.printing-station-report .station-report-mobile-total { display:none !important; }
}

body.theme-dark {
  color-scheme: dark;
  --bg: #071019;
  --surface: #0d1824;
  --surface2: #111f2d;
  --line: #223447;
  --text: #edf7ff;
  --muted: #89a0b5;
  --blue: #1688df;
  --green: #15d68a;
  --red: #f54959;
  --amber: #f5a623;
  --app-background: radial-gradient(circle at 12% 0, #0d2940 0, transparent 35%), #071019;
}

body.theme-graphite {
  color-scheme: dark;
  --bg: #20252b;
  --surface: #2b3138;
  --surface2: #353c44;
  --line: #515c67;
  --text: #f4f7f9;
  --muted: #b4c0ca;
  --blue: #56afe5;
  --green: #39d3a0;
  --red: #ff6878;
  --amber: #f4b54b;
  --app-background: linear-gradient(145deg, #2a3036 0%, #20252b 48%, #191d22 100%);
}

body.theme-beige {
  color-scheme: light;
  --bg: #e8e0d3;
  --surface: #faf6ef;
  --surface2: #eee7dc;
  --line: #c9bdac;
  --text: #2c3033;
  --muted: #6f6b64;
  --blue: #39779e;
  --green: #2e8066;
  --red: #b64852;
  --amber: #a56b28;
  --app-background: linear-gradient(145deg, #f2ece3 0%, #e4dccf 52%, #d6cbbb 100%);
}

body.theme-light {
  color-scheme: light;
  --bg: #edf5fa;
  --surface: #ffffff;
  --surface2: #f4f8fb;
  --line: #d7e3ec;
  --text: #102234;
  --muted: #65798b;
  --blue: #0b78ce;
  --green: #099a62;
  --red: #d72d3d;
  --amber: #bd7700;
  --app-background: linear-gradient(135deg, #f8fbfd, #e6f1f7);
}

body.theme-contrast {
  color-scheme: dark;
  --bg: #050505;
  --surface: #101010;
  --surface2: #1c1c1c;
  --line: #606060;
  --text: #ffffff;
  --muted: #d2d2d2;
  --blue: #4ab8ff;
  --green: #50efad;
  --red: #ff6677;
  --amber: #ffd166;
  --app-background: #050505;
}

body.theme-metro {
  color-scheme: light;
  --bg: #d7dadd;
  --surface: #f5f6f7;
  --surface2: #e4e7e9;
  --line: #9ca5ac;
  --text: #20272d;
  --muted: #59656e;
  --blue: #0078d4;
  --green: #008f6a;
  --red: #c42b3a;
  --amber: #b66b00;
  --app-background: #cfd4d8;
}

body.theme-sage {
  color-scheme: light;
  --bg: #dfe5dc;
  --surface: #f7f9f4;
  --surface2: #e8ede4;
  --line: #b6c2b3;
  --text: #28322b;
  --muted: #657167;
  --blue: #4b748f;
  --green: #4e8063;
  --red: #b34c57;
  --amber: #96692f;
  --app-background: linear-gradient(145deg, #edf1ea 0%, #dce4d9 52%, #ccd6ca 100%);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--app-background);
  color: var(--text);
  transition: background .2s ease, color .2s ease;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
  min-height: 42px;
}

.hidden {
  display: none !important;
}

.app-shell {
  min-height: 100vh;
}

.eyebrow {
  display: block;
  color: var(--green);
  letter-spacing: .16em;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.login-main {
  color: var(--text);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px;
  position: relative;
  overflow: hidden;
  background: #06111d;
}

.login-main::before {
  content: "";
  position: absolute;
  inset: -28px;
  background:
    linear-gradient(rgba(3, 9, 16, .38), rgba(3, 9, 16, .66)),
    url("/logo-assets/eFMSlogo.png") center / cover no-repeat;
  filter: blur(8px);
  transform: scale(1.03);
}

.login-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(21, 214, 138, .18), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, .32), rgba(0, 0, 0, .08), rgba(0, 0, 0, .32));
  pointer-events: none;
}

.login-layout {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

.login-copy {
  text-align: left;
}

.login-copy h1 {
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0;
  text-shadow: 0 10px 32px rgba(0, 0, 0, .45);
}

.login-copy h2 {
  color: var(--green);
  font-size: clamp(21px, 2.3vw, 32px);
  line-height: 1.22;
  margin: 22px 0 0;
}

.login-copy p {
  color: #b9d5eb;
  max-width: 430px;
  font-size: 15px;
  line-height: 1.5;
  margin: 10px auto 0;
  text-shadow: 0 6px 20px rgba(0, 0, 0, .5);
}

.login-card {
  width: 100%;
  max-width: 468px;
  padding: 32px 38px 30px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--blue) 22%);
  border-radius: 26px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .45);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.login-accent {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.login-brand {
  text-align: center;
}

.brand-logo {
  width: min(220px, 76%);
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(13, 209, 121, .18));
}

.login-brand h2 {
  margin: 0;
  font-size: 25px;
}

.login-brand p,
.login-note {
  color: var(--muted);
  font-size: 12px;
}

.pin-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
}

.pin-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.login-status {
  margin-top: 14px;
  padding: 12px 14px;
  color: #dff2ff;
  background: rgba(33, 150, 243, .14);
  border: 1px solid rgba(33, 150, 243, .42);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.35;
}

.login-status.error {
  color: #ffe8e8;
  background: rgba(244, 67, 54, .16);
  border-color: rgba(244, 67, 54, .5);
}

.login-status.success {
  color: #ddfff0;
  background: rgba(0, 204, 127, .14);
  border-color: rgba(0, 204, 127, .42);
}

input,
select {
  width: 100%;
  color: var(--text);
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent);
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.keypad button,
.primary,
.danger-button,
.panel-title button,
.account-actions button,
.report-actions button,
.more-grid button,
.bir-grid button {
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  background: var(--surface2);
  font-weight: 800;
}

.keypad button {
  min-height: 64px;
  border-radius: 13px;
  font-size: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
    color-mix(in srgb, var(--surface2) 88%, var(--blue) 12%);
}

.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), #0566b1);
  color: #fff;
}

.primary.compact {
  padding: 0 14px;
}

.danger-soft,
.danger-button {
  border-color: rgba(245, 73, 89, .35) !important;
  background: rgba(245, 73, 89, .15) !important;
  color: #ff7c87 !important;
}

.success {
  border-color: rgba(52, 211, 153, .35) !important;
  background: rgba(5, 150, 105, .18) !important;
  color: #a7f3d0 !important;
}

.link-danger {
  width: 100%;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: #ff7c87;
  font-size: 12px;
}

.login-note {
  text-align: center;
  margin: 14px 0 0;
}

.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-lockup img {
  width: 48px;
  height: 42px;
  object-fit: contain;
}

.brand-lockup div {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-lockup strong {
  font-size: 20px;
  font-weight: 800;
}

.brand-lockup span {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.service-chip i {
  width: 7px;
  height: 7px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  border-radius: 50%;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  background: var(--surface2);
}

.refresh-icon-button,
button.refresh-icon-button {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
}

.refresh-icon-button span {
  display: block;
  font-family: "Segoe UI Symbol", "Segoe UI", sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  transform-origin: center;
}

.refresh-icon-button:active span {
  transform: rotate(30deg);
}

.report-view-button,
button.report-view-button {
  align-self:flex-end;
  min-width:88px;
  height:42px;
  min-height:42px;
  padding:0 20px;
  border-radius:10px;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-delivery-button span {
  font-size: 30px;
  font-weight: 500;
  transform: translateY(-1px);
}

.add-delivery-button:active span {
  transform: translateY(-1px) scale(0.94);
}

.dashboard-main {
  min-height: 100vh;
}

.support-workspace {
  width: 100%;
  margin: 0;
  padding: 10px 14px 14px;
}

.workspace-topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 16px;
  position: relative;
}

.cash-safe-drop-alert {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  width: min(46vw, 650px);
  padding: 11px 18px;
  border: 2px solid #ff4d4d;
  border-radius: 10px;
  background: #160606;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, .12), 0 8px 22px rgba(0, 0, 0, .28);
  color: #ff5c5c;
  font-size: clamp(.78rem, 1.15vw, 1rem);
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  z-index: 2;
}

@media (max-width: 900px) {
  .cash-safe-drop-alert {
    position: static;
    order: 3;
    transform: none;
    width: 100%;
    margin-top: 8px;
  }
}

.workspace-topbar h1 {
  font-size: 27px;
  margin: 0;
}

.workspace-topbar p {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 13px;
}

.workspace-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.theme-picker {
  position: relative;
}

.theme-picker-button {
  align-items: center;
  background: color-mix(in srgb, var(--surface2) 90%, var(--blue) 10%);
  border: 1px solid color-mix(in srgb, var(--line) 82%, var(--blue) 18%);
  border-radius: 10px;
  color: var(--text);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  padding: 0;
}

.theme-picker-button:hover,
.theme-picker-button[aria-expanded="true"] {
  background: color-mix(in srgb, var(--surface2) 74%, var(--blue) 26%);
  border-color: color-mix(in srgb, var(--blue) 62%, var(--line));
}

.qr-access-button {
  align-items:center;
  background:color-mix(in srgb,var(--surface2) 82%,var(--green) 18%);
  border:1px solid color-mix(in srgb,var(--line) 75%,var(--green) 25%);
  border-radius:10px;
  color:var(--text);
  display:inline-flex;
  flex:0 0 44px;
  height:44px;
  justify-content:center;
  min-width:44px;
  padding:0;
}
.qr-access-button:hover { background:color-mix(in srgb,var(--surface2) 65%,var(--green) 35%); border-color:var(--green); }
.qr-access-button svg { width:23px; height:23px; fill:currentColor; }
.login-utility-actions {
  align-items:center;
  display:flex;
  gap:10px;
  position:absolute;
  right:clamp(16px,3vw,38px);
  top:clamp(16px,3vw,32px);
  z-index:20;
}
.login-utility-actions .theme-menu { left:auto; right:0; }
.remote-qr-card { width:min(520px,calc(100vw - 28px)); padding:32px; text-align:center; }
.remote-qr-card .eyebrow { color:var(--blue); }
.remote-qr-card h2 { margin:8px 30px 5px; font-size:26px; }
.remote-qr-card > p { color:var(--muted); margin:0 0 20px; }
.remote-qr-image-wrap { background:#fff; border:1px solid var(--line); border-radius:14px; margin:0 auto; padding:18px; width:min(390px,100%); box-sizing:border-box; }
.remote-qr-image-wrap img { display:block; height:auto; width:100%; image-rendering:auto; }
.remote-qr-unavailable { background:color-mix(in srgb,var(--surface2) 88%,var(--amber) 12%); border:1px solid color-mix(in srgb,var(--line) 70%,var(--amber) 30%); border-radius:12px; color:var(--text); padding:24px; }
@media(max-width:600px){.qr-access-button{flex-basis:40px;height:40px;min-width:40px}.remote-qr-card{padding:26px 18px}.remote-qr-card h2{font-size:22px}.remote-qr-image-wrap{padding:12px}}

.theme-picker-glyph {
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(2, 7px);
}

.theme-picker-glyph i {
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.theme-picker-glyph i:nth-child(1) { background: #56afe5; }
.theme-picker-glyph i:nth-child(2) { background: #39d3a0; }
.theme-picker-glyph i:nth-child(3) { background: #f4b54b; }
.theme-picker-glyph i:nth-child(4) { background: #ff6878; }

.theme-menu {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, .35);
  display: grid;
  gap: 5px;
  padding: 9px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 272px;
  z-index: 70;
}

.theme-menu-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 3px 3px;
  padding: 5px 4px 10px;
}

.theme-menu-heading strong,
.theme-menu-heading span {
  display: block;
}

.theme-menu-heading strong {
  font-size: 14px;
}

.theme-menu-heading span {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}

.theme-option {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  min-height: 52px;
  padding: 6px 8px;
  text-align: left;
}

.theme-option:hover {
  background: color-mix(in srgb, var(--surface2) 86%, var(--blue) 14%);
  border-color: color-mix(in srgb, var(--line) 78%, var(--blue) 22%);
}

.theme-option.active {
  background: color-mix(in srgb, var(--surface2) 76%, var(--green) 24%);
  border-color: color-mix(in srgb, var(--green) 56%, var(--line));
}

.theme-option > span:nth-child(2),
.theme-option > span:nth-child(2) strong,
.theme-option > span:nth-child(2) small {
  display: block;
  min-width: 0;
}

.theme-option > span:nth-child(2) strong {
  font-size: 13px;
}

.theme-option > span:nth-child(2) small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}

.theme-option > b {
  color: var(--green);
  opacity: 0;
  text-align: center;
}

.theme-option.active > b {
  opacity: 1;
}

.theme-swatch {
  border: 1px solid rgba(127, 127, 127, .4);
  border-radius: 7px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 34px;
  overflow: hidden;
  width: 34px;
}

.theme-swatch i:first-child {
  grid-column: 1 / -1;
}

.swatch-graphite i:nth-child(1) { background: #20252b; }
.swatch-graphite i:nth-child(2) { background: #56afe5; }
.swatch-graphite i:nth-child(3) { background: #39d3a0; }
.swatch-beige i:nth-child(1) { background: #e8e0d3; }
.swatch-beige i:nth-child(2) { background: #39779e; }
.swatch-beige i:nth-child(3) { background: #2e8066; }
.swatch-light i:nth-child(1) { background: #edf5fa; }
.swatch-light i:nth-child(2) { background: #0b78ce; }
.swatch-light i:nth-child(3) { background: #099a62; }
.swatch-dark i:nth-child(1) { background: #071019; }
.swatch-dark i:nth-child(2) { background: #1688df; }
.swatch-dark i:nth-child(3) { background: #15d68a; }
.swatch-metro i:nth-child(1) { background: #d7dadd; }
.swatch-metro i:nth-child(2) { background: #0078d4; }
.swatch-metro i:nth-child(3) { background: #008f6a; }
.swatch-sage i:nth-child(1) { background: #dfe5dc; }
.swatch-sage i:nth-child(2) { background: #4b748f; }
.swatch-sage i:nth-child(3) { background: #4e8063; }
.swatch-contrast i:nth-child(1) { background: #050505; }
.swatch-contrast i:nth-child(2) { background: #4ab8ff; }
.swatch-contrast i:nth-child(3) { background: #ffd166; }

body.theme-metro .panel,
body.theme-metro .modal-card,
body.theme-metro .theme-menu,
body.theme-metro .tile,
body.theme-metro .more-grid button,
body.theme-metro .bir-grid button,
body.theme-metro .report-actions button,
body.theme-metro .pump-card,
body.theme-metro input,
body.theme-metro select {
  border-radius: 3px;
}

body.theme-metro .tile,
body.theme-metro .more-grid button,
body.theme-metro .bir-grid button,
body.theme-metro .report-actions button,
body.theme-metro .pump-card {
  box-shadow: none;
}

.fullscreen-button {
  align-items: center;
  border: 1px solid rgba(137, 160, 181, .28);
  border-radius: 10px;
  color: var(--text);
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  padding: 0;
  background: color-mix(in srgb, var(--surface2) 82%, var(--blue) 18%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.fullscreen-button:hover {
  border-color: rgba(22, 136, 223, .55);
  background: color-mix(in srgb, var(--surface2) 68%, var(--blue) 32%);
}

.fullscreen-glyph {
  display: block;
  height: 20px;
  position: relative;
  width: 20px;
}

.fullscreen-glyph i {
  border-color: currentColor;
  border-style: solid;
  height: 7px;
  position: absolute;
  width: 7px;
}

.fullscreen-glyph i:nth-child(1) {
  border-width: 2px 0 0 2px;
  left: 0;
  top: 0;
}

.fullscreen-glyph i:nth-child(2) {
  border-width: 2px 2px 0 0;
  right: 0;
  top: 0;
}

.fullscreen-glyph i:nth-child(3) {
  border-width: 0 2px 2px 0;
  bottom: 0;
  right: 0;
}

.fullscreen-glyph i:nth-child(4) {
  border-width: 0 0 2px 2px;
  bottom: 0;
  left: 0;
}

.fullscreen-button.is-fullscreen .fullscreen-glyph i:nth-child(1) {
  border-width: 0 2px 2px 0;
}

.fullscreen-button.is-fullscreen .fullscreen-glyph i:nth-child(2) {
  border-width: 0 0 2px 2px;
}

.fullscreen-button.is-fullscreen .fullscreen-glyph i:nth-child(3) {
  border-width: 2px 0 0 2px;
}

.fullscreen-button.is-fullscreen .fullscreen-glyph i:nth-child(4) {
  border-width: 2px 2px 0 0;
}

.metrics-strip {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}

.metrics-strip span {
  padding: 10px 16px;
  color: var(--muted);
  font-size: 11px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.metrics-strip span:last-child {
  border: 0;
}

.metrics-strip strong {
  color: var(--text);
  font-size: 15px;
  margin-right: 4px;
}

.account-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.account-actions button,
.panel-title button {
  padding: 9px 12px;
  font-size: 12px;
}

.account-manager-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 360px);
  gap: 16px;
  min-height: 460px;
}

.account-table-head,
.tagger-table-head,
.account-row {
  display: grid;
  grid-template-columns: 1.4fr .5fr .8fr;
  gap: 10px;
  align-items: center;
}

.tagger-table-head {
  grid-template-columns: .8fr 1.2fr .8fr;
}

.tagger-user-row {
  grid-template-columns: .8fr 1.2fr .8fr;
}

.account-table-head,
.tagger-table-head {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  background: color-mix(in srgb, var(--surface2) 92%, var(--blue) 8%);
}

.account-rows {
  max-height: 420px;
  overflow: auto;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.account-row {
  width: 100%;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.account-row:hover,
.account-row.active {
  background: rgba(20, 184, 166, .16);
}

.tagger-user-row.deactivated {
  color: #fca5a5;
}

.tagger-user-row.deactivated:not(.active) {
  background: rgba(127, 29, 29, .14);
}

.account-editor {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.stacked-actions {
  grid-template-columns: 1fr;
}

.mobile-tabs {
  display: none;
}

.desk-grid {
  display: grid;
  grid-template-columns: minmax(240px, 310px) minmax(420px, 1fr) minmax(280px, 310px);
  grid-template-rows: minmax(310px, 1fr) minmax(230px, .72fr);
  gap: 12px;
  height: calc(100vh - 112px);
  min-height: 620px;
}

.desk-grid.receipt-layout {
  grid-template-columns: minmax(240px, 280px) minmax(340px, 1fr) minmax(360px, 460px);
}

.panel {
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.sales-panel {
  grid-row: 1 / 3;
}

.transaction-panel {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
}

.report-panel {
  grid-column: 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.pump-panel {
  grid-column: 2;
  grid-row: 2;
}

.more-panel {
  display: none;
}

.panel-title {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}

.panel-title h2 {
  font-size: 15px;
  margin: 0;
}

.panel-title p {
  color: var(--muted);
  font-size: 10px;
  margin: 3px 0 0;
}

.service-connection {
  align-items: center;
  display: flex;
  gap: 6px;
  font-weight: 700;
  line-height: 1.2;
}

.service-connection span {
  background: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, .12);
  flex: 0 0 7px;
  height: 7px;
  width: 7px;
}

.service-connection b {
  font: inherit;
}

.service-connection.connected {
  color: #6ee7b7;
}

.service-connection.connected span {
  background: #10d99a;
  box-shadow: 0 0 0 4px rgba(16, 217, 154, .12);
}

.service-connection.disconnected {
  color: #fda4af;
}

.service-connection.disconnected span {
  background: #fb7185;
  box-shadow: 0 0 0 4px rgba(251, 113, 133, .13);
}

.command-grid,
.more-grid,
.bir-grid,
.report-actions {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.command-grid {
  grid-template-columns: 1fr 1fr;
  overflow: auto;
  max-height: calc(100% - 68px);
  align-content: start;
}

.command-grid:has(.ask-neo-hint) {
  overflow: visible;
}

.tile,
.more-grid button,
.bir-grid button,
.report-actions button {
  min-height: 76px;
  padding: 14px 14px 18px;
  text-align: left;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 78%, #fff 8%);
  border-radius: 14px;
  color: #f7fbff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 42%, rgba(0, 0, 0, .12)),
    color-mix(in srgb, var(--surface2) 86%, #41556a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 10px 24px rgba(0, 0, 0, .14);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, filter .16s ease;
}

.tile:hover,
.more-grid button:hover,
.bir-grid button:hover,
.report-actions button:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--blue) 42%, var(--line));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 14px 30px rgba(0, 0, 0, .18);
  filter: brightness(1.06);
}

.tile:active,
.more-grid button:active,
.bir-grid button:active,
.report-actions button:active {
  transform: translateY(0);
  filter: brightness(.96);
}

.tile.config-disabled,
.tile.level-disabled,
.more-grid button.config-disabled,
.more-grid button.level-disabled,
.bir-grid button.config-disabled,
.bir-grid button.level-disabled,
.report-actions button.config-disabled,
.report-actions button.level-disabled,
.payment-actions button.level-disabled,
.tile:disabled,
.more-grid button:disabled,
.bir-grid button:disabled,
.report-actions button:disabled {
  opacity: .42;
  cursor: not-allowed;
  filter: grayscale(.35);
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.tile.config-disabled::after,
.tile.level-disabled::after,
.more-grid button.config-disabled::after,
.more-grid button.level-disabled::after,
.bir-grid button.config-disabled::after,
.bir-grid button.level-disabled::after,
.report-actions button.config-disabled::after,
.report-actions button.level-disabled::after,
.payment-actions button.level-disabled::after,
.tile:disabled::after,
.more-grid button:disabled::after,
.bir-grid button:disabled::after,
.report-actions button:disabled::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, .18), transparent);
}

.tile::before,
.more-grid button::before,
.bir-grid button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .16), transparent 42%);
  pointer-events: none;
}

.tile::after,
.more-grid button::after,
.bir-grid button::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 11px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, currentColor 55%, transparent), transparent);
  opacity: .42;
}

.urgent {
  color: #fff;
  border-color: rgba(255, 95, 111, .42) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .02) 38%, rgba(63, 0, 10, .18)),
    linear-gradient(135deg, #9f0712, #d9263a) !important;
}

.primary-tile {
  border-color: rgba(45, 233, 160, .45) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 38%, rgba(0, 45, 31, .14)),
    linear-gradient(135deg, #0a7c60, #12b981) !important;
}

.inquiry-tile {
  border-color: rgba(80, 190, 255, .4) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 40%, rgba(0, 33, 54, .16)),
    linear-gradient(135deg, #125b7c, #1689a8) !important;
}

.close-tile {
  grid-column: 1 / -1;
  min-height: 66px;
}
body.cstore-pos [data-command="CSTORE_CLOSE_SHIFT"],
body.cstore-pos #forceCloseShift {
  color: #7f2946 !important;
  border-color: rgba(224, 112, 150, .58) !important;
  background: linear-gradient(145deg, #ffe8f0, #f7b8cb) !important;
  box-shadow: 0 7px 16px rgba(190, 76, 119, .2), inset 0 1px 0 rgba(255,255,255,.75);
}
body.cstore-pos [data-command="CSTORE_CLOSE_SHIFT"]:hover,
body.cstore-pos #forceCloseShift:hover { filter: brightness(1.03) saturate(1.04); }

.neo-command-tile {
  color: #e8fbff !important;
  border-color: rgba(68, 164, 255, .42) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 42%, rgba(17, 57, 126, .2)),
    linear-gradient(135deg, #1c4fba, #18a5df) !important;
}

.dipstick-mode .delivery-tank-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.dipstick-mode .delivery-tank-card {
  min-height: 96px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
    rgba(20, 125, 145, .12);
}

.green {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 42%, rgba(0, 0, 0, .14)),
    color-mix(in srgb, var(--green) 25%, var(--surface2)) !important;
}

.green-soft {
  color: #d8fff2 !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 42%, rgba(0, 0, 0, .14)),
    rgba(21, 214, 138, .14) !important;
}

.violet {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 42%, rgba(0, 0, 0, .14)),
    color-mix(in srgb, #8d65e8 34%, var(--surface2)) !important;
}

.amber {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 42%, rgba(0, 0, 0, .14)),
    color-mix(in srgb, var(--amber) 30%, var(--surface2)) !important;
}

.blue {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 42%, rgba(0, 0, 0, .14)),
    color-mix(in srgb, var(--blue) 30%, var(--surface2)) !important;
}

.orange {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 42%, rgba(0, 0, 0, .14)),
    color-mix(in srgb, #ff7a1a 32%, var(--surface2)) !important;
}

.purple {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 42%, rgba(0, 0, 0, .14)),
    color-mix(in srgb, #9a31ff 32%, var(--surface2)) !important;
}

.primary-tile,
.inquiry-tile {
  color: #fff !important;
}

:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) .tile,
:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) .more-grid button,
:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) .bir-grid button,
:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) .report-actions button {
  color: var(--text);
}

:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) .primary-tile,
:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) .inquiry-tile,
:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) .neo-command-tile,
:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) .urgent {
  color: #fff !important;
}

:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) .green-soft {
  color: #185d49 !important;
}

:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) .service-connection.connected {
  color: #08785a;
}

:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) .service-connection.disconnected {
  color: #b4233a;
}

:is(body.theme-beige, body.theme-light, body.theme-metro, body.theme-sage) tbody tr.added-row {
  color: #8b2431;
}

.table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  text-align: right;
  font-size: 13px;
}

th {
  position: sticky;
  top: 0;
  color: var(--muted);
  background: var(--surface2);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  z-index: 1;
}

th:nth-child(2),
td:nth-child(2),
th:nth-child(6),
td:nth-child(6) {
  text-align: left;
}

tbody tr {
  cursor: pointer;
}

tbody tr.selected-row {
  background: color-mix(in srgb, var(--green) 18%, var(--surface2));
  outline: 2px solid color-mix(in srgb, var(--green) 65%, transparent);
  outline-offset: -2px;
}

tbody tr.added-row {
  background: color-mix(in srgb, var(--red) 19%, var(--surface2));
  color: #ffdce0;
}

tbody tr.added-row td {
  border-bottom-color: color-mix(in srgb, var(--red) 32%, var(--line));
}

tbody tr.added-row.selected-row {
  background: color-mix(in srgb, var(--red) 26%, var(--surface2));
  outline: 2px solid color-mix(in srgb, var(--red) 74%, transparent);
}

.operator-display {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface2);
}

.operator-view {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  align-items: center;
}

.order-items {
  width: min(100%, 396px);
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px;
}

.empty-order {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.order-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  margin-bottom: 8px;
}

.order-line strong {
  display: block;
  font-size: 14px;
}

.order-line span {
  color: var(--muted);
  font-size: 11px;
}

.order-line-numbers {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.order-delete {
  width: fit-content;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(248, 113, 113, .35);
  border-radius: 999px;
  background: rgba(127, 29, 29, .34);
  color: #fecaca;
  font-size: 11px;
  font-weight: 900;
}

.order-delete:hover {
  border-color: rgba(248, 113, 113, .72);
  background: rgba(185, 28, 28, .48);
  color: #fff;
}

.order-summary {
  width: min(100%, 396px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.order-summary span {
  color: var(--muted);
}

.order-summary strong {
  font-size: 18px;
}

.engine-log {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 14px 16px;
  overflow: auto;
  border-top: 0;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 70%, var(--surface2));
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  line-height: 1.35;
  white-space: pre-wrap;
}

.engine-log.receipt-mode {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 110px),
    var(--surface2);
  color: #111827;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.3;
  padding: 12px;
  white-space: normal;
}

.od-receipt {
  width: fit-content;
  max-width: 100%;
  min-width: min(100%, 336px);
  margin: 0 auto;
  padding: 14px 12px;
  border: 1px solid rgba(17, 24, 39, .16);
  border-radius: 8px;
  background: #fbfaf5;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
}

.od-receipt h3 {
  margin: 4px 0;
  color: #111827;
  font-family: "Courier New", Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.od-sep {
  height: 1px;
  margin: 5px 0;
  background: repeating-linear-gradient(
    90deg,
    #111827 0,
    #111827 7px,
    transparent 7px,
    transparent 9px
  );
}

.od-row,
.od-item-line,
.od-points {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  font-family: "Courier New", Consolas, monospace;
  font-size: 13px;
  color: #111827;
}

.od-row span::after {
  content: " :";
}

.od-row strong,
.od-item-line strong,
.od-points strong {
  font-weight: 700;
  text-align: right;
}

.od-item {
  padding: 4px 0;
}

.od-item-name {
  font-family: "Courier New", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.od-section-title {
  padding: 4px 0;
  color: #111827;
  font-family: "Courier New", Consolas, monospace;
  font-size: 13px;
  text-align: center;
}

.od-total-row {
  font-size: 14px;
  font-weight: 800;
}

.od-official-receipt {
  font-family: "Courier New", Consolas, monospace;
}

.od-text-line {
  min-height: 16px;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: pre;
}

.operator-action-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 10px 12px;
}

.operator-action-row .compact-action {
  min-height: 42px;
  padding: 0 10px;
}

.operator-action-row .sold-to-action {
  width: min(240px, 100%);
}

.payment-actions {
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.payment-actions.receipt-visible {
  display: none;
}

.payment-actions button {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
}

.cash-pay {
  background: linear-gradient(135deg, #07884f, #0cbd73);
}

.noncash-pay {
  background: linear-gradient(135deg, #0b65a7, #1688df);
}

.split-pay {
  background: linear-gradient(135deg, #6950c8, #9b64f2);
}

.payment-processing {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(2, 12, 21, .64);
  backdrop-filter: blur(8px);
}

.payment-processing-card {
  width: min(360px, calc(100vw - 44px));
  padding: 22px 22px 24px;
  border: 1px solid color-mix(in srgb, var(--green) 28%, var(--line));
  border-radius: 26px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0, rgba(21, 214, 138, .16), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
    var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .56);
  text-align: center;
}

.payment-processing-card strong {
  display: block;
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 900;
}

.terminal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(21, 214, 138, .22);
  border-radius: 999px;
  color: #b8ffe1;
  background: rgba(21, 214, 138, .08);
  font-size: 12px;
  font-weight: 900;
}

.terminal-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
  animation: terminal-pulse 1.1s ease-in-out infinite;
}

.printer-scene {
  position: relative;
  width: 228px;
  height: 214px;
  margin: 0 auto;
  perspective: 620px;
}

.printer-paper {
  position: absolute;
  left: 45px;
  top: -18px;
  width: 138px;
  height: 176px;
  padding: 13px 11px;
  border-radius: 8px 8px 2px 2px;
  background: #fffdf7;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
  animation: terminal-receipt-feed 1.85s cubic-bezier(.42, 0, .18, 1) infinite;
  color: #0f1720;
  font-family: "Courier New", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.15;
  overflow: hidden;
  text-align: left;
  transform-origin: bottom center;
}

.processing-center {
  font-weight: 900;
  text-align: center;
}

.processing-rule {
  height: 1px;
  margin: 4px 0;
  background: repeating-linear-gradient(90deg, #0f1720 0 4px, transparent 4px 7px);
}

.processing-line {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  white-space: nowrap;
}

.processing-line b,
.processing-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.processing-item {
  margin-top: 2px;
}

.processing-subline {
  color: #334155;
  font-size: 7px;
  white-space: nowrap;
}

.processing-total {
  font-size: 9px;
  font-weight: 900;
}

.printer-slot {
  position: absolute;
  left: 30px;
  right: 30px;
  top: 108px;
  height: 20px;
  border-radius: 99px;
  background: #05101a;
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, .08),
    0 12px 28px rgba(0, 0, 0, .42);
}

.printer-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 104px;
  border: 1px solid color-mix(in srgb, var(--blue) 36%, var(--line));
  border-radius: 26px 26px 30px 30px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03)),
    linear-gradient(180deg, #14263a, #0b1725);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 24px 44px rgba(0, 0, 0, .38);
}

.terminal-screen {
  position: absolute;
  left: 20px;
  top: 24px;
  width: 122px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 214, 138, .26);
  border-radius: 12px;
  color: #7dffbf;
  background:
    linear-gradient(180deg, rgba(21, 214, 138, .12), rgba(21, 214, 138, .04)),
    #061018;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: inset 0 0 18px rgba(21, 214, 138, .09);
}

.terminal-light {
  position: absolute;
  right: 26px;
  top: 30px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px var(--green);
  animation: terminal-pulse 1.1s ease-in-out infinite;
}

.terminal-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.terminal-steps span {
  padding-top: 8px;
  border-top: 2px solid rgba(137, 160, 181, .28);
  animation: terminal-step-glow 1.85s linear infinite;
}

.terminal-steps span:nth-child(2) {
  animation-delay: .35s;
}

.terminal-steps span:nth-child(3) {
  animation-delay: .7s;
}

@keyframes terminal-receipt-feed {
  0%,
  100% {
    transform: translateY(74px) rotateX(7deg) scaleY(.52);
    opacity: .25;
  }

  18% {
    opacity: .92;
  }

  58%,
  86% {
    transform: translateY(-42px) rotateX(0) scaleY(1);
    opacity: 1;
  }
}

@keyframes terminal-pulse {
  0%,
  100% {
    opacity: .55;
    transform: scale(.92);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.neo-pet-wrap {
  position: fixed;
  z-index: 96;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.neo-pet-wrap > * {
  pointer-events: auto;
}

.neo-pet {
  width: 82px;
  height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  color: #dff8ff;
  background: transparent;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .34));
  animation: neoPetFloat 3.2s ease-in-out infinite;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.neo-pet.dragging {
  cursor: grabbing;
  animation-play-state: paused;
}

.neo-pet-face {
  position: relative;
  width: 64px;
  height: 58px;
  border-radius: 24px 24px 22px 22px;
  background:
    radial-gradient(circle at 24% 18%, #83ccff 0 16%, transparent 17%),
    linear-gradient(145deg, #46a6ff, #324de9 70%);
  box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .12), 0 0 24px rgba(59, 155, 255, .35);
  overflow: visible;
}

.neo-pet-face::before,
.neo-pet-face::after {
  content: "";
  position: absolute;
  bottom: -14px;
  width: 13px;
  height: 22px;
  border-radius: 12px;
  background: #436ef0;
}

.neo-pet-face::before {
  left: 13px;
  transform: rotate(12deg);
}

.neo-pet-face::after {
  right: 13px;
  transform: rotate(-12deg);
}

.neo-pet-face i,
.neo-pet-face b {
  position: absolute;
  top: 22px;
  z-index: 2;
  width: 18px;
  height: 12px;
  border: 1px solid rgba(76, 255, 141, .55);
  border-radius: 5px 5px 7px 7px;
  background: linear-gradient(180deg, #052a16, #07140d 58%, #020806);
  box-shadow: inset 0 0 8px rgba(20, 255, 108, .35), 0 0 9px rgba(18, 255, 112, .45);
  overflow: hidden;
}

.neo-pet-face i {
  left: 12px;
  transform: rotate(3deg);
}

.neo-pet-face b {
  right: 12px;
  transform: rotate(-3deg);
}

.neo-pet-face i::before,
.neo-pet-face b::before {
  content: "0101\A 1010\A 0110";
  position: absolute;
  inset: -18px 1px auto;
  color: #36ff7f;
  font: 700 5px/5px monospace;
  white-space: pre;
  opacity: .85;
  text-shadow: 0 0 5px #36ff7f;
  animation: neoMatrixRain .9s linear infinite;
}

.neo-pet-face b::before {
  animation-delay: .28s;
}

.neo-pet-face small {
  position: absolute;
  left: 29px;
  top: 28px;
  z-index: 3;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #07140d;
  box-shadow: 0 0 4px rgba(20, 255, 108, .5);
}

.neo-pet em {
  margin-top: 14px;
  padding: 3px 8px;
  border: 1px solid rgba(92, 166, 255, .34);
  border-radius: 999px;
  color: #bdeaff;
  background: rgba(8, 18, 30, .72);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.neo-pet:hover .neo-pet-face {
  transform: scale(1.04);
}

.neo-greeting {
  position: absolute;
  right: 84px;
  bottom: 72px;
  width: min(310px, calc(100vw - 140px));
  padding: 14px 16px;
  border: 1px solid rgba(85, 178, 255, .36);
  border-radius: 24px 24px 8px 24px;
  color: #effbff;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .18), transparent 36%),
    linear-gradient(135deg, #249df2, #1276d5);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  pointer-events: none;
  animation: neoGreetingIn .22s ease-out;
}

.neo-greeting::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 9px;
  width: 24px;
  height: 24px;
  background: #1276d5;
  clip-path: polygon(0 0, 100% 100%, 0 72%);
  filter: drop-shadow(5px 7px 8px rgba(0, 0, 0, .14));
}

.neo-pet-panel {
  width: min(var(--neo-widget-width, 560px), calc(100vw - 28px));
  height: min(var(--neo-widget-height, 660px), calc(100vh - 120px));
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .46);
  overflow: hidden;
}

.neo-pet-head {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2, var(--panel));
}

.neo-pet-head strong {
  font-size: 15px;
  font-weight: 900;
}

.neo-pet-head button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: var(--surface);
  font-size: 20px;
  line-height: 1;
}

.neo-pet-panel iframe {
  width: 100%;
  height: calc(100% - 48px);
  border: 0;
  background: #071019;
}

@keyframes neoPetFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes neoMatrixRain {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(18px);
  }
}

@keyframes neoGreetingIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes terminal-step-glow {
  0%,
  100% {
    border-color: rgba(137, 160, 181, .28);
    color: var(--muted);
  }

  42%,
  70% {
    border-color: var(--green);
    color: #d9fff0;
  }
}

.reprint-card {
  max-width: min(1120px, calc(100vw - 28px));
}

@media (min-width: 821px) {
  #reprintOverlay .reprint-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: min(92vh, 820px);
    overflow: hidden;
  }

  #reprintOverlay .admin-heading {
    margin-bottom: 14px;
  }

  #reprintOverlay .reprint-layout {
    min-height: 0;
    overflow: hidden;
  }

  #reprintOverlay .reprint-rows,
  #reprintOverlay .reprint-preview-panel .engine-log {
    height: auto;
    min-height: 0;
  }
}

.close-shift-status {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)),
    color-mix(in srgb, var(--surface2) 92%, var(--line) 8%);
  color: var(--muted);
  font-weight: 700;
}

.close-shift-status strong {
  color: var(--text);
  font-size: 18px;
}

.close-shift-status.success {
  border-color: color-mix(in srgb, var(--green) 52%, var(--line) 48%);
  background: color-mix(in srgb, var(--surface2) 84%, var(--green) 16%);
  color: color-mix(in srgb, var(--green) 58%, var(--text) 42%);
}

.close-shift-status.error {
  border-color: color-mix(in srgb, var(--red) 50%, var(--line) 50%);
  background: color-mix(in srgb, var(--surface2) 84%, var(--red) 16%);
  color: color-mix(in srgb, var(--red) 58%, var(--text) 42%);
}

.close-shift-status pre {
  max-height: 220px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 12, 22, .58);
  color: var(--text);
  font-size: 12px;
  white-space: pre-wrap;
}

.reprint-layout {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(320px, 1.1fr);
  gap: 14px;
  min-height: 480px;
}

.reprint-list-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
}

.reprint-action {
  border-radius: 10px;
  margin-top: 12px;
  min-height: 50px;
  width: 100%;
}

.reprint-table-head,
.reprint-row {
  display: grid;
  grid-template-columns: 1.2fr .6fr .8fr 1fr;
  gap: 10px;
  align-items: center;
}

.reprint-table-head {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  background: rgba(15, 28, 43, .72);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reprint-rows {
  height: 430px;
  overflow: auto;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.reprint-row {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.reprint-row:hover,
.reprint-row.active {
  background: rgba(20, 184, 166, .14);
}

.reprint-row.active {
  box-shadow: inset 3px 0 0 var(--accent);
}

.reprint-row strong {
  font-size: 15px;
}

.reprint-row span {
  color: var(--muted);
  font-size: 13px;
}

.reprint-preview-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
}

.reprint-preview-panel .engine-log {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.selection-summary {
  display: grid;
  gap: 8px;
  margin: 8px 0 14px;
}

.selection-summary div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface2) 76%, transparent);
}

.selection-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.selection-summary strong {
  min-width: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.lubes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  max-height: min(62vh, 560px);
  overflow: auto;
  padding-right: 4px;
}

.delivery-tank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.delivery-tank-card {
  background: color-mix(in srgb, var(--surface2) 90%, var(--blue) 10%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.delivery-tank-card > div,
.delivery-extra-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.delivery-tank-card > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.delivery-tank-card label,
.delivery-extra-grid label,
.toggle-field {
  display: grid;
  gap: 7px;
}

.delivery-extra-grid label {
  min-width: 0;
}

.delivery-extra-grid input,
.delivery-extra-grid select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .delivery-extra-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tank-warning {
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(248, 113, 113, .55);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface2) 78%, var(--red) 22%);
  color: color-mix(in srgb, var(--red) 68%, var(--text) 32%);
  font-weight: 800;
}

.tank-gauge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.tank-gauge-card {
  display: grid;
  gap: 12px;
  min-height: 310px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface2) 92%, var(--blue) 8%);
}

.tank-gauge-card.low {
  border-color: rgba(248, 113, 113, .65);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface2) 76%, var(--red) 24%),
    var(--surface2)
  );
  animation: lowTankPulse 1.8s ease-in-out infinite;
}

.tank-gauge-title,
.tank-gauge-data {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.tank-gauge-title strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.tank-gauge-title span {
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.tank-gauge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 85%, #fff 8%);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .16), transparent 42%),
    color-mix(in srgb, var(--surface) 70%, #071521 30%);
  overflow: hidden;
}

.tank-glass {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .12), transparent 18%, transparent 82%, rgba(255, 255, 255, .08)),
    rgba(7, 21, 33, .84);
  border: 2px solid rgba(148, 183, 209, .46);
  border-radius: 24px 24px 12px 12px;
  box-shadow:
    inset 0 0 26px rgba(0, 0, 0, .34),
    0 18px 34px rgba(0, 0, 0, .22);
  display: flex;
  height: 138px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: min(92px, 70%);
}

.tank-glass::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
  content: "";
  inset: 8px auto 12px 18px;
  opacity: .72;
  position: absolute;
  width: 10px;
  z-index: 3;
}

.tank-glass strong {
  color: #f8fbff;
  font-size: 1.05rem;
  font-weight: 950;
  left: 50%;
  position: absolute;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.tank-fill {
  animation: tankRise .7s ease-out both;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, .92), rgba(14, 165, 233, .86) 44%, rgba(34, 197, 94, .9));
  border-radius: 18px 18px 9px 9px;
  box-shadow:
    inset 0 10px 20px rgba(255, 255, 255, .16),
    0 0 26px rgba(14, 165, 233, .32);
  height: var(--tank-level, 0%);
  min-height: 4px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.tank-wave {
  animation: tankWave 3.6s linear infinite;
  background: rgba(255, 255, 255, .26);
  border-radius: 44%;
  display: block;
  height: 28px;
  left: -30%;
  position: absolute;
  top: -15px;
  width: 160%;
}

.tank-wave.two {
  animation-duration: 5.2s;
  animation-direction: reverse;
  opacity: .38;
  top: -12px;
}

.tank-gauge-card.low .tank-fill {
  background: linear-gradient(180deg, #fb7185, #f97316 52%, #ef4444);
  box-shadow:
    inset 0 10px 20px rgba(255, 255, 255, .14),
    0 0 28px rgba(239, 68, 68, .34);
}

.tank-gauge-data {
  color: var(--muted);
  font-size: 13px;
}

.tank-gauge-data strong {
  color: var(--text);
}

@keyframes tankRise {
  from {
    height: 0;
  }
  to {
    height: var(--tank-level, 0%);
  }
}

@keyframes tankWave {
  from {
    transform: translateX(0) rotate(0deg);
  }
  to {
    transform: translateX(18%) rotate(360deg);
  }
}

@keyframes lowTankPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(251, 113, 133, .16), 0 18px 34px rgba(127, 29, 29, .18);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(251, 113, 133, .42), 0 18px 42px rgba(127, 29, 29, .34);
  }
}

.tank-settings {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(150px, 220px);
  gap: 12px;
  margin-bottom: 12px;
}

.toggle-field {
  align-content: center;
  align-items: center;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  grid-template-columns: auto 1fr;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lube-card {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, .15), transparent),
    color-mix(in srgb, var(--surface2) 84%, transparent);
  color: var(--text);
  text-align: left;
}

.lube-card:hover {
  border-color: rgba(56, 189, 248, .65);
  transform: translateY(-1px);
}

.lubes-grid.is-busy {
  pointer-events: none;
  opacity: .68;
}

.lube-card strong {
  font-size: 14px;
  line-height: 1.25;
}

.lube-card span {
  color: var(--muted);
  font-size: 12px;
}

.lube-card b {
  justify-self: end;
  color: color-mix(in srgb, var(--blue) 72%, var(--text) 28%);
  font-size: 18px;
  font-weight: 900;
}

.number-stepper {
  display: grid;
  grid-template-columns: 44px minmax(72px, 1fr) 44px;
  gap: 6px;
  align-items: stretch;
}

.number-stepper button,
.po-addon-toggle {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface2) 88%, transparent);
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}

.number-stepper input {
  min-width: 0;
  text-align: center;
}

.po-addon-toggle {
  width: 100%;
  font-size: 14px;
}

.cash-card {
  max-width: 440px;
  overflow: hidden;
}

.cash-card.payment-card {
  max-height: min(94dvh, 720px);
  max-width: 760px;
  overflow: auto;
  width: min(760px, 100%);
}

.payment-card .admin-heading {
  margin-bottom: 14px;
}

.payment-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-column {
  min-width: 0;
}

.payment-card .cash-total,
.payment-card .cash-change {
  margin-bottom: 9px;
  padding: 10px 13px;
}

.payment-card .cash-total strong,
.payment-card .cash-change strong {
  font-size: 1.55rem;
}

.payment-card .cash-input {
  gap: 5px;
  margin-bottom: 9px;
}

.payment-card .cash-input input {
  font-size: 1.35rem;
  min-height: 48px;
}

.payment-card .cash-quick,
.payment-card .noncash-tabs,
.payment-card .noncash-options {
  gap: 6px;
  margin-bottom: 9px;
}

.payment-card .cash-quick button {
  min-height: 38px;
}

.payment-card .noncash-tabs button,
.payment-card .noncash-options button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
}

.payment-logo {
  align-items: center;
  background: rgba(255, 255, 255, 0.58);
  border-radius: 7px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 26px;
  justify-content: center;
  overflow: hidden;
  padding: 3px 5px;
  width: 48px;
}

.payment-logo img {
  display: block;
  height: 100%;
  max-height: 22px;
  max-width: 42px;
  object-fit: contain;
}

.payment-provider-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.payment-logo-qrph img {
  max-height: 22px;
}

.payment-logo-gcash img {
  max-width: 34px;
}

.payment-logo-maya img,
.payment-logo-qrph img {
  max-width: 44px;
}

.payment-card .cash-keypad {
  gap: 6px;
  margin-bottom: 0;
}

.payment-card .cash-keypad button,
.payment-card .cash-keypad.compact-keypad button {
  border-radius: 10px;
  min-height: 42px;
}

.payment-card .noncash-summary {
  margin-bottom: 0;
  padding: 10px 12px;
}

.payment-card .cash-submit {
  border-radius: 10px;
  margin-top: 9px;
  min-height: 46px;
}

@media (max-width: 680px) {
  .cash-card.payment-card {
    max-height: 94dvh;
    max-width: 440px;
  }

  .payment-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 700px) and (min-width: 681px) {
  .modal-backdrop {
    padding: 10px;
  }

  .cash-card.payment-card {
    max-height: 96dvh;
    padding: 18px;
  }

  .payment-card .admin-heading {
    margin-bottom: 9px;
  }

  .payment-card .admin-heading p {
    display: none;
  }

  .payment-card .cash-keypad button,
  .payment-card .cash-keypad.compact-keypad button {
    min-height: 38px;
  }
}

.cash-total,
.cash-change {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015)),
    color-mix(in srgb, var(--surface2) 92%, var(--blue) 8%);
  border: 1px solid color-mix(in srgb, var(--line) 80%, #fff 6%);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 14px 16px;
}

.cash-total span,
.cash-change span,
.cash-input span {
  color: var(--muted);
  font-size: 0.85rem;
}

.cash-total strong,
.cash-change strong {
  color: var(--text);
  font-size: 1.9rem;
}

.cash-input {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.cash-input input {
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  font-size: 2rem;
  font-weight: 800;
  min-height: 58px;
  padding: 8px 12px;
  text-align: right;
}

.cash-input input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 18%, transparent);
  outline: 0;
}

.cash-input input.locked-input,
.cash-input input[readonly].locked-input {
  cursor: not-allowed;
  color: var(--text);
  border-color: color-mix(in srgb, var(--green) 44%, var(--line));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02)),
    color-mix(in srgb, var(--surface2) 78%, var(--green) 10%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 18%, transparent);
}

.cash-quick {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 12px;
}

.cash-quick button {
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--green) 28%, var(--line));
  border-radius: 12px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)),
    color-mix(in srgb, var(--green) 16%, var(--surface2));
  font-weight: 900;
}

.cash-keypad {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 12px;
}

.cash-keypad button {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02)),
    color-mix(in srgb, var(--surface2) 86%, var(--blue) 14%);
  border: 1px solid color-mix(in srgb, var(--line) 84%, #fff 8%);
  border-radius: 14px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  min-height: 52px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
}

.cash-keypad.compact-keypad {
  gap: 7px;
  margin-bottom: 10px;
}

.cash-keypad.compact-keypad button {
  min-height: 44px;
  border-radius: 12px;
  font-size: 1rem;
}

.cash-keypad .keypad-enter {
  background: linear-gradient(135deg, rgba(21, 214, 138, .95), rgba(10, 141, 94, .96));
}

.cash-quick button:active,
.cash-keypad button:active {
  transform: translateY(1px);
}

.cash-quick button:disabled {
  cursor: not-allowed;
  opacity: .45;
  filter: grayscale(.2);
  transform: none;
  box-shadow: none;
}

.cash-submit {
  min-height: 56px;
  border-radius: 14px;
  font-size: 1.05rem;
}

.cash-card.is-processing::after {
  content: none;
  display: none;
}

.cash-card.is-processing {
  cursor: progress;
}

.cash-card button:disabled,
.cash-card input:disabled {
  opacity: .72;
}

.noncash-tabs,
.noncash-options {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
}

.noncash-tabs {
  grid-template-columns: repeat(4, 1fr);
}

.noncash-options {
  grid-template-columns: repeat(2, 1fr);
}

.noncash-tabs button,
.noncash-options button {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02)),
    color-mix(in srgb, var(--surface2) 90%, var(--blue) 10%);
  border: 1px solid color-mix(in srgb, var(--line) 84%, #fff 8%);
  border-radius: 14px;
  color: var(--text);
  font-weight: 800;
  min-height: 52px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
  transition: transform .14s ease, border-color .14s ease, filter .14s ease;
}

.noncash-tabs button:active,
.noncash-options button:active {
  transform: translateY(1px);
}

.noncash-tabs button.active,
.noncash-options button.active {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02)),
    linear-gradient(135deg, #0b65a7, #1688df);
  border-color: rgba(143, 204, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 10px 22px rgba(22, 136, 223, .20);
}

.noncash-section-label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.po-account-picker select:not(.po-account-select-legacy) {
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-weight: 750;
  min-height: 48px;
  padding: 0 12px;
  width: 100%;
}

.po-account-select-legacy {
  display: none;
}

.po-search-shell {
  position: relative;
}

.po-search-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 58px;
}

.reference-search-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 58px;
}

.po-search-row input {
  min-width: 0;
}

.po-account-suggestions {
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 42%, var(--line));
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .24);
  display: grid;
  left: 0;
  max-height: min(310px, 42dvh);
  overflow-y: auto;
  padding: 5px;
  position: absolute;
  right: 66px;
  top: calc(100% + 5px);
  z-index: 30;
}

.po-account-suggestion {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 58px;
  padding: 9px 11px;
  text-align: left;
  width: 100%;
}

.po-account-suggestion:last-of-type {
  border-bottom: 0;
}

.po-account-suggestion:hover,
.po-account-suggestion:focus-visible {
  background: color-mix(in srgb, var(--blue) 13%, var(--surface2));
  outline: 2px solid color-mix(in srgb, var(--blue) 58%, transparent);
  outline-offset: -2px;
}

.po-suggestion-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.po-suggestion-main strong,
.po-suggestion-main em,
.po-suggestion-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.po-suggestion-main strong {
  font-size: .92rem;
}

.po-suggestion-main em,
.po-suggestion-meta,
.po-suggestion-empty span,
.po-suggestion-more {
  color: var(--muted);
  font-size: .75rem;
  font-style: normal;
}

.po-suggestion-meta {
  max-width: 150px;
}

.po-suggestion-empty,
.po-suggestion-more {
  display: grid;
  gap: 3px;
  padding: 13px;
}

.po-suggestion-more {
  text-align: center;
}

.reference-search-row input {
  min-width: 0;
}

.po-search-button {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03)),
    color-mix(in srgb, var(--blue) 78%, var(--surface2));
  border: 1px solid color-mix(in srgb, var(--blue) 48%, var(--line));
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 10px 20px color-mix(in srgb, var(--blue) 18%, transparent);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.25rem;
  font-weight: 900;
  justify-content: center;
  min-height: 58px;
}

.po-search-button:active {
  transform: translateY(1px);
}

.reference-search-button {
  min-height: 52px;
}

.po-account-meta {
  background: color-mix(in srgb, var(--surface2) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  padding: 11px 13px;
}

.po-account-meta span,
.po-account-meta small {
  color: var(--muted);
}

.po-account-meta strong {
  font-size: 1.05rem;
}

.po-field-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.po-payment-fields .modal-status {
  margin-top: 2px;
}

@media (max-width: 680px) {
  .noncash-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .po-field-grid {
    grid-template-columns: 1fr;
  }
}

.noncash-summary {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--blue) 34%, var(--line));
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015)),
    color-mix(in srgb, var(--blue) 14%, var(--surface2));
}

.noncash-summary span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.noncash-summary strong {
  color: var(--text);
  font-size: .95rem;
  text-align: right;
}

.pump-grid {
  height: calc(100% - 68px);
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(7, minmax(92px, 1fr));
  gap: 8px;
  padding: 10px;
}

.pump-card {
  min-height: 120px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)),
    var(--surface2);
  overflow: hidden;
  position: relative;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.pump-card::before {
  background: radial-gradient(circle at 18px 16px, rgba(255, 255, 255, .12), transparent 46px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.pump-card.pump-idle {
  border-color: rgba(148, 163, 184, .5);
  background:
    linear-gradient(145deg, rgba(148, 163, 184, .13), var(--surface2));
}

.pump-card.pump-ready {
  border-color: rgba(21, 214, 138, .62);
  background:
    linear-gradient(145deg, rgba(21, 214, 138, .20), color-mix(in srgb, var(--surface2) 92%, var(--green) 8%));
  box-shadow: inset 0 0 0 1px rgba(21, 214, 138, .10), 0 8px 22px rgba(21, 214, 138, .08);
}

.pump-card.pump-dispensing {
  animation: pumpDispensingPulse 1.15s ease-in-out infinite;
  border-color: rgba(14, 165, 233, .72);
  background:
    linear-gradient(145deg, rgba(14, 165, 233, .24), color-mix(in srgb, var(--surface2) 90%, var(--blue) 10%));
}

.pump-card.pump-offline {
  opacity: .68;
  filter: grayscale(.18);
}

.pump-card.pump-locked {
  border-color: rgba(245, 73, 89, .9);
  background: linear-gradient(145deg, rgba(245, 73, 89, .28), color-mix(in srgb, var(--surface2) 84%, var(--red) 16%));
  box-shadow: inset 0 0 0 1px rgba(245, 73, 89, .22), 0 8px 22px rgba(245, 73, 89, .14);
}

.pump-panel { position: relative; }

.pump-unlock-floating {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 30;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(245, 73, 89, .75);
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  cursor: pointer;
}

.pump-unlock-floating.hidden { display: none; }

.neo-command-tile { position: relative; }
.neo-command-tile.ask-neo-hint { overflow: visible; z-index: 25; }
.ask-neo-hint-bubble {
  position: fixed;
  z-index: 1000;
  min-height: 42px;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.ask-neo-hint-bubble::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
}
.ask-neo-hint-bubble.right::before { left: -14px; border-right-color: var(--blue); }
.ask-neo-hint-bubble.left::before { right: -14px; border-left-color: var(--blue); }
.neo-command-tile.ask-neo-hint::before,
.neo-command-tile.ask-neo-hint::after { display: none !important; }
.neo-command-tile.ask-neo-hint::after {
  content: "Click me if you need help 😊";
  position: absolute;
  left: 50%;
  top: auto;
  bottom: calc(100% + 8px);
  z-index: 20;
  width: min(230px, calc(100vw - 16px));
  max-width: calc(100vw - 16px);
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  transform: translateX(-50%);
}
.neo-command-tile.ask-neo-hint::before {
  content: "";
  position: absolute;
  left: 50%;
  top: auto;
  bottom: calc(100% - 5px);
  z-index: 21;
  border: 7px solid transparent;
  border-top-color: var(--blue);
  transform: translateX(-50%);
}
.neo-command-tile.ask-neo-hint-right::after {
  left: calc(100% + 8px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
.neo-command-tile.ask-neo-hint-right::before {
  left: calc(100% + 1px);
  top: 50%;
  bottom: auto;
  border-top-color: transparent;
  border-right-color: var(--blue);
  transform: translateY(-50%);
}
.neo-command-tile.ask-neo-hint-left::after {
  left: auto;
  right: calc(100% + 8px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
.neo-command-tile.ask-neo-hint-left::before {
  left: auto;
  right: calc(100% - 1px);
  top: 50%;
  bottom: auto;
  border-top-color: transparent;
  border-left-color: var(--blue);
  transform: translateY(-50%);
}

.pump-card.pump-buffered {
  border-style: dashed;
}

.pump-card strong {
  font-size: 12px;
}

.pump-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.pump-ready .pump-icon {
  color: var(--green);
}

.pump-dispensing .pump-icon {
  color: var(--blue);
}

.pump-icon::before {
  content: "";
  width: 24px;
  height: 26px;
  border: 4px solid currentColor;
  border-bottom-width: 7px;
  border-radius: 4px 4px 1px 1px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .04);
  flex: 0 0 auto;
  overflow: hidden;
}

.pump-icon::after {
  content: "";
  height: 15px;
  left: 31px;
  opacity: .55;
  position: absolute;
  top: 10px;
  transform: rotate(35deg);
  width: 16px;
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
  border-radius: 0 8px 0 0;
}

.pump-idle .pump-icon::after,
.pump-offline .pump-icon::after {
  opacity: .28;
}

.pump-ready .pump-icon::before {
  animation: pumpReadyBlink 1.8s ease-in-out infinite;
}

.pump-dispensing .pump-icon::before {
  animation: pumpHandlePulse .72s ease-in-out infinite, fuelFill .62s linear infinite;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(56, 189, 248, .95) 0 6px,
      rgba(21, 214, 138, .9) 6px 11px,
      rgba(14, 165, 233, .88) 11px 16px
    );
  background-size: 100% 18px;
}

.pump-dispensing .pump-icon::after {
  opacity: .95;
}

.pump-card span {
  color: var(--muted);
  font-size: 11px;
  position: relative;
  z-index: 1;
}

.pump-card strong {
  position: relative;
  z-index: 1;
}

@keyframes pumpDispensingPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(14, 165, 233, .10), 0 10px 24px rgba(0, 0, 0, .12);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(14, 165, 233, .38), 0 16px 30px rgba(14, 165, 233, .18);
  }
}

@keyframes pumpReadyBlink {
  0%, 100% {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .04), 0 0 0 rgba(21, 214, 138, 0);
  }
  50% {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .04), 0 0 18px rgba(21, 214, 138, .38);
  }
}

@keyframes pumpHandlePulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2px);
  }
}

@keyframes fuelFill {
  from {
    background-position-y: 0;
  }
  to {
    background-position-y: 18px;
  }
}

.more-grid {
  grid-template-columns: repeat(2, 1fr);
  overflow: auto;
  max-height: calc(100% - 68px);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 7, 14, .74);
  backdrop-filter: blur(10px);
}

.modal-backdrop:not(.hidden) .modal-card {
  animation: modalRise .16s ease-out;
}

@keyframes modalRise {
  from {
    opacity: .65;
    transform: translateY(10px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-card {
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: auto;
  position: relative;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.void-si-confirm-card {
  width: min(520px, 100%);
}

.void-si-confirm-number {
  display: grid;
  gap: 6px;
  margin: 20px 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface2);
}

.void-si-confirm-number span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.void-si-confirm-number strong {
  color: var(--text);
  font-size: 20px;
}

.compact-card {
  width: min(380px, 100%);
}

.manual-transaction-card {
  width: min(860px, 100%);
}

.manual-transaction-card .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manual-transaction-card #manualCustomer {
  min-width: 0;
}

.manual-transaction-card label:has(#manualCustomer) {
  grid-column: 1 / -1;
}

@media (max-width: 680px) {
  .manual-transaction-card {
    width: min(560px, 100%);
  }

  .manual-transaction-card .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .manual-transaction-card .form-grid {
    grid-template-columns: 1fr;
  }
}

.discount-card {
  width: min(650px, 100%);
  padding: 20px;
}

.optional-discount-card {
  width: min(820px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.optional-discount-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.optional-discount-choices button {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface2);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.optional-discount-choices button small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.optional-discount-choices button:hover,
.optional-discount-choices button.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.optional-discount-choices button.active small {
  color: #fff;
}

.optional-discount-details {
  margin-bottom: 16px;
}

.optional-discount-choices button.discount-ineligible {
  border-color: rgba(220, 38, 38, .45);
}

#optionalDiscountPreview.eligibility-error {
  border: 2px solid rgba(220, 38, 38, .55);
  background: rgba(220, 38, 38, .14);
  color: var(--red);
  font-weight: 900;
}

.optional-discount-details-card {
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.optional-discount-details-card .optional-discount-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .optional-discount-choices {
    grid-template-columns: 1fr;
  }

  .optional-discount-details-card .optional-discount-details {
    grid-template-columns: 1fr;
  }
}

.discount-card .admin-heading {
  margin-bottom: 12px;
}

.discount-card .admin-heading p {
  margin-top: 3px;
}

.discount-choice-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 10px;
  margin-bottom: 10px;
}

.discount-choice > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.discount-choice .noncash-tabs {
  margin: 0;
  gap: 6px;
}

#discountScopeTabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#discountTypeTabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.discount-choice .noncash-tabs button {
  min-height: 42px;
  padding: 7px 9px;
  border-radius: 10px;
}

.discount-choice .noncash-tabs button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.discount-input-grid {
  grid-template-columns: .72fr 1.28fr;
  gap: 10px;
}

.discount-input-grid.single-field {
  grid-template-columns: 1fr;
}

.discount-card .selection-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 10px 0 0;
}

.discount-card .selection-summary div {
  display: block;
  padding: 8px 10px;
}

.discount-card .selection-summary span,
.discount-card .selection-summary strong {
  display: block;
}

.discount-card .selection-summary strong {
  margin-top: 3px;
  font-size: 18px;
}

.discount-card .form-actions {
  margin-top: 10px;
}

.discount-card .form-submit {
  min-height: 44px;
  margin-top: 0;
}

.po-balance-card {
  width: min(760px, 100%);
}

.po-balance-search label {
  display: grid;
  gap: 8px;
}

.po-balance-search label > span,
.po-balance-grid span,
.po-balance-hero span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.po-balance-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.po-balance-search-row input {
  min-width: 0;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface2);
  color: var(--text);
  font-size: 18px;
  font-weight: 750;
  text-transform: uppercase;
}

.po-balance-search-row button {
  padding: 0 18px;
}

.po-balance-status {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: var(--surface2);
}

.po-balance-status.success {
  border-color: rgba(45, 233, 160, .42);
  color: #9cf2d2;
  background: rgba(10, 80, 62, .4);
}

.po-balance-status.error {
  border-color: rgba(255, 95, 111, .45);
  color: #ffc5cd;
  background: rgba(95, 22, 35, .42);
}

.po-balance-result {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.po-balance-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(45, 233, 160, .32);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(10, 124, 96, .3), rgba(18, 91, 124, .28));
}

.po-balance-hero > div {
  display: grid;
  gap: 5px;
}

.po-balance-hero > div:first-child strong {
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.po-balance-account {
  max-width: 52%;
  text-align: right;
}

.po-balance-account strong {
  overflow-wrap: anywhere;
}

.po-balance-account span {
  color: var(--muted);
  font-size: 12px;
  text-transform: none;
}

.po-balance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.po-balance-grid > div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface2);
}

.po-balance-grid strong {
  overflow-wrap: anywhere;
}

.compact-card:has(.void-si-preview) {
  width: min(720px, 100%);
}

.void-si-preview {
  height: min(46vh, 430px);
  margin: 14px 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: var(--surface2);
}

.app-toast {
  position: fixed;
  right: 22px;
  top: 22px;
  z-index: 300;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(16, 185, 129, .45);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, .96), rgba(14, 116, 144, .94));
  color: white;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .35);
}

.app-toast.hidden {
  display: none;
}

.app-toast.error {
  border-color: rgba(251, 113, 133, .58);
  background: linear-gradient(135deg, rgba(190, 24, 49, .98), rgba(127, 29, 29, .96));
}

.admin-heading {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding-right: 45px;
  margin-bottom: 20px;
}

.admin-heading h2 {
  margin: 0;
  font-size: 23px;
}

.admin-heading p {
  color: var(--muted);
  margin: 5px 0 0;
}

.modal-grid {
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}

.bir-grid {
  grid-template-columns: 1fr 1fr;
  padding: 0;
}

.bir-grid button {
  min-height: 58px;
  text-align: left;
  padding: 14px 12px;
  font-size: 18px;
}

.close-shift-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.close-shift-actions button {
  min-height: 76px;
  font-size: 20px;
  font-weight: 900;
}

.close-shift-actions button:disabled {
  opacity: .54;
  cursor: not-allowed;
  filter: grayscale(.15);
  background: color-mix(in srgb, var(--surface2) 86%, var(--line) 14%) !important;
  border-color: var(--line) !important;
  color: color-mix(in srgb, var(--text) 68%, var(--muted) 32%) !important;
  box-shadow: none;
}

.close-shift-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.close-shift-summary > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)),
    color-mix(in srgb, var(--surface2) 92%, var(--line) 8%);
}

.close-shift-summary > div.wide {
  grid-column: 1 / -1;
}

.close-shift-summary span,
.close-shift-confirm label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.close-shift-summary strong {
  overflow-wrap: anywhere;
  font-size: 17px;
}

.close-shift-summary .warning {
  color: #fda4af;
}

.close-shift-confirm {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)),
    color-mix(in srgb, var(--surface2) 92%, var(--surface) 8%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  color: var(--text);
}

.close-shift-confirm > div:first-child {
  display: grid;
  gap: 5px;
}

.close-shift-confirm > div:first-child > strong {
  font-size: 19px;
  color: var(--text);
}

.close-shift-confirm p {
  margin: 0;
  color: var(--muted);
}

.close-shift-confirm label {
  display: grid;
  gap: 7px;
}

.close-shift-confirm input {
  min-height: 52px;
  font-size: 21px;
  letter-spacing: 0;
}

.close-shift-keypad {
  grid-template-columns: repeat(3, 1fr);
}

.close-shift-keypad button {
  min-height: 54px;
}

@media (max-width: 540px) {
  .close-shift-summary,
  .close-shift-actions {
    grid-template-columns: 1fr;
  }

  .close-shift-summary > div.wide {
    grid-column: auto;
  }
}

.attendant-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.attendant-grid label {
  background: rgba(16, 35, 51, .72);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.attendant-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.modal-status {
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 12px;
  padding: 12px 14px;
}

.modal-status.info {
  background: rgba(37, 99, 235, .14);
  border-color: rgba(96, 165, 250, .35);
}

.modal-status.error {
  background: rgba(220, 38, 38, .14);
  border-color: rgba(248, 113, 113, .38);
  color: var(--red);
}

.discount-card .modal-status.error {
  color: var(--red);
  font-weight: 700;
}

.modal-status.success {
  background: rgba(5, 150, 105, .14);
  border-color: rgba(52, 211, 153, .38);
}

#salesReportOverlay .report-card {
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(92vh, 900px);
  max-height: 92vh;
  max-width: none;
  overflow: hidden;
  padding: 0;
  width: min(1120px, calc(100vw - 24px));
}

#transactionReportOverlay .transaction-report-card {
  background: #081725;
  border-radius: 8px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(94vh, 980px);
  max-height: 94vh;
  max-width: none;
  overflow: hidden;
  padding: 0;
  width: min(1480px, calc(100vw - 24px));
}

.transaction-report-heading {
  align-items: center;
  border-bottom: 1px solid #20384b;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 92px;
  padding: 14px 64px 14px 24px;
}

.transaction-report-heading h2 {
  font-size: 24px;
  margin: 4px 0;
}

.transaction-report-heading p {
  color: #86bfe3;
  margin: 0;
}

.transaction-report-dates {
  align-items: end;
  display: flex;
  gap: 8px;
}

.transaction-report-dates label,
.transaction-report-filters label {
  display: grid;
  gap: 5px;
}

.transaction-report-dates label {
  width: 150px;
}

.transaction-report-dates label > span,
.transaction-report-filters label > span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.transaction-report-dates input,
.transaction-report-filters input,
.transaction-report-filters select {
  background: #102638;
  border: 1px solid #29455b;
  border-radius: 7px;
  color: var(--text);
  font-weight: 750;
  min-height: 42px;
  min-width: 0;
  padding: 0 10px;
}

.transaction-report-dates input:focus,
.transaction-report-filters input:focus,
.transaction-report-filters select:focus {
  border-color: #20a4e8;
  box-shadow: 0 0 0 3px rgba(32, 164, 232, .16);
  outline: none;
}

.transaction-report-content {
  min-height: 0;
  overflow: auto;
  padding: 16px 20px 20px;
}

.transaction-report-filters {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(130px, .8fr) minmax(150px, 1fr) minmax(100px, .55fr) minmax(220px, 1.5fr) auto;
}

.transaction-report-filters button {
  min-height: 42px;
}

.transaction-report-status {
  color: #84bde0;
  font-size: 12px;
  min-height: 32px;
  padding: 10px 2px 6px;
}

.transaction-report-metrics {
  background: #0c2030;
  border-block: 1px solid #20384b;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.transaction-report-metrics > div {
  min-width: 0;
  padding: 12px 16px;
}

.transaction-report-metrics > div + div {
  border-left: 1px solid #20384b;
}

.transaction-report-metrics span {
  color: #7ea9c5;
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.transaction-report-metrics strong {
  display: block;
  font-size: 19px;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-report-summaries {
  border-bottom: 1px solid #20384b;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.transaction-report-summaries > section {
  min-width: 0;
}

.transaction-report-summaries > section + section {
  border-left: 1px solid #20384b;
}

.transaction-summary-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

.transaction-summary-heading strong,
.transaction-summary-heading span {
  display: block;
}

.transaction-summary-heading span {
  color: #789ab2;
  font-size: 11px;
  margin-top: 2px;
}

.transaction-summary-heading > b {
  background: #122b3e;
  border-radius: 4px;
  color: #8eb9d4;
  font-size: 9px;
  letter-spacing: .7px;
  padding: 5px 8px;
}

.transaction-summary-rows {
  max-height: 138px;
  overflow: auto;
}

.transaction-summary-rows > div {
  align-items: center;
  border-top: 1px solid #1b3345;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(100px, 1.3fr) minmax(70px, .7fr) minmax(90px, .8fr) auto;
  padding: 8px 14px;
}

.transaction-report-summaries > section:last-child .transaction-summary-rows > div {
  grid-template-columns: minmax(120px, 1fr) 70px minmax(100px, auto);
}

.transaction-summary-rows strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-summary-rows span,
.transaction-summary-rows em {
  color: #81a7c0;
  font-size: 11px;
  font-style: normal;
}

.transaction-summary-rows b {
  text-align: right;
}

.transaction-summary-rows p {
  border-top: 1px solid #1b3345;
  color: #789ab2;
  margin: 0;
  padding: 18px 14px;
  text-align: center;
}

.transaction-detail-section {
  min-width: 0;
}

.transaction-report-selected {
  border-block: 1px solid #1f4358;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.transaction-report-selected > div {
  min-width: 0;
  padding: 8px 12px;
}

.transaction-report-selected span {
  color: #789ab2;
  display: block;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.transaction-report-selected strong {
  display: block;
  font-size: 12px;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-report-table-wrap {
  max-height: 360px;
  overflow: auto;
}

.transaction-report-table-wrap table {
  border-collapse: collapse;
  min-width: 1180px;
  width: 100%;
}

.transaction-report-table-wrap th {
  background: #102638;
  color: #84bde0;
  font-size: 10px;
  letter-spacing: .45px;
  padding: 10px 12px;
  position: sticky;
  text-align: left;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.transaction-report-table-wrap td {
  border-bottom: 1px solid #1b3345;
  color: #d9e8f3;
  font-size: 11px;
  padding: 10px 12px;
  white-space: nowrap;
}

.transaction-report-table-wrap tbody tr {
  cursor: pointer;
}

.transaction-report-table-wrap tbody tr:hover {
  background: #0d2637;
}

.transaction-report-table-wrap tbody tr.selected {
  background: #123b44;
  box-shadow: inset 3px 0 #19d39b;
}

.transaction-report-table-wrap td.money {
  color: #fff;
  font-weight: 850;
}

.transaction-payment-tag {
  background: #17344a;
  border-radius: 4px;
  color: #a9d4ef;
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
}

.transaction-report-empty {
  color: #789ab2 !important;
  padding: 35px !important;
  text-align: center;
}
#transactionReportOverlay .transaction-report-card {
  background: #f4f7fb;
  border: 1px solid #d7e2ec;
  box-shadow: 0 24px 70px rgba(3, 15, 27, .38);
  color: #17263a;
}

#transactionReportOverlay .modal-close {
  background: #fff;
  border-color: #cfdae5;
  color: #25384d;
}

#transactionReportOverlay .modal-close:hover {
  background: #eef4f8;
  border-color: #9eb2c4;
}

.transaction-report-heading {
  background: #fff;
  border-bottom-color: #d7e2ec;
}

.transaction-report-heading .eyebrow {
  color: #008f70;
}

.transaction-report-heading h2 {
  color: #15243a;
}

.transaction-report-heading p {
  color: #657b91;
}

.transaction-report-dates label > span,
.transaction-report-filters label > span {
  color: #63788d;
}

.transaction-report-dates input,
.transaction-report-filters input,
.transaction-report-filters select {
  background: #fff;
  border-color: #c8d5e1;
  color: #1b2d41;
}

.transaction-report-dates input:focus,
.transaction-report-filters input:focus,
.transaction-report-filters select:focus {
  background: #fff;
  border-color: #168bd2;
  box-shadow: 0 0 0 3px rgba(22, 139, 210, .14);
}

#transactionReportOverlay .refresh-icon-button {
  background: #168bd2;
  border-color: #168bd2;
  color: #fff;
}

#transactionReportOverlay #resetTransactionReport {
  background: #fff;
  border-color: #c8d5e1;
  color: #40566c;
}

.transaction-report-content {
  background: #f4f7fb;
}

.transaction-report-status {
  color: #5b7288;
}

.transaction-report-metrics {
  background: #fff;
  border-color: #d7e2ec;
  box-shadow: inset 0 1px #fff;
}

.transaction-report-metrics > div {
  border-top: 4px solid #6f8498;
}

.transaction-report-metrics > div:nth-child(2) {
  border-top-color: #168bd2;
}

.transaction-report-metrics > div:nth-child(3) {
  border-top-color: #08a47d;
}

.transaction-report-metrics > div:nth-child(4) {
  border-top-color: #e69b20;
}

.transaction-report-metrics > div:nth-child(5) {
  border-top-color: #00a5ad;
}

.transaction-report-metrics > div + div {
  border-left-color: #e0e8ef;
}

.transaction-report-metrics span {
  color: #687e92;
}

.transaction-report-metrics strong {
  color: #15263a;
}

.transaction-report-summaries {
  background: #fff;
  border-bottom-color: #d7e2ec;
}

.transaction-report-summaries > section + section {
  border-left-color: #d7e2ec;
}

.transaction-summary-heading strong {
  color: #1b2d41;
}

.transaction-summary-heading span {
  color: #71869a;
}

.transaction-summary-heading > b {
  background: #eaf3fa;
  color: #236c9d;
}

.transaction-summary-rows > div,
.transaction-summary-rows p {
  border-top-color: #e1e8ef;
}

.transaction-summary-rows strong,
.transaction-summary-rows b {
  color: #203247;
}

.transaction-summary-rows span,
.transaction-summary-rows em,
.transaction-summary-rows p {
  color: #6a8095;
}

.transaction-detail-section {
  background: #fff;
}

.transaction-report-selected {
  background: #edf7fd;
  border-block-color: #badced;
}

.transaction-report-selected span {
  color: #52738d;
}

.transaction-report-selected strong {
  color: #17334a;
}

.transaction-report-table-wrap {
  background: #fff;
}

.transaction-report-table-wrap th {
  background: #eaf2f8;
  color: #355d79;
  box-shadow: inset 0 -1px #cad9e4;
}

.transaction-report-table-wrap td {
  border-bottom-color: #e3eaf0;
  color: #31465a;
}

.transaction-report-table-wrap tbody tr:hover {
  background: #f0f7fb;
}

.transaction-report-table-wrap tbody tr.selected {
  background: #dff7ef;
  box-shadow: inset 3px 0 #009e77;
}

.transaction-report-table-wrap td.money {
  color: #102b40;
}

.transaction-payment-tag {
  background: #e1f1fb;
  color: #166a9d;
}

.transaction-report-empty {
  color: #71869a !important;
}

.report-view-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 92px;
  padding: 14px 64px 14px 24px;
}

.report-view-heading > div:first-child {
  flex: 1;
  text-align: center;
}

.report-view-heading h2 {
  font-size: 26px;
  margin: 4px 0;
}

.report-view-heading p {
  color: var(--muted);
  margin: 0;
}

.report-toolbar {
  display: contents;
}

.report-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  position: relative;
}

.report-tools label {
  display: grid;
  flex: 0 1 148px;
  gap: 5px;
}

.report-tools span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.report-tools input {
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font-weight: 800;
  min-height: 44px;
  padding: 0 10px;
}

.report-tools input:focus {
  border-color: #20a4e8;
  box-shadow: 0 0 0 3px rgba(32, 164, 232, 0.16);
  outline: none;
}

.report-tools select {
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font-weight: 800;
  min-height: 44px;
  padding: 0 10px;
}

.report-tools select:focus {
  border-color: #20a4e8;
  box-shadow: 0 0 0 3px rgba(32, 164, 232, 0.16);
  outline: none;
}

.report-date-field input {
  width: 100%;
}

.report-date-field select {
  width: 100%;
}

.compact-action {
  min-height: 44px;
  padding: 0 16px;
}

.icon-action {
  min-height: 44px;
  min-width: 54px;
  padding: 0 12px;
}

.calendar-popover {
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .38);
  padding: 12px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, calc(100vw - 54px));
  z-index: 8;
}

.calendar-head {
  align-items: center;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 8px;
  margin-bottom: 10px;
  text-align: center;
}

.calendar-head button,
.calendar-days button {
  background: color-mix(in srgb, var(--surface2) 90%, var(--blue) 10%);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font-weight: 900;
}

.calendar-head button {
  min-height: 38px;
  font-size: 20px;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-align: center;
}

.calendar-days button,
.calendar-days span {
  min-height: 36px;
}

.calendar-days button.active {
  background: linear-gradient(135deg, #07884f, #0cbd73);
  border-color: rgba(117, 255, 194, .72);
}

.report-document-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
}

.report-paper-scroll {
  align-items: flex-start;
  background: color-mix(in srgb, var(--surface2) 84%, #6b7882 16%);
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  min-height: 0;
  overflow: auto;
  padding: 22px;
  width: 100%;
}

.sales-report-table {
  display: none !important;
}

.sales-report-table table {
  border-collapse: collapse;
  min-width: 840px;
  width: 100%;
}

.sales-report-table th,
.sales-report-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
}

.sales-report-table th {
  background: rgba(18, 46, 70, 0.96);
  color: var(--blue);
  font-size: 0.78rem;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.sales-report-table td:nth-child(4),
.sales-report-table td:nth-child(5) {
  text-align: right;
}

.sales-report-table td:nth-child(6) {
  color: var(--green);
  font-weight: 900;
}

.sales-report-table tbody tr {
  cursor: pointer;
}

.sales-report-table tbody tr:hover {
  background: rgba(33, 150, 243, 0.12);
}

.sales-report-table tbody tr.selected-row {
  background: rgba(16, 185, 129, 0.16);
  outline: 1px solid rgba(16, 185, 129, 0.72);
  outline-offset: -1px;
}

.empty-table {
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

.sales-report-receipt {
  background: #fffdf8;
  border: 1px solid #d9d6ce;
  border-radius: 4px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  color: #101820;
  font-family: "Courier New", Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.38;
  text-align: left;
  margin: 0 auto;
  min-height: 100%;
  min-width: 42ch;
  overflow: visible;
  padding: 24px 26px 34px;
  white-space: pre;
  width: max-content;
  justify-self: center;
}

.loyalty-payment-control {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 10px;
  width: 100%;
}

.loyalty-payment-status {
  align-items: center;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  justify-content: space-between;
  min-height: 42px;
  padding: 8px 12px;
}

.loyalty-payment-status span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.loyalty-payment-status strong {
  color: var(--text);
  font-size: 0.88rem;
}

.loyalty-payment-control.is-applied .loyalty-payment-status {
  background: #0c4439;
  border-color: #18bd83;
}

.loyalty-payment-control.is-applied .loyalty-payment-status strong {
  color: #65f0bd;
}

.loyalty-open-button {
  background: #167bc0;
  border: 1px solid #39a4e8;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  min-height: 42px;
  min-width: 116px;
  padding: 8px 16px;
}

.loyalty-open-button:hover,
.loyalty-open-button:focus-visible {
  background: #1d8bd4;
  border-color: #65bdf2;
}

@media (max-width: 520px) {
  .loyalty-payment-control {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .loyalty-open-button {
    min-width: 0;
    padding-inline: 10px;
  }
}

.loyalty-card {
  max-width: 470px;
}

.loyalty-status {
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  line-height: 1.45;
  min-height: 70px;
  padding: 13px 14px;
}

.loyalty-status.success {
  background: #0c4439;
  border-color: #18bd83;
  color: #b9f8df;
}

.loyalty-status.error {
  background: #3b1f2a;
  border-color: #b5485f;
  color: #ffd1d9;
}

.loyalty-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 0.8fr 1.2fr;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 7px;
}

.form-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form-submit {
  width: 100%;
  margin-top: 16px;
}

@media (max-width: 1360px) and (min-width: 821px) {
  .desk-grid,
  .desk-grid.receipt-layout {
    grid-template-columns: minmax(220px, 280px) minmax(380px, 1fr) minmax(250px, 300px);
    grid-template-rows: minmax(300px, 1fr) minmax(210px, .7fr);
    gap: 9px;
    height: calc(100dvh - 102px);
    min-height: 560px;
  }

  .support-workspace {
    padding: 10px 12px;
  }

  .workspace-topbar {
    min-height: 62px;
    grid-template-columns: 1fr auto;
  }

  .workspace-topbar h1 {
    font-size: clamp(22px, 2.4vw, 28px);
  }

  .sales-panel {
    grid-row: 1 / 3;
  }

  .transaction-panel {
    grid-column: 2;
    grid-row: 1;
  }

  .pump-panel {
    grid-column: 2;
    grid-row: 2;
  }

  .report-panel {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .panel-title {
    min-height: 58px;
    padding: 10px 12px;
  }

  .panel-title h2 {
    font-size: 14px;
  }

  .panel-title p {
    font-size: 9px;
  }

  .command-grid,
  .more-grid {
    gap: 8px;
    padding: 12px;
  }

  .command-tile,
  .neo-command-tile {
    min-height: 68px;
    padding: 11px 10px;
    border-radius: 12px;
    font-size: 15px;
  }

  .table-wrap {
    height: calc(100% - 58px);
  }

  table {
    font-size: 12px;
  }

  th,
  td {
    padding: 10px 8px;
  }

  .pump-grid {
    height: calc(100% - 58px);
    grid-template-columns: repeat(7, minmax(78px, 1fr));
    gap: 7px;
    padding: 8px;
  }

  .pump-card {
    min-height: 96px;
    gap: 5px;
    padding: 8px;
    border-radius: 11px;
  }

  .pump-card strong {
    font-size: 11px;
  }

  .pump-icon {
    font-size: 9px;
  }

  .operator-view {
    flex-direction: column;
    align-items: center;
  }

  .order-items {
    width: min(100%, 360px);
    flex: 1;
  }

  .order-summary {
    width: min(100%, 360px);
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 11px 14px;
  }

  .payment-actions {
    gap: 8px;
    padding: 10px;
  }

  .payment-actions button {
    min-height: 58px;
    border-radius: 11px;
    font-size: 15px;
  }

  .report-panel #receiptPreview.receipt-mode {
    padding: 8px 6px;
    overflow-x: hidden;
  }

  .report-panel #receiptPreview.receipt-mode .od-receipt {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 12px 8px;
    overflow-x: hidden;
  }

  .report-panel #receiptPreview.receipt-mode .od-text-line,
  .report-panel #receiptPreview.receipt-mode .od-row,
  .report-panel #receiptPreview.receipt-mode .od-item-line,
  .report-panel #receiptPreview.receipt-mode .od-item-name,
  .report-panel #receiptPreview.receipt-mode .od-section-title {
    font-size: clamp(7.5px, .68vw, 10px);
  }

  .report-panel #receiptPreview.receipt-mode .od-total-row {
    font-size: clamp(8px, .74vw, 11px);
  }

  .metrics-strip {
    display: none;
  }

  .neo-pet-wrap {
    right: 14px !important;
    bottom: 76px !important;
  }

  .neo-pet {
    width: 62px;
    height: 82px;
  }

  .neo-pet-face {
    width: 50px;
    height: 45px;
  }
}

@media (max-width: 820px) {
  .desk-grid {
    grid-template-columns: 280px minmax(410px, 1fr);
    grid-template-rows: 360px 260px 300px;
  }

  .report-panel {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  #receiptPreview {
    height: clamp(220px, 42vh, 420px);
    min-height: 220px;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .metrics-strip {
    display: none;
  }

  .workspace-topbar {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 0 14px;
  }

  .service-chip {
    display: none;
  }

  .brand-lockup span {
    display: none;
  }

  .support-workspace {
    padding: 10px;
  }

  .workspace-topbar {
    display: flex;
    flex-wrap: wrap;
    min-height: 60px;
  }

  .workspace-topbar h1 {
    font-size: 21px;
  }

  .fullscreen-button {
    flex-basis: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 38px;
  }

  .account-actions {
    margin-left: auto;
  }

  .account-actions button {
    padding: 9px 10px;
  }

  .account-manager-layout {
    grid-template-columns: 1fr;
  }

  .mobile-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    margin-bottom: 8px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
  }

  .mobile-tabs button {
    border: 0;
    border-radius: 9px;
    color: var(--muted);
    background: transparent;
    font-size: clamp(10px, 2.4vw, 12px);
    font-weight: 800;
    padding: 9px 4px;
    line-height: 1.15;
    white-space: normal;
  }

  .mobile-tabs button.active {
    color: #fff;
    background: var(--blue);
  }

  .desk-grid {
    display: block;
    min-height: calc(100vh - 148px);
  }

  .panel {
    height: calc(100vh - 148px);
    display: none;
  }

  .panel.active-mobile {
    display: block;
  }

  .more-panel {
    display: none;
  }

  .more-panel.active-mobile {
    display: block;
  }

  .sales-panel,
  .transaction-panel,
  .report-panel,
  .pump-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .command-grid,
  .more-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tank-settings {
    grid-template-columns: 1fr;
  }

  .pump-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .table-wrap {
    height: calc(100% - 68px);
  }

  #receiptPreview {
    height: calc(100% - 188px);
  }

  .modal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reprint-layout {
    grid-template-columns: 1fr;
  }

  .reprint-rows {
    height: 260px;
    min-height: 260px;
  }

  .reprint-preview-panel .engine-log {
    height: 320px;
    min-height: 320px;
  }

  .login-main {
    padding: 20px 14px;
  }

  .login-layout {
    display: block;
  }

  .login-copy {
    display: none;
  }

  .login-card {
    margin: auto;
    padding: 27px 22px;
  }

  #transactionReportOverlay {
    padding: 0;
  }

  #transactionReportOverlay .transaction-report-card {
    border: 0;
    border-radius: 0;
    height: 100dvh;
    max-height: 100dvh;
    width: 100vw;
  }

  .transaction-report-heading {
    align-items: stretch;
    display: grid;
    gap: 10px;
    min-height: auto;
    padding: 14px 54px 12px 16px;
  }

  .transaction-report-heading h2 {
    font-size: 20px;
  }

  .transaction-report-dates {
    width: 100%;
  }

  .transaction-report-dates label {
    flex: 1;
    width: auto;
  }

  .transaction-report-content {
    padding: 12px;
  }

  .transaction-report-filters {
    grid-template-columns: 1fr 1fr;
  }

  .transaction-report-search {
    grid-column: 1 / -1;
  }

  .transaction-report-metrics {
    grid-template-columns: repeat(5, minmax(115px, 1fr));
    overflow-x: auto;
  }

  .transaction-report-summaries {
    grid-template-columns: 1fr;
  }

  .transaction-report-summaries > section + section {
    border-left: 0;
    border-top: 1px solid #20384b;
  }

  .transaction-report-selected {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .transaction-report-table-wrap {
    max-height: 46vh;
  }
}

@media (max-width: 520px) {
  #salesReportOverlay,
  #transactionReportOverlay {
    padding: 0;
  }

  .site-header {
    height: 62px;
  }

  .brand-lockup strong {
    font-size: 16px;
  }

  .header-actions {
    gap: 6px;
  }

  .workspace-actions {
    gap: 6px;
  }

  .theme-menu {
    max-height: calc(100dvh - 84px);
    overflow: auto;
    position: fixed;
    right: 10px;
    top: 68px;
    width: min(272px, calc(100vw - 20px));
  }

  .danger-button {
    font-size: 12px;
    padding: 0 10px;
  }

  .workspace-topbar .eyebrow,
  .workspace-topbar p {
    display: none;
  }

  .workspace-topbar h1 {
    font-size: 18px;
  }

  .account-actions .primary {
    display: none;
  }

  .mobile-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .mobile-tabs button {
    min-height: 38px;
    font-size: 11px;
  }

  .panel {
    height: calc(100vh - 172px);
  }

  .command-grid,
  .more-grid,
  .report-actions,
  .attendant-grid {
    grid-template-columns: 1fr;
  }

  .admin-heading {
    display: grid;
    padding-right: 40px;
  }

  .transaction-report-dates {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
  }

  .transaction-report-filters {
    grid-template-columns: 1fr;
  }

  .transaction-report-search {
    grid-column: auto;
  }

  .transaction-report-metrics > div {
    padding: 10px 12px;
  }

  .transaction-report-metrics strong {
    font-size: 16px;
  }

  .transaction-summary-rows > div,
  .transaction-report-summaries > section:last-child .transaction-summary-rows > div {
    grid-template-columns: minmax(100px, 1fr) minmax(70px, auto) minmax(82px, auto);
  }

  .transaction-summary-rows em {
    display: none;
  }

  .transaction-report-selected {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-tools {
    justify-content: stretch;
  }

  .report-tools label {
    flex: 1;
  }

  .tile,
  .more-grid button {
    min-height: 64px;
  }

  .modal-card {
    padding: 20px;
  }

  .discount-card {
    padding: 16px;
  }

  .discount-card .admin-heading p {
    display: none;
  }

  .discount-choice-grid,
  .discount-input-grid {
    grid-template-columns: 1fr;
  }

  .discount-card .selection-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .discount-card .selection-summary span {
    font-size: 9px;
  }

  .discount-card .selection-summary strong {
    font-size: 15px;
  }

  .po-balance-search-row {
    grid-template-columns: 1fr;
  }

  .po-balance-search-row button {
    min-height: 48px;
  }

  .po-balance-hero {
    display: grid;
    align-items: start;
  }

  .po-balance-account {
    max-width: none;
    text-align: left;
  }

  .po-balance-grid {
    grid-template-columns: 1fr 1fr;
  }

  .payment-card .admin-heading {
    margin-bottom: 9px;
  }

  .payment-card .admin-heading p {
    display: none;
  }

  .payment-card .cash-total,
  .payment-card .cash-change {
    padding: 8px 12px;
  }

  .payment-card .cash-input input {
    min-height: 44px;
  }

  .payment-card .cash-keypad button,
  .payment-card .cash-keypad.compact-keypad button {
    min-height: 38px;
  }

  #salesReportOverlay .report-card {
    border: 0;
    border-radius: 0;
    height: 100dvh;
    max-height: 100dvh;
    padding: 0;
    width: 100vw;
  }

  .report-view-heading {
    align-items: stretch;
    display: grid;
    gap: 10px;
    min-height: auto;
    padding: 14px 54px 12px 16px;
  }

  .report-view-heading h2 {
    font-size: 20px;
  }

  .report-view-heading p {
    font-size: 12px;
  }

  .report-tools {
    justify-content: stretch;
    width: 100%;
  }

  .report-tools label {
    flex: 1 1 118px;
    min-width: 0;
  }

  .report-tools .compact-action {
    flex: 1 0 auto;
  }

  .report-paper-scroll {
    justify-items: center;
    padding: 12px;
  }

  .sales-report-receipt {
    font-size: 11px;
    min-width: 42ch;
    padding: 18px 8px 26px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .neo-pet-wrap {
    right: 14px !important;
    bottom: 82px !important;
  }

  .neo-pet-panel {
    width: calc(100vw - 118px);
    height: calc(100vh - 140px);
  }

  .neo-pet {
    width: 66px;
    height: 88px;
  }

  .neo-pet-face {
    width: 52px;
    height: 48px;
    border-radius: 20px;
  }

  .neo-pet-face i,
  .neo-pet-face b {
    top: 20px;
  }

  .neo-greeting {
    right: 68px;
    bottom: 62px;
    width: min(260px, calc(100vw - 110px));
    padding: 12px 14px;
    font-size: 12px;
  }
}
#transactionReportOverlay .transaction-report-card {
  background: var(--surface2);
  border-color: var(--line);
  color: var(--text);
}

#transactionReportOverlay .modal-close {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

#transactionReportOverlay .modal-close:hover {
  background: color-mix(in srgb, var(--surface2) 78%, var(--blue) 22%);
  border-color: var(--blue);
}

.transaction-report-heading,
#salesReportOverlay .report-view-heading,
#reprintOverlay .report-view-heading {
  background: var(--surface);
  border-bottom-color: var(--line);
  color: var(--text);
}

.transaction-report-heading h2,
.transaction-report-heading p,
.transaction-report-heading .eyebrow {
  color: inherit;
}

.transaction-report-heading p,
.transaction-report-dates label > span,
.transaction-report-filters label > span {
  color: var(--muted);
}

.transaction-report-heading .eyebrow {
  color: var(--green);
}

.transaction-report-dates,
.report-tools {
  align-items: flex-end;
}

.transaction-report-dates input,
.transaction-report-filters input,
.transaction-report-filters select {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.transaction-report-dates input:focus,
.transaction-report-filters input:focus,
.transaction-report-filters select:focus {
  background: var(--surface);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent);
}

#transactionReportOverlay .refresh-icon-button,
#salesReportOverlay .refresh-icon-button,
#reprintOverlay .refresh-icon-button {
  align-self: flex-end;
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

#transactionReportOverlay #resetTransactionReport {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.transaction-report-content {
  background: var(--surface2);
}

.transaction-report-status,
.transaction-report-metrics span,
.transaction-summary-heading span,
.transaction-summary-rows span,
.transaction-summary-rows em,
.transaction-summary-rows p,
.transaction-report-selected span,
.transaction-report-empty {
  color: var(--muted) !important;
}

.transaction-report-metrics,
.transaction-report-summaries,
.transaction-detail-section,
.transaction-report-table-wrap {
  background: var(--surface);
}

.transaction-report-metrics,
.transaction-report-summaries,
.transaction-report-summaries > section + section,
.transaction-summary-rows > div,
.transaction-summary-rows p,
.transaction-report-table-wrap td {
  border-color: var(--line);
}

.transaction-report-metrics > div + div {
  border-left-color: var(--line);
}

.transaction-report-metrics strong,
.transaction-summary-heading strong,
.transaction-summary-rows strong,
.transaction-summary-rows b,
.transaction-report-selected strong,
.transaction-report-table-wrap td,
.transaction-report-table-wrap td.money {
  color: var(--text);
}

.transaction-summary-heading > b,
.transaction-payment-tag {
  background: color-mix(in srgb, var(--surface2) 72%, var(--blue) 28%);
  color: color-mix(in srgb, var(--blue) 62%, var(--text) 38%);
}

.transaction-report-selected,
.transaction-report-table-wrap tbody tr.selected {
  background: color-mix(in srgb, var(--surface) 78%, var(--green) 22%);
}

.transaction-report-selected {
  border-block-color: color-mix(in srgb, var(--line) 55%, var(--green) 45%);
}

.transaction-report-table-wrap th {
  background: color-mix(in srgb, var(--surface2) 76%, var(--blue) 24%);
  box-shadow: inset 0 -1px var(--line);
  color: color-mix(in srgb, var(--blue) 60%, var(--text) 40%);
}

.transaction-report-table-wrap tbody tr:hover {
  background: color-mix(in srgb, var(--surface) 82%, var(--blue) 18%);
}

.transaction-report-table-wrap tbody tr.selected {
  box-shadow: inset 3px 0 var(--green);
}

#reprintOverlay .report-view-heading {
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  #salesReportOverlay,
  #reprintOverlay,
  #transactionReportOverlay {
    align-items: stretch;
    padding: 0;
  }

  #salesReportOverlay .report-card,
  #reprintOverlay .reprint-card,
  #transactionReportOverlay .transaction-report-card {
    border: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    margin: 0;
    max-height: 100dvh;
    max-width: 100vw;
    overflow: hidden;
    padding: 0;
    width: 100vw;
  }

  #salesReportOverlay .report-view-heading,
  #reprintOverlay .report-view-heading,
  #transactionReportOverlay .transaction-report-heading {
    align-items: start;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) 48px;
    min-height: 0;
    padding: 14px 12px 12px;
  }

  #salesReportOverlay .report-view-heading > div:first-child,
  #reprintOverlay .report-view-heading > div:first-child,
  #transactionReportOverlay .transaction-report-heading > div:first-child {
    min-width: 0;
  }

  #salesReportOverlay .report-view-heading h2,
  #reprintOverlay .report-view-heading h2,
  #transactionReportOverlay .transaction-report-heading h2 {
    font-size: 24px;
    line-height: 1.08;
    margin: 4px 0;
    overflow-wrap: anywhere;
  }

  #salesReportOverlay .report-view-heading p,
  #reprintOverlay .report-view-heading p,
  #transactionReportOverlay .transaction-report-heading p {
    font-size: 13px;
    line-height: 1.28;
  }

  #salesReportOverlay .modal-close,
  #reprintOverlay .modal-close,
  #transactionReportOverlay .modal-close {
    grid-column: 2;
    grid-row: 1;
    height: 48px;
    justify-self: end;
    min-height: 48px;
    position: static;
    right: auto;
    top: auto;
    width: 48px;
  }

  #salesReportOverlay .report-tools,
  #reprintOverlay .report-tools,
  #transactionReportOverlay .transaction-report-dates {
    display: grid;
    gap: 8px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr)) 50px;
    width: 100%;
  }

  #reprintOverlay .report-tools {
    grid-template-columns: minmax(0, 1fr) 50px;
  }

  #salesReportOverlay .report-tools label,
  #reprintOverlay .report-tools label,
  #transactionReportOverlay .transaction-report-dates label {
    flex: none;
    min-width: 0;
    width: 100%;
  }

  #salesReportOverlay .report-tools input,
  #salesReportOverlay .report-tools select,
  #reprintOverlay .report-tools input,
  #transactionReportOverlay .transaction-report-dates input {
    box-sizing: border-box;
    font-size: 15px;
    height: 48px;
    min-height: 48px;
    min-width: 0;
    padding: 0 8px;
    width: 100%;
  }

  #salesReportOverlay .refresh-icon-button,
  #reprintOverlay .refresh-icon-button,
  #transactionReportOverlay .refresh-icon-button {
    align-self: end;
    box-sizing: border-box;
    flex: none;
    height: 50px;
    min-height: 50px;
    padding: 0;
    width: 50px;
  }

  #salesReportOverlay .report-view-button,
  #reprintOverlay .report-view-button,
  #transactionReportOverlay .report-view-button {
    align-self:end;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    height:50px;
    min-height:50px;
    padding:0 18px;
  }

  #salesReportOverlay .report-document-stage,
  #transactionReportOverlay .transaction-report-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  #salesReportOverlay .report-paper-scroll {
    align-items: flex-start;
    display: flex;
    justify-content: center;
    min-height: 0;
    overflow: auto;
    padding: 18px 8px calc(24px + env(safe-area-inset-bottom));
    width: 100%;
  }

  #salesReportOverlay .sales-report-receipt {
    box-sizing: border-box;
    font-size: 10.5px;
    line-height: 1.25;
    max-width: calc(100vw - 18px);
    min-height: auto;
    min-width: 42ch;
    overflow-x: auto;
    padding: 14px 8px 24px;
  }

  #reprintOverlay .reprint-layout {
    flex: 1 1 auto;
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: auto;
    padding: 12px;
  }

  #reprintOverlay .reprint-list-panel,
  #reprintOverlay .reprint-preview-panel {
    min-width: 0;
  }

  #reprintOverlay .reprint-rows {
    max-height: 240px;
    overflow: auto;
  }

  #reprintOverlay .reprint-preview-panel .engine-log {
    box-sizing: border-box;
    font-size: 10.5px;
    line-height: 1.25;
    max-width: calc(100vw - 42px);
    min-width: 0;
    overflow: auto;
    padding: 14px 8px 24px;
  }
}

@media (max-width: 380px) {
  #salesReportOverlay .report-view-heading h2,
  #reprintOverlay .report-view-heading h2,
  #transactionReportOverlay .transaction-report-heading h2 {
    font-size: 22px;
  }

  #salesReportOverlay .report-tools input,
  #salesReportOverlay .report-tools select,
  #reprintOverlay .report-tools input,
  #transactionReportOverlay .transaction-report-dates input {
    font-size: 14px;
  }

  #salesReportOverlay .sales-report-receipt,
  #reprintOverlay .reprint-preview-panel .engine-log {
    font-size: 10px;
  }
}

@media print {
  body:not(.printing-station-report) {
    background: #fff !important;
  }

  body:not(.printing-station-report) * {
    visibility: hidden !important;
  }

  body:not(.printing-station-report) #receiptPreview,
  body:not(.printing-station-report) #receiptPreview * {
    visibility: visible !important;
  }

  body:not(.printing-station-report) #receiptPreview {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 80mm !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    color: #000 !important;
  }

body:not(.printing-station-report) #receiptPreview .od-receipt {
    width: 80mm !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
  }
}
@media screen and (max-height: 900px) and (min-width: 821px) {
  .login-main { min-height:100dvh; padding:12px 20px; }
  .login-layout { width:min(430px,100%); }
  .login-card { max-width:430px; max-height:calc(100dvh - 24px); overflow-y:auto; padding:22px 30px 20px; border-radius:22px; scrollbar-width:thin; }
  .brand-logo { height:64px; }
  .login-brand h2 { font-size:22px; }
  .pin-field { margin-top:16px; gap:6px; }
  .login-card input,.login-card select { padding:10px 12px; }
  .login-status { margin-top:10px; padding:9px 12px; }
  .keypad { gap:8px; margin-top:12px; }
  .keypad button { min-height:52px; font-size:18px; }
  .login-note { margin-top:9px; }
}

@media screen and (max-height: 650px) and (min-width: 681px) {
  .login-card { max-width:390px; padding:15px 24px 13px; }
  .brand-logo { height:48px; }
  .login-brand h2 { font-size:19px; }
  .login-brand p { margin:3px 0 0; }
  .pin-field { margin-top:10px; }
  .keypad { gap:6px; margin-top:9px; }
  .keypad button { min-height:43px; font-size:16px; }
}
@media screen and (max-height: 900px) and (min-width: 821px) {
  .dashboard-main { min-height:100dvh; height:100dvh; overflow:hidden; }
  .support-workspace { height:100dvh; padding:6px 9px 9px; }
  .workspace-topbar { min-height:58px; height:58px; padding:4px 4px 8px; }
  .workspace-topbar > div:first-child { padding-left:52px; }
  .workspace-topbar h1 { font-size:clamp(21px,2.1vw,27px); }
  .workspace-topbar p { margin-top:2px; font-size:11px; }
  .workspace-actions { gap:6px; }
  .qr-access-button,.theme-picker-button,.fullscreen-button { min-width:38px; width:38px; height:38px; min-height:38px; }
  .desk-grid,.desk-grid.receipt-layout {
    height:calc(100dvh - 67px);
    min-height:0;
    grid-template-columns:minmax(260px,300px) minmax(400px,1fr) minmax(280px,320px);
    grid-template-rows:minmax(260px,1.35fr) minmax(185px,.75fr);
    gap:8px;
  }
  .panel { border-radius:12px; }
  .panel-title { min-height:52px; padding:8px 11px; }
  .panel-title h2 { font-size:14px; }
  .panel-title p { margin-top:2px; font-size:9px; }
  .refresh-icon-button { min-width:42px; width:42px; height:42px; min-height:42px; }
  .command-grid { max-height:calc(100% - 52px); gap:6px; padding:8px; overflow-y:auto !important; }
  .tile { min-height:58px; padding:10px 10px 13px; border-radius:11px; font-size:13px; }
  .table-wrap { height:calc(100% - 52px); }
  th,td { padding:8px 7px; }
  .pump-grid { height:calc(100% - 52px); grid-template-columns:repeat(7,minmax(70px,1fr)); gap:6px; padding:7px; }
  .pump-card { min-height:82px; gap:4px; padding:7px; border-radius:10px; }
  .pump-card strong { font-size:10px; }
  .pump-card span { font-size:9px; }
  .pump-icon { font-size:8px; }
  .order-items { padding:8px; }
  .order-summary { gap:5px 10px; padding:9px 12px; font-size:11px; }
  .order-summary strong { font-size:16px; }
  .payment-actions { gap:7px; padding:8px; }
  .payment-actions button { min-height:54px; border-radius:10px; font-size:15px; }
  .neo-pet-wrap { bottom:68px !important; }
}

@media screen and (max-height: 650px) and (min-width: 821px) {
  .workspace-topbar { min-height:48px; height:48px; padding-bottom:4px; }
  .workspace-topbar h1 { font-size:19px; }
  .workspace-topbar p { font-size:9px; }
  .desk-grid,.desk-grid.receipt-layout { height:calc(100dvh - 57px); grid-template-rows:minmax(220px,1.3fr) minmax(150px,.7fr); }
  .panel-title { min-height:44px; padding:6px 9px; }
  .command-grid { max-height:calc(100% - 44px); gap:5px; padding:6px; }
  .tile { min-height:48px; padding:8px 8px 11px; font-size:12px; }
  .pump-grid { height:calc(100% - 44px); }
  .pump-card { min-height:68px; }
  .payment-actions button { min-height:44px; font-size:13px; }
}
.cstore-delivery-card{width:min(1180px,96vw);max-height:94vh;overflow:auto}.delivery-header-grid,.delivery-entry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.delivery-header-grid label,.delivery-entry label{display:grid;gap:6px}.delivery-header-grid span,.delivery-entry span{font-size:.75rem;font-weight:800;text-transform:uppercase}.delivery-entry{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--panel) 78%,var(--accent) 5%)}.delivery-entry>label:first-child,.delivery-wide{grid-column:span 2}.delivery-total{display:flex;flex-direction:column;justify-content:center;padding:8px 14px;border-radius:12px;background:var(--panel)}.delivery-total strong{font-size:1.2rem}.delivery-notice{margin:10px 0;padding:10px 14px;border-radius:12px;background:#fff3cd;color:#6f4d00;font-weight:700}.delivery-table-wrap{margin-top:16px;overflow:auto;border:1px solid var(--line);border-radius:16px;max-height:280px}.delivery-table-wrap table{width:100%;border-collapse:collapse}.delivery-table-wrap th,.delivery-table-wrap td{padding:11px;border-bottom:1px solid var(--line);text-align:left}.delivery-table-wrap td small{display:block;color:var(--muted)}.delivery-table-wrap .danger-button{padding:7px 10px}.delivery-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}.delivery-footer div{display:grid;gap:4px}.delivery-footer small{color:var(--muted)}
@media(max-width:760px){.delivery-header-grid,.delivery-entry{grid-template-columns:1fr 1fr}.delivery-entry>label:first-child,.delivery-wide{grid-column:span 2}.delivery-footer{align-items:stretch;flex-direction:column}.delivery-footer button{width:100%}}
.short-reference{display:inline-block;max-width:120px;white-space:nowrap;font-family:ui-monospace,monospace}.cstore-overview-section{margin-top:18px}.cstore-overview-section>h4{margin:0 0 4px;font-size:1.05rem}.cstore-overview-section>p{margin:0 0 10px;color:var(--muted)}.cstore-overview-split{display:grid;grid-template-columns:1fr 1fr;gap:16px}.station-kpi-grid article span{display:block;margin-top:4px;color:var(--muted);font-size:.78rem}@media(max-width:1000px){.cstore-overview-split{grid-template-columns:1fr}}
.cstore-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.cstore-chart-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:0 10px 25px rgba(30,45,38,.06)}.cstore-chart-card>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.cstore-chart-card h4{margin:0}.cstore-chart-card>div>span{color:var(--muted);font-size:.78rem}.cstore-bar-chart{display:grid;gap:10px;margin-top:16px}.cstore-bar-chart article{display:grid;gap:5px}.cstore-bar-chart label{display:flex;justify-content:space-between;gap:10px;font-size:.78rem}.cstore-bar-chart i{height:10px;border-radius:999px;background:color-mix(in srgb,var(--line) 70%,transparent);overflow:hidden}.cstore-bar-chart i span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1c8b68,#66c5a4)}.cstore-bar-chart.sales i span{background:linear-gradient(90deg,#237eb8,#68bce8)}@media(max-width:1000px){.cstore-chart-grid{grid-template-columns:1fr}}
.cstore-item-row.out-of-stock,.cstore-quick-card.out-of-stock{opacity:.62;filter:grayscale(.65);cursor:not-allowed}.cstore-item-row strong small{display:block;color:var(--muted);font-weight:500;margin-top:3px}.cstore-item-row b small,.cstore-quick-card b i{display:block;color:#16805e;font-size:.68rem;font-style:normal}.cstore-item-row.out-of-stock b,.cstore-quick-card.out-of-stock small{color:#c5323f;font-weight:900}.bundle-builder-card{width:min(1040px,96vw);max-height:94vh;overflow:auto}.bundle-fields,.bundle-component-picker,.bundle-pricing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bundle-fields label,.bundle-component-picker label,.bundle-pricing label{display:grid;gap:6px}.bundle-fields span,.bundle-component-picker span,.bundle-pricing span{font-size:.75rem;font-weight:800;text-transform:uppercase}.bundle-component-picker{margin:18px 0;padding:14px;border-radius:16px;background:color-mix(in srgb,var(--panel) 82%,var(--accent) 5%);align-items:end}.bundle-component-picker label:first-child{grid-column:span 2}.bundle-components{display:grid;gap:8px;max-height:280px;overflow:auto}.bundle-components article{display:grid;grid-template-columns:52px 1fr auto auto;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);border-radius:14px}.bundle-components img{width:48px;height:48px;object-fit:contain}.bundle-components div{display:grid}.bundle-components small{color:var(--muted)}.bundle-pricing{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:16px;grid-template-columns:1fr 1fr 1fr 1fr}.bundle-pricing article{display:grid;align-content:center}.bundle-pricing strong{font-size:1.35rem}.bundle-pricing article b{color:#16805e}.bundle-quick{display:flex;gap:8px;align-items:center;margin:16px 0;font-weight:750}@media(max-width:760px){.bundle-fields,.bundle-component-picker,.bundle-pricing{grid-template-columns:1fr 1fr}.bundle-component-picker label:first-child{grid-column:span 2}.bundle-pricing{grid-template-columns:1fr 1fr}}
.bundle-quick{display:none!important}
.quick-bundle-items{grid-column:2;grid-row:3;display:flex;flex-direction:column;gap:2px;margin-top:2px;text-align:left;min-width:0}
.quick-bundle-items i{font-size:10px;font-style:normal;font-weight:600;color:var(--muted);line-height:1.2}
.cstore-quick-card>.quick-item-picture{position:relative;overflow:visible!important}
.cstore-quick-card>.quick-item-picture img{overflow:hidden}
.cstore-quick-card .quick-saving-badge{position:absolute;z-index:2;top:-8px;left:-8px;max-width:72px;padding:4px 6px;border-radius:8px;background:#13855f;color:#fff;font-size:9px;font-style:normal;font-weight:900;line-height:1.05;text-align:center;box-shadow:0 3px 8px rgba(15,84,62,.3)}
.cstore-quick-card>strong{grid-column:2;grid-row:1;min-width:0}
.cstore-quick-card>small{grid-column:2;grid-row:2}
.cstore-quick-card>b{grid-column:2;grid-row:4;justify-self:end!important;align-self:end!important;margin-top:3px}
.promo-item-card{width:min(760px,94vw)}
.promo-item-fields{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin:22px 0}
.promo-item-fields label,.promo-item-fields article{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}
.promo-item-fields label:first-child{grid-column:1/-1}
.promo-item-fields span,.promo-item-fields small{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase}
.promo-item-fields select,.promo-item-fields input{min-height:46px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:var(--surface)}
.promo-item-fields strong{font-size:24px}.promo-item-fields b{color:var(--success)}
.promo-schedule-note{margin:-8px 0 18px;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--accent) 9%,var(--surface));color:var(--muted);font-size:13px;font-weight:700}
@media(max-width:700px){.promo-item-fields{grid-template-columns:1fr}.promo-item-fields label:first-child{grid-column:auto}}
[data-station-report="sales"] { background:#f9e8eb; color:#98343e; border-left:3px solid #c95363; }
[data-station-report="sales"].active { background:#efcbd1; color:#7f2330; }
@media screen {
  #stationReportsOverlay .station-kpi-grid article { min-width:0; container-type:inline-size; }
  #stationReportsOverlay .station-kpi-grid article strong {
    display:block; max-width:100%; min-width:0; line-height:1.18;
    font-size:clamp(1rem,1.7vw,1.8rem);
    overflow-wrap:anywhere; font-variant-numeric:tabular-nums;
  }
  @supports (font-size:1cqi) {
    #stationReportsOverlay .station-kpi-grid article strong { font-size:clamp(1rem,9cqi,1.8rem); }
  }
}
@media screen and (max-width:1400px) {
  #stationReportsOverlay .station-kpi-grid,
  #stationReportsOverlay .station-kpi-five {
    grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
    gap:12px;
  }
  #stationReportsOverlay .station-kpi-grid article { padding:14px; }
  #stationReportsOverlay .station-kpi-grid article span,
  #stationReportsOverlay .station-kpi-grid article small { font-size:clamp(.75rem,1vw,.85rem); line-height:1.35; }
  #stationReportsOverlay .station-reports-header h2 { font-size:clamp(1.2rem,2vw,1.7rem); }
  #stationReportsOverlay .station-reports-header p { font-size:clamp(.8rem,1.1vw,.95rem); overflow-wrap:anywhere; }
  #stationReportsOverlay .station-reports-nav button { font-size:clamp(.8rem,1.05vw,.95rem); }
  #stationReportsOverlay .station-report-title h3 { font-size:clamp(1.1rem,1.7vw,1.45rem); }
}

button[data-command="STATION_REPORTS"],
.more-grid button[data-command="STATION_REPORTS"] {
  background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.02)),color-mix(in srgb,var(--green) 31%,var(--surface2));
  color:var(--text);
}
