@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
/* Variables et styles communs */
:root {
    --navy: #111d2b;
    --gold: #c6a667;
    --gold-dark: #80632c;
    --paper: #f7f6f2;
    --stone: #f2eee5;
    --green: #2f6b59;
    --red: #a03c3c;
    --muted: #6a6d70;
    --line: #e5e5df;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    color: var(--navy);
    background: var(--paper);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
    color: inherit;
}
button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}
button {
    border: 0;
}
a {
    color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #a47c30;
    outline-offset: 4px;
}
h1,
h2,
h3,
h4,
p {
    margin: 0;
}
h1,
h2,
h3,
h4 {
    font-family: "Manrope", Arial, sans-serif;
    line-height: 1.3;
}
h1 {
    font-size: 42px;
    font-weight: 650;
    letter-spacing: -1.6px;
}
h2 {
    font-size: 25px;
    font-weight: 650;
    letter-spacing: -0.75px;
}
h3 {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.3px;
}
h4 {
    font-size: 14px;
    font-weight: 700;
}
p {
    margin: 10px 0;
    color: #62676b;
}
hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 24px 0;
}
svg {
    flex-shrink: 0;
    vertical-align: middle;
}
strong {
    font-weight: 650;
}
.small {
    font-size: 12px;
}
.muted {
    color: var(--muted);
}
.danger {
    color: var(--red) !important;
}
.success {
    color: var(--green);
}
.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #7f7259;
    text-transform: uppercase;
}
.eyebrow span {
    opacity: 0.45;
    margin: 0 3px;
}
.skip {
    position: fixed;
    top: -100px;
    left: 260px;
    z-index: 100;
    background: white;
    padding: 14px;
}
.skip:focus {
    top: 8px;
}
/* Navigation et identité */
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 232px;
    background: #fff;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    z-index: 30;
    padding: 33px 19px 22px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 9px 35px;
    background: none;
    text-align: left;
}
.brand svg {
    width: 36px;
    height: 44px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
}
.brand > span {
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}
.brand small {
    display: block;
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 1.3px;
    color: #8a8c87;
    margin-top: 2px;
}
.sidebar-label {
    font-size: 9px;
    color: #90938f;
    letter-spacing: 1.5px;
    padding: 0 15px 12px;
    font-weight: 600;
}
nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
nav button {
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 5px;
    text-align: left;
    color: #6c7172;
    font-size: 12px;
    font-weight: 500;
    position: relative;
}
nav button:hover {
    background: #f6f5f0;
    color: var(--navy);
}
nav button.active {
    background: #f2eee5;
    color: #6e5528;
}
nav button.active svg {
    color: #a17e3f;
}
nav button.separate {
    margin-top: 16px;
}
nav .active-dot {
    width: 5px;
    height: 5px;
    background: #ae8b4b;
    border-radius: 50%;
    margin-left: auto;
}
.sidebar-foot {
    margin-top: auto;
    border: 1px solid var(--line);
    padding: 17px 16px 13px;
    border-radius: 7px;
    background: linear-gradient(140deg, #faf9f5, #fff);
    font-size: 11px;
}
.sidebar-foot .seed-icon {
    color: #92763d;
    margin-bottom: 9px;
}
.sidebar-foot strong {
    font-size: 13px;
    line-height: 1.5;
}
.sidebar-foot p {
    font-size: 10px;
    color: #93958f;
    margin-top: 8px;
}
.sidebar-foot a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-size: 10px;
    padding-top: 9px;
    border-top: 1px solid var(--line);
    margin-top: 13px;
    color: #7b725e;
}
/* Structure des pages */
.workspace {
    margin-left: 232px;
    min-height: 100vh;
}
.topbar {
    height: 78px;
    padding: 0 44px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    gap: 20px;
}
.crumb {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #929590;
    font-size: 11px;
}
.crumb strong {
    color: #555d61;
    font-weight: 500;
}
.top-tools {
    display: flex;
    align-items: center;
    gap: 28px;
}
.plain {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    padding: 0;
    color: var(--navy);
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
}
.plain:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.profile-chip {
    display: flex;
    gap: 10px;
    align-items: center;
    background: none;
    text-align: left;
    font-size: 11px;
}
.profile-chip small {
    display: block;
    color: #91938e;
    font-size: 9px;
    margin-top: 1px;
}
.avatar {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    background: #ece8db;
    color: #89703e;
    border: 3px solid white;
    box-shadow: 0 0 0 1px #e5dfce;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 15px;
}
.simulation-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 8px 44px;
    background: #f1eee5;
    border-bottom: 1px solid #e7e3d8;
    font-size: 10px;
}
.simulation-banner > span {
    font-size: 9px;
    letter-spacing: 1px;
    color: #8a713c;
    font-weight: 650;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.simulation-banner p {
    margin: 0;
    font-size: 10px;
    color: #878477;
}
.simulation-banner button {
    background: none;
    margin-left: auto;
    font-size: 9px;
    color: #85734b;
    display: flex;
    align-items: center;
    gap: 6px;
}
.live-dot {
    width: 5px;
    height: 5px;
    background: #b2945d;
    border-radius: 50%;
    display: inline-block;
}
main {
    max-width: 1510px;
    margin: auto;
    padding: 40px 44px 56px;
    min-height: calc(100vh - 220px);
}
main:focus {
    outline: none;
}
/* Accueil et présentation */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    padding: 11px 0 35px;
    align-items: center;
}
.hero-copy {
    padding: 9px 0;
}
.hero-copy .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 23px;
    letter-spacing: 1.8px;
    font-size: 9px;
}
.gold-line {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--gold);
    opacity: 1 !important;
}
.hero h1 {
    font-size: clamp(34px, 3.3vw, 58px);
    font-weight: 550;
    letter-spacing: -2px;
    line-height: 1.18;
}
.hero h1 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: #a2864e;
}
.hero-copy > p {
    font-size: 13px;
    color: #7e827e;
    line-height: 1.9;
    margin-top: 21px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    border: 1px solid #dedfd8;
    border-radius: 4px;
    padding: 11px 15px;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;
    min-height: 40px;
    transition: background 0.15s;
}
.button:hover {
    background: #ece9e0;
}
.button.primary {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}
.button.primary:hover {
    background: #293a48;
}
.button.text-button {
    border: 0;
    background: transparent;
    padding-left: 0;
}
.button.full {
    display: flex;
    width: 100%;
    margin-top: 12px;
}
.hero-note {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #92948e;
    font-size: 10px;
    margin-top: 25px;
}
.mini-line {
    width: 18px;
    height: 1px;
    background: #b0b3a9;
}
.hero-art {
    background: var(--navy);
    border-radius: 7px;
    min-height: 336px;
    position: relative;
    overflow: hidden;
    padding: 26px 28px;
    color: var(--gold);
    background-image: radial-gradient(
        ellipse at 65% 50%,
        #243441 0,
        transparent 60%
    );
}
.art-label {
    font-size: 8px;
    letter-spacing: 1.9px;
    display: flex;
    gap: 8px;
    align-items: center;
    opacity: 0.9;
}
.hero-art svg {
    width: calc(100% + 18px);
    height: 210px;
    margin: -3px -9px -9px;
}
.hero-art svg text {
    fill: #bab6a6;
    font-family: "DM Sans", sans-serif;
    font-size: 9px;
    letter-spacing: 0.4px;
}
.hero-art svg .art-small {
    font-size: 7px;
    letter-spacing: 1.5px;
}
.hero-art p {
    font-family: Georgia, serif;
    font-size: 15px;
    line-height: 1.6;
    color: #eee8d9;
    text-align: center;
    margin: 0;
}
.hero-art p span {
    color: #8b9497;
    font-family: "DM Sans";
    font-size: 10px;
}
.art-index {
    display: block;
    text-align: right;
    font-size: 7px;
    letter-spacing: 1.5px;
    margin-top: 22px;
    opacity: 0.6;
}
/* Indicateurs de synthèse */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 20px 19px;
    text-align: left;
}
.stat > svg:first-child {
    color: #9c8a62;
    stroke-width: 1.2;
}
.stat div {
    display: flex;
    flex-direction: column;
}
.stat strong {
    font-family: "Manrope";
    font-size: 28px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -1px;
}
.stat span {
    font-size: 10px;
    color: #90948c;
    margin-top: 7px;
    white-space: nowrap;
}
.stat > svg:last-child {
    margin-left: auto;
    color: #a7aaa1;
    align-self: flex-start;
}
.stat:hover {
    border-color: #b9aa89;
}
.section {
    margin-top: 43px;
}
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.section-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 8px;
}
.section-heading h2 {
    font-size: 23px;
}
.section-heading .plain {
    font-size: 10px;
    color: #707667;
    margin-bottom: 4px;
}
/* Cartes des chemins */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}
.proposal-card {
    background: white;
    border: 1px solid var(--line);
    padding: 21px 22px 0;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition:
        transform 0.15s,
        border-color 0.15s;
}
.proposal-card:hover {
    transform: translateY(-3px);
    border-color: #b6a47e;
}
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 21px;
    gap: 5px;
}
.card-icon {
    background: #f4f1e8;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: #9a8352;
}
.card-icon svg {
    stroke-width: 1.5;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    padding: 4px 7px;
    border: 1px solid #e8ddc7;
    background: #fbf8ef;
    border-radius: 3px;
    color: #927444;
    font-size: 8px;
    white-space: nowrap;
    letter-spacing: 0.1px;
    line-height: 1.5;
}
.badge > span {
    width: 3px;
    height: 3px;
    background: currentColor;
    border-radius: 50%;
}
.badge.green {
    background: #f0f6f2;
    border-color: #dde8dd;
    color: #4f7b5a;
}
.badge.gray {
    background: #f4f4f2;
    border-color: #e5e6e0;
    color: #777c76;
}
.proposal-card .eyebrow {
    font-size: 8px;
    letter-spacing: 0.6px;
    color: #9c9f94;
    text-transform: none;
    margin-bottom: 10px;
}
.proposal-card h3 {
    font-size: 17px;
    line-height: 1.45;
    font-weight: 650;
    min-height: 49px;
    letter-spacing: -0.3px;
}
.proposal-card > p {
    font-size: 11px;
    line-height: 1.8;
    color: #8a8e86;
    margin-top: 10px;
    margin-bottom: 21px;
}
.card-bottom {
    border-top: 1px solid #f0f0ea;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    padding: 14px 0;
    color: #9c9f93;
}
.card-bottom span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
}
.home-bottom {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 20px;
    margin-top: 33px;
}
.territory-panel {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: #eeefe8;
    border: 1px solid #e4e5dc;
    border-radius: 5px;
    padding: 27px 22px 16px;
    overflow: hidden;
    position: relative;
}
.territory-panel .eyebrow {
    font-size: 8px;
    margin-bottom: 12px;
}
.territory-panel h2 {
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -0.5px;
}
.territory-panel p {
    font-size: 10px;
    line-height: 1.85;
    color: #8a8e81;
    margin: 12px 0 19px;
}
.territory-panel .plain {
    font-size: 10px;
}
.france-map {
    width: 100%;
    height: 100%;
    color: #99a18c;
    min-height: 245px;
    overflow: visible;
}
.france-map .map-point {
    cursor: pointer;
    fill: #8d773f;
    outline-offset: 5px;
}
.france-map .map-point:hover circle {
    fill: var(--navy);
}
.france-map text {
    font: 10px "DM Sans";
    fill: #6e745e;
}
.map-legend {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 7px;
    color: #929883;
    margin-top: 24px;
    white-space: nowrap;
}
.map-legend span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a58b55;
}
.quote-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 29px 27px;
}
.quote-panel > svg {
    stroke: #b7a174;
    stroke-width: 1.1;
    margin-bottom: 10px;
}
.quote-panel .eyebrow {
    font-size: 8px;
}
.quote-panel blockquote {
    font:
        italic 20px/1.6 Georgia,
        serif;
    margin: 13px 0 25px;
    color: #444d51;
    letter-spacing: -0.2px;
}
.quote-panel .plain {
    font-size: 10px;
    color: #9c8559;
}
footer {
    border-top: 1px solid var(--line);
    padding: 22px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 9px;
    color: #83897b;
    background: #f3f3ed;
}
footer > span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
}
footer svg {
    width: 19px;
    height: 22px;
    fill: none;
    stroke: #b79b5d;
    stroke-width: 1.5;
}
.footer-sep {
    color: #d4d5ca;
    margin: 0 5px;
}
footer p {
    font-size: 9px;
    color: #9b9f91;
    margin: 0;
}
footer .plain {
    font-size: 9px;
    color: #8d927f;
}
footer .plain svg {
    width: 13px;
    height: 13px;
}
/* Pages de consultation */
.page-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin: 10px 0 32px;
}
.page-title .eyebrow {
    margin-bottom: 13px;
}
.page-title h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
}
.page-title p {
    font-size: 13px;
    max-width: 700px;
    line-height: 1.8;
    margin-top: 14px;
}
.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
    padding: 12px;
    background: #efefe9;
    border-radius: 5px;
}
.filter-bar .muted {
    margin-left: auto;
    font-size: 10px;
}
.search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0 10px;
    flex: 1;
    max-width: 420px;
    color: #9a9c94;
}
.search-field input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 9px 0;
    font-size: 11px;
    color: var(--navy);
}
input,
select,
textarea {
    color: var(--navy);
    border: 1px solid #dcded4;
    border-radius: 4px;
    padding: 10px;
    background: #fff;
    max-width: 100%;
}
select {
    font-size: 12px;
    cursor: pointer;
}
.territory-explorer {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 35px;
}
.map-large {
    background: #e9ece3;
    border: 1px solid #dde1d4;
    border-radius: 6px;
    padding: 30px;
    max-height: 590px;
}
.map-large svg {
    height: 440px;
}
.territory-row {
    background: white;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 21px;
    margin-bottom: 15px;
}
.row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}
.row-links {
    display: flex;
    align-items: center;
    gap: 17px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 21px;
    background: #f0eee6;
    border: 1px solid #e3ddcf;
    border-radius: 5px;
    margin: 25px 0;
    color: #a18755;
}
.notice p {
    margin: 0;
    font-size: 12px;
    color: #84775d;
}
.notice a {
    font-weight: 700;
}
.notice svg {
    margin-top: 2px;
}
.panel,
/* Protocoles et observations */
.experiment-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 19px;
}
.panel h2 {
    font-size: 23px;
    margin-bottom: 16px;
}
.panel h3 {
    margin: 3px 0 12px;
}
.panel p {
    font-size: 12px;
    line-height: 1.9;
}
.panel p svg {
    margin-right: 5px;
}
.empty {
    padding: 35px 22px;
    border: 1px dashed #d6d8cc;
    border-radius: 5px;
    text-align: center;
    color: #b4b69e;
    margin: 18px 0;
}
.empty p {
    font-size: 12px;
}
.back {
    margin: 0 0 25px;
    color: #82785c;
}
.detail-heading {
    max-width: 900px;
    margin-bottom: 35px;
}
.detail-heading h1 {
    margin: 15px 0 13px;
    font-size: 40px;
}
.detail-heading > p {
    font-size: 15px;
}
.meta {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #8b8f80;
    margin-top: 17px;
}
/* Détail d’un raisonnement */
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 25px;
}
.causal-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #e5e0d3;
    background: #f1eee4;
    border-radius: 5px;
    padding: 24px;
    gap: 22px;
    margin-bottom: 32px;
}
.causal-summary p {
    font-size: 12px;
    margin: 7px 0 0;
    color: #766d59;
}
.causal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.causal-node {
    display: flex;
    gap: 13px;
    padding: 17px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}
.causal-node .eyebrow {
    font-size: 8px;
    letter-spacing: 0.5px;
}
.causal-node p {
    font-size: 12px;
    margin: 7px 0;
    line-height: 1.7;
}
.causal-node small {
    font-size: 9px;
    color: #9b8b6e;
}
.causal-node .node-number {
    font-size: 11px;
    color: #aa9d83;
    font-family: Georgia, serif;
}
.causal-node.observed {
    border-left: 3px solid #618171;
}
.causal-node.observed small {
    color: var(--green);
}
.causal-list .causal-node {
    margin-bottom: 9px;
}
.detail-aside .panel {
    padding: 22px;
}
.detail-aside p {
    font-size: 11px;
}
.detail-aside h4 {
    margin-top: 18px;
}
details {
    font-size: 12px;
    margin: 16px 0;
}
summary {
    cursor: pointer;
    font-weight: 600;
    color: #77745e;
    line-height: 1.7;
}
/* Consultations et résultats */
.consultation-card {
    display: grid;
    grid-template-columns: 1fr 280px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 25px;
}
.consultation-main {
    padding: 27px;
}
.consultation-main h2 {
    font-size: 24px;
    margin-top: 20px;
}
.consultation-main > p {
    font-size: 12px;
}
.consultation-rules {
    padding: 26px;
    background: #f0f0e9;
    border-left: 1px solid var(--line);
}
.consultation-rules h4 {
    margin: 18px 0;
    font-size: 13px;
}
.consultation-rules p {
    font-size: 11px;
}
.consultation-rules .plain {
    margin: 17px 0 0;
    font-size: 10px;
    display: flex;
    text-align: left;
}
.tally {
    margin: 24px 0 14px;
}
.vote-bar {
    height: 7px;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    background: #e7e8df;
}
.pour {
    background: #4f7e66;
}
.contre {
    background: #b07165;
}
.abstention {
    background: #c6bb9e;
}
.vote-counts {
    display: flex;
    gap: 22px;
    margin-top: 12px;
    font-size: 10px;
    color: #7e8475;
}
.vote-counts span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.vote-counts i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.consultation-actions {
    display: flex;
    gap: 9px;
    margin-top: 21px;
}
.consultation-actions .button {
    min-width: 95px;
}
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.experiment-card h2 {
    font-size: 25px;
    margin-top: 18px;
}
.experiment-card .two-columns {
    margin-top: 28px;
}
.experiment-card p {
    font-size: 12px;
}
.observation-chart {
    padding: 24px;
    background: #f1f3ec;
    border-radius: 4px;
}
.metric {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 20px 0;
}
.metric strong {
    font-family: Manrope;
    font-weight: 500;
    font-size: 43px;
    line-height: 1.1;
}
.metric span {
    font-size: 10px;
    color: #7f8975;
}
.observation {
    border-top: 1px solid #dce2d3;
    padding-top: 14px;
}
.observation .row-header {
    font-size: 11px;
    margin-bottom: 7px;
}
.measure-track {
    height: 8px;
    background: #dce1d5;
    border-radius: 4px;
    overflow: hidden;
}
.measure-track span {
    display: block;
    background: #6b8a70;
    height: 100%;
}
.observation p {
    font-size: 10px !important;
    color: #839078;
}
/* Convergence et mémoire */
.convergence-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    padding: 37px;
    background: var(--navy);
    color: #e6dfca;
    border-radius: 6px;
    margin-bottom: 27px;
    gap: 30px;
}
.convergence-hero h2 {
    font-size: 33px;
    margin-top: 18px;
}
.convergence-hero p {
    font-size: 12px;
    color: #9da6a1;
    max-width: 400px;
}
.convergence-lines {
    align-self: center;
    text-align: center;
}
.convergence-lines svg {
    width: 100%;
}
.convergence-lines p {
    font-size: 10px;
    max-width: none;
}
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 25px;
    gap: 15px;
}
.scenario-grid > div {
    background: #f4f2eb;
    padding: 20px;
    border: 1px solid var(--line);
}
.scenario-grid svg {
    color: var(--gold);
}
.timeline {
    margin: 32px 0 0 10px;
    border-left: 1px solid #d5d8cb;
    padding: 0 0 0 33px;
}
.timeline article {
    position: relative;
    padding: 2px 0 28px;
}
.timeline-dot {
    position: absolute;
    left: -38px;
    top: 7px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--paper);
    box-shadow: 0 0 0 1px #c9c6b5;
}
.timeline h3 {
    font-size: 16px;
    margin: 9px 0;
}
.panel-icon {
    color: #9f864e;
    margin-bottom: 13px;
}
.verification {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    font-size: 11px;
    padding: 13px;
    border-radius: 4px;
}
.verification.valid {
    background: #edf3eb;
    color: #427154;
}
.verification.invalid {
    background: #fbefeb;
    color: var(--red);
}
.file-input {
    width: 100%;
    font-size: 11px;
    padding: 15px;
}
.table-scroll {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 11px;
    white-space: nowrap;
}
th {
    font-weight: 500;
    color: #888e7a;
    background: #f6f6f0;
    padding: 12px 15px;
}
td {
    border-bottom: 1px solid #eeeee6;
    padding: 14px 15px;
    color: #666e5c;
}
code {
    font-family: monospace;
    font-size: 10px;
    overflow-wrap: anywhere;
}
.finance-stats {
    grid-template-columns: 1fr 1fr;
    max-width: 650px;
    margin-bottom: 20px;
}
.finance-stats strong {
    font-size: 26px;
}
.glossary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.glossary > div {
    padding-bottom: 17px;
    border-bottom: 1px solid #efefe5;
}
.charter-motto {
    text-align: center;
    background: var(--navy);
    border-radius: 6px;
    padding: 42px 25px;
    color: #ddc58d;
    margin-bottom: 27px;
}
.charter-motto svg {
    width: 42px;
    height: 48px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.2;
}
.charter-motto blockquote {
    font:
        italic 28px/1.7 Georgia,
        serif;
    max-width: 750px;
    margin: 18px auto;
    color: #e8dfc9;
}
.charter-motto > span {
    font-size: 9px;
    letter-spacing: 2px;
}
.charter-text {
    max-width: 780px;
    margin: 35px auto;
}
.charter-text h2 {
    font-size: 21px;
    margin: 35px 0 18px;
}
.charter-text h3 {
    font-size: 17px;
    margin: 26px 0 15px;
}
.charter-text p {
    font-size: 13px;
    line-height: 1.9;
    color: #68705e;
}
.toast {
    position: fixed;
    bottom: 27px;
    left: calc(50% + 116px);
    transform: translateX(-50%);
    background: var(--navy);
    box-shadow: 0 10px 30px #0003;
    border: 1px solid #586151;
    color: white;
    border-radius: 6px;
    padding: 15px 17px;
    max-width: 650px;
    width: max-content;
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 100;
    font-size: 12px;
}
.toast > span {
    color: #aec3a8;
}
.toast.error {
    background: #733d31;
    border-color: #aa7a69;
}
.toast.error > span {
    color: #e9c0ac;
}
.toast .icon-button {
    color: #ddd9c8;
}
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 5px;
    color: #909787;
}
/* Composants de présentation partagés */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: #0c1829aa;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 35px;
    backdrop-filter: blur(3px);
}
.modal {
    background: var(--paper);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 25px 90px #0004;
}
.modal.wide {
    max-width: 850px;
}
.modal-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 21px;
    margin-bottom: 22px;
}
.modal-heading h2 {
    font-size: 24px;
    margin-top: 9px;
}
.modal-heading .eyebrow {
    font-size: 8px;
}
.modal p {
    font-size: 12px;
    margin-bottom: 22px;
}
.modal h3 {
    margin: 25px 0 20px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    color: #68705c;
    margin: 0 0 18px;
}
.field input,
.field select,
.field textarea {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    min-width: 0;
}
.field textarea {
    resize: vertical;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
}
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 23px;
    margin-top: 20px;
    border-top: 1px solid var(--line);
}
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.8;
    color: #656d59;
    margin: 20px 0;
}
.checkbox input {
    margin-top: 5px;
    accent-color: var(--navy);
}
.vote-confirm {
    padding: 20px;
    background: #ece8da;
    border: 1px solid #ddd3b8;
    text-align: center;
    font-size: 25px;
    letter-spacing: 2px;
    margin: 20px 0;
}
.loading {
    display: grid;
    place-items: center;
    align-content: center;
    height: 100vh;
}
.loading svg {
    width: 65px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1;
}
.loading h1 {
    font-size: 34px;
    margin-top: 20px;
}
.mobile-toggle {
    display: none;
}
.scrim {
    display: none;
}
.simple p,
.simple .field,
.simple input,
.simple select,
.simple .small {
    font-size: 16px !important;
    line-height: 1.9;
}
.simple .eyebrow,
.simple .badge {
    font-size: 11px;
}
.simple .hero h1 {
    font-size: 44px;
}
.simple .cards-grid {
    grid-template-columns: 1fr 1fr;
}
/* Adaptation aux tailles d’écran */
@media (min-width: 1550px) {
    .hero {
        gap: 55px;
    }
    .hero-art {
        min-height: 365px;
    }
    .hero-art svg {
        height: 240px;
    }
    .hero-copy > p {
        font-size: 15px;
    }
    .proposal-card {
        padding: 25px 26px 0;
    }
    .proposal-card h3 {
        font-size: 19px;
    }
    .proposal-card > p {
        font-size: 12px;
    }
    .home-bottom {
        margin-top: 38px;
    }
    .territory-panel {
        padding: 32px;
    }
    .territory-panel p {
        font-size: 12px;
    }
    .quote-panel blockquote {
        font-size: 25px;
    }
    .territory-panel h2 {
        font-size: 27px;
    }
}
@media (max-height: 900px) and (min-width: 1000px) {
    .sidebar {
        padding-top: 24px;
    }
    .brand {
        padding-bottom: 24px;
    }
    nav button {
        padding: 9px 14px;
    }
    .sidebar-foot {
        margin-top: 23px;
    }
    .sidebar {
        overflow-y: auto;
    }
    .sidebar-foot p {
        display: none;
    }
    .sidebar-foot a {
        margin-top: 8px;
        padding-top: 7px;
    }
    .sidebar-foot {
        padding: 12px 15px;
    }
    .sidebar-foot .seed-icon {
        display: none;
    }
}
@media (max-width: 1250px) {
    .sidebar {
        width: 205px;
        padding-left: 13px;
        padding-right: 13px;
    }
    .workspace {
        margin-left: 205px;
    }
    main {
        padding: 32px 30px;
    }
    .topbar {
        padding: 0 30px;
    }
    .simulation-banner {
        padding: 8px 30px;
    }
    .hero {
        grid-template-columns: 1.15fr 1fr;
        gap: 22px;
    }
    .hero-art {
        padding: 24px 20px;
        min-height: 320px;
    }
    .hero-art svg {
        height: 192px;
    }
    .hero-actions {
        gap: 13px;
    }
    .hero-actions .button {
        font-size: 10px;
        padding: 10px;
    }
    .stat {
        padding: 18px 13px;
        gap: 12px;
    }
    .stat > svg:first-child {
        width: 16px;
    }
    .stat strong {
        font-size: 25px;
    }
    .stat span {
        font-size: 8px;
    }
    .card-top {
        flex-wrap: wrap;
    }
    .proposal-card {
        padding: 18px 17px 0;
    }
    .proposal-card h3 {
        font-size: 15px;
    }
    .proposal-card .eyebrow {
        font-size: 7px;
    }
    .home-bottom {
        grid-template-columns: 1.55fr 1fr;
        gap: 16px;
    }
    .territory-panel {
        padding: 22px 19px 14px;
    }
    .territory-panel h2 {
        font-size: 20px;
    }
    .quote-panel {
        padding: 23px;
    }
    .quote-panel blockquote {
        font-size: 19px;
    }
    .detail-layout {
        grid-template-columns: 1fr 245px;
    }
    .consultation-card {
        grid-template-columns: 1fr 235px;
    }
    .toast {
        left: calc(50% + 102px);
    }
}
@media (max-width: 1000px) {
    .sidebar {
        width: 190px;
    }
    .brand {
        gap: 5px;
        padding-left: 5px;
    }
    .brand > span {
        font-size: 11px;
    }
    .workspace {
        margin-left: 190px;
    }
    main {
        padding: 30px 24px;
    }
    .topbar {
        padding: 0 24px;
    }
    .simulation-banner {
        padding: 8px 24px;
        gap: 12px;
    }
    .simulation-banner > span {
        font-size: 8px;
    }
    .simulation-banner p {
        font-size: 8px;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-art {
        display: none;
    }
    .hero h1 {
        font-size: 48px;
    }
    .hero-copy {
        padding: 5px 0 15px;
    }
    .hero-copy .eyebrow {
        margin-bottom: 20px;
    }
    .hero-copy > p {
        font-size: 14px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat span {
        font-size: 10px;
    }
    .cards-grid {
        gap: 12px;
    }
    .cards-grid > .panel {
        padding: 17px;
    }
    .proposal-card h3 {
        font-size: 14px;
    }
    .badge {
        font-size: 7px;
    }
    .home-bottom {
        grid-template-columns: 1fr;
    }
    .territory-panel {
        grid-template-columns: 1fr 1fr;
    }
    .quote-panel blockquote {
        font-size: 22px;
    }
    .quote-panel {
        padding: 27px;
    }
    .quote-panel > svg {
        float: right;
    }
    .top-tools {
        gap: 18px;
    }
    .top-tools > .plain span {
        display: none;
    }
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .detail-aside {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .consultation-card {
        grid-template-columns: 1fr;
    }
    .consultation-rules {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .two-columns {
        gap: 17px;
    }
    .page-title {
        align-items: flex-start;
        flex-direction: column;
    }
    .page-title h1 {
        font-size: 35px;
    }
    .convergence-hero {
        padding: 27px;
        grid-template-columns: 1fr;
    }
    .convergence-lines svg {
        height: 170px;
    }
    .territory-explorer {
        grid-template-columns: 1fr;
    }
    .map-large svg {
        height: 300px;
    }
    .map-large {
        padding: 20px;
    }
    .filter-bar {
        flex-wrap: wrap;
    }
    .filter-bar .muted {
        display: none;
    }
    .filter-bar select {
        max-width: 200px;
    }
    .table-scroll table {
        font-size: 10px;
    }
    footer {
        padding: 22px 24px;
    }
    footer > p {
        display: none;
    }
    .toast {
        left: calc(50% + 95px);
        max-width: calc(100vw - 220px);
    }
}
@media (max-width: 760px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.2s;
        width: 232px;
        z-index: 60;
    }
    .sidebar.visible {
        transform: translateX(0);
    }
    .sidebar-foot {
        margin-top: auto;
    }
    .scrim {
        display: block;
        position: fixed;
        inset: 0;
        background: #10202d77;
        z-index: 50;
    }
    .workspace {
        margin-left: 0;
    }
    .mobile-toggle {
        display: flex;
    }
    .topbar {
        height: 65px;
        padding: 0 20px;
    }
    .crumb {
        font-size: 10px;
        gap: 9px;
    }
    .top-tools > .plain {
        display: none;
    }
    .profile-chip > svg {
        display: none;
    }
    .profile-chip > span:nth-child(2) {
        display: none;
    }
    .simulation-banner {
        padding: 9px 20px;
        align-items: center;
        gap: 8px;
    }
    .simulation-banner > span {
        font-size: 7px;
        letter-spacing: 0.4px;
    }
    .simulation-banner p {
        font-size: 8px;
        line-height: 1.5;
        max-width: 180px;
    }
    .simulation-banner button {
        font-size: 0;
    }
    .simulation-banner button svg {
        width: 14px;
    }
    main {
        padding: 30px 20px 40px;
    }
    .hero {
        padding: 0 0 28px;
    }
    .hero h1 {
        font-size: 45px;
        letter-spacing: -1.8px;
    }
    .hero-copy .eyebrow {
        font-size: 7px;
        letter-spacing: 1.3px;
        margin-bottom: 22px;
    }
    .hero-copy > p {
        font-size: 12px;
        margin-top: 19px;
    }
    .hero-actions {
        gap: 20px;
    }
    .hero-actions .button {
        font-size: 10px;
        padding: 12px;
    }
    .hero-note {
        margin-top: 20px;
        font-size: 9px;
    }
    .stats-grid {
        gap: 10px;
    }
    .stat {
        padding: 17px 13px;
        gap: 12px;
    }
    .stat strong {
        font-size: 26px;
    }
    .stat span {
        font-size: 9px;
    }
    .stat > svg:last-child {
        width: 12px;
    }
    .section {
        margin-top: 32px;
    }
    .section-heading {
        gap: 10px;
    }
    .section-heading h2 {
        font-size: 21px;
    }
    .section-heading .eyebrow {
        font-size: 7px;
    }
    .section-heading .plain {
        font-size: 9px;
        gap: 4px;
        text-align: right;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .proposal-card {
        padding: 23px 22px 0;
    }
    .card-top {
        flex-wrap: nowrap;
        margin-bottom: 17px;
    }
    .badge {
        font-size: 9px;
    }
    .proposal-card .eyebrow {
        font-size: 9px;
    }
    .proposal-card h3 {
        font-size: 20px;
        min-height: auto;
    }
    .proposal-card > p {
        font-size: 12px;
        margin-bottom: 20px;
    }
    .card-bottom span {
        font-size: 10px;
    }
    .home-bottom {
        margin-top: 24px;
    }
    .territory-panel {
        padding: 24px 22px;
        grid-template-columns: 1fr 1fr;
    }
    .territory-panel h2 {
        font-size: 20px;
    }
    .territory-panel p {
        font-size: 11px;
    }
    .territory-panel .eyebrow {
        font-size: 7px;
    }
    .territory-panel .france-map {
        min-height: 220px;
        width: 125%;
        transform: translateX(-4%);
    }
    .map-legend {
        white-space: normal;
        line-height: 1.5;
        font-size: 7px;
    }
    .quote-panel blockquote {
        font-size: 23px;
    }
    .topbar .avatar {
        width: 30px;
        height: 30px;
    }
    .page-title {
        margin-top: 0;
        gap: 16px;
    }
    .page-title h1 {
        font-size: 33px;
    }
    .page-title .eyebrow {
        font-size: 8px;
    }
    .page-title p {
        font-size: 12px;
    }
    .filter-bar {
        gap: 10px;
    }
    .search-field {
        flex-basis: 100%;
        max-width: none;
    }
    .filter-bar select {
        max-width: none;
        width: 100%;
    }
    .detail-heading h1 {
        font-size: 30px;
    }
    .detail-heading > p {
        font-size: 13px;
    }
    .detail-aside,
    .two-columns,
    .causal-grid,
    .causal-summary,
    .scenario-grid,
    .glossary {
        grid-template-columns: 1fr;
    }
    .detail-layout {
        gap: 15px;
    }
    .causal-summary {
        gap: 14px;
        padding: 20px;
    }
    .causal-node {
        padding: 18px;
    }
    .consultation-main {
        padding: 22px;
    }
    .consultation-main .row-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .consultation-main h2 {
        font-size: 22px;
    }
    .consultation-rules {
        padding: 22px;
    }
    .vote-counts {
        gap: 15px;
    }
    .consultation-actions {
        flex-wrap: wrap;
    }
    .consultation-actions .button {
        font-size: 11px;
        flex: 1;
        min-width: 80px;
    }
    .experiment-card {
        padding: 22px;
    }
    .experiment-card h2 {
        font-size: 22px;
    }
    .experiment-card .row-header {
        flex-wrap: wrap;
    }
    .experiment-card .row-links {
        gap: 12px;
    }
    .experiment-card .button {
        font-size: 10px;
    }
    .panel {
        padding: 22px;
    }
    .convergence-hero {
        padding: 25px;
    }
    .convergence-hero h2 {
        font-size: 30px;
    }
    .convergence-lines svg {
        height: 140px;
    }
    .finance-stats {
        grid-template-columns: 1fr 1fr;
    }
    .finance-stats strong {
        font-size: 22px;
    }
    .charter-motto {
        padding: 30px 20px;
    }
    .charter-motto blockquote {
        font-size: 23px;
    }
    .charter-text h2 {
        font-size: 18px;
    }
    .charter-text h3 {
        font-size: 15px;
    }
    .charter-text p {
        font-size: 12px;
    }
    .panel .row-header {
        flex-wrap: wrap;
    }
    .toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
        transform: none;
        max-width: none;
        width: auto;
        font-size: 11px;
    }
    .modal-backdrop {
        padding: 14px;
    }
    .modal {
        padding: 23px;
        max-height: 93vh;
    }
    .modal-heading h2 {
        font-size: 21px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .modal-actions {
        position: sticky;
        bottom: -23px;
        background: var(--paper);
        padding: 16px 0;
        margin-bottom: -10px;
    }
    .modal-actions .button {
        font-size: 11px;
    }
    .simple .cards-grid {
        grid-template-columns: 1fr;
    }
    .simple .hero h1 {
        font-size: 37px;
    }
    footer {
        padding: 20px;
        gap: 10px;
    }
    footer > span {
        font-size: 7px;
    }
    footer .plain {
        font-size: 8px;
    }
    .simple .simulation-banner p {
        font-size: 9px !important;
    }
    .territory-explorer {
        gap: 20px;
    }
    .map-large svg {
        height: 270px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
/* Adaptations des composants au rendu Symfony/Twig */
a.proposal-card {
    text-decoration: none;
}
.button,
.plain {
    cursor: pointer;
}
.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 5px;
    text-decoration: none;
    color: #6c7172;
    font-size: 12px;
}
.sidebar nav a.active {
    background: #f2eee5;
    color: #6e5528;
}
.sidebar-foot {
    margin-top: auto;
}
.brand {
    text-decoration: none;
}
form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: 15px 0 6px;
}
form input,
form textarea,
form select {
    display: block;
    width: 100%;
    font-size: 13px;
}
form input[type="checkbox"] {
    display: inline-block;
    width: auto;
    margin-right: 9px;
}
form ul {
    color: #a03c3c;
    font-size: 12px;
}
.form-shell {
    max-width: 830px;
    margin: 0 auto;
}
.form-shell h1 {
    font-size: 32px;
}
.form-shell form > div > div {
    margin-bottom: 17px;
}
.form-shell input[type="hidden"] {
    display: none;
}
.alert {
    padding: 16px 20px;
    border: 1px solid #b3c3b3;
    background: #edf3eb;
    margin-bottom: 20px;
    border-radius: 5px;
}
.alert.error {
    border-color: #d9b6a9;
    background: #f7ece6;
    color: #9d4436;
}
.action-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.citizen-select {
    display: flex;
    align-items: center;
    gap: 12px;
}
.citizen-select select {
    min-width: 220px;
}
.citizen-select input {
    width: auto;
}
.metric strong {
    font-size: 38px;
}
.hero-art .native-art {
    font:
        italic 32px/1.6 Georgia,
        serif;
    color: #e6d6b4;
    text-align: center;
    margin-top: 42px;
}
.native-page article h2 {
    margin-top: 20px;
}
.native-page h3 {
    margin: 17px 0 12px;
}
.native-page h4 {
    margin: 15px 0 7px;
}
.native-page p {
    font-size: 13px;
}
.native-page .card-bottom p {
    margin: 0;
}
.causal-list .causal-node {
    display: block;
}
.causal-node .eyebrow {
    display: flex;
    justify-content: space-between;
}
.native-form-note {
    font-size: 12px;
    padding: 18px;
    background: #ece9df;
}
.simple-table td {
    white-space: normal;
}
.charter-text {
    white-space: normal;
    overflow-wrap: anywhere;
    font-family: inherit;
}
.page-title .button {
    white-space: nowrap;
}
.sidebar nav a:hover {
    background: #f7f4ec;
}
.filter-bar form {
    display: flex;
    width: 100%;
    gap: 12px;
    margin: 0;
}
.filter-bar input,
.filter-bar select {
    margin: 0;
}
.footer-link {
    font-size: 10px;
}
.profile-chip {
    text-decoration: none;
}
@media (max-width: 760px) {
    .sidebar {
        position: static;
        transform: none;
        width: 100%;
        padding: 14px;
        display: block;
        border-bottom: 1px solid var(--line);
    }
    .sidebar .brand {
        padding-bottom: 12px;
    }
    .sidebar .sidebar-label,
    .sidebar-foot {
        display: none;
    }
    .sidebar nav {
        flex-direction: row;
        overflow: auto;
    }
    .sidebar nav a {
        white-space: nowrap;
        padding: 8px 12px;
        font-size: 11px;
    }
    .sidebar nav a span:first-child {
        display: none;
    }
    .workspace {
        margin-left: 0;
    }
    .topbar {
        height: 62px;
    }
    .top-tools {
        gap: 8px;
    }
    .filter-bar form {
        flex-wrap: wrap;
    }
    .citizen-select {
        flex-wrap: wrap;
    }
    .hero h1 {
        font-size: 39px;
    }
    .hero-art {
        display: none;
    }
}

/* La charte est un document HTML structuré : les espaces du template ne sont pas du contenu. */
.charter-text {
    max-width: 72ch;
    margin-block: 2.5rem;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.75;
}
.charter-text p,
.charter-text li {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
.charter-text p {
    margin-block: 0 1rem;
}
.charter-text h2,
.charter-text h3,
.charter-text h4 {
    line-height: 1.35;
    margin-block: 2.25rem 0.85rem;
}
.charter-text h2 {
    font-size: 1.6rem;
}
.charter-text h3 {
    font-size: 1.3rem;
}
.charter-text h4 {
    font-size: 1.1rem;
}
.charter-text ul,
.charter-text ol {
    margin-block: 0 1.25rem;
    padding-inline-start: 1.6rem;
}
.charter-text li + li {
    margin-block-start: 0.45rem;
}
.charter-text blockquote {
    margin: 1.5rem 0;
    padding: 0.75rem 1.25rem;
    border-inline-start: 3px solid var(--gold);
    background: var(--stone);
}
.charter-text blockquote p:last-child {
    margin-bottom: 0;
}
.charter-text hr {
    margin-block: 2rem;
    border: 0;
    border-top: 1px solid var(--line);
}
.charter-text a {
    text-decoration: underline;
}

.causal-graph-scroll {
    overflow-x: auto;
}
.causal-graph-scroll svg {
    display: block;
    width: 100%;
    min-width: 690px;
}
.large-text main {
    font-size: 1.15rem;
}
.large-text main p,
.large-text main label,
.large-text main input,
.large-text main textarea {
    font-size: inherit;
}
