@font-face{font-family:Amparo;src:local("Segoe UI")}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{font-family:Amparo,Trebuchet MS,sans-serif;color:#263f36;background:#f6f5ef;font-size:15px;-webkit-tap-highlight-color:transparent}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-touch-callout:default}button{cursor:pointer}button{border:0;background:none;color:inherit}a{color:inherit}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #82a869;outline-offset:4px}svg.lucide{width:20px;height:20px;flex-shrink:0}button svg,a svg{vertical-align:middle}button{min-height:44px}button:hover{filter:brightness(.96)}[hidden]{display:none!important}.app-shell{display:grid;grid-template-columns:248px minmax(400px,1fr) 300px;height:100dvh;max-width:1800px;margin:auto}.sidebar{border-right:1px solid #dedfd5;padding:35px 22px 24px;display:flex;flex-direction:column;background:#f0f0e7}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:32px;font-weight:650;letter-spacing:-1.6px}.brand-symbol{background:#173f35;color:#d8ebbc;width:44px;height:44px;border-radius:14px;display:grid;place-items:center}.brand-symbol svg{width:34px}.brand-dot{color:#8a9d6d}.side-caption{font-size:9px;letter-spacing:1.6px;margin:20px 0 35px;color:#6a796c}.new-chat{display:flex;justify-content:center;align-items:center;gap:10px;background:#173f35;color:#f5f7ed;border-radius:12px;padding:13px 15px;box-shadow:0 3px 8px #173f3510}.side-nav{display:flex;flex-direction:column;gap:6px;margin-top:25px}.side-nav button{display:flex;align-items:center;gap:13px;padding:14px 13px;text-align:left;font-size:13px;border-radius:10px;color:#6d796d}.side-nav button.active{background:#e1e7d7;color:#23493c;font-weight:600}.nav-dot{width:7px;height:7px;border-radius:50%;background:#b69453;margin-left:auto}.nav-dot.ready{background:#54815f}.side-bottom{margin-top:auto}.privacy-card{border:1px solid #d6ddce;border-radius:14px;padding:18px;color:#67775f;font-size:12px}.privacy-card>svg{display:block;margin-bottom:11px;color:#809664}.privacy-card strong{color:#3f5846;font-size:12px}.privacy-card p{line-height:1.7;margin-bottom:0}.side-settings{display:flex;align-items:center;gap:9px;font-size:12px;padding:20px 3px 14px}.version{font-size:8px;color:#86907f;letter-spacing:1px}main{min-width:0;display:flex;flex-direction:column;height:100dvh;position:relative}.topbar{height:91px;min-height:91px;display:flex;align-items:center;gap:16px;border-bottom:1px solid #e7e7df;padding:0 35px}.desktop-label{font-size:9px;letter-spacing:1.7px;color:#899080;margin-right:auto}.status-pill{display:flex;align-items:center;gap:8px;border:1px solid #dce1d3;border-radius:30px;padding:0 12px;font-size:11px;white-space:nowrap;min-height:33px}.status-pill svg{width:13px;height:13px}.status-dot{width:6px;height:6px;background:#b59658;border-radius:50%}.status-dot.ready{background:#558762}.sos-button{display:flex;gap:7px;align-items:center;font-size:12px;color:#9a5c47}.sos-button svg{width:16px}.mobile-brand{display:none}.view{flex:1;min-height:0}.chat-view{display:flex;flex-direction:column}.messages{flex:1;overflow-y:auto;padding:46px max(30px,calc((100% - 690px)/2)) 25px;scroll-behavior:smooth;overscroll-behavior:contain}#welcome{max-width:650px;margin:0 auto}.intro-label,.eyebrow{font-size:9px;font-weight:600;letter-spacing:2px;color:#7d8973;display:flex;align-items:center;gap:10px}.little-line{width:25px;height:1px;background:#9bac83}h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(33px,3.4vw,51px);line-height:1.13;font-weight:400;letter-spacing:-1.7px;margin:21px 0}h1 em,h2 em{font-weight:400;color:#6e8764}h2{font-family:Georgia,Times New Roman,serif;font-size:30px;font-weight:400;line-height:1.2;letter-spacing:-.8px}.intro-copy{font-size:14px;line-height:1.8;color:#778172;margin:0 0 28px}.intro-copy strong{font-weight:600;color:#465f4e}.download-card{display:flex;gap:16px;border:1px solid #dbe2cf;border-radius:17px;padding:20px;background:#eaefdf;position:relative;overflow:hidden}.download-icon{display:grid;place-items:center;border:1px solid #d5dec8;border-radius:12px;background:#f3f5e9;height:44px;width:44px;flex-shrink:0}.download-icon svg{color:#69845c}.download-card strong{font-size:14px;color:#3c583e}.download-card p{font-size:12px;color:#78836a;margin:7px 0 12px}.download-card button{display:flex;gap:9px;align-items:center;padding:9px 12px;background:#294f3e;color:#f4f8ed;border-radius:9px;font-size:12px;min-height:37px}.download-card button svg{width:15px;height:15px}.download-card button svg:last-child{margin-left:15px}.topic-label{display:block;font-size:9px;letter-spacing:1.4px;color:#8a9181;margin:26px 0 12px}.topics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.topics button{display:flex;align-items:center;gap:12px;border:1px solid #dfe2d7;border-radius:12px;padding:16px 12px;font-size:12px;text-align:left;background:#fafaf5}.topics button>svg:first-child{color:#7c926b;width:19px}.topics button>svg:last-child{margin-left:auto;width:13px;color:#a0aa94}.welcome-foot{display:flex;align-items:center;gap:6px;font-size:10px;color:#929985;margin-top:22px}.welcome-foot svg{width:13px;height:13px}.composer-wrap{padding:6px max(30px,calc((100% - 690px)/2)) 22px;background:#f6f5ef}.composer-note{font-size:10px;color:#88917f;margin:0 4px 10px}#chat-form{display:flex;gap:10px;align-items:flex-end;border:1px solid #d9dece;background:#fffef9;border-radius:16px;padding:9px 10px 9px 17px;box-shadow:0 6px 24px #274a3910}textarea{resize:vertical;line-height:1.6}#message{resize:none;width:100%;max-height:130px;border:0;background:transparent;outline:none;min-height:40px;padding:9px 0;color:#2f4838;font-size:14px}#message::placeholder{color:#9ca28e}.send-button,.stop-button{height:40px;min-height:40px;min-width:40px;background:#193f34;color:#fff;border-radius:11px;display:grid;place-items:center}.stop-button{background:#9c684a}.composer-foot{display:flex;gap:10px;justify-content:space-between;font-size:8px;color:#969d8c;margin-top:11px}.composer-foot>span:first-child{display:flex;gap:4px;align-items:center;white-space:nowrap}.composer-foot svg{width:11px;height:11px}.companion-panel{border-left:1px solid #e1e3d8;background:#f0f1e8;padding:40px 26px;display:flex;flex-direction:column}.companion-panel .eyebrow{font-size:8px;letter-spacing:1.6px}.compass-art{position:relative;width:200px;height:200px;margin:27px auto 10px;display:grid;place-items:center;border:1px solid #d9e0ce;border-radius:50%;background:radial-gradient(circle,#e1ead3 0%,transparent 70%)}.compass-art>svg{width:74px;color:#5e8058}.orbit{position:absolute;border:1px solid #dce3d2;border-radius:50%;top:14px;right:14px;bottom:14px;left:14px}.orbit.b{top:34px;right:34px;bottom:34px;left:34px;border-style:dashed}.tiny-star{position:absolute;right:15px;top:26px;color:#7c936a;font-size:29px;background:#f0f1e8}.companion-panel h2{font-size:25px;letter-spacing:-.7px;margin:12px 0 13px}.companion-panel>p{font-size:12px;line-height:1.8;color:#7f8976;margin:0 0 27px}.mini-step{display:flex;gap:13px;padding:17px 0;border-top:1px solid #dfe4d6}.mini-step>span{font-size:10px;font-family:Georgia,serif;color:#94a080;padding-top:3px}.mini-step strong{display:block;font-size:11px;font-weight:600}.mini-step small{display:block;font-size:10px;line-height:1.6;color:#8a937e;margin-top:5px}.text-button{display:flex;align-items:center;gap:7px;color:#55744d;font-size:12px;text-align:left}.text-button svg{width:15px}.quiet-note{margin-top:auto;border-top:1px solid #dfe4d6;padding-top:20px;font-size:10px;color:#8f9785;line-height:1.7;display:flex;gap:9px}.quiet-note svg{width:17px}.mobile-nav{display:none}.message{margin-bottom:27px;max-width:100%}.message-label{display:flex;align-items:center;gap:8px;font-size:10px;color:#7d8a74;margin-bottom:10px;font-weight:600}.avatar{width:27px;height:27px;border-radius:9px;background:#dce7cd;color:#4d6d4e}.avatar svg{width:27px;height:27px}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:14px;color:#364c3e}.message.user{margin-left:15%}.message.user .message-label{justify-content:flex-end;font-size:8px}.message.user .bubble{background:#e9eddf;border:1px solid #dee4d4;border-radius:16px 16px 4px;padding:14px 18px}.message.assistant{padding-right:3%}.thinking{display:flex;align-items:center;gap:5px;color:#7c8d70;font-size:11px;margin-top:10px}.thinking span{width:4px;height:4px;border-radius:50%;background:#8aa476;animation:pulse 1.5s infinite}.thinking span:nth-child(2){animation-delay:.2s}.thinking span:nth-child(3){animation-delay:.4s;margin-right:5px}@keyframes pulse{50%{opacity:.2}}.urgent-notice{padding:13px;border:1px solid #dfc7b5;background:#f2e7dc;border-radius:10px;font-size:12px;line-height:1.6;color:#905336;margin-bottom:13px}.urgent-notice button{font-size:12px;text-decoration:underline;font-weight:700;min-height:30px}.message-error{padding:12px;margin-top:9px;background:#f2e7dc;border-radius:9px;font-size:12px;line-height:1.6;color:#87563d}.message-error button{text-decoration:underline;display:block}.references{margin-top:12px;font-size:10px;color:#849176}.references summary{cursor:pointer;padding:8px 0}.references a,.references small{display:block;padding:5px 0;line-height:1.6}dialog{border:1px solid #d9dfce;border-radius:22px;background:#f9f9f1;color:#2b4939;max-width:570px;width:calc(100% - 30px);max-height:90dvh;padding:25px 29px;box-shadow:0 30px 100px #102c3b40}dialog::backdrop{background:#122a2866;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between}.dialog-top .eyebrow{font-size:8px;letter-spacing:1.5px}.icon-button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e9eddf}.dialog-intro{font-size:13px;color:#78846c;line-height:1.8}#dialog-body h2{margin-top:17px}#dialog-body>p{font-size:13px;line-height:1.8;color:#6e7b64}.setup-steps{list-style:none;padding:0;margin-top:27px}.setup-steps>li{display:flex;gap:13px;margin-bottom:27px}.setup-steps>li>span{border:1px solid #cdd9bc;color:#698452;background:#eaf0df;border-radius:50%;height:26px;width:26px;min-width:26px;display:grid;place-items:center;font-size:11px}.setup-steps strong{font-size:14px}.setup-steps p{font-size:12px;color:#7d876d;line-height:1.8}.primary,.secondary{border-radius:10px;padding:12px 17px;display:inline-flex;justify-content:center;align-items:center;gap:9px;font-size:13px}.primary{background:#214b3a;color:#f7faee}.secondary{background:#e9eedf;border:1px solid #d5dfc5;color:#47673e}.full{width:100%}.progress-box{margin:15px 0}.progress-track{height:5px;background:#e1e6d8;border-radius:5px;overflow:hidden}.progress-track span{display:block;height:100%;background:#6c8c56;transition:width .3s}.progress-box p{min-height:22px;font-size:11px}.info-note{display:flex;align-items:flex-start;gap:10px;background:#edf0e4;border:1px solid #dee6d2;border-radius:12px;padding:14px;font-size:11px;line-height:1.8;color:#7b876c;margin:20px 0}.info-note p{margin:0}.info-note svg{margin-top:2px}.fineprint{font-size:10px!important;line-height:1.8;color:#909981!important}form label{display:block;font-size:12px;font-weight:600;margin:20px 0 9px}form label span{font-weight:400;color:#8c977f}input:not([type=checkbox]),#ai-notes{border:1px solid #d4ddc9;background:#fffef8;color:#31523a;border-radius:10px;padding:12px;width:100%;font-size:16px}.field-help{font-size:11px;line-height:1.8;color:#8a967c;margin:8px 0 20px}.settings-actions{margin-top:20px;display:flex;flex-direction:column}.settings-actions button{display:flex;align-items:center;gap:10px;font-size:12px}.source-list a{display:flex;gap:9px;justify-content:space-between;padding:13px 0;border-bottom:1px solid #e1e7d9;font-size:12px}.source-list svg{width:14px}h3{font-size:14px;margin-top:25px}.emergency-links a{display:flex;align-items:center;gap:15px;text-decoration:none;padding:18px 12px;border:1px solid #dedfcd;border-radius:11px;margin:10px 0}.emergency-links a>span{flex:1;font-size:14px}.emergency-links a>span svg{margin-right:5px;width:16px}.emergency-links small{display:block;font-size:10px;color:#839073;margin:6px 0 0 25px}.emergency-links strong{font-family:Georgia,serif;font-size:26px;font-weight:400}.emergency-links a>svg{width:18px;color:#839569}.history-list button{display:flex;align-items:center;gap:10px;width:100%;padding:15px 0;border-bottom:1px solid #e1e7d9;font-size:12px;text-align:left}.history-list button span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-list{margin-bottom:25px}.plan-view{overflow:auto;padding:45px 38px}.plan-view h1{font-size:37px}.plan-view>p{font-size:13px;line-height:1.8;color:#7b8770}.plan-count{font-size:11px;padding:12px 0;color:#80936e}.checklist{margin:5px 0 25px}.checklist label{display:flex;gap:13px;align-items:center;padding:16px 0;border-bottom:1px solid #dfe5d5;font-size:13px;cursor:pointer}.checklist input{width:20px;height:20px;accent-color:#4b7143}.checklist input:checked+span{color:#8c9a7a;text-decoration:line-through}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);background:#264d3e;color:#fffef2;padding:15px 22px;border-radius:13px;max-width:90%;width:max-content;box-shadow:0 8px 35px #163a3525;font-size:13px;line-height:1.5;opacity:0;pointer-events:none;z-index:20;transition:.2s}.toast.show{opacity:1;transform:translate(-50%)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.messages{padding-top:70px}.intro-copy{margin-bottom:35px}.download-card{padding:25px}.topics button{padding:19px 15px}.topic-label{margin-top:30px}.companion-panel{padding:43px 32px}}@media(max-width:1200px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.companion-panel{display:none}.sidebar{padding-left:17px;padding-right:17px}.topbar{padding:0 25px}.messages{padding-top:40px}h1{font-size:44px}}@media(max-width:700px){.app-shell{display:block;height:100dvh}.sidebar{display:none}.topbar{height:76px;min-height:76px;padding:env(safe-area-inset-top) 18px 0;gap:10px}.desktop-label{display:none}.mobile-brand{display:flex;font-size:24px;letter-spacing:-1px;gap:7px;margin-right:auto}.brand-symbol{height:33px;width:33px;border-radius:10px}.brand-symbol svg{width:27px}.status-pill{font-size:9px;gap:5px;min-height:31px;padding:0 9px}.status-pill svg{display:none}.sos-button{width:34px;min-height:40px;padding:0;justify-content:center}.sos-button svg{width:18px;height:18px}.sos-button span{display:none}.messages{padding:29px 22px 18px}h1{font-size:37px;line-height:1.14;letter-spacing:-1.3px;margin:20px 0}.intro-label{font-size:8px;letter-spacing:1.5px}.intro-copy{font-size:13px;line-height:1.8;margin-bottom:23px}.download-card{padding:17px 14px;gap:12px}.download-card strong{font-size:12px}.download-card p{font-size:11px}.download-icon{width:36px;height:36px;border-radius:10px}.download-icon svg{width:18px}.download-card button{font-size:11px;padding:9px 10px}.download-card button svg:last-child{margin-left:4px}.topics{gap:9px}.topics button{font-size:11px;padding:13px 10px;gap:7px;min-height:53px}.topics button>svg:first-child{width:17px}.topics button>svg:last-child{display:none}.topic-label{font-size:8px;margin-top:23px}.welcome-foot{font-size:9px;margin-top:18px;line-height:1.5}.composer-wrap{padding:8px 15px 12px}.composer-note{font-size:9px;line-height:1.5}.composer-foot{font-size:7px;gap:8px;margin-top:8px}.composer-foot>span:last-child{text-align:right}#message{font-size:16px;padding-top:8px}#chat-form{padding:8px 8px 8px 14px;border-radius:15px}.mobile-nav{display:flex;justify-content:space-around;background:#f0f1e8;border-top:1px solid #dfe3d5;padding:5px 8px calc(5px + env(safe-area-inset-bottom));flex-shrink:0}.mobile-nav button{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;color:#8b957d;font-size:8px;min-width:60px;padding:5px}.mobile-nav button svg{width:18px;height:18px}.mobile-nav button.active{color:#385d43}.companion-panel{display:none}dialog{padding:19px 20px;max-height:92dvh;border-radius:19px}.dialog-top .eyebrow{font-size:7px;letter-spacing:1.1px}h2{font-size:28px}.setup-steps>li{gap:10px}.setup-steps p{font-size:12px}.message.user{margin-left:10%}.bubble{font-size:14px;line-height:1.85}.message.assistant{padding-right:0}.plan-view{padding:29px 22px}.plan-view h1{font-size:34px}.toast{bottom:85px;font-size:12px}.status-pill{max-width:155px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}@media(max-width:370px){h1{font-size:32px}.messages{padding-left:17px;padding-right:17px}.status-pill{font-size:8px}.mobile-brand{font-size:21px}.download-icon{display:none}.composer-foot>span:first-child{display:none}}.app-shell{grid-template-columns:210px minmax(0,1fr);max-width:1300px}.companion-panel,.privacy-card,.side-caption,.version,.desktop-label,.intro-label,.composer-foot,.welcome-foot{display:none}.side-nav{gap:12px}.sidebar{padding-top:28px}.topbar{justify-content:flex-end}.messages{padding-top:65px}.download-card{margin-top:30px}.composer-note{font-size:11px;line-height:1.6}.settings-actions summary{cursor:pointer;padding:15px 0;font-size:13px}#settings-form textarea{width:100%;border:1px solid #d4ddc9;background:#fffef8;border-radius:10px;padding:12px;color:#31523a;font-size:16px}#settings-form label{margin-top:26px;line-height:1.6}.intro-copy{max-width:330px}.mobile-nav{padding-top:9px;padding-bottom:calc(9px + env(safe-area-inset-bottom))}@media(max-width:700px){.app-shell{display:block}.messages{padding-top:42px}.composer-note{font-size:10px}.mobile-brand{margin-right:auto}.topbar{gap:8px}.status-pill{font-size:8px}}.plan-view{max-width:760px;width:100%;align-self:center;padding-bottom:45px}.plan-view h1{font-size:38px;margin-top:0}.plan-subtitle{display:block;font:14px Trebuchet MS,sans-serif;letter-spacing:0;color:#7b8770;margin-top:12px}.plan-card{padding:22px;background:#fffef8;border:1px solid #dce2d2;border-radius:16px;margin:22px 0}.plan-card h2,.plan-inventory h2{font:600 18px Trebuchet MS,sans-serif;letter-spacing:0;margin:0 0 15px}.plan-card p,.plan-inventory>p{font-size:13px;line-height:1.7;color:#687960}.plan-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.plan-card label{display:block;font-size:13px;line-height:1.7}.plan-card input{display:block;margin-top:8px}.plan-card small{display:block;font-size:11px;line-height:1.7;color:#78836c;margin-top:12px}.water-card{background:#edf2e4}.water-target{margin:20px 0}.water-target strong{display:block;font:38px Georgia,serif;color:#31553a}.water-target span{display:block;font-size:12px;margin-top:5px}.water-input input{max-width:180px}.plan-detail{margin-top:20px;border-top:1px solid #d6dfca;padding-top:15px}.plan-detail summary,.item-notes summary{cursor:pointer;font-size:12px}.plan-detail a{font-size:12px}#water-warning{color:#945127}.plan-progress{font-size:13px;color:#526e47;margin:18px 0}.inventory-category{border:1px solid #dce2d2;border-radius:13px;background:#fffef8;margin:12px 0;padding:0 17px}.inventory-category>summary{cursor:pointer;padding:19px 0;font-size:14px;font-weight:600}.inventory-category>summary span{float:right;font-size:11px;color:#7e8b73;padding-left:5px}.inventory-item{padding:18px 0;border-top:1px solid #e4e9dc}.inventory-item>label{display:block;font-size:14px;line-height:1.6;margin-bottom:9px}.inventory-item select{padding:11px;border:1px solid #cdd8c2;border-radius:9px;background:#f4f7ee;color:#355537;width:100%;font:14px Trebuchet MS,sans-serif}.item-notes{margin-top:12px;color:#738366}.item-notes label{display:block;font-size:12px;margin:14px 0 7px}.item-notes input{font-size:14px!important}.plan-save,.plan-footnote{font-size:11px!important;line-height:1.7;color:#78846e}.plan-footnote{margin-top:20px}@media(max-width:700px){.plan-view{padding:26px 18px 35px}.plan-card{padding:18px}.plan-view h1{font-size:34px}}.inventory-category>summary{display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:6px 12px;list-style:none;padding:18px 0}.inventory-category>summary::-webkit-details-marker{display:none}.inventory-category>summary .category-title{float:none;padding:0;font-size:15px;color:#263f36;grid-column:1}.inventory-category>summary .category-status{float:none;padding:0;font-size:12px;font-weight:400;line-height:1.5;color:#687960;grid-column:1}.inventory-category>summary .category-arrow{grid-column:2;grid-row:1/3;align-self:center;font-size:23px;float:none;padding:0;color:#526e47;transition:transform .15s}.inventory-category[open]>summary .category-arrow{transform:rotate(180deg)}.inventory-category[open]>summary{border-bottom:1px solid #e4e9dc}.inventory-category .water-card{margin:16px 0;border:0;border-radius:10px;padding:16px}.water-card .water-heading{margin-top:24px}.plan-progress{margin:20px 0 14px}.inventory-category>summary:focus-visible{outline:3px solid #82a869;outline-offset:3px;border-radius:8px}.thinking-work{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:12px;max-width:380px;padding:18px 20px;background:#edf1e5;border:1px solid #dce4d2;border-radius:16px;margin-top:12px}.thinking-stage{display:block;font-size:14px;font-weight:600;color:#36583d}.thinking-help{display:block;font-size:12px;line-height:1.6;color:#708064;margin-top:5px}.thinking-orbit{height:34px;width:34px;position:relative;display:flex;align-items:center;justify-content:center;gap:4px}.thinking-orbit i{display:block;width:7px;height:7px;border-radius:50%;background:#72945a;animation:amparo-breathe 1.5s ease-in-out infinite}.thinking-orbit i:nth-child(2){animation-delay:.2s}.thinking-orbit i:nth-child(3){animation-delay:.4s}.thinking-track{grid-column:1/-1;height:3px;overflow:hidden;background:#dce5cf;border-radius:5px;margin-top:3px}.thinking-track i{display:block;width:35%;height:100%;background:#78965c;border-radius:5px;animation:amparo-flow 2.5s ease-in-out infinite alternate}@keyframes amparo-breathe{0%,70%,to{transform:translateY(0) scale(.8);opacity:.45}35%{transform:translateY(-7px) scale(1);opacity:1}}@keyframes amparo-flow{0%{transform:translate(-110%)}to{transform:translate(300%)}}@media(prefers-reduced-motion:reduce){.thinking-orbit i,.thinking-track i{animation:none}.thinking-track i{width:100%;opacity:.45}}.welcome-message .bubble{background:#edf1e5;border:1px solid #dce4d2;border-radius:16px;padding:18px 20px}.welcome-message .bubble p{margin:0 0 12px}.welcome-message .bubble p:last-child{margin-bottom:0}.welcome-message{margin-bottom:26px}#app-update{position:fixed;z-index:30;top:85px;right:20px;max-width:360px;margin-left:20px;padding:16px;background:#f6f8ee;border:1px solid #aec39c;border-radius:14px;box-shadow:0 8px 28px #163a3520;color:#31523a}#app-update p{font-size:13px;line-height:1.6;margin:0 0 10px}#app-update button{background:#214b3a;color:#fff;border-radius:9px;padding:10px 15px;width:100%}@media(max-width:700px){#app-update{top:82px;right:12px;margin-left:12px;max-width:calc(100% - 24px)}}:root{--ink:#203f35;--muted:#526451;--paper:#faf9f4;--line:#d6ded1}body{background:var(--paper);color:var(--ink)}.brand-name{font-size:24px;letter-spacing:-.8px;line-height:1.05}.brand-name small{display:block;font-size:13px;letter-spacing:2px;font-weight:400;margin-top:4px}.sidebar .brand{margin-bottom:26px}.topbar{background:var(--paper)}.chat-tools{display:flex;align-items:center;gap:12px;padding:6px 30px;border-bottom:1px solid var(--line);flex-shrink:0}.chat-tools>span{margin-right:auto;font-size:12px;color:var(--muted)}.chat-tools button{display:flex;align-items:center;gap:6px;font-size:13px}.chat-tools svg{width:17px}.messages{padding-top:24px}.download-card{margin:0 0 26px;background:#edf1e6}.download-card p{color:var(--muted)}.download-card button{min-height:44px}.welcome-message .message-label{display:none}.welcome-message .bubble{border:0;background:none;padding:0}.welcome-message h1{font-size:36px;line-height:1.14;margin:4px 0 16px;max-width:300px}.welcome-message p{color:var(--muted);line-height:1.6}.welcome-message .topics{margin-top:24px;white-space:normal}.topics button{font-size:14px;min-height:54px;background:#fffefb}.bubble{font-size:16px;line-height:1.7}.message-label{font-size:12px;color:var(--muted)}.message.user .message-label{font-size:11px}.references{font-size:12px;color:var(--muted)}.references summary{min-height:44px;display:flex;align-items:center}.references small{font-size:12px}.composer-wrap{background:var(--paper)}.composer-note{font-size:12px;color:var(--muted)}#chat-form:focus-within{border-color:#3b6c53;box-shadow:0 0 0 2px #3b6c5320}.send-button,.stop-button{min-height:44px;height:44px;min-width:44px}#message{font-size:16px}#message::placeholder{color:#66745f}.quick-options{display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:20px 0}.quick-options button{display:flex;align-items:center;gap:12px;text-align:left;padding:14px;font-size:15px;background:#eef2e7}.quick-options button+button{border-top:1px solid var(--line)}.quick-options button svg:last-child{margin-left:auto}.profile-details{margin:20px 0}.profile-details summary{cursor:pointer;min-height:48px;padding:14px 0;font-size:15px}.profile-details summary span{font-size:12px;color:var(--muted);margin-left:8px}.profile-details[open]{border-bottom:1px solid var(--line)}#dialog-body>p,.dialog-intro,.setup-steps p,.field-help{font-size:14px;color:var(--muted);line-height:1.65}.fineprint{font-size:12px!important;color:var(--muted)!important}.dialog-top .eyebrow{font-size:10px}.primary,.secondary{font-size:15px;min-height:48px}.settings-actions button{font-size:14px}.thinking-help{color:var(--muted)}.plan-save,.plan-footnote{font-size:12px!important;color:var(--muted)}@media(max-width:700px){.topbar{height:auto;min-height:76px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;gap:8px}.mobile-brand{gap:8px}.brand-name{font-size:22px}.brand-name small{font-size:11px;letter-spacing:1.6px}.status-pill{font-size:12px;min-height:44px;padding:0 10px}.sos-button{min-width:44px;min-height:44px;background:#f3e8df;border-radius:12px;color:#854329}.chat-tools{padding:2px 16px;gap:14px}.chat-tools>span{font-size:11px}.chat-tools button{font-size:12px}.messages{padding:22px 20px 18px}.welcome-message h1{font-size:34px}.download-card{padding:16px;margin-bottom:24px;gap:10px}.download-card strong{font-size:14px}.download-card p,.download-card button{font-size:13px}.download-icon{display:none}.topics{grid-template-columns:1fr}.topics button{font-size:14px;padding:12px}.topics button>svg:last-child{display:block}.composer-wrap{padding:8px 12px 12px}.composer-note{font-size:11px;margin-bottom:7px}.bubble{font-size:16px;line-height:1.65}.mobile-nav{padding:6px 10px calc(6px + env(safe-area-inset-bottom));background:#edf0e6;gap:8px}.mobile-nav button{font-size:12px;min-height:54px;flex:1;border-radius:12px;color:var(--muted)}.mobile-nav button.active{background:#dde7d5;color:#214b3a;font-weight:600}.mobile-nav button svg{width:21px;height:21px}dialog{padding:18px 20px;width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:20px}.dialog-top{position:sticky;top:-18px;background:#f9f9f1;z-index:1;padding:4px 0}.setup-steps strong{font-size:15px}.setup-steps p{font-size:14px}.emergency-links small{font-size:12px}.plan-view{padding:24px 20px}.plan-fields{gap:12px}.inventory-item select{font-size:16px}.toast{bottom:88px}.thinking-work{padding:15px}.plan-card small{font-size:12px}}@media(max-width:360px){.chat-tools>span{display:none}.chat-tools{justify-content:flex-end}.brand-name{font-size:20px}.topbar{padding-left:12px;padding-right:12px}.status-pill{font-size:11px}.messages{padding-left:16px;padding-right:16px}}@media(max-height:500px)and (max-width:700px){.mobile-nav{display:none}.topbar{min-height:56px;padding-top:6px;padding-bottom:6px}.chat-tools,.composer-note{display:none}}.history-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid #d6ded1}.history-row>button:first-child{flex:1;min-width:0;border:0}.history-row .delete-chat{width:44px;min-width:44px;height:44px;justify-content:center;padding:0;border:0;color:#86422d;border-radius:10px}.danger-link{display:flex;gap:8px;align-items:center;justify-content:center;color:#86422d;margin-top:16px;font-size:14px}.danger-button{background:#8c3d2b;color:#fff;border-radius:10px;min-height:48px;padding:12px}.delete-actions{display:grid;gap:12px;margin:24px 0 4px}.empty-history{color:#526451;font-size:15px;line-height:1.6}.guided-plan{padding:18px;background:#edf1e5;border-radius:14px;margin-top:24px}.guided-plan h3{margin:0 0 10px;font-size:17px}.guided-plan p{font-size:14px;line-height:1.6}.plan-setup{margin-top:22px}.plan-setup select{width:100%;font:inherit;font-size:16px;margin:8px 0 15px;padding:12px;background:#fffef8;border:1px solid #ccd7c3;border-radius:10px}.family-needs summary,.plan-method summary{cursor:pointer;min-height:48px;padding:14px 0;font-size:15px}.family-needs label{display:block;font-size:14px;margin-top:18px}.plan-totals{display:flex;flex-direction:column;padding:22px;background:#e5eddc;border-radius:15px;gap:8px}.plan-totals strong{font:30px Georgia,serif;color:#214b3a}.plan-totals span{font-size:14px;color:#526451}.plan-hint,.plan-method p{font-size:13px;line-height:1.65;color:#526451}.inventory-item h3{font-size:16px;line-height:1.5;margin:0 0 10px}.recommended-quantity{display:block;font-size:18px;color:#244e38}.recommendation-detail{font-size:14px;line-height:1.65;color:#526451}.legacy-check{font-size:13px;color:#86422d;line-height:1.5}.legacy-check:empty{display:none}.inventory-item .check-recommendation{display:flex;align-items:center;gap:12px;min-height:48px;margin:10px 0;font-size:15px}.check-recommendation input{width:24px;height:24px;accent-color:#214b3a;flex-shrink:0}.item-notes p,.item-notes a{font-size:13px;line-height:1.6}.plan-method{margin-top:24px}#days-warning{color:#86422d}.inventory-item input[type=number]{font-size:16px}.history-row button:focus-visible{outline-offset:0}.plan-intro{margin-top:-8px;color:#526451}.plan-setup h2{font:600 17px Amparo,Trebuchet MS,sans-serif;letter-spacing:0;margin:0 0 16px}.inventory-category>summary{display:grid;grid-template-columns:1fr auto 20px;align-items:center;gap:12px}.inventory-category .category-status{font-size:12px;background:#edf1e5;border-radius:20px;padding:5px 9px;white-space:nowrap}.inventory-category .category-arrow{grid-column:auto}.inventory-item{position:relative;padding:18px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:start}.inventory-item h3{font-size:15px;line-height:1.4;margin:0 0 6px;grid-column:1;max-width:34ch}.inventory-item .recommended-quantity{display:block;font-size:17px;line-height:1.4;grid-column:1;font-weight:700}.inventory-item .check-recommendation{grid-column:2;grid-row:1 / span 2;display:flex;flex-direction:column;gap:5px;margin:0;min-width:64px;min-height:58px;font-size:11px;cursor:pointer;color:#526451}.check-recommendation input{width:27px;height:27px;margin:0}.inventory-item .item-notes{grid-column:1/-1;margin:0}.item-notes>summary{font-size:12px;min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;color:#526451}.item-notes>summary:before{content:"+";font-size:18px}.item-notes[open]>summary:before{content:"−"}.item-notes[open]{background:#f0f3e9;border-radius:10px;padding:0 12px 14px;margin-top:8px}.item-notes .recommendation-detail{margin-top:0}.inventory-item .legacy-check,.inventory-item .item-essential{grid-column:1/-1;font-size:12px;line-height:1.5;margin:8px 0 0}.item-essential{color:#6d5638}.item-essential:empty{display:none}.inventory-item>label:not(.check-recommendation),#water-metrics{grid-column:1/-1}.plan-hint{font-size:12px}.category-status{letter-spacing:0}.inventory-item .item-notes input{width:100%}.item-notes>summary:focus-visible,.family-needs>summary:focus-visible,.inventory-category>summary:focus-visible{outline:3px solid #82a869;outline-offset:2px}@media(max-width:700px){.plan-view{padding:20px 16px}.inventory-category{padding:0 16px}.inventory-item h3{font-size:14px}.inventory-item .recommended-quantity{font-size:16px}.plan-totals{padding:16px}.plan-setup{margin-top:16px}.plan-hint{margin-bottom:18px}}.inventory-category>summary .category-status{grid-column:2;grid-row:1;padding:4px 9px}.inventory-category>summary .category-arrow{grid-column:3;grid-row:1}.inventory-category>summary .category-title{grid-row:1}.inventory-item{padding:14px 0}.inventory-item .check-recommendation{min-width:58px}.inventory-category>summary{padding:16px 0}
