/* Keep the home deadline summary small; each full row opens its existing task. */
#home-deadlines{grid-column:1/-1;min-width:0}
#home-deadlines:empty{display:none}
.home-deadlines{min-width:0;margin:0;color:var(--ink,#1d2822)}
.home-deadlines-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;margin-bottom:5px}
.home-deadlines-heading h2{font-size:13px;font-weight:650;line-height:1.5;margin:0;letter-spacing:-.2px}
.home-deadlines-heading>span{font-size:10px;line-height:1.6;color:var(--muted,#627068)}
.home-deadlines ul{list-style:none;margin:0;padding:0}
.home-deadlines li{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--line,#dfe5e1)}
.home-deadline-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto) 14px;align-items:center;gap:8px;min-height:44px;padding:8px 0;color:inherit;text-decoration:none;border-radius:4px;box-sizing:border-box}
.home-deadline-row strong{font-size:12px;font-weight:600;line-height:1.6;min-width:0;overflow-wrap:anywhere}
.home-deadline-value{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px 7px;font-size:12px;line-height:1.6;color:var(--green,#2a5e49);min-width:0;text-align:right;overflow-wrap:anywhere}
.home-deadline-holiday{font-size:10px;color:#805629;background:#f7efdf;border-radius:4px;padding:1px 5px;white-space:nowrap}
.home-deadline-arrow{font-size:13px;color:var(--green,#2a5e49)}
.home-deadline-row:hover{background:#edf3ef}
.home-deadline-row:focus-visible{outline:2px solid #397eaa;outline-offset:3px}
.home-deadlines .home-deadlines-note{font-size:10px;line-height:1.65;color:var(--muted,#627068);margin:8px 0 0;overflow-wrap:anywhere}
.storage-choice .required{display:inline-block;color:#285b40;background:#e9f3ed;font-size:10px;font-weight:600;padding:1px 6px;border-radius:4px;vertical-align:middle}
.storage-choice[aria-invalid=true]{border-color:#ad4435;background:#fff8f5}
.storage-error{color:#a13f31;font-size:12px;line-height:1.6;margin:8px 0 0;font-weight:500}
.storage-error:empty,.storage-error[hidden]{display:none}
.storage-choice{scroll-margin-block:20px}
#plan-dialog{overscroll-behavior:contain}
body:has(#plan-dialog[open]){overflow:hidden}
.task-workbench [data-detail="return-plan"] .task-meta>span.date-kind{display:inline;color:var(--muted,#627068)}
@media(max-width:420px){.home-deadline-row{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr) 12px;gap:7px}.home-deadline-value{font-size:11px;gap:2px 6px}}
