:root{font-family:ui-rounded,"Arial Rounded MT Bold","Trebuchet MS",Arial,sans-serif;color:#061c29;background:#cbeafb;font-synthesis:none;--ink:#061c29;--green:#afe4a0;--blue:#99d3fc;--red:#c7192b;--radius:42px;--shadow:0 8px 22px #204d6812}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 50% 40%,#eefaff77,transparent 70%),linear-gradient(125deg,#c3e6fa,#d6effc 60%,#bee2fa);font-size:24px}button,input{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible{outline:6px solid #112754;outline-offset:5px;box-shadow:0 0 0 10px #fff}button{transition:filter .15s,transform .15s}button:hover{filter:brightness(1.025)}button:active:not(:disabled){transform:scale(.987)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;left:20px;top:-100px;z-index:100;background:white;padding:20px}.skip-link:focus{top:20px}.landscape{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1}.hill{position:absolute;bottom:-160px;width:90%;height:220px;background:#a0d57b;border-radius:50% 65% 0 0;transform:rotate(6deg)}.hill-one{left:-12%;background:linear-gradient(100deg,#b4e396,#8ecb68)}.hill-two{right:-15%;bottom:-172px;background:#b0dc8c;transform:rotate(-5deg)}.branch{position:absolute;left:0;top:0;width:clamp(120px,20vw,280px);pointer-events:none;opacity:.86}.shell{max-width:1480px;margin:auto;padding:24px clamp(24px,4.3vw,68px) 14px;min-height:100dvh;display:flex;flex-direction:column}.home-header{text-align:center;position:relative;padding:0 0 22px}h1,h2,p{margin:0}h1{font-weight:800;letter-spacing:-.035em;line-height:1.12;font-size:clamp(38px,5.2vw,76px)}.home-header p{font-weight:700;letter-spacing:-.025em;font-size:clamp(25px,3.4vw,49px);line-height:1.3;margin:5px 0}.demo-note{font-size:clamp(16px,1.65vw,24px);line-height:1.4;font-weight:500}.home-main{display:grid;grid-template-rows:repeat(3,minmax(150px,1fr));gap:18px;flex:1;min-height:0}.big-button{width:100%;border:2px solid #ffffffc9;box-shadow:inset 0 1px 0 #ffffffb3,0 4px 0 #092c4510;display:flex;align-items:center;justify-content:center;gap:clamp(20px,4.5vw,68px);padding:20px 30px;border-radius:var(--radius);font-size:clamp(38px,6.8vw,100px);font-weight:800;letter-spacing:-.035em;line-height:1.1;text-align:left;min-height:170px}.big-button .icon{width:clamp(85px,15vw,208px);height:clamp(85px,15vw,208px);flex-shrink:0}.green{background:linear-gradient(115deg,#b9eaa9,#a6de98);color:#06210c}.blue{background:linear-gradient(115deg,#a8ddff,#8acbfa);color:#061d32}.red{background:linear-gradient(110deg,#d52137,#c01425);color:#fff}.big-button span{min-width:0}.footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 4px 0;position:relative}.text-button{border:0;background:transparent;min-height:44px;font-weight:700;font-size:20px;padding:7px 2px}.admin-entry{font-size:16px;padding:10px;min-width:44px}.page-header{position:relative;display:flex;align-items:center;gap:28px;margin-bottom:16px;min-height:96px}.page-header h1{font-size:clamp(34px,4.3vw,60px)}.back-button,.utility-button{border:2px solid #477084;background:#f7fcff;border-radius:20px;padding:15px 24px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:26px;font-weight:800;min-height:68px}.back-button svg,.utility-button svg{width:30px;height:30px}.page-demo{margin:0 0 22px;text-align:center;font-size:20px}.page-content{flex:1}.controls-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.control-button{border:2px solid #fff;border-radius:32px;box-shadow:var(--shadow);padding:28px;min-height:204px;display:flex;align-items:center;gap:24px;text-align:left;width:100%;font-size:clamp(28px,3vw,42px);font-weight:800;line-height:1.12;letter-spacing:-.025em}.control-button svg{width:78px;height:78px;flex-shrink:0}.control-button small{display:block;font-weight:600;font-size:20px;line-height:1.4;letter-spacing:0;margin-top:10px}.control-button[aria-pressed=true]{box-shadow:inset 0 0 0 3px #1d5c30,var(--shadow)}.control-state{padding:20px 0 8px;font-size:22px;line-height:1.5}.garden-summary{margin-top:24px;padding:22px 28px;background:#f4fff2c9;border:2px solid #79a96a;border-radius:24px;display:flex;align-items:center;gap:16px;font-size:24px}.garden-summary svg{width:36px;height:36px;flex-shrink:0}.garden-scene{margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.window-demo{width:180px;height:110px;background:linear-gradient(#9dd6fd 48%,#80bb67 48%);border:7px solid white;box-shadow:0 2px 12px #234b3430;position:relative;border-radius:4px;overflow:hidden;flex-shrink:0}.window-demo:after{content:"";position:absolute;top:0;left:calc(50% - 3px);width:6px;height:100%;background:white}.curtain{position:absolute;top:0;height:100%;width:50%;background:repeating-linear-gradient(90deg,#6b80b1,#8296c8 10px,#7687b7 20px);transition:width 1s;z-index:1}.curtain.left{left:0;border-radius:0 0 10px 0}.curtain.right{right:0;border-radius:0 0 0 10px}.window-demo.open .curtain{width:16%}.camera-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.camera-card{padding:0;background:white;border:3px solid #fff;border-radius:28px;overflow:hidden;text-align:left;box-shadow:var(--shadow);width:100%}.camera-card .camera-scene{aspect-ratio:2.1}.camera-scene{position:relative;overflow:hidden;background:#294635;isolation:isolate;aspect-ratio:16/9;width:100%}.camera-photo{position:absolute;inset:0;background-image:url('/cameras.webp');background-size:200% 200%;filter:saturate(.88);transform:scale(1.015);animation:camera-drift 18s ease-in-out infinite alternate}.cam-front{background-position:0 0}.cam-garden{background-position:100% 0}.cam-living{background-position:0 100%}.cam-side{background-position:100% 100%}.camera-scan{position:absolute;inset:0;background:repeating-linear-gradient(transparent 0 3px,#00000005 3px 4px);pointer-events:none}.camera-meta{position:absolute;left:14px;top:14px;right:14px;display:flex;gap:12px;justify-content:space-between;font-family:Arial,sans-serif;font-weight:700;color:white;font-size:15px;text-shadow:0 1px 3px black}.camera-meta span{background:#051b24d9;border-radius:6px;padding:7px 10px}.live-indicator:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:#80ed9b;margin-right:7px;animation:live-pulse 2s ease infinite}.camera-label{padding:18px 23px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:32px;font-weight:800}.camera-label svg{width:28px;height:28px}.camera-hint{font-size:20px;font-weight:500;margin-top:4px}.feed-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px;font-size:22px}.feed-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:24px;align-items:start}.feed-frame{border:4px solid white;border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}.feed-tools{display:grid;gap:16px}.feed-tools .control-button{min-height:125px;padding:22px;font-size:32px;border-radius:26px}.feed-tools .control-button svg{width:56px;height:56px}.feed-tools .control-button small{font-size:18px;margin-top:7px}.feed-disclaimer{font-size:19px;line-height:1.5;margin-top:16px}.door-state{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;font-size:21px;font-weight:700}.door-state span{background:#f9fcffd9;border:1px solid #7892a0;border-radius:12px;padding:12px 16px}.door-overlay{position:absolute;bottom:14px;left:14px;color:white;background:#061c29d9;padding:10px 14px;border-radius:10px;font-size:18px}.help-shell{position:relative;text-align:center;justify-content:center;gap:22px;padding:35px clamp(28px,8vw,120px);isolation:isolate}.help-shell:before,.help-shell:after{content:"";position:fixed;top:0;bottom:0;width:26px;z-index:-1;background:#d5172e;animation:help-flash 2s ease-in-out infinite}.help-shell:before{left:0}.help-shell:after{right:0;animation-delay:.25s}.help-icon{color:#bd1426;margin:0 auto;width:120px;height:120px}.help-shell h1{font-size:clamp(40px,6vw,80px)}.countdown{font-size:clamp(130px,19vw,230px);font-weight:800;line-height:1;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.help-message{font-size:clamp(24px,2.5vw,34px);line-height:1.4}.cancel-button{margin:5px auto 0;max-width:950px;font-size:clamp(40px,5.8vw,76px);min-height:160px;text-align:center}.cancel-button svg{width:80px;height:80px}.connecting-dots{display:flex;gap:14px;justify-content:center;height:70px;align-items:center}.connecting-dots span{height:20px;width:20px;background:#c7192b;border-radius:50%;animation:connect-pulse 1.4s ease-in-out infinite}.connecting-dots span:nth-child(2){animation-delay:.2s}.connecting-dots span:nth-child(3){animation-delay:.4s}dialog{border:3px solid #34546a;border-radius:30px;padding:36px;max-width:min(650px,calc(100% - 32px));width:650px;color:var(--ink);background:#f7fcff;box-shadow:0 20px 100px #041b3266}dialog::backdrop{background:#071d3bad;backdrop-filter:blur(6px)}dialog h2{font-size:36px;line-height:1.2;margin-bottom:16px;letter-spacing:-.025em}dialog p{font-size:23px;line-height:1.5;margin-bottom:22px}dialog label{display:block;font-weight:700;font-size:23px;margin-bottom:10px}dialog input{padding:18px;width:100%;border:2px solid #557284;border-radius:12px;margin-bottom:18px;font-size:24px}dialog button{min-height:74px;width:100%;border:2px solid #385b6f;border-radius:18px;background:#e0effa;font-size:25px;font-weight:800;padding:15px 22px}dialog button+button{margin-top:14px}dialog button.danger{color:#fff;background:#c7192b;border-color:#9c1121}dialog button.primary{background:#aee4a1;border-color:#417c36}.form-error{color:#9c1022;font-weight:700;min-height:25px;font-size:20px;margin-bottom:14px}.admin-panel{background:#f7fcff;border-radius:28px;padding:32px;box-shadow:var(--shadow)}.admin-panel p{line-height:1.5;margin-bottom:22px}.admin-actions{display:flex;gap:20px;flex-wrap:wrap}.admin-actions button{flex:1;min-width:230px}.admin-log{font-size:20px;line-height:1.7;margin:24px 0 0;padding-left:30px}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:30;max-width:calc(100% - 36px);width:max-content;border-radius:20px;padding:18px 28px;background:#062b22;color:white;box-shadow:0 6px 30px #0004;font-weight:700;font-size:24px;text-align:center}.neutral{background:#f3faff;color:#102b40}.water{background:linear-gradient(115deg,#a9dfff,#96d2f7)}.purple{background:linear-gradient(115deg,#d9d4f6,#c5bce9)}.subtle-note{font-size:19px;line-height:1.5}.inline-help{margin-top:20px;display:flex;justify-content:flex-end}.inline-help button{background:#c7192b;border:2px solid #fff;color:white;border-radius:18px;padding:16px 25px;min-height:70px;font-weight:800;font-size:25px;display:flex;align-items:center;gap:12px}.inline-help svg{width:32px;height:32px}@keyframes help-flash{0%,100%{opacity:.3}50%{opacity:1}}@keyframes camera-drift{to{transform:scale(1.035) translateX(-.3%)}}@keyframes live-pulse{50%{opacity:.4}}@keyframes connect-pulse{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-9px)}}@media(min-width:1100px) and (min-height:850px){.shell.home{padding-top:20px}.home-header{padding-bottom:24px}.home-main{gap:20px}.big-button{min-height:205px}.footer{padding-top:22px}}@media(max-width:900px){.feed-layout{grid-template-columns:1fr}.feed-tools{grid-template-columns:1fr 1fr}.feed-tools .control-button{font-size:28px;min-height:130px}.feed-tools .control-button svg{width:48px;height:48px}.big-button{font-size:clamp(36px,6.8vw,64px);border-radius:34px}.branch{opacity:.55}.home-header{padding-top:18px}.control-button{gap:15px;padding:24px;min-height:190px}.control-button svg{width:62px;height:62px}.camera-label{font-size:28px}.camera-meta{font-size:12px;gap:4px;left:9px;right:9px;top:9px}.camera-meta span{padding:5px 7px}}@media(max-width:600px){body{font-size:20px}.shell{padding:20px 18px 10px}.home-header{padding:20px 0}.home-header h1{font-size:37px}.home-header p{font-size:25px;margin:10px 0}.demo-note{font-size:16px}.home-main{gap:16px;grid-template-rows:repeat(3,minmax(130px,1fr))}.big-button{gap:18px;padding:22px 20px;min-height:140px;font-size:clamp(31px,7.5vw,44px);border-radius:28px;letter-spacing:-.04em;justify-content:flex-start}.big-button .icon{width:74px;height:74px}.footer{gap:8px;padding-top:14px}.text-button{font-size:16px}.admin-entry{font-size:14px}.page-header{gap:14px;flex-wrap:wrap;min-height:0;margin:0 0 18px;padding-top:8px}.page-header h1{font-size:36px;order:2;width:100%}.back-button{font-size:21px;padding:12px 18px;min-height:60px}.page-demo{font-size:16px;margin-bottom:20px;text-align:left}.controls-grid{grid-template-columns:1fr;gap:16px}.control-button{font-size:30px;min-height:140px;border-radius:25px;padding:23px;gap:22px}.control-button svg{width:62px;height:62px}.control-button small{font-size:18px;margin-top:6px}.garden-summary{padding:19px;font-size:20px;margin-top:20px}.garden-scene{align-items:flex-start}.window-demo{width:110px;height:90px}.camera-grid{grid-template-columns:1fr;gap:20px}.camera-card .camera-scene{aspect-ratio:1.8}.camera-label{font-size:29px;padding:17px}.camera-meta{font-size:13px}.feed-heading{font-size:18px;flex-wrap:wrap;gap:8px}.feed-tools{grid-template-columns:1fr}.feed-tools .control-button{min-height:110px}.feed-disclaimer{font-size:17px}.help-shell{gap:20px;padding:30px 32px;min-height:100dvh}.help-shell:before,.help-shell:after{width:12px}.help-icon{width:90px;height:90px}.help-shell h1{font-size:40px}.countdown{font-size:150px}.cancel-button{font-size:39px;min-height:140px;justify-content:center;gap:15px}.cancel-button svg{width:52px;height:52px}.help-message{font-size:22px}dialog{padding:26px}dialog h2{font-size:30px}dialog p{font-size:20px}dialog button{font-size:23px}.admin-panel{padding:24px}.inline-help{justify-content:stretch}.inline-help button{width:100%;justify-content:center}.toast{font-size:20px;padding:16px 22px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.help-shell:before,.help-shell:after{opacity:1}}@media(forced-colors:active){button{border:3px solid ButtonText}.camera-photo{forced-color-adjust:none}} 
/* Keep all three primary controls visible together at tablet sizes. */
.shell.home{height:100dvh;min-height:720px}.home .home-main{grid-template-rows:repeat(3,minmax(0,1fr))}.home .big-button{display:grid;grid-template-columns:clamp(85px,15vw,180px) minmax(0,1fr);gap:clamp(20px,4vw,60px);padding:14px clamp(25px,6vw,90px);min-height:0}.home .big-button .icon{width:100%;height:min(17vh,180px)}@media(max-width:600px){.shell.home{min-height:660px}.home .big-button{grid-template-columns:74px minmax(0,1fr);gap:18px;padding:20px}.home .big-button .icon{width:74px;height:74px}.home-header h1{font-size:clamp(30px,8.5vw,37px)}}
.landscape{z-index:0}#app{position:relative;z-index:1}.branch{z-index:0}
