/* One report presentation layer; evidence, tabs and live-update hooks are unchanged. */
@font-face {
    font-family: "Onest Report";
    src: url("../fonts/onest-report-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

body.report-body {
    --rp-ink: #192330;
    --rp-body: #455264;
    --rp-muted: #687586;
    --rp-line: #e1e6ec;
    --rp-soft: #f5f7fa;
    --rp-blue: #155eef;
    --rp-radius: 14px;
    --font: "Onest Report", "Onest", sans-serif;
    color: var(--rp-ink);
    background: #f7f8fa;
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

.report-body main {
    overflow: clip;
    background: radial-gradient(ellipse at 90% 0, #f1f5fc 0, transparent 40%), #f7f8fa;
}

.report-body .shell { width: min(1120px, calc(100% - 48px)); max-width: none; margin-inline: auto; }
.report-body .overline { margin: 0 0 8px; color: var(--rp-muted); font: 600 10px/1.4 var(--font); letter-spacing: .09em; }
.report-body .overline::before { display: none; }
.report-body .button { min-height: 44px; padding: 10px 16px; border-radius: 9px; box-shadow: none; font: 600 13px/1.4 var(--font); }
.report-body .button-secondary { color: var(--rp-body); border-color: #d3dbe5; background: #fff; }
.report-body .button .icon { width: 15px; height: 15px; }
.report-body :is(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid #94b8ff; outline-offset: 3px; }
.report-body [hidden] { display: none !important; }
.report-body :is(.report-name, .report-name-copy, .report-main, .report-aside, .report-summary, .site-capture-cell) { min-width: 0; }

/* The profile and preview form one hero; live regions keep their original DOM. */
.report-body .report-hero { padding: 24px 0 0; border: 0; background: transparent; }
.report-body .report-hero > .shell {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    grid-template-areas: "crumb crumb" "identity identity" "profile preview" "metrics metrics" "facts facts";
    gap: 22px 36px;
}
.report-body .report-hero > .shell:has(.analysis-progress, .analysis-notice) {
    grid-template-areas: "crumb crumb" "progress progress" "identity identity" "profile preview" "metrics metrics" "facts facts";
}
.report-body .report-hero > .shell > :first-child { grid-area: crumb; margin: 0; font-size: 12px; }
.report-body .report-identity { grid-area: identity; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 8px 0 0; }
.report-body .report-name { display: flex; flex-direction: row; align-items: center; gap: 16px; }
.report-body .report-name :is(.site-logo-large, .site-logo-fallback) { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 13px; border-color: var(--rp-line); background: #fff; box-shadow: 0 2px 5px #18263805; }
.report-body .site-logo-large img { width: 30px; height: 30px; object-fit: contain; }
.report-body .report-name h1 { margin: 0; max-width: 100%; color: var(--rp-ink); font: 600 clamp(27px, 3vw, 36px)/1.14 var(--font); letter-spacing: -.045em; overflow-wrap: anywhere; }
.report-body .report-name-copy .overline { margin-bottom: 4px; }
.report-body .identity-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; color: var(--rp-muted); font-size: 11px; line-height: 1.6; }
.report-body .identity-meta > span { display: inline-flex; min-width: 0; align-items: center; }
.report-body .identity-meta > span + span::before { display: none; }
.report-body .identity-meta .badge { min-height: 0; padding: 0; border: 0; background: transparent; }
.report-body .report-actions { display: flex; flex: 0 0 auto; flex-direction: row; gap: 8px; }
.report-body .report-summary { display: contents; }

.report-body .report-at-a-glance { grid-area: profile; display: block; align-self: center; margin: 0; padding: 12px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.report-body .report-at-a-glance::before, .report-body .report-at-a-glance::after { display: none; }
.report-body .report-at-a-glance h2 { margin: 0 0 12px; color: var(--rp-ink); font: 600 20px/1.3 var(--font); letter-spacing: -.025em; }
.report-body .report-at-a-glance-copy > p { max-width: 58ch; margin: 0; color: var(--rp-body); font-size: 15px; line-height: 1.8; }
.report-body .report-at-a-glance-copy > small { display: block; max-width: 65ch; margin-top: 13px; color: var(--rp-muted); font-size: 11px; line-height: 1.65; }
.report-body .report-at-a-glance-signals { display: block; margin: 16px 0 0; padding: 0; border: 0; background: transparent; }
.report-body .report-at-a-glance-signals > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 12px; padding: 0; border: 0; background: transparent; }
.report-body .report-at-a-glance-signals dt { margin: 0; color: var(--rp-muted); font: 400 11px/1.5 var(--font); letter-spacing: 0; text-transform: none; }
.report-body .report-at-a-glance-signals dd { margin: 0; color: var(--rp-body); font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.report-body .associated-entity-context { margin-top: 18px; padding: 14px; border: 1px solid var(--rp-line); border-radius: 9px; background: #fff; }

.report-body .site-capture-cell { grid-area: preview; align-self: center; min-height: 0; margin: 0; aspect-ratio: auto; overflow: hidden; border: 1px solid #dbe2ec; border-radius: var(--rp-radius); background: #fff; box-shadow: 0 7px 22px #1c2d4408; }
.report-body .site-capture { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 34px auto; width: 100%; height: auto; min-height: 0; block-size: auto; aspect-ratio: auto; overflow: hidden; border: 0; border-radius: 0; background: var(--rp-soft); }
.report-body .site-capture > [data-media-image] { grid-row: 2; display: block; width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 0; }
.report-body .site-capture .capture-bar { position: static; inset: auto; grid-row: 1; display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--rp-line); border-radius: 0; background: #fff; }
.report-body .capture-bar > span:first-child { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #8a98a9; }
.report-body .capture-bar .mono { min-width: 0; overflow: hidden; color: var(--rp-muted); font: 400 10px/1.5 var(--font); text-overflow: ellipsis; white-space: nowrap; }
.report-body .capture-bar small { margin-left: auto; color: var(--rp-muted); font-size: 9px; }
.report-body .site-capture .capture-empty { grid-row: 2; display: flex; min-height: 0; aspect-ratio: 16 / 10; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 20px 26px; border: 0; background: #f4f6f9; color: var(--rp-muted); text-align: center; }
.report-body .capture-empty > .icon { width: 24px; height: 24px; color: #98a6b8; }
.report-body .capture-empty strong { color: var(--rp-body); font: 500 13px/1.5 var(--font); }
.report-body .capture-empty > span:not(.capture-loader), .report-body .capture-diagnostic { max-width: 42ch; font-size: 11px; line-height: 1.65; }
.report-body .site-capture.is-media-pending { min-block-size: 0; aspect-ratio: auto; background: var(--rp-soft); }
.report-body .site-capture.is-media-pending .capture-pending { min-block-size: 0; aspect-ratio: 16 / 10; padding: 20px 26px; }

/* Equal, restrained metrics rather than a second oversized hero. */
.report-body .report-metrics { grid-area: metrics; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; height: auto; padding: 0; overflow: hidden; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); background: #fff; }
.report-body .report-hero .report-metrics-header { display: none !important; }
.report-body .report-metrics .metric-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; align-items: baseline; gap: 5px 14px; min-height: 0; margin: 0; padding: 20px 22px; border: 0; border-right: 1px solid var(--rp-line); border-radius: 0; background: #fff !important; }
.report-body .report-metrics .metric-card:last-child { grid-column: auto; border-right: 0; }
.report-body .metric-card > span { grid-column: 1; color: var(--rp-muted); font: 500 11px/1.4 var(--font); letter-spacing: 0; text-transform: none; }
.report-body .metric-card > div { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: baseline; gap: 3px; margin: 0; text-align: right; }
.report-body .metric-card strong { color: var(--rp-ink); font: 600 28px/1.1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.report-body .metric-card > div small { color: var(--rp-muted); font-size: 12px; }
.report-body .metric-card > b { grid-column: 1; margin: 0; color: var(--rp-ink); font-size: 12px; font-weight: 500; line-height: 1.5; }
.report-body .metric-card > p { grid-column: 1 / -1; margin: 5px 0 0; color: var(--rp-muted); font-size: 10px; line-height: 1.65; }
.report-body .report-metrics .metric-empty { padding: 0; border: 0; background: transparent; color: var(--rp-muted); font: 500 12px/1.5 var(--font); letter-spacing: 0; }

.report-body .key-facts-grid { grid-area: facts; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; overflow: hidden; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); background: #fff; }
.report-body .key-facts-grid > article { display: block; grid-column: auto; min-width: 0; min-height: 0; padding: 16px 22px; border: 0; border-right: 1px solid var(--rp-line); border-bottom: 1px solid var(--rp-line); background: #fff; }
.report-body .key-facts-grid > article:nth-child(3n) { border-right: 0; }
.report-body .key-facts-grid > article:nth-child(n+4) { border-bottom: 0; }
.report-body .key-facts-grid article > span { display: block; margin: 0 0 5px; color: var(--rp-muted); font: 400 11px/1.45 var(--font); letter-spacing: 0; text-transform: none; }
.report-body .key-facts-grid article > strong { display: block; margin: 0; color: var(--rp-ink); font: 500 13px/1.5 var(--font); overflow-wrap: anywhere; }
.report-body .key-facts-grid article > small { display: block; margin: 4px 0 0; padding: 0; color: var(--rp-muted); font-size: 10px; line-height: 1.6; }
.report-body .key-facts-observation { grid-column: 1 / -1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 10px 22px; border-top: 1px solid var(--rp-line); background: #fafbfc; color: var(--rp-muted); font-size: 10px; }
.report-body .key-facts-observation span { font: 400 10px/1.6 var(--font); letter-spacing: 0; text-transform: none; }
.report-body .key-facts-observation strong { color: var(--rp-body); font: 500 10px/1.6 var(--font); }
.report-body .key-facts-observation small { margin-left: auto; font-size: 10px; }

/* A bounded, explicitly selected navigation rail. Never sticky. */
.report-body .report-sections-nav { position: relative !important; top: auto !important; z-index: 1; display: block; width: min(1120px, calc(100% - 48px)); margin: 24px auto 0; padding: 5px; overflow: hidden !important; border: 1px solid #dce3ec; border-radius: 12px !important; background: #edf1f6; box-shadow: none !important; }
.report-body .report-sections-bar { display: flex; flex-wrap: nowrap; align-items: stretch; width: 100% !important; max-width: none; min-height: 46px; margin: 0 !important; padding: 0 !important; }
.report-body .report-sections-nav .report-tabs { position: static !important; top: auto !important; display: flex; flex: 1; flex-wrap: nowrap; min-width: 0; min-height: 46px; align-items: stretch; gap: 4px; margin: 0 !important; padding: 0 !important; overflow-x: auto; overscroll-behavior-inline: contain; border: 0; background: transparent; scrollbar-width: none; scroll-padding: 12px; }
.report-body .report-tabs::-webkit-scrollbar { display: none; }
.report-body .report-tabs [role="tab"] { position: relative; display: flex; flex: 0 0 auto; justify-content: center; align-items: center; min-height: 44px; padding: 10px 13px !important; border: 1px solid transparent !important; border-radius: 8px !important; background: transparent !important; color: #526075; font: 500 12px/1.5 var(--font); text-decoration: none; white-space: nowrap; transition: color .15s, background .15s; }
.report-body .report-tabs [role="tab"]::after { display: none; }
.report-body .report-tabs [role="tab"]:hover { color: var(--rp-ink); background: #ffffff80 !important; transform: none; }
.report-body .report-tabs [role="tab"][aria-selected="true"] { border-color: #d8e1ec !important; background: #fff !important; color: #174bb8 !important; box-shadow: 0 2px 4px #18263808 !important; font-weight: 600; transform: none; }
.report-body .report-tabs [role="tab"]:focus-visible { outline-offset: -3px; }
body.report-body .report-current-section, body.report-body .report-sections-nav::before, body.report-body .report-sections-nav::after { display: none !important; content: none !important; }
.report-body .site-capture [hidden] { display: none !important; }
.report-body .capture-empty [data-screenshot-icon] { display: flex; justify-content: center; }
.report-body .crawl-observation { display: block; margin-top: 4px; color: var(--rp-muted); font-size: 10px; font-weight: 400; }
.report-body .analysis-stage-rail li.is-limited { color: var(--rp-muted); }

.report-body .report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 236px; align-items: start; gap: 24px; padding: 20px 0 0; }
.report-body .report-section { margin: 0; padding: 28px; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); background: #fff; box-shadow: 0 3px 10px #1c2d4403; }
.report-body .report-section + .report-section { margin-top: 20px; padding-top: 28px; }
.report-tabs-ready .report-body .report-section { margin-top: 0; }
.report-tabs-ready .report-body .report-tab-panel:not(.is-active) { display: none; }
.report-body .report-section-heading { display: block; margin: 0 0 24px; padding: 0; border: 0; }
.report-body .report-section-heading > span { display: none; }
.report-body .report-section-heading h2 { margin: 0; color: var(--rp-ink); font: 600 24px/1.25 var(--font); letter-spacing: -.035em; }
.report-body .report-section-heading p { max-width: 66ch; margin: 7px 0 0; color: var(--rp-muted); font-size: 12px; line-height: 1.7; }
.report-body .report-lead { margin: 0; color: var(--rp-body); font-size: 13px; line-height: 1.85; }
.report-body .aside-panel.sticky { position: static; top: auto; margin: 0; padding: 20px; border: 1px solid var(--rp-line); border-radius: 12px; background: #fff; box-shadow: none; }
.report-body .aside-panel > p { margin: 8px 0 14px; color: var(--rp-muted); font-size: 11px; line-height: 1.85; }
.report-body .aside-panel :is(a, .quiet-button) { display: flex; align-items: center; width: 100%; min-height: 42px; gap: 7px; padding: 9px 0; border: 0; border-top: 1px solid var(--rp-line); color: var(--rp-body); font: 500 11px/1.5 var(--font); text-align: left; background: transparent; }
.report-body .aside-panel .icon { width: 14px; height: 14px; }

/* Structured details stay readable without card-inside-card clutter. */
.report-body :is(.human-fact-grid, .intel-summary-grid, .intel-two-column) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin: 0; border: 0; border-radius: 0; background: transparent; }
.report-body :is(.human-fact-grid, .intel-summary-grid) > article { display: block; grid-column: auto; min-width: 0; min-height: 0; padding: 16px 0; border: 0; border-bottom: 1px solid var(--rp-line); border-radius: 0; background: transparent; }
.report-body :is(.human-fact-grid, .intel-summary-grid) > article > span { display: block; margin: 0 0 5px; color: var(--rp-muted); font: 400 11px/1.5 var(--font); letter-spacing: 0; text-transform: none; }
.report-body :is(.human-fact-grid, .intel-summary-grid) strong { margin: 0; color: var(--rp-ink); font-size: 14px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.report-body :is(.human-fact-grid, .intel-summary-grid) :is(small, p) { display: block; margin: 5px 0 0; padding: 0; color: var(--rp-muted); font-size: 11px; line-height: 1.75; }
.report-body .compact-facts { margin-top: 16px; }
.report-body .compact-facts article:first-child { grid-column: 1 / -1; }
.report-body :is(.intel-subsection, .intel-two-column, .history-summary, .ai-risk-panel) { margin-top: 24px; padding: 20px 0 0; border: 0; border-top: 1px solid var(--rp-line); border-radius: 0; background: transparent; box-shadow: none; }
.report-body :is(.intel-subsection, .intel-two-column, .history-summary) h3 { margin: 0 0 10px; color: var(--rp-ink); font: 600 14px/1.5 var(--font); }
.report-body :is(.intel-subsection, .intel-two-column, .history-summary) p { margin: 6px 0; color: var(--rp-body); font-size: 12px; line-height: 1.85; }
.report-body .inline-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.report-body .inline-chips span { max-width: 100%; padding: 5px 8px; border: 1px solid #e1e7ee; border-radius: 6px; background: #f6f8fb; color: var(--rp-body); font: 400 11px/1.6 var(--font); overflow-wrap: anywhere; }
.report-body :is(.evidence-disclosure, .profile-detail, .source-disclosure) { margin: 16px 0 0; overflow: hidden; border: 1px solid var(--rp-line); border-radius: 9px; background: #fff; }
.report-body :is(.evidence-disclosure, .profile-detail) > summary { display: flex; min-height: 48px; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 16px; color: var(--rp-body); font: 500 12px/1.6 var(--font); cursor: pointer; }
.report-body :is(.evidence-disclosure, .profile-detail) > summary > span { color: var(--rp-muted); font-size: 10px; font-weight: 400; }
.report-body .profile-detail > .report-lead { padding: 0 16px 16px; }
.report-body .evidence-disclosure > .signal-list { margin: 0; padding: 0 16px; border-top: 1px solid var(--rp-line); }
.report-body .signal-list { display: block; margin: 18px 0 0; border-top: 1px solid var(--rp-line); }
.report-body .signal-list > .signal-row, .report-body .compact-signals .signal-row:nth-child(n+5) { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) auto; grid-template-areas: "title evidence result" "meta evidence result"; align-items: start; gap: 6px 20px; min-width: 0; padding: 19px 0; border: 0; border-bottom: 1px solid var(--rp-line); border-radius: 0; background: transparent; }
.report-body .signal-row:last-child { border-bottom: 0; }
.report-body .signal-title { grid-area: title; display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.report-body .signal-title .status-dot { flex: 0 0 6px; width: 6px; height: 6px; margin-top: 6px; }
.report-body .signal-title strong { color: var(--rp-ink); font: 500 12px/1.55 var(--font); }
.report-body .signal-title small { display: block; margin-top: 3px; color: var(--rp-muted); font-size: 10px; }
.report-body .signal-result { grid-area: result; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.report-body .signal-result .badge { min-height: 22px; padding: 3px 7px; border-radius: 5px; font: 500 10px/1.5 var(--font); }
.report-body .signal-result .badge.badge-neutral { border-color: #dce3ec; background: var(--surface-subtle); color: var(--body); }
.report-body .signal-result .badge.badge-positive { border-color: #abefc6; background: var(--success-soft); color: var(--success); }
.report-body .signal-result .badge.badge-warning { border-color: #f3d891; background: var(--warning-soft); color: var(--warning); }
.report-body .signal-result .badge.badge-negative { border-color: #f3b7b7; background: var(--danger-soft); color: var(--danger); }
.report-body .signal-result > small { color: var(--rp-muted); font-size: 9px; white-space: nowrap; }
.report-body .signal-evidence { grid-area: evidence; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; border: 0; background: transparent; }
.report-body .signal-evidence dt { margin: 0 0 3px; color: var(--rp-muted); font: 400 10px/1.5 var(--font); letter-spacing: 0; text-transform: none; }
.report-body .signal-evidence dd { margin: 0; color: var(--rp-body); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.report-body .signal-meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; color: var(--rp-muted); font: 400 9px/1.6 var(--font); }
.report-body .signal-meta a { color: #2d5cad; }
.report-body .signal-meta .icon { width: 10px; height: 10px; }
.report-body .signal-empty { margin-top: 16px; padding: 20px; border: 1px solid var(--rp-line); border-radius: 9px; background: #f8fafc; }
.report-body .signal-empty strong { font-size: 14px; font-weight: 500; }
.report-body .signal-empty p { margin: 6px 0 0; color: var(--rp-muted); font-size: 12px; line-height: 1.8; }

.report-body .assessment-brief { margin: 24px 0 0; padding: 0; overflow: hidden; border: 1px solid #d7e4f8; border-radius: 12px; background: #f8faff; box-shadow: none; }
.report-body .assessment-brief > header { display: grid; grid-template-columns: minmax(0, 1fr) 110px; align-items: start; gap: 22px; padding: 22px; }
.report-body .assessment-brief h3 { margin: 0; color: var(--rp-ink); font: 600 17px/1.4 var(--font); letter-spacing: -.02em; }
.report-body .assessment-purpose { margin: 9px 0 0; color: var(--rp-body); font-size: 13px; line-height: 1.85; }
.report-body .assessment-score { display: grid; gap: 3px; padding: 0 0 0 16px; border: 0; border-left: 1px solid #d7e4f8; text-align: left; }
.report-body .assessment-score strong { color: var(--rp-ink); font: 600 30px/1.2 var(--font); letter-spacing: -.04em; }
.report-body .assessment-score span { color: var(--rp-body); font-size: 10px; }
.report-body .assessment-score small { color: var(--rp-muted); font-size: 9px; line-height: 1.65; }
.report-body .assessment-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid #d7e4f8; }
.report-body .assessment-columns > div { min-width: 0; padding: 20px 22px; border: 0; }
.report-body .assessment-columns > div + div { border-left: 1px solid #d7e4f8; }
.report-body .assessment-columns h4 { margin: 0 0 9px; color: var(--rp-ink); font: 600 12px/1.5 var(--font); }
.report-body .assessment-columns p { margin: 8px 0 0; color: var(--rp-body); font-size: 12px; line-height: 1.8; }
.report-body .assessment-note { margin: 0; padding: 12px 22px; border-top: 1px solid #d7e4f8; color: var(--rp-muted); font-size: 10px; line-height: 1.65; }
.report-body .ai-risk-panel > header { align-items: start; padding: 0; border: 0; }
.report-body .ai-risk-panel h3 { font-size: 16px; }
.report-body .ai-risk-list { display: grid; gap: 10px; }
.report-body .ai-risk-list article { padding: 16px; border-radius: 9px; }
.report-body .ai-risk-list article > div { display: flex; flex-wrap: wrap; gap: 8px; }
.report-body .ai-risk-list article :is(p, strong) { font-size: 12px; line-height: 1.8; }
.report-body .context-finding { grid-template-columns: auto minmax(0, 1fr); padding: 16px; border-radius: 9px; }

.report-body .source-disclosures { display: grid; gap: 10px; margin-top: 20px; border: 0; }
.report-body .source-disclosure { margin: 0; }
.report-body .source-disclosure > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; min-height: 54px; padding: 15px 16px; font-size: 12px; cursor: pointer; }
.report-body .source-disclosure > summary > span { min-width: 0; overflow-wrap: anywhere; }
.report-body .source-disclosure > summary > span:first-child { display: grid; gap: 3px; }
.report-body .source-disclosure > summary small { margin: 0; color: var(--rp-muted); font-size: 10px; line-height: 1.6; }
.report-body .source-disclosure > summary > span:last-child { max-width: 150px; color: var(--rp-muted); font-size: 10px; line-height: 1.6; text-align: right; }
.report-body .source-disclosure > div { padding: 16px; border-top: 1px solid var(--rp-line); color: var(--rp-body); font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.report-body .source-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; border: 0; }
.report-body .source-links > span { width: 100%; color: var(--rp-muted); font: 500 11px/1.5 var(--font); letter-spacing: 0; }
.report-body .source-links a { max-width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--rp-line); border-radius: 7px; color: #2d5cad; font-size: 11px; overflow-wrap: anywhere; }

/* Reviews use the same editorial rhythm, including verified guest submissions. */
.report-body .review-list { display: grid; gap: 0; }
.report-body .review-item { margin: 0; padding: 24px 0; border: 0; border-bottom: 1px solid var(--rp-line); border-radius: 0; background: transparent; box-shadow: none; }
.report-body .review-header { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.report-body .review-avatar { width: 36px; height: 36px; border-radius: 50%; font-size: 12px; }
.report-body .review-author :is(strong, a) { font-size: 13px; font-weight: 600; }
.report-body .review-author :is(small, time), .report-body .review-byline { color: var(--rp-muted); font-size: 10px; }
.report-body .review-item h3 { margin: 18px 0 10px; font: 600 16px/1.5 var(--font); }
.report-body .review-axis-summary { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0; padding: 0; border: 0; background: transparent; }
.report-body .review-axis-summary > * { font-size: 10px; }
.report-body .review-copy { color: var(--rp-body); font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.report-body .review-footer { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rp-line); font-size: 10px; }
.report-body .review-list .empty-state { min-height: 0; padding: 28px 20px; border: 0; border-radius: 9px; background: #f7f9fc; }
.report-body .review-list .empty-state .icon { width: 23px; height: 23px; }
.report-body .review-list .empty-state h3 { margin: 10px 0 6px; font: 500 18px/1.4 var(--font); }
.report-body .review-list .empty-state p { max-width: 50ch; margin: 0 auto; color: var(--rp-muted); font-size: 12px; line-height: 1.8; }
.report-body .write-review { margin: 24px 0 0; padding: 0; border: 0; }
.report-body .review-disclosure { border: 1px solid #d5dfed; border-radius: 10px; overflow: hidden; background: #fff; }
.report-body .review-disclosure > summary { display: flex; align-items: center; min-height: 74px; gap: 18px; padding: 18px 20px; background: #f7f9fc; }
.report-body .review-disclosure > summary > span:first-child { display: grid; gap: 4px; flex: 0 0 auto; }
.report-body .review-disclosure summary small { color: var(--rp-muted); font-size: 10px; }
.report-body .review-disclosure summary strong { color: var(--rp-ink); font: 600 14px/1.4 var(--font); }
.report-body .review-disclosure-copy { color: var(--rp-muted); font-size: 11px; line-height: 1.7; }
.report-body .review-disclosure > summary > i { flex: 0 0 auto; margin-left: auto; width: 8px; height: 8px; }
.report-body .review-disclosure-body { padding: 24px 20px; border-top: 1px solid var(--rp-line); }
.report-body .review-compose-intro h3 { margin: 6px 0 8px; font: 600 22px/1.3 var(--font); letter-spacing: -.03em; }
.report-body .review-compose-intro p { color: var(--rp-muted); font-size: 12px; line-height: 1.8; }
.report-body .review-form.panel { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.report-body .review-form-header { gap: 12px; padding-block: 16px; }
.report-body .review-form-header :is(h3, strong) { font-size: 13px; }
.report-body .review-form-header p { color: var(--rp-muted); font-size: 11px; }
.report-body .rating-matrix { margin: 20px 0; padding: 0; border: 0; background: transparent; }
.report-body .rating-matrix > header { margin-bottom: 14px; padding: 0; }
.report-body .rating-matrix > header h3 { margin: 0 0 5px; font-size: 14px; }
.report-body .rating-matrix > header p { color: var(--rp-muted); font-size: 11px; }
.report-body .rating-axis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.report-body .axis-rating { min-width: 0; margin: 0; padding: 15px; border: 1px solid var(--rp-line); border-radius: 9px; background: #fbfcfe; }
.report-body .axis-rating legend { color: var(--rp-ink); font: 500 12px/1.5 var(--font); }
.report-body .axis-rating > p, .report-body .axis-rating small { color: var(--rp-muted); font-size: 10px; line-height: 1.65; }
.report-body .axis-rating-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.report-body .star-rating { display: flex; flex: 0 0 auto; gap: 1px; }
.report-body .star-choice label { display: grid; width: 34px; height: 40px; place-items: center; margin: 0; padding: 0; border-radius: 5px; font-size: 25px; }
.report-body .star-glyph { width: 22px; height: 22px; }
.report-body .star-choice input:focus-visible ~ label { outline: 3px solid #94b8ff; outline-offset: 1px; }
.report-body [data-axis-rating-label] { color: var(--rp-muted); font-size: 10px; }
.report-body .overall-preview { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 13px 15px; border: 1px solid var(--rp-line); border-radius: 9px; background: #f7f9fc; }
.report-body .overall-preview :is(small, span) { color: var(--rp-muted); font-size: 10px; }
.report-body [data-overall-rating] { color: var(--rp-ink); font: 600 20px/1.3 var(--font); }
.report-body .guest-identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.report-body .review-form .field { min-width: 0; margin-top: 17px; }
.report-body .review-form .field > span { color: var(--rp-ink); font-size: 12px; font-weight: 500; }
.report-body .review-form .field :is(input, textarea) { padding: 12px 13px; border-color: #d5deea; border-radius: 8px; font: 400 13px/1.65 var(--font); background: #fff; }
.report-body .review-form textarea { min-height: 145px; }
.report-body .review-form :is(.field small, .checkbox, .form-note, .guest-auth-alternative) { font-size: 11px; line-height: 1.75; }
.report-body .review-submitted-state { padding: 22px; border-radius: 10px; }
.report-body .review-state-content h3 { font-size: 20px; }
.report-body .review-state-content p { font-size: 12px; }

.report-body .report-questions { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 38px; margin-top: 44px; margin-bottom: 64px; padding-top: 32px; border-top: 1px solid var(--rp-line); }
.report-body .report-questions-intro { position: static; top: auto; }
.report-body .report-questions-intro h2 { margin: 5px 0 10px; font: 600 24px/1.35 var(--font); letter-spacing: -.03em; overflow-wrap: anywhere; }
.report-body .report-questions-intro p { margin: 0; color: var(--rp-muted); font-size: 11px; line-height: 1.85; }
.report-body .report-questions-grid { overflow: hidden; border: 1px solid var(--rp-line); border-radius: 12px; background: #fff; box-shadow: none; }
.report-body .report-questions details { border-bottom: 1px solid var(--rp-line); }
.report-body .report-questions details:last-child { border-bottom: 0; }
.report-body .report-questions summary { position: relative; display: flex; align-items: center; min-height: 59px; padding: 17px 48px 17px 20px; color: var(--rp-ink); font: 500 12px/1.7 var(--font); cursor: pointer; list-style: none; }
.report-body .report-questions summary::-webkit-details-marker { display: none; }
.report-body .report-questions summary::after { content: ""; position: absolute; right: 23px; top: 25px; width: 6px; height: 6px; border: 0; border-right: 1px solid #78879a; border-bottom: 1px solid #78879a; border-radius: 0; background: transparent; transform: rotate(45deg); }
.report-body .report-questions details[open] summary::after { content: ""; background: transparent; transform: rotate(225deg); }
.report-body .report-questions summary:hover, .report-body .report-questions details[open] summary { color: #174bb8; background: #fafbfe; }
.report-body .report-questions details > p { margin: 0; padding: 0 20px 20px; color: var(--rp-body); font-size: 12px; line-height: 1.9; }
.report-body .report-questions details > small { display: block; padding: 0 20px 18px; color: var(--rp-muted); font-size: 10px; }

/* Pending states remain visible, quiet and independent from safety judgments. */
.report-body .analysis-progress, .report-body .analysis-notice { grid-area: progress; margin: 0; padding: 18px 20px; border: 1px solid #d6e3f7; border-radius: 12px; background: #f0f5fc; }
.report-body .analysis-progress { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.report-body .analysis-progress-summary { display: flex; align-items: start; gap: 12px; }
.report-body .analysis-progress-body { display: block; flex: 1; min-width: 0; }
.report-body .analysis-progress-body > strong { color: var(--rp-ink); font: 600 14px/1.6 var(--font); }
.report-body .analysis-progress-body p { margin: 4px 0 0; color: var(--rp-body); font-size: 12px; line-height: 1.75; }
.report-body .analysis-progress-body > small { color: var(--rp-muted); font-size: 10px; }
.report-body .pipeline-progress { width: 100%; height: 4px; margin: 12px 0 6px; }
.report-body .analysis-stage-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
.report-body .analysis-stage-rail > li { min-width: 0; padding: 10px 12px; border: 1px solid #dee6f2; border-radius: 7px; background: #ffffffa0; color: var(--rp-body); font: 500 11px/1.5 var(--font); }
.report-body .analysis-stage-rail [data-stage-state] { color: var(--rp-muted); font: 400 10px/1.5 var(--font); }
.report-body :is(.evidence-loading, .profile-loading) { gap: 12px; margin: 16px 0; padding: 16px; border: 1px solid #d7e4f7; border-radius: 9px; background: #f6f9fe; }
.report-body :is(.evidence-loading, .profile-loading) strong { font-size: 12px; }
.report-body :is(.evidence-loading, .profile-loading) p { margin: 4px 0 0; color: var(--rp-muted); font-size: 11px; line-height: 1.8; }
.report-body .report-name { animation: rp-enter .3s ease-out both; }
@keyframes rp-enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
    .report-body .report-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; }
    .report-body .report-section { padding: 24px; }
    .report-body .report-hero > .shell { column-gap: 24px; }
    .report-body .report-metrics .metric-card { padding: 18px; }
    .report-body .report-tabs [role="tab"] { padding-inline: 11px !important; font-size: 11px; }
}

@media (max-width: 760px) {
    .report-body .shell { width: calc(100% - 32px); }
    .report-body .report-hero { padding-top: 20px; }
    .report-body .report-hero > .shell { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumb" "identity" "profile" "preview" "metrics" "facts"; gap: 20px; }
    .report-body .report-hero > .shell:has(.analysis-progress, .analysis-notice) { grid-template-areas: "crumb" "progress" "identity" "profile" "preview" "metrics" "facts"; }
    .report-body .report-identity { flex-wrap: wrap; gap: 18px; margin-top: 2px; }
    .report-body .report-name { width: 100%; align-items: center; gap: 12px; }
    .report-body .report-name :is(.site-logo-large, .site-logo-fallback) { width: 46px; height: 46px; flex-basis: 46px; border-radius: 11px; }
    .report-body .report-name h1 { font-size: clamp(25px, 7vw, 32px); }
    .report-body .identity-meta { margin-top: 6px; gap: 3px 11px; font-size: 10px; }
    .report-body .report-actions { width: 100%; gap: 8px; }
    .report-body .report-actions .button { width: auto; flex: 1; font-size: 12px; }
    .report-body .report-at-a-glance { padding: 0; }
    .report-body .report-at-a-glance h2 { margin-bottom: 9px; font-size: 18px; }
    .report-body .report-at-a-glance-copy > p { font-size: 14px; line-height: 1.85; }
    .report-body .site-capture-cell { width: 100%; max-width: 540px; justify-self: center; }
    .report-body .report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-body .report-metrics .metric-card { padding: 16px; border-bottom: 1px solid var(--rp-line); }
    .report-body .report-metrics .metric-card:nth-child(2) { border-right: 0; }
    .report-body .report-metrics .metric-card:last-child { grid-column: 1 / -1; border: 0; }
    .report-body .metric-card strong { font-size: 23px; }
    .report-body .metric-card > span, .report-body .metric-card > b { font-size: 10px; }
    .report-body .metric-card > p { font-size: 10px; }
    .report-body .key-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .report-body .key-facts-grid > article { padding: 14px 16px; border-right: 1px solid var(--rp-line); border-bottom: 1px solid var(--rp-line); }
    .report-body .key-facts-grid > article:nth-child(3n) { border-right: 1px solid var(--rp-line); }
    .report-body .key-facts-grid > article:nth-child(2n) { border-right: 0; }
    .report-body .key-facts-grid > article:nth-child(n+4) { border-bottom: 1px solid var(--rp-line); }
    .report-body .key-facts-grid > article:nth-child(n+5) { border-bottom: 0; }
    .report-body .key-facts-observation { padding: 12px 16px; }
    .report-body .key-facts-observation small { width: 100%; margin: 0; }
    .report-body .report-sections-nav { width: calc(100% - 32px); margin-top: 20px; padding: 5px; border-radius: 10px !important; }
    .report-body .report-tabs [role="tab"] { padding-inline: 13px !important; font-size: 12px; }
    .report-body .report-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 16px; }
    .report-body .report-aside { grid-row: auto; }
    .report-body .report-section { padding: 22px 18px; }
    .report-body .report-section-heading { margin-bottom: 20px; }
    .report-body .report-section-heading h2 { font-size: 22px; }
    .report-body .aside-panel.sticky { padding: 18px; }
    .report-body :is(.human-fact-grid, .intel-summary-grid, .intel-two-column) { grid-template-columns: minmax(0, 1fr); }
    .report-body .signal-list > .signal-row, .report-body .compact-signals .signal-row:nth-child(n+5) { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title result" "evidence evidence" "meta meta"; gap: 10px 12px; padding-block: 17px; }
    .report-body .signal-evidence { padding-left: 14px; }
    .report-body .signal-meta { padding-left: 14px; }
    .report-body .assessment-brief > header { grid-template-columns: minmax(0, 1fr) 88px; gap: 14px; padding: 18px; }
    .report-body .assessment-score { padding-left: 12px; }
    .report-body .assessment-score strong { font-size: 26px; }
    .report-body .assessment-columns { grid-template-columns: minmax(0, 1fr); }
    .report-body .assessment-columns > div { padding: 18px; }
    .report-body .assessment-columns > div + div { border: 0; border-top: 1px solid #d7e4f8; }
    .report-body .assessment-note { padding-inline: 18px; }
    .report-body .source-disclosure > summary { grid-template-columns: minmax(0, 1fr); gap: 7px; }
    .report-body .source-disclosure > summary > span:last-child { max-width: none; text-align: left; }
    .report-body .review-header { grid-template-columns: 32px minmax(0, 1fr); }
    .report-body .review-header .stars { grid-column: 2; }
    .report-body .review-disclosure > summary { gap: 12px; padding: 16px; }
    .report-body .review-disclosure-copy { display: none; }
    .report-body .review-disclosure-body { padding: 20px 16px; }
    .report-body .rating-axis-grid, .report-body .guest-identity-grid { grid-template-columns: minmax(0, 1fr); }
    .report-body .star-choice label { width: 38px; min-height: 44px; }
    .report-body .review-form-header { flex-wrap: wrap; }
    .report-body .report-questions { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; margin-bottom: 44px; padding-top: 28px; }
    .report-body .report-questions-intro h2 { font-size: 22px; }
    .report-body .analysis-stage-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-body .analysis-progress { padding: 16px; }
}

@media (max-width: 420px) {
    .report-body .key-facts-grid { grid-template-columns: minmax(0, 1fr); }
    .report-body .key-facts-grid > article, .report-body .key-facts-grid > article:nth-child(n) { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 3px 12px; padding: 13px 16px; border-right: 0; border-bottom: 1px solid var(--rp-line); }
    .report-body .key-facts-grid > article > span { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
    .report-body .key-facts-grid > article > strong { grid-column: 2; font-size: 12px; }
    .report-body .key-facts-grid > article > small { grid-column: 2; margin: 0; }
    .report-body .key-facts-grid > article:last-of-type { border-bottom: 0; }
    .report-body .metric-card > div { grid-column: 1; grid-row: auto; margin: 4px 0; }
    .report-body .metric-card > b { grid-row: auto; }
    .report-body .report-metrics .metric-empty { margin: 0; }
    .report-body .assessment-brief > header { grid-template-columns: minmax(0, 1fr); }
    .report-body .assessment-score { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 4px 10px; padding: 12px 0 0; border: 0; border-top: 1px solid #d7e4f8; }
    .report-body .assessment-score small { grid-column: 1 / -1; }
    .report-body .context-finding { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .report-body .report-name, .report-body .analysis-spinner, .report-body .capture-loader, .report-body .loading-orbit { animation: none; }
    .report-body .report-tabs [role="tab"] { transition: none; }
}
