/* Kolsom Portal roadmap completion, Phases 1-4 · R4 */

.roadmap-phase-card{border:1px solid var(--line);border-radius:12px;background:var(--card,#fff);padding:14px}
.roadmap-phase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.roadmap-procurement-tabs{display:flex;gap:6px;flex-wrap:wrap}
.roadmap-procurement-tabs button{white-space:nowrap}
.roadmap-compare-table td.best{background:#eef8f2;font-weight:900}
.roadmap-compare-table th,.roadmap-compare-table td{vertical-align:top}
.roadmap-stock-positive{color:#167354;font-weight:900}
.roadmap-stock-zero{color:var(--muted)}
.roadmap-sheet-total td{background:#f6f9fc!important;border-top:2px solid #cfdce8!important;font-weight:900!important}
.roadmap-sheet-total td:first-child{position:sticky;left:0;z-index:4;background:#eef4f8!important}
.roadmap-cost-summary .warn-row td{background:#fff9ef}
.roadmap-cost-summary .bad-row td{background:#fff3f3}
.roadmap-cost-summary small{color:var(--muted)}
.roadmap-register-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.roadmap-register-toolbar .actions{display:flex;gap:6px;flex-wrap:wrap}
.roadmap-ref{font-weight:900;white-space:nowrap}
.roadmap-inline-note{font-size:10px;color:var(--muted);margin-top:4px}
.roadmap-unsaved-sheet{box-shadow:inset 0 0 0 2px rgba(213,139,0,.25)}
.roadmap-status-key{display:flex;gap:8px;flex-wrap:wrap;font-size:10px;color:var(--muted)}
.roadmap-status-key span{display:inline-flex;align-items:center;gap:5px}
.roadmap-status-key i{width:8px;height:8px;border-radius:50%;display:inline-block}
.roadmap-status-key .good{background:#16845b}.roadmap-status-key .blue{background:#2878b8}.roadmap-status-key .warn{background:#bf7800}.roadmap-status-key .bad{background:#bf3d3d}

.unified-sheet table{border-collapse:separate;border-spacing:0}
.unified-sheet thead th:first-child,.unified-sheet tbody td:first-child,.unified-sheet tfoot td:first-child{
 position:sticky;left:0;z-index:3
}
.unified-sheet thead th:first-child{z-index:7}
.unified-sheet tbody td:first-child{background:var(--card,#fff)}
.unified-sheet tbody tr:nth-child(even) td:first-child{background:#fbfdff}
.unified-sheet tbody tr:hover td:first-child,.unified-sheet tbody tr:focus-within td:first-child{background:#fffaf3!important}

@media(max-width:900px){
 .roadmap-phase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .roadmap-register-toolbar{align-items:flex-start}
}
@media(max-width:640px){
 .roadmap-phase-grid{grid-template-columns:1fr}
 .roadmap-procurement-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
 .roadmap-procurement-tabs button{flex:0 0 auto}
 .roadmap-cost-summary{overflow:auto}
}
