@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500;600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  font-family:'Manrope',system-ui,sans-serif;font-size:16px;line-height:1.55;font-synthesis:none;
  color:#eaf2f6;background:#07111f;
  --bg:#07111f;--bg-deep:#050c16;--sidebar:#08131f;--surface:#101d2c;--surface-2:#132334;
  --surface-soft:#16283a;--border:#263749;--border-soft:#1c2c3d;--text:#eaf2f6;--muted:#8fa2b1;
  --muted-2:#667b8c;--amber:#f0a84b;--amber-soft:#3c2c1c;--teal:#42c9bd;--cyan:#52b9dd;
  --green:#63cf8b;--red:#f27d7d;--shadow:0 22px 60px #02071170;--radius:18px;--radius-sm:12px;
}
*{box-sizing:border-box}
html{background:var(--bg);scrollbar-color:#2a4054 #09131f}
body{margin:0;min-width:320px;background:radial-gradient(circle at 76% -20%,#17354a 0,transparent 32%),linear-gradient(145deg,#07111f 0%,#091522 55%,#060e19 100%);color:var(--text)}
h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Manrope',system-ui,sans-serif;line-height:1.22;letter-spacing:-.035em}h1{font-size:2.1rem;font-weight:600}h2{font-size:1.12rem;font-weight:600}h3{font-size:.98rem;font-weight:600}
a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.48}svg{flex-shrink:0}
button,a,input,select,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--amber);outline-offset:3px}
input,select{width:100%;min-height:46px;padding:.74rem .85rem;border:1px solid #30465a;border-radius:10px;background:#0a1724;color:var(--text)}
input::placeholder{color:#627787}select option{background:#0c1825}input[type=checkbox]{width:21px;height:21px;min-height:21px;accent-color:var(--amber);flex-shrink:0}
label{display:block;margin:1.05rem 0 .4rem;font-size:.86rem;font-weight:600;color:#afbec8}label input,label select{display:block;margin-top:.42rem}small{font-size:.79rem;color:var(--muted)}
hr{border:0;border-top:1px solid var(--border-soft);margin:1rem 0}.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}

.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:250px;padding:28px 18px 22px;display:flex;flex-direction:column;background:linear-gradient(180deg,#091522 0%,#07111c 100%);border-right:1px solid #1b2b3b;box-shadow:18px 0 50px #02081238}
.brand{display:flex;align-items:center;gap:12px;padding:0 10px;margin-bottom:34px}.brand-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#07111f;background:linear-gradient(145deg,#ffc069,#e79635);box-shadow:0 10px 24px #d98a2835}.brand>span:last-child{display:flex;flex-direction:column;line-height:1}.brand strong{font-family:'Manrope';font-size:1.05rem;letter-spacing:-.03em}.brand small{margin-top:6px;color:#71869a;font-size:.62rem;font-weight:700;letter-spacing:.18em}
.sidebar nav{display:grid;gap:4px}.sidebar nav a{position:relative;display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 13px;border-radius:11px;color:#8598a8;font-size:.87rem;font-weight:500;transition:.18s ease}.sidebar nav a:hover{color:#cbd8df;background:#102130}.sidebar nav a.active{color:#fff3df;background:linear-gradient(90deg,#2d241b 0%,#172231 100%);box-shadow:inset 0 0 0 1px #3b342b}.sidebar nav a.active::before{content:'';position:absolute;left:-18px;width:3px;height:22px;border-radius:0 5px 5px 0;background:var(--amber);box-shadow:0 0 12px #f0a84b90}.sidebar nav a.active svg{color:var(--amber)}
.sidebar-foot{margin-top:auto;padding:20px 12px 0;border-top:1px solid var(--border-soft)}.sidebar-status{display:flex;align-items:center;gap:8px;font-size:.75rem;color:#9dafba}.sidebar-status i,.live-pill i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 10px #63cf8b}.sidebar-foot p{margin-top:8px;color:#596f80;font-size:.75rem;line-height:1.5}
.main-column{width:calc(100% - 250px);margin-left:250px;min-width:0}.topbar{height:78px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1b2b3b;background:#091522c9;backdrop-filter:blur(16px);position:sticky;top:0;z-index:15}.topbar>div:first-child{display:flex;flex-direction:column}.topbar-section{color:#617586;font-size:.68rem;text-transform:uppercase;letter-spacing:.14em}.topbar>div:first-child strong{margin-top:2px;font-size:.9rem}.topbar-actions{display:flex;align-items:center;gap:22px}.save-status{display:flex;align-items:center;gap:6px;color:#7f93a3;font-size:.74rem}.status-error{color:#f0a19d}.topbar-profile{display:flex;align-items:center;gap:10px}.topbar-profile>span{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:#1b3042;color:#d4e2e9;font-size:.75rem;font-weight:700;border:1px solid #2b4255}.topbar-profile div{display:flex;flex-direction:column}.topbar-profile strong{font-size:.78rem}.topbar-profile small{font-size:.67rem;color:#6f8495;margin-top:1px}
main{max-width:1440px;margin:0 auto;padding:32px 34px 36px}.app-footer{max-width:1440px;margin:0 auto;padding:10px 34px 34px;display:flex;gap:16px;color:#526879;font-size:.7rem}.app-footer span:first-child{color:#74899a}.app-footer button{margin-left:auto;border:0;background:none;color:var(--amber)}.bottom-nav,.more-sheet{display:none}

.surface,.card{background:linear-gradient(145deg,#122131 0%,#0e1b29 100%);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 16px 42px #02071125}.card{background:linear-gradient(145deg,#112030 0%,#0d1926 100%)}
.button{min-height:44px;padding:.68rem 1rem;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e7a44e;border-radius:10px;background:linear-gradient(135deg,#f5b55e,#dc8d34);color:#111820;font-size:.82rem;font-weight:700;box-shadow:0 9px 24px #da8d2d28;transition:.18s ease}.button:hover{transform:translateY(-1px);filter:brightness(1.06)}.button.secondary{background:#111f2d;border-color:#304559;color:#d6e0e6;box-shadow:none}.button.secondary:hover{background:#182a3a}.button.full{width:100%;margin-top:1rem}.text-button{padding:9px 5px;display:inline-flex;align-items:center;gap:7px;border:0;background:none;color:#b9cad4;font-size:.82rem;text-decoration:underline;text-underline-offset:4px}.icon-button{min-width:42px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:transparent;color:#8195a5}.icon-button:hover{background:#1b2c3c;color:#d6e4eb}.text-link,.card-link{display:inline-flex;align-items:center;gap:6px;color:#f1b35f;font-size:.78rem;font-weight:600}.card-link{margin-top:auto;padding-top:16px}
.page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:24px}.page-title h1{font-size:1.85rem}.page-title p{margin-top:7px;color:var(--muted);font-size:.91rem}.page-kicker,.dashboard-kicker,.panel-eyebrow{display:block;margin-bottom:7px;color:#6f8798;font-size:.64rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.panel-heading>svg{color:#667f91}.panel-heading>strong{font-family:'Manrope';font-size:1.15rem;color:#dce7eb}

.household-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.household-identity{display:flex;align-items:center;gap:14px}.household-avatar{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#1b3548,#112536);border:1px solid #304a5f;color:#cde1e9;font-size:.83rem;font-weight:700}.household-identity h1{font-size:1.85rem}.household-identity p{display:flex;align-items:center;gap:8px;margin-top:5px;color:#7d91a0;font-size:.79rem}.household-identity p i{width:3px;height:3px;border-radius:50%;background:#657b8b}.household-meta{display:flex;align-items:center;gap:14px}.live-pill{display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #253b4b;border-radius:20px;background:#0a1825;color:#91a5b4;font-size:.7rem}
.overall-card{position:relative;min-height:212px;padding:29px 31px;display:grid;grid-template-columns:minmax(0,1fr) auto 120px;align-items:center;gap:32px;overflow:hidden;background:radial-gradient(circle at 72% 20%,#17434a 0,transparent 34%),linear-gradient(120deg,#142433,#0d1927)}.overall-card::before{content:'';position:absolute;inset:0;background:linear-gradient(105deg,transparent 20%,#42c9bd08 55%,transparent 80%);pointer-events:none}.overall-copy{position:relative;z-index:1}.overall-copy h2{font-size:2.35rem}.overall-copy h2 span{font-size:1.02rem;color:#8ca0ad;font-family:'Manrope';font-weight:500;letter-spacing:0}.overall-copy p{margin:12px 0 17px;color:#91a4b1;font-size:.83rem}.overall-copy p strong{color:#f0b15d;font-weight:600}.resilience-dial{--dial-progress:0deg;position:relative;width:142px;height:142px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--teal) var(--dial-progress),#203444 0);box-shadow:0 0 34px #42c9bd18}.resilience-dial::before{content:'';position:absolute;inset:11px;border-radius:50%;background:#0e1c2a;border:1px solid #284152}.resilience-dial>div{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}.resilience-dial strong{font-family:'Manrope';font-size:1.75rem}.resilience-dial span{color:#718797;font-size:.65rem;text-transform:uppercase;letter-spacing:.1em}.overall-plan-note{align-self:stretch;padding-left:24px;border-left:1px solid #294052;display:flex;flex-direction:column;justify-content:center;color:#73899a}.overall-plan-note svg{color:var(--amber);margin-bottom:10px}.overall-plan-note span{font-size:.68rem;text-transform:uppercase;letter-spacing:.1em}.overall-plan-note strong{margin-top:4px;color:#e5edf0;font-family:'Manrope';font-size:1rem}
.resource-dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:16px}.dashboard-resource{position:relative;min-height:194px;padding:20px;display:flex;flex-direction:column;overflow:hidden;transition:.18s ease}.dashboard-resource:hover,.resource-hub-card:hover{transform:translateY(-2px);border-color:#3b5366;box-shadow:0 18px 48px #02071148}.resource-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.metric-icon{width:39px;height:39px;display:inline-grid;place-items:center;border-radius:12px;background:#1a3140;color:var(--teal);border:1px solid #294554}.resource-water .metric-icon{color:var(--cyan);background:#162f42}.resource-fuel .metric-icon,.resource-energy .metric-icon{color:var(--amber);background:#342a20}.resource-label{margin-top:17px;color:#94a7b4;font-size:.75rem}.resource-metric{margin-top:2px;font-family:'Manrope';font-size:1.85rem;line-height:1.3;letter-spacing:-.05em}.resource-metric span{font-family:'Manrope';font-size:.76rem;font-weight:500;letter-spacing:0;color:#718797}.resource-metric.unmeasured{font-size:1.55rem}.dashboard-resource small{margin-top:6px;font-size:.67rem}.resource-arrow{position:absolute;right:18px;bottom:18px;color:#556c7e}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:7px;font-size:.62rem;font-weight:700;white-space:nowrap}.status-badge>span{width:5px;height:5px;border-radius:50%}.status-badge.good{color:#78d59a;background:#183529}.status-badge.good>span{background:#63cf8b}.status-badge.fair{color:#f0b963;background:#3a2f20}.status-badge.fair>span{background:#f0a84b}.status-badge.attention{color:#f19b91;background:#3d2728}.status-badge.attention>span{background:#f27d7d}.status-badge.neutral{color:#8ea2b0;background:#1b2b39}.status-badge.neutral>span{background:#6f8494}.metric-progress{height:5px;margin-top:13px;overflow:hidden;border-radius:10px;background:#223545}.metric-progress>span{display:block;height:100%;border-radius:10px;background:var(--teal);transition:width .3s}.metric-progress.cyan>span{background:var(--cyan)}.metric-progress.green>span{background:var(--green)}.metric-progress.amber>span{background:var(--amber)}.not-measured-line{margin-top:13px;padding-top:8px;border-top:1px dashed #314455;color:#718696;font-size:.68rem}
.dashboard-content-grid{display:grid;grid-template-columns:1.05fr 1.35fr 1fr;gap:15px;margin-top:16px}.recommendation-panel,.trend-panel,.plan-card,.shopping-priorities,.inventory-summary{min-height:245px;padding:23px;display:flex;flex-direction:column}.recommendation-panel{background:radial-gradient(circle at 92% 8%,#67472160,transparent 35%),linear-gradient(145deg,#1c2630,#111d29)}.recommendation-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#3a2b1b;color:var(--amber);margin-bottom:25px}.recommendation-panel h2{font-size:1.35rem}.recommendation-panel>p{margin-top:10px;color:#a3b2bb;font-size:.8rem;line-height:1.6}.recommendation-panel .button{align-self:flex-start;margin-top:auto}.impact-line{display:flex;justify-content:space-between;gap:10px;margin:18px 0;padding:12px 0;border-top:1px solid #33404a;border-bottom:1px solid #33404a;font-size:.7rem}.impact-line span{color:#718696;text-transform:uppercase;letter-spacing:.08em}.impact-line strong{color:#f1bc72}.trend-panel{grid-column:span 2}.empty-tag{padding:5px 8px;border-radius:7px;background:#182837;color:#708695;font-size:.62rem}.trend-empty{flex:1;display:grid;grid-template-columns:1.4fr 1fr;align-items:end;gap:25px}.trend-placeholder{height:120px;display:flex;align-items:flex-end;gap:8px;padding:18px 0 0;border-bottom:1px solid #284052;background:repeating-linear-gradient(to top,transparent 0,transparent 39px,#1c304011 40px)}.trend-placeholder i{flex:1;display:block;border:1px dashed #345064;border-bottom:0;border-radius:4px 4px 0 0;opacity:.55}.trend-placeholder i:nth-child(1){height:30%}.trend-placeholder i:nth-child(2){height:44%}.trend-placeholder i:nth-child(3){height:38%}.trend-placeholder i:nth-child(4){height:60%}.trend-placeholder i:nth-child(5){height:52%}.trend-placeholder i:nth-child(6){height:68%}.trend-empty strong{display:block;color:#bdcbd3;font-size:.76rem}.trend-empty p{margin-top:7px;color:#667c8c;font-size:.7rem;line-height:1.5}.plan-card{transition:.18s ease}.plan-card:hover{border-color:#4a5260;transform:translateY(-2px)}.plan-card-metrics{display:flex;gap:32px;margin:24px 0}.plan-card-metrics div{display:flex;align-items:baseline;gap:7px}.plan-card-metrics strong{font-family:'Manrope';font-size:2rem}.plan-card-metrics span{color:#718696;font-size:.73rem}.shopping-priorities ol{list-style:none;padding:0;margin:17px 0 0}.shopping-priorities li{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #203243;font-size:.75rem}.shopping-priorities li span{display:flex;align-items:center;gap:9px}.shopping-priorities li i{width:6px;height:6px;border-radius:50%;background:var(--amber)}.shopping-priorities li strong{color:#9bb0bd}.inventory-total{display:flex;align-items:center;gap:6px;color:#99adba;font-size:.73rem}.inventory-summary>div:nth-child(2){margin-top:14px}.inventory-summary>div:nth-child(2) a{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #203243;color:#91a5b3;font-size:.74rem}.inventory-summary>div:nth-child(2) strong{color:#dbe6ea}.compact-empty{margin:auto 0;display:flex;flex-direction:column;gap:6px}.compact-empty strong{font-size:.8rem}.compact-empty span{font-size:.72rem;color:#718696}

.resource-hub-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.resource-hub-card{min-height:265px;padding:24px;display:flex;flex-direction:column;transition:.18s ease}.resource-hub-card h2{margin-top:19px;font-size:1.25rem}.resource-hub-card>p{max-width:440px;margin-top:8px;color:#8498a7;font-size:.8rem}.resource-big-value{display:block;margin-top:24px;font-family:'Manrope';font-size:2rem}.resource-big-value span{font-family:'Manrope';font-size:.78rem;color:#748999}.unmeasured-value{display:flex;align-items:baseline;gap:8px;margin-top:25px}.unmeasured-value strong{font-family:'Manrope';font-size:2rem}.unmeasured-value span{color:#748999;font-size:.75rem}.future-panel{margin-top:16px;padding:24px;display:grid;grid-template-columns:.8fr 1.2fr;gap:30px;align-items:center}.future-panel p{color:#8095a4;font-size:.81rem;line-height:1.7}.resource-detail-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:16px}.resource-focus,.resource-note{min-height:230px;padding:25px}.resource-focus .panel-eyebrow{margin-top:24px}.focus-number{display:block;font-family:'Manrope';font-size:2.6rem}.focus-number span{font-family:'Manrope';font-size:.9rem;color:#728897}.resource-focus>p,.resource-note p{margin-top:12px;color:#8196a5;font-size:.78rem;line-height:1.7}.resource-note{display:flex;flex-direction:column;justify-content:center}.resource-note h2{font-size:1.35rem}.resource-note .text-link{margin-top:18px}.detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.panel-section{padding:24px}.compact-list{margin-top:16px}.compact-row{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid #213344}.compact-row .item-icon{width:35px;height:35px}.compact-row span:last-child{display:flex;flex-direction:column}.compact-row strong{font-size:.78rem}.compact-row small{font-size:.68rem}.priority-list{list-style:decimal-leading-zero;padding-left:25px;margin:16px 0 0}.priority-list li{padding:9px 0 9px 7px;border-bottom:1px solid #203243;color:#788d9d;font-size:.72rem}.priority-list li::marker{color:#e4a54e}.priority-list li span{color:#bdcbd3}.priority-list li strong{float:right;color:#9cafba}.full-panel-button{margin-top:18px;width:100%}

.insight-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.insight-metric{min-height:145px;padding:21px;display:flex;flex-direction:column}.insight-metric>span{display:flex;align-items:center;gap:8px;color:#7990a1;font-size:.69rem;text-transform:uppercase;letter-spacing:.08em}.insight-metric>span svg{color:var(--amber)}.insight-metric>strong{margin-top:19px;font-family:'Manrope';font-size:1.6rem}.insight-metric small{margin-top:3px}.insights-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:15px;margin-top:15px}.history-panel{grid-column:1/-1}.coverage-analysis{margin-top:15px}.analysis-row{padding:14px 0;border-bottom:1px solid #203243}.analysis-row>div:first-child{display:flex;align-items:center;justify-content:space-between}.analysis-row strong{font-size:.78rem}.analysis-row>span{display:block;margin-top:8px;color:#738898;font-size:.69rem}.distribution-chart{margin-top:22px}.distribution-chart>div{display:grid;grid-template-columns:125px 1fr 24px;gap:10px;align-items:center;margin-bottom:15px;font-size:.68rem}.distribution-chart>div>span{color:#8398a7}.distribution-chart>div>div{height:7px;background:#203343;border-radius:9px;overflow:hidden}.distribution-chart i{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,var(--teal),var(--cyan))}.distribution-chart strong{text-align:right;color:#b8c8d0}.history-panel .empty{padding:40px 20px}
.guide-intro{padding:26px;display:flex;gap:18px;align-items:center}.guide-intro .metric-icon{width:50px;height:50px}.guide-intro h2{font-size:1.3rem}.guide-intro p{max-width:820px;margin-top:8px;color:#8498a7;font-size:.81rem}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-top:15px}.guide-card{position:relative;min-height:220px;padding:24px;display:flex;flex-direction:column}.guide-card>svg{color:var(--amber)}.guide-card h2{margin-top:18px}.guide-card p{margin-top:9px;color:#8296a5;font-size:.8rem;line-height:1.7;max-width:480px}.guide-card .text-link{margin-top:auto}.guide-number{position:absolute;right:22px;top:18px;color:#293d4e;font-family:'Manrope';font-size:1.8rem}.community-hero{min-height:330px;padding:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle at 50% 0,#18384a 0,transparent 40%),linear-gradient(145deg,#111f2d,#0c1825)}.community-mark{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:#1a3141;color:var(--teal);margin-bottom:23px}.community-hero h2{font-size:1.6rem}.community-hero p{max-width:620px;margin-top:12px;color:#879ba9;font-size:.83rem;line-height:1.7}.community-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:15px}.community-principles section{padding:22px}.community-principles svg{color:var(--amber)}.community-principles h3{margin-top:15px}.community-principles p{margin-top:8px;color:#7f94a3;font-size:.76rem;line-height:1.6}

.search-input{display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #2c4052;border-radius:11px;background:#0d1a27;color:#748999}.search-input input{border:0;background:transparent;padding-left:2px}.filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0 20px}.filter-row button{min-height:40px;padding:8px 15px;border:1px solid #2b4051;border-radius:9px;background:#0d1a27;color:#8094a3;font-size:.78rem}.filter-row button.active{border-color:#75552d;background:#30271f;color:#f0b15b}.inventory-list{overflow:hidden}.list-header,.inventory-row{display:grid;grid-template-columns:minmax(190px,1.4fr) minmax(145px,1fr) 95px 88px;gap:16px;align-items:center;padding:15px 20px}.list-header{background:#142536;color:#667d8e;font-size:.7rem;text-transform:uppercase;letter-spacing:.06em}.inventory-row{min-height:90px;border-top:1px solid #203243}.item-detail{display:flex;align-items:center;gap:12px}.item-detail strong,.item-detail div>span{display:block}.item-detail strong{font-size:.82rem}.item-detail div>span{margin-top:3px;color:#718696;font-size:.72rem}.item-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#173326;color:var(--green);flex-shrink:0}.item-icon.water,.water .item-icon{background:#172f40;color:var(--cyan)}.inventory-quantity{display:flex;flex-direction:column;align-items:flex-start;gap:7px;color:#899dac;font-size:.73rem}.stepper{display:flex;align-items:center;width:max-content;overflow:hidden;border:1px solid #2c4254;border-radius:9px;background:#0a1724}.stepper button{width:34px;height:34px;display:grid;place-items:center;border:0;background:none}.stepper span{min-width:32px;text-align:center;font-size:.78rem}.badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:6px;background:#193428;color:#71d094;font-size:.68rem;font-weight:600;white-space:nowrap}.badge.soon{background:#3b2f20;color:#efb45f}.badge.expired{background:#402527;color:#ef8d87}.badge.neutral{background:#1c2b39;color:#8498a7}.expiry-detail{display:grid;gap:5px;justify-items:start}.expiry-detail small{font-size:.68rem}.row-actions{display:flex}.helper,.assumption-note{margin:17px 0;color:#718696;font-size:.76rem;line-height:1.65}.empty{padding:46px 20px;text-align:center;color:#718696}.empty h2{margin:16px 0 9px;color:#d7e2e7}.empty p{max-width:390px;margin:0 auto 19px;font-size:.79rem}.empty svg{color:#577186}.notice{margin-bottom:19px;padding:14px 17px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #684d2e;border-radius:12px;background:#34281e;color:#e9c48f;font-size:.8rem}.notice button{min-height:40px;border:0;background:none;color:inherit;text-decoration:underline}.form-error{margin-top:14px;color:#ef928c}.form-card{max-width:780px;padding:27px}.form-card>h2{margin-bottom:11px}.form-grid,.member-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-actions{display:flex;justify-content:flex-end;gap:11px;margin-top:23px;flex-wrap:wrap}.optional{margin-left:4px;color:#697f8f;font-size:.72rem;font-weight:400}.quantity-field{display:flex;align-items:center;gap:11px}.quantity-field input{max-width:110px}.quantity-field .stepper button{width:43px;height:43px}.quantity-field .stepper span{min-width:43px}.input-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.input-method{padding:22px 19px;display:flex;flex-direction:column;gap:7px;text-align:left}.input-method svg{margin-bottom:9px;color:var(--amber)}.input-method strong{font-size:.84rem}.input-method span{color:#718696;font-size:.73rem}.input-method.selected,.input-method:hover{border-color:#7b5b34;background:#211f20}.catalogue-results{max-height:480px;margin-top:11px;overflow:auto}.catalogue-results button{width:100%;padding:12px 2px;display:flex;align-items:center;gap:12px;border:0;border-top:1px solid #203243;background:transparent;text-align:left}.catalogue-results strong,.catalogue-results small{display:block}.catalogue-results strong{font-size:.8rem}.catalogue-results .select-label{margin-left:auto;color:#d9a85d;font-size:.72rem}.review-heading{display:flex;align-items:center;gap:13px;margin-bottom:14px}.review-heading p{margin-top:3px;color:#718696;font-size:.78rem}details{padding-top:15px;color:#7e92a0;font-size:.78rem}summary{min-height:42px;display:flex;align-items:center;cursor:pointer}.back-link{display:inline-block;margin-bottom:17px;color:#a9bbc5;font-size:.78rem;text-decoration:underline;text-underline-offset:4px}
.plan-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.plan-choices button{position:relative;min-height:122px;padding:20px 17px;border:1px solid #2a4052;border-radius:14px;background:#0e1c29;text-align:left}.plan-choices button.selected{border-color:#8a6438;background:linear-gradient(145deg,#33291f,#14202a)}.plan-choices strong{display:block;font-family:'Manrope';font-size:1.75rem}.plan-choices strong span{font-family:'Manrope';font-size:.92rem;font-weight:500}.plan-choices small{display:block;margin-top:8px;color:#718696;font-size:.72rem;line-height:1.45}.choice-check{position:absolute;right:12px;top:10px;color:var(--amber)}.target-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:21px 0}.target-card{padding:21px;display:flex;flex-direction:column;gap:4px}.target-card svg{margin-bottom:9px;color:var(--amber)}.target-card>span{color:#718696;font-size:.74rem}.target-card strong{font-size:1rem}.essentials{padding:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:11px}.section-heading p{margin-top:4px;color:#718696;font-size:.76rem}.essential-row{display:flex;align-items:center;gap:13px;padding:13px 0;border-top:1px solid #203243}.essential-row>span{flex:1}.essential-row strong,.essential-row small{display:block}.essential-row strong{font-size:.81rem}.essential-row label{display:flex;align-items:center;gap:8px;margin:0;color:#718696;font-size:.72rem;font-weight:400}.essential-row input{width:72px;min-height:41px;margin:0;padding:7px}.shopping-summary{display:flex;align-items:center;gap:11px;margin-bottom:18px;flex-wrap:wrap}.shopping-summary svg{color:var(--amber)}.shopping-summary strong{font-size:.82rem}.shopping-summary button{margin-left:auto}.shopping-row{display:flex;align-items:center;gap:14px;padding:18px 21px;border-bottom:1px solid #203243}.shopping-row:last-child{border-bottom:0}.shopping-name{flex:1}.shopping-name strong,.shopping-name span{display:block}.shopping-name strong{font-size:.84rem}.shopping-name span{margin-top:3px;color:#718696;font-size:.73rem}.shopping-row.checked .shopping-name strong{text-decoration:line-through;color:#687c8b}.recipe-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.recipe-card{padding:23px;transition:.18s ease}.recipe-card:hover{transform:translateY(-2px);border-color:#3b5265}.recipe-mark{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;color:var(--amber)}.recipe-card h2{font-size:1.08rem}.recipe-card>p{margin-top:8px;color:#7f93a2;font-size:.79rem}.recipe-meta{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin:18px 0;color:#7890a0;font-size:.76rem}.recipe-meta span{display:flex;align-items:center;gap:6px}.recipe-soon{display:flex;align-items:center;gap:6px;margin-top:15px!important;padding-top:13px;border-top:1px solid #203243;color:#d9a75f!important;font-size:.72rem!important}.recipe-detail{max-width:780px;padding:28px}.ingredient-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #203243;font-size:.8rem}.ingredient-row span:first-child{display:flex;align-items:center;gap:8px}.ingredient-row span:last-child{color:#718696;font-size:.74rem}.recipe-detail h2:not(:first-child){margin-top:27px}.method-list{padding-left:21px}.method-list li{margin-bottom:14px;padding-left:6px;color:#9babb4;font-size:.82rem}.settings-section{padding:24px;margin-top:20px}.settings-section h2{margin-bottom:17px}.settings-actions{display:flex;gap:18px;flex-wrap:wrap}.member-row{position:relative;margin-bottom:11px;padding:0 43px 17px 0;border-bottom:1px solid #203243}.member-row>.icon-button{position:absolute;right:0;top:37px}.member-fields label{font-size:.74rem}.member-editor>.button{margin-top:9px}.saved-inline{display:inline-block;margin-left:14px;color:var(--green);font-size:.75rem}
.standalone{min-height:100vh;max-width:800px;margin:0 auto;padding:38px 24px 58px}.standalone-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px;font-family:'Manrope';font-size:1.08rem;font-weight:600}.setup-card{padding:33px}.setup-card h1{margin-bottom:20px;font-size:1.75rem}.setup-card .eyebrow{margin:22px 0 7px;color:#718696;font-size:.68rem;text-transform:uppercase;letter-spacing:.1em}.wizard-steps{display:flex;gap:10px}.wizard-steps span{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#172736;color:#657b8b;font-size:.75rem}.wizard-steps span.active{background:var(--amber);color:#111820}.review-family{text-align:center;padding:13px 0 26px}.review-family svg{color:var(--amber)}.review-family h2{margin:10px 0 5px}.review-family p{color:#718696;font-size:.8rem}.setup-targets{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:21px;border:1px solid #263b4d;border-radius:13px;background:#0e1b28}.setup-targets h3{margin-bottom:10px}.setup-targets p{margin-top:3px;font-size:.82rem}.auth-card{max-width:480px;padding:28px;margin:0 auto}.auth-art{width:calc(100% + 56px);max-height:160px;margin:-28px -28px 23px;border-radius:18px 18px 0 0;object-fit:cover;filter:brightness(.72) saturate(.8)}.auth-card h1{margin-bottom:9px;font-size:1.7rem}.auth-card>p{margin-bottom:17px;color:#7d92a1;font-size:.84rem}.auth-switch{display:block;margin:14px auto 0}.loading{min-height:100vh;display:grid;align-content:center;justify-items:center;gap:14px;color:#7c92a1}.barcode-video{width:100%;max-height:320px;border-radius:12px;background:#091622}.hidden{display:none}.checkbox-label{display:flex;align-items:center;gap:11px;font-size:.78rem;font-weight:400}.checkbox-label input{margin:0}
dialog{width:calc(100% - 32px);max-width:520px;max-height:90vh;padding:25px;overflow:auto;border:1px solid #30485a;border-radius:18px;background:#0e1b28;color:var(--text);box-shadow:0 28px 90px #02060ac7}dialog::backdrop{background:#020810bb;backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.modal-heading h2{font-size:1.2rem}

@media(max-width:1200px){.sidebar{width:220px}.main-column{width:calc(100% - 220px);margin-left:220px}main,.topbar{padding-left:25px;padding-right:25px}.resource-dashboard-grid{grid-template-columns:repeat(2,1fr)}.dashboard-content-grid{grid-template-columns:1fr 1fr}.trend-panel{grid-column:auto}.inventory-summary{grid-column:span 2}.overall-card{grid-template-columns:1fr auto}.overall-plan-note{display:none}.app-footer{padding-left:25px;padding-right:25px}}
@media(max-width:900px){.sidebar{display:none}.main-column{width:100%;margin:0}.topbar{height:66px;padding:0 20px}.topbar-profile div,.topbar-section{display:none}.topbar-actions{gap:12px}main{padding:25px 20px 95px}.app-footer{display:none}.bottom-nav{position:fixed;inset:auto 0 0;z-index:40;display:flex;justify-content:space-around;padding:8px 7px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #223446;background:#08131ff2;backdrop-filter:blur(18px);box-shadow:0 -12px 35px #02071162}.bottom-nav a,.bottom-nav button{min-height:50px;max-width:95px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:10px;background:transparent;color:#708695;font-size:.66rem}.bottom-nav a.active,.bottom-nav button.active{background:#2c241c;color:#f0b15b}.more-sheet{position:fixed;right:12px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:41;min-width:215px;padding:10px;display:grid;border:1px solid #2a4153;border-radius:15px;background:#0d1a27;box-shadow:0 18px 60px #020711b8}.more-sheet a,.more-sheet button{min-height:45px;padding:11px 12px;display:flex;align-items:center;gap:11px;border:0;border-radius:9px;background:none;color:#a8bac4;font-size:.8rem}.more-sheet a:hover{background:#172838}.resource-dashboard-grid{grid-template-columns:repeat(4,1fr)}.dashboard-resource{min-height:180px;padding:17px}.resource-metric{font-size:1.55rem}.dashboard-content-grid{grid-template-columns:1fr 1fr}.inventory-summary{grid-column:auto}.overall-card{padding:25px}.insights-grid{grid-template-columns:1fr}.history-panel{grid-column:auto}}
@media(max-width:700px){h1{font-size:1.75rem}.topbar>div:first-child strong{font-size:.8rem}.save-status{display:none}main{padding:21px 16px 92px}.household-header{align-items:flex-start}.household-avatar{width:42px;height:42px}.household-identity h1{font-size:1.45rem}.household-meta .live-pill{display:none}.household-meta .button{padding:.55rem .72rem;font-size:.72rem}.overall-card{min-height:250px;grid-template-columns:1fr auto;gap:16px}.overall-copy h2{font-size:1.8rem}.overall-copy h2 span{display:block;margin-top:4px;font-size:.82rem}.overall-copy p{font-size:.76rem}.resilience-dial{width:110px;height:110px}.resilience-dial strong{font-size:1.4rem}.resource-dashboard-grid{grid-template-columns:repeat(2,1fr);gap:11px}.dashboard-resource{min-height:176px}.resource-label{margin-top:13px}.resource-metric{font-size:1.5rem}.dashboard-content-grid{grid-template-columns:1fr;gap:11px}.recommendation-panel,.trend-panel,.plan-card,.shopping-priorities,.inventory-summary{min-height:220px}.trend-empty{grid-template-columns:1fr}.trend-placeholder{height:95px}.resource-hub-grid,.resource-detail-grid,.detail-columns,.guide-grid{grid-template-columns:1fr}.future-panel{grid-template-columns:1fr;gap:12px}.insight-metrics{grid-template-columns:1fr}.insight-metric{min-height:120px}.community-principles{grid-template-columns:1fr}.community-hero{min-height:300px;padding:32px 22px}.input-methods{grid-template-columns:1fr}.target-grid{grid-template-columns:1fr}.recipe-grid{grid-template-columns:1fr}.inventory-row{grid-template-columns:1fr auto;gap:10px;padding:17px}.list-header{display:none}.item-detail{grid-column:1;grid-row:1}.inventory-quantity{grid-column:2;grid-row:1;align-items:flex-end}.expiry-detail{grid-column:1;grid-row:2;display:flex;align-items:center;gap:9px;padding-left:54px}.row-actions{grid-column:2;grid-row:2}.page-title{align-items:flex-start}.page-title h1{font-size:1.6rem}.page-title .button{padding:.55rem .7rem;font-size:.72rem}.shopping-summary button{width:100%;margin-left:0;justify-content:flex-start}.shopping-row{padding:16px 13px;gap:9px;flex-wrap:wrap}.plan-choices{gap:8px}.plan-choices button{min-height:120px;padding:16px 11px}.plan-choices strong{font-size:1.5rem}.form-card{padding:21px}.settings-section{padding:21px}}
@media(max-width:460px){.topbar{height:60px;padding:0 16px}.topbar-actions{margin-left:auto}.topbar-profile>span{width:32px;height:32px}main{padding:18px 13px 89px}.household-header{margin-bottom:17px}.household-identity{gap:10px}.household-identity p{font-size:.7rem}.household-meta .button{font-size:0;width:42px;padding:0}.household-meta .button::after{content:'Edit';font-size:.72rem}.overall-card{min-height:275px;padding:21px;display:flex;flex-direction:column;align-items:flex-start}.overall-copy{width:100%}.resilience-dial{position:absolute;right:18px;top:18px;width:82px;height:82px}.resilience-dial::before{inset:7px}.resilience-dial strong{font-size:1rem}.resilience-dial span{font-size:.52rem}.overall-copy .panel-eyebrow{max-width:150px}.overall-copy h2{margin-top:40px}.resource-dashboard-grid{gap:9px}.dashboard-resource{min-height:169px;padding:14px}.metric-icon{width:34px;height:34px}.dashboard-resource .status-badge{padding:4px 6px;font-size:.55rem}.resource-label{font-size:.68rem}.resource-metric{font-size:1.35rem}.resource-arrow{right:12px;bottom:13px}.recommendation-panel,.trend-panel,.plan-card,.shopping-priorities,.inventory-summary{padding:19px}.page-title{margin-bottom:19px}.page-title p{font-size:.8rem}.filter-row{gap:5px}.filter-row button{padding:7px 10px}.inventory-row{padding:14px}.item-detail .item-icon{width:37px;height:39px}.expiry-detail{padding-left:49px}.form-grid,.member-fields{grid-template-columns:1fr;gap:0}.plan-choices strong{font-size:1.3rem}.plan-choices strong span{font-size:.76rem}.plan-choices small{font-size:.64rem}.essential-row{gap:7px}.essential-row input{width:55px}.essential-row strong{font-size:.74rem}.setup-card{padding:21px}.standalone{padding:25px 13px 42px}.setup-card .plan-choices{grid-template-columns:1fr}.setup-card .plan-choices button{min-height:92px}.setup-targets{grid-template-columns:1fr}.form-actions{justify-content:stretch}.form-actions .button{flex:1}.community-hero h2{font-size:1.35rem}.distribution-chart>div{grid-template-columns:100px 1fr 20px}.guide-intro{align-items:flex-start}.guide-intro .metric-icon{width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.trend-empty{display:flex;align-items:center;justify-content:center;gap:18px;padding:28px}.trend-empty-icon{width:58px;height:58px;display:grid;place-items:center;flex:0 0 auto;border:1px dashed #345064;border-radius:16px;color:#587184;background:#10202e}
@media(max-width:700px){.trend-empty{flex-direction:column;text-align:center}}

/* Reference-led premium dashboard pass */
body{background:radial-gradient(circle at 82% -12%,#12324c 0,transparent 29%),radial-gradient(circle at 5% 84%,#102f31 0,transparent 24%),linear-gradient(145deg,#050c15 0%,#071522 55%,#050b13 100%)}
.sidebar{width:228px;padding:29px 17px 24px;background:radial-gradient(circle at 30% 12%,#102a3a 0,transparent 32%),linear-gradient(180deg,#081520 0%,#06111b 100%);border-right-color:#203344;box-shadow:20px 0 55px #01060c70}
.main-column{width:calc(100% - 228px);margin-left:228px}
.brand{gap:13px;margin-bottom:32px}.brand-icon{width:44px;height:48px;border-radius:15px 15px 18px 18px;background:linear-gradient(145deg,#ffbe68,#e47d27);box-shadow:0 0 25px #f1953650}.brand strong{font-family:'Lora',serif;font-size:1.1rem;font-weight:600;letter-spacing:-.02em}.brand small{color:#8195a4;letter-spacing:.12em}
.sidebar nav{gap:7px}.sidebar nav a{min-height:49px;padding:11px 14px;border-radius:12px;font-size:.82rem}.sidebar nav a.active{background:linear-gradient(90deg,#3b2a1de8 0%,#142130b8 88%);box-shadow:inset 0 0 0 1px #62452380,0 0 22px #d47d2525}.sidebar nav a.active::before{width:4px;height:30px;left:-17px;box-shadow:0 0 18px #ff9e3c}
.sidebar-foot p{max-width:160px;font-family:'Lora',serif;font-style:italic;color:#718798;line-height:1.55}
.topbar{height:90px;padding:0 30px;border-bottom:0;background:linear-gradient(180deg,#07131ff2,#07131fce);backdrop-filter:blur(20px)}
.global-search{width:min(52vw,590px);min-height:48px;padding:0 10px 0 17px;display:flex;align-items:center;gap:10px;border:1px solid #20384c;border-radius:25px;background:linear-gradient(145deg,#0e2030,#0a1825);box-shadow:inset 0 1px 0 #ffffff05,0 11px 30px #01060b40;color:#7590a2}
.global-search input{min-height:44px;padding:0;border:0;background:transparent;box-shadow:none;color:#dfe9ed}.global-search input:focus{outline:0}.global-search button{min-width:42px;min-height:32px;padding:0 11px;border:1px solid #2b4355;border-radius:17px;background:#132738;color:#9db1be;font-size:.68rem;font-weight:700}.global-search button:hover{border-color:#9f713b;color:#f3ba71}
.topbar-actions{gap:18px}.topbar-profile{min-height:54px;padding:7px 14px 7px 8px;border:1px solid #1e3548;border-radius:28px;background:#0c1c2a;box-shadow:0 11px 28px #01060b36}.topbar-profile>span{width:39px;height:39px;border-radius:50%;background:linear-gradient(145deg,#29465a,#132c3e);border-color:#486275}.topbar-profile strong{font-size:.78rem}.topbar-profile small{font-size:.64rem}.save-status{padding:7px 10px;border:1px solid #203547;border-radius:16px;background:#0b1925}
main{max-width:1580px;padding:2px 30px 38px}.app-footer{max-width:1580px;padding-left:30px;padding-right:30px}
.surface,.card{border-color:#21384b;border-radius:18px;background:linear-gradient(145deg,#102131 0%,#0b1926 100%);box-shadow:inset 0 1px 0 #ffffff06,0 18px 50px #01060c4c}
.panel-heading h2{font-size:1.02rem}.panel-eyebrow{color:#8194a4;letter-spacing:.09em}.button{border-radius:22px;padding:.69rem 1.08rem;background:linear-gradient(135deg,#ffbc63,#ef8e31);border-color:#f5a548;box-shadow:0 9px 28px #ef8b3538}
.reference-dashboard{padding-top:0}
.dashboard-hero-grid{display:grid;grid-template-columns:.96fr 1.08fr;gap:14px}
.overall-card{min-height:318px;padding:29px 31px;grid-template-columns:minmax(0,1fr) 160px;gap:22px;background:linear-gradient(90deg,#0d1c2cf2 0%,#0d1d2bd8 56%,#07121d8c 100%),url('/dashboard/house-at-dusk.webp') center/cover}.overall-card::before{background:radial-gradient(circle at 72% 38%,#32d5bb22 0,transparent 34%),linear-gradient(180deg,transparent 48%,#07111de8 100%)}
.overall-copy{height:100%;display:flex;flex-direction:column;align-items:flex-start}.overall-heading-row{width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.overall-heading-row h1{font-family:'Lora',serif;font-size:1.92rem;font-weight:500;letter-spacing:-.035em}.overall-heading-row .status-badge{margin-top:3px;padding:7px 11px;border:1px solid #3b665575;box-shadow:0 0 24px #52d8981a}
.overall-metric{display:flex;align-items:flex-end;gap:12px;margin-top:6px}.overall-metric>strong{font-size:4.2rem;line-height:.98;letter-spacing:-.075em;color:#ff9e49;text-shadow:0 0 24px #e77d3038}.overall-metric>span{max-width:120px;padding-bottom:8px;color:#bdc9d0;font-size:.77rem;line-height:1.35}.overall-metric b{display:block;color:#f5a85b;font-size:1.35rem;line-height:1.15}.overall-copy p{margin:18px 0 11px;max-width:390px;color:#9eafb9;font-size:.78rem}.overall-copy .text-link{font-size:.72rem}.overall-resource-strip{width:min(100%,420px);display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:auto;padding-top:14px}.overall-resource-strip>span{height:8px;border-radius:5px;background:linear-gradient(90deg,var(--segment-color) var(--segment-progress),#35485899 var(--segment-progress))}.strip-food{--segment-color:#ffad54}.strip-water{--segment-color:#55c9e5}.strip-fuel{--segment-color:#55d9a2}.strip-energy{--segment-color:#e9c160}
.resilience-dial{width:154px;height:154px;background:conic-gradient(#6de3a6 0,var(--dial-progress),#274152 var(--dial-progress),#274152 100%);box-shadow:0 0 42px #34d8bd24,0 0 0 8px #0b1f2bbf}.resilience-dial::before{inset:13px;background:radial-gradient(circle,#1b3841 0,#0b1a26 68%);border-color:#315264}.resilience-dial>div{gap:1px}.resilience-dial svg{color:#ecf4f5;margin-bottom:4px}.resilience-dial strong{font-size:.82rem;color:#8fe5ba}.resilience-dial span{font-size:.53rem}
.home-plan-hero{position:relative;min-height:318px;padding:30px 33px;display:flex;align-items:stretch;overflow:hidden;background:linear-gradient(90deg,#071420dc 0%,#071420a3 45%,#07142012 75%),linear-gradient(0deg,#07121fb0,transparent 60%),url('/dashboard/house-at-dusk.webp') center/cover}.home-plan-hero::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 70px #02070e6b;pointer-events:none}.home-plan-hero>div{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start}.home-plan-hero h2{font-family:'Lora',serif;font-size:2.35rem;font-weight:500;line-height:1.03;letter-spacing:-.045em}.home-plan-hero p{max-width:255px;margin-top:13px;color:#bdc8cf;font-size:.78rem;line-height:1.55}.home-plan-hero .button{margin-top:auto}
.resource-dashboard-grid{gap:14px;margin-top:14px}.dashboard-resource{min-height:205px;padding:18px 19px;background-position:center;background-size:cover;border-color:#284154}.dashboard-resource::before{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,#06131ff2 0%,#071522d0 46%,#0715223d 100%),linear-gradient(0deg,#06111ced 0%,transparent 62%)}.dashboard-resource>*{position:relative;z-index:1}.resource-food{background-image:url('/dashboard/food.webp')}.resource-water{background-image:url('/dashboard/water.webp')}.resource-fuel{background-image:url('/dashboard/fuel.webp')}.resource-energy{background-image:url('/dashboard/energy.webp')}.resource-card-top{justify-content:flex-start;gap:9px}.metric-icon{width:30px;height:30px;border:0;border-radius:8px;background:transparent!important;color:#63e0ae;filter:drop-shadow(0 0 8px #51d69b66)}.resource-water .metric-icon{color:#42c9ef}.resource-energy .metric-icon{color:#ff9f45}.resource-label{margin:0;color:#eef5f6;font-size:.84rem;font-weight:700}.resource-metric{margin-top:12px;font-size:2.15rem;text-shadow:0 2px 18px #01060b}.resource-metric span{color:#d1dce1}.dashboard-resource .metric-progress{width:64%;margin-top:8px;height:7px;background:#425361a8}.dashboard-resource .not-measured-line{width:70%;color:#bac8ce}.resource-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.resource-card-foot>span:last-child{display:flex;align-items:center;gap:5px;color:#b8c7cf;font-size:.67rem}.dashboard-resource .status-badge{padding:4px 7px;background:#07141fc9;border:1px solid #2a4150}
.dashboard-middle-grid{display:grid;grid-template-columns:1.16fr .84fr;gap:14px;margin-top:14px}.dashboard-bottom-grid{display:grid;grid-template-columns:1.06fr .96fr .98fr;gap:14px;margin-top:14px}
.trend-panel,.recommendation-panel,.plan-card,.shopping-priorities,.inventory-summary{min-height:244px;padding:21px}.trend-panel{grid-column:auto}.trend-panel .trend-empty{flex:1;min-height:150px;margin-top:13px;border:1px dashed #2b4558;border-radius:14px;background:repeating-linear-gradient(to right,transparent 0,transparent 89px,#20394a3b 90px),repeating-linear-gradient(to bottom,transparent 0,transparent 48px,#20394a3b 49px)}.trend-empty-icon{background:#0c1b28de}.trend-empty p{max-width:380px}
.recommendation-panel{display:grid;grid-template-columns:126px 1fr;gap:20px;background:radial-gradient(circle at 100% 0,#8052263d 0,transparent 42%),linear-gradient(145deg,#132434,#0c1a27)}.recommendation-visual{min-height:180px;border-radius:12px;background-position:center;background-size:cover;box-shadow:inset 0 0 28px #02081054,0 10px 26px #01060b4f}.recommendation-food .recommendation-visual{background-image:url('/dashboard/food.webp')}.recommendation-water .recommendation-visual{background-image:url('/dashboard/water.webp')}.recommendation-fuel .recommendation-visual{background-image:url('/dashboard/fuel.webp')}.recommendation-energy .recommendation-visual{background-image:url('/dashboard/energy.webp')}.recommendation-copy{display:flex;flex-direction:column;align-items:flex-start}.recommendation-copy .panel-eyebrow{display:flex;align-items:center;gap:6px;color:#e5aa5c}.recommendation-copy h2{font-size:1.12rem}.recommendation-copy>p{margin-top:8px;color:#9dafba;font-size:.75rem;line-height:1.55}.recommendation-copy .button{margin-top:auto}.impact-line{width:100%;margin:12px 0;padding:9px 0}.impact-line strong{font-size:.72rem}
.plan-card:hover{box-shadow:inset 0 1px 0 #ffffff08,0 20px 55px #01060c75}.people-pill,.inventory-total{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #284153;border-radius:9px;background:#0b1926;color:#9fb0ba;font-size:.65rem}.plan-card-body{display:grid;grid-template-columns:116px 1fr;gap:19px;align-items:center;margin-top:11px}.plan-dial{--dial-progress:0deg;position:relative;width:112px;height:112px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#68e0a6 0,var(--dial-progress),#f2a247 var(--dial-progress),#f2a247 100%);box-shadow:0 0 28px #52d49d1f}.plan-dial::before{content:'';position:absolute;inset:10px;border-radius:50%;background:#0d1c29}.plan-dial>div{position:relative;display:flex;flex-direction:column;align-items:center}.plan-dial strong{font-family:'Lora',serif;font-size:1.9rem;line-height:1}.plan-dial span{color:#91a5b2;font-size:.65rem}.plan-facts{display:grid;gap:9px}.plan-facts>span{display:flex;align-items:center;gap:7px;color:#748a99;font-size:.68rem}.plan-facts svg{width:16px}.plan-facts .complete{color:#a8bac2}.plan-facts .complete svg{color:#65d99b}.plan-card .card-link{align-self:flex-end}
.shopping-priorities ol{margin-top:12px}.shopping-priorities li{display:grid;grid-template-columns:25px minmax(0,1fr) auto 18px;gap:8px;padding:8px 0}.priority-number{width:23px;height:23px;display:grid!important;place-items:center;border-radius:50%;background:#172c3d;color:#9fb0ba;font-size:.65rem}.priority-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shopping-priorities li strong{padding:4px 7px;border-radius:6px;background:#3a2d20;color:#e8b56e;font-size:.6rem}.shopping-priorities li>a{color:#6f8797}
.inventory-summary>div:nth-child(2){margin-top:10px}.inventory-summary>div:nth-child(2) a{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;gap:8px;padding:9px 8px;border:1px solid #263b4c;border-radius:9px;background:#10202e;margin-bottom:6px}.inventory-summary>div:nth-child(2) a:hover{border-color:#476074;background:#152838}.inventory-summary>div:nth-child(2) svg{color:#647c8d}

@media(max-width:1260px){
  .sidebar{width:218px}.main-column{width:calc(100% - 218px);margin-left:218px}.global-search{width:min(45vw,500px)}
  .dashboard-hero-grid{grid-template-columns:1fr}.overall-card,.home-plan-hero{min-height:300px}.resource-dashboard-grid{grid-template-columns:repeat(2,1fr)}
  .dashboard-bottom-grid{grid-template-columns:1fr 1fr}.inventory-summary{grid-column:span 2}
}
@media(max-width:900px){
  .main-column{width:100%;margin:0}.topbar{height:72px;padding:0 18px}.global-search{width:min(58vw,480px);min-height:44px}.global-search input{min-height:40px}.topbar-profile{min-height:46px;padding:4px}.topbar-profile>span{width:36px;height:36px}.save-status{display:none}main{padding:8px 18px 96px}
  .dashboard-middle-grid{grid-template-columns:1fr}.dashboard-bottom-grid{grid-template-columns:1fr 1fr}.inventory-summary{grid-column:span 2}
}
@media(max-width:700px){
  .topbar{gap:10px}.global-search{width:calc(100% - 52px)}.global-search button{display:none}.topbar-profile{border:0;background:transparent;box-shadow:none}.overall-card{min-height:360px;padding:24px;display:block}.overall-heading-row{padding-right:104px}.overall-heading-row h1{font-size:1.55rem}.overall-heading-row .status-badge{position:absolute;right:21px;top:22px}.overall-metric>strong{font-size:3.45rem}.overall-metric>span{padding-bottom:4px}.resilience-dial{position:absolute;right:22px;bottom:28px;top:auto;width:106px;height:106px}.resilience-dial::before{inset:9px}.overall-resource-strip{width:calc(100% - 125px)}.home-plan-hero{min-height:285px;padding:25px}.home-plan-hero h2{font-size:2rem}.resource-dashboard-grid{grid-template-columns:repeat(2,1fr)}.dashboard-resource{min-height:196px}.dashboard-resource .metric-progress{width:78%}.dashboard-middle-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.inventory-summary{grid-column:auto}.recommendation-panel{grid-template-columns:110px 1fr}.trend-empty{flex-direction:row;text-align:left}.plan-card-body{grid-template-columns:110px 1fr}
}
@media(max-width:460px){
  .topbar{height:64px;padding:0 12px}.global-search{width:calc(100% - 44px);padding-left:12px}.global-search input{font-size:.72rem}.topbar-profile>span{width:34px;height:34px}main{padding:7px 12px 88px}.dashboard-hero-grid,.resource-dashboard-grid,.dashboard-middle-grid,.dashboard-bottom-grid{gap:10px}.resource-dashboard-grid{grid-template-columns:1fr;margin-top:10px}.dashboard-resource{min-height:188px}.dashboard-resource .metric-progress{width:68%}.dashboard-middle-grid,.dashboard-bottom-grid{margin-top:10px}.overall-card{min-height:390px;padding:21px}.overall-heading-row{padding-right:0}.overall-heading-row .status-badge{position:static}.overall-heading-row h1{font-size:1.42rem}.overall-metric{margin-top:15px}.overall-metric>strong{font-size:3.2rem}.overall-copy p{max-width:235px}.resilience-dial{width:96px;height:96px;right:19px;bottom:55px}.overall-resource-strip{width:100%;padding-right:116px}.home-plan-hero{min-height:270px}.recommendation-panel{grid-template-columns:1fr}.recommendation-visual{display:none}.recommendation-copy{min-height:205px}.trend-empty{flex-direction:column;text-align:center}.plan-card-body{grid-template-columns:100px 1fr}.plan-dial{width:96px;height:96px}.plan-dial::before{inset:8px}.plan-facts>span{font-size:.62rem}.shopping-priorities li{grid-template-columns:24px minmax(0,1fr) 18px}.shopping-priorities li strong{display:none}
}
