:root[data-theme=dark]{color-scheme:dark;--ink:#e4e9de;--green:#588567;--soft:#2e403a;--line:#43524a;--muted:#b0bcb0;--paper:#1c2826;--accent:#526648;background:#1c2826}
[data-theme=dark] button,[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea,[data-theme=dark] dialog{background:#2b3b35;color:var(--ink);border-color:var(--line)}
[data-theme=dark] button:hover{background:#3b5143}
[data-theme=dark] .primary{background:#477659;color:#fff;border-color:#628b66}
[data-theme=dark] .app-header,[data-theme=dark] .site-header,[data-theme=dark] .library,[data-theme=dark] .inspector,[data-theme=dark] .timeline,[data-theme=dark] .garden-title{background:#22312c}
[data-theme=dark] .starter-toolbar{background:#324535;border-color:#576a48}
[data-theme=dark] .view-toolbar,[data-theme=dark] .atmosphere-controls,[data-theme=dark] .canvas-note,[data-theme=dark] .art-label{background:#293932ee;border-color:#566450;color:var(--ink)}
[data-theme=dark] .app-header nav button.active,[data-theme=dark] .crop-card:hover,[data-theme=dark] .crop-card.selected,[data-theme=dark] .bed-list.selected,[data-theme=dark] .object-card:hover,[data-theme=dark] .search,[data-theme=dark] .notice,[data-theme=dark] .bed-sketch,[data-theme=dark] .local-badge{background:#34483b;color:var(--ink);border-color:#576a4f}
[data-theme=dark] .view-toolbar .active{background:#567c57;color:white}
[data-theme=dark] .pricing article,[data-theme=dark] .pricing .hobby,[data-theme=dark] .news-card{background:#2c3d33}
[data-theme=dark] .hero-copy p,[data-theme=dark] .hero h1 em,[data-theme=dark] .north,[data-theme=dark] .scene-tag{color:#bdcca8}
[data-theme=dark] .notice.warning,[data-theme=dark] .warning-card.warning{background:#4a4029;color:#f3dcaa;border-color:#7d6a3d}
[data-theme=dark] .notice.danger,[data-theme=dark] .warning-card.danger,[data-theme=dark] .danger{background:#4c3330;color:#ffc8b5;border-color:#805248}
[data-theme=dark] .notice.unknown{background:#41413b}
[data-theme=dark] .pill{background:#4b603d;color:#e1eccc}
.atmosphere-controls{max-width:calc(100% - 40px)}
.atmosphere-controls [aria-pressed=true]{box-shadow:inset 0 0 0 1px #9ab584}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{[data-theme=dark]{--ink:#222;--paper:white;--line:#ddd;--muted:#555;color:#222;background:white}}

[data-theme=dark] label,[data-theme=dark] .library-caption,[data-theme=dark] .bed-list small{color:var(--muted)}
[data-theme=dark] .crop-timing>div>div{background:#3d4d42}
