.w4d-page{--w4d-subtle:#605e57;--w4d-border:#e4dfd2;--w4d-tint:#fff9e9;--w4d-accent:#624617;min-width:0}.w4d-shell{max-width:1040px;margin:auto;padding:24px clamp(16px,4vw,40px) 44px}.w4d-hero{margin:16px 0 24px;padding:clamp(20px,5vw,44px);border:1px solid #ecdcb2;border-radius:24px;background:linear-gradient(125deg,#fff8df,#fffdf8 80%)}.w4d-hero h1{margin:0 0 12px;max-width:24ch;font-size:clamp(27px,5vw,44px);font-weight:850;line-height:1.25;text-wrap:balance}.w4d-hero p{margin:0 0 12px;max-width:66ch;line-height:1.7;color:var(--w4d-subtle)}.w4d-hero .w4d-badge{font-size:.875rem}.w4d-hero .w4d-badge,.w4d-jump{color:var(--w4d-accent);font-weight:750}.w4d-jump{display:inline-flex;gap:8px;min-height:44px;align-items:center;text-decoration:underline;text-underline-offset:4px}.w4d-workspace{display:grid;gap:16px;scroll-margin-top:90px}.w4d-actions,.w4d-panel,.w4d-status{min-width:0;padding:clamp(14px,3vw,24px);border:1px solid var(--w4d-border);border-radius:20px;background:#fff}.w4d-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;background:var(--w4d-tint)}.w4d-panel>p{margin-top:8px;color:var(--w4d-subtle)}.w4d-page h2{font-size:clamp(19px,3vw,25px);font-weight:800;line-height:1.4;text-wrap:pretty}.w4d-page h3,.w4d-page h4{font-weight:750;line-height:1.4}.w4d-page:lang(ko){word-break:keep-all}.w4d-page :is(p,li,td,th,h3,h4,label){overflow-wrap:break-word}.w4d-block{display:block}.w4d-nowrap{white-space:nowrap}.w4d-muted{color:var(--w4d-subtle)}.w4d-workspace fieldset{min-width:0;margin:12px 0 0}.w4d-balance,.w4d-entry,.w4d-result{min-width:0;margin:10px 0;padding:12px;border:1px solid var(--w4d-border);border-radius:12px;background:#fffcf6}.w4d-entry-heading{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;justify-content:space-between;margin-bottom:6px}.w4d-aisles,.w4d-balances,.w4d-fields,.w4d-stats,.w4d-week{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:10px}.w4d-field{display:grid;min-width:0;flex:1;gap:4px;font-size:.9rem;font-weight:650}.w4d-field :is(input,select,textarea){width:100%;min-width:0;max-width:100%;min-height:42px;padding:7px 8px;border:1px solid #aca595;border-radius:8px;color:#2c2f36;background:#fff;font-size:16px;font-weight:400}.w4d-field [aria-invalid=true]{border-color:#a92b23}.w4d-field textarea{resize:vertical}.w4d-workspace button{max-width:100%;min-height:44px;border:1px solid #b9ac92;border-radius:8px;background:#fff;padding:6px 10px;color:#49381a;font-size:.875rem;font-weight:700;line-height:1.35;text-wrap:pretty}.w4d-workspace button:not(:disabled):hover,.w4d-workspace button[aria-pressed=true]{background:#fff0c3;border-color:#9c7130}.w4d-workspace button.w4d-primary{background:#f9d576;border-color:#b98c30}.w4d-workspace button:disabled{opacity:.56;cursor:default}.w4d-workspace :is(a,button,input,select,summary,textarea):focus-visible{outline:2px solid #8c5516;outline-offset:2px}.w4d-buttons{display:flex;flex-wrap:wrap;gap:6px}.w4d-workspace details{margin-top:8px}.w4d-workspace summary{width:-moz-fit-content;width:fit-content;min-height:38px;padding:7px 0;cursor:pointer;color:var(--w4d-accent);font-weight:650}.w4d-actions details .w4d-field+.w4d-field{margin-top:8px}.w4d-error{margin-bottom:8px;color:#a92b23;font-weight:700}.w4d-actions [role=status]{margin-top:8px}.w4d-result h3{margin-bottom:6px}.w4d-result mark{display:inline-block;padding:0 5px;border-radius:4px;background:#ffebaa;font-weight:750}.w4d-result li+li{margin-top:4px}.w4d-panel table,.w4d-paper table{width:100%;margin-top:10px;border-collapse:collapse;font-size:.9rem;line-height:1.45}.w4d-page :is(th,td){padding:7px 5px;border-bottom:1px solid var(--w4d-border);text-align:left;vertical-align:top}.w4d-page thead{background:var(--w4d-tint)}.w4d-page td small{margin-top:2px;color:var(--w4d-subtle);font-size:.79rem}.w4d-stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,126px),1fr));margin:12px 0}.w4d-stats>div{padding:10px;border-radius:10px;background:var(--w4d-tint)}.w4d-stats dt{color:var(--w4d-subtle);font-size:.85rem}.w4d-stats dd{font-size:1.125rem;font-weight:750;font-variant-numeric:tabular-nums}.w4d-balances{margin-top:12px}.w4d-balance{margin:0}.w4d-balance small{margin-left:5px;color:var(--w4d-subtle)}.w4d-balance ul{display:flex;gap:3px 9px;flex-wrap:wrap;font-size:.8rem}.w4d-meter{display:flex;height:10px;margin:7px 0;overflow:hidden;border-radius:5px;background:#f0ede6}.w4d-meter span{flex-basis:0}.w4d-dot{display:inline-block;width:8px;height:8px;margin-right:3px;border-radius:50%}.w4d-color-0{background:#d5d0c5}.w4d-color-1{background:#e5a36e}.w4d-color-2{background:#8eb1c9}.w4d-color-3{background:#83a980}.w4d-color-4{background:#b7a3d0}.w4d-task-group{margin:14px 0}.w4d-task-group>h3{color:var(--w4d-accent)}.w4d-task-group .w4d-entry-heading{margin-bottom:4px}.w4d-task-group .w4d-entry-heading button{min-height:34px}.w4d-task-group details{margin-top:4px}.w4d-toggles{display:flex;flex-wrap:wrap;gap:8px 16px}.w4d-aisles label,.w4d-toggles label{display:flex;align-items:baseline;gap:8px;padding:4px 0}.w4d-workspace input[type=checkbox]{flex:none;width:16px;height:16px;accent-color:#825d22}.w4d-meal{margin-top:8px}.w4d-custom{padding-top:8px}.w4d-aisles>section{padding:8px;min-width:0;border-radius:8px;background:#fffcf6}.w4d-guide{margin:20px 0;padding:8px 0;max-width:760px}.w4d-guide :is(ol,ul){margin:8px 0 8px 1.4em}.w4d-guide ol{list-style:decimal}.w4d-guide ul{list-style:disc}.w4d-guide li{margin-bottom:6px}.w4d-guide a{text-decoration:underline;text-underline-offset:3px}.w4d-paper{display:none}@media (min-width:850px){.w4d-week{grid-template-columns:repeat(3,minmax(0,1fr))}}@media screen and (min-width:1024px){.w4d-task-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}.w4d-task-cards>.w4d-entry{margin:0}}@page w4d-a4{size:A4 portrait;margin:12mm}@page w4d-meals{size:auto;margin:10mm}@media print{.w4d-page{page:w4d-a4;background:#fff!important;color:#000}.w4d-page[data-w4d-page=meal-planner]{page:w4d-meals}.w4d-page .w4d-screen{display:none!important}.w4d-page :is(.w4d-shell,.w4d-hero,.w4d-panel,.w4d-paper){max-width:none;margin:0;padding:0;border:0;border-radius:0;background:#fff}.w4d-page .w4d-workspace{display:block}.w4d-page :is(.w4d-panel,.w4d-paper){margin-top:9pt}.w4d-page .w4d-paper{display:block}.w4d-page table.w4d-paper{display:table}.w4d-page span.w4d-paper{display:inline}.w4d-page h1{max-width:none;font-size:20pt}.w4d-page h2{font-size:14pt}.w4d-page :is(h1,h2,h3,h4){-moz-column-break-after:avoid;break-after:avoid}.w4d-page :is(tr,.w4d-balance,.w4d-aisles li){-moz-column-break-inside:avoid;break-inside:avoid}.w4d-page :is(th,td){padding:3pt;font-size:9pt}.w4d-page .w4d-balances{grid-template-columns:repeat(3,1fr);gap:4pt}.w4d-page .w4d-balance{padding:4pt;font-size:9pt}.w4d-page .w4d-meter{-webkit-print-color-adjust:exact;print-color-adjust:exact}.w4d-page .w4d-aisles{display:block;-moz-columns:3;column-count:3;-moz-column-gap:12pt;column-gap:12pt;font-size:8.5pt}.w4d-page .w4d-aisles>section{padding:0 0 4pt;background:#fff}.w4d-page .w4d-aisles label{display:block;padding:0}}