:root {
      --bg: #061009;
      --bg-deep: #040906;
      --surface: rgba(14, 27, 18, .78);
      --surface-strong: rgba(18, 34, 22, .92);
      --surface-soft: rgba(255, 255, 255, .035);
      --surface-mid: rgba(255,255,255,.05);
      --border: rgba(255, 255, 255, .08);
      --border-strong: rgba(255, 255, 255, .12);
      --border-green: rgba(112, 207, 132, .22);
      --text: #f4f7f4;
      --muted: #9eaaa2;
      --green: #70cf84;
      --green-2: #9be1aa;
      --green-3: rgba(112,207,132,.18);
      --shadow: 0 28px 80px rgba(0, 0, 0, .38);
      --radius-xl: 28px;
      --radius-lg: 20px;
      --radius-md: 14px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; background:var(--bg); }
    body {
      margin: 0;
      min-height: 100vh;
      color: var(--text);
      background:
        radial-gradient(circle at 18% 4%, rgba(54, 133, 73, .16), transparent 30rem),
        radial-gradient(circle at 82% 20%, rgba(39, 97, 55, .10), transparent 28rem),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
      font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      overflow-x: hidden;
    }

    a { color: inherit; }
    .shell { width: min(1180px, calc(100% - 38px)); margin: 0 auto; }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(16px);
      background: rgba(4, 9, 6, .72);
      border-bottom: 1px solid rgba(255, 255, 255, .055);
    }

    nav {
      min-height: 74px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 0;
      text-decoration: none;
    }
    .brand-icon { width:34px; height:34px; flex:0 0 34px; display:block; transform:translateY(-3.5px); }
    .brand-wordmark { display:inline-flex; gap:0; align-items:center; margin-left:-3px; color:#f2f6f3; font-size:23px; font-weight:650; letter-spacing:-.045em; line-height:1.08; white-space:nowrap; }
    .brand-accent { color:#79d36b; font-weight:500; }
    html[data-theme="light"] .brand-wordmark { color:#142018; }
    html[data-theme="light"] .brand-accent { color:#2f8847; }

    .navlinks {
      display: flex;
      gap: 24px;
      align-items: center;
      color: #b7c1ba;
      font-size: 14px;
    }
    .navlinks a { text-decoration: none; transition: color .18s ease; }
    .navlinks a:hover { color: #fff; }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border: 1px solid var(--border-green);
      border-radius: 999px;
      background: rgba(112, 207, 132, .065);
      color: #c7ebcf;
      font-size: 12px;
      font-weight: 650;
      white-space: nowrap;
    }
    .status::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 5px rgba(112, 207, 132, .08);
    }

    .hero {
      min-height: calc(100vh - 74px);
      display: grid;
      grid-template-columns: 1.02fr .98fr;
      align-items: center;
      gap: 68px;
      padding: 88px 0 84px;
    }

    .eyebrow {
      margin: 0 0 19px;
      color: var(--green-2);
      font-size: 13px;
      font-weight: 720;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    h1 {
      margin: 0;
      max-width: 720px;
      font-size: clamp(48px, 7.2vw, 86px);
      line-height: .98;
      letter-spacing: -.063em;
      font-weight: 780;
    }
    h1 span { color: var(--green); }

    .lead {
      margin: 26px 0 0;
      max-width: 650px;
      color: #aeb9b1;
      font-size: clamp(17px, 2vw, 20px);
      line-height: 1.65;
      letter-spacing: -.016em;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 32px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 18px;
      border-radius: 13px;
      text-decoration: none;
      font-weight: 680;
      font-size: 14px;
      border: 1px solid var(--border);
      transition: transform .18s ease, border-color .18s ease, background .18s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary { color: #071109; background: var(--green); border-color: var(--green); }
    .btn-primary:hover { background: #82d894; }
    .btn-secondary { color: #dbe3dd; background: rgba(255, 255, 255, .035); }
    .btn-secondary:hover { border-color: rgba(255,255,255,.17); }

    .micro { margin: 18px 0 0; color: #718079; font-size: 12px; line-height: 1.55; }

    .preview-wrap {
      position: relative;
      min-height: 650px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .glow {
      position: absolute;
      width: min(470px, 100%);
      aspect-ratio: 1;
      border-radius: 50%;
      filter: blur(78px);
      background: rgba(70, 170, 91, .1);
      pointer-events: none;
    }
    .dashboard {
      position: relative;
      width: 100%;
      max-width: 580px;
      padding: 18px;
      border: 1px solid rgba(255,255,255,.09);
      background: linear-gradient(180deg, rgba(14, 27, 18, .95), rgba(8, 16, 11, .94));
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .dashboard::after {
      content:"";
      position:absolute;
      inset:0;
      pointer-events:none;
      background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 28%);
    }
    .dash-head, .app-head {
      position: relative;
      z-index: 1;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-bottom:14px;
      padding: 2px 3px 6px;
    }
    .dash-title { font-size: 13px; font-weight: 730; color: #dce6df; }
    .live {
      display:flex; align-items:center; gap:6px;
      color:#8f9b93; font-size:11px;
    }
    .live::before { content:""; width:6px; height:6px; background:var(--green); border-radius:50%; }
    .grid { position: relative; z-index: 1; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
    .tile {
      min-height: 120px;
      padding: 16px;
      border: 1px solid rgba(255,255,255,.065);
      background: rgba(255,255,255,.032);
      border-radius: 16px;
    }
    .tile.wide { grid-column: 1 / -1; min-height: 176px; }
    .tile-label {
      color:#849189;
      text-transform:uppercase;
      letter-spacing:.08em;
      font-size:10px;
      font-weight:700;
    }
    .value { margin-top:10px; font-size:31px; font-weight:730; letter-spacing:-.05em; }
    .unit { color:#819087; font-size:13px; font-weight:600; margin-left:4px; }
    .trend { margin-top:9px; color:#94a099; font-size:11px; }
    .bars { display:flex; align-items:flex-end; gap:5px; height:80px; margin-top:18px; }
    .bar { flex:1; min-width:2px; border-radius:4px 4px 1px 1px; background: rgba(112,207,132,.34); }
    .bar:nth-child(3n+1){height:34%}
    .bar:nth-child(3n+2){height:58%}
    .bar:nth-child(3n){height:76%}
    .bar:nth-child(4n){height:52%}
    .bar:nth-child(5n){height:86%}
    .bar:last-child{height:92%; background:var(--green)}

    .toggle-row { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
    .chip {
      display:inline-flex; align-items:center; gap:7px;
      padding:7px 10px; border-radius:999px;
      background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
      color:#92a096; font-size:11px; font-weight:650; cursor:pointer; font-family:inherit; transition:background .18s,border-color .18s,color .18s;
    }
    button.chip { appearance:none; }
    .chip:focus-visible { outline:2px solid var(--green); outline-offset:2px; }
    .chip.muted { opacity:.48; }
    .chip.active { color:#dff5e4; background:rgba(112,207,132,.11); border-color:rgba(112,207,132,.28); }
    .dot { width:8px; height:8px; border-radius:50%; display:inline-block; }
    .d1 { background:#70cf84; }
    .d2 { background:#c0ffd2; }
    .d3 { background:#87b7ff; }
    .d4 { background:#83f0d4; }
    .d5 { background:#c3db7b; }

    .mini-svg { width:100%; height:78px; margin-top:12px; display:block; }
    .mini-svg path { transition:opacity .2s ease; }
    .mini-svg path.is-hidden { opacity:0 !important; }
    .axis-labels { display:flex; justify-content:space-between; margin-top:6px; color:#738078; font-size:10px; }

    .section { padding: 96px 0; border-top: 1px solid rgba(255,255,255,.055); }
    .section-head { max-width: 720px; margin-bottom: 38px; }
    .kicker {
      color: var(--green); font-size: 12px; letter-spacing: .11em; text-transform: uppercase;
      font-weight: 720; margin-bottom: 12px;
    }
    h2 { margin: 0; font-size: clamp(31px, 5vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
    .section-head p { margin: 16px 0 0; color: var(--muted); line-height: 1.68; font-size: 16px; }

    .feature-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:12px; }
    .feature {
      padding: 24px 22px; min-height: 196px; border:1px solid var(--border);
      border-radius:var(--radius-lg); background:var(--surface-soft);
    }
    .icon {
      width:38px; height:38px; display:grid; place-items:center; border-radius:12px;
      color:var(--green); background:rgba(112,207,132,.08); border:1px solid rgba(112,207,132,.12);
      margin-bottom:27px; font-size:17px; font-weight:800;
    }
    .feature h3 { margin:0; font-size:16px; letter-spacing:-.02em; }
    .feature p { margin:9px 0 0; color:#8f9a93; font-size:13px; line-height:1.58; }

    .showcase-wrap {
      border:1px solid var(--border); border-radius:30px; background:rgba(255,255,255,.026);
      padding:18px; box-shadow: var(--shadow);
    }
    .app-shell {
      display:grid; grid-template-columns: 1.35fr .65fr; gap:16px;
      border-radius:24px; background:linear-gradient(180deg, rgba(13,24,17,.96), rgba(8,15,10,.95));
      padding:18px; border:1px solid rgba(255,255,255,.07);
    }
    .window-dots { display:flex; gap:8px; align-items:center; }
    .window-dots span { width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.16); display:block; }
    .app-tabs { display:flex; gap:8px; flex-wrap:wrap; }
    .app-tab {
      padding:8px 12px; border-radius:999px; font-size:11px; font-weight:650;
      background:rgba(255,255,255,.04); color:#96a39a; border:1px solid rgba(255,255,255,.06);
    }
    .app-tab.active { background:rgba(112,207,132,.12); color:#dcf5e2; border-color:rgba(112,207,132,.22); }

    .metric-row { display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; margin-bottom:12px; }
    .metric-card {
      border:1px solid rgba(255,255,255,.06); background:rgba(255,255,255,.035); border-radius:16px;
      padding:14px;
    }
    .metric-card .small { color:#7f8c84; font-size:10px; text-transform:uppercase; letter-spacing:.08em; font-weight:700; }
    .metric-card strong { display:block; font-size:24px; letter-spacing:-.04em; margin-top:8px; }
    .metric-card span { color:#8f9b93; font-size:11px; }

    .chart-card, .side-card {
      border:1px solid rgba(255,255,255,.06); background:rgba(255,255,255,.035); border-radius:20px; padding:16px;
    }
    .chart-card { min-height: 338px; }
    .chart-head, .side-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
    .chart-title, .side-title { font-size:14px; font-weight:720; color:#e4ebe6; }
    .chart-sub, .side-sub { color:#7f8d84; font-size:11px; margin-top:4px; }
    .range-tabs { display:flex; gap:6px; }
    .range-tabs span, .range-tabs button {
      font-size:10px; padding:7px 8px; border-radius:10px; border:1px solid rgba(255,255,255,.07); color:#8f9b93;
      background:rgba(255,255,255,.02); appearance:none;
    }
    .range-tabs .active { color:#dff5e4; border-color:rgba(112,207,132,.25); background:rgba(112,207,132,.08); }
    .legend-row { display:flex; gap:8px; flex-wrap:wrap; margin:14px 0 10px; }
    .legend-pill {
      display:inline-flex; align-items:center; gap:7px; padding:8px 10px; border-radius:999px;
      border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.032); color:#91a096; font-size:11px; font-weight:650;
    }
    .legend-pill.active { background:rgba(112,207,132,.11); color:#dff3e4; border-color:rgba(112,207,132,.24); }
    .legend-pill.muted { opacity:.48; }
    button.legend-pill, button.range-choice { font:inherit; cursor:pointer; }
    button.legend-pill { appearance:none; }
    .legend-pill:focus-visible, .range-choice:focus-visible { outline:2px solid rgba(112,207,132,.75); outline-offset:2px; }
    .series-line { transition: opacity .22s ease; }
    .series-line.is-hidden { opacity:0 !important; }
    .series-area { transition: opacity .22s ease; }
    .series-area.is-hidden { opacity:0 !important; }
    .chart-instruction { margin-top:11px; color:#92a096; font-size:11px; display:flex; align-items:center; gap:8px; }
    .chart-instruction::before { content:"+"; width:18px; height:18px; display:grid; place-items:center; border-radius:6px; color:#bfeac8; background:rgba(112,207,132,.09); border:1px solid rgba(112,207,132,.16); font-weight:800; }
    .live-sim { display:inline-flex; align-items:center; gap:6px; color:#86d595; font-size:10px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
    .live-sim::before { content:""; width:6px; height:6px; border-radius:50%; background:#70cf84; box-shadow:0 0 0 5px rgba(112,207,132,.08); }

    .big-chart { width:100%; height:205px; display:block; margin-top:10px; }
    .chart-footer { display:flex; justify-content:space-between; align-items:center; margin-top:10px; color:#7d8a82; font-size:10px; }
    .chart-annotation { color:#8c9991; font-size:11px; margin-top:10px; }
    .measurement-slider { display:block; width:100%; height:28px; margin:2px 0; padding:0; background:transparent; appearance:none; -webkit-appearance:none; cursor:pointer; touch-action:pan-y; }
    .measurement-slider::-webkit-slider-runnable-track { height:6px; border:1px solid var(--border); border-radius:999px; background:var(--surface-mid); }
    .measurement-slider::-webkit-slider-thumb { width:16px; height:16px; margin-top:-6px; border:2px solid var(--bg); border-radius:50%; appearance:none; -webkit-appearance:none; background:var(--green); box-shadow:0 1px 5px rgba(0,0,0,.25); }
    .measurement-slider::-moz-range-track { height:6px; border:1px solid var(--border); border-radius:999px; background:var(--surface-mid); }
    .measurement-slider::-moz-range-thumb { width:13px; height:13px; border:2px solid var(--bg); border-radius:50%; background:var(--green); box-shadow:0 1px 5px rgba(0,0,0,.25); }
    .measurement-slider:focus-visible { outline:2px solid var(--green); outline-offset:3px; border-radius:8px; }

    .side-stack { display:grid; gap:12px; }
    .target-list { display:grid; gap:10px; margin-top:14px; }
    .target-item {
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      padding:10px 12px; border-radius:14px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.05);
      color:#dbe5de;
    }
    .target-item small { display:block; color:#809087; font-size:10px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:3px; }
    .target-item span { color:#7fd28f; font-size:12px; font-weight:700; white-space:nowrap; }

    .camera-mini {
      margin-top:14px; padding:14px; border-radius:16px; border:1px solid rgba(255,255,255,.06);
      background:linear-gradient(180deg, rgba(12,21,15,.95), rgba(17,27,20,.9)); min-height:130px; position:relative; overflow:hidden;
    }
    .camera-mini::before {
      content:""; position:absolute; inset:auto auto 14px 14px; width:9px; height:9px; border-radius:50%; background:#70cf84;
      box-shadow:0 0 0 6px rgba(112,207,132,.1);
    }
    .camera-mini::after {
      content:"Pflanze 01"; position:absolute; left:14px; top:14px; color:#dce5df; font-size:12px; font-weight:700;
    }
    .camera-mini.has-demo-image{padding:0;min-height:0;}
    .camera-mini.has-demo-image::before,.camera-mini.has-demo-image::after{content:none;}
    .camera-mini img{display:block;width:100%;height:auto;}
    .camera-lines { position:absolute; inset:0; opacity:.35; }

    .small-charts { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px; }
    .small-chart {
      border:1px solid var(--border); background:rgba(255,255,255,.03); border-radius:20px; padding:16px;
    }
    .small-chart h3 { margin:0 0 3px; font-size:14px; }
    .small-chart p { margin:0; color:#8f9a93; font-size:12px; }
    .small-svg { width:100%; height:90px; display:block; margin-top:12px; }

    .about { display:grid; grid-template-columns:.85fr 1.15fr; gap:60px; align-items:start; }
    .about-card {
      padding:28px; border:1px solid var(--border-green);
      background:linear-gradient(180deg, rgba(112,207,132,.07), rgba(112,207,132,.025)); border-radius:var(--radius-xl);
    }
    .about-card strong { display:block; color:#d9f2df; font-size:18px; letter-spacing:-.02em; margin-bottom:10px; }
    .about-card p { margin:0; color:#96a49a; line-height:1.65; font-size:14px; }

    .about-copy p { margin:0 0 17px; color:#a3aea6; font-size:16px; line-height:1.72; }

    .construction {
      margin-top:42px; padding:22px 24px; display:flex; align-items:center; justify-content:space-between; gap:24px;
      border:1px solid var(--border); background:rgba(255,255,255,.028); border-radius:18px;
    }
    .construction strong { display:block; font-size:14px; margin-bottom:5px; }
    .construction span { color:#849087; font-size:13px; }

    footer { border-top:1px solid rgba(255,255,255,.055); padding:30px 0 44px; color:#6f7b73; font-size:12px; }
    .footer-row { display:flex; align-items:center; justify-content:space-between; gap:24px; }
    .footer-brand { display:flex; align-items:center; gap:7px; color:#a5b0a8; font-weight:680; }
    .footer-brand .brand-icon { width:22px; height:22px; flex-basis:22px; transform:translateY(-2px); }
    .footer-brand .brand-wordmark { font-size:16px; margin-left:-2px; }

    @media (max-width: 1100px) {
      .metric-row { grid-template-columns:repeat(2, 1fr); }
      .app-shell { grid-template-columns:1fr; }
      .small-charts { grid-template-columns:1fr; }
    }
    @media (max-width: 980px) {
      .hero { grid-template-columns:minmax(0,1fr); gap:48px; padding-top:64px; }
      .hero > *, .app-shell > * { min-width:0; }
      .preview-wrap { min-height:0; }
      .dashboard { max-width:720px; margin:0 auto; }
      .feature-grid { grid-template-columns:repeat(2,1fr); }
      .about { grid-template-columns:1fr; gap:28px; }
    }
    @media (max-width: 680px) {
      .shell { width:min(100% - 28px, 1180px); }
      nav { min-height:66px; gap:8px 12px; flex-wrap:wrap; padding-block:12px; }
      .brand { flex-shrink:0; }
      .brand-icon { width:34px; height:34px; }
      .navlinks { gap:8px; margin-left:auto; max-width:100%; }
      .navlinks a { display:none; }
      .status { padding:7px 8px; font-size:10px; }
      .hero { min-height:auto; padding:70px 0 66px; }
      h1 { font-size:clamp(45px, 15vw, 64px); }
      .lead { font-size:17px; }
      .chart-head { flex-wrap:wrap; }
      .hero-actions { align-items:stretch; }
      .btn { flex:1; min-width:150px; }
      .dashboard { padding:13px; border-radius:22px; }
      .tile { min-height:105px; padding:14px; }
      .value { font-size:27px; }
      .feature-grid, .metric-row { grid-template-columns:1fr; }
      .section { padding:72px 0; }
      .construction { align-items:flex-start; flex-direction:column; }
      .footer-row { align-items:flex-start; flex-direction:column; }
      .app-tabs { display:none; }
    }



    /* GroWatch 1.174.92 appearance switch, sized for the site navigation */
button.gw-theme-toggle {
  --toggle-width:88px; --toggle-height:38px; --toggle-padding:3px;
  --thumb-width:41px; --thumb-height:32px; --thumb-travel:41px; --icon-size:19px;
  position:relative; isolation:isolate; display:inline-grid; grid-template-columns:1fr 1fr;
  align-items:center; justify-items:center; flex:0 0 var(--toggle-width);
  box-sizing:border-box; width:var(--toggle-width); min-width:var(--toggle-width); max-width:var(--toggle-width);
  height:var(--toggle-height); min-height:var(--toggle-height); margin:0; padding:var(--toggle-padding);
  border:0; border-radius:999px; background:#3e4641; color:#aab2ac;
  box-shadow:none; cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent;
}
button.gw-theme-toggle::before {
  content:""; position:absolute; z-index:-1; top:var(--toggle-padding); left:var(--toggle-padding);
  width:var(--thumb-width); height:var(--thumb-height); border-radius:999px; background:#fafbf9;
  box-shadow:0 1px 3px rgba(0,0,0,.12); transform:translateX(var(--thumb-travel));
  transition:transform 180ms cubic-bezier(.2,.8,.2,1);
}
button.gw-theme-toggle svg {
  display:block; width:var(--icon-size); height:var(--icon-size); margin:0; fill:none;
  stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
  pointer-events:none;
}
button.gw-theme-toggle .theme-moon { color:#414743; fill:currentColor; stroke:none; }
button.gw-theme-toggle .theme-sun circle { fill:currentColor; stroke:none; }
html[data-theme="light"] button.gw-theme-toggle { background:#d9dcda; color:#8a908b; }
html[data-theme="light"] button.gw-theme-toggle::before { transform:translateX(0); }
html[data-theme="light"] button.gw-theme-toggle .theme-sun { color:#424843; }
html[data-theme="light"] button.gw-theme-toggle .theme-moon { color:#8a908b; }
button.gw-theme-toggle:focus-visible { outline:2px solid var(--green,#79d36b); outline-offset:3px; }
@media (max-width:680px) {
  button.gw-theme-toggle {
    --toggle-width:78px; --toggle-height:34px;
    --thumb-width:36px; --thumb-height:28px; --thumb-travel:36px; --icon-size:17px;
  }
}
@media (prefers-reduced-motion:reduce) { button.gw-theme-toggle::before { transition:none; } }

    .mode-menu-wrap { position:relative; z-index:8; }
    .mode-menu-toggle {
      width:38px; height:32px; padding:0; display:flex; align-items:center; justify-content:center; gap:4px;
      border:1px solid rgba(255,255,255,.08); border-radius:10px; background:rgba(255,255,255,.035); cursor:pointer;
    }
    .mode-menu-toggle span { width:4px; height:4px; border-radius:50%; background:#94a299; display:block; }
    .mode-menu-toggle:hover, .mode-menu-toggle[aria-expanded="true"] { border-color:rgba(112,207,132,.30); background:rgba(112,207,132,.08); }
    .mode-menu {
      position:absolute; top:39px; left:0; min-width:230px; padding:7px; border-radius:15px;
      background:rgba(9,18,12,.98); border:1px solid rgba(255,255,255,.10); box-shadow:0 18px 45px rgba(0,0,0,.35);
    }
    .mode-menu[hidden] { display:none; }
    .mode-menu-label { padding:7px 9px 5px; color:#6f7d74; font-size:9px; text-transform:uppercase; letter-spacing:.12em; font-weight:800; }
    .mode-option { width:100%; text-align:left; padding:10px 11px; border:0; border-radius:10px; background:transparent; color:#bcc8c0; cursor:pointer; font:inherit; }
    .mode-option strong { display:block; font-size:12px; color:#e5ece7; }
    .mode-option small { display:block; margin-top:3px; font-size:10px; color:#7f8c84; line-height:1.35; }
    .mode-option:hover { background:rgba(255,255,255,.05); }
    .mode-option.active { background:rgba(112,207,132,.09); }
    .mode-option.active strong { color:#a9e7b6; }

    .dashboard-demo-panel[hidden] { display:none; }
    .app-shell.custom-dashboard-mode { grid-template-columns:1fr; }
    .app-shell.custom-dashboard-mode .side-stack { display:none; }

    .custom-dashboard-intro { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin:2px 0 13px; }
    .custom-dashboard-intro strong { display:block; font-size:14px; }
    .custom-dashboard-intro span { color:#7f8d84; font-size:11px; line-height:1.45; }
    .custom-badge { flex:0 0 auto; padding:7px 10px; border-radius:999px; font-size:10px; font-weight:750; color:#d7f3dd; border:1px solid rgba(112,207,132,.20); background:rgba(112,207,132,.08); }
    .custom-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
    .custom-tile { min-height:120px; padding:15px; border-radius:17px; border:1px solid rgba(255,255,255,.10); position:relative; overflow:hidden; }
    .custom-tile::after { content:""; position:absolute; width:90px; height:90px; border-radius:50%; right:-36px; top:-40px; background:currentColor; opacity:.08; }
    .custom-tile .ct-label { color:rgba(255,255,255,.66); text-transform:uppercase; letter-spacing:.08em; font-size:9px; font-weight:800; }
    .custom-tile strong { display:block; margin-top:12px; font-size:25px; letter-spacing:-.04em; color:#fff; }
    .custom-tile small { display:block; margin-top:8px; color:rgba(255,255,255,.68); font-size:10px; line-height:1.35; }
    .ct-temp { color:#ff987c; background:linear-gradient(145deg,rgba(133,61,46,.78),rgba(65,34,28,.72)); }
    .ct-rh { color:#78c8ff; background:linear-gradient(145deg,rgba(39,91,132,.78),rgba(24,51,75,.72)); }
    .ct-vpd { color:#b49cff; background:linear-gradient(145deg,rgba(82,59,139,.78),rgba(45,34,76,.72)); }
    .ct-co2 { color:#64ead0; background:linear-gradient(145deg,rgba(32,113,97,.78),rgba(23,62,55,.72)); }
    .ct-ppfd { color:#f2db73; background:linear-gradient(145deg,rgba(130,111,40,.78),rgba(66,57,28,.72)); }
    .ct-soil { color:#74df9a; background:linear-gradient(145deg,rgba(39,117,66,.78),rgba(23,65,39,.72)); }
    .ct-ec { color:#ffbc6d; background:linear-gradient(145deg,rgba(135,82,32,.78),rgba(69,45,25,.72)); }
    .ct-dli { color:#ff8fca; background:linear-gradient(145deg,rgba(125,47,88,.78),rgba(67,29,48,.72)); }

    .custom-lower { display:grid; grid-template-columns:1.55fr .75fr; gap:10px; margin-top:10px; }
    .custom-chart-card, .derived-card { border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.035); border-radius:18px; padding:15px; }
    .custom-chart-card h3, .derived-card h3 { margin:0; font-size:13px; }
    .custom-chart-card p, .derived-card p { margin:4px 0 0; color:#7e8b83; font-size:10px; line-height:1.45; }
    .custom-chart { width:100%; height:180px; display:block; margin-top:12px; }
    .custom-axis { display:flex; justify-content:space-between; gap:6px; margin-top:6px; color:#6f7d74; font-size:9px; }
    .derived-list { display:grid; gap:9px; margin-top:12px; }
    .derived-item { display:flex; justify-content:space-between; gap:12px; padding:9px 10px; border-radius:12px; background:rgba(255,255,255,.035); }
    .derived-item span { color:#87958c; font-size:10px; }
    .derived-item strong { font-size:11px; color:#e5ece7; white-space:nowrap; }
    .data-note { margin-top:10px; color:#69776e; font-size:9px; line-height:1.5; }

    .footer-main { display:flex; align-items:center; justify-content:space-between; gap:24px; }
    .footer-legal { display:flex; flex-wrap:wrap; gap:16px; margin-top:20px; padding-top:18px; border-top:1px solid var(--border); }
    .footer-legal a { color:#77857c; text-decoration:none; }
    .footer-legal a:hover { color:var(--text); }

    /* Light theme — warm, restrained, still recognisably GroWatch */
    html[data-theme="light"] {
      --bg:#f5f8f5; --bg-deep:#edf2ee; --surface:rgba(255,255,255,.84); --surface-strong:rgba(255,255,255,.96);
      --surface-soft:rgba(16,46,26,.035); --surface-mid:rgba(16,46,26,.055); --border:rgba(15,48,25,.10);
      --border-strong:rgba(15,48,25,.17); --border-green:rgba(44,137,67,.22); --text:#142018; --muted:#607067;
      --green:#3f9f58; --green-2:#2f8847; --green-3:rgba(63,159,88,.12); --shadow:0 28px 70px rgba(30,52,35,.12);
      color-scheme:light;
    }
    html[data-theme="light"] body {
      background:radial-gradient(circle at 18% 4%,rgba(75,151,92,.12),transparent 30rem),radial-gradient(circle at 82% 20%,rgba(72,132,84,.07),transparent 28rem),linear-gradient(180deg,var(--bg) 0%,var(--bg-deep) 100%);
    }
    html[data-theme="light"] .topbar { background:rgba(247,250,247,.82); border-bottom-color:rgba(15,48,25,.08); }
    html[data-theme="light"] .navlinks { color:#65736b; }
    html[data-theme="light"] .navlinks a:hover { color:#152019; }
    html[data-theme="light"] .status { color:#2e7440; background:rgba(63,159,88,.07); }
    html[data-theme="light"] .lead { color:#53645a; }
    html[data-theme="light"] .micro { color:#829087; }
    html[data-theme="light"] .btn-secondary { color:#314139; background:rgba(255,255,255,.58); }
    html[data-theme="light"] .dashboard,
    html[data-theme="light"] .app-shell { background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(240,245,241,.96)); border-color:rgba(15,48,25,.10); }
    html[data-theme="light"] .dashboard::after { background:linear-gradient(135deg,rgba(63,159,88,.04),transparent 28%); }
    html[data-theme="light"] .dash-title,
    html[data-theme="light"] .chart-title,
    html[data-theme="light"] .side-title { color:#26362d; }
    html[data-theme="light"] .live,
    html[data-theme="light"] .tile-label,
    html[data-theme="light"] .trend,
    html[data-theme="light"] .unit,
    html[data-theme="light"] .chart-sub,
    html[data-theme="light"] .side-sub,
    html[data-theme="light"] .chart-annotation,
    html[data-theme="light"] .chart-instruction,
    html[data-theme="light"] .metric-card span,
    html[data-theme="light"] .metric-card .small,
    html[data-theme="light"] .feature p,
    html[data-theme="light"] .small-chart p,
    html[data-theme="light"] .about-card p,
    html[data-theme="light"] .about-copy p { color:#65756b; }
    html[data-theme="light"] .tile,
    html[data-theme="light"] .metric-card,
    html[data-theme="light"] .chart-card,
    html[data-theme="light"] .side-card,
    html[data-theme="light"] .small-chart,
    html[data-theme="light"] .showcase-wrap,
    html[data-theme="light"] .construction,
    html[data-theme="light"] .target-item,
    html[data-theme="light"] .custom-chart-card,
    html[data-theme="light"] .derived-card { background:rgba(255,255,255,.62); border-color:rgba(15,48,25,.09); }
    html[data-theme="light"] .app-tab,
    html[data-theme="light"] .legend-pill,
    html[data-theme="light"] .range-tabs span,
    html[data-theme="light"] .range-tabs button,
    html[data-theme="light"] .mode-menu-toggle { background:rgba(15,48,25,.035); border-color:rgba(15,48,25,.08); color:#637269; }
    html[data-theme="light"] .app-tab.active,
    html[data-theme="light"] .legend-pill.active,
    html[data-theme="light"] .range-tabs .active { color:#276b3a; background:rgba(63,159,88,.10); }
    html[data-theme="light"] .chip { color:#53645a; background:rgba(15,48,25,.035); border-color:rgba(15,48,25,.12); }
    html[data-theme="light"] .chip.active { color:#176b35; background:rgba(63,159,88,.14); border-color:rgba(44,137,67,.35); }
    html[data-theme="light"] .target-item { color:#314139; }
    html[data-theme="light"] .camera-mini { background:linear-gradient(180deg,#edf5ef,#e5eee8); border-color:rgba(15,48,25,.08); }
    html[data-theme="light"] .camera-mini::after { color:#314139; }
    html[data-theme="light"] .about-card strong { color:#286e3a; }
    html[data-theme="light"] .mode-menu { background:rgba(252,253,252,.99); border-color:rgba(15,48,25,.11); box-shadow:0 18px 45px rgba(32,51,38,.16); }
    html[data-theme="light"] .mode-option strong { color:#26362d; }
    html[data-theme="light"] .mode-option small, html[data-theme="light"] .mode-menu-label { color:#738179; }
    html[data-theme="light"] .mode-option:hover { background:rgba(15,48,25,.04); }
    html[data-theme="light"] .custom-badge { color:#2d7040; background:rgba(63,159,88,.08); border-color:rgba(63,159,88,.20); }
    html[data-theme="light"] .custom-chart-card h3,
    html[data-theme="light"] .derived-card h3 { color:#26362d; }
    html[data-theme="light"] .custom-chart-card p,
    html[data-theme="light"] .derived-card p,
    html[data-theme="light"] .derived-item span,
    html[data-theme="light"] .data-note { color:#68776e; }
    html[data-theme="light"] .derived-item { background:rgba(15,48,25,.035); }
    html[data-theme="light"] .derived-item strong { color:#26362d; }
    html[data-theme="light"] #interactiveChart g path,
    html[data-theme="light"] #customChart g path { stroke:rgba(15,48,25,.09) !important; }
    html[data-theme="light"] footer { border-top-color:rgba(15,48,25,.08); color:#77857c; }
    html[data-theme="light"] .footer-brand { color:#536159; }

    @media (max-width: 900px) {
      .custom-grid { grid-template-columns:repeat(2,1fr); }
      .custom-lower { grid-template-columns:1fr; }
    }
    @media (max-width: 680px) {
      .custom-grid { grid-template-columns:1fr 1fr; }
      .footer-main { align-items:flex-start; flex-direction:column; }
      .mode-menu { left:0; min-width:min(230px,calc(100vw - 44px)); }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior:auto; }
      *, *::before, *::after { transition:none !important; }
    }
  .measurement-readout{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px;line-height:1.6;color:var(--text);margin:10px 0 14px}.measurement-readout strong{flex-basis:100%}.custom-tile strong{overflow-wrap:anywhere}
  
    .layout-hint{font-size:11px;color:var(--muted);line-height:1.5;margin:0 0 12px}
    [data-sort-item]{position:relative;transition:box-shadow .18s,opacity .18s;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
    [data-sort-item]::before,[data-sort-item]::after{pointer-events:none}
    [data-sort-item]:active{cursor:grabbing}
    [data-sort-item]:focus-visible{outline:2px solid var(--green);outline-offset:3px}
    .sort-source{opacity:.3}.sort-target{outline:2px dashed var(--green);outline-offset:3px}
    .sort-ghost{position:fixed!important;z-index:9999;pointer-events:none!important;margin:0!important;transform:rotate(3deg) scale(1.04);box-shadow:0 18px 45px rgba(0,0,0,.4)!important;opacity:1;background-color:#14251a!important}
    html[data-theme="light"] .sort-ghost{background-color:#fff!important}
    .sort-ghost *{pointer-events:none!important}
    .sort-placed{animation:placed .5s ease-out}@keyframes placed{0%{outline:3px solid var(--green);transform:scale(1.035)}100%{outline:0 solid transparent;transform:scale(1)}}
    .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}
    @media(prefers-reduced-motion:reduce){.sort-placed{animation:none}[data-sort-item]{transition:none}}
  
    button.app-tab{font-family:inherit;cursor:pointer}button.app-tab:hover{color:var(--text);border-color:var(--green)}
    .app-tabs{display:flex;flex-wrap:wrap;margin-left:auto}.app-shell.demo-subpage{grid-template-columns:1fr}.demo-subpage .side-stack{display:none}.demo-subpage .app-head{width:calc(67.5% - 10.8px)}
    .demo-tab-panel{padding:22px;border:1px solid var(--border);border-radius:20px;background:var(--surface)}
    .demo-tab-panel[hidden],#panel-dashboard[hidden]{display:none}
    .stats-table-wrap{overflow-x:auto}.stats-table{width:100%;border-collapse:collapse;font-size:12px;margin:20px 0}.stats-table th,.stats-table td{padding:12px 8px;text-align:right;border-bottom:1px solid var(--border);white-space:nowrap}.stats-table th:first-child,.stats-table td:first-child{text-align:left}
    .demo-detail{border:1px solid var(--border);border-radius:13px;margin:14px 0;padding:14px}.demo-detail summary{cursor:pointer;font-size:13px;font-weight:650}.demo-detail p{color:var(--muted);font-size:13px;line-height:1.7}
    .camera-demo-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.camera-demo{border:1px solid var(--border-green);border-radius:16px;padding:14px;background:var(--surface-soft);color:var(--green);cursor:pointer;font-family:inherit}.camera-demo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:9px}.camera-demo strong,.camera-demo span{display:block;font-size:12px;margin-top:8px}.camera-demo span{color:var(--muted)}.camera-demo-grid.single{grid-template-columns:1fr}.camera-demo[hidden]{display:none}
    @media(max-width:480px){.demo-tab-panel{padding:12px}.camera-demo-grid{grid-template-columns:1fr}.app-tabs{gap:5px}.app-tab{padding:8px!important;font-size:11px!important}}
    @media(max-width:1100px){.demo-subpage .app-head{width:100%}}
    @media(max-width:360px){.grid,.custom-grid{grid-template-columns:1fr}}
  
    .info-panel,.updates-card { border:1px solid var(--border-green); border-radius:var(--radius-xl); background:var(--surface); padding:clamp(22px,4vw,36px); }
    .info-panel { margin-top:30px; }
    .info-panel h3 { margin:0 0 22px; font-size:clamp(22px,3vw,28px); letter-spacing:-.035em; }
    .status-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
    .status-grid > div,.project-roadmap > div { min-width:0; padding:18px; border:1px solid var(--border); border-radius:16px; background:var(--surface-soft); }
    .status-grid p,.project-roadmap p { margin:10px 0 0; font-size:14px; line-height:1.6; color:var(--muted); }
    .stage { display:inline-block; border-radius:999px; padding:5px 9px; color:var(--green-2); background:var(--green-3); font-size:11px; font-weight:700; }
    .stage-check { color:#d7bd7b; background:rgba(215,189,123,.12); }
    .stage-next { color:var(--muted); background:var(--surface-mid); }
    .project-roadmap { display:grid; gap:10px; margin:24px 0; }
    .project-roadmap span,.installation-preview span { color:var(--green-2); font-size:12px; font-weight:700; }
    .installation-preview { border:1px dashed var(--border-strong); border-radius:18px; padding:22px; background:var(--surface-soft); }
    .installation-preview strong { display:block; margin:9px 0; font-size:18px; }
    .installation-preview p { margin:0; color:var(--muted); font-size:13px; line-height:1.6; }
    .updates-section { padding-top:20px; }
    .updates-card { max-width:860px; margin:auto; }
    .updates-card h2 { margin:0 0 16px; font-size:clamp(32px,5vw,50px); line-height:1.05; letter-spacing:-.05em; }
    .updates-card > p { color:var(--muted); max-width:680px; line-height:1.65; }
    .signup-preview { margin-top:24px; }
    .signup-preview label { display:block; font-size:13px; font-weight:650; margin-bottom:10px; }
    .signup-row { display:flex; gap:10px; }
    .signup-row input { min-width:0; flex:1; border:1px solid var(--border-strong); border-radius:13px; padding:12px 15px; background:var(--surface-soft); color:var(--text); font:inherit; }
    .signup-row input:disabled,.signup-row button:disabled { opacity:.65; cursor:not-allowed; }
    .signup-row button:disabled:hover { transform:none; }
    .signup-preview small { display:block; color:var(--muted); margin-top:11px; line-height:1.5; }
    .text-link { display:inline-block; margin-top:24px; color:var(--green-2); font-size:14px; font-weight:650; text-decoration:none; }
    .text-link:hover { text-decoration:underline; }
    html[data-theme="light"] .stage-check { color:#815d1e; background:rgba(181,133,24,.11); }
    @media (max-width:680px) {
      .status-grid { grid-template-columns:1fr; }
      .signup-row { flex-direction:column; }
      .signup-row .btn { width:100%; }
    }

  
.live-sim-spaced{margin-top:8px}
