/* The dashboard presents project facts and source tasks as one board. */
.dashboard-board-page{--board-ink:#1d2433;--board-muted:#596579;--board-line:#dde2ea;--board-action:#0b3a8f;min-width:0;display:flex;flex-direction:column;gap:14px}
.dashboard-board-context{display:flex;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid #dde2ea;border-radius:16px;background:#fff;color:#0b214a}
.dashboard-board-context>div{min-width:0}.dashboard-board-context span{font-size:11px;font-weight:800;color:#a55409}.dashboard-board-context h2{margin:6px 0;font-size:18px;line-height:1.3}.dashboard-board-context p{margin:0;color:#60677b;font-size:12px}
.dashboard-board-context dl{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0}.dashboard-board-context dl>div{min-width:100px}.dashboard-board-context dt{font-size:10px;color:#60677b}.dashboard-board-context dd{margin:4px 0 0;font-size:12px;font-weight:750}
.dashboard-missing-panel{padding:15px 17px;border:1px solid #dde2ea;border-radius:16px;background:#fff}
.dashboard-missing-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.dashboard-missing-head h3{font-size:15px;color:#1d2433}.dashboard-missing-head p{margin-top:3px;color:#596579;font-size:11px}.dashboard-missing-head>span{flex:none;padding:5px 9px;border:1px solid #dde2ea;border-radius:13px;background:#f7f8fa;color:#344054;font-size:10px;font-weight:750}
.dashboard-missing-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.dashboard-missing-link{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:10px 12px;border:1px solid #dde2ea;border-radius:13px;background:#fff;color:#303946;text-decoration:none}.dashboard-missing-link:hover{border-color:#0b3a8f;background:#f7f8fa;text-decoration:none}.dashboard-missing-link>span:first-child{min-width:0}.dashboard-missing-link strong,.dashboard-missing-link small{display:block;overflow-wrap:break-word}.dashboard-missing-link strong{font-size:11px}.dashboard-missing-link small{margin-top:2px;color:#596579;font-size:10px;line-height:1.35}.dashboard-missing-link>span:last-child{flex:none;color:#002366;font-size:15px}
.dashboard-decision-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px}
.dashboard-decision-card{grid-column:span 3;display:flex;flex-direction:column;min-width:0;padding:14px 15px;border:1px solid #dce4ed;border-radius:16px;background:#fff}
.dashboard-decision-title{display:flex;align-items:center;gap:9px;min-width:0}
.dashboard-decision-title .section-icon{display:inline-grid;place-items:center;width:38px;height:38px;flex:none;border-radius:15px;background:#eef2fb;color:#1f4fa3}
.dashboard-decision-title .section-icon svg{width:20px;height:20px}
.dashboard-decision-card:nth-last-child(-n+3){grid-column:span 4}

.dashboard-decision-head{display:flex;justify-content:space-between;align-items:flex-start;gap:9px}.dashboard-decision-head h3{margin:0;font-size:14px}.dashboard-decision-head a{font-size:10px;font-weight:700;color:#0b3a8f;text-decoration:none}.dashboard-decision-head a:hover{text-decoration:underline}
.dashboard-decision-value{display:block;margin-top:10px;color:#1d2433;font-size:22px;line-height:1.2;overflow-wrap:break-word}.dashboard-decision-caption{margin:4px 0 10px;color:#606a7c;font-size:11px}
.dashboard-decision-chart{display:grid;gap:7px;margin-bottom:12px}.dashboard-decision-chart>div{display:grid;grid-template-columns:48px minmax(0,1fr) 39px;gap:5px;align-items:center;font-size:10px;color:#566477}.dashboard-decision-chart i{height:7px;border-radius:7px;background:#edf0f5;overflow:hidden}.dashboard-decision-chart b{display:block;height:100%;border-radius:7px;background:#5881bf}.dashboard-decision-chart strong{text-align:right;font-variant-numeric:tabular-nums}
.dashboard-decision-action{margin:10px 0 0;padding:9px 10px;border:1px solid #e1e6ee;border-radius:13px;background:#fff;color:#303d54;font-size:11px;font-weight:700;line-height:1.4}.dashboard-decision-source{margin-top:7px;color:#657187;font-size:10px}
.dashboard-decision-action[href]{display:block;text-decoration:none}.dashboard-decision-action[href]:hover{text-decoration:underline;border-color:#f7ce99}
.dashboard-overdue-tasks{display:grid;gap:6px;margin-top:10px;font-size:11px}.dashboard-overdue-tasks strong{color:#92394a}.dashboard-overdue-tasks a{color:#002366;text-decoration:none;overflow-wrap:break-word}.dashboard-overdue-tasks a:hover{text-decoration:underline}
.dashboard-board-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.dashboard-board-summary-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--board-line);border-radius:16px;background:#fff}
.dashboard-board-summary-head{min-height:55px;display:flex;align-items:center;padding:13px 16px;color:#1d2433;background:#fff;border-bottom:1px solid #dde2ea}



.dashboard-board-summary-head h3{margin:0;color:inherit;font-size:14px;font-weight:750}
.dashboard-board-summary-body{min-width:0;display:flex;flex:1;flex-direction:column;padding:15px 16px}
.dashboard-board-summary-body dl{display:flex;flex-direction:column;gap:10px;margin:0}
.dashboard-board-summary-body dl>div{display:flex;justify-content:space-between;gap:9px;padding-bottom:9px;border-bottom:1px solid #e9edf2}
.dashboard-board-summary-body dt{flex:0 0 44%;font-size:10px;color:var(--board-muted)}
.dashboard-board-summary-body dd{min-width:0;margin:0;font-size:11px;font-weight:700;text-align:right;color:var(--board-ink);overflow-wrap:break-word}
.dashboard-board-summary-body>a{align-self:flex-start;margin-top:auto;padding-top:14px;font-size:11px;font-weight:750;color:var(--board-action);text-decoration:none;text-underline-offset:3px;transition:color .16s}
.dashboard-board-summary-body>a:hover{color:#113b88;text-decoration:underline}
.dashboard-board-highlight{margin-bottom:14px;font-size:clamp(18px,1.7vw,25px);font-weight:800;line-height:1.2;color:var(--board-ink);overflow-wrap:break-word}
.dashboard-board-highlight small{display:block;margin-top:4px;font-size:10px;font-weight:600;color:var(--board-muted)}
.dashboard-board-summary-body>.progress{margin:0 0 15px}
.dashboard-board-curve{margin:0;min-width:0}
.dashboard-board-curve>.panel{margin:0}
.dashboard-board-commercial{min-width:0;scroll-margin-top:130px}
.dashboard-board-commercial>.panel{margin:0}
.schedule-board-shell{min-width:0;overflow:hidden;border-color:var(--board-line);background:#fff}
.schedule-board-top{align-items:center;gap:16px}
.schedule-board-top h3{font-size:18px;color:var(--board-ink)}
.schedule-board-top p{margin-top:3px;font-size:12px;color:var(--board-muted)}
.schedule-board-tools{align-items:center;gap:12px}
.schedule-board-tools .filter-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.schedule-board-tools input[type=search]{min-width:180px;flex:1 1 220px}
.schedule-board-tools select{max-width:190px}
.schedule-board-group-label{font-size:11px;font-weight:700;color:var(--board-muted);white-space:nowrap}
.schedule-board-viewport{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;padding:4px 2px 14px;scrollbar-color:#9aa3b4 #eceef2}
.schedule-board{display:flex;align-items:stretch;gap:14px;min-width:max-content}
.schedule-board-lane{width:252px;flex:0 0 252px;min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--board-line);border-radius:16px;overflow:hidden}
.schedule-board-lane.phase-group{background:#fff;border-color:var(--board-line)}
.schedule-board-lane.phase-group .schedule-board-lane-head{background:#fff;color:#344054;border-bottom:1px solid var(--board-line)}










.schedule-board-lane-head{min-height:72px;padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#002366}
.schedule-board-lane-head.tone-neutral{background:#fff;color:#344054;border-bottom:1px solid var(--board-line)}
.schedule-board-lane-head.tone-active{background:#fff;color:#344054;border-bottom:1px solid var(--board-line)}
.schedule-board-lane-head.tone-complete{background:#fff;color:#344054;border-bottom:1px solid var(--board-line)}
.schedule-board-lane-head.tone-overdue{background:#fff;color:#344054;border-bottom:1px solid var(--board-line)}
.schedule-board-lane-head h4{margin:0;font-size:13px;line-height:1.35;font-weight:700;overflow-wrap:break-word}
.schedule-board-lane-head span{display:block;margin-top:3px;font-size:10px;color:inherit;opacity:.85}
.schedule-board-lane-head b{display:grid;place-items:center;min-width:27px;height:27px;padding:0 6px;border:1px solid currentColor;border-radius:13px;font-size:12px;font-variant-numeric:tabular-nums}
.schedule-board-cards{display:flex;flex-direction:column;gap:9px;padding:10px;min-height:118px}
.schedule-board-card{width:100%;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:13px;text-align:left;background:#fff;color:var(--board-ink);border:1px solid var(--board-line);border-radius:14px;font-weight:400;transition:border-color .18s,box-shadow .18s}
.schedule-board-card:hover{background:#fff;color:var(--board-ink);border-color:var(--board-action);box-shadow:0 3px 9px #2535521a}
.schedule-board-card:focus-visible{outline:3px solid var(--board-action);outline-offset:2px;border-color:var(--board-action)}
.schedule-board-card-top,.schedule-board-card-bottom,.schedule-board-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0}
.schedule-board-wbs{font-size:10px;font-weight:800;letter-spacing:.04em;color:#364a6c;overflow-wrap:break-word}
.schedule-board-kind{font-size:10px;font-weight:700;color:var(--board-muted)}
.schedule-board-name{display:block;font-size:12px;line-height:1.45;font-weight:700;overflow-wrap:break-word}
.schedule-board-meta{padding-top:8px;border-top:1px solid #e9edf2;font-size:10px;color:var(--board-muted)}
.schedule-board-meta span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
.schedule-board-card-bottom{font-size:10px;color:var(--board-muted)}
.schedule-board-card-bottom>span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.schedule-board-status{font-weight:700;color:#34435b;overflow-wrap:break-word}
.schedule-board-progress{display:block;width:100%;height:5px;border-radius:14px;background:#e4e8ef;overflow:hidden}
.schedule-board-progress>span{display:block;height:100%;background:#2454a8;border-radius:14px}
.schedule-board-more{margin:1px 0}
.schedule-board-more summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;cursor:pointer;border:1px solid #c9d1dc;border-radius:13px;background:#fff;color:#344054;font-size:11px;font-weight:700;list-style:none;transition:border-color .18s,box-shadow .18s}
.schedule-board-more summary::-webkit-details-marker{display:none}
.schedule-board-more summary:hover{border-color:var(--board-action)}
.schedule-board-more summary:focus-visible{outline:3px solid var(--board-action);outline-offset:2px}
.schedule-board-more>div{display:flex;flex-direction:column;gap:9px;padding-top:9px}
.schedule-board-empty{padding:16px 10px;text-align:center;font-size:11px;color:#667085}
.schedule-board-source-note{margin-top:12px;font-size:11px}
@media(max-width:900px){.schedule-board-lane{width:238px;flex-basis:238px}}
@media(max-width:1150px){.dashboard-board-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1150px){.dashboard-decision-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-decision-card,.dashboard-decision-card:nth-last-child(-n+3){grid-column:auto}.dashboard-decision-card:last-child{grid-column:1/-1}}
@media(max-width:1150px){.dashboard-missing-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.dashboard-missing-panel{padding:15px}.dashboard-missing-head{align-items:flex-start}.dashboard-missing-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.dashboard-board-context{flex-direction:column;padding:15px}.dashboard-board-context dl{gap:12px}.dashboard-decision-grid{grid-template-columns:minmax(0,1fr)}.dashboard-decision-card:last-child{grid-column:auto}}
@media(max-width:650px){.dashboard-board-summary{grid-template-columns:minmax(0,1fr)}.schedule-board-top{align-items:stretch;flex-direction:column}.schedule-board-top .segmented{align-self:flex-start}.schedule-board-tools .filter-controls{width:100%}.schedule-board-tools input[type=search],.schedule-board-tools select{width:100%;max-width:none;flex:1 0 100%}.schedule-board-group-label{width:100%}.schedule-board-viewport{overflow-x:visible;padding-bottom:0}.schedule-board{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.schedule-board-lane{width:100%;max-width:none;min-width:0}.schedule-board-cards{min-height:0}.schedule-board-card{padding:14px}.schedule-board-name{font-size:13px}}
@media(prefers-reduced-motion:reduce){.schedule-board-card,.schedule-board-more summary,.dashboard-board-summary-body>a{transition:none}}

/* Keep task progress inside the timeline track. */
.gantt-view{max-width:100%;overflow-x:auto;margin:0;padding:0;border:1px solid #dce2ea;border-radius:16px;scrollbar-color:#9aa3b4 #eceef2}
.gantt-legend{display:flex;align-items:center;flex-wrap:wrap;gap:9px 18px;padding:12px 15px;background:#fff;border-bottom:1px solid #e5e9ef;color:#34435b;font-size:11px;font-weight:700}
.gantt-legend-item{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.gantt-legend-swatch{width:17px;height:9px;border-radius:4px;border:1px solid transparent}
.gantt-legend-swatch.status-not-started{background:#b7c0cd;border-color:#8f9bad}
.gantt-legend-swatch.status-in-progress{background:#8ab4ee;border-color:#3670bd}
.gantt-legend-swatch.status-completed{background:#9fd4bf;border-color:#27765c}
.gantt-legend-swatch.status-overdue{background:#f1c68f;border-color:#a86918}
.gantt-legend-swatch.status-unrecorded{background:#fff;border-color:#8f9bad}
.gantt-chart{min-width:780px}
.gantt-axis,.gantt-row{display:grid;grid-template-columns:minmax(200px,29%) minmax(380px,1fr);align-items:center;gap:13px;padding:0 15px}
.gantt-axis{min-height:54px;background:#fff;color:#344054;border:0;border-bottom:1px solid #dde2ea;font-size:9px;font-weight:750;letter-spacing:.05em}
.gantt-axis-dates{position:relative;height:26px;margin:0 6px}
.gantt-axis-dates span{position:absolute;top:5px;transform:translateX(-50%);font-size:9px;white-space:nowrap;letter-spacing:0;color:#20518a}
.gantt-axis-dates span:first-child{transform:none}
.gantt-axis-dates span:last-child{transform:translateX(-100%)}
.gantt-row{min-height:51px;border-bottom:1px solid #e5e9ef;background:#fff;font-size:11px}
.gantt-row:last-child{border-bottom:0}
.gantt-row:hover{background:#f2f4f7}
.gantt-task-name{display:flex;flex-direction:column;gap:4px;min-width:0}
.gantt-task-name strong{font-size:11px;line-height:1.25;overflow:hidden;overflow-wrap:break-word;white-space:normal;color:#253247}
.gantt-track{position:relative;width:100%;height:30px;margin:0 6px;overflow:hidden;border:0;border-radius:14px;background:#e8edf3}
.gantt-progress-label{position:absolute;z-index:2;right:8px;top:50%;transform:translateY(-50%);padding:1px 7px;border-radius:10px;background:rgba(255,255,255,.9);color:#253247;font-size:11px;font-weight:750;line-height:1.4;font-variant-numeric:tabular-nums;pointer-events:none}
.gantt-gridline{position:absolute;top:0;bottom:0;width:1px;background:#c9d1dd;pointer-events:none}
.gantt-track .gantt-bar{position:absolute;top:7px;display:block;min-width:8px;height:16px;min-height:16px;padding:0;border:0;border-radius:14px;background:#2359af;outline:0;box-shadow:none;overflow:visible}
.gantt-track .gantt-bar::before{content:'';display:block;position:absolute;inset:-7px -9px;min-width:28px;min-height:30px;background:transparent}
.gantt-track .gantt-bar>span{display:block;height:100%;border-radius:14px;background:#64748b}
.gantt-track .gantt-bar.status-not-started{background:#b7c0cd}
.gantt-track .gantt-bar.status-in-progress{background:#b9d5fc}
.gantt-track .gantt-bar.status-in-progress>span{background:#2d63b6}
.gantt-track .gantt-bar.status-completed{background:#9fd4bf}
.gantt-track .gantt-bar.status-completed>span{background:#247a59}
.gantt-track .gantt-bar.status-overdue{background:#f7d6ac}
.gantt-track .gantt-bar.status-overdue>span{background:#9a590d}
.gantt-track .gantt-bar.status-unrecorded{background:#fff;border:1px solid #8f9bad}
.gantt-row.kind-milestone .gantt-bar{min-width:10px}
.gantt-track .gantt-bar.milestone{transform:none}
.gantt-track .gantt-bar:focus-visible{outline:3px solid #f0870f;outline-offset:2px}
@media(max-width:650px){.gantt-legend{gap:8px 12px;padding:11px 14px}.gantt-chart{min-width:0}.gantt-axis,.gantt-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 14px}.gantt-axis{min-height:0}.gantt-axis-dates{height:28px;margin:0 4px}.gantt-row{min-height:0}.gantt-task-name strong{white-space:normal;overflow:visible}.gantt-track{margin:0 4px}}
.schedule-board-status.is-overdue{color:var(--red)}
.gantt-legend-item.is-overdue{color:var(--red)}
.dashboard-decision-action .overdue-word{color:var(--red)}

.schedule-board-lane-head.tone-overdue h4{color:var(--red)}
/* Payment milestones and invoices side by side as charts. Full tables open in the wide side dialog.
   iSeal palette: green paid or collected, navy-blue invoiced or not yet due, amber up to 30 days late, red later. */
.dashboard-board-money{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.dashboard-board-money .dashboard-board-commercial>.panel{height:100%}
.commercial-card{display:flex;flex-direction:column;gap:12px;--paid:#1fb978;--invoiced:#5850ec;--planned:#c5cbd6;--late:#f5c400;--late30:#e8337a}
.commercial-card>.panel-top{margin-bottom:0}
.commercial-card>.panel-top>a{flex:none;white-space:nowrap}
.commercial-figure{display:grid;gap:2px}
.commercial-figure b{font-size:26px;line-height:1.1;color:#002366;font-variant-numeric:tabular-nums}
.commercial-figure span{color:var(--board-muted);font-size:13px}
.commercial-split{display:flex;height:14px;overflow:hidden;border-radius:15px;background:#eef0f4}
.commercial-split i{display:block;height:100%}
.commercial-split i[data-tone=paid]{background:var(--paid)}.commercial-split i[data-tone=invoiced]{background:var(--invoiced)}
.commercial-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;list-style:none;color:var(--board-muted);font-size:13px}
.commercial-legend li{display:inline-flex;align-items:center;gap:6px}
.commercial-legend li::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--planned)}
.commercial-legend li b{color:var(--board-ink);font-variant-numeric:tabular-nums}
.commercial-legend li[data-tone=paid]::before,.commercial-legend li[data-tone=collected]::before{background:var(--paid)}
.commercial-legend li[data-tone=invoiced]::before,.commercial-legend li[data-tone=due]::before{background:var(--invoiced)}
.commercial-legend li[data-tone=late]::before{background:var(--late)}
.commercial-legend li[data-tone=late30]::before{background:var(--late30)}
.commercial-legend.stacked{display:grid;gap:10px}
.commercial-legend.stacked li{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:8px}
.commercial-columns{display:flex;align-items:flex-end;gap:8px;margin:4px 0 0;padding:0;list-style:none;border-bottom:1px solid #c9ced8}
.commercial-columns li{display:flex;flex:1 1 0;flex-direction:column;align-items:center;gap:4px;min-width:0;padding-bottom:6px;font-size:13px}
.commercial-columns li>span{display:flex;align-items:flex-end;justify-content:center;width:100%;height:120px}
.commercial-columns li i{display:block;width:min(70%,34px);min-height:3px;border-radius:4px 4px 0 0;background:var(--planned)}
.commercial-columns li i[data-tone=paid]{background:var(--paid)}.commercial-columns li i[data-tone=invoiced]{background:var(--invoiced)}
.commercial-columns li b{color:var(--board-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.commercial-columns li small{color:var(--board-muted);font-size:13px;white-space:nowrap}
.commercial-donut{display:grid;grid-template-columns:minmax(120px,150px) minmax(0,1fr);align-items:center;gap:18px}
.commercial-donut svg{width:100%;height:auto}
.commercial-donut circle{fill:none;stroke-width:16}
.commercial-donut-track{stroke:#eef0f4}
.commercial-donut circle[data-tone=collected]{stroke:var(--paid)}.commercial-donut circle[data-tone=due]{stroke:var(--invoiced)}
.commercial-donut circle[data-tone=late]{stroke:var(--late)}.commercial-donut circle[data-tone=late30]{stroke:var(--late30)}
.commercial-donut-value{fill:var(--board-ink);font-size:22px;font-weight:750}
.commercial-donut-label{fill:var(--board-muted);font-size:12px}
.commercial-oldest{margin:0;padding-top:10px;border-top:1px solid var(--board-line);color:var(--board-muted);font-size:13px}
.commercial-oldest b{color:var(--board-ink)}
.commercial-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.commercial-view-all{min-height:36px;padding:6px 14px;font-size:13px}
@media (max-width:1100px){.dashboard-board-money{grid-template-columns:1fr}}
@media (max-width:520px){.commercial-donut{grid-template-columns:1fr}.commercial-donut svg{max-width:160px;justify-self:center}.commercial-columns li b{display:none}}
/* Delayed: unfinished work past its planned finish, red like the S-Curve delayed list. */
.gantt-legend-swatch.status-delayed{background:#fcdbe7;border-color:#e8337a}
.gantt-track .gantt-bar.status-delayed{background:#fcdbe7}
.gantt-track .gantt-bar.status-delayed>span{background:#e8337a}
.schedule-task .badge.red{color:#c81e5b;border-color:#e8337a;background:#fff}
/* Schedule text sized for reading. The id prefix keeps these sizes ahead of later theme sheets. */
#module-content .gantt-legend{font-size:13px}
#module-content .gantt-axis{min-height:58px;font-size:12px}
#module-content .gantt-axis-dates span{font-size:12px}
#module-content .gantt-row{min-height:56px;font-size:13px}
#module-content .gantt-task-name strong{font-size:14px;line-height:1.3}
#module-content .gantt-progress-label{font-size:12.5px}
#module-content .record-tools input,#module-content .record-tools select{font-size:14px}
#module-content .record-tools .filter-count{font-size:12.5px}
#module-content .panel-top h3 .badge{font-size:12px}
@media(max-width:650px){#module-content .gantt-task-name strong{font-size:13.5px}#module-content .gantt-axis-dates span{font-size:11px}}
/* List view text sized for reading */
#module-content .schedule-groups summary{font-size:14px}
#module-content .schedule-groups summary .badge{font-size:12px}
#module-content .schedule-task .wbs{font-size:12px;color:#7a8396}
#module-content .schedule-task .task-name{font-size:14px;color:#3b4660}
#module-content .schedule-task .task-date{font-size:13px;color:#667085}
#module-content .schedule-task .badge{font-size:12px}
#module-content .schedule-task{grid-template-columns:52px minmax(160px,1fr) 120px 110px 34px}
#module-content .panel-top .segmented button{font-size:13px}
@media(max-width:650px){#module-content .schedule-task{grid-template-columns:34px 1fr 30px}#module-content .schedule-task .task-name{font-size:13.5px}}
/* No tinted fill on section icons: white tile with a thin border */
.dashboard-decision-title .section-icon{background:#fff;border:1px solid #d9deea}
/* Project Control Dashboard header: Project Director and Account Manager under the name, dates as a 2 by 2 grid (contract row, then project row). */
.dashboard-board-context .dashboard-board-people{display:flex;flex-wrap:wrap;gap:4px 20px;margin:2px 0 0;font-size:12px;color:#60677b}
.dashboard-board-context .dashboard-board-people span{font-size:12px;font-weight:500;color:#60677b}
.dashboard-board-context .dashboard-board-people b{margin-left:6px;font-weight:700;color:#0b214a}
.dashboard-board-context dl.dashboard-board-dates{display:grid;grid-template-columns:repeat(2,minmax(120px,auto));gap:10px 28px;align-content:center;flex:none}
@media(max-width:650px){.dashboard-board-context dl.dashboard-board-dates{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}}
.dashboard-board-context .dashboard-board-description{margin-top:12px;padding-top:10px;border-top:1px solid #eef1f5}
.dashboard-board-context .dashboard-board-description h3{margin:0 0 4px;font-size:12px;font-weight:700;color:#0b214a}
.dashboard-board-context .dashboard-board-description p{margin:0;font-size:13px;line-height:1.6;color:#2c2c2c;white-space:pre-line;overflow-wrap:anywhere}
/* Critical Path card on Project Overview */
.critical-path-card{display:grid;gap:12px}
.critical-path-card .panel-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.critical-path-card .panel-top p{margin:4px 0 0;color:#60677b;font-size:13px}
.critical-path-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.critical-path-metrics>div{padding:12px 14px;border:1px solid #dde2ea;border-radius:15px;background:#fff}
.critical-path-metrics small{display:block;font-size:12px;color:#60677b}
.critical-path-metrics b{display:block;margin-top:4px;font-size:20px;color:#0b214a}
.critical-path-metrics .is-late{border-color:#d92d20}.critical-path-metrics .is-late b{color:#b42318}
.critical-path-warning{margin:0;padding:10px 14px;border-left:4px solid #d92d20;border-radius:15px;background:#fff;color:#b42318;font-size:13px;font-weight:600}
.critical-path-card h4{margin:4px 0 0;font-size:14px;color:#0b214a}
.critical-path-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.critical-path-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border:1px solid #eef1f5;border-left:4px solid #d92d20;border-radius:15px}
.critical-path-list li>span{display:grid;gap:2px;min-width:0}
.critical-path-list b{font-size:14px;color:#0b214a;overflow-wrap:anywhere}
.critical-path-list small{font-size:12px;color:#60677b}
@media(max-width:650px){.critical-path-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.critical-path-card .panel-top{flex-direction:column}}
/* AiNA Recovery Plan inside the Critical Path card */
.recovery-plan{display:grid;gap:10px;padding-top:12px;border-top:1px solid #eef1f5}
.recovery-head{display:flex;align-items:center;gap:10px}
.recovery-head h4{margin:0}
.recovery-label{display:inline-flex;padding:2px 10px;border:1px solid #c9c2f5;border-radius:15px;color:#5b21b6;font-size:11px;font-weight:700}
.recovery-summary{margin:0;font-size:13px;line-height:1.6;color:#2c2c2c}
.recovery-task{display:grid;gap:8px;padding:12px 14px;border:1px solid #eef1f5;border-radius:15px}
.recovery-task header{display:grid;gap:2px}
.recovery-task header b{font-size:14px;color:#0b214a}
.recovery-task header small{font-size:12px;color:#60677b}
.recovery-task ol{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.recovery-task li{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #f0f2f6;border-radius:15px}
.recovery-task li>div{display:grid;gap:4px;min-width:0}
.recovery-task li p{margin:0;font-size:13px;line-height:1.55;color:#2c2c2c}
.recovery-task li small{font-size:12px;color:#60677b}
.recovery-basis{font-style:italic}
.recovery-approach{justify-self:start;padding:2px 10px;border-radius:15px;background:#e6efff;color:#1d4ed8;font-size:11px;font-weight:700}
.recovery-accepted{flex:none;font-size:12px;font-weight:700;color:#15803d;white-space:nowrap}
.recovery-task li button{flex:none;white-space:nowrap}
.recovery-note{margin:0;font-size:12px;color:#60677b}
@media(max-width:650px){.recovery-task li{flex-direction:column}}
.critical-path-list .critical-float.is-zero{color:#b42318;font-weight:600}
