:root {
    color-scheme: light;
    --bg: #f6f7f4;
    --surface: #ffffff;
    --surface-muted: #eef2ea;
    --text: #18211f;
    --muted: #5f6b66;
    --line: #dbe2dc;
    --accent: #0f6f68;
    --accent-strong: #0a4d49;
    --gold: #b47a1f;
    --shadow: 0 18px 50px rgb(23 35 31 / 10%);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.skip-link {
    left: 1rem;
    position: absolute;
    top: -5rem;
    z-index: 10;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    background: rgb(246 247 244 / 92%);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 5;
}

.nav {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1180px;
    padding: 1rem 1.25rem;
}

.brand {
    align-items: center;
    color: var(--accent-strong);
    display: inline-flex;
    gap: 0.55rem;
    font-weight: 800;
    text-decoration: none;
}

.brand img { display: block; flex: 0 0 auto; height: 30px; width: 30px; }

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 650;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--accent-strong);
}

.hero {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    margin: 0 auto;
    max-width: 1180px;
    min-height: 540px;
    padding: 5rem 1.25rem 3rem;
}

.hero-copy {
    align-self: center;
}

.eyebrow {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    font-size: clamp(2.7rem, 7vw, 3.2rem);
    line-height: 0.96;
    margin: 0;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
    margin: 0;
}

h3 {
    font-size: 1.15rem;
    margin: 0 0 0.6rem;
}

.lead {
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    margin: 1.25rem 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.button {
    border: 1px solid var(--line);
    border-radius: 8px;
    display: inline-flex;
    font-weight: 750;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.72rem 1rem;
    text-decoration: none;
}

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

.button.secondary {
    background: white;
    color: var(--accent-strong);
}

.button.compact {
    min-height: 2.35rem;
    padding: 0.48rem 0.75rem;
}

button.button {
    cursor: pointer;
    font: inherit;
}

.data-panel {
    align-self: end;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.4rem;
}

.data-panel h2 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.data-panel p {
    color: var(--muted);
    margin: 0;
}

.home-hero {
    align-items: center;
}

.home-panel {
    align-self: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.35rem;
}

.home-panel h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.home-stats div {
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.9rem;
}

.home-stats strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1;
}

.home-stats span,
.home-panel-note {
    color: var(--muted);
    font-size: 0.9rem;
}

.home-panel-note {
    margin: 1rem 0 0;
}

.home-followup {
    padding-top: 1rem;
}

/* Editorial home page */
.home-hero-v2 {
    background: #103f3b;
    border-radius: 22px;
    color: white;
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    margin: 2rem auto 0;
    max-width: 1340px;
    min-height: 650px;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 5.5rem);
    position: relative;
}

.home-hero-v2::before {
    background: radial-gradient(circle, rgb(255 255 255 / 9%) 1px, transparent 1.5px);
    background-size: 22px 22px;
    content: "";
    inset: 0 0 0 58%;
    opacity: 0.55;
    position: absolute;
}

.home-hero-main,
.home-data-preview { position: relative; z-index: 1; }
.home-hero-main { align-self: center; }

.home-kicker {
    color: #d8b36a;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    margin: 0 0 1.2rem;
    text-transform: uppercase;
}

.home-hero-v2 h1 {
    font-size: clamp(3rem, 6vw, 5.4rem);
    letter-spacing: -0.055em;
    line-height: 0.92;
    max-width: 760px;
}

.home-hero-v2 h1 em { color: #d8b36a; font-family: Georgia, serif; font-weight: 500; }
.home-hero-lead { color: #dbe9e6; font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 680px; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 2rem; }
.home-cta { border: 1px solid rgb(255 255 255 / 28%); border-radius: 999px; color: white; font-size: 0.9rem; font-weight: 800; padding: 0.78rem 1.05rem; text-decoration: none; }
.home-cta.primary { background: #f4efe5; border-color: #f4efe5; color: #103f3b; }
.home-cta span { margin-left: 0.55rem; }
.home-trust-list { color: #bad1cd; display: flex; flex-wrap: wrap; font-size: 0.78rem; gap: 0.5rem 1.3rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.home-trust-list li::before { color: #d8b36a; content: "●"; font-size: 0.55rem; margin-right: 0.45rem; vertical-align: 0.15em; }

.home-data-preview { align-self: center; background: #fafbf8; border: 1px solid rgb(255 255 255 / 30%); border-radius: 16px; box-shadow: 0 30px 80px rgb(0 0 0 / 25%); color: var(--text); padding: 1.35rem; transform: rotate(1.2deg); }
.preview-topline, .preview-school, .preview-score-label, .preview-scale { display: flex; justify-content: space-between; }
.preview-topline { color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.preview-badge, .preview-sector { background: #dcece8; border-radius: 999px; color: #0a4d49; padding: 0.2rem 0.5rem; }
.preview-school { align-items: center; border-bottom: 1px solid var(--line); margin-top: 1.2rem; padding-bottom: 1rem; }
.preview-school strong, .preview-type { display: block; }
.preview-school strong { font-size: 1.1rem; }
.preview-type { color: var(--gold); font-size: 0.7rem; font-weight: 850; text-transform: uppercase; }
.preview-sector { font-size: 0.72rem; font-weight: 800; }
.preview-score { margin-top: 1.15rem; }
.preview-score-label { align-items: end; color: var(--muted); font-size: 0.76rem; font-weight: 750; }
.preview-score-label strong { color: var(--text); font-size: 1.6rem; line-height: 1; }
.preview-score-label small { color: var(--muted); font-size: 0.68rem; }
.preview-gradient { background: linear-gradient(90deg, #e5ddd0, #b8c9c2, #0f6f68); border-radius: 99px; height: 9px; margin-top: 0.75rem; position: relative; }
.preview-gradient i { background: #0a4d49; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 2px #0a4d49; height: 16px; position: absolute; top: -3px; transform: translateX(-50%); width: 16px; }
.preview-scale { color: var(--muted); font-size: 0.6rem; margin-top: 0.35rem; }
.preview-kpis { display: grid; gap: 0.5rem; grid-template-columns: repeat(3, 1fr); margin-top: 1.15rem; }
.preview-kpis div { background: #edf1eb; border-radius: 7px; padding: 0.7rem; }
.preview-kpis span, .preview-kpis small { color: var(--muted); display: block; font-size: 0.6rem; }
.preview-kpis strong { display: block; font-size: 1rem; margin: 0.1rem 0; }
.preview-chart { align-items: end; border-bottom: 1px solid var(--line); display: flex; gap: 7%; height: 85px; margin-top: 1rem; padding: 0 5%; }
.preview-chart span { background: linear-gradient(#58a49c, #b8d4cf); border-radius: 4px 4px 0 0; flex: 1; }
.preview-caption { color: var(--muted); font-size: 0.65rem; margin: 0.6rem 0 0; }

.home-coverage { align-items: stretch; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 auto; max-width: 1180px; padding: 2.3rem 1.25rem; }
.home-coverage div { border-right: 1px solid var(--line); padding: 0 1.4rem; }
.home-coverage div:first-child { padding-left: 0; }
.home-coverage div:last-child { border: 0; }
.home-coverage strong, .home-coverage span { display: block; }
.home-coverage strong { color: var(--accent-strong); font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.04em; }
.home-coverage span { color: var(--muted); font-size: 0.75rem; }

.home-section { margin: 0 auto; max-width: 1180px; padding: 5rem 1.25rem; }
.home-section-heading { align-items: end; display: flex; gap: 3rem; justify-content: space-between; margin-bottom: 2rem; }
.home-section-heading > p { color: var(--muted); margin: 0; max-width: 470px; }
.home-path-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.home-path-card { background: white; border: 1px solid var(--line); border-radius: 14px; color: var(--text); min-height: 330px; overflow: hidden; padding: 1.5rem; position: relative; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.home-path-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.path-index { color: var(--muted); font-size: 0.7rem; font-weight: 800; }
.path-icon { align-items: center; background: #dcece8; border-radius: 50%; color: var(--accent-strong); display: flex; font-family: Georgia, serif; font-size: 2.2rem; height: 92px; justify-content: center; margin: 2rem 0; width: 92px; }
.home-path-card.lycee .path-icon { background: #eee3ce; color: #765321; }
.home-path-card.superior .path-icon { background: #dfe6ee; color: #344b63; }
.home-path-card h3 { font-size: 1.45rem; }
.home-path-card p { color: var(--muted); min-height: 3.8rem; }
.home-path-card > strong { color: var(--accent-strong); font-size: 0.85rem; }

.home-method-band { background: #e8ede6; display: grid; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: 0.7fr 1.3fr; margin: 2rem 0 0; padding: clamp(4rem, 8vw, 7rem) max(1.25rem, calc((100vw - 1180px) / 2)); }
.home-method-intro > p { color: var(--muted); font-size: 1.05rem; }
.home-method-intro > a { color: var(--accent-strong); font-weight: 800; }
.home-method-list article { align-items: center; border-top: 1px solid #c8d1c8; display: grid; gap: 1rem; grid-template-columns: 34px 1fr 110px; padding: 1.5rem 0; }
.home-method-list article > span { color: var(--gold); font-size: 0.7rem; font-weight: 850; }
.home-method-list h3, .home-method-list p { margin: 0; }
.home-method-list p { color: var(--muted); font-size: 0.88rem; }
.method-mini-bars { align-items: end; display: flex; gap: 5px; height: 48px; }
.method-mini-bars i { background: #4f918a; flex: 1; height: 55%; }
.method-mini-bars i:nth-child(2) { height: 85%; }.method-mini-bars i:nth-child(3) { height: 68%; }
.method-va { color: var(--accent-strong); font-size: 1.7rem; font-weight: 850; text-align: right; }.method-va small { font-size: 0.7rem; }
.method-context { background: linear-gradient(90deg, #dfd4bd, #aabdb4, #2c8078); border-radius: 99px; height: 9px; position: relative; }.method-context i { background: var(--accent-strong); border: 2px solid white; border-radius: 50%; height: 17px; left: 62%; position: absolute; top: -4px; width: 17px; }

.home-final { margin: 0 auto; max-width: 900px; padding: 7rem 1.25rem; text-align: center; }
.home-final > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }.home-final > div { display: flex; gap: 0.7rem; justify-content: center; margin-top: 2rem; }

.section {
    margin: 0 auto;
    max-width: 1180px;
    padding: 3.5rem 1.25rem;
}

.page {
    margin: 0 auto;
    max-width: 90%;
    min-height: 62vh;
    padding: 4.5rem 1.25rem 3.5rem;
}

.muted {
    background: var(--surface-muted);
    max-width: none;
}

.muted > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.section-heading {
    margin-bottom: 1.4rem;
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.2rem;
}

.feature-card p {
    color: var(--muted);
    margin: 0;
}

.link-grid a {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--accent-strong);
    font-weight: 750;
    padding: 1rem;
    text-decoration: none;
}

.prose h2 {
    font-size: 1.45rem;
    margin-top: 2rem;
}

.prose p {
    color: var(--muted);
    font-size: 1.05rem;
}

.table-wrap {
    overflow-x: auto;
}

.rankings-split {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.table-pane {
    min-width: 0;
}

.map-pane {
    min-width: 0;
    position: sticky;
    top: 5.5rem;
}

.map-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.map-header {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.map-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.map-header p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.map-dot-label {
    background: #e8f0ff;
    border-radius: 999px;
    color: #174ea6;
    flex: none;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 0.28rem 0.55rem;
}

.map-score-legend {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex: none;
    font-size: 0.72rem;
    font-weight: 800;
    gap: 0.35rem;
}

.map-score-bar {
    background: linear-gradient(
        to right,
        hsl(0, 72%, 45%),
        hsl(60, 72%, 45%),
        hsl(120, 72%, 45%)
    );
    border-radius: 999px;
    display: inline-block;
    height: 8px;
    width: 80px;
}

#college-map,
#lycee-map,
#higher-education-map,
#superieur-map {
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: block;
    height: clamp(360px, 52vh, 680px);
    overflow: hidden;
    width: 100%;
}

.map-empty {
    color: var(--muted);
    font-weight: 750;
    margin: 0.8rem 0 0;
}

.admin-page {
    max-width: 1380px;
}

.admin-summary,
.notice {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-top: 1.5rem;
    padding: 1rem;
}

.admin-summary {
    background: white;
    color: var(--muted);
}

.admin-summary p {
    margin: 0.2rem 0;
}

.notice.success {
    background: #eaf6ef;
    border-color: #b9ddc7;
    color: #145c31;
}

.notice.error {
    background: #fff0ed;
    border-color: #efb8ad;
    color: #8a2415;
}

.admin-table {
    margin-top: 1.5rem;
}

.filters {
    align-items: end;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.6rem 0 1rem;
    padding: 1rem;
}

.filters label {
    color: var(--muted);
    display: grid;
    font-size: 0.86rem;
    font-weight: 750;
    gap: 0.35rem;
}

.filters input,
.filters select {
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    font: inherit;
    min-height: 2.4rem;
    min-width: 12rem;
    padding: 0.45rem 0.6rem;
}

.filters .checkbox-filter {
    align-items: center;
    align-self: end;
    color: var(--text);
    display: flex;
    font-size: 0.9rem;
    font-weight: 750;
    gap: 0.55rem;
    min-height: 2.4rem;
}

.filters .checkbox-filter input {
    accent-color: var(--accent);
    height: 1rem;
    margin: 0;
    min-height: 0;
    min-width: 0;
    padding: 0;
    width: 1rem;
}

.free-search-control {
    align-items: end;
    display: flex;
    flex: 1 0 100%;
    gap: 1rem;
}

.filters .free-search-toggle {
    align-items: center;
    align-self: end;
    background: #edf1eb;
    border-radius: 999px;
    color: var(--accent-strong);
    cursor: pointer;
    display: flex;
    gap: 0.5rem;
    min-height: 2.4rem;
    padding: 0.45rem 0.8rem;
}

.filters .free-search-toggle input {
    accent-color: var(--accent);
    min-height: 0;
    min-width: 0;
    width: auto;
}

.free-search-field { display: none !important; flex: 1; }
.free-search-toggle:has(input:checked) + .free-search-field { display: grid !important; }
.free-search-field input { width: min(34rem, 100%); }

@media (max-width: 760px) {
    .free-search-control { align-items: stretch; flex-direction: column; }
    .filters .free-search-toggle { align-self: stretch; width: auto; }
}

.result-count {
    color: var(--muted);
    font-weight: 700;
}

.table-toolbar,
.pagination,
.page-size {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.table-toolbar {
    justify-content: space-between;
    margin-bottom: 1rem;
}

.page-size {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 750;
}

.page-size a {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-width: 2.4rem;
    padding: 0.35rem 0.55rem;
    text-align: center;
    text-decoration: none;
}

.page-size a.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.pagination {
    justify-content: center;
    margin-top: 1.2rem;
}

.pagination span:not(.button) {
    color: var(--muted);
    font-weight: 800;
}

.button.disabled {
    opacity: 0.45;
    pointer-events: none;
}

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

.dataset-id,
.dataset-description {
    color: var(--muted);
    display: block;
    font-size: 0.86rem;
    margin-top: 0.25rem;
}

.status-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.22rem 0.55rem;
}

.status-badge.success {
    background: #dff3e7;
    color: #145c31;
}

.status-badge.pending {
    background: #f1eee6;
    color: #6b5322;
}

.status-badge.error {
    background: #f7dede;
    color: #8a1c1c;
}

/* Admin dashboard — base state (D7) */
.admin-base {
    margin: 1.25rem 0;
}

.admin-base-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 0.9rem;
    color: var(--accent-strong);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 1rem;
    background: white;
    border: 1px solid #e6e1d6;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.stat-count {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-strong);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.82rem;
    color: #5b5749;
}

table {
    background: white;
    border-collapse: collapse;
    border-radius: 8px;
    min-width: 760px;
    overflow: hidden;
    width: 100%;
}

caption {
    font-weight: 800;
    margin-bottom: 0.8rem;
    text-align: left;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 0.9rem;
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--surface-muted);
    font-size: 0.9rem;
}

.sort-link {
    color: var(--text);
    display: inline-flex;
    font-weight: 850;
    text-decoration: none;
}

.sort-link:hover,
.sort-link.active {
    color: var(--accent-strong);
    text-decoration: underline;
}

.table-link {
    color: var(--accent-strong);
    font-weight: 750;
    text-decoration: none;
}

.table-link:hover {
    text-decoration: underline;
}

.detail-actions {
    margin-top: 1.4rem;
}

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

.detail-panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.2rem;
    position: relative;
    /* Grid item: allow shrinking below content min-content so inner scroll
       containers (tables) handle their own overflow instead of pushing width. */
    min-width: 0;
}

.detail-panel h2 {
    font-size: 1.2rem;
    margin: 0 0 1rem;
    padding-right: 2rem;
}

/* Editorial school profile */
.profile-page { max-width: none; padding: 2rem 0 5rem; }
.profile-hero { background: #103f3b; border-radius: 22px; color: white; display: grid; gap: clamp(2.5rem, 7vw, 7rem); grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr); margin: 0 auto; max-width: 1520px; min-height: 440px; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem); position: relative; width: calc(100% - 2.5rem); }
.profile-hero::after { background: radial-gradient(circle, rgb(255 255 255 / 9%) 1px, transparent 1.5px); background-size: 22px 22px; content: ""; inset: 0 0 0 60%; position: absolute; }.profile-hero > * { align-self: center; position: relative; z-index: 1; }
.profile-back { color: #bfd2cf; display: inline-block; font-size: 0.78rem; font-weight: 750; margin-bottom: 2rem; text-decoration: none; }.profile-hero h1 { font-size: clamp(2.7rem, 5.5vw, 4.8rem); letter-spacing: -0.05em; line-height: 0.94; max-width: 850px; }.profile-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem; }.profile-badges span { border: 1px solid rgb(255 255 255 / 25%); border-radius: 99px; color: #e3eeec; font-size: 0.7rem; font-weight: 800; padding: 0.3rem 0.6rem; }.profile-location { color: #d6e4e1; font-size: 0.9rem; margin: 1rem 0 0; }.profile-hero-note { color: #a9c5c0; font-size: 0.82rem; max-width: 650px; }
.profile-hero-official { background: #f8f9f5; border-radius: 14px; color: var(--text); padding: 1.4rem; }.profile-hero-official > span { color: var(--gold); display: block; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; margin-bottom: 1rem; text-transform: uppercase; }.hero-official-track + .hero-official-track { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }.hero-official-track header { align-items: baseline; display: flex; gap: 0.6rem; justify-content: space-between; }.hero-official-track header small { color: var(--muted); font-size: 0.62rem; }.hero-official-kpis { display: grid; gap: 0.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0.65rem; }.hero-official-kpis div { background: #edf1eb; border-radius: 8px; padding: 0.65rem; }.hero-official-kpis small, .hero-official-kpis strong, .hero-official-kpis em { display: block; }.hero-official-kpis small { color: var(--muted); font-size: 0.6rem; }.hero-official-kpis strong { font-size: 1.15rem; }.hero-official-kpis em { color: var(--muted); font-size: 0.62rem; font-style: normal; font-weight: 750; }.hero-official-kpis em.va-up { color: #145c31; }.hero-official-kpis em.va-down { color: #8a2415; }.hero-official-ips { border-top: 1px solid var(--line); color: var(--text) !important; font-size: 0.72rem; margin: 1rem 0 0 !important; padding-top: 0.8rem; }.hero-official-ips span { color: var(--muted); }
.hero-official-kpis .hero-mention-distribution { padding: 0.65rem; }.hero-mention-bar { background: white; border-radius: 99px; display: flex; height: 7px; margin: 0.55rem 0; overflow: hidden; padding: 0 !important; }.hero-mention-bar i { display: block; height: 100%; }.hero-mention-distribution ul { display: grid; gap: 0.12rem; list-style: none; margin: 0; padding: 0; }.hero-mention-distribution li { align-items: center; display: grid; font-size: 0.52rem; grid-template-columns: 7px 1fr auto; gap: 0.3rem; }.hero-mention-distribution li > i { border-radius: 2px; height: 6px; width: 6px; }.hero-mention-distribution li span { color: var(--muted); }.hero-mention-distribution li strong { font-size: 0.55rem; }
.profile-nav { background: rgb(246 247 244 / 94%); border-bottom: 1px solid var(--line); display: flex; gap: 1.5rem; margin: 0 auto; max-width: 1520px; overflow-x: auto; padding: 1rem 1.25rem; position: sticky; scrollbar-width: none; top: 57px; white-space: nowrap; width: calc(100% - 2.5rem); z-index: 4; }.profile-nav::-webkit-scrollbar { display: none; }.profile-nav a { color: var(--muted); flex: 0 0 auto; font-size: 0.78rem; font-weight: 800; text-decoration: none; }.profile-nav a:hover { color: var(--accent-strong); }
.profile-intro { align-items: center; display: grid; gap: 2rem; grid-template-columns: 180px 1fr; margin: 0 auto; max-width: 1520px; padding: 3rem 1.25rem 1rem; width: calc(100% - 2.5rem); }.profile-intro p { margin: 0; }.profile-intro p:last-child { color: var(--muted); max-width: 900px; }
.profile-page .detail-grid { gap: 1.25rem; margin: 0 auto; max-width: 1520px; padding: 1rem 1.25rem; width: calc(100% - 2.5rem); }.profile-page .detail-panel { border-radius: 14px; padding: clamp(1.25rem, 3vw, 2rem); scroll-margin-top: 7rem; }.profile-page .detail-panel h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.profile-results-section { grid-column: 1 / -1; order: 1; }.profile-results-section > p { max-width: 900px; }.profile-results-section .track-card { background: #edf1eb; border: 0; border-radius: 12px; padding: 1.3rem; }.profile-results-section .kpi { border: 0; border-radius: 9px; padding: 1rem; }.profile-results-section .kpi-value { font-size: clamp(1.65rem, 3vw, 2.15rem); }
.profile-context-section { background: #eee7d9; border-color: #ded2bd; grid-column: 1 / -1; order: 2; }.profile-context-section > p { color: #655d50; max-width: 800px; }.profile-context-section .ips-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }.profile-context-section .ips-evolution-col { margin-top: 0; }
.profile-evolution-section { order: 3; }.profile-evolution-section .evolution-chart { border: 0; }.profile-score-section { background: #eef2ea; order: 4; }.profile-score-section .profile-score-legend { margin: 1rem 0; }.profile-score-section .score-details { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 1rem; }.profile-extra-section { order: 5; }.profile-info-panel { order: 6; }.profile-info-panel h2 { font-size: 1.25rem !important; }.profile-info-panel .detail-list { font-size: 0.9rem; }
.score-gauge-explanation { color: var(--muted); font-size: 0.76rem; margin-top: 0.8rem !important; }.score-gauge-explanation span::before { content: "│"; font-weight: 900; margin-right: 0.25rem; }.score-gauge-explanation .department::before { color: #b47a1f; }.score-gauge-explanation .national::before { color: #5f6b66; }
.score-index-overview { margin-top: 1rem; }.score-ranks { background: linear-gradient(145deg, #17746d, #245f5a); border-radius: 14px; color: white; float: right; margin: -2.5rem 0 1rem 1.5rem; padding: 1.1rem; width: min(300px, 34%); }.score-ranks header span { color: #d1ebe6; font-size: 0.65rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }.score-ranks h3 { color: white; font-size: 1.2rem; margin: 0.15rem 0 0.8rem; }.score-rank-list { display: grid; gap: 0.5rem; }.score-rank-item { align-items: center; background: rgb(255 255 255 / 12%); border-left: 3px solid #a9d6ce; border-radius: 8px; color: white; display: flex; justify-content: space-between; padding: 0.55rem 0.7rem; text-decoration: none; transition: background-color 120ms ease, transform 120ms ease; }.score-rank-item:hover, .score-rank-item:focus-visible { background: rgb(255 255 255 / 21%); transform: translateX(2px); }.score-rank-item.department { border-color: #e0b866; }.score-rank-item.commune { border-color: #f0d7a2; }.score-rank-item > span { font-size: 0.74rem; font-weight: 750; }.score-rank-item p { align-items: baseline; display: flex; gap: 0.2rem; margin: 0; }.score-rank-item strong { color: white; font-family: Georgia, serif; font-size: 1.45rem; line-height: 1; }.score-rank-item small { color: #d1ebe6; font-size: 0.7rem; }.score-rank-item i { color: #d1ebe6; font-size: 0.8rem; font-style: normal; margin-left: 0.2rem; }.score-ranks > p { color: #d1ebe6; font-size: 0.66rem; line-height: 1.35; margin: 0.8rem 0 0; }.score-history-grid { align-items: start; display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }.score-history-grid > * { min-width: 0; }.score-evolution-panel { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; padding: 1rem; }.score-evolution-panel h3 { margin: 0; }.score-evolution-panel > p { color: var(--muted); font-size: 0.75rem; }.score-evolution-panel .evolution-chart { border: 0; display: block; margin-top: 0.5rem; max-width: 100%; width: 100%; }.score-evolution-warning { background: #f3eee5; border-left: 3px solid var(--gold); padding: 0.55rem 0.7rem; }
.score-evolution-table-wrap { border-top: 1px solid var(--line); margin-top: 0.4rem; padding-top: 0.6rem; }.score-evolution-table { border-collapse: collapse; font-size: 0.72rem; width: 100%; }.score-evolution-table th, .score-evolution-table td { border-bottom: 1px solid var(--line); padding: 0.38rem 0.45rem; text-align: left; }.score-evolution-table th:nth-child(2), .score-evolution-table td:nth-child(2), .score-evolution-table th:last-child, .score-evolution-table td:last-child { text-align: right; }.score-data-status { border-radius: 99px; display: inline-block; font-size: 0.62rem; font-weight: 800; padding: 0.18rem 0.42rem; }.score-data-status.complete { background: #dff0e7; color: #145c31; }.score-data-status.incomplete { background: #f3e7cf; color: #765321; }
.score-history-grid > .score-evolution-table-wrap { background: white; border: 1px solid var(--line); border-radius: 10px; box-sizing: border-box; margin-top: 0; max-width: 100%; min-width: 0; overflow: hidden; padding: 1rem; width: 100%; }.score-history-grid .score-evolution-table { max-width: 100%; min-width: 0; table-layout: fixed; width: 100%; }.score-evolution-table .score-year-col { width: 28%; }.score-evolution-table .score-value-col { width: 25%; }.score-evolution-table .score-status-col { width: 47%; }.score-history-grid .score-evolution-table th, .score-history-grid .score-evolution-table td { overflow: hidden; overflow-wrap: anywhere; white-space: normal; word-break: normal; }.score-history-grid .score-data-status { box-sizing: border-box; max-width: 100%; white-space: normal; }

/* Higher-education establishment profile */
.higher-profile-hero { min-height: 500px; }
.higher-hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.higher-hero-overview { background: #f8f9f5; border-radius: 14px; color: var(--text); padding: 1.4rem; }
.higher-hero-overview > span { color: var(--gold); display: block; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; margin-bottom: 1rem; text-transform: uppercase; }
.higher-overview-grid { display: grid; gap: 0.65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.higher-overview-grid div { background: #edf1eb; border-radius: 9px; min-width: 0; padding: 0.9rem; }
.higher-overview-grid strong, .higher-overview-grid small { display: block; }.higher-overview-grid strong { color: var(--accent-strong); font-size: 1.8rem; letter-spacing: -0.04em; line-height: 1; }.higher-overview-grid small { color: var(--muted); font-size: 0.67rem; margin-top: 0.25rem; }.higher-overview-grid p { color: var(--muted); font-size: 0.68rem; margin: 0.6rem 0 0; }.higher-overview-empty { color: var(--muted); font-size: 0.85rem; }
.higher-profile-page .detail-grid { align-items: start; }
.higher-parcoursup-section { order: 1; }.higher-master-section { background: #eef2ea; order: 2; }.higher-insertion-section { background: #eee7d9; border-color: #ded2bd; order: 3; }.higher-enrollment-section { order: 4; }.higher-info-panel { order: 5; }.higher-sources-panel { grid-column: 1 / -1; order: 6; }
.higher-profile-page .detail-panel h3 { color: var(--accent-strong); }
.higher-profile-page .kpi { border: 0; background: var(--surface-muted); padding: 1rem; }.higher-profile-page .higher-master-section .kpi { background: white; }
.higher-profile-page .detail-list { background: rgb(246 247 244 / 70%); border-radius: 10px; padding: 0.5rem 1rem; }.higher-profile-page .higher-master-section .detail-list, .higher-profile-page .higher-insertion-section .detail-list { background: white; }
.higher-info-panel h2, .higher-sources-panel h2 { font-size: 1.25rem !important; }.higher-info-panel .detail-list { background: transparent; font-size: 0.9rem; padding: 0; }

/* « i » transparency badge: shows the open-data source behind a panel. */
.source-badge {
    position: absolute;
    right: 0.9rem;
    top: 1rem;
}

.source-badge > summary {
    align-items: center;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.82rem;
    font-style: italic;
    font-weight: 700;
    height: 1.45rem;
    justify-content: center;
    list-style: none;
    width: 1.45rem;
}

.source-badge > summary::-webkit-details-marker {
    display: none;
}

.source-badge > summary:hover,
.source-badge[open] > summary {
    border-color: var(--accent);
    color: var(--accent-strong);
}

.source-popover {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 300px;
    padding: 0.75rem 0.9rem;
    position: absolute;
    right: 0;
    top: 1.9rem;
    width: max-content;
    z-index: 4;
}

.source-popover-title {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin: 0 0 0.4rem !important;
    text-transform: uppercase;
}

.source-popover ul {
    margin: 0;
    padding-left: 1rem;
}

.source-popover li {
    margin: 0.25rem 0;
}

.source-popover a {
    color: var(--accent-strong);
    font-size: 0.9rem;
    font-weight: 650;
}

.detail-panel p {
    color: var(--muted);
    margin: 0;
}

/* Breathing room for sub-headings that follow a list/table inside a panel
   (e.g. « Profil des admis », « Dynamique d'admission », « Formations affichées »). */
.detail-panel > h3 {
    margin-top: 1.5rem;
}

.detail-explore {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.1rem 0 0;
}

.insersup-trend {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.insersup-spark {
    display: block;
    flex: none;
    height: 30px;
    width: 104px;
}

.insersup-latest {
    font-weight: 800;
    white-space: nowrap;
}

.score-table td.insersup-diploma {
    max-width: 280px;
    min-width: 180px;
    width: 280px;
    white-space: normal;
}

.insersup-diploma-label {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--muted);
    display: -webkit-box;
    font-size: 0.72rem;
    line-height: 1.25;
    margin-top: 0.2rem;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: normal;
}

.detail-explore-note {
    font-size: 0.85rem;
    margin: 0.6rem 0 0 !important;
}

/* Client-side sortable table headers (detail-page tables). */
.th-sortable {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.th-sortable:hover {
    color: var(--accent-strong);
}

.th-sortable::after {
    content: " ↕";
    color: var(--muted);
    font-size: 0.85em;
    opacity: 0.45;
}

.th-sortable[aria-sort="ascending"]::after {
    content: " ↑";
    opacity: 1;
}

.th-sortable[aria-sort="descending"]::after {
    content: " ↓";
    opacity: 1;
}

.indicator-period {
    font-weight: 800;
    margin-top: 0.8rem !important;
}

.detail-wide {
    grid-column: 1 / -1;
}

/* Lycée baccalauréat results profile */
.track-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 1.1rem;
}

.track-card {
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.1rem;
}

.track-head {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.track-head h3 {
    font-size: 1.05rem;
    margin: 0;
}

.track-meta {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 750;
}

.kpi-row {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.kpi {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.75rem;
}

.kpi-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.kpi-value {
    font-size: 1.55rem;
    font-weight: 850;
    line-height: 1;
}

.va-badge {
    align-self: flex-start;
    background: var(--surface-muted);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.12rem 0.5rem;
}

.va-badge.va-up {
    background: #dff3e7;
    color: #145c31;
}

.va-badge.va-down {
    background: #fbe4de;
    color: #8a2415;
}

.mention-dist {
    margin-top: 1.1rem;
}

.mention-dist-title {
    color: var(--muted);
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.mention-bar {
    background: var(--surface);
    border-radius: 999px;
    display: flex;
    height: 15px;
    overflow: hidden;
    width: 100%;
}

.mention-seg {
    display: block;
    height: 100%;
    min-width: 2px;
}

.mention-seg + .mention-seg {
    box-shadow: inset 1px 0 0 rgb(255 255 255 / 55%);
}

.mention-legend {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    gap: 0.3rem 1rem;
    list-style: none;
    margin: 0.65rem 0 0;
    padding: 0;
}

.mention-legend li {
    align-items: center;
    display: flex;
}

.mention-legend strong {
    color: var(--text);
    margin-left: 0.35rem;
}

.mention-swatch {
    border-radius: 3px;
    display: inline-block;
    height: 11px;
    margin-right: 0.35rem;
    width: 11px;
}

.exam-references {
    border-top: 1px solid var(--line);
    margin-top: 1.25rem;
    padding-top: 1rem;
}

.exam-references h4 {
    font-size: 0.9rem;
    margin: 0 0 0.8rem;
}

.exam-reference + .exam-reference {
    margin-top: 1rem;
}

.exam-reference header {
    align-items: baseline;
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.exam-reference header span,
.reference-note {
    color: var(--muted);
    font-size: 0.78rem;
}

.reference-kpis .kpi {
    padding: 0.6rem;
}

.reference-kpis .kpi-value {
    font-size: 1.15rem;
}

.reference-note {
    margin: 0.9rem 0 0;
}

.enrollment-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    margin-top: 1rem;
}

.enrollment-layout > * {
    min-width: 0;
}

.enrollment-layout table {
    min-width: 0;
}

.enrollment-chart {
    min-width: 0;
}

.detail-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.detail-list div {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.35rem;
    grid-template-columns: 10rem minmax(0, 1fr);
    padding-top: 0.8rem;
}

.detail-list div:first-child {
    border-top: 0;
    padding-top: 0;
}

.detail-list dt {
    color: var(--muted);
    font-weight: 800;
}

.detail-list dd {
    margin: 0;
}

.indicator-list dd {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.score-breakdown {
    border-top: 1px solid var(--line);
    margin-top: 1.2rem;
    padding-top: 1.2rem;
}

.score-gauge {
    margin-top: 1.5rem;
    max-width: 800px;
    padding: 1.7rem 0 0.2rem;
}

.score-gauge-bar {
    background: linear-gradient(90deg, #e5ddd0 0%, #b8c9c2 50%, #0f6f68 100%);
    border-radius: 999px;
    height: 16px;
    position: relative;
}

.score-gauge-primary,
.score-gauge-marker {
    position: absolute;
    transform: translateX(-50%);
}

.score-gauge-primary {
    background: #0a4d49;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #0a4d49;
    height: 22px;
    top: -3px;
    width: 22px;
    z-index: 2;
}

.score-gauge-primary span {
    bottom: 25px;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 850;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.score-gauge-marker {
    border-left: 3px solid #b47a1f;
    height: 24px;
    top: -4px;
}

.score-gauge-marker.national {
    border-color: #5f6b66;
}
.score-gauge-marker.min {
    border-left-style: dashed;
}

.score-gauge-scale {
    color: var(--muted);
    display: flex;
    font-size: 0.72rem;
    font-weight: 750;
    justify-content: space-between;
    margin-top: 0.25rem;
}

.score-gauge-legend {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 0.35rem 1.2rem;
    list-style: none;
    margin: 0.8rem 0 0;
    padding: 0;
}

.score-gauge-legend li::before {
    color: #b47a1f;
    content: "│";
    font-weight: 900;
    margin-right: 0.3rem;
}

.score-gauge-legend li.national::before {
    color: #5f6b66;
}
.score-gauge-legend li.min::before {
    content: "┊";
}
.score-gauge-legend li.primary::before {
    color: #0a4d49;
    content: "●";
}
.score-gauge-legend strong {
    margin-left: 0.25rem;
}

.score-details {
    border-top: 1px solid var(--line);
    margin-top: 1.3rem;
    padding-top: 1rem;
}

.score-details > summary {
    color: var(--accent-strong);
    cursor: pointer;
    font-weight: 800;
}

.score-details-content {
    margin-top: 0.5rem;
}

.score-breakdown h3 {
    font-size: 1.02rem;
    margin: 0 0 0.6rem;
}

.score-step {
    font-weight: 800;
    margin: 1rem 0 0.5rem !important;
}

.score-table {
    font-size: 0.88rem;
    min-width: 0;
}

.score-table th,
.score-table td {
    padding: 0.5rem 0.7rem;
}

.score-table td:not(:first-child),
.score-table th:not(:first-child) {
    text-align: right;
    white-space: nowrap;
}

.score-recap {
    color: var(--muted);
    margin: 0.7rem 0 0;
    padding-left: 1.1rem;
}

.score-recap li {
    margin: 0.2rem 0;
}

.score-total {
    font-weight: 800;
    margin-top: 0.9rem !important;
}

.method-accordion {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.4rem;
}

.method-accordion details {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1rem 1.1rem;
}

.method-accordion summary {
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 850;
}

/* Editorial methodology pages */
.method-hero {
    background: #103f3b;
    border-radius: 22px;
    color: white;
    display: grid;
    gap: clamp(3rem, 8vw, 8rem);
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    margin: 2rem auto 0;
    max-width: 1340px;
    min-height: 470px;
    overflow: hidden;
    padding: clamp(3rem, 6vw, 5.5rem);
    position: relative;
}

.method-hero::after { background: radial-gradient(circle, rgb(255 255 255 / 9%) 1px, transparent 1.5px); background-size: 22px 22px; content: ""; inset: 0 0 0 60%; position: absolute; }
.method-hero > * { align-self: center; position: relative; z-index: 1; }
.method-hero h1 { font-size: clamp(2.8rem, 5.7vw, 5rem); letter-spacing: -0.05em; line-height: 0.94; }
.method-hero h1 em { color: #d8b36a; font-family: Georgia, serif; font-weight: 500; }
.method-hero > div > p:last-child { color: #dbe9e6; font-size: 1.15rem; max-width: 720px; }
.method-hero-note { background: rgb(255 255 255 / 9%); border: 1px solid rgb(255 255 255 / 18%); border-radius: 14px; padding: 1.5rem; }
.method-hero-note span, .method-hero-note strong { display: block; }
.method-hero-note > span { color: #d8b36a; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.method-hero-note strong { font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; line-height: 1.25; margin-top: 0.8rem; }
.method-hero-scale { background: linear-gradient(90deg, #d8b36a, #76aaa4); border-radius: 99px; height: 7px; margin-top: 1.5rem; position: relative; }
.method-hero-scale i { background: white; border-radius: 50%; height: 15px; left: 65%; position: absolute; top: -4px; width: 15px; }

.method-layout { display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: 220px minmax(0, 1fr); margin: 0 auto; max-width: 1180px; padding: 5rem 1.25rem 7rem; }
.method-toc { align-self: start; display: flex; flex-direction: column; gap: 0.7rem; position: sticky; top: 6rem; }
.method-toc span { color: var(--gold); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; margin-bottom: 0.4rem; text-transform: uppercase; }
.method-toc a { border-left: 2px solid var(--line); color: var(--muted); font-size: 0.85rem; padding-left: 0.8rem; text-decoration: none; }
.method-toc a:hover { border-color: var(--accent); color: var(--accent-strong); }
.method-content { min-width: 0; }
.method-chapter { border-top: 1px solid var(--line); display: grid; gap: 1.5rem; grid-template-columns: 48px minmax(0, 1fr); padding: 3.2rem 0; scroll-margin-top: 6rem; }
.method-chapter:first-child { border-top: 0; padding-top: 0; }
.method-number { color: var(--gold); font-size: 0.75rem; font-weight: 850; padding-top: 0.35rem; }
.method-chapter h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); }
.method-chapter h3 { color: var(--accent-strong); font-size: 1.15rem; margin: 2rem 0 0.45rem; }.method-chapter ul { color: var(--muted); line-height: 1.65; max-width: 780px; padding-left: 1.2rem; }.method-chapter li + li { margin-top: 0.45rem; }.method-chapter code { background: #e7eeea; border-radius: 4px; color: var(--accent-strong); padding: 0.1rem 0.3rem; }.method-chapter.featured .method-link { color: var(--accent); }
.method-chapter > div:last-child > p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; max-width: 780px; }
.method-comparison { display: grid; gap: 0.8rem; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
.method-comparison > div { background: white; border: 1px solid var(--line); border-radius: 12px; min-height: 210px; padding: 1.2rem; }
.method-comparison span, .method-comparison strong { display: block; }.method-comparison span { color: var(--gold); font-size: 0.68rem; font-weight: 850; text-transform: uppercase; }.method-comparison strong { font-size: 1.15rem; margin-top: 0.35rem; }.method-comparison p { color: var(--muted); font-size: 0.83rem; }
.method-bars { align-items: end; display: flex; gap: 6px; height: 55px; }.method-bars i { background: #75aaa4; flex: 1; height: 50%; }.method-bars i:nth-child(2) { height: 75%; }.method-bars i:nth-child(3) { height: 62%; }.method-bars i:nth-child(4) { height: 90%; }
.method-delta { color: var(--accent-strong); font-size: 2.5rem; font-weight: 850; margin-top: 1.7rem; }.method-delta small { font-size: 0.75rem; }
.method-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }.method-tags span { background: #e2ece8; border-radius: 99px; color: var(--accent-strong); font-size: 0.75rem; font-weight: 800; padding: 0.4rem 0.65rem; }
.method-ips-demo { align-items: center; color: var(--muted); display: grid; font-size: 0.7rem; gap: 0.8rem; grid-template-columns: auto 1fr auto; margin-top: 1.5rem; }.method-ips-demo div { background: linear-gradient(90deg, #dfd4bd, #aabdb4, #2c8078); border-radius: 99px; height: 10px; position: relative; }.method-ips-demo i { background: var(--accent-strong); border: 2px solid white; border-radius: 50%; height: 19px; left: 59%; position: absolute; top: -5px; width: 19px; }
.method-chapter.accent, .method-chapter.warning { border: 0; border-radius: 14px; margin: 1.5rem 0; padding: 2rem; }.method-chapter.accent { background: #103f3b; color: white; }.method-chapter.accent p:not(.eyebrow) { color: #d2e1de !important; }.method-chapter.warning { background: #eee7d9; }.method-link { color: #f2d28f; display: inline-flex; font-weight: 800; gap: 0.6rem; margin-top: 0.7rem; }

.formula-preview { align-items: stretch; background: #f8f9f5; border-radius: 14px; color: var(--text); display: grid; gap: 0.6rem; grid-template-columns: 1fr; padding: 1.2rem; }
.formula-preview div { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 0.8rem; }.formula-preview span, .formula-preview strong { display: block; }.formula-preview span { color: var(--muted); font-size: 0.7rem; }.formula-preview b { color: var(--gold); font-size: 1.3rem; line-height: 0.7; text-align: center; }.formula-preview .formula-total { background: #dcece8; border-color: #b9d6d1; }
.score-method-principles { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto; max-width: 1180px; padding: 2.5rem 1.25rem; }.score-method-principles div { border-right: 1px solid var(--line); padding: 0 1.5rem; }.score-method-principles div:first-child { padding-left: 0; }.score-method-principles div:last-child { border: 0; }.score-method-principles span { color: var(--gold); font-size: 0.68rem; font-weight: 850; }.score-method-principles strong { display: block; font-size: 1.05rem; margin-top: 0.4rem; }.score-method-principles p { color: var(--muted); font-size: 0.8rem; margin-bottom: 0; }
.score-method-body { margin: 0 auto; max-width: 1180px; padding: 3rem 1.25rem 7rem; }.score-method-warning { align-items: center; background: #eee7d9; border-radius: 12px; display: grid; gap: 1rem; grid-template-columns: 100px 1fr; padding: 1.2rem 1.5rem; }.score-method-warning span { color: #765321; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }.score-method-warning p { color: #544b3d; margin: 0; }
.score-accordion { gap: 1rem; margin-top: 2rem; }.score-accordion details { border-radius: 14px; padding: 0; }.score-accordion summary { align-items: center; display: grid; gap: 1rem; grid-template-columns: 50px 1fr auto; list-style: none; padding: 1.4rem; }.score-accordion summary::-webkit-details-marker { display: none; }.score-accordion summary span:nth-child(2) { font-size: 1.35rem; }.score-accordion summary small { color: var(--muted); display: block; font-size: 0.65rem; font-weight: 750; text-transform: uppercase; }.score-accordion summary > i { color: var(--muted); font-size: 0.72rem; font-style: normal; }.accordion-index { color: var(--gold); font-size: 0.72rem; }.score-formula-content { border-top: 1px solid var(--line); padding: 1.5rem; }.score-formula-content > p { color: var(--muted); }
.weight-grid { display: grid; gap: 0.7rem; grid-template-columns: repeat(3, 1fr); margin: 1.5rem 0; }.weight-grid > div { background: #edf1eb; border-radius: 9px; padding: 1rem; }.weight-grid span, .weight-grid strong { display: block; }.weight-grid span { color: var(--muted); font-size: 0.75rem; min-height: 2.3rem; }.weight-grid strong { font-size: 1.4rem; }.weight-grid i { background: #d5ddd5; border-radius: 99px; display: block; height: 6px; margin-top: 0.7rem; overflow: hidden; position: relative; }.weight-grid i::after { background: var(--accent); border-radius: inherit; content: ""; inset: 0 auto 0 0; position: absolute; width: var(--weight); }
.formula-explanation { background: #103f3b; border-radius: 10px; color: white; margin: 1.5rem 0; padding: 1.3rem; }.formula-explanation h3 { margin: 0; }.formula-explanation p { color: #d2e1de; margin-bottom: 0; }.score-rules { display: grid; gap: 0.7rem; grid-template-columns: repeat(3, 1fr); }.score-rules article { border: 1px solid var(--line); border-radius: 9px; padding: 1rem; }.score-rules p { color: var(--muted); font-size: 0.78rem; margin-bottom: 0; }.score-special-case { border-left: 4px solid var(--gold); background: #f3eee5; padding: 1rem 1.2rem; }.score-special-case p { color: var(--muted); margin-bottom: 0; }.score-method-note { border-top: 1px solid var(--line); font-size: 0.82rem; margin-top: 1.5rem; padding-top: 1rem; }.score-method-footer { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 3rem; justify-content: space-between; margin-top: 4rem; padding-top: 3rem; }.score-method-footer > div { max-width: 720px; }.score-method-footer p:not(.eyebrow) { color: var(--muted); }

/* About and official data sources */
.about-manifesto { background: rgb(255 255 255 / 9%); border: 1px solid rgb(255 255 255 / 18%); border-radius: 14px; padding: 1.5rem; }
.about-manifesto > span { color: #d8b36a; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.about-manifesto p { font-family: Georgia, serif; font-size: 1.3rem; line-height: 1.3; }.about-manifesto ul { color: #c7dbd7; font-size: 0.78rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }.about-manifesto li { margin-top: 0.35rem; }.about-manifesto li::before { color: #d8b36a; content: "●"; font-size: 0.5rem; margin-right: 0.5rem; }
.about-intro { display: grid; gap: clamp(2rem, 7vw, 7rem); grid-template-columns: 1fr 1fr; margin: 0 auto; max-width: 1180px; padding: 6rem 1.25rem; }.about-intro > div:last-child { color: var(--muted); font-size: 1.05rem; }
.sources-section { background: #e8ede6; padding: 6rem max(1.25rem, calc((100vw - 1180px) / 2)); }.sources-heading { max-width: 750px; }.sources-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.source-level { border-top: 1px solid #c7d0c7; display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: 230px 1fr; padding: 4rem 0; }.source-level > header { align-self: start; display: flex; gap: 1rem; position: sticky; top: 6rem; }.source-level-index { color: var(--gold); font-size: 0.7rem; font-weight: 850; padding-top: 0.35rem; }.source-level header small { color: var(--muted); display: block; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; }.source-level header h3 { font-size: 1.45rem; margin-top: 0.25rem; }
.source-dataset-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }.source-dataset-stack { display: grid; gap: 1rem; min-width: 0; }.source-dataset { background: white; border: 1px solid #d3dbd3; border-radius: 12px; display: flex; flex-direction: column; min-width: 0; padding: 1.25rem; }.source-level.shared .source-dataset { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }.source-level.shared .source-official-link { grid-column: 1 / -1; }
.source-name > span { color: var(--gold); font-size: 0.67rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }.source-name h4 { font-size: 1.05rem; margin: 0.35rem 0 0.6rem; }.source-name code { color: var(--muted); display: block; font-size: 0.65rem; overflow-wrap: anywhere; }.source-contains { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }.source-contains strong { font-size: 0.72rem; text-transform: uppercase; }.source-contains p { color: var(--muted); font-size: 0.8rem; margin-bottom: 0; }.source-official-link { color: var(--accent-strong); font-size: 0.8rem; font-weight: 800; margin-top: auto; padding-top: 1rem; }
.about-derived { align-items: center; background: #103f3b; border-radius: 18px; color: white; display: grid; gap: 3rem; grid-template-columns: 1.4fr 1fr auto; margin: 5rem auto; max-width: 1180px; padding: 2.5rem; }.about-derived h2 { font-size: 2rem; }.about-derived p:not(.eyebrow) { color: #c9dcda; }.derived-list { display: flex; flex-direction: column; gap: 0.45rem; }.derived-list span { color: #dbe9e6; font-size: 0.8rem; }.derived-list span::before { color: #d8b36a; content: "✓"; margin-right: 0.5rem; }.about-derived .button { white-space: nowrap; }

.evolution-layout {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    margin-top: 1rem;
}

.evolution-table-col {
    max-height: 420px;
    overflow-y: auto;
}

.faq-page { padding-bottom: 5rem; }.faq-page .method-hero { margin-bottom: 3rem; }.faq-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 auto; max-width: 1180px; padding: 0 1.25rem; }.faq-grid section { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }.faq-grid h2 { color: var(--accent-strong); font-size: 1.15rem; margin-top: 0; }.faq-grid p { color: var(--muted); line-height: 1.65; }.faq-more { background: #103f3b; border-radius: 18px; color: white; margin: 3rem auto 0; max-width: 1138px; padding: 2rem; }.faq-more h2 { margin-top: 0; }.faq-more p { color: #dbe9e6; }.school-practical-panel .data-footnote { color: var(--muted); font-size: 0.75rem; line-height: 1.5; }

@media (max-width: 900px) {
	.faq-grid { grid-template-columns: 1fr; }
	.nav {
		gap: 1rem;
		padding-block: 0.85rem;
	}

	.brand {
		flex: 0 0 auto;
	}

	.nav-links {
		flex: 1 1 auto;
		flex-wrap: nowrap;
		justify-content: flex-start;
		min-width: 0;
		overflow-x: auto;
		scrollbar-width: none;
		white-space: nowrap;
	}

	.nav-links::-webkit-scrollbar {
		display: none;
	}

	.home-hero-v2 {
		border-radius: 0;
		grid-template-columns: 1fr;
		margin-top: 0;
		padding: 4rem 1.5rem;
	}

	.home-hero-v2::before { inset: 45% 0 0; }
	.home-data-preview { justify-self: center; max-width: 540px; transform: none; width: 100%; }
	.home-coverage { grid-template-columns: repeat(3, 1fr); row-gap: 1.5rem; }
	.home-coverage div:nth-child(3) { border-right: 0; }
	.home-path-grid { grid-template-columns: 1fr; }
	.home-path-card { min-height: 0; }
	.path-icon { height: 72px; margin: 1.2rem 0; width: 72px; }
	.home-method-band { grid-template-columns: 1fr; }
	.method-hero { border-radius: 0; grid-template-columns: 1fr; margin-top: 0; min-height: 0; padding: 4rem 1.5rem; }
	.method-hero::after { inset: 45% 0 0; }
	.method-layout { grid-template-columns: 1fr; }
	.method-toc { background: white; border: 1px solid var(--line); border-radius: 10px; display: grid; grid-template-columns: repeat(2, 1fr); padding: 1rem; position: static; }
	.method-toc span { grid-column: 1 / -1; }
	.score-method-principles { grid-template-columns: 1fr; }.score-method-principles div, .score-method-principles div:first-child { border-bottom: 1px solid var(--line); border-right: 0; padding: 1rem 0; }
	.weight-grid, .score-rules { grid-template-columns: 1fr; }
	.about-intro { grid-template-columns: 1fr; }
	.source-level { grid-template-columns: 1fr; }
	.source-level > header { position: static; }
	.about-derived { border-radius: 0; grid-template-columns: 1fr; margin-inline: 0; }
	.profile-page { padding-top: 0; }
	.profile-hero { border-radius: 0; grid-template-columns: 1fr; min-height: 0; padding: 4rem 1.5rem; width: 100%; }
	.profile-hero::after { inset: 50% 0 0; }
	.profile-hero-official { max-width: 620px; width: 100%; }
	.higher-hero-overview { max-width: 620px; width: 100%; }
	.profile-context-section .ips-layout { grid-template-columns: 1fr; }
	.score-ranks { float: none; margin: 1rem 0; width: auto; }
	.score-rank-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.score-history-grid { grid-template-columns: 1fr; }
	.profile-nav, .profile-intro, .profile-page .detail-grid { width: 100%; }

    .evolution-layout {
        grid-template-columns: 1fr;
    }
}

.evolution-chart {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.chart-grid {
    stroke: var(--line);
    stroke-width: 1;
}

.chart-line {
    stroke-width: 2;
}

.chart-axis {
    fill: var(--muted);
    font-size: 11px;
}

.chart-axis-y {
    text-anchor: end;
}

.chart-axis-x {
    text-anchor: middle;
}

.chart-legend {
    fill: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.evolution-table .delta-up {
    color: #145c31;
    font-weight: 800;
}

.evolution-table .delta-down {
    color: #8a2415;
    font-weight: 800;
}

.ips-layout {
    display: block;
    margin-top: 0.8rem;
}

.ips-evolution-col {
    margin-top: 1.4rem;
}

.ips-evolution-col h3 {
    margin: 0 0 0.4rem;
}

.ips-gauge {
    display: block;
    height: auto;
    margin: 0 0 0.4rem;
    width: 100%;
}

.ips-gauge .ips-end {
    fill: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.ips-gauge .ips-end-right {
    text-anchor: end;
}

.ips-gauge .ips-tick {
    fill: var(--muted);
    font-size: 10px;
    text-anchor: middle;
}

.ips-gauge .ips-value {
    font-size: 12px;
    font-weight: 850;
    text-anchor: middle;
}

.ips-legend {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
    font-size: 0.9rem;
}

.ips-swatch {
    border-radius: 3px;
    display: inline-block;
    height: 11px;
    margin-right: 0.35rem;
    vertical-align: middle;
    width: 11px;
}

.indicator-list dd span {
    color: var(--muted);
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1180px;
    padding: 2rem 1.25rem;
}

.site-footer p {
    margin: 0;
}

/* Responsive listing tables: capsules + column merge on mobile
   (collège / lycée / supérieur). The merged cells live in the DOM but only one
   set (split vs merged) is shown per breakpoint. */
.college-listing-page { max-width: 1520px; padding-top: 2rem; }.rankings-editorial-hero { align-items: center; background: #103f3b; border-radius: 22px; color: white; display: grid; gap: clamp(2rem, 7vw, 7rem); grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr); min-height: 390px; overflow: hidden; padding: clamp(2.5rem, 5vw, 5rem); position: relative; }.rankings-editorial-hero::after { background: radial-gradient(circle, rgb(255 255 255 / 9%) 1px, transparent 1.5px); background-size: 22px 22px; content: ""; inset: 0 0 0 65%; position: absolute; }.rankings-editorial-hero > * { position: relative; z-index: 1; }.rankings-editorial-hero h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); letter-spacing: -0.05em; line-height: 0.95; margin: 0.7rem 0 1.2rem; }.rankings-editorial-hero h1 em { color: #d8b36a; font-family: Georgia, serif; font-weight: 500; }.rankings-editorial-hero > div > p { color: #dbe9e6; font-size: 1.05rem; max-width: 760px; }.rankings-editorial-hero > div > a { color: white; font-size: 0.82rem; font-weight: 850; }.rankings-editorial-hero aside { background: rgb(255 255 255 / 9%); border: 1px solid rgb(255 255 255 / 18%); border-radius: 15px; padding: 1.5rem; }.rankings-editorial-hero aside span, .rankings-editorial-hero aside small { display: block; }.rankings-editorial-hero aside span { color: #d8b36a; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }.rankings-editorial-hero aside strong { display: block; font-family: Georgia, serif; font-size: 3.8rem; font-weight: 500; line-height: 1; margin-top: 0.7rem; }.rankings-editorial-hero aside p { border-top: 1px solid rgb(255 255 255 / 16%); color: #dbe9e6; font-size: 0.75rem; margin: 1rem 0 0; padding-top: 1rem; }
.rankings-filters { border: 0; border-radius: 14px; box-shadow: 0 12px 36px rgb(22 53 46 / 9%); margin-top: 1.5rem; padding: 1.25rem; }.filter-heading { align-items: baseline; display: flex; flex: 1 0 100%; justify-content: space-between; }.filter-heading span { color: var(--accent-strong); font-size: 1.05rem; font-weight: 850; }.filter-heading small { color: var(--muted); }.active-filter-row { align-items: center; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.2rem; }.active-filter-row > span { color: var(--muted); font-size: 0.72rem; font-weight: 850; text-transform: uppercase; }.active-filter-row i { background: #e5efeb; border-radius: 999px; color: var(--accent-strong); font-size: 0.72rem; font-style: normal; font-weight: 750; padding: 0.35rem 0.65rem; }.active-filter-row a { color: var(--muted); font-size: 0.72rem; margin-left: 0.3rem; }.result-summary { display: grid; }.result-summary > span { color: var(--gold); font-size: 0.65rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }.result-summary strong { color: var(--accent-strong); font-size: 1.35rem; }.result-summary small { color: var(--muted); }.college-listing-page .map-card { border-radius: 14px; box-shadow: 0 12px 36px rgb(22 53 46 / 8%); }.college-listing-page .college-desktop-table { border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 36px rgb(22 53 46 / 7%); }.college-listing-page .rankings-table { border-radius: 0; }.college-listing-page .rankings-table thead th { background: #edf1eb; position: sticky; top: 0; z-index: 2; }.college-listing-page .rankings-table tbody tr:hover { background: #f7f8f4; }.college-listing-page .rankings-table td:first-child strong, .college-listing-page .rankings-table td:nth-child(2) strong { color: var(--accent-strong); font-family: Georgia, serif; font-size: 1.25rem; }.college-mobile-cards, .mobile-sort-bar { display: none; }.rankings-table tr.target-result > td { background: #e8f4ef; box-shadow: inset 0 1px #86b9a8, inset 0 -1px #86b9a8; }.rankings-table tr.target-result > td:first-child { box-shadow: inset 4px 0 #17746d, inset 0 1px #86b9a8, inset 0 -1px #86b9a8; }.college-result-card.target-result { background: #edf8f3; border-color: #67a48f; box-shadow: 0 0 0 3px rgb(23 116 109 / 14%); }
.listing-actions { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: flex-end; }.compare-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 0.45rem; }.compare-actions > span { color: var(--muted); font-size: 0.78rem; font-weight: 800; }.compare-select { display: none; text-align: center; width: 70px; }.compare-mode .compare-select { display: table-cell; }.compare-check { align-items: center; display: inline-flex; justify-content: center; }.compare-check input { accent-color: var(--accent); height: 1.05rem; width: 1.05rem; }
.comparison-page { max-width: 1320px; }.comparison-hero { background: linear-gradient(135deg, #e8f2ed, #f6f1e6); border-radius: 18px; padding: clamp(2rem, 5vw, 4rem); }.comparison-hero h1 { color: var(--accent-strong); font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 0.98; margin: 0.5rem 0 1rem; }.comparison-hero h1 em { color: var(--gold); font-family: Georgia, serif; font-weight: 500; }.comparison-hero p:not(.home-kicker) { color: var(--muted); max-width: 760px; }.comparison-table-wrap { background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgb(23 35 31 / 8%); margin-top: 1.5rem; overflow-x: auto; }.comparison-table { border-collapse: collapse; min-width: 860px; width: 100%; }.comparison-table caption { color: var(--muted); font-size: 0.82rem; font-weight: 800; padding: 1rem; text-align: left; }.comparison-table th, .comparison-table td { border-bottom: 1px solid var(--line); padding: 0.85rem 1rem; text-align: left; vertical-align: top; }.comparison-table thead th { background: #edf1eb; color: var(--accent-strong); position: sticky; top: 0; z-index: 1; }.comparison-table thead th:first-child { min-width: 230px; }.comparison-table thead a { color: var(--accent-strong); display: block; font-weight: 850; text-decoration: none; }.comparison-table thead span { color: var(--muted); display: block; font-size: 0.68rem; margin-top: 0.15rem; }.comparison-table th[scope="row"] { color: var(--text); font-weight: 850; }.comparison-table th[scope="row"] small { color: var(--muted); display: block; font-size: 0.68rem; font-weight: 600; line-height: 1.35; margin-top: 0.2rem; max-width: 320px; }.comparison-table td { font-weight: 750; }.comparison-group-row th { background: #103f3b; color: white; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }.comparison-footnote { color: var(--muted); font-size: 0.88rem; margin-top: 1rem; max-width: 900px; }
@media (max-width: 760px) { .listing-actions { align-items: stretch; flex-direction: column; width: 100%; } .compare-actions { display: none; } .comparison-page { padding-left: 1rem; padding-right: 1rem; } .comparison-hero { border-radius: 0; margin-left: -1rem; margin-right: -1rem; } }

.cell-loc-merged,
.cell-success-merged,
.cell-va-merged,
.cell-sector-inline {
    display: none;
}

.cell-tag.public {
    background: #dff0ee;
    color: var(--accent-strong);
}

.cell-tag.private {
    background: #f6ecd9;
    color: var(--gold);
}

.cell-tags {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cell-tag {
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.12rem 0.55rem;
    width: fit-content;
}

.cell-tag .k {
    color: var(--muted);
    font-weight: 800;
    margin-right: 0.25rem;
    text-transform: uppercase;
}

.cell-success {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    white-space: nowrap;
}

.track-pill {
    background: #dff0ee;
    border-radius: 999px;
    color: var(--accent-strong);
    font-size: 0.62rem;
    font-weight: 800;
    margin-right: 0.35rem;
    padding: 0.05rem 0.4rem;
    text-transform: uppercase;
}

.merged-sort-options { display: flex; gap: 0.25rem; margin-top: 0.35rem; }.merged-sort-options a { background: white; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.6rem; padding: 0.12rem 0.4rem; text-decoration: none; }.merged-sort-options a.active, .merged-sort-options a:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: white; }

@media (max-width: 760px) {
    .college-listing-page { max-width: none; padding: 0 0 3rem; }.rankings-editorial-hero { border-radius: 0; grid-template-columns: 1fr; min-height: 0; padding: 3.5rem 1.25rem; }.rankings-editorial-hero::after { inset: 50% 0 0; }.rankings-editorial-hero aside { display: none; }.rankings-filters, .college-listing-page .table-toolbar, .college-listing-page .rankings-split { margin-left: 1rem; margin-right: 1rem; }.rankings-filters { align-items: stretch; display: grid; }.rankings-filters label, .rankings-filters input, .rankings-filters select { width: 100%; }.rankings-filters input, .rankings-filters select { min-width: 0; }.filter-heading { align-items: start; flex-direction: column; }.active-filter-row { margin-inline: 1rem; }.college-desktop-table { display: none; }.college-mobile-cards { display: grid; gap: 0.8rem; }.mobile-sort-bar { align-items: center; display: flex; gap: 0.35rem; margin-bottom: 0.8rem; overflow-x: auto; padding-bottom: 0.2rem; }.mobile-sort-bar span { color: var(--muted); flex: none; font-size: 0.68rem; font-weight: 850; text-transform: uppercase; }.mobile-sort-bar a { background: white; border: 1px solid var(--line); border-radius: 999px; color: var(--text); flex: none; font-size: 0.72rem; font-weight: 750; padding: 0.35rem 0.65rem; text-decoration: none; }.mobile-sort-bar a.active { background: var(--accent-strong); border-color: var(--accent-strong); color: white; }.college-result-card { background: white; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; padding: 1rem; }.college-result-card > header { align-items: start; display: flex; gap: 0.75rem; justify-content: space-between; }.college-result-card > header > div > span { color: var(--muted); font-size: 0.68rem; font-weight: 750; text-transform: uppercase; }.college-result-card h2 { font-size: 1.1rem; line-height: 1.2; margin: 0.3rem 0 0; }.college-result-card h2 a { color: var(--accent-strong); text-decoration: none; }.college-result-card > header > i { flex: none; font-style: normal; }.college-card-primary { align-items: end; background: #edf1eb; border-radius: 9px; display: flex; justify-content: space-between; margin-top: 1rem; padding: 0.8rem; }.college-card-primary > span { color: var(--muted); font-size: 0.72rem; font-weight: 750; }.college-card-primary small { display: block; font-size: 0.58rem; font-weight: 600; }.college-card-primary strong { color: var(--accent-strong); font-family: Georgia, serif; font-size: 2rem; line-height: 1; }.college-result-card dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0.5rem 0 0; }.college-result-card dl div { border-bottom: 1px solid var(--line); padding: 0.65rem 0; }.college-result-card dl div:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 0.65rem; }.college-result-card dl div:nth-child(even) { padding-left: 0.65rem; }.college-result-card dt { color: var(--muted); font-size: 0.65rem; }.college-result-card dt small { display: block; }.college-result-card dd { font-size: 0.95rem; font-weight: 850; margin: 0.2rem 0 0; }.college-card-link { color: var(--accent-strong); display: flex; font-size: 0.75rem; font-weight: 850; justify-content: space-between; padding-top: 0.8rem; text-decoration: none; }
    .nav {
        align-items: center;
        flex-direction: row;
    }

    /* Condense the ranking tables: drop min-width, hide split geo / VA / success
       columns and reveal their merged capsule cells. */
    .rankings-table {
        min-width: 0;
    }

    .col-geo,
    .col-va,
    .col-sector,
    .col-success-split {
        display: none;
    }

    .cell-loc-merged,
    .cell-success-merged {
        display: table-cell;
    }

    .cell-sector-inline {
        display: block;
        margin-top: 0.3rem;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-top: 3rem;
    }

    .feature-grid,
    .link-grid {
        grid-template-columns: 1fr;
    }

    .rankings-split {
        grid-template-columns: 1fr;
    }

    .map-pane {
        position: static;
    }

    .detail-grid {
        /* minmax(0,1fr), not bare 1fr, so the single column can shrink below its
           content's min-content (bare 1fr keeps an implicit `auto` minimum). */
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-list div {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
	.home-hero-v2 h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
	.home-hero-actions { align-items: stretch; flex-direction: column; }
	.home-cta { text-align: center; }
	.home-coverage { grid-template-columns: repeat(2, 1fr); }
	.home-coverage div, .home-coverage div:nth-child(3) { border-right: 1px solid var(--line); padding: 0 0.8rem; }
	.home-coverage div:nth-child(even) { border-right: 0; }
	.home-section-heading { align-items: start; flex-direction: column; gap: 1rem; }
	.preview-kpis { grid-template-columns: 1fr; }
	.preview-chart { display: none; }
	.home-method-list article { grid-template-columns: 26px 1fr; }
	.home-method-list article > :last-child { display: none; }
	.home-final > div { align-items: stretch; flex-direction: column; }
	.method-hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
	.method-comparison { grid-template-columns: 1fr; }
	.method-chapter { grid-template-columns: 32px minmax(0, 1fr); }
	.method-chapter.accent, .method-chapter.warning { padding: 1.4rem; }
	.method-ips-demo { align-items: start; grid-template-columns: 1fr; }
	.method-toc { grid-template-columns: 1fr; }
	.method-toc span { grid-column: auto; }
	.score-method-warning { grid-template-columns: 1fr; }
	.score-accordion summary { grid-template-columns: 30px 1fr; }
	.score-accordion summary > i { display: none; }
	.score-method-footer { align-items: stretch; flex-direction: column; }
	.source-dataset-grid, .source-level.shared .source-dataset { grid-template-columns: 1fr; }
	.source-level.shared .source-official-link { grid-column: auto; }
	.profile-hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
	.profile-intro { align-items: start; grid-template-columns: 1fr; gap: 0.4rem; }
	.profile-nav { top: 54px; }
	.higher-overview-grid { grid-template-columns: 1fr; }
	.higher-hero-actions { align-items: stretch; flex-direction: column; }
	.higher-hero-actions .home-cta { text-align: center; }

    .enrollment-layout {
        grid-template-columns: 1fr;
    }
}

/* College listing density refinements */
@media (min-width: 761px) {
    .college-listing-page .rankings-split { grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr); }
    .college-listing-page .rankings-table { min-width: 820px; }
    .college-listing-page .cell-loc-merged { display: table-cell; }
    .college-listing-page .col-geo,
    .college-listing-page .col-sector { display: none; }
    .college-listing-page .cell-sector-inline { display: block; margin-top: 0.35rem; text-decoration: none; }
    .college-listing-page .cell-tags { min-width: 135px; }
    .lycee-listing-page .cell-success-merged { display: table-cell; }
    .lycee-listing-page .cell-va-merged { display: table-cell; }
    .lycee-listing-page .col-success-split { display: none; }
    .lycee-listing-page .col-va { display: none; }
}

@media (max-width: 760px) {
    .college-listing-page .map-pane { display: none; }
    .college-mobile-cards { gap: 0.55rem; }
    .college-result-card { border-radius: 11px; color: var(--text); padding: 0.75rem; text-decoration: none; touch-action: pan-y; }
    .college-result-card > header { gap: 0.5rem; }
    .college-result-card > header > div > span { font-size: 0.58rem; }
    .college-result-card h2 { color: var(--accent-strong); font-size: 0.92rem; line-height: 1.15; margin-top: 0.15rem; }
    .college-card-primary { align-items: center; border-radius: 7px; margin-top: 0.5rem; padding: 0.4rem 0.55rem; }
    .college-card-primary > span { font-size: 0.62rem; }
    .college-card-primary small { display: inline; font-size: 0.52rem; }
    .college-card-primary strong { font-size: 1.3rem; }
    .college-result-card dl { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0.3rem; }
    .college-result-card dl div,
    .college-result-card dl div:nth-child(odd),
    .college-result-card dl div:nth-child(even) { border-bottom: 0; border-right: 1px solid var(--line); padding: 0.35rem 0.2rem; }
    .college-result-card dl div:last-child { border-right: 0; }
    .college-result-card dt { font-size: 0.52rem; line-height: 1.15; }
    .college-result-card dt small { display: none; }
    .college-result-card dd { font-size: 0.76rem; margin-top: 0.1rem; }
    .college-card-link { font-size: 0.62rem; padding-top: 0.35rem; }
    .superieur-mobile-cards .college-result-card dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .result-card-type { color: var(--muted); display: block; font-size: 0.6rem; margin-top: 0.2rem; }
}

.listing-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; margin-top: 1.4rem; }.listing-hero-actions a { color: white; font-size: 0.8rem; font-weight: 850; }

.maps-page { max-width: 1400px; }.maps-hero { background: linear-gradient(135deg, #e8f2ed, #f6f1e6); border-radius: 18px; overflow: hidden; padding: 3.5rem; position: relative; }.maps-hero h1 { color: var(--accent-strong); font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 0.98; margin: 0.5rem 0 1.25rem; max-width: 900px; }.maps-hero h1 em { color: var(--gold); font-family: Georgia, serif; font-weight: 500; }.maps-hero > p:last-child { color: var(--muted); line-height: 1.65; max-width: 760px; }.maps-filters { border-radius: 14px; box-shadow: 0 12px 36px rgb(22 53 46 / 9%); margin-top: 0; }.maps-heading { align-items: end; display: flex; justify-content: space-between; margin: 2rem 0 1rem; }.maps-heading h2 { margin: 0.2rem 0; }.maps-heading p { color: var(--muted); margin: 0; }.maps-legend { align-items: center; color: var(--muted); display: flex; flex: none; font-size: 0.7rem; gap: 0.45rem; }.maps-legend i { background: linear-gradient(90deg, #e2efe9, #0f6f68); border-radius: 999px; display: block; height: 10px; width: 150px; }.maps-layout { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) 280px; }.maps-map-card { background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 36px rgb(22 53 46 / 7%); overflow: hidden; position: relative; }.territory-map { height: min(68vh, 680px); min-height: 480px; }.maps-selection { background: #edf4f0; border: 1px solid #cbded5; border-radius: 14px; padding: 1.2rem; }.maps-selection > span { color: var(--accent); font-size: 0.65rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }.maps-selection h3 { color: var(--accent-strong); font-size: 1.4rem; margin: 0.35rem 0 0.8rem; }.maps-selection p { color: var(--muted); font-size: 0.82rem; line-height: 1.5; }.maps-selected-value { color: var(--accent-strong); display: block; font-family: Georgia, serif; font-size: 2.7rem; line-height: 1; }.maps-table-section { margin-top: 2.5rem; }.maps-table-section > header { align-items: end; display: flex; justify-content: space-between; }.maps-table-section > header h2 { margin: 0.2rem 0 0; }.maps-table-section > header > p { color: var(--muted); font-size: 0.8rem; }.maps-table-section .table-wrap { margin-top: 1rem; }

@media (max-width: 800px) { .maps-page { padding-inline: 0; }.maps-hero { border-radius: 0; padding: 3rem 1.25rem; }.maps-filters, .maps-heading, .maps-layout, .maps-table-section { margin-left: 1rem; margin-right: 1rem; }.maps-heading { align-items: start; flex-direction: column; gap: 1rem; }.maps-layout { grid-template-columns: 1fr; }.territory-map { height: 58vh; min-height: 400px; }.maps-selection { order: -1; }.maps-table-section > header { align-items: start; flex-direction: column; } }

.territory-map { background: #eef4f1; }.maps-legend i { background: linear-gradient(90deg, rgb(224 246 235), rgb(5 79 74)); }.maps-legend span { font-variant-numeric: tabular-nums; min-width: 2.4rem; }.maps-legend span:last-child { text-align: right; }
.maps-legend.sector i { background: linear-gradient(90deg, #207a52, #efeee0 50%, #be892b); }.maps-sector-details { display: grid; gap: 0.45rem; margin: 1rem 0; }.maps-sector-details div { background: rgb(255 255 255 / 58%); border-radius: 7px; padding: 0.5rem 0.6rem; }.maps-sector-details dt { color: var(--muted); font-size: 0.62rem; }.maps-sector-details dd { color: var(--text); font-size: 0.75rem; font-weight: 750; margin: 0.15rem 0 0; }
.maps-legend.diverging i { background: linear-gradient(90deg, #be5c37, #f4f1e5 50%, #207a52); }
.maps-attribution { background: #f7f8f5; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); display: grid; font-size: 0.72rem; gap: 0.35rem; line-height: 1.5; margin: 0 0 1rem; padding: 0.75rem 0.9rem; }.maps-attribution a { color: var(--accent); }.maps-report-link { font-weight: 750; justify-self: start; }
.maps-page { padding-top: 4.5rem; }
.maps-filters { margin-top: 1.6rem; }
@media (max-width: 800px) { .maps-page { padding-top: 0; } }
.legal-page { max-width: 1180px; }.legal-hero { background: linear-gradient(135deg, #e8f2ed, #f6f1e6); border-radius: 18px; padding: clamp(2rem, 5vw, 4rem); }.legal-hero h1 { color: var(--accent-strong); font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 0.98; margin: 0.5rem 0 1rem; }.legal-hero h1 em { color: var(--gold); font-family: Georgia, serif; font-weight: 500; }.legal-hero > p:last-child { color: var(--muted); max-width: 680px; }.legal-layout { align-items: start; display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: 220px minmax(0, 760px); margin-top: 3rem; }.legal-summary { border-left: 3px solid var(--gold); display: grid; gap: 0.65rem; padding: 0.35rem 0 0.35rem 1rem; position: sticky; top: 6rem; }.legal-summary strong { color: var(--accent-strong); font-size: 0.75rem; letter-spacing: 0.08em; margin-bottom: 0.2rem; text-transform: uppercase; }.legal-summary a { color: var(--muted); font-size: 0.84rem; font-weight: 750; text-decoration: none; }.legal-summary a:hover { color: var(--accent); }.legal-content section { border-bottom: 1px solid var(--line); padding: 0 0 2.5rem; scroll-margin-top: 6rem; }.legal-content section + section { padding-top: 2.5rem; }.legal-content h2 { color: var(--accent-strong); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 0.35rem; }.legal-content address { color: var(--text); font-style: normal; line-height: 1.7; }.legal-updated { color: var(--muted); font-size: 0.78rem; margin-top: 2rem; }
@media (max-width: 760px) { .legal-page { padding-left: 1rem; padding-right: 1rem; }.legal-hero { border-radius: 0; margin-left: -1rem; margin-right: -1rem; }.legal-layout { display: block; margin-top: 2rem; }.legal-summary { margin-bottom: 2.5rem; position: static; } }
.comparison-table td.comparison-best { background: #e4f3e8; color: #155b43; font-weight: 900; position: relative; }.comparison-table td.comparison-best::after { background: #6eb58b; border-radius: 999px; content: ""; height: 0.42rem; position: absolute; right: 0.55rem; top: 0.55rem; width: 0.42rem; }
.admin-stats-heading { align-items: end; display: flex; gap: 2rem; justify-content: space-between; }.admin-stats-filter { align-items: end; background: #edf1eb; border-radius: 12px; display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.5rem 0; padding: 1rem; }.admin-stats-filter label { color: var(--muted); display: grid; font-size: 0.72rem; font-weight: 800; gap: 0.3rem; text-transform: uppercase; }.admin-stats-filter input { background: white; border: 1px solid var(--line); border-radius: 7px; color: var(--text); font: inherit; padding: 0.55rem 0.65rem; }.admin-stats-total { background: #103f3b; border-radius: 14px; color: white; display: grid; margin-bottom: 1.2rem; padding: 1.4rem; }.admin-stats-total span { color: #bdd3ce; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; }.admin-stats-total strong { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; margin: 0.35rem 0; }.admin-stats-total small { color: #bdd3ce; }.admin-stats-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }.admin-stat-panel { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; }.admin-stat-panel.wide { grid-column: 1 / -1; }.admin-stat-panel h2 { color: var(--accent-strong); font-size: 1rem; margin: 0 0 1rem; }.admin-stat-line { margin-top: 0.75rem; }.admin-stat-line > div { display: flex; font-size: 0.78rem; gap: 1rem; justify-content: space-between; }.admin-stat-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.admin-stat-line i { background: #e7ece8; border-radius: 999px; display: block; height: 0.38rem; margin-top: 0.3rem; overflow: hidden; }.admin-stat-line b { background: #6eb58b; border-radius: inherit; display: block; height: 100%; min-width: 2px; }.admin-stats-note { color: var(--muted); font-size: 0.78rem; margin-top: 1rem; max-width: 800px; }
.admin-feature-panel { background: #f7f5ef; border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 1.2rem; grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr); margin: 1.5rem 0; padding: 1.4rem; }.admin-feature-panel h2 { color: var(--accent-strong); margin: 0.2rem 0 0.35rem; }.admin-feature-panel p { color: var(--muted); margin: 0; }.admin-feature-list { display: grid; gap: 0.8rem; }.admin-feature-card { align-items: center; background: white; border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 1rem; justify-content: space-between; padding: 1rem; }.admin-feature-card strong { color: var(--text); display: block; margin-bottom: 0.25rem; }.admin-feature-card p { font-size: 0.82rem; line-height: 1.45; }.feature-toggle { background: #d7d7d2; border: 0; border-radius: 999px; color: #5e635b; cursor: pointer; flex: 0 0 auto; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.06em; min-width: 4rem; padding: 0.45rem 0.75rem; }.feature-toggle.on { background: #1f8d55; color: white; }
.admin-inline-action { align-items: center; background: #edf1eb; border-radius: 12px; display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1rem 0 1.5rem; padding: 1rem; }.admin-inline-action + .admin-inline-action { margin-top: -0.8rem; }.admin-inline-action span { color: var(--muted); font-size: 0.82rem; }.status-badge.freshness-up-to-date { background: #dff0e7; color: #145c31; }.status-badge.freshness-update-available { background: #f3e7cf; color: #765321; }.status-badge.freshness-never-imported, .status-badge.freshness-unknown-local, .status-badge.freshness-unknown-remote, .status-badge.freshness-different { background: #e5e7eb; color: #374151; }.status-badge.freshness-error, .status-badge.freshness-local-error { background: #f3d6d6; color: #7f1d1d; }.admin-table tr.freshness-update-available { background: #fff8ea; }.admin-table tr.freshness-up-to-date { background: #f5fbf7; }.admin-table tr.freshness-error, .admin-table tr.freshness-local-error { background: #fff1f1; }
@media (max-width: 760px) { .admin-stats-heading { align-items: start; flex-direction: column; }.admin-stats-grid { grid-template-columns: 1fr; }.admin-stats-filter { align-items: stretch; flex-direction: column; } }
@media (max-width: 760px) { .admin-feature-panel { grid-template-columns: 1fr; }.admin-feature-card { align-items: flex-start; flex-direction: column; }.feature-toggle { width: 100%; } }
