/* Shared overview components. This sheet is requested by overview routes only. */
.shp-dashboard{display:grid;gap:24px;min-width:0;width:100%}.shp-dashboard *{min-width:0}.shp-page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:7px}.shp-eyebrow{display:block;font-size:10px;letter-spacing:1.4px;font-weight:750;text-transform:uppercase;color:var(--sh-green);margin-bottom:10px}.shp-page-heading h1{font-size:32px;letter-spacing:-.9px;line-height:1.2;margin:0 0 11px}.shp-page-heading p{font-size:13px;color:var(--sh-muted);margin:0;line-height:1.7}.shp-button{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:10px 15px;min-height:41px;border:1px solid #d5e1d9;background:#fff;color:#215f3c;border-radius:8px;font-size:12px;font-weight:650;text-align:center;line-height:1.4;flex-shrink:0}.shp-button:hover{background:#eff6f1;border-color:#a8c4b3}.shp-button--primary{color:#fff;background:var(--sh-green);border-color:var(--sh-green)}.shp-button--primary:hover{background:var(--sh-green-dark);border-color:var(--sh-green-dark)}.shp-button i{font-size:12px}.shp-text-link{font-size:12px;font-weight:600;color:var(--sh-green);display:inline-flex;align-items:center;gap:8px}.shp-text-link:hover{text-decoration:underline}.shp-text-link i{font-size:10px}
.shp-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.shp-metric{display:grid;grid-template-columns:40px 1fr;column-gap:13px;row-gap:18px;align-items:center;border:1px solid var(--sh-line);border-radius:12px;background:#fff;padding:22px 19px 18px;transition:border-color .15s,background .15s}.shp-metric:hover{border-color:#9fc0ad;background:#fcfefd}.shp-metric-icon{width:40px;height:40px;border-radius:50%;background:#edf5ef;color:var(--sh-green);display:grid;place-items:center;font-size:15px}.shp-metric-copy{display:grid;gap:4px;align-self:start}.shp-metric-copy strong{font-size:29px;line-height:1.05;letter-spacing:-.9px;font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.shp-metric-copy>span{font-size:12px;font-weight:650;color:#63786a;line-height:1.4}.shp-metric small{grid-column:1/-1;font-size:11px;color:var(--sh-green);line-height:1.5}
.shp-dashboard-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:stretch}.shp-panel{border:1px solid var(--sh-line);border-radius:12px;padding:23px;background:#fff;overflow-wrap:anywhere}.shp-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:24px;margin-bottom:18px}.shp-dashboard .shp-panel-heading h2{font-size:11px;line-height:1.5;letter-spacing:.7px;text-transform:uppercase;color:var(--sh-green);font-weight:800;margin:0}.shp-panel-heading>a{color:var(--sh-green);font-size:11px;white-space:nowrap;font-weight:600}.shp-panel-heading>a i{font-size:9px;margin-left:5px}.shp-panel-note{font-size:10px;color:var(--sh-muted)}.shp-data-list{display:grid}.shp-data-row{display:flex;align-items:center;gap:13px;padding:18px 0;border-bottom:1px solid #eaf0ec;min-height:76px}.shp-data-row:last-child{border:0;padding-bottom:5px}.shp-data-row:first-child{padding-top:4px}.shp-data-row:hover .shp-row-copy>strong{color:var(--sh-green)}.shp-row-copy{flex:1}.shp-row-copy>strong{display:block;font-size:12px;line-height:1.55;font-weight:650}.shp-row-copy>small{display:block;font-size:11px;color:var(--sh-muted);line-height:1.7;margin-top:3px}.shp-row-icon{height:30px;width:30px;flex:none;display:grid;place-items:center;background:#f2f7f3;color:#638771;border-radius:8px;font-size:12px}.shp-row-action{font-size:11px;color:var(--sh-green);display:flex;align-items:center;gap:10px;flex:none;white-space:nowrap}.shp-row-action i{font-size:8px}.shp-status{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce9e0;border-radius:20px;background:#eff6f1;color:#42654e;padding:4px 9px;line-height:1.4;font-size:10px;font-weight:600;flex:none;text-align:center}.shp-status--interview,.shp-status--offer{background:#f8f6e9;border-color:#e8dfb9;color:#78631d}.shp-status--hired,.shp-status--shortlisted{background:#e7f4eb;color:#006837;border-color:#cce3d4}.shp-status--rejected,.shp-status--withdrawn{background:#f5f5f5;color:#69716c;border-color:#e3e6e4}.shp-empty{text-align:center;padding:12px 14px 14px}.shp-empty-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#edf5ef;color:var(--sh-green);margin:0 auto 12px;font-size:16px}.shp-empty h3{font-size:14px;line-height:1.4;margin:0 0 9px}.shp-empty p{font-size:12px;color:var(--sh-muted);line-height:1.7;margin:0 auto 17px;max-width:350px}.shp-panel-footer{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:23px;padding-top:20px;border-top:1px solid #eaf0ec}.shp-panel-footer p{font-size:12px;color:var(--sh-muted);margin:0;line-height:1.7}.shp-balance-list{margin:0;display:grid;gap:20px;padding:3px 0}.shp-balance-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.shp-balance-list dt{font-size:13px;color:var(--sh-muted)}.shp-balance-list dd{font-size:23px;font-weight:700;letter-spacing:-.6px;margin:0;color:#183d28}.shp-activity-row time{color:var(--sh-muted);font-size:10px;flex:none;max-width:100px;text-align:right}.shp-company-summary{display:flex;gap:14px;align-items:center;margin:5px 0 25px}.shp-company-summary h3{margin:0;font-size:15px;line-height:1.5}.shp-company-summary p,.shp-resume-summary p{color:var(--sh-muted);font-size:12px;margin:5px 0 0;line-height:1.6}.shp-feature-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:11px;background:#eef5ef;color:var(--sh-green);font-size:20px;flex:none}.shp-progress-block{min-width:170px}.shp-progress-block>span{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:var(--sh-muted);margin-bottom:10px}.shp-progress-block strong{color:var(--sh-green);font-weight:650}.shp-progress-block progress{display:block;width:100%;height:6px;border:0;border-radius:10px;overflow:hidden;background:#eaf0ec;appearance:none}.shp-progress-block progress::-webkit-progress-bar{background:#eaf0ec;border-radius:10px}.shp-progress-block progress::-webkit-progress-value{background:var(--sh-green);border-radius:10px}.shp-progress-block progress::-moz-progress-bar{background:var(--sh-green);border-radius:10px}.shp-resume-summary{display:flex;align-items:center;gap:19px}.shp-dashboard .shp-resume-summary h2{font-size:14px;letter-spacing:0;margin:0}.shp-resume-summary .shp-text-link{font-size:11px;margin-top:9px}.shp-resume-summary .shp-progress-block{width:185px;margin:0 8px}
@media(max-width:1250px){.shp-metric{padding:19px 15px;grid-template-columns:34px 1fr;gap:12px}.shp-metric-icon{width:34px;height:34px;font-size:13px}.shp-metric-copy strong{font-size:26px}.shp-dashboard-columns{grid-template-columns:1fr 1fr;gap:18px}.shp-panel{padding:20px}.shp-resume-summary{flex-wrap:wrap}.shp-resume-summary .shp-progress-block{margin:0;flex:0 1 180px}.shp-activity-row{flex-wrap:wrap}.shp-activity-row time{margin-left:43px;max-width:none;text-align:left}}
@media(min-width:801px) and (max-width:1050px){.shp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.shp-dashboard-columns{grid-template-columns:1fr}.shp-page-heading{align-items:flex-start}}
@media(max-width:700px){.shp-dashboard{gap:18px}.shp-page-heading{align-items:flex-start;flex-direction:column;gap:17px;margin-bottom:3px}.shp-page-heading p{font-size:12px}.shp-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shp-metric{padding:19px 15px 15px;min-height:126px;column-gap:11px;row-gap:15px}.shp-metric-copy strong{font-size:27px}.shp-metric-copy>span{font-size:11px}.shp-metric small{font-size:10px}.shp-dashboard-columns{grid-template-columns:1fr;gap:18px}.shp-panel{padding:21px 18px}.shp-panel-heading{margin-bottom:17px}.shp-resume-summary{gap:15px}.shp-resume-summary>.shp-row-copy{flex-basis:calc(100% - 65px)}.shp-resume-summary .shp-progress-block{flex:1 1 100%;width:100%;margin:5px 0}.shp-resume-summary>.shp-button{width:100%}.shp-panel-footer{gap:16px}.shp-status{font-size:9px}.shp-data-row{gap:10px}.shp-row-copy>strong{font-size:12px}.shp-row-action{gap:7px;font-size:10px}.shp-row-icon{width:27px;height:27px}.shp-activity-row time{margin-left:37px}}
@media(max-width:360px){.shp-metric{padding:16px 12px;grid-template-columns:27px 1fr;column-gap:9px}.shp-metric-icon{width:27px;height:27px;font-size:11px}.shp-metric-copy strong{font-size:24px}.shp-panel{padding:18px 14px}.shp-application-row{flex-wrap:wrap}.shp-application-row .shp-row-copy{flex-basis:100%}}

/* Candidate tablet and phone metrics share the same 2 x 2 structure. */
@media(max-width:1050px){.sh-portal--candidate .shp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-portal--candidate .shp-dashboard-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){.sh-portal--candidate .shp-button{min-height:44px}.sh-portal--candidate .shp-application-row{flex-wrap:wrap}.sh-portal--candidate .shp-application-row .shp-row-copy{flex-basis:100%}}

/* Employer overview uses the same four metrics on phones and tablets. */
@media(max-width:1050px){.sh-portal--employer .shp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-portal--employer .shp-dashboard-columns{grid-template-columns:minmax(0,1fr)}}

/* The active company's saved logo keeps the summary card's original footprint. */
.shp-company-summary-logo{display:flex;align-items:center;justify-content:center;flex:none;width:46px;height:46px;min-width:46px;border-radius:11px;overflow:hidden}
.shp-company-summary-logo>.spma-company-logo{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:none;width:100%!important;height:100%!important;min-width:0;min-height:0;max-width:100%;max-height:100%;margin:0;padding:5px;border:1px solid var(--sh-line);border-radius:inherit;background:#fff;color:var(--sh-green);overflow:hidden}
.shp-company-summary-logo .spma-company-logo.is-dark-bg{background:#173f2d;border-color:#173f2d;color:#fff}
.shp-company-summary-logo .spma-company-logo.is-light-bg{background:#fff}
.shp-company-summary-logo .spma-company-logo.is-custom-bg{background:var(--sh-logo-custom-bg,#fff)}
.shp-company-summary-logo .spma-company-logo.is-fallback{background:#eef5ef;border-color:var(--sh-line);color:var(--sh-green)}
.shp-company-summary-logo .spma-company-logo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;object-fit:contain;object-position:center}
.shp-company-summary-logo :is(.spma-company-logo__initials,.spma-company-logo__fallback){font-size:16px;font-weight:800;line-height:1;letter-spacing:-.03em;color:inherit;white-space:nowrap}

/* 1.27.100: candidate Recent messages > View inbox, including AJAX rendering. */
.sh-portal--candidate .shp-content [data-shm-summary][data-workspace="candidate"] > header > a {
  display:inline-flex;
  align-items:center;
  border-radius:6px;
  padding:6px 9px;
  margin:-6px -9px;
  color:#006837;
  transition:background-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.sh-portal--candidate .shp-content [data-shm-summary][data-workspace="candidate"] > header > a:is(:hover,:focus-visible) {
  background:#EEF3F0;
  color:#003A20;
  text-decoration:underline;
  text-underline-offset:3px;
  box-shadow:0 2px 8px rgba(0,58,32,.08);
}
.sh-portal--candidate .shp-content [data-shm-summary][data-workspace="candidate"] > header > a:focus-visible {
  outline:3px solid #D5BE52;
  outline-offset:2px;
}
@media (prefers-reduced-motion:reduce) {
  .sh-portal--candidate .shp-content [data-shm-summary][data-workspace="candidate"] > header > a { transition:none; }
}
