:root { color-scheme: dark; font-family: "Inter", "Segoe UI", Arial, sans-serif; background: #0a1820; color: #f6f7ef; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 10% 100%, #153d3e 0%, transparent 58%), #0b1921; }
.screen { display: grid; align-content: center; padding: 5vw; }
.board { width: 100%; text-align: center; }
h1, h2, p { margin: 0; }
.board h1 { font-size: clamp(2.3rem, 8vw, 12rem); line-height: 1.13; letter-spacing: -.045em; overflow-wrap: anywhere; }
.with-plants .board { text-align: left; }
.with-plants h1 { font-size: clamp(2rem, 4.2vw, 6rem); margin-bottom: 4vh; }
#plants { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.4vw; }
article { padding: 2.1vw 2.5vw; background: #152d32; border: 1px solid #365254; border-radius: 1vw; }
article h2 { font-size: clamp(1.4rem, 3.1vw, 5rem); overflow-wrap: anywhere; }
.status { margin-top: .6em; font-size: clamp(1.2rem, 2.2vw, 4rem); }
.ok { color: #a4dfc6; } .unknown { color: #c5d0cf; } .needs_water { color: #ffca80; }
#freshness { color: #c0d2d1; margin-top: 2.5vh; font-size: clamp(1rem, 1.5vw, 2.1rem); }
#setup { position: fixed; bottom: 4vh; right: 4vw; }
button, input, textarea { font: inherit; border-radius: .5rem; padding: .65em .9em; }
button { background: #c7e2d4; color: #152822; border: 0; cursor: pointer; }
#open, #cancel { background: #21363b; color: #d5e1dd; }
:focus-visible { outline: 3px solid #ffca80; outline-offset: 3px; }
#pair:not(button) { background: #172d35; padding: 1rem; border-radius: .8rem; max-width: 85vw; }
input, textarea { width: 100%; color: #fcfcf3; background: #0a1f25; border: 1px solid #688181; }
form { display: grid; gap: .8rem; }
.editor { padding: 8vh 6vw; }
.editor main { margin: auto; max-width: 34rem; }
.editor h1 { margin-bottom: 2rem; font-size: 2.5rem; letter-spacing: -.05em; }
.editor section section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #3e5557; }
.editor h2, .editor p { margin-bottom: .8rem; }
.editor p, output { line-height: 1.5; overflow-wrap: anywhere; }
#result, #pair-result, #plant-result { display: block; margin-top: .8rem; color: #d6e6cc; }
