:root {
    --green: #007b50;
    --green-dark: #005b3c;
    --yellow: #ffd500;
    --blue: #00a9df;
    --red: #df2340;
    --ink: #14231f;
    --muted: #5d6c66;
    --paper: #ffffff;
    --soft: #f4f7f3;
    --line: #dde6df;
    --radius: 18px;
    --shadow: 0 14px 36px rgb(18 53 36 / 7%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 115px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #006aab;
    outline-offset: 5px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.container {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 12px 20px;
    color: white;
    background: var(--green-dark);
}

.skip-link:focus {
    top: 12px;
}

/* Bandeau institutionnel */

.institutional-bar {
    padding-block: 9px;
    border-bottom: 1px solid var(--line);
    background: var(--soft);
    font-size: 11px;
    font-weight: 600;
}

.institutional-inner,
.republic {
    display: flex;
    align-items: center;
    gap: 12px;
}

.institutional-inner {
    justify-content: space-between;
}

.senegal-flag {
    display: inline-grid;
    width: 30px;
    height: 20px;
    place-items: center;
    color: #007b3e;
    background: linear-gradient(
        90deg,
        #00853f 33.33%,
        #fdef42 33.33%,
        #fdef42 66.66%,
        #e31b23 66.66%
    );
    font-size: 12px;
}

/* En-tête */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--line);
    background: white;
}

.header-inner {
    display: flex;
    min-height: 92px;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.brand-symbol {
    color: var(--green);
    font-size: 54px;
    line-height: 1;
    text-shadow: 3px 3px 0 var(--yellow);
}

.brand-text {
    display: grid;
    letter-spacing: -.8px;
    line-height: 1.05;
}

.brand-text strong {
    font-size: 24px;
    font-weight: 900;
}

.brand-text > span {
    margin-top: 5px;
    font-size: 17px;
    font-weight: 800;
}

.brand-text b {
    color: var(--green);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    padding-block: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--green);
}

.nav-link.is-active::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--green);
    content: "";
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 13px 22px;
    border: 1px solid var(--green);
    border-radius: 8px;
    color: white;
    background: var(--green);
    font-size: 13px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.button:hover {
    transform: translateY(-2px);
    background: var(--green-dark);
}

.button-outline {
    color: var(--green-dark);
    background: transparent;
}

.button-outline:hover {
    background: #e7f3ec;
}

.button-white {
    flex-shrink: 0;
    border-color: white;
    color: var(--green-dark);
    background: white;
}

.button-white:hover {
    background: #edf6ee;
}

.report-button {
    min-height: 48px;
    flex-shrink: 0;
    gap: 10px;
    padding: 11px 24px;
    font-size: 14px;
    box-shadow: 0 5px 14px rgb(0 123 80 / 15%);
}

.report-button > span {
    font-size: 21px;
    line-height: 1;
}

.menu-toggle {
    display: none;
}

/* Bandeau d'information */

.information-strip {
    color: #263119;
    background: var(--yellow);
}

.information-inner {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 18px;
    font-size: 12px;
}

.information-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .8px;
}

.information-inner > a {
    margin-left: auto;
    font-weight: 750;
    white-space: nowrap;
    text-decoration: none;
}

/* Présentation principale */

.hero {
    overflow: hidden;
    padding-block: 60px 54px;
    background: linear-gradient(130deg, #fff 35%, #f0f7ee);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-copy,
.hero-art {
    min-width: 0;
}

.eyebrow {
    display: block;
    margin-bottom: 15px;
    color: var(--green);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(40px, 4.3vw, 60px);
    font-weight: 850;
    letter-spacing: -2.8px;
    line-height: 1.08;
}

h1 > span {
    color: var(--green);
}

.hero-description {
    max-width: 470px;
    margin-bottom: 27px;
    color: var(--muted);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-meta {
    display: grid;
    gap: 5px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 11px;
}

.hero-meta > span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.status-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green);
}

.hero-art {
    position: relative;
    display: flex;
    min-height: 420px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 38px;
    border-radius: 26px 26px 70px 26px;
    color: white;
    background: var(--green);
    isolation: isolate;
}

.art-pattern {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: 170px;
    height: 170px;
    opacity: .85;
    background: repeating-linear-gradient(
        135deg,
        var(--yellow) 0 15px,
        transparent 15px 30px,
        var(--blue) 30px 45px,
        transparent 45px 60px
    );
    clip-path: polygon(30% 0, 100% 0, 100% 100%);
}

.art-orbit {
    position: absolute;
    z-index: -1;
    width: 310px;
    height: 310px;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 50%;
}

.orbit-one {
    top: -130px;
    left: -100px;
}

.orbit-two {
    right: -140px;
    bottom: -140px;
    border-width: 35px;
    border-color: rgb(255 213 0 / 15%);
}

.art-topline {
    margin-bottom: 24px;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 2px;
}

.art-title {
    font-size: 65px;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: .95;
}

.art-title strong {
    display: block;
    color: var(--yellow);
    font-size: 100px;
}

.art-title strong span {
    display: inline-block;
    margin-left: 12px;
    color: white;
    font-size: 62px;
    vertical-align: middle;
}

.art-message {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgb(255 255 255 / 25%);
}

.art-message-icon {
    display: grid;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    color: var(--green-dark);
    background: var(--yellow);
    font-weight: 900;
}

.art-message strong,
.art-message div > span {
    display: block;
}

.art-message strong {
    font-size: 12px;
}

.art-message div > span {
    margin-top: 3px;
    font-size: 10px;
}

.art-caption {
    margin-top: 18px;
    font-size: 9px;
    opacity: .8;
}

/* Titres des sections */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 27px;
}

.section-heading .eyebrow {
    margin-bottom: 9px;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(25px, 2.7vw, 36px);
    font-weight: 800;
    letter-spacing: -1.1px;
    line-height: 1.2;
}

.compact-heading h2 {
    font-size: 27px;
}

.section-heading > p {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 13px;
}

/* Accès rapides */

.quick-section {
    padding-block: 40px 55px;
    background: var(--soft);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.quick-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.quick-card:hover {
    transform: translateY(-5px);
    border-color: #95bfa4;
    box-shadow: var(--shadow);
}

.icon-badge {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 13px;
    font-size: 25px;
    font-weight: 800;
}

.badge-green {
    color: var(--green-dark);
    background: #e4f4ea;
}

.badge-blue {
    color: #006b91;
    background: #e1f5fc;
}

.badge-red {
    color: #bc1630;
    background: #fde9ed;
}

.badge-yellow {
    color: #715700;
    background: #fff5be;
}

.quick-card h3 {
    margin-bottom: 9px;
    font-size: 16px;
    letter-spacing: -.4px;
    line-height: 1.3;
}

.quick-card p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 12px;
}

.card-link {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 750;
}

/* Informations */

.news-section {
    padding-block: 65px;
}

.demo-label {
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 30px;
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
}

.news-visual {
    position: relative;
    display: flex;
    min-height: 190px;
    align-items: center;
    overflow: hidden;
    padding: 25px;
}

.visual-green {
    color: white;
    background: var(--green);
}

.visual-blue {
    color: #063a4a;
    background: #72d6ed;
}

.visual-yellow {
    color: #3b3a12;
    background: var(--yellow);
}

.visual-word {
    z-index: 1;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.visual-symbol {
    position: absolute;
    right: -10px;
    bottom: -55px;
    font-size: 190px;
    font-weight: 900;
    line-height: 1;
    opacity: .2;
}

.news-content {
    padding: 25px;
}

.category {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1px;
}

.category-green {
    color: var(--green-dark);
}

.category-blue {
    color: #00688c;
}

.category-red {
    color: #b51b33;
}

.news-content h3 {
    margin-bottom: 12px;
    font-size: 21px;
    letter-spacing: -.6px;
    line-height: 1.25;
}

.news-content p {
    color: var(--muted);
    font-size: 13px;
}

.text-link {
    display: inline-block;
    margin-top: 5px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 750;
    text-underline-offset: 4px;
}

/* Comité */

.committee-section {
    padding-block: 48px;
    border-block: 1px solid var(--line);
    background: var(--soft);
}

.committee-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 80px;
}

.committee-copy p {
    color: var(--muted);
    font-size: 14px;
}

.committee-copy p:last-child {
    margin-bottom: 0;
}

/* Questions fréquentes */

.faq-section {
    padding-block: 70px;
}

.faq-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 75px;
}

.section-description {
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
}

.faq-list details {
    padding-block: 19px;
    border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
    border-top: 1px solid var(--line);
}

.faq-list summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 750;
}

.faq-list details[open] summary {
    color: var(--green-dark);
}

.faq-list details p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
}

/* Signalement */

.report-section {
    padding-block: 0 55px;
}

.report-panel {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 35px;
    border: 1px solid var(--line);
    border-top: 5px solid var(--green);
    border-radius: var(--radius);
    background: var(--soft);
}

.report-panel h2 {
    margin-bottom: 18px;
}

.report-panel p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.report-notice {
    margin-top: 18px;
}

.report-emergency {
    padding: 24px;
    border-left: 4px solid #c49500;
    border-radius: 8px;
    background: #fff5ce;
}

.report-emergency > strong {
    display: block;
    margin-bottom: 10px;
    color: #594400;
}

.report-emergency p {
    color: #594400;
}

/* Assistance */

.assistance-section {
    padding-block: 42px;
    color: white;
    background: var(--green-dark);
}

.assistance-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.assistance-inner .eyebrow {
    color: var(--yellow);
}

.assistance-inner h2 {
    font-size: 28px;
}

.assistance-inner p {
    max-width: 730px;
    margin: 15px 0 0;
    color: #e2eee7;
    font-size: 13px;
}

/* Pied de page */

.site-footer {
    padding-block: 35px 20px;
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-bottom: 28px;
}

.brand-footer .brand-symbol {
    font-size: 40px;
}

.brand-footer .brand-text strong {
    font-size: 19px;
}

.brand-footer .brand-text > span {
    font-size: 13px;
}

.footer-main p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.back-top {
    margin-left: auto;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
}

/* Écrans intermédiaires */

@media (max-width: 1100px) {
    .header-inner {
        gap: 18px;
    }

    .main-navigation {
        gap: 15px;
    }

    .nav-link {
        font-size: 12px;
    }

    .report-button {
        padding-inline: 18px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-art {
        padding: 28px;
    }

    .art-title {
        font-size: 58px;
    }

    .art-title strong {
        font-size: 85px;
    }

    .quick-card {
        padding: 20px;
    }
}

/* Tablettes et navigation mobile */

@media (max-width: 900px) {
    .container {
        width: calc(100% - 40px);
    }

    .ministry {
        display: none;
    }

    .header-inner {
        min-height: 78px;
        flex-wrap: wrap;
        gap: 14px;
        padding-block: 12px;
    }

    .header-inner > .brand {
        margin-right: auto;
    }

    .report-button {
        min-height: 44px;
        padding: 9px 16px;
        font-size: 13px;
    }

    .menu-toggle {
        display: none;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: white;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 19px;
        height: 2px;
        background: var(--ink);
    }

    .main-navigation {
        order: 4;
        width: 100%;
        flex-wrap: wrap;
        margin-left: 0;
        padding-bottom: 8px;
    }

    .js .menu-toggle {
        display: flex;
    }

    .js .main-navigation {
        display: none;
    }

    .js .main-navigation.is-open {
        display: flex;
    }

    .information-inner {
        flex-wrap: wrap;
        gap: 5px 12px;
        padding-block: 10px;
    }

    .information-inner > a {
        display: none;
    }

    .hero {
        padding-block: 36px;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-art {
        min-height: 390px;
        padding: 24px;
    }

    .art-title {
        font-size: 49px;
    }

    .art-title strong {
        font-size: 72px;
    }

    .art-title strong span {
        font-size: 38px;
    }

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

    .news-grid {
        gap: 15px;
    }

    .news-content {
        padding: 18px;
    }

    .news-content h3 {
        font-size: 18px;
    }

    .visual-word {
        font-size: 25px;
    }

    .committee-grid,
    .faq-grid {
        gap: 35px;
    }

    .report-panel {
        gap: 25px;
        padding: 28px;
    }
}

/* Téléphones */

@media (max-width: 640px) {
    .container {
        width: calc(100% - 36px);
    }

    .institutional-bar {
        font-size: 10px;
    }

    .header-inner {
        gap: 10px;
    }

    .brand {
        gap: 8px;
    }

    .brand-symbol {
        font-size: 40px;
    }

    .brand-text strong {
        font-size: 20px;
    }

    .brand-text > span {
        font-size: 13px;
    }

    .report-button {
        gap: 7px;
        padding-inline: 13px;
        font-size: 12px;
    }

    .report-button > span {
        font-size: 18px;
    }

    .main-navigation {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav-link {
        padding: 12px;
    }

    .nav-link.is-active::after {
        display: none;
    }

    .nav-link.is-active {
        border-radius: 7px;
        background: var(--soft);
    }

    .information-inner {
        font-size: 10px;
        line-height: 1.5;
    }

    .hero-grid,
    .news-grid,
    .committee-grid,
    .faq-grid,
    .report-panel {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 30px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    h1 {
        font-size: clamp(36px, 10vw, 46px);
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-art {
        min-height: 315px;
        padding: 26px;
        border-radius: 20px 20px 50px 20px;
    }

    .art-topline {
        font-size: 8px;
    }

    .art-title {
        font-size: 54px;
    }

    .art-title strong {
        font-size: 80px;
    }

    .art-message {
        margin-top: 20px;
    }

    .quick-section {
        padding-block: 32px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .compact-heading h2 {
        font-size: 25px;
    }

    .section-heading > p {
        font-size: 12px;
    }

    .quick-grid {
        gap: 12px;
    }

    .quick-card {
        padding: 18px 15px;
        border-radius: 13px;
    }

    .icon-badge {
        width: 38px;
        height: 38px;
        margin-bottom: 15px;
        font-size: 22px;
    }

    .quick-card h3 {
        font-size: 14px;
    }

    .quick-card p {
        font-size: 11px;
    }

    .card-link {
        font-size: 10px;
    }

    .news-section,
    .faq-section {
        padding-block: 42px;
    }

    .news-grid {
        gap: 22px;
    }

    .news-visual {
        min-height: 170px;
    }

    .visual-word {
        font-size: 33px;
    }

    .news-content {
        padding: 23px;
    }

    .news-content h3 {
        font-size: 22px;
    }

    .committee-section {
        padding-block: 35px;
    }

    .committee-grid,
    .faq-grid {
        gap: 25px;
    }

    .report-section {
        padding-bottom: 35px;
    }

    .report-panel {
        gap: 24px;
        padding: 24px;
    }

    .report-panel h2 {
        font-size: 25px;
    }

    .report-emergency {
        padding: 20px;
    }

    .assistance-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .assistance-inner h2 {
        font-size: 26px;
    }

    .assistance-inner .button {
        width: 100%;
    }

    .footer-main {
        flex-wrap: wrap;
        gap: 22px;
    }

    .footer-main p {
        order: 3;
        width: 100%;
    }

    .back-top {
        font-size: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

/* Très petits écrans */

@media (max-width: 360px) {
    .header-inner {
        gap: 7px;
    }

    .brand-symbol {
        font-size: 33px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text > span {
        font-size: 12px;
    }

    .report-button {
        gap: 5px;
        padding-inline: 10px;
    }

    .menu-toggle {
        width: 40px;
    }

    .art-title strong {
        font-size: 68px;
    }
}

/* Accessibilité */

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

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Impression */

@media print {
    .site-header,
    .institutional-bar,
    .information-strip,
    .hero-art,
    .hero-actions,
    .site-footer,
    .assistance-section {
        display: none;
    }

    .container {
        width: 100%;
    }

    .hero-grid,
    .quick-grid,
    .news-grid,
    .committee-grid,
    .faq-grid,
    .report-panel {
        display: block;
    }

    .quick-card,
    .news-card,
    .report-panel {
        margin-bottom: 15px;
        break-inside: avoid;
    }

    .news-visual {
        display: none;
    }
}
.news-content form label {
    display: inline-block;
    font-size: 14px;
    font-weight: 750;
}

.news-content form input[type="email"],
.news-content form input[type="password"] {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #a9b9af;
    border-radius: 8px;
    color: var(--ink);
    background: white;
    font: inherit;
}

.news-content form input:focus-visible {
    outline: 3px solid #006aab;
    outline-offset: 3px;
}

.news-content form .button {
    width: 100%;
    margin-top: 12px;
    cursor: pointer;
}

.news-content > .report-emergency {
    margin-bottom: 24px;
}

#authentication-code {
    display: block;
    width: 100%;
    min-height: 58px;
    padding: 12px 16px;
    border: 1px solid #a9b9af;
    border-radius: 8px;
    color: var(--ink);
    background: white;
    font: inherit;
    font-size: 26px;
    font-weight: 750;
    letter-spacing: 8px;
    text-align: center;
}

#authentication-code:focus-visible {
    outline: 3px solid #006aab;
    outline-offset: 3px;
}

/* Identité du ministère, également visible sur téléphone. */
.ministry-identity{display:flex;align-items:center;gap:8px;flex-shrink:0}.ministry-identity img{display:block;width:38px;height:28px;object-fit:contain}.ministry-identity>span{font-size:10px;line-height:1.35;font-weight:650;color:var(--ink)}@media(max-width:600px){.institutional-inner{gap:8px;flex-wrap:wrap}.ministry-identity img{width:30px;height:23px}.ministry-identity>span{font-size:9px}}

.document-card{border:1px solid var(--line);border-radius:12px;background:var(--soft);padding:24px;margin:24px 0}.document-card h2{font-size:1.25rem;margin-top:0}.document-hash{display:block;overflow-wrap:anywhere;word-break:break-word;font-size:.82rem;background:#fff;border:1px solid var(--line);border-radius:6px;padding:12px}.document-help{font-size:.85rem;color:var(--muted)}.document-card form{margin-top:24px}.document-card input[type=file]{max-width:100%}

/* Compte à rebours JOJ */
.joj-countdown { margin-top:1.5rem; padding:1.1rem 1.2rem; border-radius:14px; background:rgba(255,255,255,.12); border:1px solid rgba(115,135,151,.32); }
.joj-countdown__label { margin:0 0 .85rem; font-weight:700; }
.joj-countdown__units { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.5rem; }
.joj-countdown__units span { display:flex; align-items:center; flex-direction:column; padding:.65rem .2rem; border-radius:9px; background:rgba(125,145,165,.10); }
.joj-countdown__units strong { font-size:clamp(1.35rem,3vw,2.2rem); font-variant-numeric:tabular-nums; line-height:1.1; }
.joj-countdown__units small { font-size:.76rem; margin-top:.3rem; }
.joj-countdown__done {font-weight:700;margin:.75rem 0 0;}
@media(max-width:420px){.joj-countdown{padding:.8rem}.joj-countdown__units{gap:.3rem}.joj-countdown__units small{font-size:.66rem}}

.onboarding-panel{max-width:660px;margin:48px auto;padding:28px;background:white;border:1px solid #dbe3ee;border-radius:16px}.onboarding-panel form{display:grid;gap:18px;margin:24px 0}.onboarding-panel label,.accounts-reset label{display:grid;gap:8px}.onboarding-panel input,.accounts-reset input:not([type=checkbox]){width:100%;min-height:44px;padding:10px;border:1px solid #aabaca;border-radius:8px;font:inherit}.onboarding-panel img{max-width:100%;height:auto}.accounts-reset{margin-top:18px}.accounts-reset summary{cursor:pointer;font-weight:700}.accounts-reset p{margin:14px 0}.accounts-reset .accounts-form{padding:16px 0}.accounts-reset input[type=checkbox]{width:auto}
