@charset "UTF-8";

/* =========================================================
   CatcherX Interactive Data Appendix
   Public-facing research dashboard theme
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0b4f8a;
    --primary-dark: #07365f;
    --primary-light: #2f78b7;
    --primary-fade: #eaf3fb;
    --primary-pale: #f4f8fc;
    --bg-color: #f3f6f9;
    --card-bg: #ffffff;
    --text-main: #172b3d;
    --text-muted: #5e7183;
    --border-color: #dbe4ec;

    --shadow-sm: 0 1px 3px rgba(16, 42, 67, 0.06);
    --shadow-md: 0 12px 28px rgba(16, 42, 67, 0.07);
    --radius: 12px;
}

/* ===== 追加分析・再現性 ===== */
.research-container {
    display: grid;
    gap: 1.5rem;
}

.research-container .card {
    margin-bottom: 0;
}

.research-summary,
.metric-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.research-summary article,
.metric-strip article {
    display: flex;
    min-height: 126px;
    padding: 1.25rem;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-left: 1px solid var(--border-color);
}

.research-summary article:first-child,
.metric-strip article:first-child {
    border-left: 0;
}

.research-summary span,
.metric-strip span,
.vector-flow span,
.quality-flow span {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.research-summary strong,
.metric-strip strong,
.quality-flow strong {
    margin: 0.2rem 0;
    color: var(--primary-color);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-variant-numeric: tabular-nums;
}

.research-summary small,
.metric-strip small,
.vector-flow small,
.quality-flow small {
    color: var(--text-muted);
}

.vector-flow,
.quality-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.2fr);
    align-items: stretch;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.vector-flow > div,
.quality-flow > div {
    display: grid;
    place-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.vector-flow article,
.quality-flow article {
    display: flex;
    min-height: 122px;
    padding: 1.15rem;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #b8d6ea;
    border-radius: 12px;
    background: #f4f9fd;
}

.vector-flow strong {
    margin: 0.35rem 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.compact-definitions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-definitions .definition-card {
    padding: 1.15rem;
}

.research-callout {
    padding: 1.2rem 1.35rem;
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    background: var(--primary-fade);
}

.research-callout strong {
    color: var(--primary-color);
}

.research-callout p {
    margin: 0.35rem 0 0;
    line-height: 1.8;
}

.research-callout.caution {
    align-self: stretch;
    border-left-color: #d98500;
    background: #fff8e8;
}

.research-callout.caution strong {
    color: #8b5700;
}

.research-filters {
    display: flex;
    gap: 1rem;
    align-items: end;
    padding: 1rem 1.2rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #f7fafc;
}

.research-filters label:not(.quality-toggle) {
    display: grid;
    gap: 0.35rem;
    min-width: 180px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.research-filters select {
    min-height: 42px;
    padding: 0.5rem 2rem 0.5rem 0.7rem;
    border: 1px solid #a8bfd0;
    border-radius: 7px;
    background: #fff;
    color: var(--text-main);
    font: inherit;
}

.quality-toggle {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    min-height: 42px;
    margin-left: auto;
    font-size: 0.86rem;
}

.metric-strip {
    margin-bottom: 1.25rem;
    box-shadow: none;
}

.metric-strip article {
    min-height: 112px;
}

.metric-strip strong {
    font-size: 1.75rem;
}

.research-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 1.25rem 0;
}

.research-chart-grid .chart-box {
    margin: 0;
}

.research-canvas {
    position: relative;
    height: 310px;
}

.research-container table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.research-container caption {
    padding: 0 0 0.75rem;
    color: var(--text-muted);
    text-align: left;
    font-size: 0.85rem;
}

.research-container th,
.research-container td {
    padding: 0.78rem 0.85rem;
    border-bottom: 1px solid var(--border-color);
    text-align: right;
    white-space: nowrap;
}

.research-container thead th {
    background: #edf5fa;
    color: #28465d;
    font-size: 0.8rem;
}

.research-container th:first-child,
.research-container td:first-child {
    text-align: left;
}

.subsection-title {
    margin-top: 1.8rem;
    color: var(--primary-color);
}

.pitch-catalog {
    margin-top: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #f8fbfd;
}

.pitch-catalog summary {
    padding: 1rem 1.2rem;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 700;
}

.tag-cloud {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    padding: 0 1.2rem 1.2rem;
}

.tag-cloud > span {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border: 1px solid #b9d7ea;
    border-radius: 999px;
    background: #fff;
    color: #244b67;
    font-size: 0.86rem;
}

.tag-cloud small {
    display: inline-grid;
    min-width: 1.45rem;
    height: 1.45rem;
    place-items: center;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.68rem;
}

.quality-notes,
.repro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.quality-notes article,
.repro-grid article {
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #f8fbfd;
}

.quality-notes h3,
.repro-grid h3 {
    margin: 0 0 0.45rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.quality-notes p,
.repro-grid p,
.repro-grid li {
    line-height: 1.75;
}

.repro-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.repro-grid pre {
    overflow-x: auto;
    padding: 0.8rem;
    border-radius: 7px;
    background: #102f46;
    color: #e9f5fc;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .research-summary,
    .metric-strip,
    .compact-definitions,
    .quality-notes,
    .repro-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .research-summary article:nth-child(3),
    .metric-strip article:nth-child(3) {
        border-left: 0;
    }

    .research-summary article:nth-child(n+3),
    .metric-strip article:nth-child(n+3) {
        border-top: 1px solid var(--border-color);
    }

    .vector-flow,
    .quality-flow {
        grid-template-columns: 1fr;
    }

    .vector-flow > div,
    .quality-flow > div {
        transform: rotate(90deg);
    }

    .research-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .research-filters label:not(.quality-toggle) {
        min-width: 0;
    }

    .quality-toggle {
        margin-left: 0;
    }

    .research-chart-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .research-summary,
    .metric-strip,
    .compact-definitions,
    .quality-notes,
    .repro-grid {
        grid-template-columns: 1fr;
    }

    .research-summary article,
    .metric-strip article,
    .research-summary article:nth-child(3),
    .metric-strip article:nth-child(3) {
        border-top: 1px solid var(--border-color);
        border-left: 0;
    }

    .research-summary article:first-child,
    .metric-strip article:first-child {
        border-top: 0;
    }
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #69aee8;
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 0.75rem;
    left: 0.75rem;
    transform: translateY(-150%);
    background: white;
    color: var(--primary-color);
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-nav {
    min-height: 68px;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 100;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-family: Inter, 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.15;
}

.site-brand small {
    display: block;
    color: var(--text-muted);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--primary-color);
    border-radius: 8px;
    letter-spacing: -0.04em;
}

.nav-links {
    display: flex;
    align-items: stretch;
    align-self: stretch;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: #4b6072;
    border-bottom: 3px solid transparent;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.section-nav {
    min-height: 46px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.25rem;
    padding: 0 1.25rem;
    overflow-x: auto;
    background: #eef5fa;
    border-bottom: 1px solid #cfdeea;
}

.section-nav span,
.section-nav a {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.section-nav > span {
    color: var(--primary-dark);
}

.section-nav a {
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.section-nav a:hover,
.section-nav a[aria-current="page"] {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* --- Header --- */
.main-header {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 66%, #1b6eaa 100%);
    color: white;
    padding: 3.4rem 2rem 3.7rem;
    text-align: center;
    box-shadow: none;
    margin-bottom: 2.5rem;
}

.header-subtitle {
    display: inline-block;
    margin: 0 0 1rem 0;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    opacity: 0.95;
}

.main-header h1 {
    margin: 0 0 1.2rem 0;
    font-size: clamp(1.8rem, 3.2vw, 2.55rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: none;
}

.header-authors {
    margin-top: 1rem;
}

.main-header p.author {
    margin: 0.3rem 0;
    font-size: 1.05rem;
    opacity: 0.92;
    font-weight: 500;
}

.header-lead {
    max-width: 820px;
    margin: 1.8rem auto 0 auto;
    font-size: 0.98rem;
    line-height: 1.85;
    opacity: 0.95;
}

.header-actions {
    margin-top: 2rem;
}

/* --- Container and cards --- */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}

.card {
    background: var(--card-bg);
    padding: 2.25rem;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.card h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    border-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.page-lead {
    margin: 0 0 2rem 0;
    color: var(--text-main);
    line-height: 1.9;
    font-size: 1rem;
}

.analysis-description {
    margin: -0.4rem 0 1.4rem 0;
    color: var(--text-main);
    line-height: 1.8;
    font-size: 0.96rem;
}

/* --- Control panel --- */
.controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: var(--primary-pale);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
}

.filter-header h3 {
    margin: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-actions {
    display: flex;
    gap: 0.2rem;
    flex-wrap: wrap;
}

.action-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    background: white;
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-btn:hover {
    background: var(--primary-fade);
    color: var(--primary-color);
}

/* --- Pill checkboxes --- */
.checkbox-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.checkbox-label:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.checkbox-label:has(input:checked) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.checkbox-label input {
    display: none;
}

/* --- Strike-zone UI --- */
.sz-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.batter-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
}

.batter-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.batter-label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.sz-grid-container {
    position: relative;
}

.sz-strike-zone-border {
    position: absolute;
    top: calc(40px + 4px);
    left: calc(40px + 4px);
    width: calc(40px * 3 + 4px * 2);
    height: calc(40px * 3 + 4px * 2);
    border: 3px solid var(--primary-color);
    border-radius: 4px;
    pointer-events: none;
    z-index: 10;
}

.sz-grid {
    display: grid;
    grid-template-columns: repeat(5, 40px);
    grid-template-rows: repeat(5, 40px);
    gap: 4px;
    background: #e1e8ed;
    padding: 8px;
    border-radius: 8px;
}

.sz-cell {
    background: var(--card-bg);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.sz-cell:hover {
    background: var(--primary-fade);
}

.sz-cell:has(input:checked) {
    background: var(--primary-light);
}

.sz-cell input {
    display: none;
}

/* --- Section headings and filter status --- */
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 2px solid var(--primary-fade);
    padding-bottom: 0.5rem;
    margin-bottom: 1.3rem;
}

.section-heading h3 {
    color: var(--primary-color);
    margin: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    font-size: 1.3rem;
}

.filter-status {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    font-weight: 500;
}

/* --- Charts --- */
.charts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.chart-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary-pale);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    min-width: 0;
}

.chart-title {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
    background: transparent;
    padding: 0.5rem 1.4rem;
    border-radius: 20px;
    box-shadow: none;
}

.canvas-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.legend-box {
    margin-top: 1rem;
    padding: 1.2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.legend-box-left {
    text-align: left;
    max-width: 650px;
    margin: 0 auto;
}

.legend-inline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.6rem;
}

.legend-list {
    margin: 0.7rem 0 0 0;
    padding-left: 1.4rem;
    color: #555;
}

.legend-list li {
    margin: 0.25rem 0;
}

.legend-key {
    font-weight: 700;
    color: var(--primary-color);
}

.marker-sample {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 0.2rem;
}

.chart-caption {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* --- Header link button --- */
.header-link-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-link-btn + .header-link-btn {
    margin-left: 0.5rem;
}

.header-link-btn.primary-action {
    border-color: white;
    background: white;
    color: var(--primary-color);
}

/* --- Visitor-oriented home page --- */
.visit-guide {
    display: grid;
    grid-template-columns: minmax(210px, 0.75fr) minmax(0, 2.25fr);
    gap: 2rem;
    margin: -4.1rem 0 1.5rem;
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow-md);
}

.visit-guide-heading h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.45rem;
}

.visit-guide-heading > p:last-child {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 1.7;
}

.visit-guide-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.visit-guide-steps a {
    display: grid;
    align-content: center;
    min-height: 105px;
    padding: 0.85rem 1rem;
    border: 1px solid #d4e2ec;
    border-radius: 10px;
    background: #f7fafc;
    color: var(--text-main);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.visit-guide-steps a:hover {
    transform: translateY(-2px);
    border-color: var(--primary-light);
    background: var(--primary-fade);
}

.visit-guide-steps span {
    color: var(--primary-light);
    font-family: Inter, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
}

.visit-guide-steps strong,
.visit-guide-steps small {
    display: block;
}

.visit-guide-steps strong {
    margin-top: 0.2rem;
    color: var(--primary-dark);
    font-size: 0.94rem;
}

.visit-guide-steps small {
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.headline-findings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--primary-dark);
}

.headline-findings article {
    display: grid;
    gap: 0.35rem;
    padding: 1.15rem 1.35rem;
    border-left: 1px solid rgba(255,255,255,0.16);
}

.headline-findings article:first-child {
    border-left: 0;
}

.headline-findings strong {
    color: white;
    font-family: Inter, 'Noto Sans JP', sans-serif;
    font-size: 1.35rem;
}

.headline-findings span {
    color: #d8e8f4;
    font-size: 0.78rem;
    line-height: 1.65;
}

.topic-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.topic-path {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #f8fbfd;
}

.topic-path.featured {
    border-color: #9fc8e5;
    background: var(--primary-fade);
}

.topic-label {
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.topic-path h3 {
    margin: 0.4rem 0 0.6rem;
    color: var(--primary-dark);
    font-size: 1.08rem;
}

.topic-path p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.75;
}

.topic-path a {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.site-footer {
    max-width: 1180px;
    margin: 3rem auto 0;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    font-size: 0.82rem;
    line-height: 1.75;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

/* --- Paper results page --- */
.page-hero {
    color: white;
    background:
        radial-gradient(circle at 85% 15%, rgba(67, 151, 211, 0.28), transparent 32%),
        linear-gradient(135deg, #062f54, #0b4f8a 68%, #166ca9);
    padding: 4.8rem 2rem 6rem;
}

.hero-inner {
    max-width: 1116px;
    margin: 0 auto;
}

.eyebrow,
.section-kicker {
    font-family: Inter, 'Noto Sans JP', sans-serif;
    margin: 0 0 0.7rem;
    color: #88bce3;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.page-hero h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(2.2rem, 5vw, 3.65rem);
    line-height: 1.25;
    letter-spacing: 0.015em;
}

.hero-lead {
    max-width: 760px;
    margin: 1.4rem 0 0;
    color: #dcebf6;
    font-size: 1.03rem;
    line-height: 1.9;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 2.4rem;
}

.hero-meta span {
    padding: 0 1.5rem;
    color: #c9ddea;
    border-left: 1px solid rgba(255,255,255,0.24);
    font-size: 0.82rem;
}

.hero-meta span:first-child {
    padding-left: 0;
    border-left: 0;
}

.hero-meta strong {
    margin-right: 0.3rem;
    color: white;
    font: 700 1.45rem Inter, sans-serif;
}

.results-layout {
    margin-top: -2.7rem;
    position: relative;
}

.summary-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 2rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.summary-metric {
    min-width: 0;
    padding: 1.55rem 1.6rem;
    border-left: 1px solid var(--border-color);
}

.summary-metric:first-child {
    border-left: 0;
}

.participant-result-selector {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 1.8rem;
    border-left: 4px solid var(--primary-color);
}

.participant-result-selector h2 {
    margin: 0.15rem 0 0.4rem;
    font-size: 1.25rem;
}

.participant-result-selector p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.participant-result-selector label {
    display: grid;
    flex: 0 0 220px;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.participant-result-selector select {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 2.2rem 0.65rem 0.8rem;
    color: var(--primary-dark);
    background: white;
    border: 1px solid #b9ccda;
    border-radius: 7px;
    font: 700 0.9rem 'Noto Sans JP', sans-serif;
}

.participant-result-detail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 2fr;
    align-items: center;
    gap: 0;
    margin-top: -1.2rem;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0 0 10px 10px;
}

.participant-result-detail > div {
    padding: 1rem 1.2rem;
    border-right: 1px solid var(--border-color);
}

.participant-result-detail span {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.participant-result-detail strong {
    display: block;
    margin-top: 0.15rem;
    color: var(--primary-color);
    font: 700 1.1rem Inter, sans-serif;
}

.participant-result-detail p {
    margin: 0;
    padding: 1rem 1.3rem;
    color: #506679;
    font-size: 0.78rem;
    line-height: 1.65;
}

.summary-metric.accent {
    background: var(--primary-fade);
}

.summary-metric .metric-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.summary-metric strong {
    display: block;
    margin: 0.15rem 0 0.2rem;
    color: var(--primary-dark);
    font: 700 2rem Inter, sans-serif;
}

.summary-metric strong small {
    font-size: 0.8rem;
}

.summary-metric > span:last-child {
    color: var(--text-muted);
    font-size: 0.76rem;
}

.paper-finding {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
    padding: 2.7rem 3rem;
    border-left: 4px solid var(--primary-color);
}

.section-kicker {
    color: var(--primary-light);
}

.paper-finding h2 {
    margin-bottom: 0.8rem;
}

.paper-finding p:last-child {
    max-width: 760px;
    margin: 0;
    color: #40576a;
}

.correlation-badge {
    min-width: 190px;
    padding: 1.5rem 1.8rem;
    text-align: center;
    background: var(--primary-pale);
    border: 1px solid #cbdfee;
    border-radius: 10px;
}

.correlation-badge span,
.correlation-badge small {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.correlation-badge strong {
    display: block;
    margin: 0.25rem 0;
    color: var(--primary-color);
    font: 700 1.85rem Inter, sans-serif;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    margin: 0;
}

.section-header > p {
    max-width: 520px;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.definition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.definition-card {
    position: relative;
    min-width: 0;
    padding: 1.5rem;
    background: var(--primary-pale);
    border: 1px solid var(--border-color);
    border-radius: 9px;
}

.definition-number {
    color: #9ab3c6;
    font: 700 0.7rem Inter, sans-serif;
    letter-spacing: 0.1em;
}

.definition-card h3 {
    margin: 0.35rem 0 0.8rem;
    color: var(--primary-dark);
    font-size: 1rem;
}

.definition-card p {
    margin: 0.8rem 0 0;
    color: #506679;
    font-size: 0.82rem;
    line-height: 1.75;
}

.formula {
    overflow-x: auto;
    padding: 0.7rem;
    color: var(--primary-color);
    background: white;
    border: 1px solid #d7e5f0;
    border-radius: 6px;
    font: 600 0.92rem Inter, sans-serif;
    white-space: nowrap;
}

.segmented-control {
    display: inline-flex;
    padding: 4px;
    margin-bottom: 1.5rem;
    background: #e8eef3;
    border-radius: 8px;
}

.segmented-control button {
    min-width: 96px;
    padding: 0.65rem 1rem;
    color: #52697b;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font: 700 0.85rem 'Noto Sans JP', sans-serif;
}

.segmented-control button[aria-selected="true"] {
    color: var(--primary-color);
    background: white;
    box-shadow: var(--shadow-sm);
}

.comparison-visual {
    margin-bottom: 1.5rem;
    padding: 1.3rem 1.4rem;
    background: var(--primary-pale);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.visual-legend {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.visual-legend span::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 0.4rem;
    border-radius: 2px;
}

.control-key::before { background: #8ba6ba; }
.correction-key::before { background: var(--primary-color); }
.visual-legend small { margin-left: auto; }

.visual-rows {
    display: grid;
    gap: 0.75rem;
}

.visual-row {
    display: grid;
    grid-template-columns: 82px 1fr;
    align-items: center;
    gap: 1rem;
}

.visual-row > strong {
    color: #3d5365;
    font-size: 0.78rem;
    text-align: right;
}

.visual-bars {
    display: grid;
    gap: 4px;
}

.data-bar {
    min-width: 3rem;
    height: 18px;
    border-radius: 3px;
    position: relative;
    transition: width 0.25s ease;
}

.data-bar.control { background: #8ba6ba; }
.data-bar.correction { background: var(--primary-color); }

.data-bar i {
    position: absolute;
    left: calc(100% + 0.45rem);
    top: 50%;
    transform: translateY(-50%);
    color: #3b5265;
    font: normal 600 0.7rem Inter, sans-serif;
}

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    white-space: nowrap;
}

thead {
    color: #456072;
    background: #edf3f7;
}

th, td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: right;
}

thead th {
    font-size: 0.73rem;
    font-weight: 700;
}

th:first-child, td:first-child {
    text-align: left;
}

tbody th {
    color: var(--primary-dark);
}

tbody tr:last-child th,
tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: #f7fafc;
}

.data-note {
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: 0.76rem;
}

.speed-finding {
    background: linear-gradient(135deg, #fff, #f5f9fc);
}

.speed-bars {
    display: grid;
    gap: 1rem;
    max-width: 840px;
}

.speed-bars > div {
    display: grid;
    grid-template-columns: 100px 1fr 60px;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
}

.speed-bars span {
    color: #3f5669;
    font-weight: 600;
}

.speed-bars strong {
    color: var(--primary-color);
    font: 700 0.84rem Inter, sans-serif;
}

.bar-track {
    height: 10px;
    overflow: hidden;
    background: #dfe8ef;
    border-radius: 999px;
}

.bar-track i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    border-radius: inherit;
}

.interpretation {
    max-width: 850px;
    margin: 1.5rem 0 0;
    padding: 1rem 1.2rem;
    color: #40586b;
    background: white;
    border-left: 3px solid var(--primary-light);
    font-size: 0.86rem;
}

.context-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 2rem;
}

.context-grid dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.context-grid dl div {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.context-grid dl div:nth-child(odd) {
    border-right: 1px solid var(--border-color);
}

.context-grid dl div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.context-grid dt {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.context-grid dd {
    margin: 0.25rem 0 0;
    color: var(--text-main);
    font-size: 0.84rem;
    font-weight: 600;
}

.research-note {
    padding: 1.4rem;
    background: #edf5fb;
    border: 1px solid #cfdfeb;
    border-radius: 8px;
}

.research-note strong {
    color: var(--primary-dark);
    font-size: 0.88rem;
}

.research-note p {
    margin: 0.6rem 0 0;
    color: #4c6375;
    font-size: 0.8rem;
}

.next-analysis {
    margin: 2rem 0;
    padding: 2.4rem 2.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: white;
    background: var(--primary-dark);
    border-radius: var(--radius);
}

.next-analysis h2 {
    margin: 0;
    font-size: 1.35rem;
}

.next-analysis p:not(.section-kicker) {
    margin: 0.55rem 0 0;
    color: #c9dce9;
    font-size: 0.83rem;
}

.next-links {
    display: flex;
    gap: 0.7rem;
    flex-shrink: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0.65rem 1.15rem;
    border-radius: 7px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

.button.primary {
    color: var(--primary-dark);
    background: white;
}

.button.secondary {
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* --- Standardized evaluation page --- */
.evaluation-hero {
    margin-bottom: 2rem;
}

.evaluation-layout {
    max-width: 1100px;
}

.empty-data-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    color: #55420a;
    background: #fff9e8;
    border: 1px solid #ecdca8;
    border-radius: 9px;
}

.notice-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: white;
    background: #a87900;
    border-radius: 50%;
    font: 700 0.9rem Inter, sans-serif;
}

.empty-data-notice strong {
    display: block;
    font-size: 0.85rem;
}

.empty-data-notice p {
    margin: 0.2rem 0 0;
    color: #735f24;
    font-size: 0.76rem;
}

.authenticated-data-notice {
    color: var(--primary-dark);
    background: #edf6fd;
    border-color: #c4ddec;
}

.authenticated-data-notice .notice-icon {
    background: var(--primary-color);
}

.authenticated-data-notice p {
    color: #45677e;
}

.authentication-card {
    margin-bottom: 2rem;
    border-top: 4px solid var(--primary-color);
}

.authentication-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr) auto;
    align-items: end;
    gap: 1rem;
}

.authentication-form label {
    display: grid;
    gap: 0.45rem;
}

.authentication-form label > span {
    color: #405668;
    font-size: 0.78rem;
    font-weight: 700;
}

.authentication-form label b {
    margin-left: 0.3rem;
    color: #a03838;
    font-size: 0.65rem;
}

.authentication-form input {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    color: var(--text-main);
    background: white;
    border: 1px solid #becdd9;
    border-radius: 7px;
    font: 500 0.85rem 'Noto Sans JP', sans-serif;
}

.auth-button {
    color: white;
    background: var(--primary-color);
    border: 0;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
}

.auth-button:disabled,
.save-response:disabled {
    cursor: wait;
    opacity: 0.58;
}

.authentication-message {
    min-height: 1.4em;
    margin: 0.8rem 0 0;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.authentication-message[data-type="error"] {
    color: #9a3636;
}

.authentication-message[data-type="success"] {
    color: #236746;
}

.authenticated-participant {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    color: white;
    background: var(--primary-dark);
    border-radius: 8px;
}

.authenticated-participant[hidden] {
    display: none;
}

.authenticated-participant > div {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
}

.authenticated-participant span,
.authenticated-participant small {
    color: #c8dce9;
    font-size: 0.68rem;
}

.authenticated-participant strong {
    font: 700 1rem Inter, 'Noto Sans JP', sans-serif;
}

.condition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.condition-grid article {
    padding: 1.4rem;
    background: var(--primary-pale);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.condition-grid article > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--primary-color);
    border-radius: 6px;
    font: 700 0.78rem Inter, sans-serif;
}

.condition-grid h3 {
    margin: 0.8rem 0 0.4rem;
    color: var(--primary-dark);
    font-size: 0.98rem;
}

.condition-grid p {
    margin: 0;
    color: #536a7c;
    font-size: 0.78rem;
    line-height: 1.7;
}

.protocol-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 1.2rem;
    margin-top: 1.2rem;
    padding: 0.85rem 1rem;
    color: #4d6476;
    background: white;
    border-left: 3px solid var(--primary-light);
    font-size: 0.75rem;
}

.protocol-note strong {
    color: var(--primary-dark);
}

.protocol-note span::before {
    content: '•';
    margin-right: 0.4rem;
    color: var(--primary-light);
}

.evaluation-form {
    margin: 0;
}

.study-context-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 0;
}

.study-context-grid > div {
    padding: 0.9rem 1rem;
    background: #f4f8fb;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.study-context-grid dt {
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 700;
}

.study-context-grid dd {
    margin: 0.3rem 0 0;
    color: var(--primary-dark);
    font-size: 0.84rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.questionnaire-instruction {
    margin: 0;
    padding: 1rem 1.1rem;
    color: #405c70;
    background: var(--primary-pale);
    border-left: 4px solid var(--primary-color);
    line-height: 1.9;
}

.response-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    color: #35556d;
    background: #edf6fd;
    border-radius: 8px;
    font-size: 0.72rem;
}

.response-progress strong { color: var(--primary-dark); }

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.metadata-grid label {
    display: grid;
    gap: 0.45rem;
}

.metadata-grid label > span {
    color: #405668;
    font-size: 0.78rem;
    font-weight: 700;
}

.metadata-grid label b {
    margin-left: 0.3rem;
    color: #a03838;
    font-size: 0.65rem;
}

.metadata-grid input,
.metadata-grid select {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    color: var(--text-main);
    background: white;
    border: 1px solid #becdd9;
    border-radius: 7px;
    font: 500 0.85rem 'Noto Sans JP', sans-serif;
}

.metadata-grid input[readonly] {
    color: #52697b;
    background: #eef3f6;
}

.metadata-grid label > small {
    color: var(--text-muted);
    font-size: 0.64rem;
}

.method-choice {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.2rem;
    background: var(--primary-pale);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.method-choice legend {
    padding: 0 0.35rem;
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.method-choice label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #405668;
    font-size: 0.78rem;
    cursor: pointer;
}

.method-choice input,
.pairwise-item input {
    accent-color: var(--primary-color);
}

.tlx-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.scale-slider {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.65rem 0.8rem;
    padding: 1.2rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.scale-slider > span {
    min-width: 0;
}

.scale-slider strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.86rem;
}

.scale-slider small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.69rem;
    line-height: 1.5;
}

.scale-slider input[type="range"] {
    grid-column: 1 / 2;
    width: 100%;
    margin: 0;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.scale-slider output {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    min-width: 48px;
    padding: 0.45rem 0.5rem;
    color: var(--primary-color);
    background: white;
    border: 1px solid #c9dce9;
    border-radius: 6px;
    text-align: center;
    font: 700 1rem Inter, sans-serif;
}

.scale-slider > i {
    grid-column: 1;
    display: flex;
    justify-content: space-between;
    color: #7c8d9a;
    font-style: normal;
    font-size: 0.62rem;
}

.tlx-confirm {
    grid-column: 1;
    width: fit-content;
    padding: 0.48rem 0.75rem;
    color: var(--primary-color);
    background: white;
    border: 1px solid #9ec4dd;
    border-radius: 6px;
    cursor: pointer;
    font: 700 0.7rem 'Noto Sans JP', sans-serif;
}

.tlx-confirm:hover { background: var(--primary-fade); }

.scale-slider > em {
    grid-column: 2;
    align-self: center;
    color: #9a4c36;
    font-style: normal;
    font-size: 0.66rem;
    font-weight: 700;
}

.scale-slider > em[data-confirmed="true"] { color: #18714c; }

.operation-questions {
    display: grid;
    gap: 1rem;
}

.operation-item {
    margin: 0;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.operation-item legend {
    padding: 0 0.25rem;
    color: #30495d;
    font-size: 0.82rem;
    font-weight: 700;
}

.operation-item legend span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 0.55rem;
    color: var(--primary-color);
    background: var(--primary-fade);
    border-radius: 50%;
    font: 700 0.68rem Inter, sans-serif;
}

.operation-options {
    display: grid;
    grid-template-columns: repeat(7, minmax(72px, 1fr)) minmax(125px, 1.35fr);
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.operation-options label { cursor: pointer; }
.operation-options input { position: absolute; opacity: 0; pointer-events: none; }
.operation-options label > span {
    display: grid;
    min-height: 72px;
    place-items: center;
    padding: 0.45rem;
    color: #526b7e;
    background: white;
    border: 1px solid #c8d5df;
    border-radius: 7px;
    text-align: center;
}
.operation-options b { color: var(--primary-color); font: 700 0.85rem Inter, sans-serif; }
.operation-options small { font-size: 0.56rem; line-height: 1.35; }
.operation-options input:checked + span { color: white; background: var(--primary-color); border-color: var(--primary-color); }
.operation-options input:checked + span b { color: white; }
.operation-options input:focus-visible + span { outline: 3px solid #69aee8; outline-offset: 2px; }

.comment-field { display: grid; gap: 0.65rem; }
.comment-field > span { color: #405c70; font-size: 0.8rem; line-height: 1.8; }
.comment-field textarea,
.conditional-details textarea,
.conditional-details input {
    width: 100%;
    padding: 0.75rem;
    color: var(--text-main);
    background: white;
    border: 1px solid #bfcfda;
    border-radius: 7px;
    font: 500 0.82rem 'Noto Sans JP', sans-serif;
}
.comment-field > small { justify-self: end; color: var(--text-muted); font-size: 0.68rem; }

.completion-panel {
    margin-bottom: 3rem;
    padding: 2rem;
    color: #174d37;
    background: #edf8f2;
    border: 1px solid #b7dec9;
    border-top: 4px solid #16845b;
}
.completion-panel h2 { margin: 0; color: #12553a; }
.completion-panel > p:last-child { margin-bottom: 0; line-height: 1.8; }

.profile-question-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.profile-question { margin: 0; padding: 1.2rem; border: 1px solid var(--border-color); border-radius: 8px; background: #f8fafc; }
.profile-question legend { padding: 0 0.3rem; color: var(--primary-dark); font-weight: 700; }
.profile-question > label { display: inline-flex; gap: 0.4rem; margin-right: 1rem; color: #405c70; font-size: 0.8rem; }
.profile-question input[type="radio"] { accent-color: var(--primary-color); }
.conditional-details { display: grid; gap: 0.8rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-color); }
.conditional-details[hidden] { display: none; }
.conditional-details label { display: grid; gap: 0.4rem; color: #405c70; font-size: 0.76rem; font-weight: 700; }
.conditional-details small { color: var(--text-muted); font-size: 0.62rem; font-weight: 400; }

.weighting-panel {
    margin-top: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.weighting-panel.required-weighting {
    border-color: #8bb7d6;
}

.weighting-panel summary {
    padding: 0.9rem 1.1rem;
    color: var(--primary-dark);
    background: var(--primary-pale);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
}

.weighting-panel > p {
    margin: 1rem 1.1rem 0;
    color: var(--text-muted);
    font-size: 0.73rem;
}

.pairwise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    padding: 1rem;
}

.pairwise-item {
    min-width: 0;
    margin: 0;
    padding: 0.75rem;
    background: #fafcfd;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.pairwise-item legend {
    padding: 0 0.2rem;
    color: #53697a;
    font-size: 0.66rem;
    font-weight: 600;
}

.pairwise-item label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
    color: #314a5e;
    font-size: 0.72rem;
    cursor: pointer;
}

.live-score {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.3rem;
    padding: 1rem 1.2rem;
    color: white;
    background: var(--primary-dark);
    border-radius: 8px;
}

.live-score span {
    font-size: 0.77rem;
    font-weight: 700;
}

.live-score strong {
    font: 700 1.75rem Inter, sans-serif;
}

.live-score small {
    margin-left: auto;
    color: #c7dbe9;
    font-size: 0.7rem;
}

.sus-scale-legend {
    width: min(450px, 50%);
    margin: 0 0 0.7rem auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    color: var(--text-muted);
    font: 600 0.68rem Inter, sans-serif;
    text-align: center;
}

.sus-scale-legend small {
    color: #7e8d99;
    font: 400 0.56rem 'Noto Sans JP', sans-serif;
    line-height: 1.35;
}

.sus-questions {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.sus-item {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 50%);
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0.85rem 1rem;
    background: white;
    border: 0;
    border-bottom: 1px solid var(--border-color);
}

.sus-item:nth-child(even) {
    background: #f8fafc;
}

.sus-item:last-child {
    border-bottom: 0;
}

.sus-item legend {
    display: contents;
    color: #30495d;
    font-size: 0.78rem;
}

.sus-item legend > span {
    display: inline-grid;
    place-items: center;
    width: 23px;
    height: 23px;
    margin-right: 0.6rem;
    color: var(--primary-color);
    background: var(--primary-fade);
    border-radius: 50%;
    font: 700 0.66rem Inter, sans-serif;
}

.sus-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.sus-options label {
    display: grid;
    place-items: center;
    cursor: pointer;
}

.sus-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sus-options span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #5b7182;
    background: white;
    border: 1px solid #c8d5df;
    border-radius: 50%;
    font: 600 0.72rem Inter, sans-serif;
}

.sus-options input:checked + span {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.sus-options input:focus-visible + span {
    outline: 3px solid #69aee8;
    outline-offset: 2px;
}

.translation-note {
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.translation-note a,
.source-links a {
    color: var(--primary-color);
    font-weight: 700;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: -0.5rem 0 2rem;
    padding: 1rem 1.2rem;
    background: var(--primary-dark);
    border-radius: 9px;
}

.form-actions .save-response {
    color: var(--primary-dark);
    background: white;
    border: 0;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
}

.form-actions .reset-response {
    color: white;
    background: transparent;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
}

.form-actions p {
    margin: 0 0 0 auto;
    color: #d3e2ec;
    font-size: 0.72rem;
}

.comparison-empty {
    padding: 2.5rem 1.5rem;
    color: var(--text-muted);
    background: var(--primary-pale);
    border: 1px dashed #b8cbd9;
    border-radius: 8px;
    text-align: center;
    font-size: 0.82rem;
}

.comparison-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.comparison-legend span::before {
    content: '';
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-right: 0.4rem;
    border-radius: 2px;
}

.tlx-key::before { background: #7f9db4; }
.sus-key::before { background: var(--primary-color); }

.condition-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.condition-result {
    padding: 1rem;
    background: var(--primary-pale);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.condition-result > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.condition-result > div strong {
    color: var(--primary-dark);
    font-size: 0.82rem;
}

.condition-result > div span {
    color: var(--text-muted);
    font-size: 0.68rem;
}

.condition-result label {
    display: grid;
    grid-template-columns: 70px 1fr 35px;
    align-items: center;
    gap: 0.5rem;
    height: 26px;
    margin-top: 0.35rem;
    color: #4c6375;
    font-size: 0.68rem;
}

.condition-result label::after {
    content: '';
    grid-column: 2;
    grid-row: 1;
    height: 8px;
    background: #dce6ed;
    border-radius: 999px;
}

.condition-result i {
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    height: 8px;
    border-radius: 999px;
}

.condition-result .tlx-bar { background: #7f9db4; }
.condition-result .sus-bar { background: var(--primary-color); }

.condition-result b {
    font: 700 0.7rem Inter, sans-serif;
}

.evaluation-table-wrap {
    margin-top: 1rem;
}

.aggregate-privacy-note {
    margin: 1rem 0 0;
    padding: 0.75rem 0.9rem;
    color: #506879;
    background: var(--primary-pale);
    border-left: 3px solid var(--primary-light);
    font-size: 0.68rem;
}

.subsection-title {
    margin: 1.6rem 0 0.5rem;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.row-delete,
.text-danger-button {
    color: #a23e3e;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: 600 0.7rem 'Noto Sans JP', sans-serif;
}

.row-delete:hover,
.text-danger-button:hover {
    text-decoration: underline;
}

.data-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.download-button {
    color: white;
    background: var(--primary-color);
    border: 0;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.methodology-grid article {
    padding: 1.2rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.methodology-grid h3 {
    margin: 0 0 0.45rem;
    color: var(--primary-dark);
    font-size: 0.85rem;
}

.methodology-grid p {
    margin: 0;
    color: #53697b;
    font-size: 0.74rem;
    line-height: 1.7;
}

.source-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    font-size: 0.7rem;
}

/* --- Two-way ANOVA reading guide --- */
.anova-primer {
    margin-bottom: 2rem;
    border-top: 4px solid var(--primary-color);
}

.anova-model-overview {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) auto minmax(150px, 0.8fr) auto minmax(260px, 1.4fr);
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--primary-pale);
    border: 1px solid var(--border-color);
    border-radius: 9px;
}

.anova-factor-block,
.anova-response-block {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0.85rem;
    text-align: center;
    background: white;
    border: 1px solid #d5e1ea;
    border-radius: 8px;
}

.anova-response-block {
    background: #e4f1fb;
    border-color: #b8d4e8;
}

.anova-factor-block span,
.anova-response-block span {
    color: var(--primary-light);
    font: 700 0.62rem Inter, sans-serif;
    letter-spacing: 0.08em;
}

.anova-factor-block strong,
.anova-response-block strong {
    margin: 0.25rem 0;
    color: var(--primary-dark);
    font-size: 0.88rem;
}

.anova-factor-block small,
.anova-response-block small {
    color: var(--text-muted);
    font-size: 0.62rem;
}

.anova-model-symbol {
    color: #6d879a;
    font: 700 1.25rem Inter, sans-serif;
}

.anova-model-symbol.arrow {
    color: var(--primary-light);
}

.anova-effect-guide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.anova-effect-guide article {
    padding: 1.1rem;
    background: #f9fbfc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.anova-effect-guide article > span {
    color: #7895aa;
    font: 700 0.6rem Inter, sans-serif;
    letter-spacing: 0.08em;
}

.anova-effect-guide h3 {
    margin: 0.3rem 0 0.45rem;
    color: var(--primary-dark);
    font-size: 0.84rem;
}

.anova-effect-guide p {
    margin: 0;
    color: #465e70;
    font-size: 0.72rem;
}

.anova-effect-guide small {
    display: block;
    margin-top: 0.7rem;
    padding-top: 0.65rem;
    color: #356b92;
    border-top: 1px solid #dfe8ee;
    font-size: 0.63rem;
    font-weight: 600;
}

.anova-reading-guide {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
    gap: 1rem;
    margin-top: 1rem;
}

.anova-reading-guide > div,
.anova-reading-guide aside {
    padding: 1.1rem 1.2rem;
    border-radius: 8px;
}

.anova-reading-guide > div {
    background: #f7fafc;
    border: 1px solid var(--border-color);
}

.anova-reading-guide h3 {
    margin: 0 0 0.55rem;
    color: var(--primary-dark);
    font-size: 0.86rem;
}

.anova-reading-guide ol {
    margin: 0;
    padding-left: 1.25rem;
    color: #465e70;
    font-size: 0.7rem;
}

.anova-reading-guide li + li {
    margin-top: 0.45rem;
}

.anova-reading-guide aside {
    color: #36576e;
    background: #e8f3fa;
    border-left: 4px solid var(--primary-light);
}

.anova-reading-guide aside strong {
    color: var(--primary-dark);
    font-size: 0.75rem;
}

.anova-reading-guide aside p {
    margin: 0.4rem 0 0;
    font-size: 0.67rem;
}

.anova-reading-guide i {
    font-family: Georgia, serif;
}

/* --- Phase 3 pitch-sequence analysis --- */
.phase3-hero {
    margin-bottom: 0;
}

.phase3-layout {
    margin-top: -1.8rem;
    position: relative;
}

.phase3-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 1.6rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.phase3-summary article {
    padding: 1.25rem 1.4rem;
    border-left: 1px solid var(--border-color);
}

.phase3-summary article:first-child {
    border-left: 0;
}

.phase3-summary span {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.phase3-summary strong {
    margin-right: 0.2rem;
    color: var(--primary-dark);
    font: 700 1.8rem Inter, sans-serif;
}

.phase3-summary small {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.phase3-conclusion {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.4rem;
    border-left: 4px solid #6f8799;
}

.conclusion-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: white;
    background: #6f8799;
    border-radius: 50%;
    font: 700 1.5rem Inter, sans-serif;
}

.phase3-conclusion h2 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}

.phase3-conclusion p:last-child {
    max-width: 880px;
    margin: 0;
    color: #4c6273;
    font-size: 0.84rem;
}

.phase3-conclusion i,
.phase3-panel i,
.all-outcome-cards i {
    font-family: Georgia, serif;
    font-weight: 400;
}

.phase3-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 1.5rem;
    padding: 4px;
    background: #e8eef3;
    border-radius: 8px;
}

.phase3-tabs button {
    padding: 0.68rem 1rem;
    color: #52697b;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font: 700 0.78rem 'Noto Sans JP', sans-serif;
}

.phase3-tabs button[aria-selected="true"] {
    color: var(--primary-color);
    background: white;
    box-shadow: var(--shadow-sm);
}

.phase3-panel {
    border: 1px solid var(--border-color);
    border-radius: 9px;
    overflow: hidden;
}

.phase3-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--primary-pale);
    border-bottom: 1px solid var(--border-color);
}

.phase3-result-header > div:first-child > span {
    color: var(--primary-light);
    font: 700 0.65rem Inter, sans-serif;
    letter-spacing: 0.12em;
}

.phase3-result-header h3 {
    margin: 0.25rem 0 0.35rem;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.phase3-result-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.significance-badge {
    min-width: 150px;
    padding: 0.8rem 1rem;
    text-align: center;
    background: white;
    border: 1px solid #ccd8e1;
    border-radius: 8px;
}

.significance-badge span,
.significance-badge small {
    display: block;
    color: var(--text-muted);
    font-size: 0.62rem;
}

.significance-badge strong {
    display: block;
    margin: 0.15rem 0;
    color: #546b7c;
    font-size: 1.05rem;
}

.reaction-bars {
    padding: 1.5rem;
}

.reaction-legend {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.7rem 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.67rem;
}

.reaction-legend span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.reaction-legend i {
    width: 9px;
    height: 9px;
    border-radius: 2px;
}

.reaction-bar-row {
    display: grid;
    grid-template-columns: 115px 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 0.7rem;
}

.reaction-bar-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 0.4rem;
}

.reaction-bar-row strong {
    color: #3b5265;
    font-size: 0.73rem;
}

.reaction-bar-row small {
    color: var(--text-muted);
    font-size: 0.62rem;
}

.stacked-reaction-bar {
    height: 28px;
    display: flex;
    overflow: hidden;
    background: #e7edf2;
    border-radius: 5px;
}

.stacked-reaction-bar span {
    min-width: 1px;
    display: grid;
    place-items: center;
    transition: width 0.2s ease;
}

.stacked-reaction-bar b {
    color: white;
    font: 600 0.62rem Inter, sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.phase3-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: #fbfcfd;
}

.phase3-stat-grid article {
    padding: 1rem 1.2rem;
    border-left: 1px solid var(--border-color);
}

.phase3-stat-grid article:first-child {
    border-left: 0;
}

.phase3-stat-grid span,
.phase3-stat-grid small {
    display: block;
    color: var(--text-muted);
    font-size: 0.62rem;
}

.phase3-stat-grid strong {
    display: block;
    margin: 0.2rem 0;
    color: var(--primary-dark);
    font: 700 1.1rem Inter, sans-serif;
}

.phase3-table-wrap {
    margin: 1.3rem;
}

.pairwise-results {
    padding: 1.3rem;
    background: var(--primary-pale);
    border-top: 1px solid var(--border-color);
}

.pairwise-results > div:first-child {
    margin-bottom: 0.8rem;
}

.pairwise-results h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 0.85rem;
}

.pairwise-results p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.68rem;
}

.sequence-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.15rem;
}

.sequence-tabs button {
    min-width: 92px;
    padding: 0.65rem 1rem;
    color: #52697b;
    background: #f1f5f8;
    border: 1px solid #d7e1e8;
    border-radius: 7px;
    cursor: pointer;
    font: 700 0.75rem 'Noto Sans JP', sans-serif;
}

.sequence-tabs button[aria-selected="true"] {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 3px 8px rgba(11, 79, 138, 0.2);
}

.sequence-summary {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--primary-pale);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.sequence-summary article {
    padding: 0.85rem 1rem;
    border-left: 1px solid var(--border-color);
}

.sequence-summary article:first-child {
    border-left: 0;
}

.sequence-summary span,
.sequence-summary small {
    color: var(--text-muted);
    font-size: 0.62rem;
}

.sequence-summary span {
    display: block;
}

.sequence-summary strong {
    margin-right: 0.2rem;
    color: var(--primary-dark);
    font: 700 1.25rem Inter, sans-serif;
}

.sequence-guide {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
    color: var(--text-muted);
    font-size: 0.65rem;
}

.sequence-guide p {
    margin: 0;
}

.sequence-timeline {
    display: flex;
    gap: 0.85rem;
    padding: 1rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    background: #f2f6f9;
    border: 1px solid var(--border-color);
    border-radius: 9px;
}

.sequence-pitch {
    position: relative;
    min-width: 226px;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0.75rem;
    padding: 1rem;
    scroll-snap-align: start;
    background: white;
    border: 1px solid #d8e2e9;
    border-top: 4px solid var(--pitch-tone);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.sequence-pitch:not(:last-child)::after {
    content: '›';
    position: absolute;
    right: -0.63rem;
    top: 50%;
    z-index: 1;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    color: #7490a4;
    background: #f2f6f9;
    border-radius: 50%;
    font: 700 1rem Inter, sans-serif;
    transform: translateY(-50%);
}

.sequence-pitch-number {
    text-align: center;
}

.sequence-pitch-number span,
.sequence-pitch-number small {
    display: block;
}

.sequence-pitch-number span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--pitch-tone);
    border-radius: 50%;
    font: 700 0.72rem Inter, sans-serif;
}

.sequence-pitch-number small {
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.58rem;
}

.sequence-pitch-body > strong {
    color: var(--primary-dark);
    font-size: 0.86rem;
}

.sequence-course {
    margin: 0.12rem 0 0.7rem;
    color: #356b92;
    font-size: 0.72rem;
    font-weight: 700;
}

.sequence-pitch dl {
    margin: 0;
}

.sequence-pitch dl div {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.24rem 0;
    border-top: 1px solid #edf1f4;
    font-size: 0.61rem;
}

.sequence-pitch dt {
    color: var(--text-muted);
}

.sequence-pitch dd {
    margin: 0;
    color: #3f5566;
    text-align: right;
    font-weight: 600;
}

.sequence-change-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    margin-top: 0.55rem;
}

.sequence-change,
.sequence-start,
.sequence-maintained {
    display: inline-block;
    padding: 0.18rem 0.38rem;
    border-radius: 3px;
    font-size: 0.56rem;
    font-weight: 700;
}

.pitch-change {
    color: #064a83;
    background: #dbeeff;
}

.course-change {
    color: #245f7f;
    background: #e0f0f5;
}

.sequence-start,
.sequence-maintained {
    color: #667986;
    background: #edf1f4;
}

.sequence-guide .sequence-change {
    margin-right: 0.25rem;
}

.sequence-table-wrap {
    margin-top: 1rem;
}

.sequence-table-wrap table {
    min-width: 900px;
}

.pitch-type-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 0.4rem;
    border-radius: 50%;
}

.sequence-table-wrap .sequence-change-list {
    margin-top: 0;
}

.missing-value {
    color: var(--text-muted);
}

.all-outcome-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.all-outcome-cards article {
    padding: 1.2rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.all-outcome-cards article > span {
    color: #89a3b7;
    font: 700 0.65rem Inter, sans-serif;
}

.all-outcome-cards h3 {
    margin: 0.35rem 0 0.65rem;
    color: var(--primary-dark);
    font-size: 0.84rem;
}

.all-outcome-cards article > strong {
    color: #536a7c;
    font-size: 1.1rem;
}

.all-outcome-cards dl {
    margin: 0.8rem 0 0;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-color);
}

.all-outcome-cards dl div {
    display: flex;
    justify-content: space-between;
    margin-top: 0.25rem;
    font-size: 0.65rem;
}

.all-outcome-cards dt { color: var(--text-muted); }
.all-outcome-cards dd { margin: 0; color: #41586a; font-weight: 700; }

.phase3-method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.phase3-method-grid article {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0 0.7rem;
    padding: 1.1rem;
    background: var(--primary-pale);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.phase3-method-grid article > span {
    grid-row: 1 / 3;
    color: #8da8bb;
    font: 700 0.65rem Inter, sans-serif;
}

.phase3-method-grid h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 0.8rem;
}

.phase3-method-grid p {
    margin: 0.35rem 0 0;
    color: #52697b;
    font-size: 0.7rem;
    line-height: 1.7;
}

.analysis-provenance {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.7rem;
    margin-top: 1rem;
    padding-top: 1rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    font-size: 0.65rem;
}

.analysis-provenance code {
    color: var(--primary-dark);
    background: #eaf1f6;
    padding: 0.12rem 0.3rem;
    border-radius: 3px;
}

.data-load-error {
    margin: 0;
    padding: 2rem;
    color: #9a3636;
    text-align: center;
}

/* --- Embedded manuscript viewer --- */
.paper-page {
    background: #e9eef3;
}

.paper-viewer-layout {
    max-width: 1380px;
    margin: 0 auto;
    padding: 2.2rem 2rem 0;
}

.paper-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem;
    margin-bottom: 1.4rem;
}

.paper-heading h1 {
    max-width: 900px;
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.45;
    letter-spacing: 0.01em;
}

.paper-authors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    margin: 0.8rem 0 0;
    color: #425a6c;
    font-size: 0.82rem;
    font-weight: 600;
}

.paper-authors span {
    color: var(--text-muted);
    font-weight: 400;
}

.paper-metadata {
    min-width: 285px;
    margin: 0;
    padding: 0.8rem 1rem;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0;
    background: rgba(255,255,255,0.72);
    border: 1px solid #d5dfe7;
    border-radius: 8px;
}

.paper-metadata div {
    padding: 0 0.8rem;
    border-left: 1px solid #d6e0e8;
}

.paper-metadata div:first-child {
    padding-left: 0;
    border-left: 0;
}

.paper-metadata div:last-child {
    padding-right: 0;
}

.paper-metadata dt {
    color: #788995;
    font-size: 0.6rem;
    font-weight: 700;
}

.paper-metadata dd {
    margin: 0.18rem 0 0;
    color: #314a5e;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-right: 0.35rem;
    background: #cf8a18;
    border-radius: 50%;
}

.status-dot.published {
    background: #23845b;
    box-shadow: 0 0 0 3px rgba(35, 132, 91, 0.12);
}

.paper-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
    padding: 0.8rem 1rem;
    color: #5c4b18;
    background: #fff9e9;
    border: 1px solid #e8d8a7;
    border-radius: 8px;
}

.paper-notice strong {
    flex: 0 0 auto;
    font-size: 0.75rem;
}

.paper-notice p {
    margin: 0;
    padding-left: 1rem;
    color: #78662e;
    border-left: 1px solid #dfcf9f;
    font-size: 0.68rem;
    line-height: 1.65;
}

.paper-viewer-shell {
    position: relative;
    height: max(760px, calc(100vh - 125px));
    overflow: hidden;
    background: #525b64;
    border: 1px solid #bcc9d3;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(17, 41, 60, 0.13);
}

.paper-viewer-guard {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    left: 0;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    color: #455c6e;
    background: #f7f9fb;
    border-bottom: 1px solid #cbd6de;
    box-shadow: 0 2px 5px rgba(15, 37, 54, 0.08);
    pointer-events: auto;
}

.paper-viewer-guard span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.paper-viewer-guard i {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.paper-viewer-guard small {
    color: #7a8b97;
    font-size: 0.62rem;
}

.paper-frame {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #525b64;
}

.paper-fallback {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.paper-version-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    background: white;
    border: 1px solid #d5dfe7;
    border-radius: 8px;
}

.paper-version-note strong {
    color: var(--primary-dark);
    font-size: 0.76rem;
}

.paper-version-note p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.67rem;
}

.paper-version-note a {
    flex: 0 0 auto;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
}

.paper-version-links {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1.2rem;
}

@media (max-width: 1180px) {
    .site-nav {
        padding-inline: 1.5rem;
    }

    .nav-links a {
        padding-inline: 0.72rem;
        font-size: 0.8rem;
    }

    .paper-heading {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .paper-metadata {
        width: fit-content;
    }
}

.header-link-btn:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* --- Responsive layout --- */
@media (max-width: 900px) {
    .site-nav {
        padding: 0 1.25rem;
    }

    .summary-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .summary-metric:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--border-color);
    }

    .summary-metric:nth-child(4) {
        border-top: 1px solid var(--border-color);
    }

    .participant-result-detail {
        grid-template-columns: repeat(3, 1fr);
    }

    .participant-result-detail p {
        grid-column: 1 / -1;
        border-top: 1px solid var(--border-color);
    }

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

    .tlx-grid,
    .metadata-grid {
        grid-template-columns: 1fr;
    }

    .study-context-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .operation-options { grid-template-columns: repeat(4, minmax(100px, 1fr)); }
    .profile-question-grid { grid-template-columns: 1fr; }

    .authentication-form {
        grid-template-columns: 1fr 1fr;
    }

    .authentication-form .auth-button {
        grid-column: 1 / -1;
    }

    .pairwise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .anova-reading-guide {
        grid-template-columns: 1fr;
    }

    .paper-viewer-layout {
        padding-inline: 1rem;
    }

    .paper-viewer-shell {
        height: 78vh;
        min-height: 620px;
    }

    .phase3-stat-grid,
    .all-outcome-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .sequence-summary {
        grid-template-columns: repeat(3, 1fr);
    }

    .sequence-summary article:nth-child(4) {
        border-left: 0;
    }

    .sequence-summary article:nth-child(n+4) {
        border-top: 1px solid var(--border-color);
    }

    .phase3-stat-grid article:nth-child(3),
    .all-outcome-cards article:nth-child(n+3) {
        border-top: 1px solid var(--border-color);
    }

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

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

    .charts-wrapper {
        grid-template-columns: 1fr;
    }

    .main-header h1 {
        font-size: 1.8rem;
    }

    .card {
        padding: 1.8rem;
    }
}

@media (max-width: 560px) {
    .site-nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        padding: 0.8rem 1rem 0;
    }

    .nav-links {
        width: 100%;
        margin-top: 0.6rem;
        overflow-x: auto;
    }

    .nav-links a {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 0 0.7rem;
        font-size: 0.76rem;
    }

    .page-hero {
        padding: 3.2rem 1.1rem 5rem;
    }

    .hero-meta {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 0.8rem;
    }

    .hero-meta span,
    .hero-meta span:first-child {
        padding-left: 0.8rem;
        border-left: 1px solid rgba(255,255,255,0.24);
    }

    .summary-strip {
        grid-template-columns: 1fr 1fr;
    }

    .summary-metric {
        padding: 1.1rem;
    }

    .summary-metric strong {
        font-size: 1.55rem;
    }

    .participant-result-selector {
        align-items: stretch;
        flex-direction: column;
        gap: 1.2rem;
    }

    .participant-result-selector label {
        flex-basis: auto;
    }

    .participant-result-detail {
        grid-template-columns: 1fr;
        margin-top: -1rem;
    }

    .participant-result-detail > div {
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .participant-result-detail p {
        grid-column: auto;
        border-top: 0;
    }

    .paper-finding {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.6rem;
    }

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

    .protocol-note {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .sus-scale-legend {
        width: 100%;
    }

    .sus-item {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .authentication-form {
        grid-template-columns: 1fr;
    }

    .authentication-form .auth-button {
        grid-column: auto;
    }

    .authenticated-participant {
        align-items: stretch;
        flex-direction: column;
    }

    .form-actions p {
        margin-left: 0;
    }

    .data-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .paper-viewer-layout {
        padding: 1.4rem 0.65rem 0;
    }

    .paper-metadata {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }

    .paper-notice {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .paper-notice p {
        padding: 0;
        border-left: 0;
    }

    .paper-viewer-shell {
        height: 72vh;
        min-height: 520px;
        border-radius: 7px;
    }

    .paper-viewer-guard {
        height: 46px;
    }

    .paper-viewer-guard small {
        display: none;
    }

    .paper-version-note {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }

    .paper-version-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
    }

    .phase3-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .phase3-summary article:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--border-color);
    }

    .phase3-summary article:nth-child(4) {
        border-top: 1px solid var(--border-color);
    }

    .phase3-conclusion {
        grid-template-columns: 1fr;
    }

    .phase3-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

    .anova-model-overview,
    .anova-effect-guide {
        grid-template-columns: 1fr;
    }

    .anova-model-symbol {
        text-align: center;
    }

    .anova-model-symbol.arrow {
        transform: rotate(90deg);
    }

    .sequence-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .sequence-tabs button {
        min-width: 0;
        padding-inline: 0.4rem;
    }

    .sequence-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .sequence-summary article:nth-child(3),
    .sequence-summary article:nth-child(5) {
        border-left: 0;
    }

    .sequence-summary article:nth-child(4) {
        border-left: 1px solid var(--border-color);
    }

    .sequence-summary article:nth-child(n+3) {
        border-top: 1px solid var(--border-color);
    }

    .sequence-summary article:last-child {
        grid-column: 1 / -1;
    }

    .sequence-guide {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .phase3-result-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .significance-badge {
        width: 100%;
    }

    .reaction-bar-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .phase3-stat-grid,
    .all-outcome-cards,
    .phase3-method-grid {
        grid-template-columns: 1fr;
    }

    .phase3-stat-grid article,
    .phase3-stat-grid article:first-child {
        border-top: 1px solid var(--border-color);
        border-left: 0;
    }

    .phase3-stat-grid article:first-child {
        border-top: 0;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.6rem;
    }

    .segmented-control {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }

    .segmented-control button {
        min-width: 0;
        padding: 0.6rem 0.3rem;
    }

    .visual-row {
        grid-template-columns: 52px 1fr;
    }

    .visual-legend {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }

    .visual-legend small {
        margin-left: 0;
    }

    .context-grid dl {
        grid-template-columns: 1fr;
    }

    .context-grid dl div,
    .context-grid dl div:nth-child(odd),
    .context-grid dl div:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .context-grid dl div:last-child {
        border-bottom: 0;
    }

    .next-analysis {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.7rem;
    }

    .next-links {
        width: 100%;
        flex-direction: column;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .main-header {
        padding: 3rem 1.2rem;
    }

    .sz-wrapper {
        gap: 0.8rem;
    }

    .sz-grid {
        grid-template-columns: repeat(5, 34px);
        grid-template-rows: repeat(5, 34px);
    }

    .sz-strike-zone-border {
        top: calc(34px + 4px);
        left: calc(34px + 4px);
        width: calc(34px * 3 + 4px * 2);
        height: calc(34px * 3 + 4px * 2);
    }

}

/* ===== 研究結果のまとめ ===== */
.findings-layout {
    display: grid;
    gap: 1.5rem;
}

.findings-layout > * {
    margin: 0;
}

.finding-thesis {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.75fr);
    gap: 1.5rem;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    border: 1px solid #b8d5e8;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7fbfe 0%, #e5f2fa 100%);
    box-shadow: var(--shadow-sm);
}

.finding-thesis h2 {
    max-width: 780px;
    margin: 0.3rem 0 0.9rem;
    color: var(--primary-dark);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.45;
}

.finding-thesis > div > p:last-child {
    margin: 0;
    font-size: 1rem;
    line-height: 1.95;
}

.finding-thesis aside {
    align-self: stretch;
    padding: 1.35rem;
    border-left: 5px solid var(--primary-color);
    border-radius: 10px;
    background: #fff;
}

.finding-thesis aside strong {
    color: var(--primary-color);
}

.finding-thesis aside p {
    margin: 0.6rem 0 0;
    line-height: 1.8;
}

.finding-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
}

.finding-card {
    display: flex;
    min-height: 285px;
    padding: 1.35rem;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
    border-radius: 12px;
    background: #fff;
}

.finding-card.observed {
    border-top-color: #347db2;
}

.finding-card.cautious {
    border-top-color: #d28b17;
}

.finding-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.finding-card-head span {
    color: var(--primary-color);
    font-family: Inter, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.finding-card-head small {
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: var(--primary-fade);
    color: var(--primary-color);
    font-weight: 700;
}

.finding-card.cautious .finding-card-head small {
    background: #fff4dc;
    color: #80520a;
}

.finding-card h3 {
    margin: 1rem 0 0.6rem;
    color: var(--primary-dark);
    font-size: 1.08rem;
    line-height: 1.55;
}

.finding-card p {
    margin: 0;
    line-height: 1.75;
}

.finding-card > strong {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--primary-color);
    font-size: 1.02rem;
}

.evidence-map table {
    width: 100%;
    border-collapse: collapse;
}

.evidence-map th,
.evidence-map td {
    padding: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: middle;
}

.evidence-map thead th {
    background: #edf5fa;
    color: #28465d;
    font-size: 0.82rem;
}

.evidence-badge {
    display: inline-block;
    min-width: 4.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.evidence-badge.confirmed {
    background: #dff3e9;
    color: #17643d;
}

.evidence-badge.observed {
    background: #e2f0fa;
    color: #125c8f;
}

.evidence-badge.cautious {
    background: #fff0d4;
    color: #80520a;
}

.evidence-badge.unsupported {
    background: #edf0f3;
    color: #536473;
}

.finding-band {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 1.7rem;
    align-items: center;
    padding: clamp(1.6rem, 4vw, 2.5rem);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: #fff;
}

.finding-band-number {
    display: grid;
    width: 150px;
    height: 150px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    font-family: Inter, sans-serif;
    font-size: 3rem;
    font-weight: 700;
}

.finding-band .section-kicker,
.finding-band h2 {
    color: #fff;
}

.finding-band h2 {
    margin: 0.3rem 0 0.7rem;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.finding-band p {
    line-height: 1.85;
}

.finding-band a {
    color: #fff;
    font-weight: 700;
}

.claim-limit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.claim-limit-grid article {
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 11px;
    background: #f8fafc;
}

.claim-limit-grid span {
    color: #8b5f18;
    font-family: Inter, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
}

.claim-limit-grid h3 {
    margin: 0.35rem 0 0.5rem;
    color: var(--primary-dark);
    font-size: 1.02rem;
}

.claim-limit-grid p {
    margin: 0;
    line-height: 1.75;
}

.next-study ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.next-study li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.9rem;
    padding: 1.1rem;
    border: 1px solid #c6ddeb;
    border-radius: 11px;
    background: #f6fbfe;
}

.next-study li > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
}

.next-study strong {
    color: var(--primary-dark);
}

.next-study p {
    margin: 0.35rem 0 0;
    line-height: 1.7;
}

.summary-links {
    display: grid;
    grid-template-columns: 0.75fr 1.75fr;
    gap: 1.5rem;
    padding: 1.7rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #fff;
}

.summary-links h2 {
    margin: 0.35rem 0 0;
    color: var(--primary-dark);
}

.summary-links > div:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.summary-links a {
    display: flex;
    padding: 0.9rem 1rem;
    flex-direction: column;
    border: 1px solid #c6ddeb;
    border-radius: 9px;
    background: #f6fbfe;
    color: var(--text-main);
    text-decoration: none;
}

.summary-links a:hover {
    border-color: var(--primary-color);
    background: #fff;
}

.summary-links a strong {
    color: var(--primary-color);
}

.summary-links a span {
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ===== 発表資料の公開待ちUI ===== */
.presentation-materials-section {
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.presentation-release-status {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    min-width: 260px;
    padding: 0.7rem 0.9rem;
    border: 1px solid #e1c98f;
    border-radius: 9px;
    background: #fff8e8;
}

.presentation-release-status > i {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #c98208;
    box-shadow: 0 0 0 4px rgba(201,130,8,0.13);
}

.presentation-release-status.is-published {
    border-color: #9dcdb6;
    background: #eff9f4;
}

.presentation-release-status.is-published > i {
    background: #25845a;
    box-shadow: 0 0 0 4px rgba(37,132,90,0.13);
}

.presentation-release-status strong,
.presentation-release-status span {
    display: block;
}

.presentation-release-status strong {
    color: var(--primary-dark);
    font-size: 0.86rem;
}

.presentation-release-status span {
    margin-top: 0.1rem;
    color: var(--text-muted);
    font-size: 0.74rem;
}

.presentation-materials-lead {
    max-width: 820px;
    line-height: 1.8;
}

.presentation-materials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.3rem;
}

.presentation-material-card {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid #c9dce9;
    border-radius: 12px;
    background: #f8fbfd;
}

.material-document-mark {
    display: grid;
    width: 58px;
    height: 72px;
    place-items: center;
    border-radius: 7px 7px 14px 7px;
    background: var(--primary-color);
    color: #fff;
    font-family: Inter, sans-serif;
    font-weight: 700;
}

.material-card-heading {
    display: flex;
    gap: 0.8rem;
    align-items: start;
    justify-content: space-between;
}

.material-card-heading span:first-child {
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.material-card-heading h3 {
    margin: 0.25rem 0 0;
    color: var(--primary-dark);
}

.material-card-content > p {
    line-height: 1.7;
}

.material-card-content dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 1rem 0 0;
    border-top: 1px solid var(--border-color);
}

.material-card-content dl div {
    padding: 0.75rem 0.45rem 0 0;
}

.material-card-content dl div:only-child {
    grid-column: 1 / -1;
}

.material-card-content dt {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.material-card-content dd {
    margin: 0.2rem 0 0;
    color: var(--primary-dark);
    font-size: 0.83rem;
    font-weight: 700;
}

.material-locked-label,
.material-open-button {
    flex: 0 0 auto;
    padding: 0.5rem 0.7rem;
    border-radius: 7px;
    font-size: 0.74rem;
    font-weight: 700;
}

.material-locked-label {
    background: #edf0f3;
    color: #60717f;
}

.material-open-button {
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
}

.material-open-button:hover {
    background: var(--primary-dark);
}

.material-viewer-slot:not(:empty) {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.presentation-pdf-viewer {
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid #c3d5e2;
    border-radius: 9px;
    background: #eef3f7;
}

.paper-download-note {
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: 0.78rem;
}

@media (max-width: 960px) {
    .finding-grid,
    .claim-limit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .presentation-materials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .finding-thesis,
    .summary-links {
        grid-template-columns: 1fr;
    }

    .finding-grid,
    .claim-limit-grid,
    .next-study ol,
    .summary-links > div:last-child {
        grid-template-columns: 1fr;
    }

    .finding-band {
        grid-template-columns: 1fr;
    }

    .finding-band-number {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }

    .presentation-release-status {
        min-width: 0;
        width: 100%;
    }

    .presentation-material-card {
        grid-template-columns: 48px 1fr;
    }

    .material-document-mark {
        width: 46px;
        height: 58px;
    }

    .material-card-heading {
        align-items: start;
        flex-direction: column;
    }

    .material-card-content dl {
        grid-template-columns: 1fr;
    }

    .presentation-pdf-viewer {
        min-height: 430px;
        height: 62vh;
    }
}

@media (max-width: 900px) {
    .visit-guide {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: -3.6rem;
    }

    .visit-guide-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .section-nav {
        justify-content: flex-start;
    }

    .visit-guide {
        margin-top: -2.2rem;
        padding: 1rem;
    }

    .visit-guide-steps,
    .headline-findings,
    .topic-path-grid {
        grid-template-columns: 1fr;
    }

    .visit-guide-steps a {
        min-height: 86px;
    }

    .headline-findings article,
    .headline-findings article:first-child {
        border-top: 1px solid rgba(255,255,255,0.16);
        border-left: 0;
    }

    .headline-findings article:first-child {
        border-top: 0;
    }
}

/* ===== Long-term research archive ===== */
.archive-home {
    background: #f2f6f9;
}

.archive-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.65fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
    min-height: 590px;
    padding: clamp(4rem, 8vw, 7.5rem) max(2rem, calc((100vw - 1180px) / 2));
    color: white;
    background:
        radial-gradient(circle at 78% 22%, rgba(73, 162, 224, 0.3), transparent 27%),
        linear-gradient(125deg, #052f52 0%, #0a4d85 62%, #126aa8 100%);
}

.archive-hero-copy {
    max-width: 760px;
}

.archive-eyebrow {
    margin: 0 0 1rem;
    color: #96c9ee;
    font-family: Inter, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.archive-hero h1 {
    margin: 0;
    font-size: clamp(2.3rem, 5.4vw, 4.7rem);
    line-height: 1.28;
    letter-spacing: 0.01em;
}

.archive-hero h1 span {
    color: #91d2ff;
}

.archive-hero-copy > p:not(.archive-eyebrow) {
    max-width: 700px;
    margin: 1.7rem 0 0;
    color: #deedf7;
    font-size: 1rem;
    line-height: 2;
}

.archive-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.2rem;
}

.archive-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
}

.archive-button.primary {
    border-color: white;
    background: white;
    color: var(--primary-color);
}

.archive-button:hover {
    transform: translateY(-2px);
}

.archive-current {
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    background: rgba(3, 34, 59, 0.42);
    box-shadow: 0 20px 50px rgba(0,0,0,0.16);
    backdrop-filter: blur(8px);
}

.archive-current-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9ed2f5;
    font-family: Inter, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.archive-current-top strong {
    color: white;
    font-size: 1rem;
}

.archive-current > p {
    margin: 2rem 0 0;
    color: #9ed2f5;
    font-size: 0.78rem;
    font-weight: 700;
}

.archive-current h2 {
    margin: 0.25rem 0;
    color: white;
    font-family: Inter, sans-serif;
    font-size: 2.4rem;
}

.archive-current small {
    display: block;
    color: #d8eaf6;
    line-height: 1.7;
}

.archive-current a {
    display: inline-block;
    margin-top: 1.8rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.archive-current .archive-current-secondary {
    display: block;
    margin-top: 0.8rem;
    color: #a9d5f1;
    font-size: 0.76rem;
    font-weight: 600;
}

.home-news {
    padding-top: 5rem;
}

.home-news-list {
    border-top: 1px solid var(--border-color);
}

.home-news-list > a {
    display: grid;
    grid-template-columns: 7.5rem 6rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 74px;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-dark);
    text-decoration: none;
}

.home-news-list > a:hover strong {
    color: var(--primary-color);
}

.home-news-list time,
.news-entry-meta time {
    color: var(--text-muted);
    font-family: Inter, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
}

.home-news-list strong {
    font-size: 0.9rem;
}

.news-tag {
    display: inline-flex;
    width: fit-content;
    min-width: 4.5rem;
    justify-content: center;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: #eaf2f8;
    color: #245d88;
    font-size: 0.67rem;
    font-weight: 700;
}

.news-tag.submitted { background: #fff2dc; color: #8b570b; }
.news-tag.release { background: #fff2dc; color: #8b570b; }
.news-tag.recognition { background: #e8f5ef; color: #116743; }
.news-tag.accepted { background: #e7f1fb; color: #175d91; }
.news-tag.award { background: #f5ebff; color: #704098; }

.home-news-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 1.25rem;
}

.home-news-actions a {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.archive-section,
.archive-principles {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.archive-section-heading {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2rem;
}

.archive-section-heading h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.archive-section-heading > p {
    max-width: 620px;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.9;
}

.archive-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.archive-legend span {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
}

.archive-legend i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.archive-legend i.published { background: #16845b; }
.archive-legend i.accepted { background: #2563a6; }
.archive-legend i.submitted { background: #c77b13; }
.archive-legend i.preparing { background: #b97912; }
.archive-legend i.archived { background: #3978a8; }
.archive-legend i.planned { background: #9aa9b5; }

.archive-event-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.archive-event-card {
    grid-column: span 2;
    display: flex;
    min-height: 305px;
    padding: 1.35rem;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-top: 4px solid #8298a8;
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow-sm);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.archive-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(8, 49, 82, 0.14);
}

.archive-event-card:focus-visible {
    outline: 3px solid #2c85c5;
    outline-offset: 4px;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(8, 49, 82, 0.18);
}

.archive-event-card:nth-child(-n+2) {
    grid-column: span 3;
}

.archive-event-card.published { border-top-color: #16845b; }
.archive-event-card.accepted { border-top-color: #2563a6; }
.archive-event-card.submitted { border-top-color: #c77b13; }
.archive-event-card.preparing { border-top-color: #b97912; background: #fffdf8; }
.archive-event-card.archived { border-top-color: #3978a8; }
.archive-event-card.planned { border-top-color: #9aa9b5; background: #f8fafb; }

.archive-event-top {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.archive-event-year {
    color: var(--primary-color);
    font-family: Inter, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
}

.archive-status {
    display: inline-flex;
    width: fit-content;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: #e9eef2;
    color: #566976;
    font-size: 0.66rem;
    font-weight: 700;
}

.archive-status.published { background: #e8f5ef; color: #116743; }
.archive-status.accepted { background: #e7f1fb; color: #175d91; }
.archive-status.submitted { background: #fff2dc; color: #8b570b; }
.archive-status.preparing { background: #fff2dc; color: #815006; }
.archive-status.archived { background: #e9f2f9; color: #245d88; }
.archive-status.planned { background: #edf0f2; color: #62727e; }

.archive-event-stage {
    margin: 1.4rem 0 0.25rem;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.archive-event-card h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.4rem;
}

.archive-event-description {
    margin: 0.75rem 0 1.2rem;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.8;
}

.archive-event-link-label {
    margin-top: auto;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
}

.archive-event-card:hover .archive-event-link-label,
.archive-event-card:focus-visible .archive-event-link-label {
    text-decoration: underline;
    text-underline-offset: 0.22em;
}

@media (prefers-reduced-motion: reduce) {
    .archive-event-card { transition: none; }
    .archive-event-card:hover,
    .archive-event-card:focus-visible { transform: none; }
}

.archive-about {
    padding: 5rem 0;
    color: white;
    background: var(--primary-dark);
}

.archive-section-heading.light h2 { color: white; }
.archive-section-heading.light > p { color: #c9ddea; }

.archive-cycle {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    gap: 1rem;
    align-items: stretch;
}

.archive-cycle > div {
    display: grid;
    place-items: center;
    color: #78b8e5;
    font-size: 1.5rem;
}

.archive-cycle article {
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
}

.archive-cycle span {
    color: #80c5f4;
    font-family: Inter, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
}

.archive-cycle h3 {
    margin: 0.45rem 0;
    color: white;
}

.archive-cycle p {
    margin: 0;
    color: #cfe1ed;
    font-size: 0.86rem;
    line-height: 1.8;
}

.archive-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.archive-principle-grid article {
    padding: 1.5rem;
    border-left: 3px solid var(--primary-light);
    background: white;
}

.archive-principle-grid span {
    color: var(--primary-light);
    font-family: Inter, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.archive-principle-grid h3 {
    margin: 0.45rem 0;
    color: var(--primary-dark);
}

.archive-principle-grid p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.8;
}

/* --- Research news --- */
.news-page {
    background: #f5f8fb;
}

.news-hero {
    padding: 5rem 2rem;
    color: white;
    background: linear-gradient(130deg, #062f54, #0b4f8a 72%, #1670ad);
}

.news-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.news-hero > .container > p:last-child {
    max-width: 680px;
    margin: 1rem 0 0;
    color: #dbeaf5;
    line-height: 1.9;
}

.news-content {
    padding-top: 4rem;
}

.news-next {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 2.5rem;
    padding: 2rem;
    border: 1px solid #c8dce9;
    border-top: 4px solid #c77b13;
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.news-next h2,
.profile-news h2 {
    margin: 0;
    color: var(--primary-dark);
}

.news-next p,
.profile-news p {
    color: var(--text-muted);
    line-height: 1.85;
}

.news-next-meta {
    padding-left: 2rem;
    border-left: 1px solid var(--border-color);
}

.news-next-meta dl {
    margin: 1.2rem 0;
}

.news-next-meta dl > div {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border-color);
}

.news-next-meta dt {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.news-next-meta dd {
    margin: 0;
    color: var(--primary-dark);
    font-size: 0.82rem;
}

.news-next-meta a,
.research-news-list a,
.profile-news > a {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.news-next-meta .news-official-link {
    display: block;
    margin-top: 0.65rem;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.research-news-list {
    border-top: 1px solid var(--border-color);
}

.research-news-list article {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: 2rem;
    padding: 1.7rem 0;
    border-bottom: 1px solid var(--border-color);
}

.news-entry-meta {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
}

.research-news-list h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.research-news-list p {
    margin: 0.55rem 0 0.8rem;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.8;
}

.profile-news {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    margin-top: 4rem;
    margin-bottom: 5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 14px;
    background: #e8f2f9;
}

.profile-news p {
    margin-bottom: 0;
}

.profile-news > a {
    padding: 0.85rem 1rem;
    border: 1px solid #a9c8dd;
    border-radius: 8px;
    background: white;
    white-space: nowrap;
}

/* --- Presentation detail page --- */
.event-page {
    min-height: 70vh;
}

.event-hero {
    padding: 4.5rem 2rem 5rem;
    color: white;
    background: linear-gradient(130deg, #062f54, #0b4f8a 72%, #1670ad);
}

.event-hero-inner {
    max-width: 1116px;
    margin: 0 auto;
}

.event-back-link {
    color: #bcd9ed;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.event-meta-line {
    display: flex;
    gap: 0.65rem;
    margin-top: 2rem;
    color: #94c5e7;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.event-meta-line span + span::before {
    margin-right: 0.65rem;
    content: '/';
    opacity: 0.6;
}

.event-hero h1 {
    margin: 0.45rem 0 0;
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.event-hero p {
    max-width: 760px;
    margin: 1rem 0 1.3rem;
    color: #dbeaf5;
    line-height: 1.85;
}

.event-page-body {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.event-overview {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 2rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: white;
}

.event-overview h2 {
    margin: 0;
    color: var(--primary-dark);
}

.event-overview p {
    margin: 0;
    line-height: 1.85;
}

.event-note {
    margin-top: 0.8rem !important;
    padding-left: 1rem;
    color: var(--text-muted);
    border-left: 3px solid var(--primary-light);
    font-size: 0.84rem;
}

.participant-entry {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 2rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 2rem;
    color: white;
    border-radius: 12px;
    background: linear-gradient(135deg, #073a64, #0b5b96);
    box-shadow: var(--shadow-sm);
}

.participant-entry h2 {
    margin: 0;
    color: white;
}

.participant-entry p:not(.section-kicker) {
    margin: 0.8rem 0 0;
    color: #dcebf6;
    line-height: 1.85;
}

.participant-entry .section-kicker { color: #91c9ed; }

.participant-entry-actions {
    display: grid;
    gap: 0.75rem;
}

.participant-entry-actions .archive-button {
    justify-content: center;
    border-color: rgba(255,255,255,0.45);
    color: white;
}

.participant-entry-actions .archive-button.primary {
    border-color: white;
    color: var(--primary-dark);
    background: white;
}

.event-contents {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.event-link-group {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: white;
}

.event-link-group h2 {
    margin: 0 0 1rem;
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.event-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.event-link-grid a {
    display: flex;
    min-height: 92px;
    padding: 1rem;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #d5e2eb;
    border-radius: 9px;
    background: #f8fbfd;
    text-decoration: none;
}

.event-link-grid a:hover {
    border-color: var(--primary-light);
    background: var(--primary-fade);
}

.event-link-grid strong {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.event-link-grid span {
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.event-content-empty,
.event-empty {
    padding: 2rem;
    border: 1px dashed #aec4d3;
    border-radius: 12px;
    background: #f8fbfd;
    color: var(--text-muted);
}

.event-content-empty strong {
    color: var(--primary-dark);
}

.event-content-empty p {
    margin: 0.35rem 0 0;
}

.event-empty {
    max-width: 760px;
    margin: 5rem auto;
}

.event-empty h1 {
    color: var(--primary-dark);
}

.event-empty a {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 900px) {
    .archive-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-inline: 2rem;
    }

    .archive-current {
        max-width: 520px;
    }

    .archive-event-card,
    .archive-event-card:nth-child(-n+2) {
        grid-column: span 3;
    }

    .archive-cycle {
        grid-template-columns: 1fr;
    }

    .archive-cycle > div {
        transform: rotate(90deg);
    }

    .event-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-next {
        grid-template-columns: 1fr;
    }

    .news-next-meta {
        padding-top: 1.5rem;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        border-left: 0;
    }
}

@media (max-width: 620px) {
    .study-context-grid { grid-template-columns: 1fr; }
    .response-progress { align-items: flex-start; flex-direction: column; }
    .operation-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .operation-options label > span { min-height: 64px; }

    .archive-hero {
        padding: 3.7rem 1.1rem;
    }

    .archive-hero h1 {
        font-size: 2.25rem;
    }

    .archive-section,
    .archive-principles {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .archive-section-heading,
    .event-overview,
    .participant-entry {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .archive-event-grid {
        grid-template-columns: 1fr;
    }

    .archive-event-card,
    .archive-event-card:nth-child(-n+2) {
        grid-column: auto;
        min-height: 260px;
    }

    .archive-principle-grid,
    .event-link-grid {
        grid-template-columns: 1fr;
    }

    .home-news-list > a {
        grid-template-columns: 1fr auto;
        gap: 0.5rem 0.75rem;
        padding-block: 1rem;
    }

    .home-news-list strong {
        grid-column: 1 / -1;
    }

    .home-news-list > a > span:last-child {
        display: none;
    }

    .news-hero {
        padding: 3.5rem 1.1rem;
    }

    .news-next {
        padding: 1.25rem;
    }

    .research-news-list article {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .news-entry-meta {
        flex-direction: row;
        align-items: center;
    }

    .profile-news {
        grid-template-columns: 1fr;
        margin-inline: 1rem;
    }

    .profile-news > a {
        white-space: normal;
    }

    .event-hero {
        padding: 3.5rem 1.1rem 4rem;
    }

    .event-overview,
    .event-link-group,
    .participant-entry {
        padding: 1.25rem;
    }
}

/* =========================================================
   WISS 2026 - VR catcher throwing implementation
========================================================= */

.wiss-page {
    background: #f3f6f9;
}

.wiss-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(77, 157, 214, 0.28), transparent 24rem),
        linear-gradient(125deg, #052d50 0%, #074774 54%, #0b5e94 100%);
}

.wiss-hero::after {
    position: absolute;
    right: -8rem;
    bottom: -15rem;
    width: 34rem;
    height: 34rem;
    content: '';
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow:
        0 0 0 4rem rgba(255, 255, 255, 0.025),
        0 0 0 8rem rgba(255, 255, 255, 0.018);
}

.wiss-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 3rem));
    min-height: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.72fr);
    align-items: center;
    gap: 5rem;
    padding: 5rem 0;
}

.wiss-hero .event-back-link {
    display: inline-block;
    margin-bottom: 3rem;
    color: #c5def0;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
}

.wiss-eyebrow,
.wiss-status-label {
    margin: 0 0 1rem;
    color: #8fd0ff;
    font: 700 0.72rem Inter, sans-serif;
    letter-spacing: 0.16em;
}

.wiss-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.4rem, 5.2vw, 4.8rem);
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.wiss-hero h1 span {
    color: #94d2ff;
}

.wiss-hero-lead {
    max-width: 700px;
    margin: 1.7rem 0 0;
    color: #d9e9f4;
    font-size: 1rem;
    line-height: 2;
}

.wiss-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.wiss-hero-actions .archive-button.secondary {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.36);
}

.wiss-status-panel {
    padding: 1.8rem;
    background: rgba(3, 34, 61, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(0, 20, 38, 0.2);
    backdrop-filter: blur(8px);
}

.wiss-status-panel > strong {
    display: block;
    margin-bottom: 1.4rem;
    font-size: 2rem;
    line-height: 1.35;
}

.wiss-status-panel dl {
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.wiss-status-panel dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.wiss-status-panel dt,
.wiss-status-panel dd {
    margin: 0;
    font-size: 0.72rem;
}

.wiss-status-panel dt { color: #a9c6d9; }
.wiss-status-panel dd { color: #fff; font-weight: 700; text-align: right; }

.wiss-status-panel > p {
    margin: 1rem 0 0;
    color: #bcd2e1;
    font-size: 0.7rem;
    line-height: 1.7;
}

.wiss-status-panel .wiss-official-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: #bfe2f8;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
}

.wiss-context,
.wiss-section,
.wiss-summary {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.wiss-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 4rem;
    align-items: end;
    margin-bottom: 2.4rem;
}

.wiss-section-heading h2,
.wiss-summary h2 {
    margin: 0.25rem 0 0;
    color: var(--primary-dark);
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.42;
}

.wiss-section-heading > p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.9;
}

.wiss-section-heading.light h2,
.wiss-section-heading.light > p {
    color: #fff;
}

.wiss-section-heading.light > p {
    color: #c9dce9;
}

.wiss-cycle {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0.7rem;
}

.wiss-cycle article {
    position: relative;
    min-height: 150px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.wiss-cycle article.new {
    background: #eaf5fc;
    border-color: #90c2e3;
}

.wiss-cycle article > span {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #b2c2cf;
    font: 700 0.7rem Inter, sans-serif;
}

.wiss-cycle article.new > span { color: var(--primary-light); }
.wiss-cycle small { color: #6f8494; font-size: 0.62rem; font-weight: 700; }
.wiss-cycle strong { margin-top: 0.3rem; color: var(--primary-dark); font-size: 0.95rem; }
.wiss-cycle > i { align-self: center; color: #82a8c2; font-style: normal; font-weight: 700; }

.wiss-purpose,
.wiss-evaluation-section {
    padding: 5rem 0;
    color: #fff;
    background: #082f50;
}

.wiss-purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.wiss-purpose-grid article {
    min-height: 225px;
    padding: 1.7rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
}

.wiss-purpose-grid article.answer {
    background: #0b5b91;
    border-color: #4088b8;
}

.wiss-purpose-grid span,
.wiss-evidence-grid article > span,
.wiss-log-primary > span {
    color: #84c9f7;
    font: 700 0.65rem Inter, sans-serif;
    letter-spacing: 0.11em;
}

.wiss-purpose-grid h3 {
    margin: 2.5rem 0 0.8rem;
    color: #fff;
    font-size: 1.1rem;
}

.wiss-purpose-grid p {
    margin: 0;
    color: #c5d8e5;
    font-size: 0.76rem;
    line-height: 1.9;
}

.wiss-flow {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    list-style: none;
    background: #cbdce8;
    border: 1px solid #cbdce8;
    border-radius: 12px;
}

.wiss-flow li {
    min-height: 170px;
    padding: 1.4rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    background: #fff;
}

.wiss-flow li > span {
    color: #80a6c0;
    font: 700 0.68rem Inter, sans-serif;
}

.wiss-flow strong { color: var(--primary-dark); font-size: 1rem; }
.wiss-flow p { margin: 0.65rem 0 0; color: var(--text-muted); font-size: 0.74rem; line-height: 1.75; }

.wiss-assist-section,
.wiss-scenarios-section {
    background: #eaf2f8;
}

.wiss-condition-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 1rem;
}

.wiss-condition-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.wiss-condition-cards article {
    min-height: 135px;
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border: 1px solid #c7dce9;
    border-radius: 10px;
}

.wiss-condition-cards strong { color: var(--primary-color); font-size: 1.55rem; }
.wiss-condition-cards span { margin-top: 0.4rem; color: var(--text-muted); font-size: 0.72rem; }

.wiss-boundary-note {
    padding: 1.6rem;
    color: #fff;
    background: var(--primary-dark);
    border-radius: 10px;
}

.wiss-boundary-note .section-kicker { color: #8fcdf5; }
.wiss-boundary-note h3 { margin: 2.2rem 0 0.8rem; font-size: 1.25rem; line-height: 1.5; }
.wiss-boundary-note > p:last-child { margin: 0; color: #c9dce9; font-size: 0.75rem; line-height: 1.9; }

.wiss-equation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
    padding: 1.4rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.wiss-equation span {
    padding: 0.6rem 0.9rem;
    color: var(--primary-dark);
    background: #f3f7fa;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.wiss-equation b { color: #8ba4b6; }
.wiss-equation .axis.lateral { color: #0b5b91; background: #e1f1fb; }
.wiss-equation .axis.vertical { color: #326f68; background: #e5f3ef; }
.wiss-equation .axis.depth { color: #745520; background: #f7efd9; }

.wiss-error-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.wiss-error-grid article {
    position: relative;
    min-height: 230px;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.wiss-axis-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary-color);
    border-radius: 50%;
    font: 700 0.8rem Inter, sans-serif;
}

.wiss-axis-mark.vertical { background: #3d8078; }
.wiss-axis-mark.depth { background: #9a7025; }
.wiss-error-grid h3 { margin: 1.2rem 0 0.65rem; color: var(--primary-dark); font-size: 1rem; }
.wiss-error-grid p { margin: 0; color: var(--text-muted); font-size: 0.75rem; line-height: 1.85; }

.wiss-caution {
    margin-top: 1rem;
    padding: 1.1rem 1.3rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    color: #654c1d;
    background: #fff8e7;
    border: 1px solid #ead59d;
    border-radius: 8px;
}

.wiss-caution strong { flex: 0 0 35%; font-size: 0.78rem; }
.wiss-caution p { margin: 0; font-size: 0.7rem; line-height: 1.75; }

.wiss-scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.wiss-scenario-grid article {
    min-height: 125px;
    padding: 1.2rem;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.3rem 0.8rem;
    align-content: center;
    background: #fff;
    border: 1px solid #cbdde9;
    border-radius: 9px;
}

.wiss-scenario-grid span {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary-color);
    border-radius: 50%;
    font: 700 0.65rem Inter, sans-serif;
}

.wiss-scenario-grid strong { color: var(--primary-dark); font-size: 0.84rem; }
.wiss-scenario-grid small { color: var(--text-muted); font-size: 0.66rem; line-height: 1.5; }

.wiss-outcomes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.3rem;
}

.wiss-outcomes span {
    padding: 0.42rem 0.7rem;
    color: #36566e;
    background: #fff;
    border: 1px solid #ccdde8;
    border-radius: 999px;
    font: 600 0.64rem Inter, sans-serif;
}

.wiss-outcome-note { margin: 0.8rem 0 0; color: var(--text-muted); font-size: 0.7rem; }

.wiss-log-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.6fr) minmax(0, 1.4fr);
    gap: 1rem;
}

.wiss-log-primary {
    min-height: 300px;
    padding: 1.6rem;
    color: #fff;
    background: var(--primary-dark);
    border-radius: 11px;
}

.wiss-log-primary > strong {
    display: block;
    margin: 2.3rem 0 1.3rem;
    color: #fff;
    font-size: 4rem;
    line-height: 1;
}

.wiss-log-primary > strong small { margin-left: 0.25rem; color: #9fc5de; font-size: 0.9rem; }
.wiss-log-primary p { margin: 0; color: #c3d8e6; font-size: 0.75rem; line-height: 1.9; }

.wiss-log-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.wiss-log-groups article {
    padding: 1.35rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.wiss-log-groups strong { color: var(--primary-color); font-size: 0.88rem; }
.wiss-log-groups p { margin: 0.55rem 0 0; color: var(--text-muted); font-size: 0.7rem; line-height: 1.7; }

.wiss-evidence-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.wiss-evidence-grid article {
    padding: 1.7rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
}

.wiss-evidence-grid article.not-evaluated > span { color: #f2c979; }
.wiss-evidence-grid h3 { margin: 0.55rem 0 1rem; color: #fff; font-size: 1.2rem; }
.wiss-evidence-grid ul { margin: 0; padding-left: 1.1rem; color: #d2e1eb; font-size: 0.74rem; line-height: 2; }

.wiss-dev-check {
    display: grid;
    grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1.7fr);
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1.1rem 1.3rem;
    color: #5e4b1a;
    background: #fff7df;
    border-radius: 8px;
}

.wiss-dev-check strong { font-size: 0.78rem; }
.wiss-dev-check p { margin: 0; font-size: 0.7rem; line-height: 1.75; }

.wiss-plan {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.wiss-plan h3 { margin: 0.2rem 0 1.25rem; color: #fff; font-size: 1.35rem; }
.wiss-plan ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.65rem; list-style: none; }
.wiss-plan li { padding: 1rem; background: rgba(255, 255, 255, 0.06); border-radius: 7px; }
.wiss-plan li span { display: block; color: #7abce6; font: 700 0.6rem Inter, sans-serif; }
.wiss-plan li strong { display: block; margin: 0.4rem 0; color: #fff; font-size: 0.8rem; }
.wiss-plan li small { color: #b9cfdd; font-size: 0.62rem; line-height: 1.5; }

.wiss-summary {
    text-align: center;
}

.wiss-summary > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    text-align: left;
}

.wiss-summary article {
    padding: 1.4rem;
    background: #fff;
    border-top: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.wiss-summary article span { color: #84a3b9; font: 700 0.65rem Inter, sans-serif; }
.wiss-summary article p { margin: 0.8rem 0 0; color: #3e5668; font-size: 0.75rem; line-height: 1.85; }
.wiss-source-note { margin: 1.5rem 0 0; color: var(--text-muted); font-size: 0.65rem; }

@media (max-width: 980px) {
    .wiss-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 4rem 0;
    }

    .wiss-status-panel { max-width: 620px; }
    .wiss-section-heading { grid-template-columns: 1fr; gap: 1rem; }
    .wiss-cycle { grid-template-columns: 1fr 1fr; }
    .wiss-cycle > i { display: none; }
    .wiss-purpose-grid,
    .wiss-flow,
    .wiss-scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wiss-condition-layout,
    .wiss-log-layout { grid-template-columns: 1fr; }
    .wiss-log-primary { min-height: 240px; }
    .wiss-plan ol { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .wiss-hero-inner { width: min(100% - 2rem, 1180px); min-height: 0; }
    .wiss-hero h1 { font-size: 2.25rem; }
    .wiss-hero .event-back-link { margin-bottom: 2rem; }
    .wiss-context,
    .wiss-section,
    .wiss-summary,
    .wiss-purpose,
    .wiss-evaluation-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .wiss-cycle,
    .wiss-purpose-grid,
    .wiss-flow,
    .wiss-condition-cards,
    .wiss-error-grid,
    .wiss-scenario-grid,
    .wiss-log-groups,
    .wiss-evidence-grid,
    .wiss-summary > div,
    .wiss-plan ol { grid-template-columns: 1fr; }
    .wiss-cycle article,
    .wiss-flow li { min-height: 130px; }
    .wiss-caution,
    .wiss-dev-check { align-items: flex-start; grid-template-columns: 1fr; flex-direction: column; gap: 0.5rem; }
    .wiss-caution strong { flex-basis: auto; }
    .wiss-equation { justify-content: flex-start; }
}

/* WISS 2026 submitted manuscript update */

.wiss-authors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    margin: 1.2rem 0 0;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.wiss-authors span {
    color: #bcd4e4;
    font-weight: 500;
}

.wiss-timing-rule {
    margin-top: 1.25rem;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(210px, 0.55fr);
    gap: 0.8rem 2rem;
    align-items: center;
    color: #fff;
    background: var(--primary-dark);
    border-radius: 10px;
}

.wiss-timing-rule > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.wiss-timing-rule > div span {
    padding: 0.55rem 0.7rem;
    color: #d9ebf7;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 700;
}

.wiss-timing-rule > div b { color: #79bfe9; }
.wiss-timing-rule > strong { color: #9bd7ff; font-size: 0.9rem; text-align: right; }
.wiss-timing-rule > p { grid-column: 1 / -1; margin: 0.3rem 0 0; color: #bfd4e2; font-size: 0.68rem; line-height: 1.75; }

.wiss-scenario-grid-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wiss-scenario-grid-five article {
    min-height: 155px;
    grid-template-columns: 1fr;
    justify-items: start;
}

.wiss-scenario-grid-five span {
    grid-row: auto;
    margin-bottom: 0.45rem;
}

.wiss-throw-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    gap: 1rem;
}

.wiss-throw-input,
.wiss-throw-branches article {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.wiss-throw-input {
    min-height: 330px;
    display: flex;
    flex-direction: column;
}

.wiss-throw-input > span,
.wiss-throw-branches article > span {
    color: var(--primary-light);
    font: 700 0.65rem Inter, sans-serif;
    letter-spacing: 0.11em;
}

.wiss-throw-input h3,
.wiss-throw-branches h3 {
    margin: 1.7rem 0 0.7rem;
    color: var(--primary-dark);
    font-size: 1.05rem;
    line-height: 1.55;
}

.wiss-throw-input p,
.wiss-throw-branches p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.73rem;
    line-height: 1.8;
}

.wiss-vector-equation {
    margin: auto 0 0.7rem;
    padding: 1rem;
    color: var(--primary-dark);
    background: #eef5fa;
    border-radius: 7px;
    font-family: Georgia, serif;
    font-size: 1.25rem;
    text-align: center;
}

.wiss-throw-input > small {
    color: #738797;
    font-size: 0.62rem;
    text-align: center;
}

.wiss-throw-branches {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
}

.wiss-throw-branches article.assisted {
    background: #eaf5fc;
    border-color: #9bc7e3;
}

.wiss-future-section {
    padding-bottom: 3rem;
}

.wiss-future-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.wiss-future-grid article {
    min-height: 210px;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.wiss-future-grid article > span {
    color: #83a5bb;
    font: 700 0.65rem Inter, sans-serif;
}

.wiss-future-grid h3 {
    margin: 1.7rem 0 0.7rem;
    color: var(--primary-dark);
    font-size: 1rem;
}

.wiss-future-grid p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.73rem;
    line-height: 1.85;
}

.wiss-role-lab {
    margin-top: 1rem;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    color: #fff;
    background: #315a78;
    border-radius: 10px;
}

.wiss-role-lab > div {
    padding: 1rem 1.2rem;
    background: var(--primary-dark);
}

.wiss-role-lab span {
    display: block;
    margin-bottom: 0.35rem;
    color: #87c9f2;
    font-size: 0.65rem;
    font-weight: 700;
}

.wiss-role-lab strong {
    font-size: 0.75rem;
    line-height: 1.6;
}

.wiss-manuscript {
    margin-top: 1rem;
    margin-bottom: 5rem;
    padding: 2rem;
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr) auto;
    align-items: center;
    gap: 2rem;
    background: #fff;
    border: 1px solid #c9dbe8;
    border-left: 5px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.wiss-manuscript h2 {
    margin: 0.2rem 0 0.7rem;
    color: var(--primary-dark);
    font-size: 1.45rem;
}

.wiss-manuscript > div > p:last-child {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.75;
}

.wiss-manuscript dl { margin: 0; }
.wiss-manuscript dl div { display: grid; grid-template-columns: 56px 1fr; gap: 0.75rem; padding: 0.35rem 0; }
.wiss-manuscript dt { color: #778a99; font-size: 0.65rem; font-weight: 700; }
.wiss-manuscript dd { margin: 0; color: #345064; font-size: 0.68rem; font-weight: 600; line-height: 1.6; }
.wiss-manuscript .archive-button { white-space: nowrap; }

.wiss-paper-back {
    display: inline-block;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
}

.wiss-paper-page .paper-version-note {
    margin-bottom: 2rem;
}

@media (max-width: 1080px) {
    .wiss-scenario-grid-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wiss-manuscript { grid-template-columns: 1fr 1fr; }
    .wiss-manuscript .archive-button { justify-self: start; }
}

@media (max-width: 760px) {
    .wiss-timing-rule,
    .wiss-throw-layout,
    .wiss-future-grid,
    .wiss-manuscript { grid-template-columns: 1fr; }
    .wiss-timing-rule > strong { text-align: left; }
    .wiss-scenario-grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wiss-role-lab { grid-template-columns: 1fr; }
    .wiss-throw-input { min-height: 280px; }
}

@media (max-width: 480px) {
    .wiss-scenario-grid-five { grid-template-columns: 1fr; }
    .wiss-manuscript { padding: 1.35rem; }
    .wiss-manuscript .archive-button { white-space: normal; }
}

/* =========================================================
   EC2026 - published cognition-action loop research
========================================================= */

.ec-page {
    background: #f3f6f9;
}

.ec-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 84% 16%, rgba(52, 161, 225, 0.34), transparent 28%),
        radial-gradient(circle at 68% 95%, rgba(29, 117, 177, 0.28), transparent 34%),
        linear-gradient(122deg, #052f52 0%, #08466f 56%, #086a9e 100%);
}

.ec-hero::after {
    position: absolute;
    right: -10%;
    bottom: -65%;
    width: 46vw;
    height: 46vw;
    border: 1px solid rgba(147, 211, 247, 0.2);
    border-radius: 50%;
    content: '';
}

.ec-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.65fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    width: min(100% - 4rem, 1420px);
    min-height: min(760px, calc(100vh - 68px));
    margin: 0 auto;
    padding: 3.5rem 0;
}

.ec-hero-copy {
    max-width: 940px;
}

.ec-hero .event-back-link {
    display: inline-block;
    margin-bottom: 3.5rem;
}

.ec-eyebrow,
.ec-status-label {
    margin: 0 0 1.6rem;
    color: #8fd2fb;
    font-family: Inter, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.ec-hero h1 {
    max-width: 940px;
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5.1rem);
    line-height: 1.28;
    letter-spacing: -0.035em;
}

.ec-hero h1 span {
    color: #8fd2fb;
}

.ec-hero-lead {
    max-width: 800px;
    margin: 2rem 0 0;
    color: #d6eaf6;
    font-size: clamp(0.92rem, 1.3vw, 1.08rem);
    line-height: 2;
}

.ec-authors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
    margin: 1.8rem 0 0;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.ec-authors span {
    color: #aac9db;
    font-weight: 500;
}

.ec-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.2rem;
}

.ec-status-panel {
    padding: 1.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(3, 38, 65, 0.72);
    box-shadow: 0 22px 60px rgba(0, 20, 38, 0.2);
    backdrop-filter: blur(8px);
}

.ec-status-panel > strong {
    display: block;
    margin-bottom: 1.4rem;
    font-size: clamp(1.5rem, 2.3vw, 2.25rem);
    line-height: 1.4;
}

.ec-status-panel dl {
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ec-status-panel dl div {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.72rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ec-status-panel dt,
.ec-status-panel dd {
    margin: 0;
    font-size: 0.71rem;
}

.ec-status-panel dt { color: #a9c6d9; }
.ec-status-panel dd { color: #fff; font-weight: 700; text-align: right; }

.ec-status-panel > p {
    margin: 1rem 0 0;
    color: #bdd3e1;
    font-size: 0.7rem;
    line-height: 1.75;
}

.ec-official-link {
    display: inline-block;
    margin-top: 0.8rem;
    color: #bfe3fa;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
}

.ec-section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.ec-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 4rem;
    align-items: end;
    margin-bottom: 2.5rem;
}

.ec-section-heading h2,
.ec-publication h2 {
    margin: 0.25rem 0 0;
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 3.2vw, 2.75rem);
    line-height: 1.42;
}

.ec-section-heading > p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.95;
}

.ec-section-heading.light h2 { color: #fff; }
.ec-section-heading.light > p { color: #c8ddea; }

.ec-cycle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 0;
    list-style: none;
    counter-reset: ec-cycle;
}

.ec-cycle-grid li {
    position: relative;
    display: flex;
    min-height: 150px;
    padding: 1.25rem;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid #cbdce7;
    border-radius: 11px;
    background: #fff;
}

.ec-cycle-grid li:nth-child(n+5) {
    background: #eaf5fc;
    border-color: #98c6e3;
}

.ec-cycle-grid li::after {
    position: absolute;
    top: 50%;
    right: -0.72rem;
    z-index: 2;
    width: 1.4rem;
    height: 1.4rem;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    content: '→';
    font-size: 0.67rem;
}

.ec-cycle-grid li:nth-child(4)::after,
.ec-cycle-grid li:last-child::after {
    display: none;
}

.ec-cycle-grid span {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #97afbf;
    font-family: Inter, sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
}

.ec-cycle-grid small {
    color: var(--primary-light);
    font-size: 0.66rem;
    font-weight: 700;
}

.ec-cycle-grid strong {
    margin-top: 0.3rem;
    color: var(--primary-dark);
    font-size: 0.94rem;
}

.ec-contribution,
.ec-boundaries {
    padding: 5.5rem 0;
    color: #fff;
    background: var(--primary-dark);
}

.ec-contribution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ec-contribution-grid article {
    min-height: 230px;
    padding: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
}

.ec-contribution-grid article.answer {
    border-color: rgba(117, 198, 243, 0.45);
    background: rgba(33, 134, 195, 0.22);
}

.ec-contribution-grid span,
.ec-boundary-grid span {
    color: #85c9f1;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.ec-contribution-grid h3,
.ec-boundary-grid h3 {
    margin: 1.45rem 0 0.6rem;
    color: #fff;
    font-size: 1.2rem;
}

.ec-contribution-grid p {
    margin: 0;
    color: #c8dce8;
    font-size: 0.82rem;
    line-height: 1.85;
}

.ec-finding-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ec-finding-grid article {
    min-height: 275px;
    padding: 1.7rem;
    border: 1px solid #cbdce7;
    border-top: 4px solid var(--primary-light);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.ec-finding-grid article > span {
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 700;
}

.ec-finding-grid article > strong {
    display: block;
    margin: 0.9rem 0;
    color: var(--primary-color);
    font-family: Inter, sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.15;
}

.ec-finding-grid article > strong small {
    font-size: 0.4em;
}

.ec-finding-grid h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.ec-finding-grid p {
    margin: 0.65rem 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.85;
}

.ec-text-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.ec-boundaries {
    background: linear-gradient(120deg, #063454, #07537d);
}

.ec-boundary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ec-boundary-grid article {
    padding: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
}

.ec-boundary-grid article.future {
    background: rgba(2, 26, 44, 0.24);
}

.ec-boundary-grid ul {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.ec-boundary-grid li {
    position: relative;
    padding-left: 1.15rem;
    color: #d0e1eb;
    font-size: 0.8rem;
    line-height: 1.75;
}

.ec-boundary-grid li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #79c4ee;
    content: '—';
}

.ec-feature-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.ec-feature-links a {
    position: relative;
    min-height: 215px;
    padding: 1.7rem 4rem 1.7rem 1.7rem;
    border: 1px solid #aacde2;
    border-radius: 12px;
    background: #eaf5fc;
    text-decoration: none;
}

.ec-feature-links a:nth-child(2) {
    background: #fff;
}

.ec-feature-links span,
.ec-analysis-grid span {
    color: var(--primary-light);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.ec-feature-links strong {
    display: block;
    margin-top: 1.5rem;
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.ec-feature-links p {
    margin: 0.6rem 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.8;
}

.ec-feature-links i {
    position: absolute;
    right: 1.6rem;
    bottom: 1.6rem;
    color: var(--primary-color);
    font-style: normal;
    font-size: 1.4rem;
}

.ec-analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.ec-analysis-grid a {
    min-height: 170px;
    padding: 1.3rem;
    border: 1px solid #d0dee7;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
}

.ec-analysis-grid a:hover,
.ec-feature-links a:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.ec-analysis-grid strong {
    display: block;
    margin-top: 1rem;
    color: var(--primary-dark);
    font-size: 0.92rem;
}

.ec-analysis-grid p {
    margin: 0.45rem 0 0;
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.7;
}

.ec-publication {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr) auto;
    gap: 2rem;
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border: 1px solid #c9dbe8;
    border-left: 5px solid var(--primary-color);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.ec-publication h2 {
    font-size: 1.45rem;
}

.ec-publication > div > p:last-child {
    margin: 0.7rem 0 0;
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.75;
}

.ec-publication dl { margin: 0; }
.ec-publication dl div { display: grid; grid-template-columns: 60px 1fr; gap: 0.75rem; padding: 0.35rem 0; }
.ec-publication dt { color: #778a99; font-size: 0.65rem; font-weight: 700; }
.ec-publication dd { margin: 0; color: #345064; font-size: 0.68rem; font-weight: 600; line-height: 1.6; }
.ec-publication .archive-button { white-space: nowrap; }

@media (max-width: 1080px) {
    .ec-hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 4rem 0;
    }

    .ec-status-panel { max-width: 680px; }
    .ec-cycle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ec-cycle-grid li:nth-child(2n)::after { display: none; }
    .ec-cycle-grid li:nth-child(4)::after { display: none; }
    .ec-publication { grid-template-columns: 1fr 1fr; }
    .ec-publication .archive-button { justify-self: start; }
}

@media (max-width: 760px) {
    .ec-hero-inner { width: min(100% - 2rem, 1420px); }
    .ec-hero .event-back-link { margin-bottom: 2rem; }
    .ec-hero h1 { font-size: 2.4rem; }
    .ec-section-heading { grid-template-columns: 1fr; gap: 1rem; }
    .ec-section,
    .ec-contribution,
    .ec-boundaries { padding-top: 3.7rem; padding-bottom: 3.7rem; }
    .ec-contribution-grid,
    .ec-analysis-grid { grid-template-columns: 1fr; }
    .ec-finding-grid,
    .ec-boundary-grid,
    .ec-feature-links { grid-template-columns: 1fr; }
    .ec-publication { grid-template-columns: 1fr; margin-inline: 1rem; }
    .ec-publication .archive-button { white-space: normal; }
}

@media (max-width: 480px) {
    .ec-cycle-grid { grid-template-columns: 1fr; }
    .ec-cycle-grid li::after { display: none; }
    .ec-status-panel { padding: 1.35rem; }
    .ec-finding-grid article { min-height: 0; }
}

/* =========================================================
   CatcherX experience overview
========================================================= */

.system-experience {
    padding-top: 5rem;
    padding-bottom: 1rem;
}

.system-experience-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0.75rem;
    align-items: stretch;
}

.system-experience-flow article {
    position: relative;
    min-height: 210px;
    padding: 1.4rem;
    border: 1px solid #cbdce7;
    border-radius: 12px;
    background: #fff;
}

.system-experience-flow > i {
    display: grid;
    place-items: center;
    color: var(--primary-light);
    font-style: normal;
    font-size: 1.35rem;
}

.system-experience-flow span {
    color: #a0b4c2;
    font-family: Inter, sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
}

.system-experience-flow small {
    display: block;
    margin-top: 2rem;
    color: var(--primary-light);
    font-size: 0.66rem;
    font-weight: 700;
}

.system-experience-flow h3 {
    margin: 0.35rem 0;
    color: var(--primary-dark);
    font-size: 1rem;
}

.system-experience-flow p,
.system-experience-roles p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.8;
}

.system-experience-roles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.system-experience-roles article {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-light);
    border-radius: 0 10px 10px 0;
    background: #eaf5fc;
}

.system-experience-roles article:last-child {
    border-left-color: #3978a8;
    background: #edf3f7;
}

.system-experience-roles h3 {
    margin: 0.25rem 0 0.5rem;
    color: var(--primary-dark);
    font-size: 1rem;
}

.system-experience-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.system-experience-links a {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border: 1px solid #c7dbe8;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.system-experience-links span {
    color: var(--primary-color);
    white-space: nowrap;
}

.ec-experience {
    padding-top: 5.5rem;
    padding-bottom: 1rem;
}

.ec-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ec-experience-grid article {
    min-height: 215px;
    padding: 1.5rem;
    border: 1px solid #cbdce7;
    border-top: 4px solid var(--primary-light);
    border-radius: 11px;
    background: #fff;
}

.ec-experience-grid span {
    color: var(--primary-light);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.ec-experience-grid strong {
    display: block;
    margin-top: 1.5rem;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.ec-experience-grid p {
    margin: 0.65rem 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.85;
}

.ec-experience-output {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
    border: 1px solid #cbdce7;
    border-radius: 10px;
    background: var(--primary-dark);
    overflow: hidden;
}

.ec-experience-output div {
    padding: 1rem 1.2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.ec-experience-output div:first-child { border-left: 0; }
.ec-experience-output span { display: block; color: #8fc9ed; font-size: 0.62rem; font-weight: 700; }
.ec-experience-output strong { display: block; margin-top: 0.35rem; color: #fff; font-size: 0.78rem; line-height: 1.55; }

.experience-page {
    background: #f3f6f9;
}

.experience-hero {
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(62, 177, 234, 0.33), transparent 27%),
        radial-gradient(circle at 20% 100%, rgba(31, 128, 188, 0.25), transparent 34%),
        linear-gradient(125deg, #052f52 0%, #084a78 62%, #0b70a4 100%);
}

.experience-hero-inner {
    width: min(100% - 4rem, 1180px);
    min-height: 610px;
    margin: 0 auto;
    padding: 5.5rem 0;
}

.experience-eyebrow {
    margin: 0 0 1.4rem;
    color: #8fd2fb;
    font-family: Inter, sans-serif;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.experience-hero h1 {
    max-width: 960px;
    margin: 0;
    font-size: clamp(3rem, 6.4vw, 6rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.experience-hero h1 span {
    color: #8fd2fb;
}

.experience-hero-inner > p:not(.experience-eyebrow) {
    max-width: 830px;
    margin: 1.8rem 0 0;
    color: #d6eaf6;
    font-size: 1rem;
    line-height: 2;
}

.experience-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.8rem 0 2rem;
}

.experience-hero-tags span {
    padding: 0.38rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #e7f4fb;
    font-size: 0.7rem;
    font-weight: 700;
}

.experience-section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.experience-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 4rem;
    align-items: end;
    margin-bottom: 2.5rem;
}

.experience-section-heading h2 {
    margin: 0.25rem 0 0;
    color: var(--primary-dark);
    font-size: clamp(1.9rem, 3.3vw, 2.8rem);
    line-height: 1.42;
}

.experience-section-heading > p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.95;
}

.experience-section-heading.light h2 { color: #fff; }
.experience-section-heading.light > p { color: #c8ddea; }

.experience-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.experience-role-grid article {
    min-height: 310px;
    padding: 1.6rem;
    border: 1px solid #cbdce7;
    border-top: 4px solid var(--primary-light);
    border-radius: 12px;
    background: #fff;
}

.experience-role-grid article:nth-child(2) { border-top-color: #3978a8; }
.experience-role-grid article:nth-child(3) { border-top-color: #16845b; }
.experience-role-grid span { color: var(--primary-light); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; }
.experience-role-grid h3 { margin: 1.4rem 0 0.8rem; color: var(--primary-dark); }
.experience-role-grid ul { display: grid; gap: 0.55rem; margin: 0; padding-left: 1.1rem; color: var(--text-muted); font-size: 0.8rem; line-height: 1.75; }

.experience-pitch-section,
.experience-throw-section {
    padding: 5.5rem 0;
    color: #fff;
    background: var(--primary-dark);
}

.experience-pitch-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 0;
    list-style: none;
}

.experience-pitch-flow li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.8rem;
    min-height: 170px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
}

.experience-pitch-flow li > span {
    color: #86cdf6;
    font-family: Inter, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
}

.experience-pitch-flow small { color: #87c9f2; font-size: 0.64rem; font-weight: 700; }
.experience-pitch-flow strong { display: block; margin-top: 0.3rem; color: #fff; font-size: 0.92rem; }
.experience-pitch-flow p { margin: 0.5rem 0 0; color: #c8dce8; font-size: 0.74rem; line-height: 1.7; }

.experience-figure {
    margin: 2rem 0 0;
    overflow: hidden;
    border: 1px solid rgba(132, 180, 209, 0.38);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(2, 35, 59, 0.16);
}

.experience-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.experience-figure figcaption {
    display: grid;
    grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    color: #526b7a;
    background: #fff;
}

.experience-figure figcaption strong {
    color: var(--primary-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

.experience-figure figcaption span {
    font-size: 0.75rem;
    line-height: 1.8;
}

.experience-cycle-figure {
    margin-top: 2.5rem;
}

.experience-video-figure {
    margin-top: 1rem;
}

.experience-video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #031c2d;
}

.experience-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.experience-video-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    padding: 0.38rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(3, 34, 55, 0.8);
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    pointer-events: none;
}

.experience-video-source {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    justify-content: space-between;
    margin: 0;
    padding: 0 1.5rem 1.25rem;
    color: #718692;
    font-size: 0.66rem;
    line-height: 1.7;
}

.experience-video-source a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.experience-visual-explanation {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.62fr);
    gap: 1rem;
    align-items: stretch;
}

.experience-visual-explanation .experience-figure {
    margin: 0;
}

.experience-keypoint {
    padding: 1.7rem;
    border: 1px solid #b8d2e2;
    border-radius: 16px;
    background: #eaf4fa;
}

.experience-keypoint > span {
    color: var(--primary-light);
    font-family: Inter, sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.experience-keypoint h3 {
    margin: 1rem 0 0.7rem;
    color: var(--primary-dark);
    font-size: 1.15rem;
    line-height: 1.55;
}

.experience-keypoint p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.85;
}

.experience-keypoint dl {
    display: grid;
    gap: 0;
    margin: 1.3rem 0 0;
}

.experience-keypoint dl div {
    padding: 0.8rem 0;
    border-top: 1px solid #c4dae7;
}

.experience-keypoint dt {
    color: #145e8c;
    font-size: 0.72rem;
    font-weight: 700;
}

.experience-keypoint dd {
    margin: 0.25rem 0 0;
    color: #607988;
    font-size: 0.7rem;
    line-height: 1.55;
}

.experience-version-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.experience-version-grid article {
    min-height: 480px;
    padding: 1.8rem;
    border: 1px solid #c7dce9;
    border-radius: 14px;
    background: #fff;
}

.experience-version-grid article.wiss-version {
    border-color: #83bcdc;
    background: #eaf5fc;
}

.experience-version-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.experience-version-head span { color: var(--primary-color); font-family: Inter, sans-serif; font-size: 0.78rem; font-weight: 700; }
.experience-version-head small { padding: 0.3rem 0.55rem; border-radius: 999px; background: #e9f2f9; color: #245d88; font-size: 0.64rem; font-weight: 700; }
.experience-version-grid h3 { margin: 2rem 0 0.7rem; color: var(--primary-dark); font-size: 1.35rem; line-height: 1.55; }
.experience-version-grid p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.85; }
.experience-version-grid ul { display: grid; gap: 0.5rem; margin: 1.4rem 0; padding-left: 1.1rem; color: #486273; font-size: 0.78rem; }
.experience-version-grid a { color: var(--primary-color); font-size: 0.8rem; font-weight: 700; text-decoration: none; }

.experience-throw-section {
    background: linear-gradient(120deg, #063454, #075b87);
}

.experience-throw-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0.75rem;
    align-items: stretch;
}

.experience-throw-flow article {
    min-height: 190px;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
}

.experience-throw-flow > i { display: grid; place-items: center; color: #83cdf7; font-style: normal; }
.experience-throw-flow span { color: #85c9f1; font-size: 0.66rem; font-weight: 700; }
.experience-throw-flow strong { display: block; margin-top: 2rem; color: #fff; font-size: 0.96rem; }
.experience-throw-flow p { margin: 0.5rem 0 0; color: #c8dce8; font-size: 0.75rem; line-height: 1.7; }

.experience-scenarios {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.experience-scenarios span {
    padding: 0.42rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #d9edf8;
    font-size: 0.68rem;
    font-weight: 700;
}

.experience-wiss-figure {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    margin-top: 2rem;
    background: #fff;
}

.experience-wiss-figure figcaption {
    grid-template-columns: 1fr;
    align-content: center;
    order: 2;
    padding: 2rem;
}

.experience-wiss-crop {
    min-height: 340px;
    background-color: #d9e8f2;
    background-image: url('../images/experience/wiss2026-scene-source.png');
    background-repeat: no-repeat;
    background-size: 260% auto;
    background-position: 87% 41%;
}

.experience-purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.experience-purpose-grid article {
    min-height: 210px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-light);
    background: #fff;
}

.experience-purpose-grid span { color: var(--primary-light); font-size: 0.68rem; font-weight: 700; }
.experience-purpose-grid h3 { margin: 1.5rem 0 0.6rem; color: var(--primary-dark); font-size: 1rem; }
.experience-purpose-grid p { margin: 0; color: var(--text-muted); font-size: 0.78rem; line-height: 1.8; }

.experience-limit-note {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1.3rem 1.5rem;
    border: 1px solid #e0c87d;
    border-radius: 10px;
    background: #fff8e8;
}

.experience-limit-note strong { color: #8b5700; }
.experience-limit-note p { margin: 0; color: #6f5a28; font-size: 0.8rem; line-height: 1.8; }

@media (max-width: 1080px) {
    .site-nav { gap: 0.75rem; }
    .site-brand small { display: none; }
    .nav-links a { padding-inline: 0.55rem; font-size: 0.76rem; }

    .system-experience-flow,
    .experience-throw-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .system-experience-flow > i,
    .experience-throw-flow > i { display: none; }
    .ec-experience-output { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ec-experience-output div:nth-child(3) { border-top: 1px solid rgba(255, 255, 255, 0.13); border-left: 0; }
    .ec-experience-output div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.13); }
}

@media (max-width: 760px) {
    .system-experience-flow,
    .system-experience-roles,
    .system-experience-links,
    .ec-experience-grid,
    .experience-role-grid,
    .experience-pitch-flow,
    .experience-version-grid,
    .experience-purpose-grid {
        grid-template-columns: 1fr;
    }

    .system-experience { padding-top: 3.7rem; }
    .system-experience-flow article { min-height: 0; }
    .system-experience-links a { align-items: flex-start; flex-direction: column; }
    .ec-experience { padding-top: 3.7rem; }
    .ec-experience-grid article { min-height: 0; }
    .experience-hero-inner { width: min(100% - 2rem, 1180px); min-height: 0; padding: 4rem 0; }
    .experience-hero h1 { font-size: 2.7rem; }
    .experience-section-heading { grid-template-columns: 1fr; gap: 1rem; }
    .experience-section,
    .experience-pitch-section,
    .experience-throw-section { padding-top: 3.7rem; padding-bottom: 3.7rem; }
    .experience-role-grid article,
    .experience-version-grid article { min-height: 0; }
    .experience-limit-note { grid-template-columns: 1fr; gap: 0.6rem; }
    .experience-visual-explanation,
    .experience-wiss-figure { grid-template-columns: 1fr; }
    .experience-figure figcaption { grid-template-columns: 1fr; gap: 0.55rem; }
    .experience-wiss-crop { min-height: 300px; background-size: 285% auto; }
}

@media (max-width: 480px) {
    .ec-experience-output { grid-template-columns: 1fr; }
    .ec-experience-output div { border-top: 1px solid rgba(255, 255, 255, 0.13); border-left: 0; }
    .ec-experience-output div:first-child { border-top: 0; }
    .system-experience-flow,
    .experience-throw-flow { grid-template-columns: 1fr; }
    .experience-hero h1 { font-size: 2.35rem; }
    .experience-wiss-crop { min-height: 230px; }
}

/* ===== 9回裏の夢：社会実装構想 ===== */
.experience-afterword {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    padding: 1.15rem 1.3rem;
    border-top: 1px solid #b8ccda;
    border-bottom: 1px solid #b8ccda;
}

.experience-afterword span {
    color: #7890a0;
    font-family: Inter, sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.experience-afterword p {
    margin: 0;
    color: #5b7282;
    font-size: 0.76rem;
    line-height: 1.75;
}

.experience-afterword a {
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.experience-afterword a:hover { color: var(--primary-light); }

.ninth-page {
    background: #eef3f7;
    color: #173248;
}

.ninth-nav {
    border-bottom: 1px solid rgba(158, 197, 222, 0.16);
    background: #041e31;
}

.ninth-nav .site-brand,
.ninth-nav .nav-links a { color: #fff; }
.ninth-nav .site-brand small { color: #8fb5ce; }
.ninth-nav .brand-mark { border-color: rgba(255,255,255,.18); background: #0f5d8e; }

.ninth-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    min-height: 780px;
    padding: clamp(5rem, 8vw, 8rem) max(5vw, calc((100vw - 1180px) / 2));
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(4,30,49,.98), rgba(5,47,75,.92)),
        repeating-linear-gradient(0deg, transparent 0 47px, rgba(255,255,255,.04) 48px),
        repeating-linear-gradient(90deg, transparent 0 47px, rgba(255,255,255,.04) 48px);
}

.ninth-hero::after {
    position: absolute;
    right: -12vw;
    bottom: -28vw;
    width: 70vw;
    height: 70vw;
    border: 1px solid rgba(114, 190, 234, 0.2);
    border-radius: 50%;
    content: "";
}

.ninth-hero-copy,
.ninth-scoreboard { position: relative; z-index: 1; }

.ninth-overline {
    margin: 0 0 1.5rem;
    color: #80c9f2;
    font-family: Inter, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.ninth-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(3.2rem, 6.7vw, 6.2rem);
    line-height: 1.13;
    letter-spacing: -0.055em;
}

.ninth-hero h1 span { color: #8bd2f7; }

.ninth-lead {
    max-width: 780px;
    margin: 2.3rem 0 0;
    color: #c5dbe8;
    font-size: clamp(0.92rem, 1.5vw, 1.08rem);
    line-height: 2.2;
}

.ninth-scroll-link {
    display: inline-flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2.2rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.ninth-scroll-link span { color: #76c4ef; font-size: 1.15rem; }

.ninth-scoreboard {
    padding: 1.5rem;
    border: 1px solid rgba(155, 207, 237, 0.34);
    border-radius: 18px;
    background: rgba(2, 20, 33, 0.68);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(8px);
}

.ninth-scoreboard-top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.ninth-scoreboard-top span,
.ninth-scoreboard-top em {
    color: #7cbde1;
    font-family: Inter, sans-serif;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .14em;
}

.ninth-scoreboard-top strong {
    grid-row: span 2;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 4.8rem;
    line-height: .82;
}

.ninth-scoreboard-state {
    display: flex;
    gap: .45rem;
    align-items: center;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.ninth-scoreboard-state span { margin-left: .55rem; color: #91bad1; font: 700 .65rem Inter, sans-serif; }
.ninth-scoreboard-state span:first-child { margin-left: 0; }
.ninth-scoreboard-state i { width: 9px; height: 9px; border: 1px solid #4b7792; border-radius: 50%; }
.ninth-scoreboard-state i.active { border-color: #8bd2f7; background: #8bd2f7; box-shadow: 0 0 12px rgba(139, 210, 247, .45); }

.ninth-diamond {
    position: relative;
    width: 155px;
    height: 155px;
    margin: 2.3rem auto 1.5rem;
}

.ninth-diamond::before {
    position: absolute;
    inset: 23px;
    transform: rotate(45deg);
    border: 1px solid rgba(133,198,235,.55);
    content: "";
}

.ninth-diamond i {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #91d2f6;
    transform: rotate(45deg);
    background: #8bd2f7;
    box-shadow: 0 0 14px rgba(139, 210, 247, .24);
}

.ninth-diamond .base-second { top: -7px; left: calc(50% - 7px); }
.ninth-diamond .base-first { top: calc(50% - 7px); right: -7px; }
.ninth-diamond .base-third { top: calc(50% - 7px); left: -7px; }

.ninth-diamond .home-plate {
    position: absolute;
    bottom: -9px;
    left: calc(50% - 10px);
    width: 20px;
    height: 18px;
    clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
    background: #91d2f6;
}

.ninth-diamond .home-plate::after {
    position: absolute;
    inset: 2px;
    clip-path: inherit;
    background: #062a43;
    content: "";
}

.ninth-scoreboard > p {
    margin: 0;
    color: #d4e7f1;
    font-family: Inter, sans-serif;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: .15em;
    text-align: center;
}

.ninth-section { padding-top: 7rem; padding-bottom: 7rem; }

.ninth-opening {
    display: grid;
    grid-template-columns: minmax(130px, .25fr) minmax(0, 1fr);
    gap: 3rem;
}

.ninth-index {
    color: #7894a6;
    font-family: Inter, sans-serif;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.ninth-opening-copy { max-width: 850px; }
.ninth-opening-copy h2,
.ninth-section-heading h2,
.ninth-stakeholder-copy h2,
.ninth-final h2 {
    margin: .45rem 0 0;
    color: #063b60;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 1.35;
    letter-spacing: -.035em;
}

.ninth-opening-copy > p:not(.section-kicker) { color: #536e80; font-size: .9rem; line-height: 2.15; }
.ninth-opening-copy .ninth-large-copy { margin: 2.2rem 0 1.2rem; color: #234c66; font-size: clamp(1rem, 2vw, 1.25rem); }

.ninth-scenario {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
    gap: 2.5rem;
    margin-top: 3.2rem;
    padding: clamp(1.7rem, 4vw, 2.6rem);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #062c47, #0a5d87);
    box-shadow: 0 24px 60px rgba(11, 57, 84, .18);
}

.ninth-scenario h3 {
    margin: .55rem 0 1.2rem;
    color: #fff;
    font-size: clamp(1.65rem, 3.2vw, 2.45rem);
    line-height: 1.45;
    letter-spacing: -.025em;
}

.ninth-scenario-copy > p:not(.section-kicker) {
    margin: .8rem 0 0;
    color: #c8dfeb;
    font-size: .8rem;
    line-height: 1.95;
}

.ninth-scenario-facts {
    display: grid;
    align-content: start;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,.2);
}

.ninth-scenario-facts div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: .8rem;
    align-items: baseline;
    padding: .9rem 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.ninth-scenario-facts dt { color: #8fd4f6; font: 700 .58rem Inter, sans-serif; letter-spacing: .12em; }
.ninth-scenario-facts dd { margin: 0; color: #fff; font-size: .78rem; font-weight: 700; text-align: right; }

.ninth-dark-section,
.ninth-blue-section,
.ninth-roadmap-section {
    padding: 7rem 0;
    color: #fff;
    background: #061f31;
}

.ninth-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 3rem;
    align-items: end;
    margin-bottom: 3.5rem;
}

.ninth-section-heading.compact { margin-bottom: 2rem; }
.ninth-section-heading > p { margin: 0; color: #607b8d; font-size: .8rem; line-height: 1.9; }
.ninth-dark-section .ninth-section-heading h2,
.ninth-roadmap-section .ninth-section-heading h2,
.ninth-section-heading.light h2 { color: #fff; }
.ninth-dark-section .ninth-section-heading > p,
.ninth-roadmap-section .ninth-section-heading > p { color: #9fb8c7; }

.ninth-place-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(255,255,255,.14);
}

.ninth-place-grid article {
    min-height: 330px;
    padding: 2rem;
    background: #08283e;
}

.ninth-place-grid article > span { color: #72c5ef; font: 700 .68rem Inter, sans-serif; }
.ninth-place-grid small { display: block; margin-top: 2.5rem; color: #78a6c0; font: 700 .58rem Inter, sans-serif; letter-spacing: .14em; }
.ninth-place-grid h3 { margin: .55rem 0 .75rem; color: #fff; font-size: 1.35rem; }
.ninth-place-grid p { margin: 0; color: #b7ccd8; font-size: .8rem; line-height: 1.9; }
.ninth-place-grid strong { display: block; margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.11); color: #d9ebf4; font-size: .73rem; line-height: 1.8; }

.ninth-session-flow { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ninth-session-flow li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 2rem; padding: 1.6rem 0; border-top: 1px solid #bdced9; }
.ninth-session-flow li:last-child { border-bottom: 1px solid #bdced9; }
.ninth-session-flow span { color: #1770aa; font: 700 .62rem Inter, sans-serif; letter-spacing: .12em; }
.ninth-session-flow strong { display: block; color: #0a4268; font-size: 1.05rem; }
.ninth-session-flow p { margin: .45rem 0 0; color: #597385; font-size: .8rem; line-height: 1.85; }

.ninth-blue-section { background: linear-gradient(120deg, #063859, #0a6594); }
.ninth-stakeholder-layout { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: 4rem; }
.ninth-stakeholder-copy h2 { color: #fff; }
.ninth-stakeholder-copy > p:not(.section-kicker) { color: #c6e0ee; font-size: .82rem; line-height: 1.95; }
.ninth-stakeholder-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.ninth-stakeholder-grid article { min-height: 220px; padding: 1.5rem; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.07); }
.ninth-stakeholder-grid span { color: #8ed5f7; font: 700 .6rem Inter, sans-serif; letter-spacing: .14em; }
.ninth-stakeholder-grid h3 { margin: 2rem 0 .55rem; color: #fff; font-size: 1.05rem; }
.ninth-stakeholder-grid p { margin: 0; color: #d0e4ef; font-size: .76rem; line-height: 1.8; }

.ninth-condition-list { border-top: 1px solid #b9ccd8; }
.ninth-condition-list article { display: grid; grid-template-columns: 60px minmax(0, 1fr) 100px; gap: 2rem; align-items: center; padding: 1.35rem 0; border-bottom: 1px solid #b9ccd8; }
.ninth-condition-list article > span { color: #77a1ba; font: 700 .68rem Inter, sans-serif; }
.ninth-condition-list h3 { margin: 0; color: #093f64; font-size: 1.03rem; }
.ninth-condition-list p { margin: .35rem 0 0; color: #597485; font-size: .78rem; line-height: 1.8; }
.ninth-condition-list small { color: #397ca7; font: 700 .58rem Inter, sans-serif; letter-spacing: .12em; text-align: right; }

.ninth-roadmap-section { background: #08283d; }
.ninth-roadmap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.13); }
.ninth-roadmap article { min-height: 300px; padding: 1.6rem; background: #0a3048; }
.ninth-roadmap article.current { background: #0b5478; }
.ninth-roadmap article.done { box-shadow: inset 0 4px #3eb78a; }
.ninth-roadmap article.current { box-shadow: inset 0 4px #8bd2f7; }
.ninth-roadmap span { color: #85c9ec; font: 700 .6rem Inter, sans-serif; letter-spacing: .13em; }
.ninth-roadmap h3 { margin: 2.6rem 0 .7rem; color: #fff; font-size: 1.05rem; line-height: 1.55; }
.ninth-roadmap p { margin: 0; color: #bcd2de; font-size: .75rem; line-height: 1.85; }

.ninth-final { padding: 9rem 0; background: #eaf2f7; }
.ninth-final-inner { max-width: 930px; }
.ninth-final h2 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
.ninth-final-inner > p:not(.section-kicker) { max-width: 790px; margin: 2rem 0 0; color: #4d6a7c; font-size: .94rem; line-height: 2.2; }
.ninth-final-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.3rem; }
.ninth-final-links a { padding: .85rem 1.1rem; border: 1px solid #86a9be; color: #0a4d77; font-size: .75rem; font-weight: 700; text-decoration: none; }
.ninth-final-links a:hover { border-color: #0a4d77; background: #fff; }
.ninth-footer { border-top-color: #153a52; background: #041e31; }

@media (max-width: 900px) {
    .ninth-hero { grid-template-columns: 1fr; min-height: 0; }
    .ninth-scoreboard { width: min(100%, 430px); }
    .ninth-stakeholder-layout { grid-template-columns: 1fr; }
    .ninth-roadmap { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
    .experience-afterword { grid-template-columns: 1fr; gap: .45rem; }
    .ninth-hero { padding: 4.5rem 1.25rem; }
    .ninth-hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
    .ninth-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
    .ninth-opening,
    .ninth-section-heading,
    .ninth-place-grid,
    .ninth-scenario { grid-template-columns: 1fr; }
    .ninth-opening { gap: 1.5rem; }
    .ninth-section-heading { gap: 1rem; margin-bottom: 2rem; }
    .ninth-place-grid article { min-height: 0; }
    .ninth-session-flow li { grid-template-columns: 1fr; gap: .55rem; }
    .ninth-stakeholder-grid { grid-template-columns: 1fr; }
    .ninth-condition-list article { grid-template-columns: 42px minmax(0,1fr); gap: 1rem; }
    .ninth-condition-list small { grid-column: 2; text-align: left; }
    .ninth-roadmap { grid-template-columns: 1fr; }
    .ninth-roadmap article { min-height: 0; }
    .ninth-final { padding: 5.5rem 0; }
}
