/* Scoped styles for the read-only deadline simulation. */
.dsp-dialog{width:min(1440px,96vw);max-width:96vw;height:94vh;max-height:94vh;padding:0;border:1px solid #dce3ef;border-radius:20px;box-shadow:0 25px 100px #14214355;background:#f7f9fc;color:#17233b}.dsp-dialog::backdrop{background:#101a35a6}.dsp{font:14px/1.55 Inter,system-ui,sans-serif;color:#23334f;background:#f7f9fc;padding:28px;box-sizing:border-box}.dsp *{box-sizing:border-box}.dsp button,.dsp input,.dsp select{font:inherit;max-width:100%}.dsp button{border:1px solid #d7dfed;background:white;border-radius:8px;padding:8px 12px;cursor:pointer;color:#253754}.dsp button:hover{background:#eaf0ff;border-color:#a4b6e7}.dsp button:disabled{opacity:.4;cursor:default}.dsp :focus-visible{outline:3px solid #647be5;outline-offset:2px}.dsp-header{display:flex;justify-content:space-between;align-items:center;gap:18px}.dsp h1{font-size:28px;line-height:1.2;margin:7px 0}.dsp h3{font-size:17px;margin:0}.dsp-header p{margin:0;color:#62708a}.dsp-eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#586bd3}.dsp-header-actions{display:flex;align-items:center;gap:12px}.dsp-readonly{font-size:11px;font-weight:800;letter-spacing:.5px;border-radius:30px;background:#e7edff;color:#3d51ae;padding:8px 12px}.dsp-meta{margin:16px 0;color:#6b7890;font-size:12px}.dsp-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:20px}.dsp-stat{background:white!important;border:1px solid #dde5f0;border-radius:12px;padding:16px;display:flex;flex-direction:column}.dsp-stat strong{font-size:29px;line-height:1.2}.dsp-stat span{color:#61718a;font-size:12px;margin-top:7px}.dsp-normal{color:#17674c;background:#e6f4ec}.dsp-recovery{color:#8d570e;background:#fff1d9}.dsp-conflict{color:#a43742;background:#fff0f1}.dsp-review{color:#6550a6;background:#f0ebff}.dsp-pending,.dsp-summary{color:#64728b;background:#eaf0f7}.dsp-notice{background:#fff8e9;border:1px solid #eddfbc;border-left:4px solid #d6a53d;border-radius:8px;padding:12px 16px;font-size:12px;margin-bottom:14px}.dsp-projects{border:1px solid #dbe2ee;background:white;padding:12px 16px;border-radius:10px;margin-bottom:20px;font-size:12px}.dsp-projects summary{font-weight:700;cursor:pointer;color:#5f509e}.dsp-projects p{border-top:1px solid #edf0f6;padding-top:10px;margin:10px 0 0}.dsp-tabs{display:flex;gap:4px;border-bottom:1px solid #dbe3ef;margin-top:10px;overflow-x:auto}.dsp-tabs button{border:0;border-radius:8px 8px 0 0;background:none;white-space:nowrap;padding:12px 18px}.dsp-tabs button[aria-pressed=true]{background:#e9efff;color:#3f54b9;box-shadow:inset 0 -3px #5d70d8;font-weight:700}.dsp-filters{display:grid;grid-template-columns:1.3fr 1fr 1.4fr 1fr;gap:12px;margin:20px 0 16px}.dsp label{font-size:11px;font-weight:700;display:flex;flex-direction:column;gap:5px;color:#63728b}.dsp select,.dsp input{border:1px solid #d8e1ed;border-radius:8px;background:white;color:#243754;padding:9px 10px;min-width:0;width:100%;height:40px}.dsp-monthbar{display:flex;justify-content:space-between;gap:15px;align-items:end;margin-bottom:16px}.dsp-monthbar>div{display:flex;gap:6px}.dsp-monthbar input{max-width:180px}.dsp-monthbar label{min-width:200px}.dsp-calendar{border:1px solid #dae3ef;border-radius:12px;overflow:hidden;background:white;min-width:700px}.dsp-weekdays,.dsp-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.dsp-weekdays{background:#eef2f9;font-weight:700;color:#67768d;font-size:11px;text-align:center}.dsp-weekdays span{padding:10px}.dsp-day{min-height:134px;padding:7px;border-top:1px solid #e4eaf3;border-right:1px solid #e4eaf3;min-width:0}.dsp-day:nth-child(7n){border-right:0;background:#f9fafc}.dsp-dim{background:#f3f5f9!important}.dsp-dim .dsp-day-number{color:#8e99ad}.dsp-today{background:#f2f5ff}.dsp-day-number{border:0!important;background:none!important;font-size:12px!important;padding:1px 3px!important;display:flex;justify-content:space-between;width:100%;text-align:left;font-weight:700!important}.dsp-day-number span{font-size:9px;color:#6072cf}.dsp-day-number[aria-pressed=true]{outline:2px solid #5d70d8}.dsp-event{padding:5px 6px;border-radius:5px;margin-top:5px;border-left:2px solid currentColor;font-size:10px}.dsp-event b,.dsp-event span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dsp-event span{font-size:9px;opacity:.85}.dsp-more{font-size:10px!important;padding:2px 5px!important;border:0!important;margin-top:4px}.dsp-calendar-scroll,.dsp-table-wrap{overflow-x:auto;max-width:100%}.dsp-section-title{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px;gap:10px}.dsp-section-title>span{font-size:12px;color:#75829b}.dsp-table-wrap{border:1px solid #dce4ee;border-radius:12px;background:white}.dsp-table{border-collapse:collapse;width:100%;font-size:12px;min-width:820px;text-align:left}.dsp-table th{background:#eef2f8;font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:#65748d}.dsp-table th,.dsp-table td{padding:12px;vertical-align:top;border-bottom:1px solid #e7edf5}.dsp-table td:first-child{max-width:260px;overflow-wrap:anywhere}.dsp-table small,.dsp-queues small{display:block;font-size:10px;color:#6c7990;margin-top:4px}.dsp-old{color:#748099}.dsp-badge{display:inline-block;border-radius:20px;padding:3px 8px;font-size:10px;font-weight:700;white-space:nowrap}.dsp-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:12px;font-size:12px;color:#73809a}.dsp-pagination>span{margin-right:auto}.dsp-hint{font-size:12px;color:#65748d}.dsp-load-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dsp-load{padding:16px;background:white;border:1px solid #dde4ef;border-radius:12px;min-width:0}.dsp-load>div{display:flex;justify-content:space-between;gap:8px;font-size:12px}.dsp-load progress{width:100%;height:9px;accent-color:#6978d8;margin:14px 0}.dsp-load small,.dsp-load p{font-size:10px;color:#708099}.dsp-alert{display:block;font-size:11px;color:#b04445}.dsp-queues{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dsp-queues section{background:white;padding:20px;border:1px solid #dce4ef;border-radius:12px}.dsp-queues p{font-size:12px;color:#748198}.dsp-queues article{padding:12px 0;border-bottom:1px solid #edf0f6;font-size:12px}.dsp-footer{padding-top:22px;margin-top:20px;border-top:1px solid #dce4ef;font-size:11px;color:#75829a}.dsp-error{padding:24px;color:#a53440;font:14px system-ui}.dsp-loading{padding:30px;font:14px system-ui;color:#56637b}
@media(max-width:768px){.dsp-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border:0;border-radius:0}.dsp{padding:16px}.dsp h1{font-size:24px}.dsp-header{align-items:flex-start}.dsp-header-actions{flex-direction:column;align-items:flex-end;gap:8px}.dsp-readonly{font-size:8px;padding:6px 8px}.dsp-header p{font-size:12px}.dsp-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dsp-stat{padding:12px}.dsp-stat strong{font-size:23px}.dsp-stat span{font-size:10px}.dsp-filters{grid-template-columns:1fr 1fr;gap:10px}.dsp-filters label{min-width:0}.dsp-tabs button{padding:11px 13px;font-size:12px}.dsp-monthbar{flex-wrap:wrap}.dsp-monthbar label{min-width:0;width:100%}.dsp-calendar{min-width:690px}.dsp-day{min-height:120px}.dsp-load-grid,.dsp-queues{grid-template-columns:1fr}.dsp-pagination{flex-wrap:wrap}.dsp-section-title{align-items:flex-start}.dsp-section-title h3{font-size:15px}.dsp-section-title>span{font-size:10px}}
@media(max-width:600px){.dsp-calendar{min-width:0;border:0;background:transparent}.dsp-weekdays{display:none}.dsp-days{display:block}.dsp-day{border:1px solid #dce4ef!important;background:white!important;border-radius:10px;margin-bottom:10px;padding:12px;min-height:0}.dsp-day:not(:has(.dsp-event,.dsp-day-load)){display:none}.dsp-day-number{font-size:13px!important}.dsp-event{font-size:12px;padding:7px 8px}.dsp-event span{font-size:10px}.dsp-day-number span{font-size:11px}}

/* Daily workload stays visible even when the matching task cards are filtered. */
.dsp-day-loads{margin:7px 0}.dsp-day-load-label{display:block;font-size:9px;font-weight:700;color:#63728b;margin-bottom:4px}.dsp-day-load{background:#edf4fc;border:1px solid #d9e5f4;border-radius:6px;padding:6px;margin:4px 0;font-size:10px;overflow-wrap:anywhere}.dsp-day-load>strong,.dsp-day-load>span,.dsp-day-load>small{display:block}.dsp-day-load>strong{font-size:11px}.dsp-day-load small{font-size:9px;color:#526581}.dsp-day-load-alert{background:#fff3e6;border-color:#eccb9e}.dsp-day-load-alert small:last-child{color:#964c18;font-weight:700}.dsp-day-load-more summary{cursor:pointer;font-size:10px;color:#4159ab;padding:3px 0}.dsp-day-empty{font-size:9px;color:#77839a;margin:7px 0}
@media(max-width:600px){.dsp-day-load{font-size:12px;padding:8px}.dsp-day-load>strong{font-size:13px}.dsp-day-load small,.dsp-day-load-label,.dsp-day-load-more summary{font-size:11px}}
/* Session-only capacity controls; reserve is shown separately. */
.dsp-capacities{margin:16px 0;padding:16px;border:1px solid #d7e1ed;border-radius:12px;background:#f7faff}.dsp-capacities h3{margin:0 0 8px;font-size:16px}.dsp-capacities p{font-size:12px;color:#526581;line-height:1.5}.dsp-capacities label{display:flex;flex-direction:column;gap:6px;font-size:12px;min-width:0}.dsp-capacities>label{max-width:260px}.dsp-capacities input{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid #bdcce0;border-radius:7px;font:inherit;background:white;color:#172b4d}.dsp-capacities details{margin-top:12px}.dsp-capacities summary{cursor:pointer;font-size:13px;font-weight:600}.dsp-capacity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.dsp-capacity-actions{display:flex;flex-wrap:wrap;gap:8px}.dsp-capacities [role=status]{font-weight:600;margin-bottom:0}@media(max-width:600px){.dsp-capacities{padding:12px}.dsp-capacity-grid{grid-template-columns:1fr}.dsp-capacities>label{max-width:none}}

.dsp-late{border-color:#d97706;background:#fff7ed;color:#9a3412}.dsp-fixed{border-color:#64748b;background:#f1f5f9;color:#334155}.dsp-age{color:#9a3412}
.dsa{overflow-wrap:anywhere}.dsa section{margin-top:24px;border-top:1px solid #d7dfed;padding-top:12px}.dsa-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;margin:16px 0}.dsa-cards article,.dsa-history{border:1px solid #d7dfed;border-radius:10px;padding:14px;background:white}.dsa textarea{width:100%;min-height:90px;box-sizing:border-box;font:inherit;border:1px solid #bcc9dd;border-radius:8px;padding:10px;margin:8px 0}.dsa .dsa-check{display:flex;flex-direction:row;align-items:flex-start;font-size:13px;gap:10px;margin:16px 0}.dsa .dsa-check input{width:20px;height:20px;flex-shrink:0}.dsa .dsa-primary{background:#344fc4;color:white}.dsa-history{margin:12px 0}.dsa details>summary{cursor:pointer;font-weight:700}.dsa [role=status]{font-weight:700;min-height:24px}

.dsa .dsp-header>button{flex-shrink:0;white-space:nowrap}

/* Plain-language manager flow, with optional detail kept out of the first step. */
.dsa-steps{list-style:none;padding:0;margin:22px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dsa-steps li,.dsa-summary p{background:white;border:1px solid #d7dfed;border-radius:10px;padding:14px;margin:0}.dsa-steps strong,.dsa-steps span{display:block}.dsa-steps span{font-size:12px;color:#63728b;margin-top:5px}.dsa-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dsa-summary strong{display:block;font-size:26px;color:#344fc4}.dsa-rules{margin:20px 0;padding:14px;border:1px solid #d7dfed;border-radius:10px}.dsa-hint{color:#526581;font-size:13px}.dsa label{font-size:13px}.dsa details{margin-top:14px}.dsa select{height:auto;min-height:44px}.dsa .dsa-primary{font-weight:700}
@media(max-width:600px){.dsa-steps,.dsa-summary{grid-template-columns:1fr;gap:8px}.dsa-steps li{padding:10px 12px}.dsa-steps span{margin-top:2px}.dsa .dsp-capacity-actions button{width:100%}.dsa select{font-size:12px}.dsa-summary strong{display:inline;font-size:22px;margin-right:6px}}
/* One package, one calendar, one explicit confirmation. */
.dsc-toolbar,.dsc-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:14px 0}.dsc-controls>label{flex:1;min-width:160px}.dsc-toolbar>label{flex:1;max-width:480px}.dsc-applybar{position:sticky;top:0;z-index:2;display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:#eaf0ff;border:1px solid #bdcbed;border-radius:10px;padding:12px;margin-top:16px}.dsc-applybar>button{margin-left:auto}.dsc .dsp-event b,.dsc .dsp-event span{white-space:normal;overflow-wrap:anywhere}.dsc-confirm{border:2px solid #647be5;border-radius:12px;padding:18px;margin:20px 0;background:#fff}.dsc-confirm[hidden]{display:none}.dsc .dsp-tabs{margin-top:0}.dsc .dsp-day-load{line-height:1.35}.dsc .dsp-calendar{min-width:900px}.dsc .dsp-day{min-height:180px}
@media(max-width:600px){.dsc-toolbar>label,.dsc-controls>label{min-width:0;width:100%;flex:auto}.dsc-applybar{position:static}.dsc-applybar>button{width:100%;margin:0}.dsc .dsp-calendar{min-width:0}.dsc .dsp-day{min-height:0}.dsc-confirm{padding:12px}.dsc-toolbar{align-items:stretch}}
.dsa-unified .dsa-overview{margin-top:8px;padding-top:12px}.dsa-unified .dsa-summary p{padding:10px;font-size:12px}.dsa-unified .dsa-summary strong{display:inline;font-size:22px;margin-right:6px}.dsa-unified .dsa-overview>.dsa-summary+p{font-size:11px;color:#63728b;margin:8px 0}.dsa-unified .dsc{margin-top:12px;padding-top:0;border:0}.dsa-unified .dsc-controls{gap:8px}.dsa-unified .dsc .dsp-day{min-height:100px}.dsa-unified .dsp-header h1{font-size:24px}.dsa-unified [role=status]{font-size:12px;margin:8px 0;min-height:0}
@media(max-width:600px){.dsc .dsp-tabs{overflow:visible}.dsc .dsp-tabs button{flex:1;min-width:0;white-space:normal;padding:10px 8px}}
/* Unified manager calendar: compact overview, explicit dates, focused details. */
.dsa-unified{padding:20px}.dsa-unified [hidden]{display:none!important}.dsa-unified h1{font-size:24px}.dsa-unified .dsc-toolbar{align-items:center;margin:10px 0 4px;gap:8px}.dsa-unified .dsc-toolbar .dsa-check{margin:0;max-width:none;align-items:center;font-size:14px;color:#23334f}.dsc-mode-help{font-size:13px;color:#526581;margin:4px 0 12px}.dsa-unified .dsa-overview,.dsa-unified .dsc{border:0;padding:0;margin:12px 0}.dsc-summary{display:flex;gap:4px 18px;flex-wrap:wrap;margin:8px 0;font-size:14px}.dsc-summary strong{color:#344fc4}.dsa-unified .dsc-controls{margin:10px 0;gap:8px}.dsa-unified .dsc-controls>label{min-width:120px}.dsc-period{display:flex;align-items:center;justify-content:space-between;gap:8px}.dsc-period strong{font-size:13px;text-align:center}.dsa-unified .dsp-hint{margin:8px 0}.dsa-unified .dsp-tabs{margin:8px 0}.dsa-unified .dsc-applybar{position:sticky;bottom:0;top:auto;margin:12px 0;gap:8px;padding:10px;box-shadow:0 -3px 12px #17233b12}.dsc-applybar p{flex-basis:100%;margin:0;font-size:13px}.dsc-confirm:focus,.dsc-day-detail:focus{outline:none}.dsa-unified .dsc-confirm{margin:0;padding:16px}.dsc-confirm h2{font-size:21px;margin:12px 0}.dsc-risk-summary{padding-left:20px;margin:8px 0}.dsc-confirm .dsp-notice p{margin:6px 0 0}.dsc-confirm details{margin:10px 0}.dsc-confirm .dsa-check{color:#23334f}.dsc-save-hint{font-size:13px;color:#526581}.dsa-unified .dsp-event{font-size:12px}.dsa-unified .dsp-event span{font-size:11px}.dsa-unified .dsp-day-number{min-height:32px}.dsa-unified .dsp-more{font-size:12px!important;min-height:36px}.dsc-day-detail h3{margin:14px 0}.dsa-unified .dsp-day-load small{font-size:11px}.dsa-unified .dsc-info{font-size:13px;color:#526581}
@media(max-width:600px){.dsa-unified{padding:12px}.dsa-unified .dsp-header{align-items:center}.dsa-unified h1{font-size:22px}.dsa-unified button,.dsa-unified select,.dsa-unified input{min-height:44px;font-size:14px}.dsa-unified .dsa-check input{min-height:20px}.dsa-unified .dsc-toolbar>label{flex-basis:100%}.dsa-unified .dsc-toolbar>button{margin-left:auto}.dsa-unified .dsc-controls{display:grid;grid-template-columns:1fr 1fr}.dsa-unified .dsc-controls>label{min-width:0}.dsa-unified .dsc-controls>label:nth-child(3){grid-column:1/-1}.dsa-unified .dsp-tabs button{font-size:14px;flex:1;padding:10px 8px}.dsc-summary{display:grid;gap:2px}.dsa-unified .dsp-event{font-size:14px;padding:10px}.dsa-unified .dsp-event span{font-size:13px}.dsa-unified .dsp-day-load{font-size:14px}.dsa-unified .dsp-day-load span,.dsa-unified .dsp-day-load small{font-size:13px}.dsa-unified .dsc-applybar>button{width:100%}.dsc-confirm .dsa-primary{width:100%}.dsa-unified .dsp-notice{font-size:13px}.dsa-unified .dsc-confirm{padding:12px}}

@media(max-width:600px){.dsa-unified .dsc-controls{grid-template-columns:.8fr 1.1fr 1.1fr}.dsa-unified .dsc-controls>label:nth-child(3){grid-column:auto}.dsa-unified .dsc-controls>label:nth-child(4){grid-column:1/-1}.dsa-unified .dsc-controls select{padding:8px 4px;font-size:13px}.dsa-unified .dsc-toolbar{margin-bottom:8px}.dsa-unified .dsc-summary{font-size:13px}.dsa-unified .dsc-summary strong{font-size:14px}}

/* Project summary and future-stage scenario: separate from saved daily allocations. */
.dpf { margin-block: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: 10px; }
.dpf summary { cursor: pointer; font-weight: 600; overflow-wrap: anywhere; }
.dpf p, .dpf li, .dpf dd { overflow-wrap: anywhere; }
.dpf-project { border-top: 1px solid var(--border); padding-block: .8rem; }
.dpf-project dl { display: grid; grid-template-columns: minmax(10rem, 1fr) 2fr; gap: .5rem 1rem; }
.dpf-project dd { margin: 0; }
.dpf-task { padding: .75rem; margin-block: .5rem; border: 1px solid var(--border); border-radius: 8px; }
.dpf-task fieldset { min-width: 0; margin-block: .75rem; border: 1px solid var(--border); }
.dpf-task label { display: block; margin-block: .5rem; }
.dpf-task input:not([type=checkbox]), .dpf-task textarea, .dpf-task select { display: block; box-sizing: border-box; max-width: 100%; width: 100%; }
.dpf-step { display: flex; align-items: center; gap: 1rem; }
.dpf-step > label { flex: 1; min-width: 0; }
.dpf-step > label:first-child { display: flex; flex-direction: row; align-items: center; gap: .6rem; min-height: 44px; }
.dsa .dpf input[type=checkbox] { width: 20px; height: 20px; min-height: 20px; padding: 0; margin: 0; flex: 0 0 20px; }
.dpf textarea { background: #fff; color: #23334f; }
.dpf fieldset { min-width: 0; border: 1px solid #bcc9dd; border-radius: 8px; padding: .75rem; }
.dpf button { margin-block: .4rem; max-width: 100%; white-space: normal; }
@media(max-width: 640px) { .dpf { padding: .6rem; } .dpf-project dl { display: block; } .dpf-project dt { margin-top: .65rem; } .dpf-step { display: block; } }

/* Compact problem-first footer; all other controls remain available on demand. */
.dsc-issues{border:1px solid #d5dce8;border-radius:10px;padding:12px;margin:12px 0;font-size:13px;overflow-wrap:anywhere}.dsc-issues h2{font-size:16px;margin:0 0 6px}.dsc-issues>p{margin:6px 0;color:#526581}.dsc-issues:focus{outline:none}.dsc-issue-list{max-height:320px;overflow:auto;overscroll-behavior:contain}.dsc-issue{padding:8px 0;border-top:1px solid #e2e7ef}.dsc-issue button{font-weight:600;text-align:left;white-space:normal;max-width:100%;overflow-wrap:anywhere}.dsc-issue small{display:block;margin:4px 0;color:#526581}.dsc-issue p{margin:4px 0;line-height:1.45}.dsa-unified [data-schedule-details]{margin:12px 0;font-size:13px}.dsa-unified [data-schedule-details]>summary,.dsc-issues summary{cursor:pointer;padding:8px 0}.dsa-unified [data-coverage]{font-size:13px;color:#526581;margin:8px 0}.dsc-confirm .dsc-issues{background:#fff}.dsc-confirm .dsc-issue-list{max-height:240px}
@media(max-width:600px){.dsc-issues{padding:10px}.dsc-issue button{width:100%}.dsc-issue-list{max-height:280px}}

/* Explain unknown capacity separately from production held by a Pending parent. */
.dsc-load-causes ul,.dsc-suspended ul{padding-left:18px;margin:8px 0}
.dsc-load-causes li,.dsc-suspended li{margin:8px 0;overflow-wrap:anywhere}
.dsc-load-causes button,.dsc-suspended button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere}

/* Compact load diagnostics: causes first, affected tasks progressively disclosed. */
.dsc-load-causes{margin-top:8px;border-top:1px solid #e9d6bc;padding-top:6px}
.dsc-load-causes summary{cursor:pointer;font-weight:600;padding:6px 0;line-height:1.4}
.dsc-cause-heading{font-size:11px;font-weight:700;color:#854818;margin:6px 0}
.dsc-load-causes .dsc-cause-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.dsc-cause-list li{min-width:0;padding:0;line-height:1.45}
.dsc-cause-list button{display:block!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;width:100%;border:0!important;background:transparent!important;box-shadow:none!important;padding:4px 0!important;color:#354f82!important;font:inherit!important;font-weight:600!important;min-height:32px}
.dsc-cause-list small{display:block;font-weight:400!important;color:#745739!important}
.dsc-affected{margin-top:10px;border-top:1px solid #e9d6bc;padding-top:4px;color:#526581}
.dsc-affected p{font-size:11px;margin:2px 0 8px}.dsc-cause-more{margin-top:6px}
@media(max-width:600px){.dsc-load-causes summary{min-height:36px;display:flex;align-items:center;gap:5px}.dsc-load-causes summary:before{content:'▸';font-size:11px}.dsc-load-causes details[open]>summary:before,.dsc-load-causes[open]>summary:before{content:'▾'}.dsc-cause-list button{min-height:44px}.dsc-cause-heading{font-size:12px}}
.dsc-day-detail .dsp-day-load{font-size:13px;padding:12px}.dsc-day-detail .dsp-day-load>strong{font-size:14px}.dsc-day-detail .dsp-day-load small{font-size:12px}

.dsc-confirm .dsc-blockers .dsc-issue-list{max-height:none;overflow:visible}.dsc-blockers h3{font-size:15px;margin:8px 0;overflow-wrap:anywhere}.dsc-blockers [data-apply=prepare]{margin-top:12px}

.dsc-blockers .dsc-issue button[data-task-id]{background:#b91c1c;border-color:#b91c1c;color:#fff}
.dsc-blockers .dsc-issue button[data-task-id]:hover{background:#991b1b;border-color:#991b1b}
.dsc-blockers .dsc-issue button[data-task-id]:focus-visible{outline:3px solid #fca5a5;outline-offset:3px}

/* Compact blockers: task, short cause, one relevant handling action. */
.dsc-blocker-row{display:flex;align-items:center;gap:16px;padding:12px 0}
.dsc-blocker-copy{min-width:0;flex:1}
.dsc-blocker-row h3{font-size:14px;margin:0 0 4px;overflow-wrap:anywhere}
.dsc-blocker-row p{font-size:13px;color:#526581;margin:0;line-height:1.4}
.dsc-blocker-action{flex-shrink:0}
.dsc-blocker-action button{min-height:40px;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 12px}
@media(max-width:600px){.dsc-blocker-row{align-items:flex-start;flex-direction:column;gap:8px}.dsc-blocker-action{width:100%}.dsc-blocker-action button{min-height:44px}}
