:root{color-scheme:dark;--bg:#091a15;--panel:#0e251e;--edge:#315044;--text:#f2f5ee;--muted:#9bb2a9;--accent:#b4e4b0;--gold:#e8bc76;--pink:#f4bdd1;--red:#d97e7c;--water:#79bdd0;--radius:13px}
*{box-sizing:border-box}body{margin:0;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--text);background:var(--bg);font-size:13px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.4}h1,h2,h3,p{margin-top:0}h1{font-size:18px;letter-spacing:.09em;font-weight:760;margin:4px 0 0}h1 span{font-size:14px;letter-spacing:0;font-weight:450;color:#c8d5cf}h2{font-size:23px;font-weight:670;letter-spacing:-.045em;margin:6px 0 0}h3{font-size:16px;font-weight:690;letter-spacing:-.02em;margin:4px 0 0}.eyebrow,.overline,.section-index,.metric-label,.camera-label{font-size:10px;font-weight:720;letter-spacing:.17em}.eyebrow,.section-index{color:#9ab9aa}.eyebrow span{color:#5e7568}.small{font-size:11px;line-height:1.55}.muted{color:var(--muted)}.shell{min-height:100vh;display:flex;flex-direction:column}
.header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 21px;background:linear-gradient(115deg,#0c241c,#11271f 65%,#132c24);border-bottom:1px solid #314d40;box-shadow:0 6px 35px #0005;z-index:7}.identity{display:flex;align-items:center;gap:14px;flex-shrink:0}.identity-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;color:#fde0d8;background:linear-gradient(135deg,#d68a8f,#735b6a);font-size:36px;line-height:1;box-shadow:inset 0 0 0 1px #fff3}.header-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.btn{border:1px solid #557366;min-height:36px;border-radius:8px;background:#1a392e;color:#e0eee4;padding:8px 14px;font-weight:650;transition:background .2s,transform .2s}.btn:hover{background:#294d3f}.btn:active{transform:translateY(1px)}.btn.primary{color:#193523;background:var(--accent);border-color:var(--accent);box-shadow:0 1px 15px #96c99433}.btn.primary:hover{background:#d5f2cf}.btn.subtle{font-size:11px;background:#26483b;border-color:#3c6854;min-height:34px}.btn.icon-btn{padding:7px 11px}.compact-label{color:var(--muted);font-size:11px}.runstatus{display:flex;gap:7px;align-items:center;color:#d6e4d8;font-size:11px;margin-right:8px}.status-dot,.pulse{width:7px;height:7px;border-radius:50%;background:#cbac7b;display:inline-block;box-shadow:0 0 0 3px #cdae7122}.runstatus.playing .status-dot{background:#b6ff94;box-shadow:0 0 0 4px #8fdc7122;animation:pulse 1.6s infinite}.runstatus.finished .status-dot{background:var(--pink)}@keyframes pulse{50%{box-shadow:0 0 0 7px #8fdc7100}}.select{appearance:none;color:#e4eee6;background-color:#1b392f;border:1px solid #426255;border-radius:8px;padding:9px 29px 9px 11px;width:100%;min-height:37px;cursor:pointer;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"%3E%3Cpath d="m1 1 5 5 5-5" stroke="%23c9e0cd" fill="none" stroke-width="1.6"/%3E%3C/svg%3E');background-position:calc(100% - 10px) center;background-repeat:no-repeat}.select.compact{width:72px;padding:8px 25px 8px 10px;min-height:36px}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 370px;min-height:0;flex:1;height:calc(100vh - 74px);max-height:1160px}.world-panel{position:relative;min-width:0;overflow:hidden;background:linear-gradient(#789b9c 0%,#a3bba5 38%,#668568 80%)}.world{position:absolute;inset:0;touch-action:none}.world canvas{display:block;width:100%;height:100%}.world-vignette{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,#0c251c7a 0%,transparent 26%,transparent 57%,#0b251dde 100%),linear-gradient(90deg,#09201755,transparent 38%)}.overlay{position:absolute;pointer-events:none}.overlay>*{pointer-events:auto}.world-top{top:19px;left:21px;right:20px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.location-tag{padding:8px 10px;border:1px solid #ffffff55;border-radius:20px;background:#132c25c7;color:#f6f7f2;display:flex;align-items:center;gap:8px;font-size:9px;font-weight:760;letter-spacing:.14em;backdrop-filter:blur(8px)}.location-tag .pulse{background:#dfd5ac}.weather-box{min-width:220px;text-align:right;border-radius:10px;background:#0b2621a8;border:1px solid #fff4;padding:11px 13px;backdrop-filter:blur(9px)}.subline{font-weight:700;color:#fff;font-size:13px}.weather-figures{display:flex;gap:12px;margin-top:5px;justify-content:flex-end;white-space:nowrap;color:#e0e9e1;font-size:11px}.weather-figures span+span{border-left:1px solid #aac2b47c;padding-left:12px}.world-left{left:22px;bottom:110px}.day-counter{border-left:3px solid var(--accent);padding-left:14px;text-shadow:0 2px 12px #071b19}.day-counter strong{font-size:72px;line-height:1;font-weight:730;letter-spacing:-.08em;font-variant-numeric:tabular-nums}.day-out-of{font-size:18px;color:#e2e5db;margin-left:9px}.day-counter .overline{display:block;font-size:10px;color:#d0e0d4}.day-counter .overline.muted{color:#dbe1d7;margin-top:7px}.scene-key{display:flex;gap:15px;margin:20px 0 0 16px;color:#f3f2eb;font-size:10px;font-weight:650;text-shadow:0 2px 8px #162018}.scene-key span{display:flex;gap:6px;align-items:center}.key-dot{display:inline-block;width:9px;height:9px;border-radius:50%}.key-dot.flower{background:#ffe1ee}.key-dot.fruit{background:#c24e4b}.key-dot.bee{background:#ffdf78}
.world-bottom{bottom:20px;left:20px;right:20px}.camera-row{display:flex;gap:6px;align-items:center;margin-bottom:13px;flex-wrap:wrap}.camera-label{margin-right:6px;color:#dce8dd}.camera-btn{border:1px solid #dce7d97e;background:#0c2821b5;border-radius:7px;padding:7px 10px;color:#e6ede3;font-size:11px;backdrop-filter:blur(5px)}.camera-btn:hover,.camera-btn.active{border-color:var(--accent);color:#153324;background:#c8ecbe}.drag-hint{margin-left:auto;color:#e2e9de;font-size:10px}.timeline{height:3px;background:#c7d7ca66;border-radius:3px;overflow:hidden}.timeline-fill{height:100%;background:linear-gradient(90deg,#f4c6dc,#f3dd87,#b8ecae);width:0%;transition:width .3s}.timeline-labels{margin-top:7px;display:flex;justify-content:space-between;font-size:9px;font-weight:730;letter-spacing:.1em;color:#e6ebdf}
.markers{position:absolute;inset:0;pointer-events:none}.world-marker{--marker:#f8d8da;pointer-events:auto;position:absolute;transform:translate(-50%,-50%);border-radius:30px;background:#092a22c7;color:#f1f6eb;border:1px solid #e4edcb7f;box-shadow:0 3px 16px #061d1988;display:flex;align-items:center;gap:6px;padding:5px 9px 5px 6px;white-space:nowrap;font-size:10px;backdrop-filter:blur(6px);transition:border .2s,background .2s}.world-marker:hover,.world-marker.active{background:#eaf5d5;color:#1c362a;border-color:#faffed}.world-marker .marker-swatch{display:inline-block;width:14px;height:14px;border-radius:50%;background:var(--marker);box-shadow:0 0 0 2px #ffffff66}.world-marker.hive{--marker:#e3b45f}.world-marker.occluded{opacity:0;pointer-events:none}.world-marker span:last-child{font-weight:750}
.dashboard{min-width:0;background:#0d211b;border-left:1px solid #315347;overflow:hidden}.dashboard-scroll{height:100%;overflow-y:auto;overscroll-behaviour:contain;padding:22px 20px 33px;scrollbar-color:#507463 transparent;scrollbar-width:thin}.dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}.condition-pill{flex-shrink:0;padding:6px 9px;color:#e2e0ba;background:#655b323e;border:1px solid #8e895866;border-radius:20px;font-size:9px;letter-spacing:.11em;font-weight:780}.scenario-group{margin-bottom:17px}.scenario-group label{display:block;font-size:11px;font-weight:700;margin-bottom:7px}.scenario-group p{margin:6px 0 0}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:15px}.metric{min-width:0;background:linear-gradient(145deg,#1a3930,#173128);border:1px solid #355d4a;border-radius:11px;padding:12px}.metric-label{font-size:9px;color:#c0d3c2;letter-spacing:.1em}.metric div{margin:8px 0 3px;display:flex;align-items:baseline;gap:4px}.metric strong{font-weight:750;font-size:26px;letter-spacing:-.05em;font-variant-numeric:tabular-nums;line-height:1.1}.metric small{font-size:11px;color:var(--accent);font-weight:700}.metric-note{color:#95b09e;font-size:10px;line-height:1.3}.metric .money strong{font-size:24px;color:#e6ce94}.mini-graph{border:1px solid #315346;background:#0c231c;border-radius:11px;padding:12px 10px 7px;margin-bottom:23px}.graph-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;color:#d5e3d5;font-size:9px;font-weight:740;letter-spacing:.07em}.graph-key{display:flex;align-items:center;gap:5px;color:#b0c7b6;font-weight:500;letter-spacing:0}.graph-key i{display:inline-block;width:9px;height:2px;background:var(--pink);margin-left:4px}.graph-key i:nth-of-type(2){background:var(--gold)}#graph{display:block;width:100%;height:76px}.graph-axis{display:flex;justify-content:space-between;font-size:9px;color:#7f9f8a;margin-top:1px}
.control-section{border-top:1px solid #365248;padding-top:17px;margin-bottom:23px}.section-header{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:15px}.section-index{color:#90b09b;font-size:9px}.indicator{font-size:9px;color:#e8c5ca;white-space:nowrap;letter-spacing:.08em}.field-label{display:block;font-size:11px;font-weight:690;color:#c7d6ca;margin:0 0 6px}.control-section>.select{margin-bottom:10px}.bars{background:#19362b;padding:12px;border-radius:10px;border:1px solid #365a46}.bar-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#b9cebe;margin-bottom:7px}.bar-row strong{color:#ebf3e8;font-size:12px;font-variant-numeric:tabular-nums}.bar-bg{height:7px;border-radius:20px;overflow:hidden;background:#365043;margin-bottom:12px}.bar-bg:last-of-type{margin-bottom:11px}.bar{height:100%;width:0%;border-radius:20px;transition:width .25s}.bar.bloom{background:linear-gradient(90deg,#f1a9c7,#ffe0e9)}.bar.fruit{background:linear-gradient(90deg,#ae6963,#f0aa77)}.control-section .small{margin:10px 0 0}.bee-icon{font-size:22px;color:var(--gold)}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:15px}.warning{color:#ffe2a3;background:#5e392244;border:1px solid #c17d4b66;padding:7px;border-radius:7px;margin:-7px 0 10px;font-size:11px}.slider-line{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:13px 0 7px;color:#cbd9cf;font-size:11px}.slider-line output{font-variant-numeric:tabular-nums;font-weight:750;color:#f5ddaa;white-space:nowrap}input[type=range]{display:block;width:100%;accent-color:#bddfa7;cursor:pointer;margin:0 0 11px;height:20px}.hive-data{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:9px;overflow:hidden;border:1px solid #335a4a;margin:15px 0 0}.hive-data div{padding:10px 7px;background:#19362b;text-align:center}.hive-data div+div{border-left:1px solid #395b4b}.hive-data span{font-size:9px;color:#a5bcaa;display:block;margin-bottom:6px}.hive-data strong{font-size:12px;white-space:nowrap}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;margin-bottom:17px}.toggle-row strong{font-size:12px;display:block}.toggle-row small{display:block;font-size:10px;color:#90a995;margin-top:3px;line-height:1.5}.toggle-row input{position:absolute;opacity:0;width:1px;height:1px}.toggle-track{width:37px;min-width:37px;height:22px;border-radius:12px;border:1px solid #648571;background:#234235;position:relative;transition:background .2s}.toggle-track:after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#c3d9c2;transition:transform .2s}.toggle-row input:checked+.toggle-track{background:#8acc94}.toggle-row input:checked+.toggle-track:after{transform:translateX(15px);background:#133d2c}.toggle-row input:focus-visible+.toggle-track{outline:2px solid var(--accent);outline-offset:3px}.water-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px}.water-row strong{display:block;font-size:19px;margin-top:4px;color:#c6e9e2}.water-row strong small{font-size:10px;color:#83ac9e}.bar-bg.water{margin:10px 0 0}.bar.waterfill{background:#6eb5c2}.score{border:1px solid #5b7963;color:#e6dca3;padding:6px 10px;border-radius:20px;font-weight:770;white-space:nowrap}.goal-list{display:grid;gap:8px}.goal{display:flex;gap:9px;align-items:flex-start;background:#1b372d;border:1px solid #395748;border-radius:9px;padding:10px}.goal-icon{min-width:20px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;border:1px solid #718977;color:#cbdcc8;font-size:12px;font-weight:780}.goal.passed .goal-icon{background:#a6d8a8;color:#15402a;border-color:#a6d8a8}.goal p{margin:0;color:#e3ede3;font-size:11px;line-height:1.45;font-weight:660}.goal small{display:block;color:#9dc3a6;margin-top:4px;font-size:10px;font-variant-numeric:tabular-nums}.finish-note{background:#b2d9aa19;border:1px solid #9fd3a459;border-radius:9px;padding:11px;margin-top:12px;color:#deefd8;line-height:1.55}.export-btn{width:100%;margin-top:14px;font-size:11px}.disclaimer{text-transform:uppercase;color:#739581;font-size:9px;line-height:1.7;letter-spacing:.07em;padding:8px 0 3px}
.modal-root{position:fixed;inset:0;z-index:45;display:grid;place-items:center;padding:20px}.modal-root[hidden]{display:none}.scrim{position:absolute;inset:0;background:#06150fe3;backdrop-filter:blur(7px)}.modal{position:relative;background:linear-gradient(140deg,#193d30,#102a22);border:1px solid #698c71;border-radius:18px;max-width:760px;max-height:min(92vh,750px);overflow:auto;padding:27px 30px 25px;box-shadow:0 24px 85px #0009}.modal-kicker{font-size:10px;letter-spacing:.17em;font-weight:750;color:#c6daae}.modal-top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:4px 0 12px}.modal-top h2{font-size:31px}.modal p{font-size:13px;color:#c5d7cb;line-height:1.68}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:21px 0}.help-grid>div{padding:15px;border:1px solid #466e59;border-radius:11px;background:#19423355}.help-grid h3{font-size:14px;color:#e7eee0;margin-bottom:8px}.help-grid p{font-size:12px;margin:0}.help-foot{border-top:1px solid #476958;padding-top:15px}.close-wide{width:100%}.error-banner{position:fixed;inset:auto 18px 20px 18px;z-index:90;max-width:620px;margin:auto;padding:20px;background:#3f2521;color:#fff1e8;border:1px solid #dc8f76;border-radius:10px;box-shadow:0 15px 45px #0008}.error-banner[hidden]{display:none}.error-banner p{margin:7px 0 0;line-height:1.6}
@media(max-width:1150px){.workspace{grid-template-columns:minmax(0,1fr) 340px}.dashboard-scroll{padding:17px 15px}.header{padding:11px 14px}.runstatus{display:none}.drag-hint{display:none}}
@media(max-width:860px){.header{align-items:flex-start;flex-wrap:wrap}.header-controls{width:100%;justify-content:flex-start}.workspace{height:auto;max-height:none;display:block}.world-panel{height:58vh;min-height:435px}.dashboard{height:auto;overflow:visible}.dashboard-scroll{height:auto;overflow:visible;padding:22px max(18px,5vw) 35px}.dashboard-head{max-width:720px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.world-left{bottom:100px}.day-counter strong{font-size:59px}}
@media(max-width:600px){.header{padding:9px 11px}.identity-mark{width:38px;height:38px;font-size:30px}.eyebrow{font-size:8px}.identity{gap:9px}h1{font-size:14px}h1 span{display:block;font-size:11px}.btn{padding:7px 10px;min-height:33px}.select.compact{min-height:33px}.header-controls{gap:6px}.only-wide{display:none}.world-panel{min-height:390px;height:54vh}.world-top{top:11px;left:10px;right:10px}.location-tag{font-size:8px;padding:6px 9px}.weather-box{min-width:0;padding:7px 9px}.weather-figures{font-size:9px;gap:6px}.weather-figures span+span{padding-left:6px}.world-left{left:12px;bottom:112px}.day-counter strong{font-size:49px}.scene-key{gap:8px;margin-top:10px;margin-left:8px;font-size:9px}.world-bottom{left:10px;right:10px;bottom:12px}.camera-row{margin-bottom:9px}.camera-btn{font-size:10px;padding:6px 8px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.world-marker{font-size:9px;padding:4px 6px 4px 5px}.world-marker .marker-swatch{width:10px;height:10px}.modal{padding:19px}.modal-top h2{font-size:24px}.help-grid{grid-template-columns:1fr}.weather-box .subline{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
