/* Reclaim spacing and unused width, without scaling the interface or hiding data.
   Card density applies only to CEO / Contract Director laptop overview pages.
   The single-title portfolio toolbar repair also supports smaller screens. */
/* One page title. Keep the existing report controls and their event handlers in
   their original container, with separate grid space for the description. */
#hsp14PortfolioView{min-width:0}
#hsp14PortfolioView .hsp-panel{min-width:0}
#hsp14PortfolioView .hsp14-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 16px;min-width:0;max-width:100%}
#hsp14PortfolioView .hsp14-hero>div:first-child{min-width:0}
#hsp14PortfolioView .hsp14-hero>div:first-child>p,
#hsp14PortfolioView .hsp14-hero>div:first-child>h2{display:none}
#hsp14PortfolioView .hsp14-hero>div:first-child>span{margin-top:0;overflow-wrap:anywhere}
#hsp14PortfolioView .hsp14-hero .hsp-actions{min-width:0;max-width:100%;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:1100px){
  #hsp14PortfolioView .hsp14-hero{grid-template-columns:minmax(0,1fr)}
  #hsp14PortfolioView .hsp14-hero .hsp-actions{width:100%;justify-content:flex-start}
}
@media (min-width:1024px) {
  body.hirentra-executive-compact .dashboard-main{padding:18px 20px 24px}
  body.hirentra-executive-compact .dashboard-header{margin-bottom:12px;gap:16px}
  body.hirentra-executive-compact .dashboard-header h1{font-size:27px;line-height:1.15;margin:4px 0}
  body.hirentra-executive-compact .dashboard-subtitle{font-size:12px;line-height:1.4}
  body.hirentra-executive-compact #managerDashboard{gap:8px}
  body.hirentra-executive-compact #managerDashboard .hdbA-top-grid{gap:9px;margin-bottom:10px}
  body.hirentra-executive-compact #managerDashboard .hdbA-headline-card{min-height:100px;padding:12px 13px;border-radius:12px}
  body.hirentra-executive-compact #managerDashboard .hdbA-headline-card>span{font-size:10px;line-height:1.3}
  body.hirentra-executive-compact #managerDashboard .hdbA-headline-card>strong{font-size:24px;line-height:1.12;margin-top:5px}
  body.hirentra-executive-compact #managerDashboard .hdbA-headline-card.schedule>strong{font-size:20px}
  body.hirentra-executive-compact #managerDashboard .hdbA-headline-card>small{font-size:11px;line-height:1.3;margin-top:5px}
  body.hirentra-executive-compact #managerDashboard .hdbBR1-variance-pill{padding:4px 7px!important;margin-top:5px!important;font-size:11px!important}
  body.hirentra-executive-compact #managerDashboard .hdbA-mini-track{height:5px;margin-top:6px}
  body.hirentra-executive-compact #managerDashboard .project-portfolio-section{padding:12px;margin:0 0 2px;border-radius:13px}
  body.hirentra-executive-compact #managerDashboard .project-portfolio-heading{margin-bottom:8px;gap:10px}
  body.hirentra-executive-compact #managerDashboard .project-portfolio-heading h2{font-size:18px}
  body.hirentra-executive-compact #managerDashboard .project-portfolio-heading p{font-size:11px;line-height:1.35}
  body.hirentra-executive-compact #managerDashboard .hdb14-portfolio-summary{margin-top:4px;font-size:11px;gap:3px 6px}
  body.hirentra-executive-compact #managerDashboard .hdb14-portfolio-summary :is(strong,small){font-size:11px;line-height:1.35}
  body.hirentra-executive-compact #managerDashboard .project-portfolio-grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:8px}
  body.hirentra-executive-compact #managerDashboard .hdb14-project-card{padding:10px 12px!important;border-radius:11px!important}
  body.hirentra-executive-compact #managerDashboard .project-health-head strong{font-size:13px;white-space:normal;overflow-wrap:anywhere}
  body.hirentra-executive-compact #managerDashboard .project-health-pill{font-size:10px;padding:4px 6px;white-space:nowrap}
  body.hirentra-executive-compact #managerDashboard .hdb14-progress-metrics{grid-template-columns:1fr 1fr 1.45fr;gap:5px;margin-top:7px}
  body.hirentra-executive-compact #managerDashboard .hdb14-progress-metrics>span{padding:5px 6px}
  body.hirentra-executive-compact #managerDashboard .hdb14-progress-metrics small{font-size:10px;line-height:1.25;letter-spacing:.03em}
  body.hirentra-executive-compact #managerDashboard .hdb14-progress-metrics strong{font-size:15px;line-height:1.2;overflow-wrap:anywhere}
  body.hirentra-executive-compact #managerDashboard .hdb14-progress-track{margin-top:6px;height:5px}
  body.hirentra-executive-compact #managerDashboard .hdb14-hire-position{margin-top:6px;font-size:11px;line-height:1.35}
  body.hirentra-executive-compact #managerDashboard .hdb14-hire-position strong{font-size:12px}
  body.hirentra-executive-compact #managerDashboard .hdb14-project-card .project-health-share{font-size:10px;line-height:1.3}
  body.hirentra-executive-compact #managerDashboard .hdb14-project-card .project-health-signals{margin:5px 0;padding-top:5px;gap:3px}
  body.hirentra-executive-compact #managerDashboard .hdb14-project-card .project-health-signal{font-size:11px;line-height:1.3}
  body.hirentra-executive-compact #managerDashboard .hdb14-project-card .project-health-open{font-size:10px;min-height:24px}
  body.hirentra-executive-compact #managerDashboard .dashboard-section{margin-top:0}
  body.hirentra-executive-compact #managerDashboard .section-heading{margin-bottom:8px}
  body.hirentra-executive-compact #managerDashboard .section-heading h2{font-size:18px}
  body.hirentra-executive-compact #managerDashboard .section-heading p{font-size:11px;line-height:1.35}
  body.hirentra-executive-compact #managerDashboard .attention-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  body.hirentra-executive-compact #managerDashboard .attention-card{min-height:96px;padding:10px 12px}
  body.hirentra-executive-compact #managerDashboard .attention-card h3{font-size:12px;margin-top:6px}
  body.hirentra-executive-compact #managerDashboard .attention-card p{font-size:11px;line-height:1.3;margin-top:3px}
  body.hirentra-executive-compact #managerDashboard .hdb14-site-context{font-size:10px;margin-top:4px;padding-top:4px;line-height:1.3}
  body.hirentra-executive-compact #managerDashboard .hdbA-severity-label{font-size:10px!important;margin-top:4px}

  body.hirentra-executive-compact #hsp14PortfolioView{gap:10px;min-width:0}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp-hero{padding:12px 14px;gap:12px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp-hero h2{font-size:21px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp-hero span{font-size:12px;line-height:1.35;margin-top:4px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp20c-executive-summary{padding:7px 11px;font-size:11px;line-height:1.35}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-summary article{min-height:78px;padding:10px 11px;border-radius:11px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-summary span{font-size:10px;line-height:1.25;letter-spacing:.04em}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-summary strong{font-size:21px;margin-top:4px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-summary small{font-size:11px;line-height:1.3;margin-top:3px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp-panel{padding:12px;border-radius:13px;min-width:0}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-panel{gap:7px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp-section-head{gap:10px;margin-bottom:8px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp-section-head h2{font-size:20px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp-section-head>div>p{font-size:10px;margin-bottom:3px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp-section-head>div>span{font-size:11px;line-height:1.35;margin-top:4px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-summary{padding:6px 9px;font-size:11px;line-height:1.35}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-cards{grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:8px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-card-head{padding:9px 10px 6px;gap:8px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-card-head strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-card-head small{font-size:11px;margin-top:2px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-status{font-size:10px;padding:4px 6px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-card-main>div{padding:7px 10px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-card-main small{font-size:10px;line-height:1.25;letter-spacing:.02em}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-card-main strong{font-size:17px;margin-top:3px;line-height:1.2}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-card-main span{font-size:11px;line-height:1.3;margin-top:2px}
  body.hirentra-executive-compact #hsp14PortfolioView :is(.hsp22-basis,.hsp22-driver){margin:5px 10px 0;padding:5px 7px;font-size:11px;line-height:1.3}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-card>.hsp23-create-action{margin:5px 10px 0;padding:5px 8px;min-height:28px;font-size:10px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-card-foot{padding:7px 10px;font-size:10px;line-height:1.3}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-card-foot b{font-size:10px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp22-footnote{font-size:10px;line-height:1.3;margin-top:6px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-toolbar{gap:10px;margin-bottom:8px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-search{gap:3px;min-width:210px;margin:0}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-search input{padding:6px 9px;font-size:12px;height:32px;min-height:32px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-filters button{padding:5px 8px;font-size:10px;min-height:28px}
  body.hirentra-executive-compact #hsp14PortfolioView :is(.hsp14-table-head,.hsp14-row){grid-template-columns:minmax(155px,1.5fr) 110px 110px 90px 80px 100px 85px 105px 135px 75px;min-width:1045px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-table-head span{padding:7px 8px;font-size:10px;letter-spacing:.02em}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-row>span{padding:8px;overflow-wrap:anywhere}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-row small{font-size:10px;line-height:1.3;margin-top:2px}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-status{font-size:10px;padding:4px 5px;max-width:100%;white-space:normal;overflow-wrap:normal}
  body.hirentra-executive-compact #hsp14PortfolioView .hsp14-rule-note{font-size:10px;line-height:1.35;margin-top:7px}
}
