html {
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

:root {
    --report-ink: #1f3145;
    --report-body: #42566c;
    --report-muted: #6a7d91;
    --report-blue: #315986;
    --report-blue-soft: #edf4fb;
    --report-line: #d7e2ee;
    --report-surface: #ffffff;
    --report-warm: #fbf8f2;
    --report-shadow: 0 14px 38px rgba(31, 41, 51, 0.08);
    --report-radius: 8px;
}

body {
    margin: 0;
    color: #26313f;
    background:
        linear-gradient(180deg, #ffffff 0%, var(--report-warm) 45%, #f4f7fb 100%);
    font-family: 'Lato', Arial, sans-serif;
    line-height: 1.7;
}

.reportShell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 36px 24px 64px;
}

.reportNav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 12px 0;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.reportNav a {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(215, 226, 238, 0.92);
    border-radius: 999px;
    color: #315986;
    display: inline-flex;
    font-weight: 700;
    padding: 8px 14px;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.reportNav a:hover {
    background: #ffffff;
    border-color: #315986;
    color: #24466d;
    text-decoration: none;
    transform: translateY(-1px);
}

.reportHero,
.reportSection {
    background: #ffffff;
    border: 1px solid #d9e3ef;
    border-radius: var(--report-radius);
    box-shadow: var(--report-shadow);
}

.reportHero {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    padding: 44px 48px;
    margin-bottom: 24px;
}

.reportTldr {
    background: #ffffff;
    border: 1px solid #d9e3ef;
    border-radius: var(--report-radius);
    box-shadow: var(--report-shadow);
    margin-bottom: 20px;
    padding: 24px;
}

.reportTldrHeader {
    align-items: end;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(210px, 0.75fr) minmax(0, 1.25fr);
    margin-bottom: 18px;
}

.reportTldrHeader h2 {
    color: #1f3145;
    font-size: 22px;
    margin: 0;
}

.reportTldrHeader p {
    color: #53677f;
    margin: 0;
}

.reportTldrGrid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reportTldrItem {
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
    border: 1px solid #d7e2ee;
    border-radius: 8px;
    padding: 16px;
}

.reportTldrLabel {
    color: #315986;
    display: block;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.reportTldrItem p {
    color: #42566c;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.reportEyebrow {
    margin: 0 0 12px;
    color: #315986;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: 'Karla', Arial, sans-serif;
    color: #1f3145;
    line-height: 1.25;
}

h1 {
    max-width: 880px;
    font-size: 42px;
}

.reportSubtitle {
    max-width: 850px;
    margin: 18px 0 0;
    color: #51677f;
    font-size: 18px;
}

.reportMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.reportHeroActions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.reportHeroAction {
    align-items: center;
    background: #1f6f86;
    border: 1px solid #1f6f86;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    padding: 10px 14px;
    text-decoration: none;
}

.reportHeroAction:hover,
.reportHeroAction:focus {
    background: #174f60;
    color: #ffffff;
    text-decoration: none;
}

.reportMeta span,
.tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid #c8d6e5;
    border-radius: 999px;
    background: #edf4fb;
    color: #315986;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    text-transform: uppercase;
}

.reportSection {
    padding: 34px 42px;
    margin-bottom: 20px;
    scroll-margin-top: 88px;
}

.reportSection h2 {
    margin-bottom: 18px;
    font-size: 24px;
}

.reportSection h3 {
    margin: 24px 0 10px;
    font-size: 18px;
}

.reportSection p {
    margin: 0 0 16px;
}

.reportGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.signalGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.signalCard {
    border: 1px solid #ccdbea;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    padding: 16px;
}

.signalLabel {
    color: #6a7d91;
    display: block;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.signalValue {
    color: #1f3145;
    display: block;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.insightCard {
    border: 1px solid #d9e3ef;
    border-radius: 8px;
    background: #fbfdff;
    padding: 18px;
}

.insightCard h3 {
    margin-top: 0;
}

.reportList {
    margin: 0;
    padding-left: 20px;
}

.reportList li {
    margin-bottom: 10px;
}

.callout {
    border-left: 4px solid #315986;
    background: #f1f6fb;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 22px 0;
}

.fieldNote {
    background: linear-gradient(180deg, #f3fbf8 0%, #eef8f6 100%);
    border: 1px solid #b9d8d2;
    border-left: 5px solid #2f766d;
    border-radius: var(--report-radius);
    box-shadow: 0 10px 24px rgba(47, 118, 109, 0.08);
    margin: 22px 0;
    padding: 20px 22px;
}

.fieldNoteLabel,
.demoVideoLabel,
.researchLabel {
    color: #2f766d;
    display: block;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.fieldNote p {
    color: #38566b;
    margin: 0;
}

.diagramPanel {
    border: 1px solid #d7e2ee;
    border-radius: 10px;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f8fd 100%);
    padding: 20px;
    margin: 22px 0;
}

.diagramTitle {
    margin: 0 0 16px;
    color: #315986;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.flowDiagram {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.flowNode,
.matrixCell,
.sequenceStep,
.modelCard,
.noteCard,
.referenceItem {
    border: 1px solid #ccdbea;
    border-radius: 8px;
    background: #ffffff;
    padding: 14px;
}

.flowNode {
    min-height: 94px;
    position: relative;
}

.flowNode::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -9px;
    width: 14px;
    height: 2px;
    background: #8aa9ca;
}

.flowNode:nth-child(4n)::after,
.flowNode:last-child::after {
    display: none;
}

.flowNode strong,
.matrixCell strong,
.sequenceStep strong,
.modelCard strong,
.noteCard strong {
    display: block;
    color: #1f3145;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 6px;
}

.flowNode span,
.matrixCell span,
.sequenceStep span,
.modelCard span,
.noteCard span {
    color: #5b6d80;
    display: block;
    font-size: 13px;
    line-height: 1.55;
}

.modelGrid,
.noteGrid,
.referenceGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 0;
}

.sequenceFlow {
    display: grid;
    gap: 10px;
}

.sequenceStep {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.sequenceStep strong {
    margin-bottom: 0;
}

.matrixGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.matrixCell {
    min-height: 150px;
}

.matrixCell[data-tone="strong"] {
    border-color: #93b6d8;
    background: #edf6ff;
}

.matrixAxis {
    color: #6a7d91;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.referenceList {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.referenceItem {
    color: #42566c;
    font-size: 14px;
}

.referenceItem a {
    color: #315986;
    font-weight: 700;
    text-decoration: none;
}

.referenceItem a:hover {
    text-decoration: underline;
}

.sourceFigureGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0 0;
}

.sourceFigure {
    border: 1px solid #d7e2ee;
    border-radius: var(--report-radius);
    background: #ffffff;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
}

.sourceFigureFull {
    grid-column: 1 / -1;
}

.sourceFigure img {
    background: #ffffff;
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.sourceFigure figcaption {
    border-top: 1px solid #d7e2ee;
    color: #42566c;
    font-size: 13px;
    line-height: 1.55;
    padding: 12px 14px;
}

.sourceFigureFull img {
    max-height: 920px;
}

.sourceFigure figcaption strong {
    color: #1f3145;
    font-family: 'Karla', Arial, sans-serif;
}

.reportHeroWithVisual {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.reportHeroCopy {
    min-width: 0;
}

.reportHeroVisual,
.visualEvidenceItem {
    background: #ffffff;
    border: 1px solid #d7e2ee;
    border-radius: var(--report-radius);
    box-shadow: 0 10px 26px rgba(31, 41, 51, 0.07);
    margin: 0;
    overflow: hidden;
}

.reportHeroVisual img,
.visualEvidenceItem img {
    background: #f7fbff;
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.reportHeroVisual figcaption,
.visualCaption {
    border-top: 1px solid #d7e2ee;
    color: #42566c;
    font-size: 14px;
    line-height: 1.5;
    padding: 12px 14px;
}

.visualEvidenceStrip {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 24px 0 0;
}

.visualEvidenceStrip .sourceFigureGrid {
    grid-column: 1 / -1;
}

.visualEvidenceStrip .sourceFigure,
.visualEvidenceStrip .demoVideo {
    margin: 0;
}

.visualEvidenceWide {
    grid-column: span 2;
}

.researchFigureGrid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 24px 0 0;
}

.researchFigure {
    background: #ffffff;
    border: 1px solid #d7e2ee;
    border-radius: var(--report-radius);
    box-shadow: 0 10px 26px rgba(31, 41, 51, 0.07);
    margin: 0;
    overflow: hidden;
}

.researchFigure img {
    background: #ffffff;
    border-bottom: 1px solid #d7e2ee;
    display: block;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    width: 100%;
}

.researchFigureBody {
    padding: 16px 18px 18px;
}

.researchFigure h3 {
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.researchCredit,
.researchConnection {
    color: #42566c;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 12px;
}

.researchCredit a,
.researchConnection a,
.visualCaption a,
.demoVideoCaption a {
    color: #315986;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.licenseNote {
    align-items: center;
    background: #edf4fb;
    border: 1px solid #c8d6e5;
    border-radius: 999px;
    color: #315986;
    display: inline-flex;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
}

.demoVideo {
    background: #ffffff;
    border: 1px solid #d7e2ee;
    border-radius: var(--report-radius);
    box-shadow: 0 10px 26px rgba(31, 41, 51, 0.07);
    margin: 24px 0 0;
    overflow: hidden;
}

.demoVideo video {
    background: #edf4fb;
    display: block;
    width: 100%;
}

.demoVideoCaption {
    border-top: 1px solid #d7e2ee;
    padding: 16px 18px 18px;
}

.demoVideoCaption h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.demoVideoCaption p {
    color: #42566c;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.videoTranscript {
    border-top: 1px solid #e0e9f2;
    margin-top: 14px;
    padding-top: 12px;
}

.videoTranscript summary {
    color: #315986;
    cursor: pointer;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.videoTranscript p {
    margin-top: 10px;
}

.tableWrap {
    border: 1px solid #d7e2ee;
    border-radius: 10px;
    margin: 20px 0;
    overflow-x: auto;
}

.decisionTable {
    border-collapse: collapse;
    min-width: 760px;
    width: 100%;
}

.decisionTable th,
.decisionTable td {
    border-bottom: 1px solid #d7e2ee;
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.decisionTable th {
    background: #edf4fb;
    color: #315986;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.decisionTable tr:last-child td {
    border-bottom: 0;
}

.decisionTable td {
    color: #42566c;
    font-size: 14px;
}

.chartPanel {
    border: 1px solid #d7e2ee;
    border-radius: var(--report-radius);
    background: #fbfdff;
    padding: 20px;
    margin: 20px 0;
}

.chartPanel h3 {
    margin: 0 0 16px;
}

.chartRow {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 92px;
    gap: 14px;
    align-items: center;
    margin: 12px 0;
}

.chartLabel,
.chartMeta {
    color: #42566c;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.chartMeta {
    color: #6a7d91;
    text-align: right;
}

.chartTrack {
    background: #e8f0f8;
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
}

.chartFill {
    background: linear-gradient(90deg, #315986, #6ea4d8);
    border-radius: inherit;
    display: block;
    height: 100%;
    width: var(--level);
}

.thoughtGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 0;
}

.thoughtCard {
    border-left: 4px solid #315986;
    background: #f6faff;
    border-radius: 8px;
    padding: 16px;
}

.thoughtCard strong {
    color: #1f3145;
    display: block;
    font-family: 'Karla', Arial, sans-serif;
    margin-bottom: 6px;
}

.thoughtCard span {
    color: #5b6d80;
    display: block;
    font-size: 13px;
    line-height: 1.55;
}

.keywordCloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.tagRow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.reportFooter {
    color: #5f7187;
    font-size: 13px;
    text-align: center;
    margin-top: 28px;
}

@media (max-width: 820px) {
    .reportShell {
        padding: 22px 14px 48px;
    }

    .reportNav {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .reportNav a {
        justify-content: center;
    }

    .reportHero,
    .reportSection,
    .reportTldr {
        padding: 28px 22px;
    }

    .reportTldrHeader,
    .reportTldrGrid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 32px;
    }

    .reportGrid {
        grid-template-columns: 1fr;
    }

    .signalGrid,
    .thoughtGrid,
    .sourceFigureGrid,
    .visualEvidenceStrip,
    .researchFigureGrid,
    .reportHeroWithVisual {
        grid-template-columns: 1fr;
    }

    .sourceFigureFull,
    .visualEvidenceWide {
        grid-column: auto;
    }

    .flowDiagram,
    .modelGrid,
    .noteGrid,
    .referenceGrid,
    .matrixGrid {
        grid-template-columns: 1fr;
    }

    .chartRow {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .chartMeta {
        text-align: left;
    }

    .flowNode::after {
        display: none;
    }

    .sequenceStep {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    body {
        background: #ffffff;
    }

    .reportShell {
        max-width: none;
        padding: 0;
    }

    .reportNav {
        display: none;
    }

    .reportHero,
    .reportSection,
    .reportTldr {
        box-shadow: none;
        border-color: #cfd8e3;
        break-inside: avoid;
    }
}
