/* Hirentra Site Progress — Step 14: Portfolio Progress Intelligence */
.hsp14-page{gap:16px}
.hsp14-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.hsp14-summary article{padding:15px;border:1px solid var(--border-color,#263247);border-radius:15px;background:var(--card-bg,#111a2b);min-height:96px}
.hsp14-summary span{display:block;color:var(--text-muted,#93a0b7);font-size:10px;font-weight:900;letter-spacing:.07em}
.hsp14-summary strong{display:block;margin-top:7px;color:var(--text-primary,#fff);font-size:23px;line-height:1.1}
.hsp14-summary small{display:block;margin-top:6px;color:var(--text-muted,#93a0b7);font-size:10px;line-height:1.35}
.hsp14-summary article.problem{border-color:rgba(255,91,99,.38)}.hsp14-summary article.problem strong{color:#ff777e}
.hsp14-summary article.warn{border-color:rgba(255,193,7,.32)}.hsp14-summary article.warn strong{color:#ffc107}
.hsp14-summary article.good{border-color:rgba(72,213,151,.22)}
.hsp20c-executive-summary{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-top:-2px;padding:11px 14px;border:1px solid var(--border-color,#263247);border-radius:12px;background:rgba(148,163,184,.035);color:var(--text-muted,#93a0b7);font-size:11px;line-height:1.45}
.hsp20c-executive-summary strong{color:var(--text-primary,#fff);font-size:12px}.hsp20c-executive-summary.clear{border-color:rgba(72,213,151,.22);background:rgba(72,213,151,.035)}.hsp20c-executive-summary.attention{border-color:rgba(255,193,7,.26);background:rgba(255,193,7,.035)}
.hsp14-heading{align-items:center}.hsp14-filters{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.hsp14-filters button{border:1px solid var(--border-color,#2a354a);background:rgba(148,163,184,.05);color:var(--text-muted,#93a0b7);border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900;letter-spacing:.05em;cursor:pointer}
.hsp14-filters button b{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:5px;padding:0 4px;border-radius:999px;background:rgba(148,163,184,.12);color:var(--text-primary,#fff);font-size:9px}
.hsp14-filters button.active{border-color:rgba(255,193,7,.5);background:rgba(255,193,7,.1);color:#ffc107}
.hsp14-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:end;margin:0 0 12px}
.hsp14-search{display:grid;gap:5px;min-width:240px}.hsp14-search span{font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--text-muted,#93a0b7)}
.hsp14-search input{width:100%;box-sizing:border-box;border:1px solid var(--border-color,#2a354a);background:var(--input-bg,#0c1423);color:var(--text-primary,#fff);border-radius:9px;padding:9px 11px;font:inherit}
.hsp14-legend{display:flex;gap:13px;flex-wrap:wrap;color:var(--text-muted,#93a0b7);font-size:10px}.hsp14-legend span{display:flex;gap:5px;align-items:center}.hsp14-legend i{width:7px;height:7px;border-radius:50%}.hsp14-legend i.action{background:#ff5b63}.hsp14-legend i.watch{background:#ffc107}.hsp14-legend i.track{background:#48d597}
.hsp14-table-wrap{overflow-x:auto;border:1px solid var(--border-color,#263247);border-radius:14px}
.hsp14-table-head,.hsp14-row{display:grid;grid-template-columns:minmax(190px,1.5fr) 118px 132px 90px 90px 112px 102px 125px 150px 80px;gap:0;min-width:1190px;align-items:stretch}
.hsp14-table-head{background:rgba(148,163,184,.06);border-bottom:1px solid var(--border-color,#263247)}
.hsp14-table-head span{padding:9px 10px;color:var(--text-muted,#93a0b7);font-size:9px;font-weight:900;letter-spacing:.06em;border-right:1px solid rgba(148,163,184,.08)}
.hsp14-row{width:100%;padding:0;border:0;border-bottom:1px solid rgba(148,163,184,.11);background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit;transition:background .15s ease}
.hsp14-row:last-child{border-bottom:0}.hsp14-row:hover{background:rgba(90,162,255,.055)}.hsp14-row.action{box-shadow:inset 4px 0 #ff5b63;background:linear-gradient(90deg,rgba(255,91,99,.085),rgba(255,91,99,.018) 42%,transparent 72%)}.hsp14-row.watch{box-shadow:inset 4px 0 #ffc107;background:linear-gradient(90deg,rgba(255,193,7,.07),rgba(255,193,7,.014) 42%,transparent 72%)}.hsp14-row.track{box-shadow:inset 3px 0 rgba(72,213,151,.72)}.hsp14-row.unconfigured{box-shadow:inset 3px 0 #64748b}.hsp14-row.action:hover{background:linear-gradient(90deg,rgba(255,91,99,.12),rgba(90,162,255,.04) 62%,transparent)}.hsp14-row.watch:hover{background:linear-gradient(90deg,rgba(255,193,7,.105),rgba(90,162,255,.035) 62%,transparent)}
.hsp14-row>span{padding:12px 10px;border-right:1px solid rgba(148,163,184,.07);display:flex;flex-direction:column;justify-content:center;min-width:0}
.hsp14-row>span:last-child{border-right:0}.hsp14-project strong{color:var(--text-primary,#fff);font-size:13px}.hsp14-project small,.hsp14-row small{margin-top:3px;color:var(--text-muted,#93a0b7);font-size:9px;line-height:1.35}
.hsp14-signals{display:flex!important;flex-direction:row!important;gap:4px!important;flex-wrap:wrap;margin-top:6px}.hsp14-signals span{padding:3px 5px;border-radius:999px;background:rgba(148,163,184,.08);color:var(--text-muted,#a7b2c5);font-size:8.5px;white-space:nowrap}
.hsp14-status-cell{align-items:flex-start}.hsp14-status{display:inline-flex;width:max-content;padding:5px 7px;border:1px solid rgba(148,163,184,.24);border-radius:999px;font-size:9px;letter-spacing:.04em;color:#c7d2e3}.hsp14-status.action{color:#ff777e;border-color:rgba(255,91,99,.35);background:rgba(255,91,99,.07)}.hsp14-status.watch{color:#ffc107;border-color:rgba(255,193,7,.34);background:rgba(255,193,7,.06)}.hsp14-status.track{color:#48d597;border-color:rgba(72,213,151,.30);background:rgba(72,213,151,.06)}.hsp14-status.unconfigured{color:#94a3b8}
.hsp14-progress-cell strong,.hsp14-metric strong,.hsp14-commercial strong,.hsp14-report strong{color:var(--text-primary,#fff);font-size:12px}.hsp14-mini{position:relative!important;display:block!important;height:5px;margin-top:7px;border-radius:999px;background:rgba(148,163,184,.13);overflow:visible}.hsp14-mini i.actual{display:block;height:100%;border-radius:999px;background:#ffc107}.hsp14-mini i.plan{position:absolute;top:-3px;width:2px;height:11px;background:#5aa2ff;transform:translateX(-1px)}
.hsp14-metric.negative strong{color:#ff777e}.hsp14-metric.positive strong{color:#48d597}.hsp14-metric.warn strong,.hsp14-commercial.warn strong{color:#ffc107}.hsp14-commercial.exposure{background:rgba(255,193,7,.035)}.hsp14-commercial.exposure strong{display:inline-flex;width:max-content;padding:4px 7px;border:1px solid rgba(255,193,7,.34);border-radius:999px;background:rgba(255,193,7,.08);color:#ffc107}.hsp14-report strong{display:inline-flex;width:max-content;padding:4px 7px;border:1px solid rgba(148,163,184,.24);border-radius:999px;background:rgba(148,163,184,.05);font-size:10px}.hsp14-report.current strong{color:#48d597;border-color:rgba(72,213,151,.28);background:rgba(72,213,151,.055)}.hsp14-report.due_soon strong{color:#ffc107;border-color:rgba(255,193,7,.34);background:rgba(255,193,7,.08)}.hsp14-report.overdue strong,.hsp14-report.not_issued strong{color:#ff777e;border-color:rgba(255,91,99,.36);background:rgba(255,91,99,.075)}
.hsp14-open{align-items:center!important;flex-direction:row!important;gap:7px!important;color:#ffc107;font-size:9px;font-weight:900;letter-spacing:.04em;white-space:nowrap}.hsp14-open b{font-size:15px}
.hsp14-rule-note{margin-top:11px;color:var(--text-muted,#93a0b7);font-size:10px;line-height:1.5}.hsp14-rule-note strong{color:var(--text-primary,#fff)}

html[data-theme="light"] .hsp14-summary article,html[data-theme="light"] .hsp14-table-wrap{background:#fff!important;border-color:#d9e1eb!important}
html[data-theme="light"] .hsp20c-executive-summary{background:#fff;color:#64748b;border-color:#d9e1eb}html[data-theme="light"] .hsp20c-executive-summary strong{color:#0f172a}html[data-theme="light"] .hsp20c-executive-summary.clear{background:#f5fbf8;border-color:#cdeade}html[data-theme="light"] .hsp20c-executive-summary.attention{background:#fffbeb;border-color:#f1d98b}
html[data-theme="light"] .hsp14-summary strong,html[data-theme="light"] .hsp14-project strong,html[data-theme="light"] .hsp14-progress-cell strong,html[data-theme="light"] .hsp14-metric strong,html[data-theme="light"] .hsp14-commercial strong,html[data-theme="light"] .hsp14-report strong,html[data-theme="light"] .hsp14-rule-note strong{color:#0f172a}
html[data-theme="light"] .hsp14-summary span,html[data-theme="light"] .hsp14-summary small,html[data-theme="light"] .hsp14-project small,html[data-theme="light"] .hsp14-row small,html[data-theme="light"] .hsp14-rule-note,html[data-theme="light"] .hsp14-legend{color:#64748b}
html[data-theme="light"] .hsp14-table-head{background:#f8fafc;border-color:#d9e1eb}html[data-theme="light"] .hsp14-table-head span{color:#64748b;border-color:#e7edf4}
html[data-theme="light"] .hsp14-row{border-color:#e7edf4}html[data-theme="light"] .hsp14-row>span{border-color:#edf1f6}html[data-theme="light"] .hsp14-row:hover{background:#f8fafc}
html[data-theme="light"] .hsp14-search input{background:#fff;color:#0f172a;border-color:#cbd5e1}
html[data-theme="light"] .hsp14-filters button{background:#fff;color:#64748b;border-color:#cbd5e1}html[data-theme="light"] .hsp14-filters button b{background:#f1f5f9;color:#0f172a}
html[data-theme="light"] .hsp14-filters button.active{background:#fff8df;color:#956f00;border-color:#e5bd31}
html[data-theme="light"] .hsp14-signals span{background:#f1f5f9;color:#64748b}
html[data-theme="light"] .hsp14-metric.negative strong{color:#b91c1c}html[data-theme="light"] .hsp14-metric.positive strong{color:#047857}html[data-theme="light"] .hsp14-metric.warn strong,html[data-theme="light"] .hsp14-commercial.warn strong{color:#9a6700}
html[data-theme="light"] .hsp14-commercial.exposure{background:#fffaf0}html[data-theme="light"] .hsp14-commercial.exposure strong{color:#9a6700;border-color:#e7c967;background:#fff8df}html[data-theme="light"] .hsp14-report.current strong{color:#047857;background:#f0fdf7;border-color:#b7e4cf}html[data-theme="light"] .hsp14-report.due_soon strong{color:#9a6700;background:#fff8df;border-color:#e5bd31}html[data-theme="light"] .hsp14-report.overdue strong,html[data-theme="light"] .hsp14-report.not_issued strong{color:#b91c1c;background:#fff1f2;border-color:#fecdd3}

@media(max-width:1180px){.hsp14-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.hsp14-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hsp14-heading,.hsp14-toolbar{align-items:stretch;flex-direction:column}.hsp14-filters{justify-content:flex-start}.hsp14-search{min-width:0;width:100%}}
@media(max-width:520px){.hsp14-summary{grid-template-columns:1fr}}
