@import url('./theme.css');
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, 'Segoe UI', sans-serif; font-size: 14px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
a { color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.layout { display: flex; min-height: 100vh; }
.sidebar { width: 228px; background: #101915; border-right: 1px solid var(--border); padding: 32px 20px 20px; position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; z-index: 5; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 21px; font-weight: 750; text-decoration: none; letter-spacing: .06em; padding-left: 6px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-weight: 800; color: #153719; background: var(--accent); letter-spacing: -.08em; }
.brand small { display: block; font-size: 8px; color: #8ca397; letter-spacing: .19em; margin-top: 1px; }
.workspace-label { color: #617569; font-size: 10px; letter-spacing: .16em; margin: 52px 12px 13px; }
.nav { display: grid; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 14px; background: transparent; border: 1px solid transparent; border-radius: 9px; color: #9aaca0; width: 100%; text-align: left; padding: 13px; }
.nav-item span { font-size: 22px; width: 22px; line-height: 1; }
.nav-item:hover { background: #1b2821; color: var(--text); }
.nav-item.active { color: var(--accent); background: #203427; border-color: #324f37; }
.sidebar-note { margin-top: auto; padding: 25px 4px; display: flex; align-items: flex-start; gap: 10px; font-size: 11px; color: #c5d4ca; }
.small-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--accent); margin-top: 6px; }
.sidebar small { display: block; color: #799084; font-size: 10px; margin-top: 4px; }
.sidebar-footer { padding: 19px 0 0; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; font-size: 12px; }
.avatar { background: #283a2d; color: var(--accent); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
main { margin-left: 228px; width: calc(100% - 228px); min-width: 0; }
.topbar { padding: 20px 36px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.breadcrumb { font-size: 10px; letter-spacing: .1em; color: #73897c; }
.breadcrumb span { margin-left: 14px; color: #b7c8bd; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.page-body { max-width: 1530px; margin: auto; padding: 24px 36px 20px; }
.mode-banner { display: flex; align-items: center; gap: 12px; background: #25271c; border: 1px solid #49432a; border-radius: 10px; padding: 12px 15px; color: #ead79d; }
.mode-banner > span { font-size: 22px; }
.mode-banner strong { font-size: 12px; margin-right: 12px; }
.mode-banner div > span { font-size: 11px; color: #bdb58e; }
.mode-banner .text-button { margin-left: auto; color: #ead79d; flex-shrink: 0; }
.notice { margin-top: 14px; padding: 12px 16px; border: 1px solid #637743; border-radius: 10px; background: #253320; color: #d7edc0; }
.notice.error { border-color: #805342; background: #33241d; color: #fac1a5; }
.page-title { margin: 30px 0 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.eyebrow { color: #7f9789; font-size: 9px; font-weight: 650; letter-spacing: .17em; margin: 0 0 8px; }
h1 { font-size: clamp(23px, 2.5vw, 33px); font-weight: 600; letter-spacing: -.05em; margin: 0 0 7px; }
h2 { font-size: 17px; font-weight: 550; letter-spacing: -.03em; margin: 0; }
.subtitle { font-size: 12px; color: var(--muted); margin: 0; }
.cultivation-bar { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.cultivation-bar > label { color: #74897d; font-size: 11px; }
select { color: var(--text); background: #1a261f; border: 1px solid #344338; padding: 7px 11px; border-radius: 7px; min-width: 0; }
.cultivation-bar select { max-width: 330px; }
.cultivation-date { color: #9bb5a4; font-size: 11px; }
.cultivation-bar .button { margin-left: auto; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 10px 15px; border-radius: 8px; border: 1px solid #3c4c40; font-size: 12px; font-weight: 550; white-space: nowrap; }
.button.secondary { background: #1a261f; color: #c5d7ca; }
.button.secondary:hover { background: #293a2d; }
.button.primary { color: #16351b; background: var(--accent); border-color: var(--accent); }
.button.primary:hover { background: #caffc4; }
.button.small { padding: 7px 12px; font-size: 11px; }
.text-button { border: 0; background: none; color: var(--accent); padding: 5px 0; font-size: 11px; }
.pill { padding: 4px 10px; border-radius: 30px; border: 1px solid #3c4b40; font-size: 10px; white-space: nowrap; }
.pill.muted { color: #a3b4a9; background: #1c2921; }
.pill.success { color: #b7f5b2; background: #233f29; border-color: #3a6141; }
.pill.warning { color: #dfc47c; background: #35311d; border-color: #5b5030; }
.pill.error { color: #e8ab91; background: #35271f; border-color: #624535; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 21px; }
.metric-card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 19px 20px 17px; min-height: 145px; }
.metric-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #9db3a4; }
.metric-symbol { font-size: 19px; color: #789581; }
.metric-value { font-size: 34px; font-weight: 550; letter-spacing: -.055em; margin: 11px 0 9px; line-height: 1; }
.metric-value small { font-size: 12px; color: #9aaa9e; font-weight: 400; margin-left: 5px; letter-spacing: 0; }
.metric-note { font-size: 10px; color: #8b9d90; }
.metric-note.warning { color: #d9bf80; }
.metric-note.success { color: #96c78e; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); gap: 21px; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 23px; min-width: 0; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.tiny-label { font-size: 8px; letter-spacing: .08em; color: #8f9c90; padding: 4px 7px; border: 1px solid #344438; border-radius: 5px; white-space: nowrap; }
.segmented { display: flex; padding: 3px; background: #101a14; border: 1px solid #2e3d31; border-radius: 7px; gap: 2px; }
.segmented button { padding: 5px 8px; font-size: 10px; color: #83978a; border: 0; border-radius: 4px; background: transparent; white-space: nowrap; }
.segmented button[aria-pressed=true] { background: #304335; color: #d6efd9; }
.chart-controls { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.chart-controls label { font-size: 10px; color: #7c9384; }
.chart-controls select { font-size: 11px; max-width: 230px; background: #142219; }
.muted-text { color: #8fa293; font-size: 10px; }
.chart-controls .muted-text { margin-left: auto; text-align: right; }
.chart { min-height: 231px; margin: 8px 0; display: flex; align-items: center; justify-content: center; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart svg text { fill: #879b8c; font-size: 10px; font-family: inherit; }
.chart svg .grid { stroke: #2b3d2f; stroke-dasharray: 3 5; }
.chart-empty { text-align: center; color: #829487; padding: 38px 20px; }
.chart-empty .empty-symbol { font-size: 30px; color: #506855; margin-bottom: 10px; }
.chart-empty strong { display: block; font-size: 13px; font-weight: 500; color: #b6c9bb; }
.chart-empty p { font-size: 11px; margin: 7px 0; max-width: 320px; }
.chart-footnote { margin: 6px 0 0; font-size: 9px; color: #8b9c8f; }
.state-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid #293a2e; font-size: 11px; }
.state-row span:first-child { color: #96a99a; }
.state-row strong { color: #d3e3d6; font-weight: 500; text-align: right; }
.phase-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 18px 0; }
.phase-track span { text-align: center; background: #202f25; border: 1px solid #304634; border-radius: 5px; padding: 7px; font-size: 10px; color: #899b8c; }
.phase-track span.selected { background: #344e31; color: var(--accent); border-color: #577750; }
.fault-box { background: #2b2c1c; padding: 11px 12px; color: #dbc992; font-size: 11px; border: 1px solid #47482a; border-radius: 7px; }
.fault-box code { display: block; font-size: 9px; color: #aeaa82; margin-top: 5px; overflow-wrap: anywhere; }
.controls-later { display: flex; align-items: center; gap: 11px; margin-top: 18px; padding-top: 16px; font-size: 11px; color: #94a59a; }
.controls-later > span { font-size: 23px; color: #677f6f; }
.controls-later small { display: block; font-size: 9px; color: #809587; margin-top: 3px; }
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; margin-top: 21px; }
.schedule-labels { display: flex; justify-content: space-between; font-size: 11px; margin: 24px 0 9px; }
.schedule-strip { width: 100%; height: 13px; border-radius: 4px; display: block; }
.schedule-strip .night { fill: #28372d; }
.schedule-strip .watering { fill: #95b878; }
.schedule-strip .cutoff { fill: #c5ae6c; }
.schedule-caption { display: flex; align-items: center; gap: 15px; font-size: 9px; color: #899e8d; margin-top: 12px; flex-wrap: wrap; }
.legend { display: inline-block; width: 6px; height: 6px; border-radius: 2px; margin-right: 5px; }
.legend.water { background: #95b878; }.legend.cut { background: #c5ae6c; }.legend.night { background: #62746a; }
.schedule-note { color: #90a495; font-size: 10px; margin: 19px 0 0; }
.event-item { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid #28382c; }
.event-item:first-child { border-top: 0; padding-top: 0; }
.event-symbol { background: #283d2a; border-radius: 6px; height: 27px; width: 27px; display: grid; place-items: center; color: #b6d59d; flex-shrink: 0; }
.event-body { min-width: 0; }
.event-body strong { display: block; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.event-body p { margin: 3px 0 0; font-size: 10px; color: #8a9f8e; overflow-wrap: anywhere; }
.event-time { margin-left: auto; font-size: 9px; color: #88a08e; flex-shrink: 0; }
.page-footer { display: flex; justify-content: space-between; gap: 15px; margin: 26px 0 0; padding-top: 15px; border-top: 1px solid #243629; color: #7b9282; font-size: 9px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { font-weight: 500; color: #8fa596; font-size: 10px; padding: 12px 10px; }
td { padding: 15px 10px; border-top: 1px solid #2c3f30; color: #c3d5c7; }
td:last-child { white-space: nowrap; }
.summary-row { display: flex; gap: 32px; padding: 12px 0 20px; flex-wrap: wrap; }
.summary-row strong { display: block; font-size: 23px; font-weight: 500; }.summary-row span { font-size: 10px; color: #8fa293; }
.filter-label { color: #8fa596; font-size: 11px; display: flex; align-items: center; gap: 9px; }
.panel-footnote { font-size: 11px; color: #8b9f90; margin-top: 18px; }
.runoff-panel { margin: 0 0 21px; }
.retention-panel { margin-top: 20px; }
.record-row { display: flex; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid #2c3f30; }
.record-row:first-child { border-top: 0; }.record-row strong { display: block; font-weight: 500; font-size: 14px; }.record-row p { color: #8ea191; font-size: 11px; margin: 5px 0 0; }.record-row .record-actions { display: flex; gap: 10px; margin-left: auto; }
.connection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.connection-grid .button { margin: 18px 5px 0 0; }.retention-panel p { color: #99b09f; font-size: 12px; max-width: 780px; }
.empty-message { color: #93a596; font-size: 12px; padding: 24px 0; text-align: center; }
dialog { color: var(--text); background: #1a291e; border: 1px solid #49604c; border-radius: 16px; width: min(480px, calc(100% - 28px)); padding: 27px; max-height: 90vh; overflow: auto; }
dialog::backdrop { background: #070f0cc9; backdrop-filter: blur(4px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }.dialog-heading h2 { font-size: 21px; }
.connection-project-settings { margin-top: 17px; padding: 12px; border: 1px solid #3a503d; border-radius: 7px; }
.connection-project-settings summary { cursor: pointer; color: #a6b5a7; font-size: 12px; }
.icon-button { border: 0; background: none; color: #aabbaa; font-size: 24px; padding: 0 4px; }
dialog p { color: #a6b5a7; font-size: 12px; }
dialog label { display: block; color: #becdc0; font-size: 12px; margin: 17px 0; }
input, textarea { display: block; margin-top: 7px; width: 100%; color: var(--text); background: #111f16; border: 1px solid #3a503d; border-radius: 7px; padding: 11px 12px; }
textarea { resize: vertical; min-height: 80px; }input::placeholder, textarea::placeholder { color: #68806e; }
.form-note { font-size: 10px; color: #98b19c; }.form-error { color: #edb18b; font-size: 12px; min-height: 0; overflow-wrap: anywhere; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 20; background: #b7f5b2; color: #162719; padding: 12px; }.skip-link:focus { top: 10px; }
@media (min-width: 1600px) { .page-body { padding-top: 34px; }.metric-card { min-height: 165px; }.chart { min-height: 280px; }.page-title { margin-top: 38px; margin-bottom: 32px; } }
@media (max-width: 1150px) { .sidebar { width: 190px; padding-inline: 14px; }main { margin-left: 190px; width: calc(100% - 190px); }.page-body, .topbar { padding-inline: 23px; }.overview-grid { grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); }.panel { padding: 18px; }.metric-card { padding: 17px 15px; }.chart-panel .panel-header { flex-wrap: wrap; }.cultivation-date { max-width: 165px; }.brand { font-size: 18px; } }
@media (max-width: 940px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }.overview-grid, .bottom-grid, .connection-grid { grid-template-columns: 1fr; }.cultivation-bar { flex-wrap: wrap; }.cultivation-date { max-width: none; }.sidebar-footer small { max-width: 100px; } }
@media (max-width: 650px) { .layout { flex-direction: column; }.sidebar { position: relative; width: 100%; padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--border); flex-direction: row; flex-wrap: wrap; gap: 15px; }.brand { font-size: 17px; }.brand-mark { width: 32px; height: 32px; border-radius: 9px; }.brand small { font-size: 7px; }.workspace-label, .sidebar-footer, .sidebar-note { display: none; }.nav { display: flex; width: 100%; gap: 5px; }.nav-item { justify-content: center; padding: 8px 6px; font-size: 10px; }.nav-item span { font-size: 17px; width: auto; }.nav-item { gap: 6px; }.topbar { padding: 13px 16px; }.breadcrumb { display: none; }.top-actions { width: 100%; justify-content: space-between; }.page-body { padding: 16px; }main { margin: 0; width: 100%; }.mode-banner { align-items: flex-start; padding: 11px; }.mode-banner strong, .mode-banner div > span { display: block; margin: 0; }.mode-banner div > span { font-size: 10px; margin-top: 3px; }.mode-banner .text-button { font-size: 10px; }.page-title { margin: 23px 0; align-items: flex-start; }.page-title .button { padding: 7px 9px; font-size: 10px; margin-top: 23px; }h1 { font-size: 25px; max-width: 230px; }.subtitle { font-size: 11px; }.cultivation-bar { gap: 9px; }.cultivation-bar select { max-width: calc(100% - 60px); font-size: 11px; }.cultivation-date { width: 100%; }.cultivation-bar .button { margin-left: 0; }.metrics { gap: 11px; }.metric-card { min-height: 132px; padding: 15px; }.metric-value { font-size: 29px; }.metric-top { font-size: 10px; }.metric-note { font-size: 9px; }.panel { padding: 17px; }h2 { font-size: 16px; }.chart-controls { flex-wrap: wrap; }.chart-controls .muted-text { width: 100%; text-align: left; margin-left: 0; }.chart { min-height: 190px; }.chart-footnote { font-size: 9px; }.page-footer { font-size: 8px; }.page-footer span { max-width: 50%; }.tiny-label { font-size: 7px; }.record-row { align-items: flex-start; gap: 10px; flex-wrap: wrap; }.record-row .record-actions { margin-left: 0; width: 100%; }.summary-row { gap: 20px; }.event-time { max-width: 95px; text-align: right; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Summary first, irrigation first among graphs; other sensors stay visible. */
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; margin-bottom: 21px; }
.program-link { margin-top: 18px; width: 100%; }
.environment-panel { margin-bottom: 21px; }
.program-context { margin-bottom: 18px; }
.program-delivery-panel { margin-bottom: 18px; }
.delivery-versions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.delivery-versions span { display: block; color: #92aa9a; font-size: 11px; }
.delivery-versions strong { display: block; font-size: 13px; color: #d0e4d2; margin-top: 4px; }
.delivery-actions { margin-top: 18px; }
.delivery-state { font-size: 13px; padding: 12px 14px; background: #132219; border-left: 3px solid #94ad7f; border-radius: 6px; }
.delivery-state.rejected { border-color: #db927b; }.delivery-state.expired, .delivery-state.received, .delivery-state.pending { border-color: #cdb375; }
.program-send-dialog { width: min(680px, calc(100% - 28px)); }
.delivery-diff-group { margin-block: 12px; padding: 12px; border: 1px solid #38513e; border-radius: 8px; }
.delivery-diff-group summary { min-height: 44px; cursor: pointer; color: #c1d7c4; font-size: 13px; }
.delivery-diff-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; padding-block: 9px; border-top: 1px solid #2e4534; }
.delivery-diff-row strong { font-size: 11px; font-weight: 500; }.delivery-diff-row > span { font-size: 12px; overflow-wrap: anywhere; }
.delivery-diff-row s { color: #8ea895; text-decoration: none; }
@media (max-width: 650px) { .delivery-versions { grid-template-columns: 1fr; gap: 11px; }.program-delivery-panel .panel-header { flex-wrap: wrap; }.delivery-actions .button { width: 100%; white-space: normal; }.delivery-diff-row { grid-template-columns: 1fr; gap: 5px; }.program-context .panel-header { flex-wrap: wrap; } }
.program-context > p { color: #b3c7b7; font-size: 13px; }
.program-esp-status { padding: 13px 15px; background: #132219; border-radius: 8px; font-size: 12px; color: #aec5b4; }
.program-section { margin-bottom: 18px; }
.program-section > summary { cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 44px; }
.program-section > summary strong { font-size: 17px; }
.program-section > summary span { margin-left: auto; color: #9cb29f; font-size: 11px; }
.program-section[open] > summary { margin-bottom: 18px; }
.program-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.program-form-grid label, .week-row label { display: grid; gap: 7px; min-width: 0; color: #c3d4c6; font-size: 12px; }
.program-form-grid input, .program-form-grid select, .week-row select { width: 100%; min-width: 0; min-height: 44px; }
.program-form-grid small { color: #91a995; font-size: 11px; line-height: 1.5; }
.program-help { font-size: 12px; color: #a0b6a5; line-height: 1.6; }
.program-preview { background: #132219; padding: 16px; border-radius: 8px; margin-top: 17px; color: #b4cbb9; font-size: 12px; line-height: 1.7; }
.program-preview strong { display: block; color: #d4e7d7; font-size: 14px; }
.profile-group { border: 1px solid #314634; padding: 18px; margin-top: 18px; border-radius: 9px; min-width: 0; }
.profile-group legend { padding: 0 8px; color: #bad6b7; font-size: 13px; }
.week-row { display: grid; grid-template-columns: 105px minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: center; padding: 15px 0; border-top: 1px solid #2e4232; }
.week-row.current { border-left: 3px solid #aad68e; padding-left: 12px; }
.week-row > div strong { display: block; color: #d0e0d1; font-size: 13px; }
.week-row > div small { font-size: 10px; color: #90aa97; }
.program-save-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.program-save-bar strong { font-size: 13px; color: #bfd9bb; }
.program-save-bar p { margin-bottom: 0; max-width: 550px; }
.program-actions { display: flex; gap: 10px; flex-shrink: 0; }
.program-history { margin-top: 18px; font-size: 12px; color: #adc5b2; }
.program-history li { margin: 8px 0; }
@media (max-width: 940px) { .summary-grid { grid-template-columns: 1fr; } .program-save-bar { flex-direction: column; align-items: stretch; } }
@media (max-width: 650px) {
  .nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; width: 100%; gap: 4px; }
  .nav .nav-item { width: 100%; min-width: 0; flex-direction: column; gap: 5px; padding: 8px 3px; min-height: 48px; font-size: 10px; }
  .button, .text-button, .segmented button { min-height: 44px; }
  .summary-grid { gap: 14px; margin-bottom: 14px; }
  .program-form-grid { grid-template-columns: 1fr; gap: 14px; }
  .program-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .program-actions .button { white-space: normal; padding-inline: 10px; }
  .week-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .week-row > div { grid-column: 1 / -1; }
  .program-section > summary { flex-wrap: wrap; }
  .program-section > summary span { margin-left: 0; }
  .profile-group { padding: 14px; }
  .environment-panel .chart-controls select { width: 100%; }
}
.primary-chart { margin-bottom: 21px; }
.primary-chart > summary { cursor: pointer; list-style: none; min-height: 44px; }
.primary-chart > .segmented { width: fit-content; margin-top: 15px; }
.fold-label { color: #9eb6a4; font-size: 11px; }
.primary-chart .panel-header { flex-wrap: wrap; gap: 16px; }
.chart-range { color: #a9bfae; font-size: 11px; margin: 13px 0 0; }
.chart-controls .pulse-legend { margin-left: auto; font-size: 10px; color: #a0b9a7; }
.legend.unknown { background: #c5b1e6; }
.interactive-plot { position: relative; min-height: 240px; cursor: crosshair; }
.interactive-plot svg { width: 100%; display: block; }
.interactive-plot svg text { fill: #aac2b1; font-size: 10px; }
.plot-empty { position: absolute; top: 42%; left: 19%; right: 10%; text-align: center; pointer-events: none; background: #1a291eee; padding: 14px; border-radius: 9px; }
.plot-empty strong, .plot-empty span { display: block; }
.plot-empty strong { font-size: 14px; color: #c4d6c8; }
.plot-empty span { margin-top: 5px; font-size: 11px; color: #9caf9e; }
.chart-readout { min-height: 18px; font-size: 11px; color: #aacbb2; margin: 7px 0 0; }
.pulse { color: #a7d77c; cursor: pointer; }
.pulse.aborted { color: #e9b47f; }.pulse.unknown, .pulse.incomplete { color: #c5b1e6; }
.pulse line { stroke: currentColor; stroke-width: 1.3; stroke-dasharray: 3 3; }.pulse circle { fill: currentColor; }
.pulse-band { fill: currentColor; opacity: .12; }.pulse:focus { outline: none; }.pulse:focus circle { stroke: #fff; stroke-width: 2; }
.pulse-list { font-size: 11px; color: #a7bea9; }.pulse-list li { margin: 7px 0; }
.environment-panel { align-self: start; }.environment-panel .chart-controls { margin-top: 0; }
.alerts-panel { margin-bottom: 21px; padding-block: 17px; }.alerts-panel h2 { font-size: 17px; }.alerts-clear { margin: 9px 0; color: #adbfaf; font-size: 12px; }
.alerts-panel details { font-size: 11px; color: #a3b9a8; }.alerts-panel summary { cursor: pointer; padding-top: 6px; }
.alert-card { border-left: 3px solid #78927c; background: #132219; border-radius: 5px; padding: 13px; margin-top: 10px; display: flex; justify-content: space-between; align-items: start; gap: 13px; }
.alert-card.warning { border-color: #cfb379; }.alert-card.critical { border-color: #dc8f78; }.alert-card.resolved { border-color: #a4d29c; }
.alert-card strong { font-size: 12px; margin-right: 9px; }.alert-card p { color: #b3c7b7; font-size: 11px; margin: 7px 0; }.alert-card small { font-size: 9px; color: #91a396; }.alert-card .text-button { white-space: nowrap; font-size: 10px; }
.pill.danger { background: #55332d; color: #ffc0a5; }.archive-banner { border-color: #597582; }.archive-preview { margin-top: 12px; }
[hidden] { display: none !important; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 15px; }
.form-grid > label { min-width: 0; }
.form-grid > label select { display: block; width: 100%; min-height: 44px; margin-top: 7px; }
dialog .check-label { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-block: 8px; }
dialog .check-label input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--accent); }
@media (max-width: 650px) { .segmented { flex-wrap: wrap; }.chart-controls .pulse-legend { margin-left: 0; }.primary-chart .chart-controls { gap: 10px; }.plot-empty { left: 19%; right: 6%; padding: 9px; }.plot-empty span { font-size: 10px; }.chart-range { font-size: 10px; }.alert-card { flex-wrap: wrap; }.runoff-panel .panel-header { flex-wrap: wrap; }.form-grid { grid-template-columns: 1fr; }.dialog-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }.dialog-actions .button { white-space: normal; }.runoff-panel { margin-bottom: 14px; } }
