/* Approved A composition, using the app's existing planner and calendar tokens. */
.sheet:has(.day-plan-workspace) .sheet-header h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sheet:has(.day-plan-workspace) .sheet-header .tutorial-help-toolbar{margin-left:auto}
#modal .day-plan-workspace .day-plan-date .date-trigger{width:auto;min-height:48px;flex-direction:row;gap:8px;padding:10px 14px;border-radius:16px}
#modal .day-plan-workspace .day-plan-date [data-date-caption]{font-size:13px;line-height:1.5}
#modal .day-plan-workspace .day-plan-date{margin:0 0 14px}
#modal .day-plan-workspace.replan-workspace.plan-preview.plan-editor{gap:12px}
.replan-workspace .day-plan-time-summary{gap:6px}
.replan-workspace .day-plan-list-heading{margin-bottom:4px}
#modal .screen-page:has(.day-plan-workspace) .sheet-header{padding-block:calc(4px + env(safe-area-inset-top)) 4px}
#modal .screen-page:has(.day-plan-workspace) .sheet-footer{padding-block:10px;gap:6px!important}
.replan-delay .day-plan-list-heading h4{font-size:14px}
.replan-delay .day-plan-list-heading>button{display:flex;align-items:center;gap:6px}
.replan-delay-presets{display:flex;flex-wrap:wrap;gap:7px}
.replan-delay-presets>button{flex:1 1 4.9em;min-width:max-content;min-height:44px;padding:10px 7px;border:1px solid var(--line);border-radius:16px;font-size:13px;line-height:1.5;white-space:nowrap;background:var(--surface);color:var(--muted)}
.replan-delay-presets>[aria-pressed=true]{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}
#replan-delay-options{padding-top:16px}
#replan-delay-options[hidden]{display:none}
.replan-workspace .day-plan-capacity>strong{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;font-variant-numeric:tabular-nums}
.replan-workspace .day-plan-capacity del{font-weight:400;color:var(--muted)}
#modal .replan-workspace .replan-edit-row{padding:14px}
#modal .replan-workspace .replan-edit-row.is-unselected{background:transparent}
#modal .replan-workspace .replan-edit-row.is-blocked{border-color:var(--danger)}
#modal .replan-workspace .plan-row-select:has(input:disabled){opacity:.65;cursor:default}
#modal .replan-workspace .replan-time-change{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding-left:56px;font-size:13px;line-height:1.7;font-variant-numeric:tabular-nums;color:var(--muted);overflow-wrap:anywhere}
#modal .replan-workspace [data-plan-kind=task] .replan-time-change{padding-left:2px}
.replan-time-change>*{min-width:0;max-width:100%}
.replan-time-change strong{font-weight:600;color:var(--accent-ink)}
.replan-time-change del{text-decoration-color:color-mix(in srgb,var(--muted) 50%,transparent)}
#modal .replan-workspace .replan-row-note{font-size:12px;line-height:1.6;color:var(--muted);margin:9px 0 0}
.replan-fixed-choice{display:flex;gap:10px;align-items:center;grid-column:1/-1;min-height:44px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.replan-fixed-choice input{flex:none;width:22px;height:22px;accent-color:var(--accent);margin:0}
#modal .replan-workspace .plan-order-buttons{display:flex;gap:4px;flex-wrap:wrap}
.replan-preserved{margin-top:20px}
.replan-preserved .day-plan-list-heading{color:var(--muted)}
.replan-preserved .day-plan-list-heading h4{font-size:14px}
.replan-preserved-row{display:flex;gap:12px;align-items:center;padding:14px 2px;border-bottom:1px solid var(--line)}
.replan-preserved-copy{flex:1;min-width:0;display:grid;gap:5px}
.replan-preserved-copy strong{font-size:14px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}
.replan-preserved-copy small{font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.replan-preserved-row>.icon-btn{flex:none;width:44px;min-height:44px;color:var(--accent-ink);background:var(--surface-2);border-radius:15px}
.replan-preserved-row>span:last-child:not(.replan-preserved-copy){padding:12px;color:var(--muted)}
.replan-conflicts{color:var(--danger);background:var(--danger-soft);border:1px solid var(--danger);border-radius:16px;padding:12px 14px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.replan-workspace [data-replan-feedback][hidden],.replan-workspace [data-replan-conflicts][hidden]{display:none}
.replan-workspace [data-replan-feedback]:empty{display:none}
.replan-workspace #replan-changes,.replan-workspace #replan-calendar{min-width:0}
@media(max-width:359px){#modal .replan-workspace .replan-edit-row{padding:12px}#modal .replan-workspace .replan-time-change{padding-left:47px}.replan-delay-presets{gap:5px}}
