:root {
  --ink: #14231e;
  --muted: #6d7c76;
  --line: #e3e9e5;
  --paper: #f4f6f3;
  --white: #fff;
  --green: #187655;
  --green-dark: #102e25;
  --green-soft: #dff3e9;
  --blue: #ddecf7;
  --amber: #fff0ce;
  --danger: #a43a35;
  --shadow: 0 12px 35px rgba(20, 42, 33, .07);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.app-shell.guest-shell { grid-template-columns: 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 22px; background: #112b23; color: #d7e5de; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; gap: 11px; align-items: center; color: #15372c; }
.sidebar .brand { color: white; margin: 0 10px 52px; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand b { font: 800 20px/1 "Manrope"; letter-spacing: .04em; }
.brand small { margin-top: 4px; color: #76a18f; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.brand-mark { width: 31px; height: 34px; border: 2px solid #64b98f; border-radius: 55% 45% 60% 40% / 60% 50% 50% 40%; transform: rotate(40deg); display: grid; place-items: center; }
.brand-mark span { width: 11px; height: 17px; border-left: 2px solid #64b98f; transform: rotate(-40deg); }
.sidebar nav { display: grid; gap: 6px; }
.sidebar nav a { display: flex; align-items: center; gap: 13px; padding: 12px 14px; color: #a8beb4; font-size: 14px; border-radius: 8px; }
.sidebar nav a:hover, .sidebar nav a.active { color: white; background: rgba(255,255,255,.08); }
.sidebar nav a.active { box-shadow: inset 3px 0 #5ebf8e; }
.nav-icon { width: 20px; text-align: center; font-size: 18px; }
.sidebar-bottom { margin-top: auto; }
.account-card { display: flex; gap: 10px; align-items: center; padding: 15px 8px; border-top: 1px solid rgba(255,255,255,.1); }
.account-card .avatar { width: 34px; height: 34px; border-radius: 50%; background: #315d4d; color: white; display: grid; place-items: center; font-size: 11px; }
.account-card > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.account-card b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-card small { color: #89a499; margin-top: 3px; font-size: 11px; }
.logout-link { padding: 8px; border: 0; color: #809d91; background: none; cursor: pointer; }
.main { min-width: 0; }
.topbar { min-height: 106px; padding: 24px 42px; background: var(--white); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.topbar h1 { margin: 3px 0 0; font: 700 25px/1.2 "Manrope"; }
.eyebrow { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.top-actions select, .filter-bar select { border: 1px solid var(--line); background: white; padding: 10px 34px 10px 12px; border-radius: 7px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); padding: 10px 16px; border-radius: 7px; background: white; font-weight: 700; font-size: 13px; cursor: pointer; }
.button.primary { color: white; background: var(--green); border-color: var(--green); }
.button.danger { color: var(--danger); border-color: #ecc4c1; background: #fffafa; }
.button.wide { width: 100%; justify-content: space-between; padding: 13px 17px; }
.menu-button { display: none; border: 0; background: none; font-size: 22px; }
.content { max-width: 1500px; margin: auto; padding: 28px 42px 50px; }
.content.narrow { max-width: 1250px; }
.status-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; color: white; background: linear-gradient(105deg, #173e31, #1a553e); border-radius: 10px; box-shadow: var(--shadow); }
.status-primary, .controller-health { display: flex; align-items: center; gap: 13px; }
.status-primary > div { display: flex; flex-direction: column; }
.status-primary span, .controller-health small { color: #92b6a6; font-size: 10px; letter-spacing: .1em; }
.status-primary b { margin-top: 3px; font: 700 15px "Manrope"; }
.status-icon { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; }
.status-icon.idle { background: #54b782; }
.pulse { width: 13px; height: 13px; background: #68d99c; border-radius: 50%; box-shadow: 0 0 0 6px rgba(104,217,156,.15); }
.run-time, .next-run { margin-left: 35px; padding-left: 35px; border-left: 1px solid rgba(255,255,255,.18); }
.controller-health { padding-left: 25px; border-left: 1px solid rgba(255,255,255,.16); }
.controller-health > span:last-child { display: flex; flex-direction: column; }
.controller-health b { font-size: 12px; }
.health-dot { width: 8px; height: 8px; border-radius: 50%; background: #d95e57; }
.health-dot.online { background: #68d99c; }
.alert-list { margin-top: 14px; display: grid; gap: 8px; }
.alert { padding: 11px 14px; border-radius: 7px; display: flex; gap: 12px; font-size: 12px; background: white; border-left: 3px solid #dfb74f; }
.alert.critical { border-color: var(--danger); }
.alert span { color: var(--muted); }
.alert time { margin-left: auto; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.metric-card { position: relative; min-height: 139px; padding: 21px; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 4px 16px rgba(20,42,33,.03); display: flex; flex-direction: column; }
.metric-icon { position: absolute; right: 18px; top: 18px; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; }
.metric-icon.blue { background: var(--blue); color: #437da4; }
.metric-icon.mint { background: var(--green-soft); color: var(--green); }
.metric-icon.amber { background: var(--amber); color: #bd862a; }
.metric-icon.green { background: #e2f1db; color: #508b35; }
.metric-label { font-size: 11px; color: var(--muted); }
.metric-card > b { margin-top: 19px; font: 700 27px "Manrope"; }
.metric-card em { font-style: normal; font-size: 12px; color: var(--muted); }
.metric-card small { margin-top: auto; color: #8b9691; font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(530px, 1.55fr) minmax(340px, .85fr); gap: 18px; align-items: start; }
.panel { background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 4px 18px rgba(20,42,33,.035); }
.panel-heading { min-height: 77px; padding: 18px 21px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 3px 0 0; font: 700 18px "Manrope"; }
.panel-heading a { color: var(--green); font-size: 11px; font-weight: 700; }
.quiet { color: var(--muted); font-size: 11px; }
.zone-list { padding: 6px 20px 12px; }
.zone-row { min-height: 65px; display: grid; grid-template-columns: 39px minmax(120px, 1fr) 75px 190px 25px; gap: 11px; align-items: center; border-bottom: 1px solid #edf0ee; }
.zone-row:last-child { border-bottom: 0; }
.zone-row.disabled { opacity: .52; }
.zone-number { width: 31px; height: 31px; border-radius: 50%; background: #eef3f0; color: #567067; display: grid; place-items: center; font: 700 10px "Manrope"; }
.zone-info { display: flex; flex-direction: column; }
.zone-info b { font-size: 13px; }
.zone-info small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.zone-state { color: var(--muted); font-size: 10px; }
.zone-state i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #55ae7d; }
.zone-state i.active { background: var(--danger); }
.quick-controls { display: flex; gap: 6px; align-items: stretch; }
.quick-run { flex: 1; display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.quick-run select { min-width: 0; width: 78px; padding: 7px; border: 0; background: white; font-size: 10px; }
.quick-run button { flex: 1; padding: 7px 10px; border: 0; border-left: 1px solid var(--line); color: var(--green); background: #f7faf8; font-weight: 700; font-size: 10px; cursor: pointer; }
.quick-run button:disabled { cursor: default; }
.quick-stop button { height: 100%; padding: 7px 9px; border: 1px solid #ecc4c1; border-radius: 6px; color: var(--danger); background: #fffafa; font-weight: 700; font-size: 10px; cursor: pointer; }
.quick-stop button:disabled { cursor: default; }
.icon-link { color: #8b9792; font-weight: 700; letter-spacing: 1px; }
.side-stack { display: grid; gap: 18px; }
.usage-bars { padding: 18px 21px 22px; display: grid; gap: 15px; }
.usage-item { display: grid; grid-template-columns: 47px 1fr 68px; gap: 10px; align-items: center; font-size: 10px; }
.usage-item > div { height: 7px; border-radius: 4px; background: #edf1ef; overflow: hidden; }
.usage-item i { display: block; height: 100%; min-width: 2px; background: linear-gradient(90deg, #276e54, #62af87); border-radius: inherit; }
.usage-item b { text-align: right; font-size: 10px; }
.activity-list { padding: 7px 21px 14px; }
.activity-list > div { min-height: 56px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #edf0ee; }
.activity-mark { width: 8px; height: 8px; border-radius: 50%; background: #82928a; }
.activity-mark.completed { background: #4cab77; }
.activity-mark.failed, .activity-mark.stopped { background: #ce615b; }
.activity-mark.skipped { background: #e3ae45; }
.activity-list p { min-width: 0; margin: 0; display: flex; flex: 1; flex-direction: column; }
.activity-list b { font-size: 11px; }
.activity-list small, .activity-list time { color: var(--muted); font-size: 9px; }
.empty-state { padding: 28px; color: var(--muted); text-align: center; font-size: 12px; }
.messages { position: fixed; z-index: 50; top: 18px; right: 20px; display: grid; gap: 8px; }
.message { max-width: 420px; padding: 13px 17px; color: white; background: #275c48; border-radius: 7px; box-shadow: var(--shadow); font-size: 12px; }
.message.warning { background: #9b5b28; }
.intro-row { color: var(--muted); font-size: 13px; }
.program-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.program-card, .empty-card { min-height: 245px; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); }
.program-card:hover { border-color: #a9c7b9; transform: translateY(-2px); transition: .2s; }
.program-top { display: flex; justify-content: space-between; align-items: center; }
.program-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 8px; color: var(--green); background: var(--green-soft); }
.badge { display: inline-flex; padding: 4px 8px; border-radius: 12px; color: #7b8581; background: #edf0ee; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.badge.active, .badge.completed { color: #247353; background: #e2f2e9; }
.badge.failed, .badge.stopped { color: #983c37; background: #fae8e7; }
.badge.skipped { color: #8f6918; background: #fff1cb; }
.program-card h2 { margin: 22px 0 5px; font: 700 18px "Manrope"; }
.program-card p { margin: 0; color: var(--muted); font-size: 11px; }
.program-stats { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.program-stats span { display: flex; flex-direction: column; color: var(--muted); font-size: 9px; }
.program-stats b { margin-bottom: 3px; color: var(--ink); font-size: 11px; }
.program-zones { display: flex; margin-top: 20px; }
.program-zones span { width: 24px; height: 24px; margin-right: -4px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: #dfeae4; font-size: 8px; }
.empty-card { grid-column: 1 / -1; text-align: center; }
.form-page { max-width: 900px; }
.edit-form { padding-bottom: 1px; }
.form-section { padding: 26px 28px 18px; display: flex; gap: 15px; border-bottom: 1px solid var(--line); }
.form-section h2 { margin: 0; font: 700 16px "Manrope"; }
.form-section p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.section-number { color: var(--green); font: 700 11px "Manrope"; }
.form-grid { padding: 24px 28px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .stack-form label { font-size: 11px; font-weight: 700; }
.field input:not([type=checkbox]), .field select, .field textarea, .stack-form input { width: 100%; padding: 11px 12px; border: 1px solid #d8e0db; border-radius: 6px; background: white; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus, .stack-form input:focus { border-color: #5b9b7f; box-shadow: 0 0 0 3px rgba(65,137,105,.1); }
.field textarea { min-height: 85px; resize: vertical; }
.check-field { flex-direction: row; align-items: center; }
.check-field input { width: 17px; height: 17px; accent-color: var(--green); }
.field #id_days { display: flex; flex-wrap: wrap; gap: 8px; }
.field #id_days > div label { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; }
.errorlist { margin: 0; padding: 0; color: var(--danger); list-style: none; font-size: 10px; }
.form-actions { padding: 19px 28px; display: flex; justify-content: flex-end; align-items: center; gap: 20px; border-top: 1px solid var(--line); }
.form-actions > a { color: var(--muted); font-size: 12px; }
.safety-note { margin: 0 28px 25px; padding: 14px; display: flex; flex-direction: column; color: #37634f; background: #edf7f1; border-radius: 7px; font-size: 11px; }
.safety-note span { margin-top: 3px; }
.schedule-zones { margin: 5px 28px 28px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.schedule-zone-head, .schedule-zone-row { display: grid; grid-template-columns: 42px minmax(150px, 1fr) 90px 90px 90px; gap: 10px; align-items: center; padding: 10px 13px; }
.schedule-zone-head { color: var(--muted); background: #f7f9f7; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.schedule-zone-row { border-top: 1px solid var(--line); }
.schedule-zone-row b { font-size: 11px; }
.schedule-zone-row input[type=number] { width: 100%; padding: 7px; border: 1px solid var(--line); border-radius: 5px; }
.schedule-zone-row input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--green); }
.schedule-zone-row > small { grid-column: 2 / -1; color: var(--danger); }
.filter-bar { margin-bottom: 14px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.filter-bar label { color: var(--muted); font-size: 11px; }
.table-panel { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th { color: var(--muted); background: #f8faf8; text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1.08fr .92fr; }
.login-story { position: relative; padding: 48px 8vw 42px; color: white; background: linear-gradient(rgba(13,47,36,.9), rgba(8,40,31,.94)), radial-gradient(circle at 70% 25%, #3c7c62, #102e25); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.login-story:after { content: ""; position: absolute; width: 480px; height: 480px; right: -180px; bottom: -250px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.brand.light { color: white; }
.login-story h1 { margin: 18px 0; font: 800 clamp(42px, 5vw, 67px)/1.02 "Manrope"; letter-spacing: -.045em; }
.login-story p { max-width: 500px; color: #bdd2c9; line-height: 1.7; }
.login-proof { display: flex; gap: 36px; color: #9ab9ab; font-size: 11px; }
.login-proof span { display: flex; flex-direction: column; }
.login-proof b { color: white; font: 700 18px "Manrope"; }
.login-panel { display: grid; place-items: center; padding: 40px; background: #f7f8f6; }
.login-form-wrap { width: 100%; max-width: 390px; }
.login-form-wrap h2 { margin: 0 0 7px; font: 800 30px "Manrope"; }
.login-form-wrap > p { margin: 0 0 30px; color: var(--muted); font-size: 13px; }
.stack-form { display: grid; gap: 9px; }
.stack-form input { margin-bottom: 10px; background: white; }
.label-row { display: flex; justify-content: space-between; align-items: center; }
.label-row span { color: var(--muted); font-size: 9px; }
.secure-note { display: block; margin-top: 25px; color: #929d98; text-align: center; font-size: 9px; }
.mobile-logo { display: none; }
.form-error { margin-bottom: 15px; padding: 11px; color: #8d3430; background: #fae9e8; border-radius: 6px; font-size: 11px; }
.security-panel { max-width: 620px; margin: 30px auto; padding: 32px; text-align: center; }
.security-panel h2 { margin: 8px 0; font: 700 22px "Manrope"; }
.security-panel p { color: var(--muted); font-size: 12px; }
.qr-code { width: 210px; height: 210px; margin: 20px auto; border: 8px solid white; box-shadow: 0 0 0 1px var(--line); }
.security-form { max-width: 320px; margin: auto; text-align: left; }
.security-panel details { margin-top: 22px; color: var(--muted); font-size: 10px; }
.security-panel code { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.signup-page { min-height: 100vh; display: grid; grid-template-columns: .8fr 1.2fr; }
.signup-intro { padding: 55px 7vw; color: white; background: linear-gradient(145deg, #0c3025, #18563f); display: flex; flex-direction: column; justify-content: center; }
.signup-intro .brand { position: absolute; top: 45px; }
.signup-intro h1 { max-width: 520px; margin: 22px 0; font: 800 clamp(38px, 5vw, 64px)/1.04 "Manrope"; letter-spacing: -.04em; }
.signup-intro p { max-width: 480px; color: #bad2c7; line-height: 1.7; }
.signup-intro > a:last-child { margin-top: 25px; color: #79c9a4; font-size: 12px; font-weight: 700; }
.signup-form-panel { padding: 55px 6vw; display: grid; place-items: center; }
.signup-form { width: 100%; max-width: 720px; }
.standalone-message { min-height: 100vh; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.standalone-message h1 { max-width: 650px; margin: 12px 0; font: 800 34px "Manrope"; }
.standalone-message p { margin-bottom: 25px; color: var(--muted); }
.status-icon.warning { color: #8f6918; background: #fff1cb; }
.location-grid, .controller-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.location-card { min-height: 125px; padding: 22px; display: grid; grid-template-columns: 45px 1fr 20px; gap: 15px; align-items: center; }
.location-pin, .controller-glyph { width: 40px; height: 40px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 9px; font-size: 19px; }
.location-card h2, .controller-card h2 { margin: 0 0 5px; font: 700 17px "Manrope"; }
.location-card p, .controller-card p { margin: 0; color: var(--muted); font-size: 11px; }
.location-card small { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; }
.controller-card { min-height: 220px; padding: 24px; }
.controller-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.controller-summary { margin-bottom: 18px; padding: 22px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 25px; }
.controller-summary > div { display: flex; flex-direction: column; justify-content: center; padding-right: 20px; border-right: 1px solid var(--line); }
.controller-summary > div:last-child { border: 0; }
.controller-summary h2, .controller-summary b { margin: 4px 0; font: 700 17px "Manrope"; }
.controller-summary p, .controller-summary small { margin: 0; color: var(--muted); font-size: 10px; }
.detail-zone { grid-template-columns: 39px minmax(120px, 1fr) 90px 1fr 20px; }
.controller-actions-panel { margin-top: 18px; padding: 22px; display: flex; align-items: center; gap: 15px; }
.controller-actions-panel > div { margin-right: auto; }
.controller-actions-panel h2 { margin: 0; font: 700 16px "Manrope"; }
.controller-actions-panel p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.enrollment-card { padding: 28px; }
.enrollment-card > label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; }
.enrollment-card pre { padding: 18px; overflow-x: auto; color: #d7eadf; background: #102e25; border-radius: 7px; font: 11px/1.8 monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.enrollment-actions { margin: 15px 0; display: flex; justify-content: flex-end; gap: 10px; }
.enrollment-card > p { color: var(--muted); font-size: 11px; }
.enrollment-card > a { color: var(--green); font-size: 12px; font-weight: 700; }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -250px; width: 230px; transition: left .2s; }
  .nav-open .sidebar { left: 0; }
  .menu-button { display: block; }
  .topbar { min-height: 85px; padding: 17px 20px; }
  .topbar h1 { font-size: 20px; }
  .content { padding: 20px; }
  .status-strip { align-items: flex-start; }
  .controller-health { display: none; }
  .next-run, .run-time { margin-left: 10px; padding-left: 15px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-card { min-height: 125px; }
  .zone-row { grid-template-columns: 34px 1fr 165px 18px; padding: 10px 0; }
  .zone-state { display: none; }
  .program-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; padding: 20px; }
  .field.full { grid-column: auto; }
  .schedule-zones { overflow-x: auto; }
  .schedule-zone-head, .schedule-zone-row { min-width: 600px; }
  .login-page { grid-template-columns: 1fr; }
  .signup-page { grid-template-columns: 1fr; }
  .signup-intro { min-height: 440px; padding: 100px 30px 45px; }
  .signup-intro .brand { top: 30px; }
  .signup-form-panel { padding: 25px 15px; }
  .location-grid, .controller-grid { grid-template-columns: 1fr; }
  .controller-summary { grid-template-columns: 1fr; }
  .controller-summary > div { padding-bottom: 15px; border-right: 0; border-bottom: 1px solid var(--line); }
  .controller-actions-panel { align-items: stretch; flex-direction: column; }
  .controller-actions-panel > div { margin-right: 0; }
  .login-story { display: none; }
  .login-panel { min-height: 100vh; padding: 28px; }
  .mobile-logo { display: block; margin-bottom: 50px; color: var(--green); font: 800 16px "Manrope"; }
}
@media (max-width: 480px) {
  .metric-grid { grid-template-columns: 1fr; }
  .top-actions select { display: none; }
  .zone-row { grid-template-columns: 34px 1fr 145px 14px; }
  .quick-run select { width: 58px; }
  .quick-stop button { padding-left: 7px; padding-right: 7px; }
}
