:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233b32;background:#f6f5ef;font-synthesis:none;--green:#21614b;--muted:#748077;--line:#e0e4da}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;background:white;padding:10px 15px;color:inherit;font-weight:600}button:hover{background:#edf2e9}button:disabled{opacity:.55;cursor:wait}button.primary{background:var(--green);border-color:var(--green);color:white}button.small{padding:7px 11px;font-size:13px}button.ghost{background:transparent;border:0}.shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}aside{background:#eef0e7;border-right:1px solid var(--line);padding:36px 22px;display:flex;flex-direction:column;gap:40px;position:sticky;top:0;height:100vh}.brand{font-size:31px;letter-spacing:-1.7px;font-weight:800;display:flex;gap:10px;align-items:center}.brand img{width:38px}.brand small{font-size:11px;font-weight:500;letter-spacing:1px;display:block;color:var(--muted)}nav{display:grid;gap:8px}nav button{text-align:left;background:transparent;border:0;font-size:14px;padding:14px}nav button.active{background:#dce6d6;color:#174d37}nav span{display:inline-block;width:27px;font-size:18px}.aside-bottom{margin-top:auto;font-size:12px;color:var(--muted);line-height:1.8}.avatar{background:#d8e4d3;border-radius:50%;width:35px;height:35px;display:inline-grid;place-items:center;color:#21614b;font-weight:700}.member{display:flex;align-items:center;gap:10px;color:#233b32}main{padding:30px 5%;max-width:1500px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;padding-bottom:26px;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}.pill{border:1px solid var(--line);border-radius:20px;padding:6px 12px;background:#fff;font-size:12px}.page-head{display:flex;justify-content:space-between;align-items:center;margin:34px 0 24px;gap:18px}h1{font-family:Georgia,serif;font-weight:500;font-size:40px;letter-spacing:-1.2px;margin:0 0 9px}h2{font-size:19px;letter-spacing:-.4px;margin:0}h3{margin:0;font-size:17px}p{line-height:1.6}p.sub{color:var(--muted);font-size:14px;margin:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}.stat{background:white;border:1px solid var(--line);border-radius:13px;padding:22px}.stat label{font-size:12px;color:var(--muted)}.stat strong{display:block;font-size:30px;font-weight:600;margin:12px 0 5px;letter-spacing:-1px}.stat small{color:var(--muted);font-size:12px}.stat.featured{background:#e4ebdc}.section-head{display:flex;justify-content:space-between;align-items:center;margin:28px 0 17px;gap:12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card{background:white;border:1px solid var(--line);border-radius:13px;padding:23px}.service-top{display:flex;align-items:center;gap:13px;margin-bottom:22px}.service-icon{width:45px;height:45px;display:grid;place-items:center;font-size:22px;border-radius:12px;background:#edf1e8}.service-top .pill{margin-left:auto}.service-top p{margin:5px 0 0;font-size:12px;color:var(--muted)}.service-details{display:flex;justify-content:space-between;font-size:14px;margin-bottom:20px}.muted{color:var(--muted)}.actions{display:flex;gap:7px;flex-wrap:wrap}.actions button{flex:1}.card-footer{font-size:12px;border-top:1px solid var(--line);padding-top:13px;margin-top:17px;color:var(--muted)}.notice{background:#f0e9d6;border:1px solid #e8dec1;padding:16px 20px;border-radius:12px;font-size:13px;display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0}.notice.green{background:#e8efdf;border-color:#dce5d3}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty h3{color:#233b32;margin:15px 0 7px}.empty .big{font-size:36px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:white}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}th{text-align:left;background:#eef0e7;color:var(--muted);font-weight:500}td,th{padding:15px 18px;border-bottom:1px solid var(--line)}tr:last-child td{border:0}.status{font-size:11px;padding:5px 9px;border-radius:20px;background:#f1ecdc;color:#836a29}.status.received{background:#e3eddc;color:#397042}.status.missed{background:#f6e5df;color:#9e5441}.status.skipped{background:#e9ebed;color:#62707b}.field{display:grid;gap:7px;margin:15px 0;font-size:13px}.field input,.field select,.field textarea,input[type=date],input[type=month]{padding:11px 12px;border:1px solid #d6ddcf;border-radius:8px;background:white;color:#233b32;min-width:0}.field textarea{min-height:70px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkbox{display:flex;gap:10px;align-items:center;font-size:13px;margin:15px 0}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}.help{font-size:12px;color:var(--muted);line-height:1.6}.error{color:#a34235;font-size:13px;min-height:18px}dialog{border:1px solid var(--line);border-radius:16px;max-width:520px;width:calc(100% - 30px);padding:28px;color:#233b32;max-height:90vh}dialog::backdrop{background:#152d2166;backdrop-filter:blur(3px)}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:#21614b;color:#f4f0dd;padding:60px 12%;display:flex;flex-direction:column;justify-content:center}.auth-art h1{font-size:62px;line-height:1.1;margin:60px 0 24px}.auth-art p{color:#cbd9bd;font-size:17px}.auth-form{display:flex;justify-content:center;align-items:center;padding:35px}.auth-form form{max-width:370px;width:100%}.auth-form h2{font-family:Georgia,serif;font-size:30px;margin-bottom:10px}.auth-form .primary{width:100%;margin-top:15px}.footer{font-size:11px;color:var(--muted);margin-top:35px;display:flex;justify-content:space-between}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#233b32;color:white;border-radius:10px;padding:13px 22px;display:none;z-index:10;max-width:90vw}a{color:var(--green)}.timeline{display:grid;gap:14px}.trip{display:flex;justify-content:space-between;align-items:center;gap:20px}.trip p{font-size:13px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .card{height:fit-content}:focus-visible{outline:3px solid #b4cc8e;outline-offset:3px}.date-switch{display:flex;gap:8px;align-items:center}.tagline{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:#7b886f;margin-bottom:12px}
@media(min-width:1500px){main{padding:40px 65px}}@media(max-width:900px){.shell{grid-template-columns:180px 1fr}aside{padding:25px 14px}main{padding:25px}.stats{gap:10px}.stat{padding:17px}.grid,.settings-grid{grid-template-columns:1fr}.auth-art{padding:40px}.auth-art h1{font-size:46px}}@media(max-width:620px){.shell{display:block}aside{height:auto;position:static;padding:16px;gap:18px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:25px}.brand small,.aside-bottom{display:none}nav{display:flex;overflow:auto;gap:3px}nav button{white-space:nowrap;padding:10px;font-size:12px}nav span{width:20px;font-size:15px}main{padding:20px 16px}.topbar{padding-bottom:16px;font-size:11px}.page-head{margin:25px 0 20px;align-items:flex-start;flex-wrap:wrap}h1{font-size:33px}.stats{gap:8px}.stat{padding:13px 10px}.stat strong{font-size:24px}.stat label,.stat small{font-size:10px}.section-head{align-items:flex-start;flex-wrap:wrap}.notice,.trip{align-items:flex-start;flex-direction:column}.card{padding:19px}.auth{display:block}.auth-art{padding:25px}.auth-art h1{font-size:35px;margin:24px 0 5px}.auth-art p{font-size:13px}.auth-form{padding:30px 25px}.form-row{gap:10px}.footer{gap:14px}}

/* Delivery calendar: seven comfortable touch targets across, at every width. */
main,.card,.field,.service-top>div{min-width:0}.service-top h3,.service-top p,.delivery-record small{overflow-wrap:anywhere}
.delivery-calendar{padding:25px}.calendar-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.calendar-toolbar .field{margin:0;min-width:150px}.month-nav{display:flex;align-items:center;gap:12px}.month-nav>button{font-size:24px;min-width:44px;min-height:44px;padding:4px 12px}.month-picker{position:relative;display:grid;place-items:center;min-height:44px;font-weight:650;min-width:170px}.month-picker input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.month-picker:focus-within{outline:3px solid #b4cc8e;border-radius:8px}.calendar-summary{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0 17px}.calendar-count{font-size:12px;border-radius:20px;padding:8px 12px}.calendar-count strong{margin-right:4px;font-size:16px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.weekday{text-align:center;color:#707d73;font-size:12px;padding:10px 0}.calendar-day{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-width:0;min-height:90px;padding:12px;border:1px solid transparent;border-radius:10px;text-align:left;font-weight:500}.calendar-day:hover:not(:disabled){filter:brightness(.96);border-color:currentColor}.day-number{font-size:17px;font-weight:650}.day-symbol{position:absolute;top:12px;right:10px;font-size:15px}.day-detail{font-size:11px;margin-top:9px;overflow-wrap:anywhere}.received{background:#e3efdf;color:#275b37}.missed{background:#f9e2dd;color:#913d31}.skipped{background:#e4e9f5;color:#465d87}.unlogged{background:#fff2d4;color:#80601d}.unscheduled{background:#f2f3ee;color:#6d786c}.calendar-day.inactive,.calendar-day.future{background:#f7f7f3;color:#9a9f96;border:1px dashed #e3e5dc;opacity:1;cursor:default}.calendar-day.is-today{outline:2px solid #21614b;outline-offset:1px}.calendar-legend{display:flex;gap:12px 20px;flex-wrap:wrap;margin:23px 0 12px;font-size:12px;color:#5e6e61}.calendar-legend>span{display:flex;gap:6px;align-items:center}.legend-dot{display:inline-block;width:12px;height:12px;border:1px solid #0002;border-radius:4px}.partial-dot{display:inline-block;width:6px;height:6px;background:#275b37;border-radius:50%}.calendar-day>.partial-dot{position:absolute;right:9px;bottom:10px}.calendar-start{border-top:1px solid var(--line);padding-top:14px;display:flex;gap:14px;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.delivery-records{display:grid;grid-template-columns:1fr 1fr;gap:12px}.delivery-record{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;background:white;border:1px solid var(--line);border-radius:12px}.delivery-record>div{min-width:0}.delivery-record p{font-size:13px;margin:10px 0}.delivery-record small{font-size:12px}.quantity-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.quantity-presets button{min-height:44px;padding:8px 4px;font-size:13px;background:#edf2e7}.delivery-estimate{background:#e8efdf;border-radius:9px;padding:12px;font-size:14px;font-weight:600}.quantity-fields[hidden]{display:none}
@media(max-width:900px){.calendar-toolbar{gap:14px}.calendar-grid{gap:6px}.calendar-day{padding:9px;min-height:80px}.day-symbol{right:7px;top:9px}.delivery-records{grid-template-columns:1fr}}
@media(max-width:620px){.delivery-calendar{padding:13px 10px}.calendar-toolbar .field{width:100%}.calendar-toolbar .month-nav{flex:1;justify-content:space-between;gap:3px}.month-picker{min-width:130px;font-size:14px}.calendar-toolbar>button{padding:10px 8px;font-size:11px;min-height:44px}.calendar-grid{gap:4px}.calendar-day{padding:7px 4px;min-height:67px;border-radius:7px}.day-number{font-size:14px}.day-symbol{right:4px;top:8px;font-size:11px}.day-detail{font-size:9px;line-height:1.25;margin-top:7px}.weekday{font-size:10px}.calendar-summary{gap:6px;margin-top:18px}.calendar-count{font-size:10px;padding:6px 8px}.calendar-count strong{font-size:13px}.calendar-legend{font-size:10px;gap:10px}.calendar-start{align-items:flex-start;flex-direction:column}.calendar-day>.partial-dot{width:4px;height:4px;right:3px;bottom:4px}dialog{padding:20px;max-height:92dvh}.field input,.field select,.field textarea,input[type=date],input[type=month]{font-size:16px;max-width:100%}button{min-height:44px}.topbar{gap:8px}.topbar>span{min-width:0;overflow-wrap:anywhere}.topbar>span:last-child{flex-shrink:0}.stats .stat strong{font-size:clamp(17px,5.3vw,24px);overflow-wrap:anywhere}.form-row{grid-template-columns:repeat(2,minmax(0,1fr))}nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}nav button{white-space:normal;text-align:center;padding:10px 4px;font-size:11px}nav span{display:block;width:auto;margin-bottom:3px}.trip>div:last-child{display:flex;flex-wrap:wrap;gap:8px}}

.day-compact{display:none}@media(max-width:620px){.day-full{display:none}.day-compact{display:inline}.day-detail{overflow-wrap:normal;white-space:nowrap;font-size:9px}}

.day-note{display:block;width:100%;min-width:0;padding-right:7px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.3;font-weight:400}@media(max-width:620px){.day-note{font-size:9px;padding-right:4px}}

.note-popover{position:fixed;z-index:20;width:min(320px,calc(100vw - 16px));max-height:min(320px,calc(100dvh - 16px));overflow:auto;padding:16px 18px;background:#fffef8;color:#233b32;border:1px solid #d6ddcf;border-radius:12px;box-shadow:0 8px 30px #183b3029;font-size:13px;line-height:1.5}.note-popover[hidden]{display:none}.note-popover strong{font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:#657764}.note-popover p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}

.calendar-cell{position:relative;min-width:0;border-radius:10px}.calendar-cell>.calendar-day{width:100%;height:100%;padding-top:36px}.calendar-cell .day-symbol{display:none}.calendar-cell .day-number{position:absolute;top:10px;left:12px}.date-select{position:absolute;top:0;right:0;display:grid;place-items:center;width:34px;height:34px;cursor:pointer}.date-select input{width:17px;height:17px;margin:0;accent-color:#21614b;cursor:pointer}.calendar-cell.is-selected{outline:3px solid #21614b;outline-offset:1px}.bulk-toolbar{margin:12px 0 18px;background:#f5f6f0;border:1px solid var(--line);padding:14px;border-radius:10px}.bulk-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.bulk-controls strong{font-size:13px;margin-right:auto}.bulk-toolbar summary,.bulk-dates summary{cursor:pointer;font-size:13px;padding:12px 0}.bulk-range{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px}.bulk-range .field{margin:0}.bulk-toolbar .help{margin-bottom:0}.bulk-dates p{font-size:12px}.bulk-range input{width:100%}#bulk-quantity[hidden],#bulk-note[hidden]{display:none}
@media(max-width:620px){.calendar-cell{border-radius:7px}.calendar-cell>.calendar-day{padding-top:30px;min-height:79px}.calendar-cell .day-number{top:8px;left:4px;font-size:12px}.date-select{width:23px;height:28px}.date-select input{width:14px;height:14px}.bulk-toolbar{padding:10px}.bulk-controls{gap:6px}.bulk-controls strong{width:100%}.bulk-controls button{flex:1;font-size:11px}.bulk-range{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.bulk-range>button{grid-column:1/-1}.bulk-range .field{font-size:12px}}

.install-panel{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.install-panel button{width:100%}

.calendar-cell.has-festival>.calendar-day{padding-bottom:36px}.calendar-cell.has-festival .partial-dot{bottom:32px}.festival-chip{position:absolute;bottom:4px;left:4px;width:calc(100% - 8px);min-width:0;min-height:24px;padding:3px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f3e4fb;color:#773c8e;border:1px solid #dac1e8;font-size:10px;border-radius:5px;text-align:left}.festival-chip:hover{background:#ead2f6}.festival-list{display:grid;gap:12px}.festival-row{display:flex;gap:13px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;background:white;padding:18px}.festival-row>div:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}.festival-row h3{font-size:15px}.festival-row p{font-size:12px;margin:6px 0}.festival-mark{color:#773c8e;background:#f3e4fb;padding:8px;border-radius:10px}.festival-buttons{display:flex;gap:5px;flex-wrap:wrap;max-width:200px}.adjusted{font-size:11px;color:#773c8e}.festival-description{white-space:pre-wrap}dialog .festival-row{flex-wrap:wrap}
@media(max-width:620px){.calendar-cell.has-festival>.calendar-day{padding-bottom:30px}.festival-chip{font-size:8px;padding:3px 2px;min-height:22px;left:2px;width:calc(100% - 4px);bottom:3px}.festival-row{flex-wrap:wrap;padding:14px;gap:10px}.festival-buttons{max-width:none;width:100%;justify-content:flex-end}.festival-panel .section-head h2{font-size:17px}}

/* Home delivery UX: actions look actionable; saved status is separate. */
.delivery-card-state{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:-5px 0 18px}.status.pending{background:#fff2d4;color:#80601d}.log-delivery-action{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:48px;background:#fff;border:1.5px solid #7d8b80;color:#263d33;font-size:15px}.log-delivery-action:hover{background:#f1f4ee}.log-delivery-action:active{background:#e2e8dc}.delivery-service-card .service-details{gap:12px;flex-wrap:wrap}.home-log-widget{margin:24px 0 30px}.home-log-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.home-log-heading .tagline{font-size:10px;margin-bottom:8px}.home-log-heading h2{font-size:24px;margin-bottom:7px}.home-log-heading button{min-height:48px}.home-log-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:20px 0}.home-log-toolbar .field{margin:0;min-width:160px}.home-log-range{display:flex;align-items:center;gap:10px;font-size:12px}.home-log-range button{min-width:48px;min-height:48px;font-size:24px}.home-log-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.home-log-day{min-width:0;min-height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px 5px;border:1px solid transparent}.home-log-day:hover:not(:disabled){border-color:currentColor;filter:brightness(.97)}.home-log-day.is-today{outline:2px solid #21614b;outline-offset:1px}.home-log-day strong{font-size:22px}.home-day-week{font-size:12px}.home-day-status{font-size:11px;line-height:1.3}.home-log-day small{font-size:10px}.home-log-day.inactive{background:#f1f2ed;color:#8a9389;cursor:default}.home-log-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;font-size:12px;color:#617260}.delivery-outcomes{border:0;margin:20px 0;padding:0;display:grid;gap:8px}.delivery-outcomes legend{font-size:14px;font-weight:650;margin-bottom:10px}.delivery-outcome{display:flex;gap:12px;align-items:center;min-height:64px;padding:12px;border:1px solid #d6ddcf;border-radius:10px;cursor:pointer}.delivery-outcome:has(input:checked){border-color:#4f637e;background:#eef2f8}.delivery-outcome:focus-within{outline:2px solid #7892b2;outline-offset:2px}.delivery-outcome input{width:20px;height:20px;accent-color:#4f637e;flex-shrink:0}.delivery-outcome span{display:grid;gap:4px}.delivery-outcome strong{font-size:14px}.delivery-outcome small{font-size:12px;color:#65716c}
@media(max-width:620px){.home-log-heading{align-items:flex-start;flex-wrap:wrap}.home-log-heading h2{font-size:22px}.home-log-toolbar{gap:12px}.home-log-toolbar .field{width:100%}.home-log-range{width:100%;justify-content:space-between}.home-log-days{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.home-log-day{min-height:108px}.home-log-widget{padding:18px 13px}.home-log-footer{display:grid;line-height:1.5}.delivery-outcome{min-height:68px}.delivery-card-state .help{font-size:12px}}

.home-log-day .home-day-week,.home-log-day .home-day-status{font-size:14px}.home-log-day small{font-size:12px}.home-log-range,.home-log-footer{font-size:14px}.home-log-heading .sub{font-size:16px}.home-log-day{overflow-wrap:anywhere}.home-log-day strong{font-size:24px}.delivery-outcome strong{font-size:16px}.delivery-outcome small{font-size:14px}
@media(max-width:380px){.home-log-days{grid-template-columns:repeat(3,minmax(0,1fr))}}

.remember-device{display:flex;align-items:center;gap:12px;min-height:48px;margin:16px 0;cursor:pointer;font-size:16px}.remember-device input{width:22px;height:22px;flex-shrink:0;accent-color:#21614b}.remember-device span{display:grid;gap:4px}.remember-device small{font-size:14px;line-height:1.4;color:#65716c}.remember-device:focus-within{outline:2px solid #21614b;outline-offset:4px;border-radius:4px}

/* Bills and reminders share existing navigation and surface only actionable dates at home. */
.obligation-panel{margin:26px 0 32px;padding:22px;background:#f7f8f2;border:1px solid var(--line);border-radius:16px}.obligation-panel>.help{margin:8px 0 16px}.obligation-list{display:grid;gap:10px}.obligation-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px;background:white;border:1px solid var(--line);border-radius:12px}.obligation-row>div:first-child{min-width:0;overflow-wrap:anywhere}.obligation-row h3{font-size:17px;margin:5px 0}.obligation-row p{font-size:14px;margin:6px 0;line-height:1.5}.obligation-type{font-size:12px;color:#617260}.obligation-late{color:#a34228;font-weight:600}.obligation-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.obligation-actions button{min-height:44px}.obligation-archive{margin-top:18px}.obligation-archive summary{cursor:pointer;padding:10px 0;font-size:14px}.obligation-history{display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px;overflow-wrap:anywhere}.obligation-panel>.ghost{margin-top:12px}#obligation-amount{min-width:0}#obligation-amount .field{margin:0}[hidden]{display:none!important}
@media(max-width:620px){.obligation-panel{padding:15px}.obligation-panel .section-head{align-items:flex-start;flex-wrap:wrap;gap:12px}.obligation-panel h2{font-size:20px}.obligation-row{align-items:flex-start;flex-direction:column;gap:10px}.obligation-actions{width:100%}.obligation-actions button{flex:1}.obligation-history{flex-direction:column;gap:5px}}

.item-type-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.item-type-choices button{display:flex;flex-direction:column;gap:8px;text-align:left;padding:18px;white-space:normal;line-height:1.5}.item-type-choices strong{font-size:18px;color:#21614b}.item-type-choices span{font-size:14px}.item-type-choices small{font-size:13px;color:#617260}.weekday-choices{display:flex;flex-wrap:wrap;gap:8px}.weekday-choices label{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:8px}.weekday-choices input{width:20px;height:20px}.weekday-choices label:has(input:checked){background:#e2eee5;border-color:#21614b}#delivery-weekdays{border:1px solid var(--line);border-radius:10px;padding:12px;margin:0 0 20px}.category-filter{max-width:300px;margin:18px 0}@media(max-width:480px){.item-type-choices{grid-template-columns:1fr}.item-type-choices button{padding:14px}}

.calendar-conflict{padding:14px;margin-top:14px;border:1px solid #d7b18c;border-radius:10px;background:#fff8ee}.calendar-sync-card details{margin-top:18px}.calendar-sync-card summary{cursor:pointer}.calendar-sync-card .actions{flex-wrap:wrap}

/* Shared to-dos: wrapping chips with explicit urgency labels and touch targets. */
.todo-panel{margin-bottom:24px}.todo-heading h2{margin:0}.todo-heading h2 span{font-size:14px;font-weight:400}.todo-heading .sub{margin-bottom:18px}.todo-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(155px,190px) auto;gap:12px;align-items:end}.todo-form .field{margin:0}.todo-form button{min-height:44px}.todo-error{grid-column:1/-1;margin:0}.todo-error:empty{display:none}.todo-chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:20px 0 0;padding:0}.todo-chip{display:flex;align-items:center;max-width:100%;min-width:0;border:1px solid;border-radius:18px;padding:4px 8px 4px 4px}.todo-chip button{background:transparent;color:inherit;border:0;box-shadow:none;min-height:44px}.todo-check{flex:0 0 44px;font-size:24px;padding:4px}.todo-content{min-width:0;text-align:left;padding:7px 8px;display:flex;flex-direction:column;gap:5px}.todo-content strong{overflow-wrap:anywhere;white-space:pre-wrap}.todo-content span{font-size:12px;font-weight:400}.todo-overdue{background:#fce8e6;color:#902d29;border-color:#edb9b4}.todo-today{background:#fff0df;color:#87420f;border-color:#edc49e}.todo-soon{background:#fff8d6;color:#716014;border-color:#e1d28d}.todo-later{background:#e9f1fc;color:#315b87;border-color:#b9cde8}.todo-done{background:#eef2ec;color:#52634e;border-color:#ccd5c8}.todo-done strong{text-decoration:line-through}.todo-completed{margin-top:20px}.todo-completed summary{cursor:pointer;padding:12px 0;font-size:14px}.todo-empty{color:var(--muted);font-size:14px;margin-bottom:0}.todo-chip button:hover{background:#ffffff50}.todo-chip:focus-within{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:900px){.todo-form{grid-template-columns:minmax(0,1fr) minmax(145px,180px)}.todo-form>button{grid-column:1/-1}}
@media(max-width:480px){.todo-form{grid-template-columns:minmax(0,1fr)}.todo-chip{width:100%}.todo-content{flex:1}.todo-heading h2 span{display:inline-block}.todo-form input{width:100%;min-width:0}}

/* Keep native controls keyboard-accessible while constraining intrinsic option widths. */
.shell{grid-template-columns:230px minmax(0,1fr)}
.field{grid-template-columns:minmax(0,1fr)}
.field input,.field select,.field textarea{width:100%;max-width:100%;min-height:44px}
.field select{cursor:pointer;line-height:1.4;text-overflow:ellipsis;color-scheme:light}
.field select:disabled{background:#f1f3ee;color:#617260;cursor:not-allowed;opacity:1}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-color:var(--green)}
.form-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
.form-row>*,.bulk-range>*{min-width:0}
.form-row>.field{align-self:stretch;align-content:end}
.form-row>#obligation-amount{margin:15px 0}
.calendar-toolbar .field,.home-log-toolbar .field{flex:1 1 180px;min-width:0;max-width:320px}
.category-filter{width:100%}
button:disabled{cursor:not-allowed}
dialog{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
dialog h2{overflow-wrap:anywhere}
body:has(dialog[open]){overflow:hidden}
.form-actions{flex-wrap:wrap}
.service-icon,.avatar{flex-shrink:0}
.home-log-range{min-width:0;max-width:100%}
.home-log-range>span{min-width:0;text-align:center}
.footer{flex-wrap:wrap}
@media(min-width:621px) and (max-width:900px){.shell{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:620px){
  .topbar{flex-wrap:wrap}.topbar>span:last-child{flex-shrink:1}
  dialog .form-row{grid-template-columns:minmax(0,1fr);gap:0}
  dialog .form-row>.field,dialog .form-row>#obligation-amount{margin:10px 0}
  .calendar-toolbar .field,.home-log-toolbar .field{flex-basis:100%;max-width:100%}
  .form-actions>button{flex:1;min-width:0}
  .date-switch{max-width:100%;flex-wrap:wrap}
}
@media(max-width:380px){.quantity-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
