/* Public report library and homepage selection. */
.reports-preview { padding-top:110px; padding-bottom:40px }
.reports-preview-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:48px }
.reports-preview-heading h2 { margin-top:26px; font-size:clamp(34px,3.4vw,48px); line-height:1.14; letter-spacing:-.035em; font-weight:400 }
.reports-preview-intro { max-width:390px; padding-bottom:3px }
.reports-preview-intro>p { color:var(--muted); font-size:16px; line-height:1.7 }
.reports-preview-intro>.text-link { margin-top:17px; font-size:14px }
.featured-report-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:42px }
.featured-report { position:relative; display:flex; flex-direction:column; padding:28px; border:1px solid #363036; border-radius:5px; background:linear-gradient(145deg,#1b1a1e,#171719); transition:border-color .2s,background-color .2s }
.featured-report::before { content:''; position:absolute; top:-1px; left:28px; height:2px; width:34px; background:var(--red); opacity:.65; transition:width .25s,opacity .25s }
.featured-report:hover,.featured-report:focus-visible { border-color:#88504f; background-color:#211a1d }
.featured-report:hover::before,.featured-report:focus-visible::before { width:64px; opacity:1 }
.featured-report-top { display:flex; justify-content:space-between; align-items:center; gap:12px }
.featured-report-client { display:flex; flex-direction:column; align-items:flex-start; gap:20px; margin-top:32px; font-size:clamp(23px,2.4vw,31px); line-height:1.2; letter-spacing:-.03em }
.featured-report-scope { color:var(--muted); font-size:14px; line-height:1.6; padding:14px 0 28px }
.featured-report-bottom { display:flex; align-items:center; justify-content:space-between; gap:18px; border-top:1px solid #383036; margin-top:auto; padding-top:19px; font-size:13px }
.report-count-label { font-size:10px; letter-spacing:.08em; color:#c6b9bc; border:1px solid #4b3a41; border-radius:3px; padding:4px 6px }
.report-client-logo { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:50px; height:50px }
.report-client-logo img { display:block; width:100%; height:100%; object-fit:contain }
.report-client-logo-wide { width:82px }
.featured-report .report-client-logo { width:56px; height:56px }
.featured-report .report-client-logo-wide { width:100px }
.reports-intro .intro-bottom>p { max-width:630px }
.reports-repository-link { white-space:nowrap; font-size:14px; padding-bottom:4px }
.report-library { padding-top:32px; padding-bottom:70px }
.report-library-tools { display:flex; align-items:center; justify-content:space-between; gap:24px }
.report-filters { display:flex; flex-wrap:wrap; gap:7px }
.report-filter { font:inherit; font-size:12px; color:var(--muted); padding:10px 15px; min-height:44px; border:1px solid transparent; border-radius:4px; background:transparent; cursor:pointer; transition:background-color .2s,color .2s,border-color .2s }
.report-filter:hover { color:var(--text); background:#211d22 }
.report-filter[aria-pressed="true"] { color:#f5d7d3; border-color:#71413f; background:#372328 }
.report-search { display:flex; align-items:center; position:relative; width:260px; min-width:180px }
.report-search>svg { position:absolute; left:14px; width:18px; height:18px; color:var(--muted); pointer-events:none }
.report-search input { width:100%; height:44px; padding:0 14px 0 42px; border:1px solid #3c333a; border-radius:4px; background:#171719; color:var(--text); font:inherit; font-size:13px; color-scheme:dark }
.report-search input::placeholder { color:#aaa6a7; opacity:1 }
.report-search input:focus-visible { outline:2px solid #f3988e; outline-offset:3px }
.report-library-caption { display:flex; justify-content:space-between; gap:20px; color:var(--muted); font-size:12px; line-height:1.7; padding:27px 0 22px }
.report-library-caption>p:last-child { color:#aaa6a7 }
.report-client-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start }
.report-client { border:1px solid #3b3037; border-radius:5px; background:#181719; overflow:hidden }
.report-client-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:28px; min-height:108px; background:linear-gradient(125deg,#242025,#1b1a1d); border-bottom:1px solid #3b3037 }
.report-client-identity { display:flex; align-items:center; gap:18px; min-width:0 }
.report-client-identity h2 { font-size:25px; line-height:1.25; letter-spacing:-.035em; font-weight:400; overflow-wrap:anywhere }
.report-client-count { font-size:10px; text-transform:uppercase; letter-spacing:.06em; color:#b7a8ac; white-space:nowrap }
.report-client-identity:hover h2,.report-client-identity:focus-visible h2 { color:#f0938b }
.report-client-footer { border-top:1px solid #332b31; padding:13px 28px }
.report-profile-link { display:inline-flex; align-items:center; min-height:44px; font-size:13px; color:#e3ada7 }
.report-profile-link:hover,.report-download-link:hover,.client-report-actions .text-link:hover { text-decoration:underline; text-underline-offset:5px }
.report-list { list-style:none; margin:0; padding:0 28px }
.report-list>li:not([hidden])~li:not([hidden]) { border-top:1px solid #332b31 }
.report-link { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:25px 0; min-height:110px }
.report-link-copy { min-width:0 }
.report-title { display:block; font-size:17px; line-height:1.5; transition:color .2s }
.report-meta { display:flex; align-items:center; flex-wrap:wrap; gap:9px; color:#b7aeb2; font-size:11px; line-height:1.6; letter-spacing:.015em }
.report-link .report-meta { margin-top:9px }
.report-meta>span[aria-hidden] { color:#71616a }
.report-link-action { display:flex; align-items:center; gap:12px; flex-shrink:0 }
.report-link-action>span { font-size:10px; letter-spacing:.08em; color:#a69da0 }
.report-link:hover .report-title { color:#f0938b }
.report-link:focus-visible { outline-offset:5px }
.report-empty { text-align:center; padding:75px 24px; border:1px solid #3b3037; border-radius:5px; background:#181719 }
.report-empty h2 { font-size:28px; font-weight:400; letter-spacing:-.025em }
.report-empty p { color:var(--muted); font-size:15px; line-height:1.7; margin-top:16px }
.report-empty button { border:0; background:transparent; color:var(--text); font:inherit; font-size:14px; cursor:pointer; margin-top:22px }
.report-library-note { color:var(--muted); font-size:12px; line-height:1.7; border-top:1px solid #382b32; padding-top:24px; margin-top:36px }
.report-row-actions { display:flex; align-items:center; flex-wrap:wrap; gap:0 24px; padding-bottom:16px }
.report-download-link { display:flex; align-items:center; gap:10px; min-height:44px; color:#e3ada7; font-size:13px; width:fit-content }

/* Dedicated audit pages use the same typography and quiet surfaces as the library. */
.audit-main { padding-top:28px }
.audit-back .text-link { font-size:13px; min-height:44px; color:var(--muted) }
.audit-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,320px); align-items:center; gap:clamp(48px,7vw,110px); padding-top:42px; padding-bottom:58px }
.audit-client { display:flex; align-items:center; gap:24px; margin-top:27px; margin-bottom:18px }
.audit-client .report-client-logo { width:64px; height:64px }
.audit-client h1 { min-width:0; overflow-wrap:anywhere; font-size:clamp(48px,5.5vw,76px); line-height:1.05; letter-spacing:-.04em; font-weight:400 }
.audit-client-long h1 { font-size:clamp(34px,4vw,58px) }
.audit-hero-copy>h2 { font-size:clamp(22px,2.5vw,31px); line-height:1.3; letter-spacing:-.025em; font-weight:400 }
.audit-summary { color:var(--muted); font-size:17px; line-height:1.75; max-width:630px; margin-top:25px }
.audit-actions { display:flex; flex-wrap:wrap; align-items:center; gap:20px 28px; margin-top:32px }
.audit-primary { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:13px 20px; border:1px solid var(--red); border-radius:4px; background:var(--red); color:#111214; font-size:15px; transition:background-color .2s,border-color .2s }
.audit-primary:hover { background:#f47770; border-color:#f47770 }
.audit-actions .text-link { min-height:44px; font-size:14px }
.audit-file-note { font-size:12px; line-height:1.6; color:var(--muted); margin-top:17px }
.audit-cover { display:block; width:100%; max-width:320px; justify-self:end; border:1px solid #4a363e; border-radius:3px; overflow:hidden; box-shadow:0 20px 55px #0005; transition:border-color .2s,transform .2s }
.audit-cover:hover { border-color:var(--red); transform:translateY(-3px) }
.audit-cover img { display:block; width:100%; height:auto }
.audit-metadata { display:grid; grid-template-columns:1fr 1fr 1fr; border-top:1px solid #463039; border-bottom:1px solid #463039; padding-block:27px }
.audit-metadata>div { padding-inline:30px; border-left:1px solid #463039 }
.audit-metadata>div:first-child { padding-left:0; border-left:0 }
.audit-metadata dt { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:12px }
.audit-metadata dd { font-size:16px; line-height:1.5; margin:0 }
.audit-details { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(40px,6vw,90px); align-items:start; padding-top:76px; padding-bottom:80px }
.audit-details h2 { font-size:clamp(28px,3vw,38px); line-height:1.2; letter-spacing:-.03em; font-weight:400; margin-top:22px }
.audit-scope { list-style:none; padding:0; margin-top:29px }
.audit-scope li { border-top:1px solid #352c32; padding:22px 0 }
.audit-scope h3 { font-size:18px; font-weight:400; line-height:1.4 }
.audit-scope p { color:var(--muted); font-size:15px; line-height:1.7; margin-top:9px }
.audit-outcome { padding:33px; background:linear-gradient(130deg,#282026,#1b191e); border:1px solid #50363f; border-radius:5px }
.audit-outcome h2 { font-size:32px }
.audit-outcome h2 span { color:#ee9188 }
.audit-outcome>p:not(.section-label) { color:var(--muted); font-size:16px; line-height:1.8; margin-top:24px }
.audit-outcome>p.audit-scope-note { font-size:12px; line-height:1.7; padding-top:23px; border-top:1px solid #4b343d }
.audit-outcome>.text-link { min-height:44px; margin-top:20px; font-size:14px }
.client-reports { padding-bottom:65px; scroll-margin-top:32px }
.client-reports-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:30px }
.client-reports-heading h2 { margin-top:20px; font-size:clamp(30px,3vw,40px); line-height:1.2; font-weight:400; letter-spacing:-.03em }
.client-reports-heading>p { color:var(--muted); font-size:12px; line-height:1.7 }
.client-report-list { list-style:none; padding:0; margin:0; border-top:1px solid #463039 }
.client-report-list>li { display:flex; justify-content:space-between; align-items:center; gap:32px; padding:30px 0; border-bottom:1px solid #352c32 }
.client-report-list>li>div:first-child { min-width:0 }
.client-report-list h3 { font-size:21px; line-height:1.45; font-weight:400; letter-spacing:-.015em }
.client-report-list .report-meta { margin-top:12px }
.client-report-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px 24px; flex-shrink:0 }
.client-report-actions .text-link { font-size:13px }
@media(max-width:900px) {
  .audit-hero { grid-template-columns:minmax(0,1fr) 250px; gap:40px }
  .audit-summary { font-size:16px }
  .audit-metadata>div { padding-inline:22px }
  .audit-metadata dd { font-size:14px }
  .audit-details { gap:32px }
  .audit-outcome { padding:26px }
  .client-report-list>li { align-items:flex-start }
  .client-report-actions { flex-direction:column; align-items:flex-start; gap:0 }
}
@media(max-width:700px) {
  .audit-main { padding-top:12px }
  .audit-hero { grid-template-columns:1fr; gap:35px; padding-top:26px; padding-bottom:38px }
  .audit-client { flex-direction:column; align-items:flex-start; gap:17px; margin-top:23px }
  .audit-client h1 { font-size:clamp(36px,8vw,52px) }
  .audit-client-long h1 { font-size:clamp(31px,7.5vw,48px) }
  .audit-client .report-client-logo { width:51px; height:51px }
  .audit-cover { max-width:250px; justify-self:center }
  .audit-metadata { grid-template-columns:1fr; padding-block:7px }
  .audit-metadata>div { border-left:0; padding:20px 0; display:flex; align-items:baseline; justify-content:space-between; gap:18px }
  .audit-metadata>div+div { border-top:1px solid #352c32 }
  .audit-metadata dt { margin-bottom:0; flex-shrink:0 }
  .audit-metadata dd { text-align:right; max-width:65% }
  .audit-details { grid-template-columns:1fr; padding-top:48px; padding-bottom:48px; gap:22px }
  .audit-outcome { padding:27px }
  .client-reports { padding-bottom:25px }
  .client-reports-heading { align-items:flex-start; flex-direction:column; gap:15px; margin-bottom:24px }
  .client-report-list>li { flex-direction:column; gap:16px; padding:25px 0 }
  .client-report-list h3 { font-size:19px }
  .client-report-actions { flex-direction:row; gap:0 24px }
}
@media(max-width:1100px) {
  .report-library-tools { align-items:flex-start; flex-direction:column; gap:18px }
  .report-search { width:100%; max-width:380px }
  .report-client-heading { padding:23px; gap:12px }
  .report-client-identity { gap:13px }
  .report-client-identity h2 { font-size:23px }
  .report-list { padding:0 23px }
  .report-link { gap:16px }
  .featured-report { padding:24px }
  .featured-report::before { left:24px }
}
@media(max-width:800px) {
  .reports-preview { padding-top:75px; padding-bottom:25px }
  .reports-preview-heading { align-items:flex-start; flex-direction:column; gap:24px }
  .reports-preview-heading h2 { margin-top:22px }
  .reports-preview-intro>p br { display:none }
  .featured-report-grid { gap:13px; margin-top:28px }
  .featured-report { padding:20px }
  .featured-report-client { font-size:23px }
  .featured-report-top .report-meta { font-size:10px; gap:6px }
  .featured-report-scope { font-size:12px }
  .report-client-grid { grid-template-columns:1fr; gap:20px }
  .report-client-heading { padding:26px }
  .report-client-identity h2 { font-size:26px }
  .report-list { padding:0 26px }
}
@media(max-width:600px) {
  .reports-preview { padding-top:65px }
  .reports-preview-heading h2 { font-size:34px }
  .featured-report-grid { grid-template-columns:1fr; gap:16px }
  .featured-report { padding:24px }
  .featured-report-client { flex-direction:row; align-items:center; gap:19px; font-size:29px; margin-top:26px }
  .featured-report .report-client-logo { width:44px; height:44px }
  .featured-report .report-client-logo-wide { width:70px }
  .featured-report-scope { font-size:14px; padding:17px 0 25px }
  .featured-report-top .report-meta { font-size:11px; gap:9px }
  .report-library { padding-top:24px; padding-bottom:35px }
  .report-filters { gap:4px }
  .report-filter { font-size:11px; padding-inline:10px }
  .report-search { max-width:none }
  .report-library-caption { flex-direction:column; gap:3px; padding:23px 0 19px; font-size:11px }
  .report-client-heading { padding:22px 20px; min-height:96px; flex-wrap:wrap; gap:12px }
  .report-client-identity { gap:13px }
  .report-client-identity h2 { font-size:24px }
  .report-client-logo { width:40px; height:40px }
  .report-client-logo-wide { width:65px }
  .report-client-count { font-size:9px }
  .report-client-footer { padding:12px 20px }
  .report-list { padding:0 20px }
  .report-title { font-size:16px }
  .report-link { padding:22px 0; min-height:104px; gap:14px }
  .report-meta { font-size:10px }
  .report-library-note { font-size:11px; margin-top:28px }
  .report-empty { padding:50px 20px }
}
@media(prefers-reduced-motion:reduce) {
  .featured-report,.featured-report::before,.report-filter,.report-title { transition:none }
}
html[data-motion="paused"] .featured-report,html[data-motion="paused"] .featured-report::before,html[data-motion="paused"] .report-filter,html[data-motion="paused"] .report-title { transition:none }
