@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800;900&family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');
:root{--ink:#405a49;--muted:#99aa9b;--green:#649275;--deep:#517e64;--line:#e7ebdf;--paper:#fffef9;--cream:#f6f5eb;--soft:#edf4e9;--peach:#f5c3aa}*{box-sizing:border-box}body{margin:0;background:#f8f7ee;color:var(--ink);font-family:Nunito,'Noto Sans KR',sans-serif;font-size:13px}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #eead8e;outline-offset:3px}.hidden{display:none!important}.topbar{height:70px;border-bottom:1px solid #e8eadf;background:#fffef9;display:flex;justify-content:space-between;align-items:center;padding:0 max(4%,calc((100vw - 1500px)/2));}.logo{display:flex;gap:10px;align-items:center;font-size:16px;font-weight:900;letter-spacing:-.04em}.logo small{display:block;font-size:8px;letter-spacing:.14em;color:#adc0ae;margin-top:2px}.logo-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:13px;background:#e6f1df;color:#709e78;font-size:22px}.header-right{display:flex;gap:9px;align-items:center}.saving{font-size:10px;color:#a3b3a1;margin-right:10px}.icon-btn{border:1px solid #edf0e7;border-radius:9px;color:#8d9c8d;background:white;padding:8px 10px;font-size:11px}.icon-btn:hover{background:#f4f8ef}main{max-width:1500px;margin:auto;padding:27px 4% 45px}.game-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.eyebrow{font-size:9px;letter-spacing:.17em;color:#a2b7a1;font-weight:900;margin:0 0 8px}.game-head h1{font-size:23px;letter-spacing:-.055em;margin:0;font-weight:900}.game-head h1 span:not(.flower){color:#769d72}.flower{color:#eeb393}.game-head p:last-child{font-size:11px;color:#a4b1a2;margin:7px 0 0}.day-chip{background:#fff;border:1px solid #e9eee2;border-radius:12px;padding:10px 16px;display:flex;gap:12px;align-items:center}.day-chip span{color:#a2afa0;font-size:10px}.day-chip b{font-size:13px;color:#729d75}.columns{display:grid;grid-template-columns:225px minmax(360px,1fr) 260px;gap:17px;align-items:start}.left-col,.right-col,.center-col{display:grid;gap:14px}.card{background:var(--paper);border:1px solid #ecede3;border-radius:15px;padding:17px;box-shadow:0 5px 20px #6e85650a}.section-title{display:flex;justify-content:space-between;align-items:center;font-weight:900;font-size:12px;color:#5d7862;margin-bottom:15px}.dots{color:#cbd9c8;letter-spacing:2px}.plant-identity{display:flex;align-items:center;gap:11px;margin-bottom:18px}.plant-avatar{width:46px;height:46px;border-radius:12px;background:#eff7e9;display:grid;place-items:center;font-size:22px}.plant-identity strong,.plant-identity small{display:block}.plant-identity strong{font-size:13px}.plant-identity small{font-size:10px;color:#a8b7a6;margin-top:4px}.health-head,.growth-head{display:flex;justify-content:space-between;font-size:10px;color:#9aaa9a;margin-bottom:7px}.health-head b,.growth-head b{color:#709575}.meter{height:7px;background:#edf2e8;border-radius:8px;overflow:hidden}.meter i{height:100%;display:block;background:#9cc893;border-radius:8px;transition:width .35s}.health-meter i{background:#f1ad9b}.growth-head{margin-top:16px}.status-note{font-size:10px;background:#faf8ef;border-radius:8px;padding:9px;margin-top:10px;color:#90a08c;line-height:1.55}.tiny{font-size:9px;color:#a8b6a7;line-height:1.6}.environment .section-title{margin-bottom:8px}.mini-link{border:0;background:none;font-size:9px;color:#9eb7a0}.env-row{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:7px;padding:8px 0;border-bottom:1px dashed #edf0e7}.env-row:last-child{border:0}.env-icon{width:26px;height:26px;display:grid;place-items:center;background:#f4f8ef;border-radius:9px;font-size:13px}.env-row span{font-size:10px;color:#8b9d8c}.env-row b{font-size:11px;color:#718977}.env-row b.warning{color:#db987a}.problem{border-radius:9px;background:#fff4e8;color:#ae8566;padding:9px;font-size:10px;line-height:1.55;margin-top:6px}.problem.good{background:#f1f7ed;color:#8ca790}.problem b{display:block;color:#98765d}.scene{height:450px;position:relative;overflow:hidden;border:1px solid #e4ead9;border-radius:18px;background:linear-gradient(#f5f8e9 0%,#ecf4df 70%,#e7eed9 70%);box-shadow:0 8px 24px #859a7412}.scene-top{position:absolute;top:17px;left:18px;right:18px;display:flex;justify-content:space-between;z-index:4}.scene-badge{background:#ffffffc9;border:1px solid #ffffff;border-radius:20px;padding:7px 10px;font-size:9px;font-weight:800;color:#8da98b}.scene-badge i{display:inline-block;width:6px;height:6px;background:#9dc899;border-radius:50%;margin-right:5px}.weather{font-size:10px;color:#98aa92;background:#ffffff9c;border-radius:20px;padding:7px 11px}.window{position:absolute;width:66%;height:71%;left:17%;top:9%;border:9px solid #fcfdf5;border-radius:130px 130px 4px 4px;background:#daefdf;overflow:hidden;box-shadow:0 3px 0 #dce7d1,0 0 0 2px #e4ebd9}.window-glow{position:absolute;inset:0;background:linear-gradient(#d8eee2,#edf7e3)}.window-frame{position:absolute;background:#fffef4;z-index:2;box-shadow:0 0 0 1px #e7eddd}.window-frame.one{width:7px;height:100%;left:50%}.window-frame.two{height:7px;width:100%;top:55%}.sun{position:absolute;top:16%;right:13%;font-size:29px;color:#f7d69b}.cloud{position:absolute;width:48px;height:14px;border-radius:30px;background:#fffdf2;opacity:.9}.cloud:after{content:'';position:absolute;width:22px;height:22px;border-radius:50%;background:inherit;left:10px;bottom:1px}.cloud1{top:23%;left:17%}.cloud2{top:35%;right:13%;transform:scale(.7)}.hill{position:absolute;width:115%;height:90px;border-radius:50%;bottom:-35px;background:#c8e4bf}.hill1{left:-35%}.hill2{right:-48%;background:#b9dab0}.floor{position:absolute;bottom:0;width:100%;height:25%;background:linear-gradient(#e4ead5,#d8e4cb);border-top:2px solid #edf2df}.shelf{position:absolute;right:6%;bottom:26%;width:55px;height:95px;border-bottom:5px solid #c3ad8b;z-index:2}.shelf span{position:absolute;bottom:5px;width:16px;height:27px;background:#eed2b7;border-radius:4px 4px 6px 6px}.shelf span:nth-child(2){left:20px;height:38px;background:#d1e4c8}.shelf span:nth-child(3){left:39px;height:23px;background:#f1d4c7}.plant-stage{position:absolute;left:50%;bottom:9%;transform:translateX(-50%);width:min(82%,420px);height:78%;z-index:3;display:flex;align-items:end;justify-content:center}.plant-stage svg{max-height:100%;max-width:100%;overflow:visible;filter:drop-shadow(0 9px 8px #68886c1a)}.plant-stage svg .leaves{transform-origin:210px 275px;animation:sway 4s ease-in-out infinite}@keyframes sway{50%{transform:rotate(1.3deg)}}.scene-bottom{position:absolute;z-index:4;bottom:15px;left:18px;right:18px;display:flex;justify-content:space-between;color:#91a58c;font-size:9px;font-weight:800;letter-spacing:.05em}.day-panel{background:#f0f6e9;border:1px solid #e1ebd9;border-radius:14px;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}.day-title{font-size:12px;font-weight:900}.day-title span{color:#e9bf7c}.day-panel p{font-size:10px;color:#9eaf9c;margin:5px 0 0}.btn{border:0;border-radius:10px;font-weight:900}.next-btn{background:#7da47b;color:#fff;padding:13px 17px;white-space:nowrap}.next-btn:hover,.main-btn:hover{background:#648d68}.next-btn span{margin-left:15px}.journal-card{min-height:135px}.journal-line{display:flex;gap:10px;padding:7px 0;border-top:1px dashed #edf1e8;font-size:10px;line-height:1.6;color:#8e9e8d}.journal-line b{white-space:nowrap;color:#acc0aa;font-size:9px}.action-card{padding:17px 15px}.action-intro{font-size:10px;color:#a0b0a0;margin:-6px 0 13px}.action-group{font-size:9px;color:#b0beae;font-weight:800;letter-spacing:.05em;margin:13px 3px 7px}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.action{border:1px solid #edf1e8;background:#fdfefb;border-radius:10px;padding:9px 7px;text-align:left;color:#69816d;min-height:56px;transition:.15s}.action:hover:not(:disabled){background:#f1f7ed;border-color:#bfd7bc;transform:translateY(-1px)}.action:disabled{opacity:.46;cursor:not-allowed}.action strong{display:block;font-size:10px;white-space:nowrap}.action strong span{font-size:15px;margin-right:4px}.action small{display:block;color:#b3c0b1;font-size:9px;margin-top:4px}.resource-row{display:flex;justify-content:space-between;padding:7px 0;color:#95a796;font-size:10px}.resource-row b{color:#769b78}.resources p{margin-bottom:0}.harvest{border:1px solid #f0c9af;background:#fff5e8;border-radius:12px;color:#ca9976;font-weight:900;text-align:left;padding:13px 15px;width:100%}.harvest small{display:block;font-size:9px;color:#d5b7a1;font-weight:500;margin:4px 0 0 22px}.harvest:disabled{opacity:.58;cursor:not-allowed}footer{text-align:center;font-size:9px;color:#b0bdb0;margin-top:25px}footer button{border:0;background:none;color:#91a995;text-decoration:underline;font-size:9px}.start{display:grid;grid-template-columns:1fr 1fr;max-width:1050px;margin:25px auto;background:white;border:1px solid #ebeee3;box-shadow:0 18px 60px #7c927816;border-radius:25px;overflow:hidden}.start-copy{background:#edf5e6;padding:55px 45px 30px;position:relative;overflow:hidden;min-height:650px}.start-copy h1{font-size:38px;line-height:1.35;letter-spacing:-.06em;margin:22px 0}.start-copy h1 span{color:#80a779}.start-copy>p:not(.eyebrow){line-height:1.9;color:#9aac98;font-size:12px}.welcome-art{position:absolute;bottom:0;left:5%;right:5%;height:50%;display:grid;place-items:center}.welcome-art svg{height:100%;width:100%}.start-foot{position:absolute;bottom:20px;left:30px;right:30px;display:flex;justify-content:space-between;font-size:10px;color:#9db199}.select-panel{padding:48px 45px}.panel-label{display:flex;justify-content:space-between;font-size:9px;font-weight:900;letter-spacing:.13em;color:#adbeaa}.select-panel h2{margin:25px 0 8px;font-size:22px;letter-spacing:-.05em}.select-panel>p{font-size:11px;color:#a4b2a1}.crop-options{display:grid;gap:9px;margin:23px 0}.crop-choice{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:11px 13px;border:1px solid #edf0e8;background:white;border-radius:12px;color:#607b65}.crop-choice.selected{border:2px solid #a3c99f;background:#f8fcf5;padding:10px 12px}.crop-choice .crop-icon{font-size:25px;width:47px;height:47px;border-radius:11px;background:#eef7e9;display:grid;place-items:center}.crop-choice strong,.crop-choice small{display:block}.crop-choice strong{font-size:12px}.crop-choice small{font-size:10px;color:#a9b8a7;margin-top:4px}.crop-choice .check{margin-left:auto;color:#98bf95;font-size:16px}.name-label{display:flex;justify-content:space-between;font-size:11px;font-weight:800;margin-bottom:8px}.name-label span{font-weight:400;color:#b6c2b4;font-size:10px}input{width:100%;border:1px solid #e8eee4;border-radius:9px;padding:12px;color:#607b65;background:#fbfcf9}input::placeholder{color:#c1cdc0}.main-btn{margin-top:16px;width:100%;background:#7da77b;color:white;padding:15px}.main-btn span{float:right}.hint{text-align:center;font-size:9px!important}.text-btn{display:block;margin:auto;border:0;background:none;color:#7ca27e;font-size:11px}.modal{position:fixed;inset:0;background:#344d3d75;display:flex;align-items:center;justify-content:center;z-index:10;padding:20px}.modal-box{position:relative;width:min(520px,100%);max-height:85vh;overflow:auto;border-radius:18px;background:#fffef9;box-shadow:0 25px 80px #263f3040;padding:28px}.close{position:absolute;right:17px;top:13px;background:#f4f7ef;border:0;border-radius:50%;font-size:20px;color:#9cac9b;width:30px;height:30px}.modal h2{font-size:20px;margin:8px 0 12px;letter-spacing:-.04em}.modal h3{font-size:13px;margin:20px 0 8px}.modal p,.modal li{font-size:11px;color:#879987;line-height:1.8}.modal a{color:#699774}.modal .modal-btn{background:#7da77b;color:white;padding:12px 17px;margin-top:12px}.modal-list{padding-left:18px}.modal-stat{display:flex;justify-content:space-between;background:#f4f8ef;border-radius:8px;padding:10px;margin:6px 0;font-size:11px}.toast{position:fixed;z-index:20;bottom:25px;left:50%;transform:translate(-50%,20px);background:#526d57;color:white;border-radius:30px;padding:11px 18px;opacity:0;transition:.2s;pointer-events:none;font-size:11px;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:1100px){.columns{grid-template-columns:200px minmax(300px,1fr)}.right-col{grid-column:1 / -1;grid-template-columns:2fr 1fr}.action-card{grid-row:span 2}.action-grid{grid-template-columns:repeat(4,1fr)}.harvest{align-self:start}}@media(max-width:720px){main{padding:20px 4%}.saving{display:none}.topbar{height:60px}.icon-btn span{display:none}.start{display:block;margin:0}.start-copy{min-height:310px;padding:32px}.start-copy h1{font-size:29px;margin:14px 0}.welcome-art{height:75%;width:50%;left:50%;bottom:-15%}.start-foot{bottom:13px}.select-panel{padding:28px}.columns{display:flex;flex-direction:column}.columns>*{width:100%}.center-col{order:0}.left-col{order:1;grid-template-columns:1fr 1fr}.problem-card{grid-column:1/-1}.right-col{order:2;grid-template-columns:1fr 1fr}.action-card{grid-column:1/-1}.action-grid{grid-template-columns:repeat(2,1fr)}.scene{height:390px}.game-head h1{font-size:19px}.game-head p:last-child{max-width:240px}.day-chip{padding:8px;display:block;text-align:center}.day-chip span{display:block}.day-chip b{font-size:11px}.scene-bottom{font-size:8px}}@media(max-width:400px){.left-col{grid-template-columns:1fr}.scene{height:335px}.right-col{grid-template-columns:1fr}.action-card{grid-column:auto}.scene-bottom span:last-child{display:none}}
[hidden]{display:none!important}.plant-stage svg .leaves{animation:none}
/* The crop stays anchored to the rim at every growth stage. */
.plant-stage svg .leaves{transform-origin:0 0;animation:none}.spot{position:absolute;z-index:5;display:flex;gap:5px;align-items:center;border:1px solid #fff;background:#fffef5e8;color:#68876d;border-radius:30px;padding:8px 11px;font-size:11px;box-shadow:0 3px 9px #557d5630}.spot:hover{background:#e8f4e3;transform:translateY(-2px)}.spot span{font-size:9px;font-weight:900}.spot-plant{left:43%;bottom:9%}.spot-tank{left:4%;bottom:17%}.spot-meter{left:5%;top:24%}.spot-pump{right:4%;bottom:17%}.spot-air{right:5%;top:24%}.field-notes p{font-size:11px;color:#91a38f;line-height:1.8}.field-notes .note-hint{font-size:10px;color:#9eae9b;background:#f2f7ed;padding:10px;border-radius:9px;line-height:1.6}.field-notes .text-btn{margin:12px 0 0;padding:0}.modal-choices{display:flex;flex-wrap:wrap;gap:8px}.modal-choice{background:#f2f7ed;border:1px solid #dfebd9;border-radius:8px;color:#64866a;padding:10px 12px;font-size:11px}.scene .plant-stage{pointer-events:none}.metric-muted{font-size:10px;color:#a4b5a1;line-height:1.7}.action[aria-disabled=true]{opacity:.58}.status-inline{color:#a3b3a0;font-size:10px;line-height:1.6}.plant-card .growth-head{margin-top:0}.log-full{max-height:48vh;overflow:auto}
/* Equipment is part of the greenhouse: select each object to inspect it. */
.pipe{position:absolute;z-index:2;height:11px;border:2px solid #96aaa2;background:#c9d9cc;border-radius:5px;bottom:26%;box-shadow:0 2px 0 #a2b7a5}.pipe-left{left:8%;width:30%}.pipe-right{right:7%;width:29%}.equipment{position:absolute;z-index:5;border:0;background:transparent;color:#69816d;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:filter .2s,transform .2s}.equipment:hover{filter:brightness(1.04);transform:translateY(-3px)}.equip-label{white-space:nowrap;font-size:9px;font-weight:900;color:#76937a;background:#fffef6e6;border-radius:20px;padding:3px 7px;margin-top:4px;box-shadow:0 1px 5px #627d6030}.eq-lamp{left:38%;top:8%;width:24%;height:44px}.lamp-body{position:absolute;top:0;width:100%;height:12px;border-radius:6px;background:#81988a;border:2px solid #657f70}.lamp-glow{position:absolute;top:11px;width:80%;height:9px;border-radius:0 0 15px 15px;background:#fff1bb;box-shadow:0 7px 16px #fbe8a6}.eq-lamp.off .lamp-glow{background:#b8c0b7;box-shadow:none}.eq-lamp .equip-label{position:absolute;top:18px}.eq-thermo{top:22%;right:5%;width:54px;min-height:120px;background:#fffef4d9;border:2px solid #e0eadd;border-radius:15px;padding:8px}.thermo-scale{width:9px;height:55px;border:2px solid #bdcfc1;border-radius:9px;position:relative;background:white}.thermo-scale:after{content:'';position:absolute;width:13px;height:13px;border:2px solid #bdcfc1;border-radius:50%;background:#ef9f8b;bottom:-5px;left:-4px}.thermo-scale span{position:absolute;width:3px;bottom:0;left:1px;height:55%;border-radius:5px;background:#ef9f8b}.eq-thermo b{font-size:10px;margin-top:6px;color:#77917d}.eq-thermo .equip-label{margin-top:3px;padding:2px}.eq-meter{left:5%;top:24%}.meter-case{display:block;background:#e0e8dc;border:3px solid #b9cbb9;border-radius:10px;padding:5px;width:70px;height:65px;box-shadow:0 3px #acc3b0}.meter-screen{display:block;border-radius:4px;background:#d1ead9;color:#60856b;font:bold 10px/1.15 Nunito,sans-serif;padding:5px 1px}.meter-screen small{font:8px 'Noto Sans KR',sans-serif}.meter-case i{display:inline-block;width:7px;height:7px;background:#90b697;border-radius:50%;margin-top:3px}.eq-tank{left:4%;bottom:18%}.tank-lid{width:69px;height:9px;background:#9eb5a5;border-radius:5px;z-index:1}.tank-glass{position:relative;width:61px;height:81px;background:#f5fcf5a8;border:3px solid #adbfaf;border-top:0;border-radius:0 0 13px 13px;overflow:hidden}.tank-glass i{display:block;position:absolute;bottom:0;left:0;right:0;background:#a8d6ceaf;border-radius:7px 7px 0 0;transition:height .4s}.tank-lines{position:absolute;right:4px;top:8px;color:#8ca99c;font-size:12px;line-height:16px}.eq-valve{right:19%;bottom:29%}.valve-wheel{background:#e8b3a1;border:3px solid #cc927f;color:#fff4ec;width:33px;height:33px;line-height:27px;border-radius:50%;font-size:24px;box-shadow:0 2px 4px #69886c55}.valve-drops{position:absolute;top:30px;right:-7px;font-size:17px;filter:drop-shadow(0 2px 3px #76bcc7)}.eq-pump{right:5%;bottom:18%}.pump-body{width:74px;height:57px;background:#b9cbb7;border:3px solid #93aa94;border-radius:15px 15px 10px 10px;box-shadow:0 4px #a6baa7;position:relative;display:grid;place-items:center}.pump-body b{color:#7b9b82;font-size:25px}.pump-body i{position:absolute;right:8px;top:6px;width:6px;height:6px;border-radius:50%;background:#a5d2a1}.pump-body i.off{background:#c89a88}.eq-plant{left:43%;bottom:10%;z-index:6}.eq-plant span{font-size:9px;font-weight:900;border-radius:20px;background:#fffdf2e8;border:1px solid white;padding:6px 9px;box-shadow:0 2px 7px #7e99823d}.root-illustration{height:170px;background:linear-gradient(#f1f8e8 35%,#e3f4ee 35%);border-radius:12px;display:grid;place-items:center;overflow:hidden}.root-illustration svg{height:95%;width:100%}.modal .inspection-note{padding:10px 12px;background:#f4f8ef;border-radius:9px;color:#809481}.plant-stage svg .leaves{transform-origin:0 0}.scene-bottom{pointer-events:none}@media(max-width:560px){.eq-meter{left:2%;top:24%;transform:scale(.8);transform-origin:left top}.eq-thermo{right:2%;top:24%;transform:scale(.78);transform-origin:right top}.eq-tank{left:1%;bottom:18%;transform:scale(.8);transform-origin:left bottom}.eq-pump{right:2%;bottom:18%;transform:scale(.8);transform-origin:right bottom}.eq-valve{right:18%;bottom:31%;transform:scale(.8)}.eq-lamp{top:11%}.equipment:hover{filter:none}.eq-plant{bottom:8%;left:40%}}
/* Four outdoor scenes follow the in-game weather; decorative elements stay behind the window frame. */
.window .window-glow{transition:background .5s ease}
.window .sun,.window .cloud,.window .hill{transition:opacity .5s ease,filter .5s ease,background .5s ease}
.window .cloud3{top:17%;left:47%;transform:scale(.8);opacity:0}
.window .weather-rays{position:absolute;inset:0;opacity:0;background:radial-gradient(circle at 80% 20%,#ffe69d85 0,transparent 45%);transition:opacity .5s ease}
.window .breeze{position:absolute;z-index:1;width:52px;height:12px;border-top:2px solid #ffffffb0;border-radius:50%;opacity:0;transition:opacity .5s ease}
.window .breeze1{left:15%;top:42%;transform:rotate(-8deg)}
.window .breeze2{right:15%;top:45%;width:34px;transform:rotate(-8deg)}
.window[data-weather="clear"] .window-glow{background:linear-gradient(#d7eee1,#f0f8e3)}
.window[data-weather="clear"] .sun{opacity:1}
.window[data-weather="clear"] .cloud{opacity:.65}
.window[data-weather="cloudy"] .window-glow{background:linear-gradient(#cbdedc,#e6eee1)}
.window[data-weather="cloudy"] .sun{opacity:.35}
.window[data-weather="cloudy"] .cloud{background:#f5f7ee;opacity:.95}
.window[data-weather="cloudy"] .cloud3{opacity:.9}
.window[data-weather="cloudy"] .hill1{background:#bdcfbc}
.window[data-weather="cloudy"] .hill2{background:#a9c1ac}
.window[data-weather="hot"] .window-glow{background:linear-gradient(#f6dfb2,#f7efd1)}
.window[data-weather="hot"] .weather-rays{opacity:1}
.window[data-weather="hot"] .sun{opacity:1;filter:drop-shadow(0 0 12px #e9bd6b);color:#e6ab4f}
.window[data-weather="hot"] .cloud{opacity:.25}
.window[data-weather="hot"] .cloud3{opacity:0}
.window[data-weather="hot"] .hill1{background:#cbd9a6}
.window[data-weather="hot"] .hill2{background:#b9ca99}
.window[data-weather="cool"] .window-glow{background:linear-gradient(#c5d9dc,#e5ede3)}
.window[data-weather="cool"] .sun{opacity:.16}
.window[data-weather="cool"] .cloud{background:#eff4ee;opacity:.9}
.window[data-weather="cool"] .cloud3{opacity:.75}
.window[data-weather="cool"] .breeze{opacity:.9}
.window[data-weather="cool"] .hill1{background:#bed2c5}
.window[data-weather="cool"] .hill2{background:#a4c0b5}
.valve-drops{right:-3px;top:32px;width:5px;height:7px;border-radius:60% 60% 65% 65%;background:#87bcc5;transform:rotate(25deg);filter:none;opacity:.85}
/* Supply: tank -> pump -> valve -> crop. Return: crop -> tank. */
.plumbing{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}.pipe-lines{fill:none;stroke:#94aaa0;stroke-width:10;stroke-linecap:round;stroke-linejoin:round}.pipe-lines .return-pipe{stroke:#b0c4ae;stroke-width:8}.flow-lines{fill:none;stroke:#d6eee7;stroke-width:3;stroke-dasharray:5 20;opacity:.3}.flow-lines.flowing{opacity:.8;animation:water-flow 3s linear infinite}@keyframes water-flow{to{stroke-dashoffset:-100}}
.eq-valve{right:20.5%;bottom:21.5%}.eq-thermo{min-height:133px}.eq-thermo b{margin-top:4px}.eq-thermo #humidityRead{font-size:9px;color:#729494}.eq-thermo .equip-label{font-size:8px}.lamp-glow{opacity:var(--lamp-level,1);transition:opacity .6s,box-shadow .6s}.grow-light-beam{position:absolute;z-index:2;left:23%;top:12%;width:54%;height:65%;pointer-events:none;clip-path:polygon(27% 0,73% 0,100% 100%,0 100%);background:linear-gradient(#fff2b857,#fff8d510);opacity:var(--lamp-level,1);transition:opacity .6s}.plant-stage{filter:brightness(calc(.72 + var(--lamp-level,1)*.28));transition:filter .6s}.power-notice{position:absolute;z-index:7;left:50%;top:19%;transform:translateX(-50%);border:1px solid #e1d5b7;background:#fff7e9ed;color:#897758;border-radius:12px;padding:8px 12px;font-size:10px;white-space:nowrap;box-shadow:0 2px 8px #4d644714}
.slider-label{display:flex;justify-content:space-between;align-items:center;margin:22px 0 8px;font-size:12px}.slider-label output{font-weight:800;color:#62896b;font-size:20px}input[type=range]{accent-color:#7da77b;padding:12px 0;border:0;background:transparent;cursor:ew-resize;min-height:44px}.slider-ends{display:flex;justify-content:space-between;color:#94a58d;font-size:11px}.modal-btn:disabled{opacity:.45;cursor:not-allowed}
.precipitation,.storm-cloud,.condensation{position:absolute;inset:0;pointer-events:none;opacity:0;z-index:1}.window[data-weather="rain"] .window-glow{background:linear-gradient(#91afb9,#c5d8ce)}.window[data-weather="snow"] .window-glow{background:linear-gradient(#b0c5d3,#e5eef0)}.window[data-weather="storm"] .window-glow{background:linear-gradient(#526c82,#9bafb6)}.window:is([data-weather="rain"],[data-weather="snow"],[data-weather="storm"]) .sun{opacity:0}.window:is([data-weather="rain"],[data-weather="storm"]) .cloud{background:#b3c6cb;opacity:1;transform:scale(1.3)}.window:is([data-weather="rain"],[data-weather="storm"]) .cloud3{opacity:1}.window[data-weather="rain"] .hill1{background:#8db1a5}.window[data-weather="rain"] .hill2{background:#7a9f94}.window[data-weather="storm"] .hill1{background:#78978c}.window[data-weather="storm"] .hill2{background:#668b80}.window[data-weather="snow"] .hill{background:#edf2ec;box-shadow:inset 0 8px 0 #fffef5}.window[data-weather="snow"] .cloud{background:#f7faf5;opacity:.8}.rain-streaks{inset:-50%;background-image:repeating-linear-gradient(110deg,transparent 0 38px,#e2f5f96b 39px 40px,transparent 41px 64px);background-size:90px 95px;mask-image:repeating-linear-gradient(0deg,transparent 0 20px,#000 25px 42px,transparent 46px 75px)}.window[data-weather="rain"] .rain-streaks{opacity:.7;animation:rain-fall 1.2s linear infinite}.window[data-weather="storm"] .rain-streaks{opacity:.9;transform:rotate(15deg);animation:rain-fall .65s linear infinite}.snow-flakes{inset:-50%;background-image:radial-gradient(circle,#ffffffde 2px,transparent 3px),radial-gradient(circle,#ffffffa8 1.5px,transparent 2.5px);background-size:55px 70px,85px 100px;background-position:0 0,23px 31px}.window[data-weather="snow"] .snow-flakes{opacity:1;animation:snow-fall 9s linear infinite}.window[data-weather="storm"] .storm-cloud{inset:2% -10% auto;height:25%;border-radius:50%;background:#647d8c;opacity:.65;filter:blur(8px);animation:cloud-pass 12s ease-in-out infinite}.window .condensation{z-index:3;inset:0;background:radial-gradient(ellipse at bottom,#e5f2eb96,transparent 65%);transition:opacity .8s}.scene.humid .condensation{opacity:.75}@keyframes rain-fall{to{background-position:-18px 95px}}@keyframes snow-fall{to{background-position:28px 140px,51px 231px}}@keyframes cloud-pass{50%{transform:translateX(18px)}}
@media(max-width:560px){.eq-valve{right:20.5%;bottom:21.5%}.power-notice{top:19%;font-size:9px;padding:6px 9px}.eq-thermo{top:23%}.scene-top{left:10px;right:10px}.scene-badge{padding:6px 8px;font-size:8px}}
@media(prefers-reduced-motion:reduce){.flow-lines,.precipitation,.storm-cloud{animation:none!important}.equipment,.lamp-glow,.plant-stage{transition:none}}

.flow-lines.manual-flow{opacity:1;animation:water-flow .45s linear 4;stroke:#87d9e0;stroke-width:4;filter:drop-shadow(0 0 4px #8ddde3)}
.quality-total{display:flex;align-items:center;justify-content:space-between;background:#eef7e8;border:1px solid #d7ead4;border-radius:13px;padding:16px;margin:15px 0 9px;color:#638b69}.quality-total strong{font-size:28px;color:#56855f}.quality-total small{font-size:11px;color:#88a38a}.quality-list .modal-stat{margin:4px 0}.story-lines{border-left:3px solid #c4dfbd;padding-left:12px}.story-lines p{margin:6px 0 12px}
.record-days{max-height:45vh;overflow:auto;padding-right:3px}.day-detail{border:1px solid #dcebd9;background:#fbfdf9;border-radius:10px;margin:8px 0;padding:11px 13px}.day-detail summary{cursor:pointer;font-size:12px;font-weight:800;color:#64866a}.day-detail summary span{float:right;font-size:10px;color:#9bb09b;font-weight:400}.day-detail p{margin:8px 0}.day-timing{color:#9aaa9a!important}.day-readings{display:grid;grid-template-columns:1fr 1fr;gap:5px}.day-reading{display:flex;justify-content:space-between;gap:8px;background:#eff6eb;padding:8px;border-radius:7px;font-size:10px}.day-reading b{color:#678d70;text-align:right}@media(max-width:400px){.day-readings{grid-template-columns:1fr}}
.action-wrap{position:relative;min-width:0}.action-wrap .action{width:100%;height:100%}.action-hint{display:none;position:absolute;z-index:8;top:calc(100% + .2rem);left:0;width:min(14rem,80vw);padding:.65rem;border-radius:.65rem;background:#edf5e9;color:#3c5d43;border:1px solid #d4e6cf;font-size:.85rem;line-height:1.45;box-shadow:0 4px 12px #456b3e1c;pointer-events:none}@media (hover:hover){.action-wrap:hover .action-hint{display:block}}.action-wrap:nth-child(even) .action-hint{left:auto;right:0}
/* Cloud save feedback remains visible on small screens. */
#cloudStatus{display:block;color:#4d7057;font-size:12px;line-height:1.4;margin:0}
@media(max-width:720px){.topbar{height:auto;min-height:60px;gap:10px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}.header-right{flex:1 1 100%;justify-content:flex-end;flex-wrap:wrap}.header-right #cloudStatus{flex:1 1 100%;order:2;text-align:right}}

.policy-links{display:flex;justify-content:center;gap:1.25rem;padding:1.5rem;font-size:0.875rem}.policy-links a{color:#4a7057;text-decoration:underline;text-underline-offset:3px}
