:root {
  color-scheme: light;
  --ink: #1e3029;
  --muted: #718078;
  --green: #153c2d;
  --green-mid: #2e6348;
  --lime: #c2d676;
  --paper: #f5f4ee;
  --line: #e5e6dc;
  --white: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 14px; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.app-shell { width: min(1440px, 100%); margin: 0 auto; padding: 0 5.2%; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 14px Manrope, sans-serif; letter-spacing: .09em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: block; width: 60px; height: 40px; flex: 0 0 auto; object-fit: contain; }
.brand-light { color: #748278; font-weight: 600; }
.local-badge { color: #77857c; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #7a9d61; box-shadow: 0 0 0 3px #e2e9d6; }
.hero { min-height: 310px; overflow: hidden; position: relative; display: flex; align-items: center; padding: 43px 6%; background: var(--green); color: var(--white); }
.hero-copy { position: relative; z-index: 1; width: 61%; }
.eyebrow { display: block; color: var(--lime); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.eyebrow > span { display: inline-block; width: 17px; height: 1px; margin: 0 8px 3px 0; background: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 14px 0 10px; font: 700 clamp(35px, 4.3vw, 52px)/1.05 Manrope, sans-serif; letter-spacing: -.055em; }
h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p { max-width: 455px; margin-bottom: 22px; color: #c3d0c6; font-size: 13px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 15px; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 3px; cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #a6bd61; outline-offset: 2px; }
.button-light { padding: 0 17px; color: #1b3d2d; background: var(--lime); }
.button-light:hover { background: #d1e38b; }
.button-light > span { font-size: 18px; line-height: 1; }
.refresh-note { color: #a8bdb0; font-size: 10px; }
.hero-art { position: absolute; inset: 0 0 0 56%; overflow: hidden; background: linear-gradient(155deg, #2a5c43, #163e30 65%); }
.sun { position: absolute; top: 37px; right: 27%; width: 68px; height: 68px; border-radius: 50%; background: #d6de99; opacity: .86; }
.ridge { position: absolute; bottom: -53px; width: 125%; height: 192px; border-radius: 48% 52% 0 0; transform: rotate(-10deg); }
.ridge-back { right: -10%; bottom: -37px; background: #3b7354; }
.ridge-front { left: -17%; bottom: -102px; background: #214b38; transform: rotate(11deg); }
.hero-logo { position: absolute; right: 14%; bottom: 31px; z-index: 1; width: clamp(175px, 21vw, 250px); height: auto; opacity: .9; filter: brightness(0) invert(1) drop-shadow(0 8px 13px #10271b44); }
.art-caption { position: absolute; right: 7%; bottom: 17px; z-index: 2; color: #a4c5a7; font-size: 8px; letter-spacing: .23em; }
.status-strip { min-height: 81px; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; align-items: center; margin: 17px 0 39px; padding: 0 22px; background: var(--white); border: 1px solid #ebebe5; }
.status-primary { display: flex; align-items: center; gap: 12px; }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #c4aa5c; box-shadow: 0 0 0 4px #f4efdf; }
.status-dot.good { background: #6d995e; box-shadow: 0 0 0 4px #e8efe2; }
.status-dot.bad { background: #bd705b; box-shadow: 0 0 0 4px #f6e8e3; }
.status-label, .status-stat > span { display: block; margin-bottom: 5px; color: #89948c; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.status-primary strong, .status-stat strong { font: 700 12px Manrope, sans-serif; }
.status-stat { min-height: 37px; padding-left: 23px; border-left: 1px solid var(--line); }
.status-stat strong small { color: #87918a; font: 500 10px "DM Sans", sans-serif; }
.alert-banner, .demo-banner { margin: -20px 0 28px; padding: 12px 16px; border: 1px solid #e7c9b9; background: #fcf0e9; color: #68402f; font-size: 12px; line-height: 1.5; }
.demo-banner { border-color: #e2d49e; background: #f7f1d9; color: #62552d; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 295px; gap: 29px; align-items: start; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 19px; }
.eyebrow-dark { color: #748177; }
h2 { margin: 7px 0 0; font: 700 24px Manrope, sans-serif; letter-spacing: -.045em; }
.count-pill { display: inline-grid; place-items: center; width: 25px; height: 25px; margin-left: 5px; border-radius: 50%; color: #557341; background: #e6ecd7; font: 700 11px "DM Sans", sans-serif; vertical-align: 3px; letter-spacing: 0; }
.source-link { color: #607c55; font-size: 11px; font-weight: 700; text-decoration: none; }
.source-link:hover { text-decoration: underline; }
.table-tools { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; }
.search-box { display: flex; align-items: center; gap: 8px; width: min(360px, 100%); height: 38px; padding: 0 10px; border: 1px solid var(--line); background: var(--white); color: #7d8980; }
.search-box > span { font-size: 21px; transform: rotate(-20deg); }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 11px; }
.toggle-filter { display: flex; align-items: center; gap: 8px; color: #66736a; font-size: 11px; cursor: pointer; white-space: nowrap; }
.toggle-filter input { position: absolute; opacity: 0; }
.toggle-track { width: 28px; height: 16px; position: relative; border-radius: 20px; background: #d8ddd5; transition: background .15s; }
.toggle-track::after { position: absolute; content: ""; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: white; transition: transform .15s; }
.toggle-filter input:checked + .toggle-track { background: var(--green-mid); }
.toggle-filter input:checked + .toggle-track::after { transform: translateX(12px); }
.toggle-filter input:focus-visible + .toggle-track { outline: 3px solid #a6bd61; outline-offset: 2px; }
.table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead { background: #f7f7f2; }
th { padding: 12px 10px; border-bottom: 1px solid var(--line); color: #7c8980; font-size: 8px; font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
td { padding: 14px 10px; border-bottom: 1px solid #f0f0eb; color: #34473c; font-size: 10px; line-height: 1.5; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcf7; }
td:nth-child(1) { min-width: 58px; color: #738075; }
td:nth-child(2) { min-width: 115px; font-weight: 700; }
td:nth-child(3) { min-width: 72px; }
td:nth-child(4) { min-width: 140px; color: #718078; }
td:nth-child(5) { min-width: 75px; }
.availability { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border-radius: 2px; color: #3f6838; background: #edf3e4; font-weight: 700; white-space: nowrap; }
.availability.low { color: #866c31; background: #f7f1dd; }
.availability.none { color: #747a74; background: #f0f0ec; }
.watch-button { width: 28px; height: 28px; border: 1px solid transparent; border-radius: 3px; color: #a3ada5; background: transparent; cursor: pointer; font-size: 17px; }
.watch-button:hover { color: #557b4a; background: #eff4e9; }
.watch-button.active { color: #416c3e; background: #edf3e4; }
.watch-button:disabled { opacity: .5; cursor: wait; }
.empty-state { padding: 36px 18px; color: #849088; text-align: center; }
.table-footnote { display: flex; gap: 8px; margin-top: 11px; color: #818b83; font-size: 10px; line-height: 1.5; }
.footnote-mark { display: inline-grid; place-items: center; width: 15px; height: 15px; flex: 0 0 auto; border: 1px solid #aab3a8; border-radius: 50%; font: 700 9px Georgia, serif; }
.side-column { display: grid; gap: 15px; }
.side-card { padding: 20px 19px; border: 1px solid var(--line); background: white; }
.watch-card { background: #eff1e8; border-color: #e8e9df; }
.card-icon { float: right; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #557149; background: #e0e7d1; font-size: 15px; }
.side-card h3 { margin: 10px 0 7px; font: 700 17px/1.2 Manrope, sans-serif; letter-spacing: -.035em; }
.side-card p { margin-bottom: 16px; color: #758177; font-size: 10px; line-height: 1.6; }
.watch-summary { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #dfe3d6; color: #718076; font-size: 10px; }
.watch-summary-count { color: #476d40; font: 700 23px Manrope, sans-serif; }
.text-button { padding: 0; border: 0; color: #537648; background: none; cursor: pointer; font-size: 10px; font-weight: 700; }
.text-button:hover { text-decoration: underline; }
.history-panel { max-height: 210px; overflow-y: auto; margin-top: 11px; padding-top: 10px; border-top: 1px solid #dfe3d6; }
.history-item { padding: 7px 0; border-bottom: 1px solid #e2e5dd; color: #718076; font-size: 10px; line-height: 1.5; }
.history-item strong { display: block; color: #354c3c; }
.history-empty { color: #89938b; font-size: 10px; }
.notify-card { padding: 19px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; }
.optional { color: #95a097; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.notify-card h3 { margin-top: 11px; font-size: 16px; }
.notify-card p { margin-bottom: 14px; }
.field-label { display: block; margin: 11px 0 5px; color: #5e6f63; font-size: 10px; font-weight: 700; }
.notify-card select, .notify-card input[type="email"], .notify-card input[type="tel"] { width: 100%; height: 36px; padding: 0 9px; border: 1px solid #e0e3dc; border-radius: 2px; color: #31453a; background: white; font-size: 11px; }
.notify-card input[type="time"] { width: 100%; height: 36px; padding: 0 9px; border: 1px solid #e0e3dc; border-radius: 2px; color: #31453a; background: white; font-size: 11px; }
.heartbeat-check { margin: 14px 0 3px; }
.test-email-button { display: block; margin-top: 10px; }
.test-email-button:disabled { opacity: .5; cursor: wait; }
.season-card input[type="date"], .season-card input[type="text"] { width: 100%; height: 36px; padding: 0 9px; border: 1px solid #e0e3dc; border-radius: 2px; color: #31453a; background: white; font-size: 11px; }
.monitor-toggle { display: flex; align-items: center; gap: 9px; margin: 13px 0 15px; color: #465b4a; font-size: 11px; font-weight: 700; cursor: pointer; }
.monitor-toggle input { position: absolute; opacity: 0; }
.monitor-toggle input:checked + .toggle-track { background: var(--green-mid); }
.monitor-toggle input:checked + .toggle-track::after { transform: translateX(12px); }
.monitor-toggle input:focus-visible + .toggle-track { outline: 3px solid #a6bd61; outline-offset: 2px; }
.date-help { margin: 11px 0 0 !important; color: #8a9289 !important; font-size: 9px !important; line-height: 1.55 !important; }
.monitoring-guidance { padding: 9px; border-left: 2px solid #92a86d; background: #f6f7f1; color: #627268 !important; }
.consent-check { display: flex; align-items: flex-start; gap: 7px; margin: 11px 0; color: #78847b; font-size: 9px; line-height: 1.45; }
.consent-check input { margin: 1px 0 0; accent-color: #466b42; }
.button-dark { width: 100%; margin-top: 14px; color: white; background: var(--green); }
.button-dark:hover { background: #23553d; }
.form-feedback { min-height: 15px; margin-top: 8px; color: #547847; font-size: 10px; line-height: 1.4; }
.form-feedback.error { color: #a34e39; }
.limitations { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 36px; padding: 16px 17px; border: 1px solid #e5e3d6; background: #f0efe6; color: #737e74; font-size: 10px; line-height: 1.6; }
.limitations strong { color: #455d4b; }
.limits-icon { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 auto; border: 1px solid #b5bd9f; border-radius: 50%; color: #6d8057; font: 700 12px Georgia, serif; }
footer { display: flex; justify-content: space-between; padding: 19px 0 24px; border-top: 1px solid #e4e5dc; color: #879188; font-size: 8px; letter-spacing: .06em; }
.footer-separator { padding: 0 7px; color: #b7bcb4; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.login-dialog { width: min(390px, calc(100% - 32px)); padding: 24px; border: 1px solid var(--line); color: var(--ink); background: white; box-shadow: 0 20px 70px #10271b33; }
.login-dialog::backdrop { background: #10271bb3; }
.login-dialog h2 { margin: 10px 0; font-size: 22px; }
.login-dialog p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.login-dialog input { width: 100%; height: 38px; border: 1px solid var(--line); }

@media (max-width: 960px) {
  .app-shell { padding: 0 4%; }
  .workspace { grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; }
  .status-strip { padding: 0 14px; }
  .status-stat { padding-left: 13px; }
  .hero { padding-left: 5%; }
}
@media (max-width: 720px) {
  .app-shell { padding: 0 18px; }
  .topbar { height: 64px; }
  .hero { min-height: 330px; padding: 36px 7%; align-items: flex-start; }
  .hero-copy { width: 100%; }
  .hero-copy > p { max-width: 390px; }
  .hero-art { inset: 0 0 0 46%; opacity: .54; }
  .hero-logo { right: 5%; bottom: 29px; width: 174px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
  .status-strip { grid-template-columns: 1fr 1fr; row-gap: 17px; padding: 16px; margin-bottom: 29px; }
  .status-stat:nth-child(2) { border-left: 0; }
  .status-stat { padding-left: 12px; }
  .status-primary { grid-column: span 2; }
  .workspace { grid-template-columns: 1fr; }
  .side-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .app-shell { padding: 0 13px; }
  .brand { gap: 7px; font-size: 12px; }
  .brand-mark { width: 51px; height: 34px; }
  .local-badge { font-size: 7px; letter-spacing: .1em; }
  .hero { min-height: 325px; padding: 32px 21px; }
  h1 { font-size: 40px; }
  .hero-art { left: 33%; opacity: .47; }
  .hero-logo { right: 2%; bottom: 21px; width: 144px; }
  .refresh-note { max-width: 210px; }
  .status-strip { padding: 14px 10px; }
  .status-stat { padding-left: 8px; }
  .status-stat strong { font-size: 10px; }
  .section-heading { align-items: flex-start; gap: 10px; }
  h2 { font-size: 21px; }
  .source-link { margin-top: 22px; white-space: nowrap; }
  .table-tools { align-items: flex-start; flex-direction: column; }
  .search-box { width: 100%; }
  .table-wrap table { min-width: 660px; }
  .side-column { grid-template-columns: 1fr; }
  .side-card { padding: 19px; }
  footer { gap: 10px; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
