/* EQ v15.362 — REPORT SCAN MODE / TYPOGRAPHY & ERGONOMICS
   Goal: a report that can be scanned, not studied. Desktop-first live acceptance.
   Dashboard intentionally untouched. */

.lab-report-page{
  --eq362-purple:190,112,246;
  --eq362-cyan:62,193,241;
  --eq362-orange:240,157,80;
  --eq362-green:48,200,137;
  --eq362-red:231,103,119;
  --eq362-text:#f5f7ff;
  --eq362-copy:#d7e1ef;
  --eq362-muted:#aebed3;
}
.lab-report-page .report-shell{max-width:1480px!important;padding-inline:28px!important}
.lab-report-page .report-content,.lab-report-page #reportContent{display:grid!important;gap:18px!important}
.lab-report-page .report-hero,.lab-report-page .report-section{border-radius:26px!important}
.lab-report-page .report-hero{padding:32px 34px!important;margin-bottom:18px!important}
.lab-report-page .report-hero h1{font-size:clamp(48px,3.8vw,64px)!important;line-height:.98!important;letter-spacing:-.045em!important;margin:10px 0 8px!important;font-weight:850!important}
.lab-report-page .report-kicker{font-size:14px!important;line-height:1.2!important;font-weight:820!important;letter-spacing:.15em!important}
.lab-report-page .report-lead{font-size:19px!important;line-height:1.25!important;font-weight:590!important;opacity:1!important;margin-top:8px!important}

/* Section headers: large, aligned, right-side caption always one readable line on desktop. */
.lab-report-page .report-section{padding:26px 28px!important;margin:0!important}
.lab-report-page .report-section-head{
  display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;
  align-items:start!important;column-gap:28px!important;row-gap:4px!important;margin-bottom:20px!important
}
.lab-report-page .report-section-head>div{min-width:0!important}
.lab-report-page .report-section-head h2{
  font-size:clamp(38px,3vw,48px)!important;line-height:1!important;letter-spacing:-.035em!important;
  font-weight:850!important;margin:0!important
}
.lab-report-page .report-section-head>div>p{
  margin:8px 0 0!important;font-size:17px!important;line-height:1.25!important;font-weight:590!important;
  color:var(--eq362-muted)!important;opacity:1!important
}
.lab-report-page .report-section-head>p{
  margin:5px 0 0!important;font-size:var(--eq-fit-size,17px)!important;line-height:1.15!important;
  font-weight:650!important;color:#b9cbe0!important;opacity:1!important;white-space:nowrap!important;
  max-width:none!important;text-align:right!important;overflow:visible!important;text-overflow:clip!important
}
.lab-report-page .v314-purpose-line{
  display:block!important;font-size:var(--eq-fit-size,16.5px)!important;line-height:1.15!important;
  font-weight:590!important;color:#aebed2!important;white-space:nowrap!important;margin:3px 0 9px!important;opacity:1!important
}

/* Global card typography — no protocol-sized copy. */
.lab-report-page .report-card h3,
.lab-report-page .v313-verification-card b,
.lab-report-page .v313-card-kicker b{font-size:23px!important;line-height:1.16!important;font-weight:820!important;letter-spacing:-.015em!important}
.lab-report-page .report-card p,
.lab-report-page .v313-verification-card p,
.lab-report-page .v313-profile-strength-row>p,
.lab-report-page .priority-card p,
.lab-report-page .v338-confidence-card p{
  font-size:18px!important;line-height:1.38!important;font-weight:520!important;color:var(--eq362-copy)!important;opacity:1!important
}
.lab-report-page .report-card small,
.lab-report-page .v313-verification-card small,
.lab-report-page .v338-evidence-signal small,
.lab-report-page .scope-grid .report-card small{font-size:16px!important;line-height:1.28!important;color:#b9c9dc!important;opacity:1!important}
.lab-report-page .report-card span,.lab-report-page .v313-card-kicker{font-size:15px!important;line-height:1.2!important;font-weight:720!important}
.lab-report-page .note-strip,.lab-report-page .v338-evidence-disclaimer{font-size:15px!important;line-height:1.3!important;color:#9fb1c7!important;opacity:.92!important}

/* Decision screen: strong hierarchy, compact height, no awkward inner offsets. */
.lab-report-page .integrity-summary-panel{
  grid-template-columns:190px minmax(0,1fr) max-content!important;align-items:center!important;
  gap:24px!important;padding:22px 24px!important;min-height:0!important
}
.lab-report-page .integrity-summary-value span{font-size:17px!important;font-weight:820!important;line-height:1.15!important}
.lab-report-page .integrity-summary-value b{font-size:68px!important;line-height:.88!important}
.lab-report-page .integrity-summary-copy>p{font-size:18px!important;line-height:1.3!important;margin:0 0 10px!important;color:var(--eq362-copy)!important}
.lab-report-page .v311-cap-line{min-height:44px!important;padding:9px 13px!important;display:flex!important;align-items:center!important;gap:14px!important}
.lab-report-page .v311-cap-line span{font-size:14px!important;white-space:nowrap!important}
.lab-report-page .v311-cap-line b{font-size:15.5px!important;line-height:1.2!important}
.lab-report-page .integrity-summary-risk{font-size:16.5px!important;line-height:1.1!important;padding:14px 20px!important;white-space:nowrap!important}
.lab-report-page .v312-summary-line{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-top:14px!important}
.lab-report-page .v312-summary-item{min-height:94px!important;padding:16px 18px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.lab-report-page .v312-summary-item span{font-size:14px!important;letter-spacing:.06em!important}
.lab-report-page .v312-summary-item b{font-size:18px!important;line-height:1.25!important;margin-top:6px!important}

/* Narrative: exactly 2 cards, then exactly 3 verification cards on one row. */
.lab-report-page .v313-reason-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.lab-report-page .v313-style-card,.lab-report-page .v313-risk-card{min-height:250px!important;padding:20px 22px!important}
.lab-report-page .v313-style-card>p,.lab-report-page .v313-risk-card>p{margin:9px 0!important}
.lab-report-page .v313-risk-card blockquote{font-size:17px!important;line-height:1.35!important;padding:14px 16px!important;margin:12px 0!important}
.lab-report-page .v313-risk-card>strong{font-size:14.5px!important;line-height:1.2!important;padding:8px 12px!important}
.lab-report-page .v313-verification-card{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-top:14px!important;
  padding:0!important;background:transparent!important;border:0!important
}
.lab-report-page .v313-verification-question,.lab-report-page .v313-verification-outcome{
  min-height:205px!important;padding:18px 20px!important;border-radius:18px!important
}
.lab-report-page .v313-verification-question{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:12px!important}
.lab-report-page .v313-verification-question>span{width:36px!important;height:36px!important;font-size:14px!important}
.lab-report-page .v313-employer-action{grid-column:1/-1!important;display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:18px!important;padding:14px 18px!important;align-items:center!important}
.lab-report-page .v313-employer-action b{font-size:17px!important}.lab-report-page .v313-employer-action p{margin:0!important;font-size:17px!important;line-height:1.3!important}
.lab-report-page .v312-proof-details{margin-top:12px!important}

/* Work profile snapshot: four canonical blocks in a single aligned row. */
.lab-report-page .v313-profile-strength-row{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:24px!important;align-items:center!important;padding:18px 20px!important}
.lab-report-page .v313-profile-strength-row>div span{font-size:14px!important}.lab-report-page .v313-profile-strength-row>div b{font-size:34px!important}.lab-report-page .v313-profile-strength-row>div small{font-size:14px!important}
.lab-report-page .v314-subsection-head{display:grid!important;grid-template-columns:1fr max-content!important;gap:20px!important;align-items:end!important;margin:18px 0 12px!important}
.lab-report-page .v314-subsection-head h3{font-size:24px!important;line-height:1!important;margin:0!important}.lab-report-page .v314-subsection-head p{font-size:15px!important;white-space:nowrap!important;margin:0!important}
.lab-report-page .report-scores{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
.lab-report-page .report-score.effective-score{min-height:350px!important;padding:18px!important}
.lab-report-page .report-score .score-topline span{font-size:30px!important;line-height:1!important;margin-bottom:12px!important}
.lab-report-page .report-score .effective-metric span,.lab-report-page .effective-range-row span{font-size:12px!important;line-height:1.08!important}
.lab-report-page .report-score .effective-metric strong{font-size:38px!important;line-height:1!important}.lab-report-page .effective-range-row strong{font-size:27px!important}
.lab-report-page .effective-status strong{font-size:13px!important}
.lab-report-page .report-score>p{font-size:16.5px!important;line-height:1.35!important;margin:14px 0 10px!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.lab-report-page .v313-block-signals{gap:7px!important}.lab-report-page .v313-block-signals span{font-size:11.5px!important}

/* Equalizer is intentionally early in the document. Its heading is unmistakable. */
.lab-report-page .eq-visual-section .report-section-head{margin-bottom:12px!important}
.lab-report-page .visual-title-main{font-size:42px!important;line-height:1!important;font-weight:850!important;letter-spacing:-.03em!important}

/* Supporting evidence after equalizer — 4 signals always in one row. */
.lab-report-page .v338-evidence-panel{display:grid!important;grid-template-columns:290px minmax(0,1fr)!important;gap:14px!important;align-items:stretch!important}
.lab-report-page .v338-confidence-card{padding:18px 20px!important}.lab-report-page .v338-confidence-card>span{font-size:14px!important}.lab-report-page .v338-confidence-card>b{font-size:36px!important;line-height:1!important;margin:8px 0!important}
.lab-report-page .v338-evidence-signals{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.lab-report-page .v338-evidence-signal{padding:14px 15px!important;min-height:128px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.lab-report-page .v338-evidence-signal span{font-size:13px!important}.lab-report-page .v338-evidence-signal b{font-size:23px!important;margin:7px 0!important}
.lab-report-page .v338-evidence-signal small{font-size:14.5px!important;line-height:1.25!important}

/* Vacancy model: work card full width, two anchors in one equal row. */
.lab-report-page .v313-role-overview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.lab-report-page .v313-role-main{grid-column:1/-1!important;min-height:0!important;padding:20px 22px!important}
.lab-report-page .v313-role-main h3,.lab-report-page .v313-role-anchor h3{font-size:24px!important}
.lab-report-page .v313-role-main>p{font-size:17px!important;margin:6px 0 12px!important}
.lab-report-page .v313-task-list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}
.lab-report-page .v313-task-list span{font-size:15.5px!important;line-height:1.25!important;padding:11px 12px!important;min-height:52px!important;display:flex!important;align-items:center!important}
.lab-report-page .v313-role-anchor{min-height:150px!important;padding:18px 20px!important}
.lab-report-page .v345-role-anchor-value{font-size:17.5px!important;line-height:1.35!important;margin-top:8px!important}
.lab-report-page .v312-details summary{font-size:15px!important;line-height:1.2!important;padding:9px 12px!important}

/* Influence: four meaningfully colored cards, single row. */
.lab-report-page .v313-influence-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
.lab-report-page .v313-influence-card{min-height:190px!important;padding:18px 20px!important}
.lab-report-page .v313-influence-card>span{font-size:13px!important}.lab-report-page .v313-influence-card h3{font-size:21px!important;margin:8px 0!important}.lab-report-page .v313-influence-card p{font-size:16.5px!important;line-height:1.35!important}

/* Priorities: 3 columns, aligned; items remain easy to scan. */
.lab-report-page .priority-grid,.lab-report-page .priority-grid-v291,.lab-report-page .v313-priority-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
.lab-report-page .priority-card{min-height:0!important;padding:18px!important}
.lab-report-page .priority-card h3{font-size:21px!important;line-height:1.15!important;margin-bottom:12px!important}
.lab-report-page .priority-chip-list{gap:8px!important}.lab-report-page .priority-chip{min-height:48px!important;padding:9px 12px!important}.lab-report-page .priority-chip>b{font-size:14px!important}.lab-report-page .priority-chip>span{font-size:15px!important;line-height:1.15!important}
.lab-report-page .priority-card>p{font-size:16px!important;line-height:1.3!important;margin-top:12px!important}
.lab-report-page .v313-extra-priority{margin-top:12px!important;padding:12px 14px!important}.lab-report-page .v313-extra-priority b{font-size:15px!important}.lab-report-page .v313-extra-priority small{font-size:13px!important}.lab-report-page .v313-extra-priority p{font-size:14.5px!important;line-height:1.28!important}

/* Trusted responsibility: 3 or 4 cards = one row, never orphaned second line. */
.lab-report-page .scope-grid{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;gap:14px!important;align-items:stretch!important}
.lab-report-page .scope-grid>.report-card{grid-column:auto!important;min-width:0!important;min-height:190px!important;padding:18px 20px!important}
.lab-report-page .scope-grid>.report-card h3{font-size:21px!important}.lab-report-page .scope-grid>.report-card p{font-size:16.5px!important;line-height:1.35!important}.lab-report-page .scope-grid>.report-card small{font-size:14.5px!important;line-height:1.3!important;margin-top:12px!important}

/* Detailed 16-card protocol is no longer a forced wall of text. */
.lab-report-page details.v362-deep-dive{padding:0!important;overflow:hidden!important}
.lab-report-page details.v362-deep-dive>summary{list-style:none!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;padding:22px 26px!important}
.lab-report-page details.v362-deep-dive>summary::-webkit-details-marker{display:none!important}
.lab-report-page details.v362-deep-dive>summary span{display:flex!important;flex-direction:column!important;gap:4px!important}
.lab-report-page details.v362-deep-dive>summary b{font-size:28px!important;line-height:1!important}.lab-report-page details.v362-deep-dive>summary small{font-size:15px!important;color:#aebed3!important}.lab-report-page details.v362-deep-dive>summary i{font-style:normal!important;font-size:15px!important;font-weight:700!important;color:#8edcff!important}
.lab-report-page details.v362-deep-dive[open]>summary{border-bottom:1px solid rgba(126,167,215,.18)!important}
.lab-report-page details.v362-deep-dive>.metric-detail-grid-v291{padding:18px!important}

/* Canonical dark EQ material: same logic as the four profile blocks. */
html:not([data-eq-theme="light"]) .lab-report-page .report-section,
html:not([data-eq-theme="light"]) .lab-report-page .report-hero{
  background:radial-gradient(circle at 5% 0%,rgba(var(--eq362-purple),.085),transparent 32%),radial-gradient(circle at 96% 100%,rgba(var(--eq362-cyan),.07),transparent 32%),linear-gradient(145deg,rgba(25,47,79,.96),rgba(20,43,72,.97))!important;
  border-color:rgba(121,164,214,.20)!important;box-shadow:0 16px 36px rgba(3,9,22,.11),inset 0 1px rgba(255,255,255,.035)!important
}
html:not([data-eq-theme="light"]) .lab-report-page .v313-style-card,
html:not([data-eq-theme="light"]) .lab-report-page .v313-verification-question,
html:not([data-eq-theme="light"]) .lab-report-page .v313-role-main{
  background:radial-gradient(circle at 8% 0%,rgba(var(--eq362-cyan),.24),transparent 44%),linear-gradient(150deg,rgba(var(--eq362-cyan),.15),rgba(25,51,82,.92) 62%,rgba(21,44,72,.94))!important;border-color:rgba(var(--eq362-cyan),.40)!important
}
html:not([data-eq-theme="light"]) .lab-report-page .v313-risk-card,
html:not([data-eq-theme="light"]) .lab-report-page .v313-verification-outcome.bad,
html:not([data-eq-theme="light"]) .lab-report-page .scope-control{
  background:radial-gradient(circle at 8% 0%,rgba(var(--eq362-orange),.24),transparent 44%),linear-gradient(150deg,rgba(var(--eq362-orange),.15),rgba(64,48,49,.90) 62%,rgba(39,43,63,.94))!important;border-color:rgba(var(--eq362-orange),.40)!important
}
html:not([data-eq-theme="light"]) .lab-report-page .v313-verification-outcome.good,
html:not([data-eq-theme="light"]) .lab-report-page .scope-can{
  background:radial-gradient(circle at 8% 0%,rgba(var(--eq362-green),.23),transparent 44%),linear-gradient(150deg,rgba(var(--eq362-green),.14),rgba(24,65,70,.91) 62%,rgba(20,46,69,.94))!important;border-color:rgba(var(--eq362-green),.39)!important
}
html:not([data-eq-theme="light"]) .lab-report-page .scope-hold{
  background:radial-gradient(circle at 8% 0%,rgba(var(--eq362-purple),.24),transparent 44%),linear-gradient(150deg,rgba(var(--eq362-purple),.15),rgba(54,47,82,.91) 62%,rgba(27,43,70,.94))!important;border-color:rgba(var(--eq362-purple),.40)!important
}

/* Light report: daylight, but with decisive dark typography and non-milky cards. */
html[data-eq-theme="light"] .lab-report-page{--eq362-text:#17324e;--eq362-copy:#294a67;--eq362-muted:#5e7890}
html[data-eq-theme="light"] .lab-report-page .report-section-head>p{color:#496982!important}
html[data-eq-theme="light"] .lab-report-page .v314-purpose-line{color:#5e7890!important}
html[data-eq-theme="light"] .lab-report-page .report-card p,
html[data-eq-theme="light"] .lab-report-page .v313-verification-card p,
html[data-eq-theme="light"] .lab-report-page .v313-profile-strength-row>p,
html[data-eq-theme="light"] .lab-report-page .priority-card p,
html[data-eq-theme="light"] .lab-report-page .v338-confidence-card p{color:#294a67!important}
html[data-eq-theme="light"] .lab-report-page .report-card small,
html[data-eq-theme="light"] .lab-report-page .v313-verification-card small,
html[data-eq-theme="light"] .lab-report-page .scope-grid .report-card small{color:#4d6b84!important}
html[data-eq-theme="light"] .lab-report-page .note-strip,html[data-eq-theme="light"] .lab-report-page .v338-evidence-disclaimer{color:#5a748c!important}
html[data-eq-theme="light"] .lab-report-page details.v362-deep-dive>summary small{color:#5a748c!important}
html[data-eq-theme="light"] .lab-report-page details.v362-deep-dive>summary i{color:#256b96!important}

/* Keep desktop layout strict; only then progressively collapse. */
@media(max-width:1180px){
  .lab-report-page .report-section-head{grid-template-columns:1fr!important}.lab-report-page .report-section-head>p{white-space:normal!important;text-align:left!important;margin-top:4px!important}
  .lab-report-page .integrity-summary-panel{grid-template-columns:170px minmax(0,1fr)!important}.lab-report-page .integrity-summary-risk{grid-column:1/-1!important;justify-self:start!important}
  .lab-report-page .v313-verification-card,.lab-report-page .v338-evidence-signals{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .lab-report-page .v313-verification-card .v313-verification-outcome:last-of-type{grid-column:auto!important}
  .lab-report-page .report-scores,.lab-report-page .v313-influence-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .lab-report-page .scope-grid{grid-auto-flow:row!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .lab-report-page .v313-task-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .lab-report-page .report-shell{padding-inline:12px!important}.lab-report-page .report-hero,.lab-report-page .report-section{padding:20px!important}
  .lab-report-page .report-section-head h2{font-size:32px!important}.lab-report-page .report-hero h1{font-size:42px!important}
  .lab-report-page .v312-summary-line,.lab-report-page .v313-reason-grid,.lab-report-page .v313-verification-card,.lab-report-page .report-scores,.lab-report-page .v338-evidence-panel,.lab-report-page .v338-evidence-signals,.lab-report-page .v313-role-overview,.lab-report-page .v313-influence-grid,.lab-report-page .priority-grid,.lab-report-page .priority-grid-v291,.lab-report-page .v313-priority-grid,.lab-report-page .scope-grid{grid-template-columns:1fr!important;grid-auto-flow:row!important}
  .lab-report-page .v313-employer-action,.lab-report-page .v313-profile-strength-row{grid-template-columns:1fr!important}
  .lab-report-page .v313-task-list{grid-template-columns:1fr!important}
  .lab-report-page .v314-subsection-head{grid-template-columns:1fr!important}.lab-report-page .v314-subsection-head p{white-space:normal!important}
}
