:root {
  --ink: #10211b;
  --muted: #64736c;
  --paper: #f4f2eb;
  --white: #fffef9;
  --forest: #09261c;
  --green: #20c878;
  --green-soft: #dff8e9;
  --coral: #ff8064;
  --gold: #e9bb55;
  --blue: #61aefc;
  --line: #dfe4de;
  --shadow: 0 18px 50px rgba(22, 45, 35, .08);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.eyebrow { margin: 0 0 7px; color: #718078; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.muted { color: var(--muted); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.3); border-radius: 11px; color: var(--green); font: 900 19px Georgia, serif; transform: rotate(-3deg); }
.brand-mark.large { width: 58px; height: 58px; border-radius: 16px; font-size: 30px; position: absolute; top: 42px; left: 52px; }

.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.15fr .85fr; background: var(--forest); }
.login-art { position: relative; overflow: hidden; padding: 13vh 8vw; display: flex; align-items: center; color: white; background: radial-gradient(circle at 16% 76%, rgba(32,200,120,.2), transparent 35%), linear-gradient(145deg, #061b14, #0b3124); }
.login-copy { position: relative; z-index: 2; max-width: 660px; }
.login-copy .eyebrow { color: #6de0a6; }
.login-copy h1 { margin: 10px 0 24px; font: 500 clamp(52px, 7vw, 94px)/.94 Georgia, serif; letter-spacing: -.055em; }
.login-copy h1 span { color: var(--green); font-style: italic; }
.login-copy > p:last-child { max-width: 470px; color: #b2c7bd; font-size: 18px; line-height: 1.6; }
.signal-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent); transform: perspective(500px) rotateX(62deg) scale(1.8) translateY(18%); }
.login-panel { display: grid; place-items: center; padding: 50px; background: #fbfaf5; }
.login-card { width: min(410px, 100%); }
.login-card h2 { margin: 8px 0 4px; font: 600 42px Georgia, serif; letter-spacing: -.03em; }
.login-card > .muted { margin: 0 0 34px; }
.login-card label { display: grid; gap: 8px; margin: 18px 0; font-size: 13px; font-weight: 750; }
.login-card input { width: 100%; padding: 14px 15px; border: 1px solid #cad3cd; border-radius: 10px; background: white; outline: none; }
.login-card input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(32,200,120,.12); }
.primary-button { width: 100%; margin-top: 10px; padding: 15px 18px; border: 0; border-radius: 10px; display: flex; justify-content: space-between; background: var(--forest); color: white; font-weight: 800; }
.primary-button:hover { background: #10402f; }
.form-error { min-height: 20px; color: #bc3d34; font-size: 13px; }
.demo-note { text-align: center; color: #839087; font-size: 12px; }
.mobile-brand { display: none; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 18px; display: flex; flex-direction: column; background: var(--forest); color: white; }
.sidebar-brand { display: flex; gap: 12px; align-items: center; padding: 0 8px 30px; }
.sidebar-brand div:last-child { display: grid; font-size: 15px; letter-spacing: .08em; }
.sidebar-brand small { color: #7da091; font-size: 9px; letter-spacing: .18em; }
.sidebar nav { display: grid; gap: 7px; }
.nav-item { border: 0; padding: 12px 13px; display: flex; gap: 13px; align-items: center; border-radius: 9px; background: transparent; color: #9ab4a8; text-align: left; font-size: 14px; font-weight: 650; }
.nav-item span { width: 20px; font-size: 18px; }
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.09); }
.nav-item.active { box-shadow: inset 3px 0 var(--green); }
.sidebar-foot { margin-top: auto; }
.live-pill { margin: 0 8px 18px; color: #8eaa9e; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.live-pill i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.user-chip { width: 100%; padding: 12px 8px; display: flex; gap: 10px; align-items: center; border: 0; border-top: 1px solid rgba(255,255,255,.1); background: transparent; color: white; text-align: left; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #1f563f; color: #a5edc5; font-size: 11px; font-weight: 800; }
.user-chip span:last-child { display: grid; }
.user-chip strong { font-size: 12px; }
.user-chip small { color: #789488; font-size: 10px; }

main { min-width: 0; padding: 0 34px 45px; }
.topbar { min-height: 108px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar h1 { margin: 0; font: 600 31px Georgia, serif; letter-spacing: -.025em; }
.topbar-actions { display: flex; align-items: center; gap: 20px; }
.freshness { display: flex; align-items: center; gap: 10px; }
.freshness > span:last-child { display: grid; }
.freshness small { color: #819087; font-size: 9px; letter-spacing: .12em; }
.freshness strong { font-size: 12px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(32,200,120,.13); }
select, .search { padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); }
.menu-button { display: none; border: 0; background: transparent; font-size: 22px; }
.view { display: none; }
.active-view { display: block; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-card { min-height: 145px; position: relative; overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 8px 28px rgba(22,45,35,.035); }
.metric-card.featured { color: white; border-color: transparent; background: linear-gradient(145deg, #103f2e, #09251b); }
.metric-card p { margin: 0 0 15px; color: #7b8982; font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.metric-card.featured p, .metric-card.featured > span { color: #94b7a7; }
.metric-card strong { display: block; font: 600 33px Georgia, serif; }
.metric-card strong small { font: 500 18px Inter, sans-serif; color: #84918b; }
.metric-card > span { color: #88958f; font-size: 11px; }
.metric-icon { position: absolute; right: 18px; top: 18px; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: rgba(32,200,120,.15); color: var(--green); font-style: normal; }
.metric-icon.coral { background: #ffe9e4; color: var(--coral); }.metric-icon.gold { background: #fff3d7; color: #bc8420; }.metric-icon.blue { background: #e6f2ff; color: var(--blue); }
.dashboard-grid { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, .75fr); gap: 14px; }
.panel { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.panel h2 { margin: 0; font: 600 22px Georgia, serif; }
.legend { display: flex; gap: 16px; color: var(--muted); font-size: 11px; }.legend i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; }.legend .green { background: var(--green); }.legend .coral { background: var(--coral); }
.chart { height: 265px; margin-top: 20px; position: relative; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-label { fill: #8a978f; font-size: 10px; }
.empty { height: 100%; display: grid; place-items: center; color: #89968f; font-size: 13px; }
.count-badge { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff0ec; color: #d7523c; font-size: 12px; font-weight: 800; }
.alert-list { margin-top: 15px; display: grid; gap: 8px; max-height: 262px; overflow: auto; }
.alert { padding: 12px; display: grid; grid-template-columns: 9px 1fr; gap: 10px; border-radius: 9px; background: #f7f7f2; }
.alert i { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--gold); }.alert.critical i { background: var(--coral); }
.alert strong { display: block; font-size: 12px; }.alert small { color: var(--muted); font-size: 10px; }
.fleet-panel { margin-top: 14px; }
.text-button { border: 0; background: transparent; color: #17784d; font-size: 14px; font-weight: 750; }
.table-wrap { overflow-x: auto; }
table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14px; }
th { padding: 11px 10px; color: #6f7d76; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
td { padding: 13px 10px; border-bottom: 1px solid #edf0eb; white-space: nowrap; }
td strong { display: block; } td small { color: var(--muted); font-size: 12px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 20px; font-size: 12px; font-weight: 800; text-transform: capitalize; }.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }.status.online { background: var(--green-soft); color: #087d46; }.status.offline { background: #f0eee6; color: #67675f; }.status.error { background: #ffebe6; color: #b53e2c; }
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.location-card { min-height: 190px; }.location-card .route-num { color: #a3aaa5; font: 500 44px Georgia, serif; }.location-card h2 { margin: 24px 0 6px; }.location-stats { margin-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }.location-stats span { display: grid; }.location-stats strong { font-size: 15px; }.location-stats small { color: var(--muted); font-size: 10px; }
.search { width: min(280px, 48vw); }
.import-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.import-panel > h2 { margin: 0; font: 600 28px Georgia, serif; }.drop-zone { min-height: 230px; margin-top: 24px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1.5px dashed #abc4b7; border-radius: 13px; background: #f5faf6; cursor: pointer; text-align: center; }.drop-zone.dragging { border-color: var(--green); background: #ecfaf2; }.drop-zone input { display: none; }.drop-zone small { color: var(--muted); font-size: 13px; }.upload-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: #09874d; font-size: 23px; }.import-status { min-height: 30px; padding-top: 12px; color: #16804d; font-size: 14px; }.import-status.error { color: #c94c38; }.import-history { margin-top: 14px; }.import-row { padding: 13px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }.import-row strong { font-size: 14px; }.import-row small { display: block; color: var(--muted); font-size: 12px; }.import-row span:last-child { text-align: right; }

@media (max-width: 1100px) { .metric-grid { grid-template-columns: repeat(2, 1fr); }.dashboard-grid { grid-template-columns: 1fr; }.location-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .login-shell { grid-template-columns: 1fr; background: #fbfaf5; }.login-art { display: none; }.login-panel { padding: 28px; }.mobile-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 50px; }.mobile-brand .brand-mark { border-color: #b8c9c0; }
  .app-shell { display: block; }.sidebar { position: fixed; z-index: 10; left: -260px; width: 250px; transition: left .2s ease; }.sidebar.open { left: 0; box-shadow: 18px 0 50px rgba(0,0,0,.22); }
  main { padding: 0 16px 30px; }.topbar { min-height: 92px; }.menu-button { display: block; }.topbar .eyebrow, .freshness { display: none; }.topbar h1 { font-size: 23px; }.topbar-actions { margin-left: auto; }.metric-grid { grid-template-columns: 1fr 1fr; }.metric-card { min-height: 135px; padding: 17px; }.metric-card strong { font-size: 27px; }.metric-icon { display: none; }.location-grid, .import-layout { grid-template-columns: 1fr; }.chart { height: 220px; }
}
@media (max-width: 480px) { .metric-grid { grid-template-columns: 1fr; }.metric-card { min-height: 120px; } }

/* Majestic operations-grid visual system */
:root {
  --ink: #f2f7f5;
  --muted: #91a09a;
  --paper: #090d10;
  --white: #11171a;
  --forest: #070b0e;
  --green: #4bff9d;
  --green-soft: rgba(75, 255, 157, .12);
  --coral: #ff725c;
  --gold: #f6c453;
  --blue: #5bbcff;
  --line: rgba(184, 212, 200, .13);
  --shadow: 0 20px 60px rgba(0, 0, 0, .28);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 78% -10%, rgba(34, 119, 86, .16), transparent 30%),
    radial-gradient(circle at 36% 110%, rgba(38, 103, 132, .11), transparent 32%),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent, black 30%, black 80%, transparent);
}

.app-shell { grid-template-columns: 264px 1fr; }
.sidebar {
  padding: 26px 18px;
  border-right: 1px solid var(--line);
  background: rgba(5, 9, 11, .88);
  backdrop-filter: blur(20px);
}
.sidebar-brand { padding-bottom: 34px; }
.sidebar-brand strong { font-size: 14px; letter-spacing: .16em; }
.sidebar-brand small { margin-top: 4px; color: #688078; font-size: 9px; }
.brand-mark {
  border-color: rgba(75, 255, 157, .34);
  border-radius: 12px;
  color: var(--green);
  background: linear-gradient(145deg, rgba(75,255,157,.14), rgba(75,255,157,.02));
  box-shadow: inset 0 0 20px rgba(75,255,157,.06), 0 0 28px rgba(75,255,157,.08);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transform: none;
}
.nav-item { min-height: 46px; border: 1px solid transparent; border-radius: 11px; color: #7f938b; }
.nav-item:hover { border-color: rgba(255,255,255,.06); background: rgba(255,255,255,.035); }
.nav-item.active {
  color: #ecfff5;
  border-color: rgba(75,255,157,.16);
  background: linear-gradient(90deg, rgba(75,255,157,.13), rgba(75,255,157,.025));
  box-shadow: inset 2px 0 var(--green), 0 8px 30px rgba(0,0,0,.12);
}
.live-pill { color: #7d958a; }
.live-pill i { background: var(--green); box-shadow: 0 0 12px rgba(75,255,157,.8); }
.user-chip { border-color: var(--line); }
.avatar { background: rgba(75,255,157,.11); color: var(--green); }

main { padding: 0 34px 50px; }
.topbar { min-height: 112px; border-bottom: 1px solid transparent; }
.topbar h1, .panel h2, .import-panel > h2, .login-card h2 {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 670;
  letter-spacing: -.035em;
}
.topbar h1 { font-size: 30px; }
.eyebrow { color: #6f857c; font-size: 11px; }
.freshness small { color: #667a72; }
.freshness strong { color: #dce8e3; }
.pulse { background: var(--green); box-shadow: 0 0 0 5px rgba(75,255,157,.08), 0 0 20px rgba(75,255,157,.45); }
select, .search {
  min-height: 42px;
  border-color: var(--line);
  border-radius: 10px;
  color: #e7f0ec;
  background: rgba(16, 23, 26, .92);
  outline: none;
}
select:focus, .search:focus { border-color: rgba(75,255,157,.5); box-shadow: 0 0 0 3px rgba(75,255,157,.08); }

.metric-grid { gap: 12px; }
.metric-card, .panel {
  position: relative;
  border-color: var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(20, 28, 31, .96), rgba(13, 19, 22, .94));
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.025);
}
.metric-card { min-height: 154px; padding: 22px; }
.metric-card::after, .panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255,255,255,.025), transparent 28%);
}
.metric-card > *, .panel > * { position: relative; z-index: 1; }
.metric-card.featured {
  border-color: rgba(75,255,157,.24);
  background: radial-gradient(circle at 90% 15%, rgba(75,255,157,.15), transparent 38%), linear-gradient(145deg, #10241c, #0c1713);
  box-shadow: 0 18px 55px rgba(0,0,0,.32), inset 0 1px rgba(75,255,157,.09);
}
.metric-card p { color: #72867d; font-size: 11px; }
.metric-card.featured p, .metric-card.featured > span { color: #7fa391; }
.metric-card strong { color: #f5faf8; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 32px; letter-spacing: -.05em; }
.metric-card strong small { color: #70827a; font-family: inherit; }
.metric-card > span { color: #71837b; font-size: 12px; }
.metric-icon { border: 1px solid rgba(75,255,157,.15); background: rgba(75,255,157,.08); }
.metric-icon.coral { border-color: rgba(255,114,92,.15); background: rgba(255,114,92,.08); }
.metric-icon.gold { border-color: rgba(246,196,83,.15); background: rgba(246,196,83,.08); color: var(--gold); }
.metric-icon.blue { border-color: rgba(91,188,255,.15); background: rgba(91,188,255,.08); }
.dashboard-grid, .fleet-panel { margin-top: 12px; }
.panel { padding: 22px; overflow: hidden; }
.panel h2 { color: #eff6f3; }
.legend, .muted { color: var(--muted); }
.chart-label { fill: #6e8179; }
.count-badge { background: rgba(255,114,92,.1); color: #ff8a77; }
.alert { background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.035); }
.alert small { color: #7d9088; }
.empty { color: #72857c; }
.text-button { color: var(--green); }

th { color: #6f8179; border-color: var(--line); }
td { color: #cad7d1; border-color: rgba(184,212,200,.08); }
td strong { color: #edf5f1; }
td small { color: #73877e; }
.status.online { background: rgba(75,255,157,.1); color: #61f7a7; }
.status.offline { background: rgba(255,255,255,.06); color: #9aa7a2; }
.status.error { background: rgba(255,114,92,.1); color: #ff8b78; }
.location-card .route-num { color: #34453f; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.location-stats { border-color: var(--line); }
.location-stats small { color: #6e8179; }

.drop-zone {
  border-color: rgba(75,255,157,.22);
  background: rgba(75,255,157,.025);
}
.drop-zone:hover, .drop-zone.dragging { border-color: rgba(75,255,157,.6); background: rgba(75,255,157,.06); }
.upload-icon { background: rgba(75,255,157,.1); color: var(--green); }
.import-row { border-color: var(--line); }

.collections-layout { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(440px, 1.2fr); gap: 12px; }
.closeout-panel h2 { margin-bottom: 8px; font-size: 28px; }
.form-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label, .report-controls label { position: relative; display: grid; gap: 7px; color: #8fa098; font-size: 12px; font-weight: 750; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea, .email-strip input {
  width: 100%; min-height: 44px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: #edf7f2; background: #0c1214;
}
.form-grid textarea { min-height: 92px; resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus, .email-strip input:focus { border-color: rgba(75,255,157,.5); box-shadow: 0 0 0 3px rgba(75,255,157,.08); }
.input-suffix { position: absolute; right: 13px; bottom: 14px; color: #73857d; }
.form-status { min-height: 20px; margin: 4px 0 0; color: var(--green); font-size: 13px; }
.form-status.error { color: var(--coral); }
.collection-ledger { margin-top: 12px; max-height: 590px; overflow: auto; }
.ledger-entry { padding: 18px 0; border-bottom: 1px solid var(--line); }
.ledger-entry > div:first-child { display: grid; }
.ledger-entry small { color: #778a81; font-size: 11px; }
.ledger-entry p { margin: 12px 0 0; color: #81938b; font-size: 12px; }
.ledger-values { margin-top: 15px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ledger-values span { padding: 10px; display: grid; gap: 4px; border: 1px solid rgba(255,255,255,.05); border-radius: 9px; background: rgba(255,255,255,.02); }
.ledger-values strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }

.report-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.report-controls { display: flex; align-items: end; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.report-controls select { min-width: 145px; }
.action-button { min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; color: #dce9e3; background: rgba(255,255,255,.03); font-weight: 750; }
.action-button:hover { border-color: rgba(75,255,157,.35); color: var(--green); }
.report-sheet { margin-top: 12px; padding: 34px; border: 1px solid var(--line); border-radius: 16px; color: #16231e; background: #f7f9f5; box-shadow: var(--shadow); }
.report-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid #d9dfda; }
.report-heading .eyebrow { color: #458364; }
.report-heading h2 { margin: 0; color: #0c2419; font-size: 30px; }
.report-stamp { display: grid; text-align: right; }
.report-stamp small, .report-sheet th { color: #718078; }
.report-stamp strong { margin-top: 5px; font-size: 13px; }
.report-metrics { margin: 25px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid #d9dfda; border-radius: 12px; overflow: hidden; background: #d9dfda; }
.report-metrics div { padding: 17px; display: grid; gap: 7px; background: white; }
.report-metrics span { color: #718078; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.report-metrics strong { color: #102c20; font: 700 24px ui-monospace, SFMono-Regular, Menlo, monospace; }
.report-sheet table { color: #24372f; }
.report-sheet td { color: #34483f; border-color: #e2e7e3; }
.report-sheet td strong { color: #12271e; }
.report-sheet .status.online { color: #087d46; background: #dcf8e8; }
.report-sheet .status.offline { color: #67675f; background: #eaece8; }
.report-sheet .status.error { color: #b53e2c; background: #ffebe6; }
.report-subhead { margin-top: 32px; border-top: 1px solid #d9dfda; padding-top: 24px; }
.report-subhead h3 { margin: 0; font-size: 17px; }
.email-strip { margin-top: 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px; }
.email-strip > div { display: grid; gap: 4px; }
.email-strip small { color: var(--muted); }
.email-strip form { display: flex; gap: 8px; }
.email-strip input { min-width: 270px; }
.email-strip .primary-button { width: auto; margin: 0; gap: 30px; white-space: nowrap; }

@media (max-width: 1050px) { .collections-layout { grid-template-columns: 1fr; }.report-toolbar { align-items: start; flex-direction: column; }.report-controls { justify-content: flex-start; } }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; }.form-grid label { grid-column: 1; }.report-sheet { padding: 20px; }.report-metrics { grid-template-columns: 1fr 1fr; }.email-strip { grid-template-columns: 1fr; }.email-strip form { flex-direction: column; }.email-strip input { min-width: 0; }.report-controls { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }.report-controls label, .report-controls select, .report-controls button { width: 100%; } }

@media print {
  body { background: white !important; }
  body::before, .sidebar, .topbar, .view:not(#reportsView), .report-toolbar, .email-strip { display: none !important; }
  .app-shell { display: block; }
  main { padding: 0; }
  #reportsView { display: block !important; }
  .report-sheet { margin: 0; padding: 18mm; border: 0; box-shadow: none; }
}

.login-shell { background: var(--forest); }
.login-art {
  background: radial-gradient(circle at 24% 70%, rgba(75,255,157,.16), transparent 32%), linear-gradient(145deg, #060a0c, #0a1512);
}
.login-copy h1 { font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 630; letter-spacing: -.065em; }
.login-copy h1 span { color: var(--green); font-style: normal; }
.login-panel { border-left: 1px solid var(--line); background: #0d1215; }
.login-card input { color: #ecf4f1; border-color: var(--line); background: #12191c; }
.login-card input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(75,255,157,.08); }
.primary-button { color: #06100b; background: var(--green); }
.primary-button:hover { background: #75ffb4; }
.demo-note { color: #657770; }
.form-error { color: #ff8a77; }

@media (max-width: 760px) {
  .login-shell, .login-panel { background: #0d1215; }
  .mobile-brand .brand-mark { border-color: rgba(75,255,157,.3); }
  .sidebar { background: rgba(5,9,11,.98); }
  main { background: transparent; }
}
