/* Hirentra Site Progress — STEP 21 Executive Pilot Readiness */
.hsp21-readiness-button{border-color:rgba(255,255,255,.28)!important}
.hsp21-backdrop{position:fixed;inset:0;z-index:10140;background:rgba(7,13,25,.72);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px}
.hsp21-backdrop.hidden{display:none!important}
.hsp21-modal{width:min(1180px,96vw);max-height:92vh;overflow:auto;background:#fff;border:1px solid #d9e1eb;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.3);color:#162235}
.hsp21-header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:24px;padding:24px 26px 20px;background:#fff;border-bottom:1px solid #e6ebf1}
.hsp21-header p,.hsp21-group header p{margin:0 0 5px;font-size:11px;font-weight:800;letter-spacing:.11em;color:#69788c}
.hsp21-header h2{margin:0;font-size:28px;line-height:1.15;color:#101b2b}
.hsp21-header span{display:block;margin-top:8px;color:#657286;font-size:13px;max-width:760px}
.hsp21-close{width:40px;height:40px;border:0;border-radius:10px;background:#f3f6f9;color:#344258;font-size:27px;cursor:pointer}
.hsp21-toolbar{display:flex;align-items:center;gap:10px;padding:16px 26px;border-bottom:1px solid #edf1f5;background:#fbfcfe}
.hsp21-ran-at{margin-left:auto;color:#738096;font-size:12px}
#hsp21Message{margin:16px 26px 0}
.hsp21-summary{display:grid;grid-template-columns:2.1fr repeat(3,1fr);gap:12px;padding:18px 26px}
.hsp21-summary article{border:1px solid #dce4ed;border-radius:13px;padding:15px 16px;background:#fafbfd;min-width:0}
.hsp21-summary article>span{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:#718096}
.hsp21-summary article>strong{display:block;margin-top:5px;font-size:19px;color:#152238}
.hsp21-summary article>small{display:block;margin-top:5px;color:#718096;font-size:11px}
.hsp21-summary article.pass{border-color:#c9e8d6;background:#f5fbf7}.hsp21-summary article.pass>strong{color:#17613b}
.hsp21-summary article.warn{border-color:#f0d79c;background:#fffaf0}.hsp21-summary article.warn>strong{color:#8b5d00}
.hsp21-summary article.fail{border-color:#f1c2c2;background:#fff6f6}.hsp21-summary article.fail>strong{color:#a52a2a}
.hsp21-result{padding:0 26px 22px;display:grid;gap:14px}
.hsp21-empty{padding:30px;border:1px dashed #ccd6e2;border-radius:14px;text-align:center;color:#69788c}.hsp21-empty strong,.hsp21-empty span{display:block}.hsp21-empty strong{color:#223148;margin-bottom:5px}
.hsp21-group{border:1px solid #dfe6ee;border-radius:14px;overflow:hidden;background:#fff}
.hsp21-group>header{padding:13px 16px;background:#f7f9fb;border-bottom:1px solid #e6ebf1}
.hsp21-group>header strong{font-size:12px;color:#435168}
.hsp21-group.pass>header{border-left:4px solid #2d8556}.hsp21-group.warn>header{border-left:4px solid #d59a20}.hsp21-group.fail>header{border-left:4px solid #c84848}
.hsp21-checks{display:grid}
.hsp21-check{display:grid;grid-template-columns:34px 64px minmax(0,1fr) auto;align-items:start;gap:11px;padding:12px 15px;border-top:1px solid #edf1f5}
.hsp21-check:first-child{border-top:0}.hsp21-check:hover{background:#fbfcfe}
.hsp21-number{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#eef2f6;color:#536277;font-size:11px;font-weight:800}
.hsp21-state{display:inline-flex;justify-content:center;align-items:center;min-height:25px;border-radius:999px;padding:0 8px;font-size:10px;font-weight:900;letter-spacing:.04em}
.hsp21-check.pass .hsp21-state{background:#e7f5ed;color:#17613b}.hsp21-check.warn .hsp21-state{background:#fff1cd;color:#7a5200}.hsp21-check.fail .hsp21-state{background:#fde5e5;color:#9c2929}
.hsp21-check div strong{display:block;font-size:13px;color:#1b293e}.hsp21-check div small{display:block;margin-top:3px;font-size:11px;line-height:1.45;color:#6e7c90}
.hsp21-affected{min-width:27px;padding:5px 7px;border-radius:8px;text-align:center;background:#fbe8e8;color:#a52a2a;font-size:11px}
.hsp21-footer{display:flex;gap:12px;align-items:baseline;padding:16px 26px 22px;border-top:1px solid #e6ebf1;color:#66758a;font-size:11px}.hsp21-footer strong{color:#28384e;white-space:nowrap}
@media(max-width:860px){.hsp21-backdrop{padding:8px}.hsp21-modal{max-height:96vh}.hsp21-summary{grid-template-columns:1fr 1fr}.hsp21-toolbar{flex-wrap:wrap}.hsp21-ran-at{width:100%;margin-left:0}.hsp21-check{grid-template-columns:30px 60px minmax(0,1fr)}.hsp21-affected{grid-column:3}.hsp21-footer{display:block}.hsp21-footer strong{display:block;margin-bottom:4px}}


/* STEP 21 UI Repair 1 — compact executive action hierarchy */
#hsp14PortfolioView .hsp14-hero .hsp-actions{align-self:center;justify-content:flex-end;flex-wrap:nowrap}
.hsp21-more-wrap{position:relative;display:inline-flex;align-items:center}
.hsp21-more-button{display:inline-flex!important;align-items:center;gap:8px;white-space:nowrap}
.hsp21-more-button>span{font-size:11px;transition:transform .14s ease}
.hsp21-more-button[aria-expanded="true"]>span{transform:rotate(180deg)}
.hsp21-more-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:10110;width:250px;padding:7px;border:1px solid var(--border-color,#2a354a);border-radius:12px;background:var(--card-bg,#111a2b);box-shadow:0 18px 48px rgba(0,0,0,.34);display:grid;gap:4px}
.hsp21-more-panel.hidden{display:none!important}
.hsp21-more-panel .hsp21-more-item{width:100%;min-height:42px!important;justify-content:space-between!important;text-align:left!important;padding:10px 12px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--text-primary,#fff)!important;box-shadow:none!important;font-size:11px!important;letter-spacing:.035em!important;white-space:normal!important}
.hsp21-more-panel .hsp21-more-item:hover,.hsp21-more-panel .hsp21-more-item:focus-visible{background:rgba(148,163,184,.10)!important;outline:none}
.hsp21-more-panel .hsp21-more-item span{margin-left:auto;color:#ffc107;font-size:9px}
.hsp21-more-panel .hsp21-more-item.has-overdue{color:#ff777e!important}
html[data-theme="light"] .hsp21-more-panel{background:#fff;border-color:#d9e1eb;box-shadow:0 18px 42px rgba(15,23,42,.14)}
html[data-theme="light"] .hsp21-more-panel .hsp21-more-item{color:#0f172a!important}
html[data-theme="light"] .hsp21-more-panel .hsp21-more-item:hover,html[data-theme="light"] .hsp21-more-panel .hsp21-more-item:focus-visible{background:#f1f5f9!important}
@media(max-width:760px){#hsp14PortfolioView .hsp14-hero .hsp-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.hsp21-more-panel{right:auto;left:0;width:min(290px,calc(100vw - 48px))}}

/* STEP 21 UI Repair 2 — compact executive action sizing */
#hsp14PortfolioView .hsp14-hero .hsp-actions{gap:7px}
#hsp14PortfolioView .hsp14-hero #hsp15PortfolioWeeklyReport,
#hsp14PortfolioView .hsp14-hero #hsp16PortfolioIssuedReports,
#hsp14PortfolioView .hsp14-hero #hsp21MoreButton{
  width:auto!important;
  min-width:0!important;
  min-height:38px!important;
  height:38px;
  margin-top:0!important;
  padding:0 14px!important;
  border-radius:11px!important;
  font-size:11px!important;
  line-height:1!important;
  letter-spacing:.045em!important;
}
#hsp14PortfolioView .hsp14-hero #hsp15PortfolioWeeklyReport{
  padding-inline:16px!important;
  box-shadow:0 8px 18px rgba(255,193,7,.11)!important;
}
#hsp14PortfolioView .hsp14-hero #hsp16PortfolioIssuedReports{padding-inline:13px!important}
#hsp14PortfolioView .hsp14-hero #hsp21MoreButton{padding-inline:13px 11px!important;gap:6px}
#hsp14PortfolioView .hsp14-hero #hsp21MoreButton>span{font-size:9px}
@media(max-width:760px){
  #hsp14PortfolioView .hsp14-hero #hsp15PortfolioWeeklyReport,
  #hsp14PortfolioView .hsp14-hero #hsp16PortfolioIssuedReports,
  #hsp14PortfolioView .hsp14-hero .hsp21-more-wrap{flex:0 0 auto}
  #hsp14PortfolioView .hsp14-hero #hsp15PortfolioWeeklyReport,
  #hsp14PortfolioView .hsp14-hero #hsp16PortfolioIssuedReports,
  #hsp14PortfolioView .hsp14-hero #hsp21MoreButton{width:auto!important}
}
