:root {
    --navy:       #012b6d;
    --navy-2:     #01235a;
    --navy-deep:  #011a44;
    --blue:       #217bc0;
    --blue-light: #badcff;
    --gold:       #f5a623;
    --arrow-dark: #160042;

    --ink:    #ffffff;
    --muted:  #b9cdf0;

    --maxw: 1240px;
    --radius: 12px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --shadow-sm: 0 6px 16px rgba(1, 12, 40, .22);
    --shadow-md: 0 16px 34px rgba(1, 12, 40, .32);
    --shadow-lg: 0 26px 50px rgba(1, 12, 40, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--navy);
    background: var(--navy);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.ph {
    background-color: #0a2f6e;
    background-image:
        radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.06), rgba(255,255,255,0) 55%),
        linear-gradient(160deg, #0a3a86 0%, #022257 60%, #011a44 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}
.ph::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.05) 50%, transparent 65%);
    background-size: 250% 100%;
    animation: shimmer 6s var(--ease) infinite;
    pointer-events: none;
}
@keyframes shimmer {
    0%   { background-position: 150% 0; }
    100% { background-position: -150% 0; }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}

.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
    transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
    background: #011f4f;
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; line-height: 0; }
.logo-img {
    height: 68px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: transform .2s var(--ease);
}
.logo:hover .logo-img { transform: scale(1.05); }

.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; flex-wrap: nowrap; }
.main-nav ul { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; }
.main-nav li { position: relative; display: flex; align-items: center; }
.main-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: #fff;
    padding: 6px 0;
    transition: color .18s var(--ease);
    white-space: nowrap;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 2px;
    background: var(--blue-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s var(--ease);
}
.main-nav a:hover { color: var(--blue-light); }
.main-nav a:hover::after { transform: scaleX(1); }
.caret { font-size: 9px; opacity: .8; }

.nav-cta { color: var(--blue-light) !important; }
.nav-cta:hover { color: #fff !important; }

.nav-search input {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 12px;
    min-width: 210px;
    background: rgba(255,255,255,.96);
    color: var(--navy);
    outline: none;
    transition: box-shadow .2s var(--ease), background .2s var(--ease);
}
.nav-search input::placeholder { color: #7f8aa3; }
.nav-search input:focus { background: #fff; box-shadow: 0 0 0 3px rgba(33,123,192,.45); }

.nav-toggle { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero {
    position: relative;
    min-height: 66vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding: 40px 20px; }
.hero-kicker {
    color: var(--gold);
    font-weight: 800;
    font-size: clamp(14px, 2vw, 22px);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 14px;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
    animation: fadeUp .9s .15s var(--ease) both;
}
.hero-title {
    color: #fff;
    font-weight: 700;
    font-size: clamp(46px, 9vw, 116px);
    letter-spacing: -0.5px;
    line-height: .95;
    margin: 0;
    text-shadow: 0 6px 26px rgba(0,0,0,.5);
    animation: fadeUp 1s .32s var(--ease) both;
}

.scroll-cue {
    position: absolute;
    left: 50%; bottom: 26px;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,.6);
    border-radius: 14px;
    animation: fadeUp 1s .6s var(--ease) both;
}
.scroll-cue::before {
    content: "";
    position: absolute;
    left: 50%; top: 8px;
    width: 4px; height: 8px;
    margin-left: -2px;
    background: var(--blue-light);
    border-radius: 2px;
    animation: cueMove 1.8s var(--ease) infinite;
}
@keyframes cueMove {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

.hero + .cards-section { border-top: 26px solid var(--navy); }

.cards-section {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 46px 24px 66px;
}
.cards-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.grid-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    isolation: isolate;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.grid-card-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transition: transform .6s var(--ease); }
.grid-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.62) 100%);
    transition: background .35s var(--ease);
}
.grid-card-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    font-size: clamp(18px, 2.1vw, 26px);
    letter-spacing: .2px;
    text-transform: uppercase;
    padding: 0 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
    transition: transform .35s var(--ease);
}
.grid-card::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    height: 4px; width: 100%;
    z-index: 3;
    background: var(--blue-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.grid-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.grid-card:hover .grid-card-bg { transform: scale(1.08); }
.grid-card:hover .grid-card-overlay { background: linear-gradient(180deg, rgba(1,43,109,.35) 0%, rgba(0,0,0,.6) 100%); }
.grid-card:hover .grid-card-title { transform: translateY(-6px) scale(1.03); }
.grid-card:hover::after { transform: scaleX(1); }

.process-section { background: #ffffff; }

.process-head {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 54px 24px 34px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.process-kicker {
    color: #5f6f90;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px;
}
.process-kicker::before {
    content: "";
    display: inline-block;
    width: 26px; height: 3px;
    background: var(--blue);
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 2px;
}
.process-title {
    color: var(--navy);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin: 0;
}
.process-arrows { display: flex; gap: 12px; flex-shrink: 0; }
.arrow-btn {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid #d4dae6;
    background: #fff;
    color: var(--navy);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.arrow-btn--active { background: var(--arrow-dark); color: #fff; border-color: var(--arrow-dark); }
.arrow-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }

.process-body { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); position: relative; }
.process-cards {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    transform: translateY(-44px);
}
.process-card {
    position: relative;
    background: linear-gradient(160deg, #ffffff 0%, #d6e8ff 55%, var(--blue-light) 100%);
    border-radius: var(--radius);
    min-height: 230px;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.process-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255,255,255,.6), rgba(255,255,255,0) 45%);
    pointer-events: none;
}
.step-num {
    position: absolute;
    top: 16px; right: 22px;
    font-weight: 800;
    font-size: 54px;
    line-height: 1;
    color: rgba(1,43,109,.13);
    letter-spacing: 1px;
}
.process-card span.step-label {
    position: relative;
    color: var(--navy);
    font-weight: 700;
    font-size: clamp(20px, 2.2vw, 26px);
    letter-spacing: -0.2px;
    text-transform: uppercase;
    line-height: 1.15;
}
.process-card::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 5px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.process-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.process-card:hover::after { transform: scaleX(1); }

.process-dots { display: flex; justify-content: center; gap: 10px; padding: 0 0 62px; }
.dot {
    width: 32px; height: 32px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,.16);
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
    cursor: pointer;
}
.dot:hover { transform: translateY(-2px); background: rgba(255,255,255,.3); }
.dot--active { background: #fff; color: var(--navy); }

.site-footer {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--muted);
}
.footer-top {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 54px 24px 42px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
    gap: 30px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.logo-img--footer { height: 122px; width: auto; }

.footer-links li { margin-bottom: 14px; }
.footer-links a {
    position: relative;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .3px;
    text-transform: uppercase;
    transition: color .18s var(--ease), padding-left .18s var(--ease);
}
.footer-links a:hover { color: var(--blue-light); padding-left: 6px; }

.newsletter-title {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 14px;
}
.newsletter-form { display: flex; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.newsletter-form input {
    flex: 1;
    border: none;
    padding: 14px 16px;
    font-size: 13px;
    letter-spacing: .5px;
    color: var(--navy);
    outline: none;
}
.newsletter-form button {
    border: none;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0 22px;
    cursor: pointer;
    text-transform: uppercase;
    transition: filter .18s var(--ease), background .18s var(--ease);
}
.newsletter-form button:hover { background: #1b6aa8; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.copyright { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: -0.2px; }
.footer-legal { display: flex; gap: 26px; }
.footer-legal a {
    font-size: 12px; font-weight: 600; letter-spacing: .3px;
    text-transform: uppercase; color: var(--muted);
    transition: color .18s var(--ease);
}
.footer-legal a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

@media (max-width: 1300px) {
    .main-nav { gap: 16px; }
    .main-nav ul { gap: 16px; }
    .main-nav a { font-size: 12px; letter-spacing: .2px; }
    .nav-search input { min-width: 175px; }
    .logo-img { height: 58px; }
}

@media (max-width: 1150px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #011f4f;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 24px 24px;
        box-shadow: var(--shadow-md);
    }
    .main-nav.open { display: flex; animation: fadeUp .3s var(--ease) both; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .main-nav li { display: block; border-bottom: 1px solid rgba(255,255,255,.1); }
    .main-nav a { display: block; padding: 14px 4px; }
    .main-nav a::after { display: none; }
    .nav-cta { padding: 14px 4px; }
    .nav-search { margin-top: 8px; }
    .nav-search input { width: 100%; min-width: 0; }

    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .process-head { flex-direction: column; }
    .process-cards { grid-template-columns: 1fr; transform: translateY(-30px); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .cards-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .hero { min-height: 56vh; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

.nav-cta--disabled { pointer-events: none; cursor: default; }
.main-nav .has-dropdown { position: relative; }
.nav-parent { cursor: pointer; }
.main-nav .dropdown {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    min-width: 240px;
    flex-direction: column;
    background: #011f4f;
    border-top: 3px solid var(--blue-light);
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow-md);
    padding: 6px 0;
    z-index: 200;
}
.main-nav .has-dropdown:hover > .dropdown,
.main-nav .has-dropdown.open > .dropdown { display: block; }
.main-nav .dropdown li { display: block; }
.main-nav .dropdown a {
    display: block;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
    text-transform: none;
    white-space: nowrap;
    color: #fff;
}
.main-nav .dropdown a::after { display: none !important; }
.main-nav .dropdown a:hover { background: rgba(255,255,255,.08); color: var(--blue-light); }

.page { background: #fff; color: var(--navy); min-height: 60vh; }
.content-wrap { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 70px; }

.careers-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--navy);
    background-image: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    background-size: cover;
    background-position: center;
}
.careers-hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 44px 24px 0; }
.careers-hero--short .careers-hero-inner { padding-bottom: 44px; }

.careers-hero-overlay { display: none; }
.careers-hero--photo .careers-hero-overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(1,15,40,.5) 0%, rgba(1,15,40,.72) 100%);
}
.careers-hero--photo .careers-hero-inner { padding-top: 84px; padding-bottom: 64px; }
.careers-hero--photo .careers-title,
.careers-hero--photo .careers-eyebrow { text-shadow: 0 3px 12px rgba(0,0,0,.55); }
.careers-eyebrow { color: var(--blue-light); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin: 0 0 6px; }
.careers-title { color: #fff; font-weight: 800; font-size: clamp(30px, 5vw, 54px); letter-spacing: -0.5px; margin: 0 0 26px; text-transform: uppercase; }
.careers-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.careers-strip-item { aspect-ratio: 3 / 4; background-size: cover; background-position: center; }

.jobs-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.jobs-intro-text { color: #4a5a77; font-size: 16px; margin: 0; }
.btn-create {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue); color: #fff; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; font-size: 13px; padding: 12px 20px; border-radius: 8px;
    transition: background .18s var(--ease), transform .18s var(--ease);
}
.btn-create:hover { background: #1b6aa8; transform: translateY(-2px); }

.job-list { border-top: 1px solid #e3e8f0; }
.job-item { padding: 26px 0; border-bottom: 1px solid #e3e8f0; }
.job-item-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; margin: 0 0 10px; }
.job-item-title a { color: var(--blue); }
.job-item-title a:hover { text-decoration: underline; }
.job-item-meta { color: #33456b; font-size: 14px; line-height: 1.7; }
.job-item-meta strong { color: var(--navy); font-weight: 700; }
.jobs-empty { padding: 40px 0; color: #6b7a99; font-style: italic; }

.back-link { display: inline-block; margin-bottom: 18px; color: var(--blue); font-weight: 600; font-size: 14px; }
.back-link:hover { text-decoration: underline; }
.offre-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: var(--blue); margin: 0 0 24px; }
.offre-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; padding-bottom: 26px; border-bottom: 1px solid #e3e8f0; }
.offre-field { display: grid; grid-template-columns: 160px 1fr; gap: 10px; align-items: start; }
.offre-field .lbl { font-weight: 700; color: var(--navy); font-size: 14px; }
.offre-field .val { color: #33456b; font-size: 14px; }
.offre-sections { padding-top: 28px; }
.offre-section { margin-bottom: 26px; }
.offre-section h3 { color: var(--navy); font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; margin: 0 0 10px; }
.offre-section p { color: #33456b; font-size: 15px; line-height: 1.7; margin: 0; white-space: pre-line; }

.code-gate { max-width: 440px; margin: 30px auto; background: #f5f8fd; border: 1px solid #dde5f1; border-radius: 12px; padding: 30px; text-align: center; }
.code-gate h2 { color: var(--navy); font-size: 22px; margin: 0 0 6px; }
.code-gate p { color: #5f6f90; font-size: 14px; margin: 0 0 20px; }
.form-msg-error { background: #fdecec; color: #a12727; border: 1px solid #f3c2c2; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin: 0 0 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea, .code-gate input {
    width: 100%; border: 1px solid #cdd6e5; border-radius: 8px; padding: 12px 14px;
    font-size: 14px; font-family: inherit; color: var(--navy); outline: none;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .code-gate input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.form-section-title { font-size: 15px; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .3px; margin: 26px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-light); }
.btn-submit { background: var(--blue); color: #fff; border: none; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: 14px; padding: 14px 26px; border-radius: 8px; cursor: pointer; transition: background .18s var(--ease); }
.btn-submit:hover { background: #1b6aa8; }
.form-msg-ok { background: #eaf7ee; color: #1e6b3a; border: 1px solid #b9e3c6; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin: 0 0 18px; }

.admin-jobs { margin-top: 44px; }
.admin-job-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e3e8f0; }
.admin-job-info a { color: var(--blue); font-weight: 700; font-size: 15px; }
.admin-job-info a:hover { text-decoration: underline; }
.admin-job-loc { display: block; color: #6b7a99; font-size: 13px; margin-top: 2px; }
.btn-delete { background: #c0392b; color: #fff; border: none; font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 8px; cursor: pointer; text-transform: uppercase; letter-spacing: .3px; transition: background .18s var(--ease); flex-shrink: 0; }
.btn-delete:hover { background: #a12f22; }

.cond-list { max-width: 860px; }
.cond-item { border: 1px solid #e0e6f0; border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.cond-head {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 700;
    font-size: 17px;
    color: var(--navy);
    background: #f5f8fd;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .15s var(--ease);
}
.cond-head::-webkit-details-marker { display: none; }
.cond-head::after { content: "+"; font-size: 24px; line-height: 1; color: var(--blue); font-weight: 700; margin-left: 16px; }
.cond-item[open] .cond-head { background: #eaf1fb; }
.cond-item[open] .cond-head::after { content: "\2212"; }
.cond-head:hover { background: #eaf1fb; }
.cond-body { padding: 8px 24px 22px; }
.cond-intro { color: #4a5a77; font-size: 15px; margin: 8px 0 12px; font-style: italic; }
.cond-subtitle { color: var(--navy); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin: 16px 0 8px; }
.cond-subtitle::before { content: ""; display: inline-block; width: 18px; height: 3px; background: var(--blue); vertical-align: middle; margin-right: 9px; border-radius: 2px; }
.cond-body ul, .cond-body ol { margin: 0; padding-left: 24px; }
.cond-body ul { list-style: disc; }
.cond-body ol { list-style: decimal; }
.cond-body li { color: #33456b; font-size: 15px; line-height: 1.7; margin-bottom: 8px; }

.cond-general { background: linear-gradient(160deg, #f4f8ff, #e7f0fc); border: 1px solid #d3e0f2; border-left: 5px solid var(--blue); border-radius: 12px; padding: 24px 28px; margin: 8px 0 34px; max-width: 860px; }
.cond-general h2 { color: var(--navy); font-size: 18px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .3px; }
.cond-general ul { list-style: disc; margin: 0; padding-left: 22px; }
.cond-general li { color: #33456b; font-size: 15px; line-height: 1.7; margin-bottom: 8px; }
.cond-cat-title { color: var(--navy); font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; text-transform: uppercase; letter-spacing: .3px; margin: 36px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--blue-light); max-width: 860px; }

.evt-intro { background: #eaf2fc; border: 1px solid #d3e2f5; border-radius: 12px; padding: 30px 28px; text-align: center; margin: 0 auto 34px; max-width: 980px; }
.evt-intro h2 { color: var(--blue); font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin: 0 0 12px; }
.evt-intro p { color: #33456b; font-size: 16px; margin: 0 auto 8px; max-width: 760px; line-height: 1.6; }
.evt-intro-note { font-weight: 700; color: var(--navy); }

.evt-card { border: 1.5px solid #cdddf3; border-radius: 12px; padding: 24px 28px; background: #fff; max-width: 980px; margin: 0 auto 26px; }
.evt-card p { margin: 0 0 8px; color: #33456b; font-size: 15px; line-height: 1.6; }
.evt-card p:last-child { margin-bottom: 0; }
.evt-card-strong { color: var(--navy); font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .3px; }
.evt-card strong { color: var(--navy); }

.evt-remarks { border: 1.5px solid #cdddf3; border-radius: 12px; padding: 28px 30px; background: #fff; max-width: 980px; margin: 0 auto; }
.evt-remarks p { color: #33456b; font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
.evt-remarks strong { color: var(--navy); }
.evt-strong { color: var(--navy); font-weight: 700; font-size: 16px; }
.evt-bye { color: var(--blue); font-weight: 800; font-size: 18px; margin: 18px 0 0 !important; }

.evt-section { margin: 44px 0; }
.evt-section-title { background: var(--navy); color: #fff; text-align: center; padding: 16px 20px; font-size: clamp(19px, 2.6vw, 26px); font-weight: 800; letter-spacing: .3px; }
.evt-section-title--light { background: var(--blue-light); color: var(--navy); }
.evt-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; border: 1px solid #e0e6f0; border-top: none; }
.evt-photo { min-height: 380px; background-color: #d9e2f0; background-size: cover; background-position: center; }
.evt-photo--empty { background-color: #d9e2f0; }
.evt-split-text { padding: 30px 34px; }
.evt-split-text h3 { color: var(--blue); font-size: 22px; font-weight: 800; margin: 0 0 14px; }
.evt-split-text > p { color: #33456b; font-size: 15px; line-height: 1.7; margin: 0 0 14px; }
.evt-split-text ul { list-style: disc; margin: 0 0 16px; padding-left: 22px; }
.evt-split-text li { color: #33456b; font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
.evt-infobox { border: 1px solid #cdddf3; border-radius: 10px; padding: 18px 20px; background: #f5f8fd; }
.evt-infobox p { margin: 0 0 6px; font-size: 14px; color: #33456b; line-height: 1.6; }
.evt-infobox p:last-child { margin-bottom: 0; }
.evt-infobox strong { color: var(--navy); }

@media (max-width: 820px) {
    .evt-split { grid-template-columns: 1fr; }
    .evt-photo { min-height: 220px; }
}

.hero--page { justify-content: center; text-align: left; }
.hero--page .hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; text-align: left; }
.hero--page .hero-title { text-align: left; margin: 0; }
.hero-title .gold { color: var(--gold); }
.hero-rule { display: block; width: min(520px, 70%); height: 3px; background: rgba(255,255,255,.55); margin: 10px 0 16px; }
.hero-sub { color: #fff; font-weight: 700; font-size: clamp(15px, 2vw, 22px); text-transform: uppercase; letter-spacing: .5px; margin: 0 0 22px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero { display: inline-block; padding: 13px 26px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; font-size: 14px; border-radius: 4px; transition: transform .18s var(--ease), filter .18s var(--ease); }
.btn-hero:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-hero--blue { background: var(--blue); color: #fff; }
.btn-hero--teal { background: #159a9a; color: #fff; }
.btn-hero.nav-cta--disabled:hover { transform: none; }

.evt-split--box { border-top: 1px solid #e0e6f0; border-radius: 12px; overflow: hidden; }
.btn-academy { display: inline-block; background: var(--blue); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; font-size: 13px; padding: 12px 22px; border-radius: 6px; margin-top: 6px; transition: background .18s var(--ease); }
.btn-academy:hover { background: #1b6aa8; }

.acad-item { margin-bottom: 22px; }
.acad-item:last-child { margin-bottom: 0; }
.acad-item h4 { color: var(--navy); font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; margin: 0 0 8px; display: flex; align-items: center; gap: 12px; }
.acad-item h4::before { content: ""; width: 24px; height: 24px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23217bc0'/%3E%3Cpath d='M6.5 12.5l3.3 3.3 7.7-8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.acad-item p { color: #33456b; font-size: 14.5px; line-height: 1.65; margin: 0; }

.newsletter-msg { font-size: 12px; margin: 8px 0 0; min-height: 15px; line-height: 1.4; }
.newsletter-msg.ok { color: #8be0a6; }
.newsletter-msg.err { color: #ff9d9d; }

@media (max-width: 900px) {
    .careers-strip { grid-template-columns: repeat(3, 1fr); }
    .offre-top { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1150px) {
    .main-nav .dropdown { position: static; display: none; min-width: 0; box-shadow: none; border-top: none; background: rgba(255,255,255,.05); border-radius: 0; padding: 0; }
    .main-nav .has-dropdown:hover > .dropdown { display: none; }
    .main-nav .has-dropdown.open > .dropdown { display: block; }
    .main-nav .dropdown a { padding: 12px 16px 12px 30px; }
}
@media (max-width: 560px) {
    .careers-strip { grid-template-columns: repeat(3, 1fr); }
}

.acad-band {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 18px 24px;
    margin: 0;
    font-size: clamp(20px, 2.8vw, 30px);
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.acad-band--light { background: var(--blue-light); color: var(--navy); }

.acad-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: #fff;
}
.acad-copy {
    padding: 42px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.acad-copy--pad { padding: 46px 48px; }
.acad-copy h2 {
    color: var(--blue);
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 18px;
}
.acad-copy > p { color: #33456b; font-size: 15.5px; line-height: 1.75; margin: 0 0 16px; }
.acad-copy > p:last-child { margin-bottom: 0; }
.acad-lead { font-weight: 800; color: var(--navy); }
.acad-copy ul { list-style: disc; margin: 4px 0 0; padding-left: 22px; }
.acad-copy li { color: #33456b; font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
.acad-copy li strong { color: var(--navy); }
.acad-copy .btn-academy { align-self: flex-start; margin-top: 18px; }

.acad-photo {
    min-height: 440px;
    background-color: #d9e2f0;
    background-size: cover;
    background-position: center;
}

.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(45deg, #e6edf7 0 22px, #dde6f3 22px 44px);
    color: #5f6f90;
    text-align: center;
}
.acad-ph { font-size: 13px; letter-spacing: .3px; padding: 10px 16px; }
.acad-ph b {
    display: block;
    font-size: 15px;
    color: var(--navy);
    background: #fff;
    border: 1px solid #c6d3e8;
    border-radius: 999px;
    padding: 5px 14px;
    margin: 0 auto 8px;
    width: max-content;
}

.acad-feat { margin-bottom: 26px; }
.acad-feat:last-child { margin-bottom: 0; }
.acad-feat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.acad-feat-ico { width: 30px; height: 30px; color: var(--blue); flex-shrink: 0; }
.acad-feat-ico svg { width: 100%; height: 100%; display: block; }
.acad-feat h4 {
    color: var(--navy);
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin: 0;
    line-height: 1.2;
}
.acad-feat p { color: #33456b; font-size: 14.5px; line-height: 1.65; margin: 0; }

.acad-cap-band { background: var(--navy); text-align: center; padding: 26px 24px; }
.acad-cap-band h2 {
    color: var(--gold);
    font-weight: 800;
    font-size: clamp(24px, 3.6vw, 42px);
    margin: 0 0 8px;
    line-height: 1.1;
}
.acad-cap-band p { color: #fff; font-size: clamp(15px, 1.9vw, 20px); font-weight: 600; margin: 0; }

.acad-cap-strip {
    height: clamp(180px, 26vw, 300px);
    background-color: #0a2f6e;
    background-size: cover;
    background-position: center;
}

.acad-locations,
.acad-cap-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}
.acad-cap-wrap { padding-top: 0; }
.acad-loc-card {
    border: 1px solid #d5deec;
    border-radius: 12px;
    padding: 24px 26px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.acad-loc-card h3 {
    color: var(--navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
}
.acad-loc-card p { color: #33456b; font-size: 14.5px; line-height: 1.65; margin: 0 0 10px; }
.acad-loc-card p:last-child { margin-bottom: 0; }
.acad-loc-card strong { color: var(--navy); }
.acad-loc-note { color: #5f6f90; font-style: italic; }
.acad-loc-photo {
    min-height: 220px;
    border-radius: 12px;
    background-color: #d9e2f0;
    background-size: cover;
    background-position: center;
    margin-top: 14px;
    overflow: hidden;
}
.acad-locations > .acad-loc-photo { margin-top: 0; min-height: 100%; }

.acad-map-card .acad-loc-photo {
    min-height: 340px;
    background-color: #141821;
    background-size: contain;
    background-repeat: no-repeat;
}

.acad-split--tint { background: #eaf2fc; }

.mct-intro { padding-top: 46px; padding-bottom: 10px; }
.mct-intro .acad-lead { color: var(--navy); font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.mct-intro ul { list-style: disc; margin: 0; padding-left: 24px; }
.mct-intro li { color: var(--blue); font-size: 15.5px; line-height: 1.8; margin-bottom: 10px; }

.pat-band { background: var(--navy); color: #fff; padding: 30px 24px 36px; }
.pat-band h2 { text-align: center; font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; margin: 0 0 18px; }
.pat-band p { max-width: 1000px; margin: 0 auto; font-size: 15.5px; line-height: 1.75; color: #eaf1fb; }
.pat-band strong { color: #fff; }
.pat-band a { color: #fff; text-decoration: underline; font-weight: 700; }

.pat-tests { list-style: none; counter-reset: pat; margin: 6px 0 0; padding: 0; }
.pat-tests li { counter-increment: pat; margin-bottom: 24px; }
.pat-tests li:last-child { margin-bottom: 0; }
.pat-test-name { display: block; color: var(--navy); font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.pat-test-name::before { content: counter(pat) ". "; color: var(--blue); font-weight: 800; }
.btn-video {
    display: inline-block;
    background: #159a9a;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-size: 12px;
    padding: 10px 18px;
    border-radius: 6px;
    transition: filter .18s var(--ease), transform .18s var(--ease);
}
.btn-video:hover { filter: brightness(1.08); transform: translateY(-1px); }

.pat-link { color: var(--blue); font-weight: 800; text-decoration: underline; text-transform: uppercase; letter-spacing: .3px; font-size: 14px; }
.pat-link:hover { color: #1b6aa8; }

.ent-band { background: #5c2d91; color: #fff; text-align: center; padding: 30px 24px 36px; }
.ent-band h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin: 0 0 12px; }
.ent-band p { font-size: 16px; line-height: 1.6; margin: 0 auto; max-width: 760px; color: #efe7f8; }

.ent-numbers { margin: 10px 0 16px; padding-left: 24px; }
.ent-numbers li { color: var(--navy); font-weight: 700; font-size: 16px; line-height: 1.6; margin-bottom: 8px; }
.ent-numbers li::marker { color: var(--blue); font-weight: 800; }

.ent-subtitle { color: var(--blue); font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; margin: 8px 0 18px; }
.ent-subtitle:not(:first-child) { margin-top: 40px; }

.ent-questions { max-width: none; }

.ent-final { list-style: disc; margin: 0; padding-left: 24px; max-width: 900px; }
.ent-final li { color: #33456b; font-size: 15.5px; line-height: 1.75; margin-bottom: 12px; }
.ent-final strong { color: var(--navy); }

.ent-video { margin: 26px 0 0; max-width: 720px; }
.ent-video-ph {
    aspect-ratio: 16 / 9;
    background: linear-gradient(160deg, #0a3a86 0%, #011a44 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #cddcf5;
    font-weight: 600;
    font-size: 15px;
    box-shadow: var(--shadow-sm);
}
.ent-video-play {
    width: 62px; height: 62px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff; padding-left: 4px;
}
.ent-video-thumb {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16 / 9;
    background-size: cover; background-position: center;
    border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.ent-video-thumb::before {
    content: ""; position: absolute; inset: 0;
    background: rgba(4, 20, 50, .34);
    transition: background .2s var(--ease);
}
.ent-video-thumb:hover::before { background: rgba(4, 20, 50, .16); }
.ent-video-thumb .ent-video-play {
    position: relative; z-index: 1;
    background: rgba(0, 0, 0, .55);
    transition: transform .2s var(--ease);
}
.ent-video-thumb:hover .ent-video-play { transform: scale(1.08); }

.faq-section { background: #eef4fc; }
.faq-title { color: var(--blue); text-align: center; font-size: clamp(24px, 3.6vw, 40px); font-weight: 800; line-height: 1.2; margin: 0 0 30px; }
.faq-list { max-width: 1000px; margin: 0 auto; }
.faq-list .cond-item { background: #fff; }

.portal-btn {
    display: inline-flex; align-items: center; gap: 7px;
    flex-shrink: 0;
    padding: 8px 15px;
    border: 1px solid rgba(245, 166, 35, .5);
    border-radius: 999px;
    background: rgba(245, 166, 35, .10);
    color: var(--gold);
    font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    white-space: nowrap;
    transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.portal-btn svg { width: 16px; height: 16px; display: block; }
.portal-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-1px); }
@media (max-width: 1300px) { .portal-btn { padding: 8px 11px; } .portal-btn span { display: none; } }
@media (max-width: 1150px) { .portal-btn { padding: 8px 15px; } .portal-btn span { display: inline; } }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.main-nav li.nav-mobile-only { display: none; }
.site-header:not(.site-header--police) .main-nav { order: 1; }
.site-header:not(.site-header--police) .nav-toggle { order: 2; }

.site-header--police { background: #012b6d linear-gradient(180deg, #012b6d 0%, #01245b 100%); }
.site-header--police::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #9c7014 0%, #f5c451 50%, #9c7014 100%); }
.site-header--police .header-inner { padding: 12px 28px 10px; gap: 18px; }

.site-header--police .brand { gap: 14px; }
.site-header--police .logo-img { height: 54px; }
.brand-sep { flex: 0 0 auto; width: 1px; height: 38px; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.3), rgba(255,255,255,0)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: #fff; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--gold); }
.brand-sub { margin-top: 3px; font-size: 10.5px; font-weight: 600; letter-spacing: 2.3px; text-transform: uppercase; color: #93a9d4; white-space: nowrap; }

.site-header--police .nav-toggle { order: 1; width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; border-radius: 10px; }

.site-header--police .main-nav { gap: 14px; }
.site-header--police .main-nav ul { gap: 4px; }
.site-header--police .main-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; color: #d6e2f7; transition: background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease); }
.site-header--police .main-nav a .fi { font-size: 14px; line-height: 1; display: flex; color: #8fb0e6; transition: color .18s var(--ease); }
.site-header--police .main-nav a::after { display: none; }
.site-header--police .main-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-header--police .main-nav a:hover .fi { color: #fff; }
.site-header--police .main-nav a.is-active { background: rgba(245,166,35,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(245,166,35,.4); }
.site-header--police .main-nav a.is-active .fi { color: var(--gold); }

.site-header--police .nav-search { position: relative; display: flex; align-items: center; }
.site-header--police .nav-search .fi { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 14px; line-height: 1; display: flex; color: #8fa6cf; pointer-events: none; transition: color .2s var(--ease); }
.site-header--police .nav-search input { width: 250px; min-width: 0; padding: 10px 16px 10px 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); color: #fff; font-family: inherit; font-size: 13px; transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), width .25s var(--ease); }
.site-header--police .nav-search input::placeholder { color: #93a6c8; }
.site-header--police .nav-search input:focus { outline: 2px solid transparent; outline-offset: 2px; width: 290px; background: #fff; color: #1c2942; border-color: #f5c451; box-shadow: 0 0 0 1px #f5c451; }
.site-header--police .nav-search input:focus::placeholder { color: #64748b; }
.site-header--police .nav-search:focus-within .fi { color: var(--navy); }

.site-header--police .header-actions { gap: 14px; }
.header-actions-sep { flex: 0 0 auto; width: 1px; height: 30px; background: rgba(255,255,255,.16); }
.nav-user { display: flex; align-items: center; gap: 10px; }
.nav-user-ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1; color: var(--gold); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.nav-user-ic .fi { display: flex; }
.nav-user-txt { display: flex; flex-direction: column; line-height: 1.2; }
.nav-user-txt small { font-size: 10.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #93a9d4; }
.nav-user-txt strong { font-size: 14.5px; font-weight: 800; letter-spacing: .3px; color: #fff; white-space: nowrap; }
.nav-user-txt em { font-style: normal; font-size: 12px; color: #93a9d4; margin-top: 2px; }
.site-header--police .portal-btn { height: 38px; padding: 0 20px; border: none; background: linear-gradient(135deg, #f7bd45 0%, #e29a14 100%); color: #0b2350; font-weight: 800; letter-spacing: 1px; box-shadow: 0 6px 16px rgba(226,154,20,.28); }
.site-header--police .portal-btn span { display: inline; }
.site-header--police .portal-btn:hover { background: linear-gradient(135deg, #ffd06a 0%, #efaa25 100%); color: #0b2350; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(226,154,20,.38); }
.site-header--police .portal-btn.is-active { outline: 2px solid rgba(245,196,81,.55); outline-offset: 3px; }
.nav-logout { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1; color: #b9c8e6; border: 1px solid rgba(255,255,255,.16); transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.nav-logout .fi { display: flex; }
.nav-logout:hover { color: #fff; background: rgba(231,76,60,.2); border-color: rgba(231,76,60,.55); }
.site-header--police .main-nav a.nav-logout-mobile { display: none; }

.site-header--police .brand:focus-visible,
.site-header--police .nav-toggle:focus-visible,
.site-header--police .main-nav a:focus-visible,
.site-header--police .portal-btn:focus-visible,
.site-header--police .nav-logout:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.site-header--police .brand:focus-visible,
.site-header--police .nav-toggle:focus-visible { border-radius: 10px; }

@media (max-width: 1150px) {
    .site-header--police .header-inner { gap: 14px; }
    .site-header--police .header-actions { gap: 12px; }
    .site-header--police .nav-toggle { display: none; }
    .site-header--police .main-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 10px; padding: 0; background: none; box-shadow: none; border: none; animation: none; }
    .site-header--police .main-nav ul { flex-direction: row; align-items: center; width: auto; gap: 4px; }
    .site-header--police .main-nav li { display: flex; border-bottom: none; }
    .site-header--police .main-nav li.nav-mobile-only { display: none; }
    .site-header--police .main-nav a { display: inline-flex; padding: 9px 13px; }
    .site-header--police .main-nav a.nav-logout-mobile { display: none; }
    .site-header--police .nav-search { margin-top: 0; }
    .site-header--police .nav-search input { width: 180px; }
    .site-header--police .nav-search input:focus { width: 210px; }
}

@media (max-width: 1024px) {
    .site-header--police .nav-toggle { display: flex; margin-left: 0; margin-right: -9px; }
    .site-header--police .header-actions { margin-left: auto; }
    .site-header--police .nav-user,
    .site-header--police .header-actions-sep,
    .site-header--police .nav-logout { display: none; }
    .site-header--police .portal-btn { height: 44px; }
    .site-header--police .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 28px 20px; background: #011f4f; border-top: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-md); }
    .site-header--police .main-nav.open { display: flex; animation: fadeUp .3s var(--ease) both; }
    .site-header--police .main-nav ul { flex-direction: column; align-items: stretch; width: 100%; gap: 4px; }
    .site-header--police .main-nav li { display: block; }
    .site-header--police .main-nav li.nav-mobile-only { display: block; }
    .site-header--police .main-nav a { display: flex; gap: 12px; padding: 13px 14px; border-radius: 10px; font-size: 13.5px; }
    .site-header--police .nav-search input,
    .site-header--police .nav-search input:focus { width: 100%; }
    .site-header--police .nav-search input { font-size: 16px; padding-top: 12px; padding-bottom: 12px; }
    .nav-user-mobile { display: flex !important; align-items: center; gap: 12px; padding: 6px 0 14px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .nav-user-mobile .nav-user-ic { width: 40px; height: 40px; font-size: 17px; }
    .site-header--police .main-nav a.nav-logout-mobile { display: flex; margin-top: 2px; padding-top: 14px; border-radius: 0; border-top: 1px solid rgba(255,255,255,.1); color: #f3b1a9; }
    .site-header--police .main-nav a.nav-logout-mobile .fi { color: #f3b1a9; }
    .site-header--police .main-nav a.nav-logout-mobile:hover { background: rgba(231,76,60,.16); color: #fff; border-radius: 10px; }
}

@media (max-width: 560px) {
    .site-header--police .header-inner { padding: 10px 16px 8px; gap: 8px; }
    .site-header--police .logo-img { height: 44px; }
    .site-header--police .brand { gap: 8px; }
    .site-header--police .brand-sep { height: 30px; }
    .site-header--police .brand-name { font-size: 17px; letter-spacing: .8px; }
    .site-header--police .brand-sub { display: none; }
    .site-header--police .portal-btn { padding: 0 13px; letter-spacing: .6px; }
    .site-header--police .main-nav { padding: 12px 16px 18px; }
}

@media (max-width: 374px) {
    .site-header--police .portal-btn { width: 44px; padding: 0; justify-content: center; }
    .site-header--police .portal-btn span { display: none; }
}

.portail-page { background: #f4f7fc; }
.portail-page .content-wrap { padding-top: 56px; padding-bottom: 80px; }

.portail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }

.portail-title { color: var(--navy); font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.12; margin: 0 0 18px; }
.portail-lead { color: #4a5a77; font-size: 16px; line-height: 1.7; margin: 0 0 26px; max-width: 560px; }

.portail-restrict { background: #fff; border: 1px solid #e2e8f2; border-left: 4px solid var(--gold); border-radius: 10px; padding: 18px 22px; margin: 0 0 30px; max-width: 560px; box-shadow: var(--shadow-sm); }
.portail-restrict-title { color: var(--navy); font-weight: 800; font-size: 15px; margin: 0 0 8px; }
.portail-restrict-title::before { content: "\25CF  "; color: var(--gold); }
.portail-restrict p { color: #5f6f90; font-size: 14px; line-height: 1.6; margin: 0; }

.portail-div-label { color: #8a97b3; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 12px; }
.portail-div-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid #e2e8f2; border-radius: 10px; padding: 16px 20px; max-width: 560px; box-shadow: var(--shadow-sm); }
.portail-div-badge { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(160deg, var(--blue), var(--navy)); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; letter-spacing: .5px; }
.portail-div-logo { width: 54px; height: auto; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(1,26,68,.22)); }
.portail-div-name { color: var(--navy); font-weight: 700; font-size: 16px; margin: 0; }
.portail-div-sub { color: #8a97b3; font-size: 13px; margin: 2px 0 0; }

.portail-login { background: #fff; border: 1px solid #e2e8f2; border-radius: 16px; padding: 40px 34px; text-align: center; box-shadow: var(--shadow-md); }
.portail-lock { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(160deg, #eaf1fb, #d6e6fb); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.portail-lock svg { width: 34px; height: 34px; }
.portail-lock--ok { background: linear-gradient(160deg, #e7f7ec, #c9ecd4); color: #1e8f4e; }
.portail-login h2 { color: var(--navy); font-size: 24px; font-weight: 800; margin: 0 0 12px; }
.portail-login-text { color: #5f6f90; font-size: 14.5px; line-height: 1.6; margin: 0 0 22px; }

.btn-discord { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #5865F2; color: #fff; font-weight: 700; font-size: 15px; padding: 14px 20px; border-radius: 10px; transition: filter .18s var(--ease), transform .18s var(--ease); }
.btn-discord svg { width: 22px; height: 22px; }
.btn-discord:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-discord--off { background: #9aa0c9; cursor: not-allowed; }
.btn-discord--off:hover { filter: none; transform: none; }

.portail-note { color: #8a97b3; font-size: 13px; line-height: 1.6; margin: 20px 0 0; }
.portail-config { color: #a1701c; background: #fdf3e0; border: 1px solid #f2dcae; border-radius: 8px; padding: 9px 12px; font-size: 12.5px; margin: 12px 0 0; }
.portail-config code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; }
.portail-denied { background: #fdecec; color: #a12727; border: 1px solid #f3c2c2; border-radius: 8px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; margin: 0 0 18px; text-align: left; }

.portail-granted { max-width: 960px; margin: 0 auto; text-align: center; }
.portail-granted h1 { color: var(--navy); font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 0 0 4px; }
.portail-grade { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.portail-grade .fi { color: var(--gold); font-size: 14px; line-height: 1; display: flex; }
.portail-granted-name { color: #6a7a96; font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.portail-granted-sub { color: #4a5a77; font-size: 16px; line-height: 1.7; margin: 0 auto 6px; max-width: 620px; }
.portail-roles-line { color: #1e8f4e; font-weight: 700; font-size: 14px; margin: 0 0 30px; }

.portail-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin: 0 0 34px; text-align: left; }
.portail-unit { display: block; background: #fff; border: 1px solid #e2e8f2; border-left: 4px solid var(--blue); border-radius: 12px; padding: 22px 22px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.portail-unit:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.portail-unit h3 { color: var(--navy); font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.portail-unit p { color: #5f6f90; font-size: 13px; line-height: 1.55; margin: 0; }
.portail-logout { margin-top: 6px; }

@media (max-width: 860px) {
    .portail-grid { grid-template-columns: 1fr; gap: 30px; }
    .portail-page .content-wrap { padding-top: 36px; }
}
@media (max-width: 480px) {
    .portail-units { grid-template-columns: 1fr; }
}

.portail-unit--soon { position: relative; opacity: .68; }
.portail-unit--soon:hover { transform: none; box-shadow: var(--shadow-sm); }
.soon-tag { position: absolute; top: 14px; right: 14px; background: #eef1f6; color: #8a97b3; font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }

.rapport-h1 { color: var(--navy); font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; margin: 8px 0 6px; }
.rapport-intro { color: #5f6f90; font-size: 15px; line-height: 1.6; margin: 0 0 26px; max-width: 740px; }
.rapport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

.field .opt { color: #9aa7c2; font-weight: 500; font-size: 12px; }

.dyn-rows { margin-bottom: 10px; }
.dyn-rows .drow { display: grid; grid-template-columns: 120px 1fr 36px; gap: 8px; margin-bottom: 8px; }
.dyn-rows .crow { display: grid; grid-template-columns: 1fr 36px; gap: 8px; margin-bottom: 8px; }
.dyn-rows input { width: 100%; border: 1px solid #cdd6e5; border-radius: 8px; padding: 11px 12px; font-size: 14px; font-family: inherit; color: var(--navy); outline: none; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.dyn-rows input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.dyn-del { border: 1px solid #e6c6c6; background: #fdf1f1; color: #c0392b; border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1; transition: background .15s var(--ease); }
.dyn-del:hover { background: #f7dede; }
.dyn-add { background: #eef4fc; color: var(--blue); border: 1px solid #d3e2f5; border-radius: 8px; padding: 8px 15px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s var(--ease); }
.dyn-add:hover { background: #e0ecfb; }

.rapport-preview { position: sticky; top: 90px; }
.rapport-preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rapport-preview-head span { font-weight: 800; color: var(--navy); font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.btn-copy { background: var(--blue); color: #fff; border: none; border-radius: 8px; padding: 9px 20px; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .18s var(--ease); }
.btn-copy:hover { background: #1b6aa8; }
.rapport-preview-head { flex-wrap: wrap; gap: 8px 12px; }
.rapport-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-brouillon { display: inline-flex; align-items: center; gap: 8px; background: #5865f2; color: #fff; border: none; border-radius: 3px; padding: 9px 16px; font-family: inherit; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .18s var(--ease); }
.btn-brouillon:hover { background: #4752c4; }
.btn-brouillon:disabled { opacity: .75; cursor: progress; }
.btn-brouillon .discord-mark { width: 16px; height: 16px; flex: none; }
.rapport-preview-head .btn-brouillon-label { color: inherit; font: inherit; text-transform: none; letter-spacing: normal; }
.rapport-send-msg { margin: 0 0 10px; padding: 9px 12px; border: 1px solid; border-radius: 3px; font-size: 13px; font-weight: 600; line-height: 1.45; }
.rapport-send-msg[hidden] { display: none; }
.rapport-send-msg.is-ok { background: #eef8f1; border-color: #bfe3cb; color: #1e6b3a; }
.rapport-send-msg.is-err { background: #fdf1f1; border-color: #e6c6c6; color: #a12a1e; }
.rapport-out { background: #fbfbf7; border: 1px solid #dfe5ef; border-radius: 12px; padding: 22px 20px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12.5px; line-height: 1.6; color: #1c2942; white-space: pre-wrap; word-break: break-word; max-height: 74vh; overflow: auto; box-shadow: var(--shadow-sm); margin: 0; }

@media (max-width: 900px) {
    .rapport-grid { grid-template-columns: 1fr; }
    .rapport-preview { position: static; }
}

.rf { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rf [hidden] { display: none !important; }
.rf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rf-saved { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #17753f; }
.rf-saved .fi { display: flex; font-size: 13px; }
.rf-sec { background: #fff; border: 1px solid #d5deea; border-radius: 3px; padding: 0 18px 4px; }
.rf-sec-h { display: flex; align-items: center; gap: 10px; margin: 0 -18px 14px; padding: 10px 18px; background: #f3f6fb; border-bottom: 1px solid #dfe6f0; font-size: 12.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--navy); }
.rf-sec-n { flex: 0 0 auto; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; background: var(--navy); color: #fff; font-size: 11.5px; letter-spacing: 0; }
.rf-help { margin: -4px 0 10px; font-size: 12.5px; line-height: 1.5; color: #5a6785; }
.rf .field { margin-bottom: 14px; }
.rf .form-grid { gap: 0 16px; }
.rf-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 43px; padding: 0 16px; border-radius: 3px; font-family: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.rf-btn .fi { display: flex; font-size: 14px; line-height: 1; }
.rf-btn--primary { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.rf-btn--primary:hover { background: #0a3a86; border-color: #0a3a86; }
.rf-btn--primary:disabled { background: #b8c3d6; border-color: #b8c3d6; cursor: not-allowed; }
.rf-btn--ghost { height: 36px; padding: 0 12px; font-size: 12.5px; background: #fff; color: var(--navy); border: 1px solid #cdd6e5; }
.rf-btn--ghost:hover { background: #f6f8fc; border-color: var(--navy); }
.rf-btn:focus-visible, .rf-qty-btn:focus-visible, .rf-combo-toggle:focus-visible, .rf-custom summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.rf-inline { display: flex; align-items: center; gap: 8px; }
.rf-inline input { flex: 1 1 auto; width: auto; min-width: 0; }
.rf-inline .rf-btn--ghost { height: 43px; }

.rf .dyn-rows { margin-bottom: 10px; }
.rf .dyn-rows .drow { margin-bottom: 0; }
.rf .dyn-rows input { border-radius: 3px; }
.rf .dyn-add { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 14px; border-radius: 3px; }
.rf .dyn-add .fi { display: flex; font-size: 14px; }

.rf-combo { position: relative; margin-bottom: 12px; }
.rf-combo-row { display: flex; gap: 8px; }
.rf-combo-box { position: relative; flex: 1 1 auto; min-width: 0; }
.rf-combo-box > .fi { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); display: flex; font-size: 14px; color: #7d8bab; pointer-events: none; }
.rf-combo-box input { width: 100%; height: 43px; padding: 0 42px 0 38px; border: 1px solid #cdd6e5; border-radius: 3px; background: #fff; font-family: inherit; font-size: 14px; color: var(--navy); outline: none; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.rf-combo-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.rf-combo-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border: none; border-radius: 3px; background: none; color: #5d6d8e; font-size: 17px; cursor: pointer; }
.rf-combo-toggle:hover { background: #eef2f8; color: var(--navy); }
.rf-combo-toggle .fi { display: flex; transition: transform .2s var(--ease); }
.rf-combo.is-open .rf-combo-toggle .fi { transform: rotate(180deg); }
.rf-combo-panel { position: absolute; z-index: 30; left: 0; right: 0; top: 47px; max-height: 360px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #b9c6da; border-radius: 3px; box-shadow: 0 14px 30px rgba(1,20,60,.18); }
.rf-combo-list { list-style: none; margin: 0; padding: 0 0 4px; }
.rf-opt-group { position: sticky; top: 0; z-index: 1; padding: 7px 12px; background: #eef2f8; border-bottom: 1px solid #dde4ef; font-size: 10.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #4a5875; }
.rf-opt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 12px 9px 11px; border-left: 3px solid transparent; font-size: 13.5px; line-height: 1.4; color: #1c2942; cursor: pointer; }
.rf-opt-name { flex: 1 1 auto; min-width: 0; }
.rf-opt-name::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 1px; background: #5b7db8; vertical-align: 1px; }
.rf-opt--green .rf-opt-name::before { background: #2e9e5b; }
.rf-opt--gold .rf-opt-name::before { background: #d49a1d; }
.rf-opt--red .rf-opt-name::before { background: #c0392b; }
.rf-opt-meta { flex: 0 0 auto; font-size: 12px; color: #5a6785; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rf-opt:hover { background: #f6f8fc; }
.rf-opt.is-active { background: #eef4fc; border-left-color: var(--blue); }
.rf-opt[aria-selected="true"] { font-weight: 700; }
.rf-opt-none { padding: 14px; font-size: 13px; line-height: 1.5; color: #5a6785; }
.rf-opt-grp { list-style: none; margin: 0; padding: 0; }
.rf-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.rf-combo-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; padding: 9px 12px; background: #f6f9fd; border: 1px dashed #c4d2e6; border-radius: 3px; font-size: 12.5px; color: #34435e; }
.rf-sel-cat { padding: 3px 7px; border-radius: 2px; background: #e4ebf6; color: #34507e; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.rf-sel-cat--green { background: #e3f4ea; color: #1e7a45; }
.rf-sel-cat--gold { background: #fbf0d9; color: #8a5a00; }
.rf-sel-cat--red { background: #fbe4e1; color: #a3261b; }
.rf-sel-name { flex-basis: 100%; font-size: 13.5px; font-weight: 700; color: #1c2942; }
.rf-sel-note { flex-basis: 100%; color: #8a5a00; }
.rf-flash { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: #17753f; }
.rf-flash:empty { margin: 0; }

.rf-custom { margin: 0 0 12px; background: #fafbfd; border: 1px solid #dfe6f0; border-radius: 3px; }
.rf-custom summary { display: flex; align-items: center; gap: 5px; padding: 9px 12px; list-style: none; font-size: 12.5px; font-weight: 700; color: #1b68a5; cursor: pointer; }
.rf-custom summary::-webkit-details-marker { display: none; }
.rf-custom summary .fi { display: flex; font-size: 14px; }
.rf-custom[open] summary { border-bottom: 1px solid #dfe6f0; }
.rf-custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) 110px 100px auto; gap: 8px; padding: 10px 12px 12px; }
.rf-custom-grid input { height: 40px; min-width: 0; padding: 0 11px; border: 1px solid #cdd6e5; border-radius: 3px; font-family: inherit; font-size: 13.5px; color: var(--navy); outline: none; }
.rf-custom-grid input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.rf-custom-grid .rf-btn { height: 40px; }

.rf-chefs { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rf-chef { display: flex; align-items: center; gap: 12px; padding: 11px 12px 11px 14px; background: #fff; border: 1px solid #d5deea; border-left: 4px solid #5b7db8; border-radius: 3px; }
.rf-chef--green { border-left-color: #2e9e5b; }
.rf-chef--gold { border-left-color: #d49a1d; }
.rf-chef--red { border-left-color: #c0392b; }
.rf-chef--custom { border-left-color: #7a869e; }
.rf-chef-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rf-chef-cat { font-size: 10px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: #5f6b85; }
.rf-chef-name { font-size: 14px; font-weight: 700; line-height: 1.35; color: #1c2942; overflow-wrap: anywhere; }
.rf-chef-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: #4a5a77; font-variant-numeric: tabular-nums; }
.rf-chef-meta span { display: inline-flex; align-items: center; gap: 5px; }
.rf-chef-meta .fi { display: flex; font-size: 12px; color: #8a97b0; }
.rf-chef-meta b { color: #1c2942; }
.rf-chef-note { align-self: flex-start; margin-top: 2px; padding: 3px 7px; border-radius: 2px; background: #fff7e6; border: 1px solid #f3dfb3; font-size: 12px; line-height: 1.45; color: #8a5a00; }
.rf-chef-side { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.rf-chef-del { flex: 0 0 auto; }
.rf-qty { display: inline-flex; align-items: center; border: 1px solid #cdd6e5; border-radius: 3px; overflow: hidden; background: #fff; }
.rf-qty-btn { width: 32px; height: 34px; border: none; background: #f3f6fb; color: var(--navy); font-size: 16px; font-weight: 700; cursor: pointer; }
.rf-qty-btn:hover { background: #e4ebf6; }
.rf-qty-in { width: 54px; height: 34px; border: none; border-left: 1px solid #cdd6e5; border-right: 1px solid #cdd6e5; text-align: center; font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--navy); -moz-appearance: textfield; appearance: textfield; }
.rf-qty-in::-webkit-outer-spin-button, .rf-qty-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rf-qty-u { padding: 0 9px; font-size: 11.5px; color: #5a6785; }
.rf-empty { margin: 0 0 12px; padding: 14px; text-align: center; font-size: 13px; color: #7a869e; background: #fafbfd; border: 1px dashed #cfd9e8; border-radius: 3px; }

.rf-summary { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px; border: 1px solid var(--navy); border-radius: 3px; overflow: hidden; }
.rf-sum-item { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: var(--navy); color: #fff; }
.rf-sum-item + .rf-sum-item { border-left: 1px solid rgba(255,255,255,.18); }
.rf-sum-item span { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #aabbe0; }
.rf-sum-item span .fi { display: flex; font-size: 12px; color: var(--gold); }
.rf-sum-item strong { font-size: 20px; font-weight: 800; letter-spacing: .3px; font-variant-numeric: tabular-nums; }
.rf-summary.is-empty .rf-sum-item strong { color: #8ea3cc; }
.rf-sum-notes { grid-column: 1 / -1; padding: 10px 14px 12px; background: #fff8e8; border-top: 3px solid var(--gold); }
.rf-sum-notes > span { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: #8a5a00; }
.rf-sum-notes > span .fi { display: flex; font-size: 12px; }
.rf-sum-notes ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; font-size: 12.5px; line-height: 1.55; color: #5a4200; }

.rf-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 2px; background: #e6f4ec; color: #1e7a45; font-size: 10.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; vertical-align: 1px; }
.rf-tag.is-manual { background: #fff1d6; color: #8a5a00; }
.rf-perpet { display: flex; align-items: center; height: 43px; margin: 0; padding: 0 12px; background: #fdecea; border: 1px solid #f4c3bf; border-radius: 3px; font-size: 13.5px; font-weight: 800; color: #a3261b; }
.rf-warn { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: #8a5a00; }

@media (min-width: 901px) and (max-width: 1100px) {
    .rf-chef { position: relative; flex-wrap: wrap; }
    .rf-chef-main { padding-right: 42px; }
    .rf-chef-side { width: 100%; }
    .rf-chef-del { position: absolute; top: 10px; right: 10px; }
}

@media (max-width: 560px) {
    .rf-sec { padding: 0 14px 4px; }
    .rf-sec-h { margin: 0 -14px 12px; padding: 10px 14px; }
    .rf-combo-row { flex-wrap: wrap; }
    .rf-combo-row .rf-btn { width: 100%; }
    .rf-combo-panel { top: 47px; max-height: 300px; }
    .rf-opt { flex-wrap: wrap; }
    .rf-opt-meta { width: 100%; padding-left: 15px; }
    .rf-custom-grid { grid-template-columns: 1fr 1fr; }
    .rf-custom-grid input:first-child, .rf-custom-grid .rf-btn { grid-column: 1 / -1; }
    .rf-chef { position: relative; flex-wrap: wrap; }
    .rf-chef-main { padding-right: 42px; }
    .rf-chef-side { width: 100%; }
    .rf-chef-del { position: absolute; top: 10px; right: 10px; }
    .rf-summary { grid-template-columns: 1fr; }
    .rf input, .rf-qty-in { font-size: 16px; }
    .rf-qty-btn, .rf .rf-chef-del { width: 44px; height: 44px; }
    .rf-qty-in { height: 44px; }
    .rf-combo-toggle { width: 42px; height: 42px; right: 1px; }
    .rf .dyn-rows .drow { grid-template-columns: 110px 1fr 44px; }
    .rf-sum-item + .rf-sum-item { border-left: none; border-top: 1px solid rgba(255,255,255,.18); }
}

.code-rules { background: #f5f8fd; border: 1px solid #dde5f1; border-left: 5px solid var(--blue); border-radius: 12px; padding: 20px 24px; margin: 4px 0 22px; }
.code-rules-title { color: var(--navy); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .4px; margin: 0 0 12px; }
.code-rules ul { list-style: disc; margin: 0; padding-left: 22px; }
.code-rules li { color: #33456b; font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.code-rules li:last-child { margin-bottom: 0; }
.code-rules strong { color: var(--navy); }

.code-search { margin: 0 0 18px; }
.code-search input {
    width: 100%;
    border: 1px solid #cdd6e5;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: var(--navy);
    outline: none;
    background: #fff;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.code-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }

.code-table-wrap { overflow-x: auto; border: 1px solid #e2e8f2; border-radius: 12px; box-shadow: var(--shadow-sm); }
.code-table { width: 100%; border-collapse: collapse; min-width: 920px; }
.code-table thead th {
    background: #e9edf3; color: var(--navy);
    font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px;
    padding: 13px 16px; text-align: left; border-bottom: 1px solid #d5deec;
    position: sticky; top: 0; z-index: 2;
}
.code-table td { padding: 12px 16px; font-size: 13px; line-height: 1.5; border-bottom: 1px solid #eef2f7; vertical-align: top; }
.code-table tbody tr.code-row:nth-child(even) { background: #f7f9fc; }

.code-livre td { background: var(--navy); color: #fff; text-align: center; font-weight: 800; font-size: clamp(16px, 2.2vw, 22px); letter-spacing: .5px; padding: 14px; text-transform: uppercase; }
.code-livre--teal td { background: #1f9e9e; }
.code-livre--gold td { background: #c49a16; }
.code-section td { background: var(--blue); color: #fff; text-align: center; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; padding: 8px; text-transform: uppercase; }
.code-section--green td  { background: #2f9e51; }
.code-section--gold td   { background: #d99e12; }
.code-section--orange td { background: #e08a1e; }
.code-section--red td    { background: #c0392b; }

.code-chef { color: var(--blue); font-weight: 700; }
.code-amende { color: var(--navy); font-weight: 800; white-space: nowrap; }
.code-peine { color: #33456b; }
.code-notes { color: #5f6f90; }
.code-penal { color: #5f6f90; }
.code-noresult { display: none; padding: 22px; text-align: center; color: #8a97b3; font-style: italic; margin: 0; }

.calc-panel { position: sticky; z-index: 20; background: #fff; border: 1px solid #d5deec; border-radius: 12px; box-shadow: var(--shadow-md); padding: 16px 18px; margin: 0 0 18px; }
.calc-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.calc-title { color: var(--navy); font-size: 17px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.calc-count { background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 2px 9px; min-width: 22px; text-align: center; }
.calc-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--navy); font-weight: 600; cursor: pointer; }
.calc-check-note { color: #8a97b3; font-weight: 500; }
.calc-clear { margin-left: auto; background: #fdf1f1; color: #c0392b; border: 1px solid #e6c6c6; border-radius: 8px; padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s var(--ease); }
.calc-clear:hover { background: #f7dede; }

.calc-mineur-alert { margin: 12px 0 0; background: #fdecec; color: #a12727; border: 1px solid #f3c2c2; border-radius: 8px; padding: 10px 14px; font-size: 13px; font-weight: 700; }

.calc-list { margin: 12px 0 0; max-height: 220px; overflow-y: auto; }
.calc-empty { color: #8a97b3; font-size: 13px; font-style: italic; margin: 4px 0; }
.calc-item { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-bottom: 1px solid #eef2f7; font-size: 13px; }
.calc-item:last-child { border-bottom: none; }
.calc-item-name { flex: 1; color: var(--navy); font-weight: 600; min-width: 150px; }
.calc-item-amende { color: var(--navy); font-weight: 800; white-space: nowrap; }
.calc-item-peine { color: #5f6f90; white-space: nowrap; min-width: 58px; text-align: right; }
.calc-qty { width: 60px; border: 1px solid #cdd6e5; border-radius: 6px; padding: 5px 8px; font-size: 13px; text-align: center; font-family: inherit; }
.calc-rm { background: none; border: none; color: #c0392b; font-size: 20px; cursor: pointer; line-height: 1; padding: 0 4px; }

.calc-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 12px 0 0; padding-top: 12px; border-top: 2px solid #eef2f7; }
.calc-total { display: flex; flex-direction: column; }
.calc-total span { font-size: 11px; color: #8a97b3; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.calc-total strong { font-size: 21px; color: var(--navy); }
.calc-status { margin-left: auto; font-size: 13px; font-weight: 800; padding: 8px 16px; border-radius: 999px; }
.calc-status--proc   { background: #fdecec; color: #c0392b; }
.calc-status--police { background: #eaf7ee; color: #1e8f4e; }

.code-row { cursor: pointer; }
.code-row:not(.is-selected):hover > td { background: #eef4fc; }
.code-row.is-selected > td { background: #dcebfb; }
.code-row.is-selected > td:first-child { box-shadow: inset 4px 0 0 var(--blue); }

@media (max-width: 700px) {
    .calc-foot { gap: 14px; }
    .calc-status { margin-left: 0; }
    .calc-item-name { min-width: 110px; }
}

.roles-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.roles-list { background: #fff; border: 1px solid #e2e8f2; border-radius: 12px; padding: 14px; box-shadow: var(--shadow-sm); }
.roles-search { width: 100%; border: 1px solid #cdd6e5; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: inherit; color: var(--navy); outline: none; }
.roles-search:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.roles-count { color: #8a97b3; font-size: 12px; margin: 10px 2px; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.roles-list ul { max-height: 460px; overflow-y: auto; }
.roles-member { display: block; padding: 10px 12px; border-radius: 8px; color: var(--navy); font-size: 14px; font-weight: 600; }
.roles-member:hover { background: #eef4fc; }
.roles-member.is-active { background: var(--blue); color: #fff; }
.roles-empty { color: #8a97b3; font-size: 13px; font-style: italic; padding: 10px 12px; }

.roles-detail { background: #fff; border: 1px solid #e2e8f2; border-radius: 12px; padding: 24px 26px; box-shadow: var(--shadow-sm); min-height: 200px; }
.roles-detail-name { color: var(--navy); font-size: 22px; font-weight: 800; margin: 0 0 2px; }
.roles-detail-id { color: #8a97b3; font-size: 13px; margin: 0 0 20px; }
.roles-placeholder { color: #8a97b3; font-style: italic; }
.role-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef2f7; }
.role-row:last-child { border-bottom: none; }
.role-name { flex: 1; color: var(--navy); font-weight: 700; font-size: 14px; }
.role-reason { width: 190px; border: 1px solid #cdd6e5; border-radius: 8px; padding: 8px 10px; font-size: 13px; font-family: inherit; color: var(--navy); outline: none; }
.role-reason:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.role-remove { background: #c0392b; color: #fff; border: none; border-radius: 8px; padding: 8px 16px; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .15s var(--ease); }
.role-remove:hover { background: #a12f22; }

@media (max-width: 820px) {
    .roles-grid { grid-template-columns: 1fr; }
    .roles-list ul { max-height: 260px; }
    .role-row { flex-wrap: wrap; }
    .role-reason { width: 100%; }
}

@media (max-width: 900px) {
    .acad-split { grid-template-columns: 1fr; }
    .acad-copy, .acad-copy--pad { padding: 32px 26px; }
    .acad-photo { min-height: 260px; order: -1; }
    .acad-locations, .acad-cap-cards { grid-template-columns: 1fr; }
    .acad-locations > .acad-loc-photo { min-height: 220px; }
}

.eval-block-label { display: block; font-weight: 700; color: var(--navy); font-size: 14px; margin: 4px 0 10px; }
.eval-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-bottom: 18px; }
.eval-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f5f8fd; border: 1px solid #dde5f1; border-radius: 10px; padding: 8px 12px; }
.eval-note label { font-weight: 700; color: #33456b; font-size: 13.5px; margin: 0; }
.eval-note-in { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.eval-note-in span { color: #7488ad; font-weight: 700; font-size: 13px; }
.e-note { width: 66px; text-align: center; padding: 8px 6px !important; margin: 0; }

.eval-average { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #eef4fc; border: 1px solid #d3e1f5; border-left: 5px solid var(--blue); border-radius: 12px; padding: 14px 18px; margin: 0 0 20px; }
.eval-average-lbl { font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .5px; font-size: 13px; }
.eval-average-val { font-weight: 900; color: var(--navy); font-size: 22px; line-height: 1; }
.eval-average-niv { font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid #d3e1f5; color: #33456b; }
.eval-average--low { border-left-color: #c0392b; }
.eval-average--low .eval-average-niv { background: #fdecea; border-color: #f4c7c0; color: #a5281b; }
.eval-average--ok  { border-left-color: #2e8b57; }
.eval-average--ok  .eval-average-niv { background: #e7f6ee; border-color: #bfe5cf; color: #1f6b41; }
.eval-average--lt  { border-left-color: var(--gold); }
.eval-average--lt  .eval-average-niv { background: #fdf3e0; border-color: #f2dcae; color: #a1701c; }
.eval-average--cmd { border-left-color: #7d3cc0; }
.eval-average--cmd .eval-average-niv { background: #f2e9fb; border-color: #ddc7f2; color: #5f2b95; }

@media (max-width: 560px) {
    .eval-notes { grid-template-columns: 1fr; }
}

.btn-new { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; padding: 12px 20px; border-radius: 10px; box-shadow: var(--shadow-sm); transition: background .18s var(--ease), transform .18s var(--ease); white-space: nowrap; }
.btn-new:hover { background: #013a8f; transform: translateY(-1px); }
.btn-cancel { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; color: #55617a; background: #eef1f6; border: 1px solid #dce2ec; }
.btn-cancel:hover { background: #e3e8f0; }
.btn-delete { background: #c0392b; color: #fff; border: none; border-radius: 10px; padding: 12px 20px; font-weight: 800; font-size: 14px; cursor: pointer; transition: background .18s var(--ease); }
.btn-delete:hover { background: #a12f22; }

.badge-statut { display: inline-block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; padding: 4px 11px; border-radius: 999px; color: #fff; }
.badge-statut--surv { background: #217bc0; }
.badge-statut--rech { background: #c0392b; }
.badge-statut--arr  { background: #2e8b57; }
.badge-statut--jud  { background: #7d3cc0; }

.cible-menace-tag { position: absolute; top: 8px; left: 8px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; padding: 3px 9px; border-radius: 6px; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.cible-menace-tag--faible   { background: #2e8b57; }
.cible-menace-tag--moyen    { background: #d68a10; }
.cible-menace-tag--eleve    { background: #c0392b; }
.cible-menace-tag--critique { background: #6d1414; }

.cible-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.cible-list-head .portail-title { margin: 0 0 4px; }
.cible-list-head .portail-lead { margin: 0; }

.doa-toolbar { display: flex; flex-direction: column; gap: 10px; background: #f5f8fd; border: 1px solid #dde5f1; border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; }
.doa-search { width: 100%; padding: 11px 14px; border: 1px solid #cfd9e8; border-radius: 9px; font-size: 14px; background: #fff; }
.doa-search:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.doa-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.doa-chip { background: #fff; border: 1px solid #cfd9e8; color: #46536e; font-weight: 700; font-size: 12.5px; padding: 6px 13px; border-radius: 999px; cursor: pointer; transition: all .15s var(--ease); }
.doa-chip:hover { border-color: var(--blue); color: var(--navy); }
.doa-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.cible-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.cible-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f2; border-radius: 14px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.cible-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(1,43,109,.14); border-color: #c6d3e8; }
.cible-card-photo { position: relative; aspect-ratio: 4 / 3; background: #0e1b33; overflow: hidden; }
.cible-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cible-card-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #4a628c; background: linear-gradient(135deg, #16233f, #0c1526); }
.cible-card-body { padding: 12px 14px 15px; display: flex; flex-direction: column; gap: 3px; }
.cible-num { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: #8a97b0; letter-spacing: .5px; }
.cible-card-body h3 { margin: 0; color: var(--navy); font-size: 16px; font-weight: 800; line-height: 1.25; }
.cible-alias { color: #6b7896; font-style: italic; font-size: 12.5px; }
.cible-gang { color: #46536e; font-size: 13px; margin-top: 2px; }
.cible-card-body .badge-statut { align-self: flex-start; margin-top: 8px; }

.cible-noresult { color: #6b7896; font-style: italic; text-align: center; padding: 24px 0; }
.cible-empty { text-align: center; padding: 60px 20px; background: #f5f8fd; border: 1px dashed #cfd9e8; border-radius: 14px; }
.cible-empty p { color: #55617a; font-size: 16px; margin: 0 0 16px; }

.dossier { max-width: 940px; margin: 0 auto; background: #fff; border: 1px solid #dce4f0; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 40px rgba(1,26,68,.12); }
.dossier-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; background: linear-gradient(120deg, #012b6d, #01173d); color: #fff; padding: 22px 26px; }
.dossier-kicker { display: block; text-transform: uppercase; letter-spacing: 1.4px; font-size: 11.5px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.dossier-head h1 { margin: 0; color: #fff; font-size: 26px; line-height: 1.2; }
.dossier-alias { font-weight: 500; color: #b9cdf0; }
.dossier-stamp { flex: 0 0 auto; border: 2px solid #e05a4b; color: #ff8a7a; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; text-align: center; padding: 7px 12px; border-radius: 8px; line-height: 1.3; }
.dossier-stamp span { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: #ffd7d0; letter-spacing: .5px; margin-top: 2px; }

.dossier-menace { display: flex; align-items: center; gap: 12px; padding: 11px 26px; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.dossier-menace strong { font-size: 15px; font-weight: 900; }
.dossier-menace span:first-child { opacity: .85; font-weight: 700; }
.dossier-menace--faible   { background: #2e8b57; }
.dossier-menace--moyen    { background: #d68a10; }
.dossier-menace--eleve    { background: #c0392b; }
.dossier-menace--critique { background: #6d1414; }
.dossier-armed { margin-left: auto; background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.5); padding: 4px 12px; border-radius: 6px; font-weight: 900; letter-spacing: .6px; }

.dossier-top { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 26px; }
.dossier-photo { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dossier-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; border: 3px solid #0e1b33; }
.dossier-photo-ph { width: 100%; aspect-ratio: 4 / 5; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #4a628c; background: linear-gradient(135deg, #16233f, #0c1526); }
.dossier-photo-ph span { font-size: 12px; }

.dossier-id dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; }
.dossier-id dl > div { padding: 9px 0; border-bottom: 1px solid #eef1f7; }
.dossier-id dt { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #8a97b0; font-weight: 700; margin-bottom: 3px; }
.dossier-id dd { margin: 0; color: #1c2942; font-size: 14.5px; font-weight: 600; }

.dossier-section { padding: 20px 26px; border-top: 1px solid #eef1f7; }
.dossier-section h2 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--navy); font-weight: 800; }
.dossier-crimes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.dossier-crimes li { position: relative; padding-left: 20px; color: #33456b; font-size: 14px; }
.dossier-crimes li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: #c0392b; }
.dossier-two { display: grid; grid-template-columns: 1fr 1fr; }
.dossier-two .dossier-section { border-top: 1px solid #eef1f7; }
.dossier-two .dossier-section:nth-child(2) { border-left: 1px solid #eef1f7; }
.dossier-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dossier-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #8a97b0; border-bottom: 1px solid #e2e8f2; padding: 6px 8px 6px 0; }
.dossier-table td { padding: 7px 8px 7px 0; border-bottom: 1px solid #f1f4f9; color: #33456b; }
.dossier-table .mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .5px; }
.dossier-assoc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dossier-assoc li { color: #1c2942; font-size: 14px; }
.dossier-assoc li span { color: #6b7896; font-size: 12.5px; }
.dossier-notes { color: #33456b; font-size: 14px; line-height: 1.65; margin: 0; }
.dossier-empty { color: #97a2b8; font-style: italic; font-size: 13.5px; margin: 0; }

.dossier-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 16px 26px; border-top: 1px solid #eef1f7; background: #f9fbfe; color: #7a869e; font-size: 12.5px; }
.dossier-meta strong { color: #46536e; font-family: ui-monospace, Menlo, Consolas, monospace; }
.dossier-actions { display: flex; gap: 12px; align-items: center; padding: 18px 26px 24px; }

.cible-form-cols { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.cible-form-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 12px; }
.cible-photo-box { width: 100%; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; border: 2px dashed #cfd9e8; background: #f5f8fd; }
.cible-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.cible-photo-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #97a2b8; font-size: 13px; }
.cible-file { display: block; text-align: center; background: var(--blue); color: #fff; font-weight: 700; font-size: 13.5px; padding: 10px; border-radius: 9px; cursor: pointer; transition: background .18s var(--ease); }
.cible-file:hover { background: #1b6aa8; }
.cible-file input { display: none; }
.cible-remove-photo, .cible-danger-check { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #46536e; font-weight: 600; cursor: pointer; }
.cible-danger-check { background: #fdecea; border: 1px solid #f4c7c0; color: #a5281b; padding: 9px 11px; border-radius: 8px; font-weight: 700; }

.cible-form-legend { margin: 26px 0 12px; padding-bottom: 7px; border-bottom: 2px solid #eef1f7; color: var(--navy); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .7px; }
.cible-form-main .cible-form-legend:first-child { margin-top: 0; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.dyn-rows { display: flex; flex-direction: column; gap: 8px; }
.dyn-row { display: grid; gap: 8px; align-items: center; }
.dyn-row-veh { grid-template-columns: 1fr 1fr 1fr auto; }
.dyn-row-ass { grid-template-columns: 1fr 1fr auto; }
.dyn-row input { padding: 9px 11px; border: 1px solid #cfd9e8; border-radius: 8px; font-size: 13.5px; }
.dyn-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.15); }
.dyn-del { width: 34px; height: 34px; border: 1px solid #f4c7c0; background: #fdecea; color: #c0392b; border-radius: 8px; font-size: 18px; line-height: 1; cursor: pointer; transition: background .15s var(--ease); }
.dyn-del:hover { background: #f8d7d2; }
.btn-add { margin-top: 10px; background: #eef4fc; border: 1px dashed #b7cdea; color: var(--navy); font-weight: 700; font-size: 13px; padding: 9px 15px; border-radius: 9px; cursor: pointer; transition: background .15s var(--ease); }
.btn-add:hover { background: #e2edfb; }
.cible-form-actions { display: flex; gap: 12px; align-items: center; margin-top: 30px; }

@media (max-width: 860px) {
    .cible-form-cols { grid-template-columns: 1fr; }
    .cible-form-side { position: static; max-width: 320px; }
    .dossier-top { grid-template-columns: 1fr; }
    .dossier-photo { max-width: 240px; }
    .dossier-two { grid-template-columns: 1fr; }
    .dossier-two .dossier-section:nth-child(2) { border-left: none; }
}
@media (max-width: 560px) {
    .dossier-id dl { grid-template-columns: 1fr; }
    .form-grid-3 { grid-template-columns: 1fr; }
    .dossier-head h1 { font-size: 21px; }
}

.doa-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; max-width: 760px; }
.doa-choice-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: #fff; border: 1px solid #e2e8f2; border-left: 5px solid var(--blue); border-radius: 14px; padding: 26px 24px; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.doa-choice-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(1,43,109,.14); }
.doa-choice-card--accent { border-left-color: var(--gold); }
.doa-choice-ic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 12px; background: #eef4fc; color: var(--navy); margin-bottom: 6px; }
.doa-choice-card--accent .doa-choice-ic { background: #fdf3e0; color: #a1701c; }
.doa-choice-card h3 { margin: 0; color: var(--navy); font-size: 19px; font-weight: 800; }
.doa-choice-card p { margin: 0; color: #55617a; font-size: 14px; }
.doa-choice-count { margin-top: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #8a97b0; }

.nophoto-ic { color: #6a7d9c; }
.cible-card-ph .nophoto-ic { width: 54px; height: 54px; }
.dossier-photo-ph .nophoto-ic, .cible-photo-ph .nophoto-ic { width: 72px; height: 72px; }

.chef-help { color: #6b7896; font-size: 13px; margin: 0 0 10px; }
.chef-picker { display: flex; gap: 8px; margin-bottom: 10px; }
.chef-picker select, .chef-picker input { flex: 1; min-width: 0; padding: 10px 11px; border: 1px solid #cfd9e8; border-radius: 8px; font-size: 13.5px; background: #fff; }
.chef-picker select:focus, .chef-picker input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.15); }
.chef-picker .btn-add { margin: 0; white-space: nowrap; }
.chefs-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.chefs-list li { display: flex; align-items: center; gap: 10px; background: #f5f8fd; border: 1px solid #dde5f1; border-left: 4px solid #c0392b; border-radius: 9px; padding: 9px 12px; }
.chefs-list li span { flex: 1; color: #26324c; font-size: 13.5px; font-weight: 600; }
.chef-del { width: 28px; height: 28px; border: 1px solid #f4c7c0; background: #fdecea; color: #c0392b; border-radius: 7px; font-size: 16px; line-height: 1; cursor: pointer; flex: 0 0 auto; }
.chef-del:hover { background: #f8d7d2; }

.btn-pdf { display: inline-flex; align-items: center; gap: 6px; background: #1f6b41; color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; padding: 12px 20px; border-radius: 10px; transition: background .18s var(--ease); }
.btn-pdf:hover { background: #185634; }

@media (max-width: 620px) {
    .doa-choice { grid-template-columns: 1fr; }
    .chef-picker { flex-direction: column; }
}

.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.org-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f2; border-radius: 14px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.org-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(1,43,109,.14); border-color: #c6d3e8; }
.org-card-band { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 15px; color: #fff; }
.org-card-band h3 { margin: 0; color: #fff; font-size: 17px; font-weight: 800; line-height: 1.2; }
.org-menace-mini { flex: 0 0 auto; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; background: rgba(0,0,0,.22); padding: 3px 9px; border-radius: 999px; }
.org-card--faible   .org-card-band { background: #2e8b57; }
.org-card--moyen    .org-card-band { background: #d68a10; }
.org-card--eleve    .org-card-band { background: #c0392b; }
.org-card--critique .org-card-band { background: #6d1414; }

.org-card-body { padding: 12px 15px 15px; display: flex; flex-direction: column; gap: 7px; }
.org-num { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: #8a97b0; letter-spacing: .5px; }
.org-row { display: flex; gap: 8px; font-size: 13.5px; }
.org-k { flex: 0 0 74px; color: #8a97b0; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .3px; padding-top: 2px; }
.org-v { color: #26324c; font-weight: 600; }
.org-foot { margin-top: 3px; color: #7a869e; font-size: 12px; }

.org-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.org-tags--sm { margin-top: 2px; }
.org-tag { display: inline-block; background: #eef4fc; border: 1px solid #d3e1f5; color: #33456b; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.org-tag--more { background: #f0f2f6; color: #7a869e; border-color: #dde2ea; }

.org-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 14px; }
.org-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #33456b; font-weight: 600; background: #f5f8fd; border: 1px solid #dde5f1; border-radius: 8px; padding: 8px 11px; cursor: pointer; }
.org-check input { flex: 0 0 auto; }

.dyn-row-mem   { grid-template-columns: 1fr 1fr auto; }
.dyn-row-rival { grid-template-columns: 1fr auto; }

@media (max-width: 560px) {
    .org-grid { grid-template-columns: 1fr; }
    .org-check-grid { grid-template-columns: 1fr; }
}

.portail-unit, .portail-unit--soon,
.cible-card, .cible-card-photo, .org-card, .dossier,
.doa-toolbar, .cible-empty, .rapport-out, .rapport-preview, .code-rules,
.eval-average, .doa-choice-card, .chefs-list li, .org-check,
.field input, .field textarea, .field select,
.doa-search, .chef-picker select, .chef-picker input, .dyn-row input, .code-gate input,
.btn-new, .btn-submit, .btn-cancel, .btn-delete, .btn-pdf, .btn-copy, .btn-add,
.doa-chip, .form-msg-ok, .form-msg-error, .portail-config, .soon-tag {
    border-radius: 3px !important;
}

.cible-card, .org-card, .portail-unit, .portail-unit--soon, .dossier, .doa-choice-card {
    box-shadow: none;
    border: 1px solid #ccd5e2;
}
.cible-card:hover, .org-card:hover, .portail-unit:hover, .doa-choice-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--navy);
    background: #fbfcfe;
}

.dossier { box-shadow: none; border: 1px solid #bfcadd; }
.dossier-head { background: var(--navy); border-bottom: 3px solid var(--gold); }
.dossier-head h1 { text-shadow: none; }
.dossier-stamp { border-radius: 2px; background: rgba(0,0,0,.15); }

.badge-statut, .cible-menace-tag, .org-menace-mini, .eval-average-niv {
    border-radius: 2px !important;
    letter-spacing: .5px;
    box-shadow: none;
}
.org-tag { background: #eef1f6; border-color: #d2d9e4; color: #3a465c; border-radius: 2px !important; font-weight: 700; }
.org-tag--more { background: #f0f2f6; color: #7a869e; }
.chef-del, .dyn-del { border-radius: 2px; }

.btn-new, .btn-submit, .btn-pdf, .btn-delete { box-shadow: none; }
.btn-new:hover, .btn-submit:hover { transform: none; }

.cible-card-ph, .dossier-photo-ph, .cible-photo-ph { background: #1b2740; background-image: none; }

.cible-grid, .org-grid { gap: 14px; }

.dossier-section { border-top: 1px solid #e4e9f1; }
.dossier-id dl > div { border-bottom: 1px solid #e8ecf3; }

.doa-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; margin: 16px 0 18px; }
.doa-stat { display: flex; flex-direction: column; gap: 5px; background: #fff; border: 1px solid #ccd5e2; border-left: 4px solid var(--navy); border-radius: 3px; padding: 12px 14px; }
.doa-stat-n { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.doa-stat-l { font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; color: #6b7896; font-weight: 700; }
.doa-stat--rech { border-left-color: #c0392b; } .doa-stat--rech .doa-stat-n { color: #c0392b; }
.doa-stat--surv { border-left-color: #217bc0; } .doa-stat--surv .doa-stat-n { color: #217bc0; }
.doa-stat--arr  { border-left-color: #2e8b57; } .doa-stat--arr .doa-stat-n { color: #2e8b57; }
.doa-stat--crit { border-left-color: #6d1414; } .doa-stat--crit .doa-stat-n { color: #6d1414; }

.doa-search-wrap { position: relative; }
.doa-search-wrap > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8a97b0; pointer-events: none; }
.doa-search-wrap .doa-search { padding-left: 36px; }
.doa-count { align-self: flex-end; font-size: 12px; color: #6b7896; font-weight: 600; }

.cible-card { border-top: 3px solid #ccd5e2; }
.cible-card--faible   { border-top-color: #2e8b57; }
.cible-card--moyen    { border-top-color: #d68a10; }
.cible-card--eleve    { border-top-color: #c0392b; }
.cible-card--critique { border-top-color: #6d1414; }

.dossier-head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.dossier-keyfacts { display: flex; flex-wrap: wrap; background: #f4f7fb; border-bottom: 1px solid #e0e6ef; }
.kf { flex: 1 1 auto; min-width: 130px; padding: 11px 18px; border-right: 1px solid #e0e6ef; display: flex; flex-direction: column; gap: 4px; }
.kf:last-child { border-right: none; }
.kf-l { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: #7a869e; font-weight: 700; }
.kf-v { font-size: 14px; color: #1c2942; font-weight: 700; }
.kf--danger { background: #c0392b; flex: 0 0 auto; align-items: center; justify-content: center; }
.kf--danger .kf-v { color: #fff; text-transform: uppercase; letter-spacing: .5px; font-size: 12.5px; font-weight: 800; }
.menace-pill { display: inline-block; color: #fff; font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; padding: 3px 10px; border-radius: 2px; }
.menace-pill--faible { background: #2e8b57; } .menace-pill--moyen { background: #d68a10; }
.menace-pill--eleve { background: #c0392b; } .menace-pill--critique { background: #6d1414; }

.dossier-cols { display: grid; grid-template-columns: 250px 1fr; }
.dossier-side { padding: 22px 20px; border-right: 1px solid #eef1f7; background: #fafbfd; display: flex; flex-direction: column; gap: 16px; }
.dossier-side .dossier-photo { align-items: stretch; }
.dossier-side .dossier-photo img { border-radius: 3px; border: 2px solid #16233f; }
.dossier-side .dossier-photo-ph { border-radius: 3px; }
.dossier-idlist { margin: 0; display: flex; flex-direction: column; }
.dossier-idlist > div { padding: 8px 0; border-bottom: 1px solid #eef1f7; }
.dossier-idlist > div:last-child { border-bottom: none; }
.dossier-idlist dt { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: #8a97b0; font-weight: 700; margin-bottom: 2px; }
.dossier-idlist dd { margin: 0; font-size: 14px; color: #1c2942; font-weight: 600; word-break: break-word; }

.dossier-main { padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.dcard { background: #fff; border: 1px solid #e4e9f1; border-radius: 3px; padding: 15px 18px; }
.dcard h2 { margin: 0 0 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .7px; color: var(--navy); font-weight: 800; padding-bottom: 8px; border-bottom: 2px solid #eef1f7; }
.dcard-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dossier-chefs { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.dossier-chefs li { color: #33456b; font-size: 14px; padding-left: 4px; }

@media (max-width: 780px) {
    .dossier-cols { grid-template-columns: 1fr; }
    .dossier-side { border-right: none; border-bottom: 1px solid #eef1f7; max-width: 320px; }
    .dcard-two { grid-template-columns: 1fr; }
}

.badge-statut--sopen { background: #217bc0; }
.badge-statut--sprog { background: #d68a10; }
.badge-statut--swait { background: #7a869e; }
.badge-statut--sproc { background: #7d3cc0; }
.badge-statut--sclos { background: #2e8b57; }

.side-block h3 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--navy); font-weight: 800; padding-bottom: 6px; border-bottom: 1px solid #e4e9f1; }
.side-meta { margin: 0; font-size: 13px; color: #33456b; line-height: 1.5; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 13px 18px; border-left: 2px solid #dbe2ec; }
.timeline li:last-child { padding-bottom: 2px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; box-shadow: 0 0 0 1px #dbe2ec; }
.tl-date { display: block; font-size: 11px; font-weight: 700; color: #8a97b0; text-transform: uppercase; letter-spacing: .3px; }
.tl-fait { display: block; font-size: 13.5px; color: #33456b; margin-top: 2px; }

.sai-cat { background: #fff; border: 1px solid #d4dbe6; border-radius: 4px; overflow: hidden; margin-bottom: 16px; }
.sai-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; color: #fff; }
.sai-cat-head h2 { margin: 0; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #fff; }
.sai-cat-count { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; background: rgba(0,0,0,.22); padding: 3px 11px; border-radius: 999px; }
.sai-cat--cfeu .sai-cat-head { background: #7d1414; }
.sai-cat--cbla .sai-cat-head { background: #c0392b; }
.sai-cat--cmun .sai-cat-head { background: #9c5221; }
.sai-cat--cstu .sai-cat-head { background: #6d3c9c; }
.sai-cat--carg .sai-cat-head { background: #2e8b57; }
.sai-cat--cveh .sai-cat-head { background: #217bc0; }
.sai-cat--cmat .sai-cat-head { background: #c8891a; }
.sai-cat--cdoc .sai-cat-head { background: #5a6b86; }
.sai-cat--caut .sai-cat-head { background: #7a869e; }

.sai-items { display: flex; flex-direction: column; }
.sai-item { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-top: 1px solid #eef1f7; }
.sai-item:first-child { border-top: none; }
.sai-qty { flex: 0 0 auto; min-width: 54px; text-align: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; padding: 7px 10px; border-radius: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sai-item-main { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sai-nom { font-size: 15px; font-weight: 700; color: #1c2942; }
.sai-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sai-tag { background: #eef1f6; border: 1px solid #d3d9e4; color: #3a465c; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 2px; letter-spacing: .3px; }
.sai-loc { font-size: 12px; color: #6b7896; }
.sai-link { font-size: 11px; font-weight: 800; text-decoration: none; padding: 2px 8px; border-radius: 2px; background: #e7f0fb; color: #1c5aa0; border: 1px solid #c9deef; }
.sai-link:hover { background: #d8e7f8; }
.sai-link--cib { background: #fdecea; color: #a5281b; border-color: #f4c7c0; }
.sai-link--cib:hover { background: #f8d7d2; }
.sai-desc { font-size: 12.5px; color: #55617a; }
.sai-actions { flex: 0 0 auto; display: flex; gap: 6px; align-items: center; }
.sai-actions form { margin: 0; display: inline; }
.sai-ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #dce2ec; background: #f5f8fd; color: #55617a; border-radius: 4px; text-decoration: none; cursor: pointer; font-size: 15px; line-height: 1; }
.sai-ic:hover { background: #e8eef7; }
.sai-ic--del { border-color: #f4c7c0; background: #fdecea; color: #c0392b; }
.sai-ic--del:hover { background: #f8d7d2; }

.org-card--rplan  .org-card-band { background: #217bc0; }
.org-card--rprog  .org-card-band { background: #c8891a; }
.org-card--rdone  .org-card-band { background: #2e8b57; }
.org-card--rabort .org-card-band { background: #c0392b; }
.badge-statut--rplan  { background: #217bc0; }
.badge-statut--rprog  { background: #c8891a; }
.badge-statut--rdone  { background: #2e8b57; }
.badge-statut--rabort { background: #c0392b; }
.side-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }

.rec-head { margin-bottom: 18px; }
.rec-head-id { display: flex; flex-direction: column; gap: 3px; }
.rec-pseudo-lg { font-size: 22px; font-weight: 800; color: var(--navy); }
.rec-user { color: #6b7896; font-size: 14px; }
.rec-did { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; color: #8a97b0; }

.rec-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.rec-form-check { display: flex; align-items: center; gap: 8px; background: #f5f8fd; border: 1px solid #dde5f1; border-radius: 4px; padding: 11px 13px; font-size: 14px; font-weight: 600; color: #33456b; cursor: pointer; }

.rec-list { display: flex; flex-direction: column; gap: 8px; }
.rec-row { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid #d4dbe6; border-radius: 4px; padding: 12px 16px; text-decoration: none; transition: border-color .15s var(--ease), background .15s var(--ease); }
.rec-row:hover { border-color: var(--navy); background: #fafcff; }
.rec-id { flex: 0 0 auto; width: 210px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rec-pseudo { font-size: 15px; font-weight: 700; color: #1c2942; display: flex; align-items: center; gap: 8px; }
.rec-fto { font-size: 9.5px; font-weight: 800; background: var(--navy); color: #fff; padding: 1px 6px; border-radius: 2px; letter-spacing: .5px; }
.rec-forms { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 6px; }
.rec-fbadge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 2px; background: #eef1f6; color: #9aa6bb; border: 1px solid #dde2ea; }
.rec-fbadge.is-ok { background: #e7f6ee; color: #1f6b41; border-color: #bfe5cf; }
.rec-fbadge--pause { background: #fff; color: #9aa6bb; border-style: dashed; }
.rec-form-check--pause { cursor: not-allowed; background: #fafbfd; border-style: dashed; color: #7a869e; }
.rec-form-check--pause input { cursor: not-allowed; }
.rec-pause-tag { margin-left: auto; padding: 2px 7px; border-radius: 2px; background: #fff1d6; color: #8a5a00; font-size: 10.5px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; }
.rec-meta { flex: 0 0 auto; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.rec-untracked { font-size: 11.5px; color: #8a97b0; font-style: italic; }
.rec-titu { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: #1f6b41; background: #e7f6ee; border: 1px solid #bfe5cf; padding: 2px 7px; border-radius: 2px; }
.rec-signe { font-size: 11px; color: #6b7896; }
.rec-go { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--blue); }

@media (max-width: 720px) {
    .rec-row { flex-wrap: wrap; gap: 10px; }
    .rec-id { width: 100%; }
    .rec-meta { align-items: flex-start; }
    .rec-go { display: none; }
}

.file-input { display: block; width: 100%; font-size: 14px; color: #33456b; background: #f5f8fd; border: 1px dashed #b9c8de; border-radius: 6px; padding: 12px; cursor: pointer; box-sizing: border-box; }
.file-input:hover { border-color: var(--navy); background: #eef4fc; }
.file-input::file-selector-button { font: inherit; font-weight: 700; color: #fff; background: var(--navy); border: 0; border-radius: 4px; padding: 8px 14px; margin-right: 12px; cursor: pointer; }
.file-input::file-selector-button:hover { background: var(--blue); }

.rec-fbadge--more { background: #eaf0f8; color: #33507e; border-color: #cdd9ec; font-weight: 800; }

.course-wrap { max-width: 900px; margin: 0 auto; }

.course-hero { position: relative; overflow: hidden; border-radius: 12px; padding: 34px 40px; margin-bottom: 26px;
    background: linear-gradient(135deg, #0b2340 0%, #12365e 55%, #1c4e6b 100%); color: #fff;
    display: flex; align-items: center; gap: 26px; box-shadow: 0 14px 34px rgba(9,25,45,.28); }
.course-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); }
.course-hero-badge { flex: 0 0 auto; width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.course-hero-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 4px 11px; border-radius: 40px; margin-bottom: 10px; }
.course-hero h1 { font-size: 30px; font-weight: 800; margin: 0 0 6px; line-height: 1.1; }
.course-hero .course-sub { margin: 0; color: #cfe0f2; font-size: 15px; }

.course-lead { font-size: 16px; line-height: 1.7; color: #2c3a52; background: #f3f7fc; border-left: 4px solid var(--blue);
    padding: 16px 20px; border-radius: 0 8px 8px 0; margin-bottom: 26px; font-style: italic; }

.course-section { position: relative; background: #fff; border: 1px solid #e0e7f0; border-radius: 10px;
    padding: 22px 26px 24px; margin-bottom: 18px; box-shadow: 0 2px 10px rgba(20,40,70,.04); }
.course-section h2 { display: flex; align-items: center; gap: 12px; font-size: 19px; color: var(--navy); margin: 0 0 14px; }
.course-num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.course-section p { font-size: 15px; line-height: 1.75; color: #33425c; margin: 0 0 12px; }
.course-section p:last-child { margin-bottom: 0; }
.course-section strong { color: #16233a; }

.course-list { list-style: none; margin: 6px 0 12px; padding: 0; }
.course-list li { position: relative; padding: 7px 0 7px 26px; font-size: 15px; line-height: 1.55; color: #33425c; border-bottom: 1px dashed #eef2f7; }
.course-list li:last-child { border-bottom: 0; }
.course-list li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); }

.course-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 6px 0 4px; }
.spec-item { background: #f6f9fd; border: 1px solid #e2e9f2; border-radius: 8px; padding: 10px 13px; }
.spec-k { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #7a889e; margin-bottom: 3px; }
.spec-v { font-size: 15px; font-weight: 700; color: var(--navy); }

.course-figure { margin: 16px 0 4px; text-align: center; }
.course-figure img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid #dce4ee; box-shadow: 0 6px 18px rgba(20,40,70,.10); }
.course-figure figcaption { font-size: 12.5px; color: #7a889e; margin-top: 8px; font-style: italic; }
.course-figure--empty { border: 2px dashed #c7d3e2; border-radius: 10px; background: #f6f9fd; color: #93a2b8;
    padding: 34px 20px; font-size: 13.5px; font-weight: 600; }
.course-figure--empty svg { display: block; margin: 0 auto 8px; opacity: .6; }

.course-callout { display: flex; gap: 14px; align-items: flex-start; border-radius: 10px; padding: 16px 20px; margin: 16px 0; font-size: 14.5px; line-height: 1.65; }
.course-callout .ci { flex: 0 0 auto; font-size: 20px; line-height: 1.3; }
.course-callout--warn { background: #fdeceb; border: 1px solid #f4c3bf; color: #8a2018; }
.course-callout--warn strong { color: #6f160f; }
.course-callout--info { background: #eef4fc; border: 1px solid #cfe0f2; color: #1c466f; }

.quiz-block { margin-top: 30px; border-radius: 12px; overflow: hidden; border: 1px solid #d9e2ee; box-shadow: 0 6px 20px rgba(20,40,70,.07); }
.quiz-head { background: linear-gradient(135deg, #12365e, #1c4e6b); color: #fff; padding: 18px 24px; }
.quiz-head h2 { margin: 0 0 4px; font-size: 19px; }
.quiz-head p { margin: 0; font-size: 13.5px; color: #cfe0f2; }
.quiz-body { background: #fff; padding: 8px 24px 22px; }
.quiz-q { padding: 18px 0; border-bottom: 1px solid #eef2f7; }
.quiz-q:last-child { border-bottom: 0; }
.quiz-qn { display: flex; gap: 10px; font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.quiz-qn .qi { flex: 0 0 auto; color: var(--blue); }
.quiz-options { display: flex; flex-direction: column; gap: 8px; }
.quiz-opt { text-align: left; font: inherit; font-size: 14.5px; color: #33425c; background: #f6f9fd; border: 1.5px solid #e2e9f2;
    border-radius: 8px; padding: 11px 14px; cursor: pointer; transition: background .12s, border-color .12s; }
.quiz-opt:hover:not(:disabled) { border-color: var(--blue); background: #eef4fc; }
.quiz-opt:disabled { cursor: default; }
.quiz-opt.is-correct { background: #e7f6ee; border-color: #57b37e; color: #1f6b41; font-weight: 700; }
.quiz-opt.is-wrong { background: #fdeceb; border-color: #e0776e; color: #8a2018; }
.quiz-feedback { margin-top: 10px; font-size: 13.5px; font-weight: 700; min-height: 18px; }
.quiz-feedback.ok { color: #1f6b41; }
.quiz-feedback.ko { color: #8a2018; }

@media (max-width: 640px) {
    .course-hero { flex-direction: column; text-align: center; padding: 26px 22px; }
    .course-hero h1 { font-size: 24px; }
}

.continuum { display: flex; align-items: flex-end; gap: 8px; margin: 18px 0 6px; }
.cont-step { flex: 1; border-radius: 8px 8px 6px 6px; padding: 10px 8px 12px; color: #fff; text-align: center; position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; }
.cont-s1 { min-height: 80px;  background: #3f9d63; }
.cont-s2 { min-height: 106px; background: #7fb03a; }
.cont-s3 { min-height: 132px; background: #e0a325; }
.cont-s4 { min-height: 160px; background: #e2732a; }
.cont-s5 { min-height: 190px; background: #c0392b; }
.cont-lvl { display: inline-block; width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: rgba(255,255,255,.25); font-weight: 800; margin: 0 auto; font-size: 12px; }
.cont-lbl { font-size: 12px; font-weight: 700; line-height: 1.25; }
.cont-step.is-here { box-shadow: 0 0 0 3px #12365e, 0 8px 18px rgba(0,0,0,.18); }
.cont-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: #12365e; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 9px; border-radius: 20px; white-space: nowrap; }
.cont-note { font-size: 13.5px; color: #7a889e; font-style: italic; margin-top: 12px; }
@media (max-width: 640px) { .continuum { gap: 5px; } .cont-lbl { font-size: 10px; } .cont-badge { font-size: 9px; padding: 2px 6px; } }

.zones-fig { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; margin: 16px 0 6px; padding: 20px; background: #f6f9fd; border: 1px solid #e2e9f2; border-radius: 10px; }
.zones-fig svg { width: 150px; height: auto; flex: 0 0 auto; }
.zones-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.zones-legend li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: #33425c; max-width: 320px; line-height: 1.4; }
.zk { width: 18px; height: 18px; border-radius: 5px; flex: 0 0 auto; }
.zk-no { background: #f2c4bf; border: 2px solid #c0392b; }
.zk-ok { background: #bfe6cd; border: 2px solid #3f9d63; }

.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin: 14px 0 4px; }
.rule-card { display: flex; gap: 12px; align-items: flex-start; background: #f6f9fd; border: 1px solid #e2e9f2; border-left: 4px solid var(--blue); border-radius: 8px; padding: 13px 15px; }
.rule-n { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 7px; background: var(--navy); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.rule-t { font-size: 14px; line-height: 1.5; color: #33425c; }

.cevital-steps { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 4px; }
.cev-step { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e0e7f0; border-radius: 10px; padding: 11px 16px; box-shadow: 0 2px 8px rgba(20,40,70,.04); }
.cev-letter { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(135deg, #12365e, #1c4e6b); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cev-body { display: flex; flex-direction: column; }
.cev-word { font-size: 16px; font-weight: 800; color: var(--navy); }
.cev-desc { font-size: 13.5px; color: #66748c; margin-top: 1px; }

.qa-part { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--navy); margin: 18px 0 9px; padding-bottom: 6px; border-bottom: 2px solid #e6ecf4; }
.qa-part:first-child { margin-top: 4px; }
.qa-list { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 4px; }
.qa-item { display: flex; gap: 12px; background: #f6f9fd; border: 1px solid #e2e9f2; border-radius: 8px; padding: 12px 15px; }
.qa-n { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.qa-q { font-size: 14.5px; font-weight: 700; color: #23324c; line-height: 1.45; }
.qa-obj { font-size: 12.5px; color: #7a889e; font-style: italic; margin-top: 4px; }
.phase { margin: 4px 0 14px; }
.phase-t { font-size: 14.5px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }

.portail-unit--locked { opacity: .62; cursor: not-allowed; }
.portail-unit--locked h3, .portail-unit--locked p { color: #8a97b0; }
.lock-tag { position: absolute; top: 12px; right: 14px; font-size: 11px; font-weight: 800; color: #8a97b0; letter-spacing: .3px; }

.rand-wrap { text-align: center; margin: 4px 0 24px; }
.rand-btn { font: inherit; font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(135deg, #12365e, #1c4e6b); border: 0; border-radius: 10px; padding: 13px 22px; cursor: pointer; box-shadow: 0 6px 16px rgba(20,40,70,.18); }
.rand-btn:hover { filter: brightness(1.08); }
.rand-box { margin: 16px auto 0; max-width: 620px; background: #fff; border: 1px solid #d9e2ee; border-left: 4px solid var(--blue); border-radius: 10px; padding: 18px 22px; font-size: 16px; font-weight: 700; color: #23324c; line-height: 1.5; display: none; text-align: left; }
.rand-box.show { display: block; }
.rand-box .rand-cat { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--blue); margin-bottom: 6px; }

.qa-rep { display: block; font-size: 13.5px; color: #2c3a52; line-height: 1.55; background: #eef4fc; border: 1px solid #d7e5f7; border-radius: 6px; padding: 8px 12px; margin-top: 7px; }
.qa-rep strong { color: #1c466f; }
.course-num .fi { font-size: 16px; line-height: 1; }
.rand-btn .fi { margin-right: 7px; vertical-align: -2px; }
.rand-box .rand-rep { display: block; margin-top: 9px; font-size: 13.5px; font-weight: 500; color: #2c3a52; line-height: 1.5; }
.rand-box .rand-rep strong { color: #1c466f; }
.course-callout .ci .fi { line-height: 1; }

.rank-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; }
.rank-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e0e7f0; border-radius: 9px; padding: 10px 15px; box-shadow: 0 2px 8px rgba(20,40,70,.04); }
.rank-lvl { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.rank-body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.rank-name { font-size: 15.5px; font-weight: 700; color: #1c2942; }
.rank-en { font-size: 12px; color: #8a97b0; }
.rank-insigne { flex: 0 0 auto; margin-left: auto; font-size: 13px; color: #5a6b86; text-align: right; white-space: nowrap; }
.rank-role { font-size: 12.7px; color: #5a6b86; line-height: 1.5; margin-top: 2px; }
.rank-stars { color: #c8a63a; letter-spacing: 2px; font-size: 16px; }
@media (max-width: 560px) { .rank-en { display: none; } .rank-insigne { font-size: 12px; } }

.reg-wrap { max-width: 900px; }
.reg-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin: 2px 0 24px; font-size: 12.5px; color: #5a6b86; }
.reg-meta span { display: inline-flex; align-items: center; gap: 6px; }
.reg-meta b { color: #2a3b57; font-weight: 700; }

.reg-preamble { border: 1px solid #d9e4f2; border-radius: 12px; padding: 20px 24px; margin: 0 0 26px; background: linear-gradient(180deg, #f5f9fe 0%, #eef4fc 100%); }
.reg-preamble h2 { margin: 0 0 10px; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: #132a52; }
.reg-preamble p { margin: 0 0 10px; font-size: 14.3px; line-height: 1.7; color: #2f3b52; }
.reg-preamble p:last-child { margin-bottom: 0; }
.reg-devise { text-align: center; font-weight: 800; letter-spacing: 1px; color: #1c466f; text-transform: uppercase; font-size: 13.5px; margin: 4px 0 2px; }

.reg-toc { background: #fff; border: 1px solid #e2e9f2; border-radius: 12px; padding: 18px 22px; margin: 0 0 30px; box-shadow: 0 3px 12px rgba(20,40,70,.05); }
.reg-toc h2 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--navy); }
.reg-toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 30px; }
.reg-toc li { break-inside: avoid; margin: 0 0 3px; }
.reg-toc a { display: flex; gap: 10px; text-decoration: none; color: #34435e; font-size: 13.3px; padding: 6px 9px; border-radius: 7px; transition: background .15s; }
.reg-toc a:hover { background: #eef4fc; color: var(--navy); }
.reg-toc a b { color: #2a5a8c; font-weight: 800; white-space: nowrap; }
@media (max-width: 640px) { .reg-toc ol { columns: 1; } }

.reg-titre { margin: 36px 0 0; scroll-margin-top: 16px; }
.reg-titre-head { display: flex; align-items: center; gap: 15px; padding: 14px 20px; border-radius: 11px; background: linear-gradient(135deg, #132a52 0%, #234d7d 55%, #2a5a8c 100%); color: #fff; box-shadow: 0 5px 16px rgba(19,42,82,.18); }
.reg-titre-head .rt-ic { flex: 0 0 auto; font-size: 23px; line-height: 1; opacity: .92; display: flex; }
.reg-titre-head .rt-k { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; opacity: .82; display: block; }
.reg-titre-head h2 { margin: 3px 0 0; font-size: 18.5px; color: #fff; line-height: 1.25; }

.reg-article { border: 1px solid #e4ebf4; border-left: 3px solid #c79a2e; border-radius: 0 10px 10px 0; padding: 15px 20px 16px; margin: 13px 0 0; background: #fff; box-shadow: 0 2px 8px rgba(20,40,70,.04); }
.reg-article > h3 { margin: 0 0 9px; font-size: 15.5px; color: #1c2942; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.reg-article > h3 .art-n { color: #b8861f; font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.reg-article p { margin: 0 0 9px; font-size: 14.2px; line-height: 1.66; color: #2f3b52; }
.reg-article p:last-child { margin-bottom: 0; }
.reg-article ul { margin: 7px 0 9px; padding-left: 4px; list-style: none; }
.reg-article ul li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.62; margin: 0 0 6px; color: #374559; }
.reg-article ul li::before { content: "§"; position: absolute; left: 0; top: 0; color: #c79a2e; font-weight: 800; }
.reg-article ol.alineas { margin: 7px 0 9px; padding-left: 22px; }
.reg-article ol.alineas li { font-size: 14px; line-height: 1.62; margin: 0 0 6px; color: #374559; }
.reg-note { background: #eef4fc; border: 1px solid #cfe0f2; border-radius: 8px; padding: 10px 14px; font-size: 13.2px; line-height: 1.6; color: #1c466f; margin: 11px 0 0; }
.reg-note.warn { background: #fdeceb; border-color: #f4c3bf; color: #8a2018; }
.reg-back-top { display: inline-block; margin: 10px 0 0; font-size: 12px; color: #8a97b0; text-decoration: none; }
.reg-back-top:hover { color: var(--navy); }

.reg-fleet { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 10px 0 2px; }
.reg-fleet-item { border: 1px solid #e2e9f2; border-radius: 9px; padding: 11px 14px; background: #f8fbff; }
.reg-fleet-item .fv-cat { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; color: #8a97b0; font-weight: 700; }
.reg-fleet-item .fv-name { font-size: 14px; font-weight: 700; color: #1c2942; margin: 2px 0 3px; }
.reg-fleet-item .fv-desc { font-size: 12.5px; color: #5a6b86; line-height: 1.5; }


.c99-page [hidden] { display: none !important; }
.c99-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.c99-hero { display: flex; align-items: stretch; margin: 4px 0 18px; border-radius: 3px; overflow: hidden; color: #fff; background: #012b6d linear-gradient(120deg, #012b6d 0%, #011a44 100%); }
.c99-hero-code { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 118px; padding: 16px 20px; background: linear-gradient(160deg, #c62f25 0%, #8e1a14 100%); text-transform: uppercase; }
.c99-hero-code span { font-size: 12px; font-weight: 800; letter-spacing: 3px; opacity: .92; }
.c99-hero-code strong { font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: 1px; }
.c99-hero-body { flex: 1 1 auto; min-width: 0; padding: 18px 22px; }
.c99-hero-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); }
.c99-hero-kicker .fi { display: flex; }
.c99-hero h1 { margin: 4px 0 6px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.2; color: #fff; }
.c99-hero p { margin: 0; max-width: 640px; font-size: 14px; line-height: 1.55; color: #c3d2ee; }
.c99-hero-actions { flex: 0 0 auto; display: flex; align-items: center; padding: 18px 22px; }
.c99-btn-new { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 3px; background: linear-gradient(135deg, #f7bd45 0%, #e29a14 100%); color: #0b2350; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background .15s var(--ease); }
.c99-btn-new .fi { display: flex; font-size: 16px; }
.c99-btn-new:hover { background: linear-gradient(135deg, #ffd06a 0%, #efaa25 100%); }
.c99-hero .c99-btn-new:focus-visible { outline-color: #fff; }
.c99-btn-new:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.c99-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.c99-stat { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: #fff; border: 1px solid #d5deea; border-top: 3px solid var(--navy); border-radius: 3px; }
.c99-stat strong { font-size: 24px; font-weight: 900; line-height: 1.1; color: #1c2942; font-variant-numeric: tabular-nums; }
.c99-stat span { font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #5a6785; }
.c99-stat--ouvert { border-top-color: #c62f25; }
.c99-stat--examen { border-top-color: #d49a1d; }
.c99-stat--cloture { border-top-color: #2e9e5b; }
.c99-stat--mois { border-top-color: #217bc0; }

.c99-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 10px 12px; border-radius: 3px; }
.c99-toolbar .doa-search-wrap > .fi { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); display: flex; font-size: 14px; color: #7d8bab; pointer-events: none; }
.c99-toolbar .doa-search { height: 43px; padding-left: 38px; border-radius: 3px; }
.c99-toolbar .doa-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.c99-toolbar .doa-count { justify-self: end; align-self: center; }
.c99-filter { height: 43px; }

.c99-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 34px 18px; margin-top: 30px; }
.c99-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 12px; background: #fff; border: 1px solid #d5deea; border-left: 4px solid #c62f25; border-radius: 0 3px 3px 3px; color: inherit; text-decoration: none; transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease); }
.c99-card:hover { border-color: var(--navy); background: #fbfcfe; }
.c99-card--ouvert, .c99-card--ouvert:hover { border-left-color: #c62f25; }
.c99-card--examen, .c99-card--examen:hover { border-left-color: #d49a1d; }
.c99-card--cloture, .c99-card--cloture:hover { border-left-color: #2e9e5b; }
.c99-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.c99-card-tab { position: absolute; top: -22px; left: -4px; height: 22px; display: flex; align-items: center; padding: 0 12px; border-radius: 3px 3px 0 0; background: var(--navy); color: #fff; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11.5px; font-weight: 700; letter-spacing: .8px; transition: background .15s var(--ease); }
.c99-card:hover .c99-card-tab { background: #0a3a86; }
.c99-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.c99-motif { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #a3261b; }
.c99-motif .fi { display: flex; font-size: 13px; }
.c99-card-title { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.3; color: #1c2942; overflow-wrap: anywhere; }
.c99-card-rows { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: #44536f; }
.c99-card-rows span { display: flex; align-items: center; gap: 7px; min-width: 0; }
.c99-card-rows .fi { flex: 0 0 auto; display: flex; font-size: 13px; color: #7d8bab; }
.c99-card-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 10px; border-top: 1px solid #eef1f7; font-size: 12.5px; color: #5a6785; }
.c99-card-foot span { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.c99-card-foot .fi { display: flex; font-size: 13px; }
.c99-card-foot .is-alert { color: #a3261b; font-weight: 800; }
.c99-card-author { min-width: 0; max-width: 48%; margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: #5a6785; }

.c99-status { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; color: #fff; }
.c99-status--ouvert { background: #c62f25; }
.c99-status--examen { background: #946200; }
.c99-status--cloture { background: #237a4b; }

.c99-empty { padding: 50px 20px; text-align: center; background: #fff; border: 1px dashed #c4d2e6; border-radius: 3px; }
.c99-empty-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%; background: #eef2f8; color: var(--navy); font-size: 28px; }
.c99-empty-ic .fi { display: flex; }
.c99-empty h2 { margin: 0 0 6px; font-size: 20px; color: #1c2942; }
.c99-empty p { margin: 0 0 18px; color: #5a6785; }

.c99-formhead { margin-bottom: 6px; }
.c99-code-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 2px; background: #c62f25; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.c99-code-chip .fi { display: flex; }
.c99-form { max-width: 920px; }
.c99-form textarea { min-height: 96px; border-radius: 3px; }
.c99-select { width: 100%; height: 43px; padding: 0 34px 0 12px; border: 1px solid #cdd6e5; border-radius: 3px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23012b6d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 12px; font-family: inherit; font-size: 14px; color: var(--navy); -webkit-appearance: none; appearance: none; outline: none; cursor: pointer; }
.c99-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.c99-sublabel { display: block; margin: 4px 0 8px; font-size: 14px; font-weight: 700; color: var(--navy); }
.c99-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.c99-row { display: grid; gap: 8px; align-items: center; }
.c99-row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; }
.c99-row--time { grid-template-columns: 120px minmax(0, 1fr) 40px; }
.c99-row--vic { grid-template-columns: minmax(0, 1.1fr) 104px 150px minmax(0, 1.4fr) 40px; }
.c99-row--sus { grid-template-columns: minmax(0, 1.1fr) 150px minmax(0, 1.5fr) 40px; }
.c99-row input { width: 100%; min-width: 0; height: 43px; padding: 0 12px; border: 1px solid #cdd6e5; border-radius: 3px; font-family: inherit; font-size: 14px; color: var(--navy); outline: none; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.c99-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.c99-row .dyn-del { width: 40px; height: 43px; }
.c99-form .dyn-add { margin-bottom: 14px; }

.c99-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed #b9c6da; border-radius: 3px; background: #f7f9fd; cursor: pointer; transition: border-color .15s var(--ease), background .15s var(--ease); }
.c99-drop:hover, .c99-drop.is-over { border-color: var(--blue); background: #eef4fc; }
.c99-drop:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.c99-drop-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.c99-drop-ic { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 20px; }
.c99-drop-ic .fi { display: flex; }
.c99-drop-txt { display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.45; color: #5a6785; }
.c99-drop-txt strong { font-size: 15px; color: #1c2942; }
.c99-drop-msg.is-warn { color: #a3261b; }
.c99-thumbs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; }
.c99-thumbs:empty { display: none; }
.c99-thumb { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 6px; background: #fff; border: 1px solid #d5deea; border-radius: 3px; }
.c99-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; background: #e9eef6; }
.c99-thumb input[type=text] { width: 100%; height: 34px; padding: 0 8px; border: 1px solid #cdd6e5; border-radius: 3px; font-family: inherit; font-size: 12.5px; color: var(--navy); outline: none; }
.c99-thumb input[type=text]:focus { border-color: var(--blue); }
.c99-thumb-del { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #a3261b; cursor: pointer; }
.c99-thumb-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: none; border-radius: 50%; background: rgba(12,20,40,.72); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.c99-thumb-x:hover { background: #c62f25; }
.c99-thumb-x:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

.c99-submitbar { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 14px 0 12px; background: linear-gradient(180deg, rgba(244,247,252,0) 0%, #f4f7fc 38%); }
.c99-btn-submit { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border: none; border-radius: 3px; background: var(--navy); color: #fff; font-family: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .15s var(--ease); }
.c99-btn-submit .fi { display: flex; }
.c99-btn-submit:hover { background: #0a3a86; }
.c99-btn-submit:disabled { opacity: .7; cursor: progress; }
.c99-btn-submit:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.c99-head { background: linear-gradient(120deg, #012b6d 0%, #01173d 65%, #5e1410 100%); }
.c99-head .dossier-kicker { display: inline-flex; align-items: center; gap: 6px; }
.c99-head .dossier-kicker .fi { display: flex; }
.c99-head-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; font-size: 14px; color: #c3d2ee; }
.c99-head-sub .fi { display: flex; }
.c99-dossier .kf--danger .kf-v { display: inline-flex; align-items: center; gap: 6px; }
.c99-counters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c99-counter { display: flex; flex-direction: column; padding: 9px 10px; background: #fff; border: 1px solid #e4e9f1; border-radius: 3px; }
.c99-counter strong { font-size: 20px; font-weight: 900; line-height: 1.1; color: #1c2942; font-variant-numeric: tabular-nums; }
.c99-counter span { font-size: 11px; color: #5a6785; }
.c99-counter.is-alert { background: #fdecea; border-color: #f4c3bf; }
.c99-counter.is-alert strong { color: #a3261b; }
.c99-counter.is-dark { background: #2b2f3a; border-color: #2b2f3a; }
.c99-counter.is-dark strong, .c99-counter.is-dark span { color: #fff; }
.c99-muted { font-size: 12.5px; color: #5a6785; }
.c99-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 2px; background: #eef2f8; color: var(--navy); font-size: 11px; vertical-align: 1px; }
.c99-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.c99-gallery figure { margin: 0; }
.c99-gal-btn { display: block; width: 100%; padding: 0; overflow: hidden; border: none; border-radius: 3px; background: none; cursor: zoom-in; }
.c99-gal-btn img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e9eef6; transition: transform .25s var(--ease); }
.c99-gal-btn:hover img { transform: scale(1.04); }
.c99-gal-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.c99-gallery figcaption { margin-top: 5px; font-size: 12px; line-height: 1.4; color: #5a6785; }
.c99-tag { display: inline-block; padding: 2px 8px; border-radius: 2px; font-size: 11px; font-weight: 800; letter-spacing: .3px; white-space: nowrap; }
.c99-tag--leger { background: #fff1d6; color: #8a5a00; }
.c99-tag--grave { background: #fde2dc; color: #a3261b; }
.c99-tag--coma { background: #f3e1f5; color: #6a2378; }
.c99-tag--deces { background: #2b2f3a; color: #fff; }
.c99-tag--int { background: #e3f4ea; color: #1e7a45; }
.c99-tag--fuite { background: #fde2dc; color: #a3261b; }
.c99-tag--ni { background: #eef1f6; color: #4a5875; }
.c99-sus li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.c99-actions { flex-wrap: wrap; }
.c99-actions .btn-pdf .fi, .c99-actions .btn-delete .fi { display: inline-flex; }
.c99-btn-edit { display: inline-flex; align-items: center; gap: 6px; padding: 12px 20px; border-radius: 3px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; transition: background .15s var(--ease); }
.c99-btn-edit:hover { background: #0a3a86; }
.c99-btn-edit .fi { display: flex; }
.c99-statut-form { display: inline-flex; align-items: center; gap: 8px; }
.c99-statut-form .c99-select { width: auto; height: 42px; }
.c99-btn-ghost { height: 42px; padding: 0 14px; border: 1px solid #cdd6e5; border-radius: 3px; background: #fff; color: var(--navy); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.c99-btn-ghost:hover { border-color: var(--navy); background: #f6f8fc; }
.c99-btn-ghost:disabled { opacity: .7; cursor: progress; }
.c99-btn-discord { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.c99-btn-discord .discord-mark { width: 17px; height: 17px; flex: none; color: #5865f2; }
.c99-st-note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: #5a6785; }
.c99-del-form { margin-left: auto; }
.c99-del-form .btn-delete { display: inline-flex; align-items: center; gap: 6px; }

.c99-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(4,10,24,.93); }
.c99-lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: min(1200px, 100%); margin: 0; }
.c99-lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 3px; }
.c99-lightbox figcaption { font-size: 14px; text-align: center; color: #dbe4f5; }
.c99-lb-close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.c99-lb-nav { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: none; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; cursor: pointer; }
.c99-lb-nav .fi { display: flex; }
.c99-lb-nav:hover, .c99-lb-close:hover { background: rgba(255,255,255,.24); }
.c99-lb-nav:focus-visible, .c99-lb-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 900px) {
    .c99-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .c99-toolbar { grid-template-columns: 1fr; }
    .c99-toolbar .doa-count { justify-self: start; }
    .c99-row--2, .c99-row--vic, .c99-row--sus { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; }
    .c99-row--2 > input:nth-of-type(1), .c99-row--vic > input:nth-of-type(1), .c99-row--sus > input:nth-of-type(1) { grid-column: 1 / 3; grid-row: 1; }
    .c99-row--2 > .dyn-del, .c99-row--vic > .dyn-del, .c99-row--sus > .dyn-del { grid-column: 3; grid-row: 1; }
    .c99-row--2 > input:nth-of-type(2) { grid-column: 1 / 3; grid-row: 2; }
    .c99-row--vic > select:nth-of-type(1) { grid-column: 1; grid-row: 2; }
    .c99-row--vic > select:nth-of-type(2) { grid-column: 2; grid-row: 2; }
    .c99-row--vic > input:nth-of-type(2), .c99-row--sus > input:nth-of-type(2) { grid-column: 1 / 3; grid-row: 3; }
    .c99-row--sus > select { grid-column: 1 / 3; grid-row: 2; }
    .c99-row--2, .c99-row--vic, .c99-row--sus { padding-bottom: 10px; border-bottom: 1px dashed #d5deea; }
}
@media (max-width: 560px) {
    .c99-hero { flex-direction: column; }
    .c99-hero-code { flex-direction: row; justify-content: flex-start; gap: 10px; min-width: 0; padding: 10px 16px; }
    .c99-hero-code strong { font-size: 30px; }
    .c99-hero-body { padding: 14px 16px 6px; }
    .c99-hero-actions { padding: 8px 16px 16px; }
    .c99-btn-new { width: 100%; justify-content: center; }
    .c99-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .c99-form .form-grid-3, .c99-form .form-grid { grid-template-columns: 1fr; }
    .c99-form input, .c99-form select, .c99-form textarea, .c99-toolbar .doa-search, .c99-filter { font-size: 16px; }
    .c99-row--time { grid-template-columns: 104px minmax(0, 1fr) 44px; }
    .c99-row .dyn-del { width: 44px; height: 44px; }
    .c99-row--2, .c99-row--vic, .c99-row--sus { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; }
    .c99-drop { flex-direction: column; text-align: center; }
    .c99-submitbar { justify-content: stretch; }
    .c99-submitbar > * { flex: 1 1 auto; justify-content: center; }
    .c99-del-form { margin-left: 0; }
    .c99-lightbox { padding: 60px 8px 16px; }
    .c99-lb-nav { position: absolute; bottom: 18px; }
    .c99-lb-prev { left: calc(50% - 60px); }
    .c99-lb-next { right: calc(50% - 60px); }
    .c99-lightbox img { max-height: calc(100vh - 170px); }
}

html:has(.c99-form) { scroll-padding-top: 96px; scroll-padding-bottom: 96px; }
.c99-page .tl-date, .c99-page .dossier-table th, .c99-page .kf-l, .c99-page .dossier-empty, .c99-page .field .opt, .c99-page .dossier-meta { color: #5a6785; }
.c99-sus .c99-tag { font-size: 11px; }
.c99-sus .c99-tag--int { color: #1e7a45; }
.c99-sus .c99-tag--fuite, .c99-sus .c99-tag--grave { color: #a3261b; }
.c99-sus .c99-tag--deces { color: #fff; }
.c99-sus .c99-tag--ni { color: #4a5875; }
.c99-thumbs + .c99-drop { margin-top: 12px; }
.c99-thumb:has(input[name="ph_del[]"]:checked) { border-color: #f4c3bf; background: #fdecea; }
.c99-thumb:has(input[name="ph_del[]"]:checked) img { opacity: .35; filter: grayscale(1); }
.c99-thumb:has(input[name="ph_del[]"]:checked) input[type=text] { text-decoration: line-through; color: #8a97b0; }
.c99-draftbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 12px; padding: 10px 14px; background: #fff8e8; border: 1px solid #f3dfb3; border-left: 4px solid var(--gold); border-radius: 3px; font-size: 13.5px; color: #5a4200; }
.c99-draftbar .fi { display: flex; }
.c99-draftbar span { flex: 1 1 240px; }
.c99-draftbar .c99-btn-ghost { height: 36px; }
@media (max-width: 780px) {
    .c99-dossier .dossier-cols { grid-template-columns: minmax(0, 1fr); }
    .c99-dossier .dossier-side { max-width: none; }
}
@media (max-width: 560px) {
    .c99-dossier .dossier-main { padding: 16px 12px; }
    .c99-dossier .dcard { padding: 14px; }
    .c99-table thead { display: none; }
    .c99-table, .c99-table tbody, .c99-table tr, .c99-table td { display: block; width: auto; }
    .c99-table tr { padding: 9px 0; border-bottom: 1px solid #f1f4f9; }
    .c99-table td { padding: 2px 0; border: 0; }
    .c99-table td:nth-child(2)::before { content: "Catégorie : "; color: #5a6785; font-size: 12px; }
    .c99-row--vic > select:nth-of-type(1) { grid-column: 1 / 3; grid-row: 2; }
    .c99-row--vic > select:nth-of-type(2) { grid-column: 1 / 3; grid-row: 3; }
    .c99-row--vic > input:nth-of-type(2) { grid-column: 1 / 3; grid-row: 4; }
    .c99-row--time > input[type=text] { grid-column: 1 / -1; grid-row: 2; }
    .c99-row--time > .dyn-del { grid-column: 3; grid-row: 1; }
    .c99-row--time { padding-bottom: 10px; border-bottom: 1px dashed #d5deea; }
    .c99-actions > a, .c99-actions > form { width: 100%; }
    .c99-actions > a { justify-content: center; }
    .c99-statut-form { flex-wrap: wrap; }
    .c99-statut-form .c99-select, .c99-statut-form .c99-btn-ghost { flex: 1 1 100%; width: 100%; }
    .c99-del-form .btn-delete { width: 100%; justify-content: center; }
    .c99-discord-form .c99-btn-ghost { width: 100%; }
}

.c99-livebar { position: sticky; top: 76px; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 0 0 14px; padding: 10px 14px; background: #fff; border: 1px solid #d5deea; border-radius: 3px; box-shadow: 0 6px 18px rgba(1,43,109,.08); }
.c99-live-state { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #1e6b3a; }
.c99-live-state a { margin-left: 6px; font-weight: 800; color: inherit; text-decoration: underline; }
.c99-live-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: #2e9b5d; box-shadow: 0 0 0 3px rgba(46,155,93,.18); }
.c99-live-state.is-saving { color: #8a5a00; }
.c99-live-state.is-saving .c99-live-dot { background: #d69a12; box-shadow: 0 0 0 3px rgba(214,154,18,.2); animation: c99pulse 1s ease-in-out infinite; }
.c99-live-state.is-off, .c99-live-state.is-err { color: #a3261b; }
.c99-live-state.is-off .c99-live-dot, .c99-live-state.is-err .c99-live-dot { background: #c62f25; box-shadow: 0 0 0 3px rgba(198,47,37,.18); }
@keyframes c99pulse { 50% { opacity: .35; } }
.c99-live-who { font-size: 13px; color: #5a6785; }
.c99-boxes:empty { display: none; }
.c99-conflict { margin: 8px 0 12px; padding: 12px 14px; background: #fff8e6; border: 1px solid #efcf7a; border-left: 4px solid #d69a12; border-radius: 3px; font-size: 13.5px; color: #4a3a0c; }
.c99-conflict p { margin: 0 0 8px; line-height: 1.5; }
.c99-conflict blockquote { margin: 0 0 10px; padding: 8px 10px; max-height: 180px; overflow: auto; background: #fff; border: 1px solid #ecdcae; border-radius: 3px; white-space: pre-wrap; word-break: break-word; font-size: 13px; color: #1c2942; }
.c99-conflict-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.c99-conflict-btns .c99-btn-ghost { height: 34px; }
.c99-note { margin: 6px 0 10px; padding: 8px 12px; background: #eef4fc; border: 1px solid #cfdcf0; border-radius: 3px; font-size: 13px; color: #1c3a66; }
.c99-lockbadge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; background: #fff1d6; color: #8a5a00; font-size: 11.5px; font-weight: 700; vertical-align: middle; }
.c99-liveform .is-locked input, .c99-liveform input.is-locked, .c99-liveform textarea.is-locked, .c99-liveform select.is-locked, .c99-liveform .is-locked select { background: #fffaf0; border-color: #efcf7a; }
.c99-liveform input[readonly], .c99-liveform textarea[readonly], .c99-liveform select:disabled { cursor: not-allowed; color: #4a5875; }
.c99-row-by { grid-column: 1 / -1; margin-top: -3px; font-size: 11.5px; color: #6b7894; }
.c99-row-by:empty { display: none; }
.c99-row.is-locked .c99-row-by, .c99-thumb.is-locked .c99-row-by { color: #8a5a00; font-weight: 700; }
.c99-hint { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 700; color: #a3261b; }
.c99-flash { animation: c99flash 1.6s ease-out; }
@keyframes c99flash { 0% { background-color: #e3f1ff; box-shadow: 0 0 0 3px rgba(33,123,192,.25); } 100% { background-color: transparent; box-shadow: none; } }
.c99-undo { position: fixed; left: 50%; bottom: 22px; z-index: 50; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 10px 14px; background: #0b1b3a; color: #fff; border-radius: 3px; box-shadow: 0 10px 28px rgba(0,0,0,.28); font-size: 13.5px; }
.c99-undo .c99-btn-ghost { height: 32px; background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.c99-thumb--up { opacity: .95; }
.c99-thumb--up img { filter: saturate(.6); }
.c99-up-txt { font-size: 12px; font-weight: 700; color: #1c3a66; }
.c99-thumb--up.is-err .c99-up-txt { color: #a3261b; }
.c99-thumb--up .c99-btn-ghost { height: 30px; font-size: 12px; }
.c99-drop.is-full { opacity: .55; pointer-events: none; }
.c99-done-note { margin-right: auto; font-size: 13px; font-weight: 700; color: #1c3a66; }
.c99-mt { margin-top: 16px; }
.c99-presence { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; padding: 10px 14px; background: #fff8e6; border: 1px solid #efcf7a; border-radius: 3px; font-size: 13.5px; font-weight: 700; color: #6b4a00; }
.c99-presence .c99-live-dot { background: #d69a12; box-shadow: 0 0 0 3px rgba(214,154,18,.2); animation: c99pulse 1.4s ease-in-out infinite; }
.c99-presence .c99-btn-ghost { display: inline-flex; align-items: center; height: 34px; margin-left: auto; text-decoration: none; }
.c99-refresh { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 14px; background: #eef4fc; border: 1px solid #cfdcf0; border-radius: 3px; font-size: 13.5px; font-weight: 700; color: #1c3a66; }
.c99-refresh .c99-btn-ghost { height: 34px; }
.c99-encours { margin: 0 0 16px; padding: 12px 16px; background: #fff8e6; border: 1px solid #efcf7a; border-left: 4px solid #d69a12; border-radius: 3px; font-size: 14px; color: #4a3a0c; }
.c99-encours p { margin: 0 0 8px; }
.c99-encours ul { margin: 0; padding-left: 18px; }
.c99-encours li { margin: 4px 0; }
.c99-encours a { color: #0b3a86; font-weight: 600; }
.c99-pre li { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.c99-hist { margin: 18px 0 0; background: #fff; border: 1px solid #d5deea; border-radius: 3px; }
.c99-hist > summary { display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 800; color: var(--navy); cursor: pointer; list-style: none; }
.c99-hist > summary::-webkit-details-marker { display: none; }
.c99-hist > summary .fi { display: flex; }
.c99-hist-help { margin: 0; padding: 0 16px 10px; font-size: 13px; color: #5a6785; }
.c99-hist-list { list-style: none; margin: 0; padding: 0 16px 14px; }
.c99-hist-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 6px 12px; align-items: start; padding: 10px 0; border-top: 1px solid #e7ecf4; font-size: 13.5px; color: #1c2942; }
.c99-hist-t { color: #6b7894; font-size: 12.5px; padding-top: 1px; }
.c99-hist-w em { color: #3a4866; }
.c99-hist-diff { grid-column: 2 / 3; }
.c99-hist-diff summary { font-size: 12.5px; font-weight: 700; color: var(--blue); cursor: pointer; }
.c99-hist-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.c99-hist-cols > div { padding: 8px 10px; background: #f7f9fd; border: 1px solid #e1e8f2; border-radius: 3px; }
.c99-hist-cols b { display: block; margin-bottom: 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: #6b7894; }
.c99-hist-cols p { margin: 0; white-space: normal; word-break: break-word; }
.c99-hist-back { grid-column: 3; grid-row: 1; height: 32px; font-size: 12.5px; }
@media (max-width: 700px) {
    .c99-livebar { top: 76px; }
    .c99-hist-item { grid-template-columns: minmax(0, 1fr); }
    .c99-hist-diff, .c99-hist-back { grid-column: 1; grid-row: auto; justify-self: start; }
    .c99-hist-cols { grid-template-columns: 1fr; }
    .c99-done-note { flex-basis: 100%; }
    .c99-liveform .c99-submitbar { flex-wrap: wrap; }
    .c99-liveform .c99-btn-submit { flex: 1 1 100%; justify-content: center; }
}

.form-grid > .c99-conflict, .form-grid > .c99-note, .c99-thumbs > .c99-note { grid-column: 1 / -1; }
html:has(.c99-liveform) { scroll-padding-top: 150px; }
@media (max-width: 560px) {
    .c99-livebar { top: 62px; padding: 8px 10px; }
    .c99-live-who { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    html:has(.c99-liveform) { scroll-padding-top: 170px; }
}

.rc { --rc-g: #2e9b5d; --rc-a: #e0a322; --rc-r: #d9432f; --rc-gt: #8ce2b2; --rc-at: #f7cd6b; --rc-rt: #ffa393; --rc-mute: #8ea3cc; --rc-soft: #c3d1ec; --rc-past: rgba(255, 255, 255, .22); --rc-zc: var(--rc-mute); --rc-zt: #aabbe0; container: rc / inline-size; margin: 0 0 16px; padding: 18px 20px 18px 18px; border: 1px solid var(--navy); border-radius: 3px; background: var(--navy); color: #fff; box-shadow: 0 14px 30px rgba(1, 26, 68, .14); }
.rc[data-zone="rapide"] { --rc-zc: var(--rc-g); --rc-zt: var(--rc-gt); }
.rc[data-zone="moyen"] { --rc-zc: var(--rc-a); --rc-zt: var(--rc-at); }
.rc[data-zone="long"] { --rc-zc: var(--rc-r); --rc-zt: var(--rc-rt); }
.rc-in { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "dial side"; align-items: center; column-gap: 20px; }
.rc-dial { grid-area: dial; position: relative; width: 200px; height: 200px; }
.rc-ring { display: block; width: 100%; height: 100%; overflow: visible; }
.rc-ring circle { fill: none; }
.rc-ring .rc-disc { fill: rgba(255, 255, 255, .035); }
.rc-ticks { stroke: rgba(255, 255, 255, .2); stroke-width: 5; stroke-dasharray: 1.3 8.54366; stroke-dashoffset: .65; }
.rc-ticks--major { stroke: rgba(255, 255, 255, .5); stroke-width: 8; stroke-dasharray: 1.9 47.05649 1.9 47.05649 1.9 47.05649 1.9 96.01297 1.9 47.05649 1.9 47.05649 1.9 96.01297 1.9 47.05649 1.9 47.05649 1.9 47.05649; stroke-dashoffset: .95; }
.rc[data-etat="done"] .rc-ticks { stroke: rgba(255, 255, 255, .14); }
.rc[data-etat="done"] .rc-ticks--major { stroke: rgba(255, 255, 255, .36); }
.rc-trk, .rc-fill { stroke-width: 5; }
.rc-trk { stroke: rgba(255, 255, 255, .12); stroke-dasharray: 135.5516 367.1032; }
.rc-fill { stroke-dasharray: 0 502.6548; transition: stroke .4s var(--ease); }
.rc-z1 { stroke-dashoffset: -16; }
.rc-z2 { stroke-dashoffset: -183.5516; }
.rc-z3 { stroke-dashoffset: -351.1032; }
.rc-fill.rc-z1 { stroke: var(--rc-g); }
.rc-fill.rc-z2 { stroke: var(--rc-a); }
.rc-fill.rc-z3 { stroke: var(--rc-r); }
.rc[data-zone="moyen"] .rc-fill.rc-z1, .rc[data-zone="long"] .rc-fill.rc-z1, .rc[data-zone="long"] .rc-fill.rc-z2 { stroke: var(--rc-past); }
.rc-pos { display: none; }
.rc[data-zone] .rc-pos { display: inline; }
.rc-pos circle { fill: #fff; stroke: var(--navy); stroke-width: 2.4; }
.rc-mark { position: absolute; top: 69.5%; transform: translate(-50%, -50%); font-size: 10px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--rc-mute); pointer-events: none; }
.rc-mark--10 { left: 83.77%; }
.rc-mark--20 { left: 16.23%; }
.rc-hand { display: none; position: absolute; top: .5%; left: 50%; width: 3px; height: 4.5%; margin-left: -1.5px; border-radius: 2px; background: #fff; transform-origin: 50% 1100%; pointer-events: none; will-change: transform; transition: transform .32s cubic-bezier(.3, 1.5, .55, 1); }
.rc[data-etat="run"] .rc-hand, .rc[data-etat="stop"] .rc-hand { display: block; }
.rc-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; pointer-events: none; }
.rc-cap { font-size: 10.5px; font-weight: 700; line-height: 1; letter-spacing: .8px; text-transform: uppercase; color: var(--rc-mute); }
.rc-cap-fin, .rc[data-etat="done"] .rc-cap-live { display: none; }
.rc[data-etat="done"] .rc-cap-fin { display: inline; }
.rc-time { font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1, "case" 1; color: #fff; }
.rc[data-etat="idle"] .rc-time, .rc[data-etat="start"] .rc-time { color: var(--rc-mute); }
.rc--h .rc-time { font-size: 34px; }
.rc-zone { min-height: 16px; font-size: 12.5px; font-weight: 700; line-height: 16px; color: var(--rc-zt); white-space: nowrap; }
.rc-zone-c { display: none; }
.rc-side { grid-area: side; align-self: stretch; display: flex; flex-direction: column; min-width: 0; min-height: 240px; }
.rc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; }
.rc-title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; font-weight: 800; line-height: 1; letter-spacing: .8px; text-transform: uppercase; color: #c9d6ee; white-space: nowrap; }
.rc-title .fi { display: flex; font-size: 14px; line-height: 1; color: var(--gold); }
.rc-title-x { display: none; }
.rc-state { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 700; line-height: 1; color: #dfe8f8; white-space: nowrap; }
.rc-state::before { content: ""; flex: 0 0 auto; box-sizing: border-box; width: 8px; height: 8px; margin: 0 1px; border-radius: 50%; background: var(--rc-mute); }
.rc-state::after { content: ""; position: absolute; top: 50%; left: 11px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--rc-zc); opacity: 0; pointer-events: none; }
.rc[data-etat="run"] .rc-state::before, .rc[data-etat="stop"] .rc-state::before { background: var(--rc-zc); }
.rc[data-etat="run"] .rc-state::after { animation: rcPing 1.6s var(--ease) 3; }
.rc[data-etat="run"].rc--m .rc-state::after { animation-name: rcPong; }
.rc[data-etat="start"] .rc-state::before { width: 10px; height: 10px; margin: 0; border: 1.6px solid rgba(255, 255, 255, .25); border-top-color: #fff; background: none; animation: rcSpin .8s linear infinite; }
.rc[data-etat="done"] .rc-state { background: rgba(46, 155, 93, .2); color: #c8f2da; }
.rc[data-etat="done"] .rc-state::before { width: 5px; height: 9px; margin: -2px 2.5px 0; border: solid var(--rc-gt); border-width: 0 2px 2px 0; border-radius: 0; background: none; transform: rotate(45deg); }
.rc-body { margin-top: 12px; }
.rc-msg { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--rc-soft); text-wrap: pretty; }
.rc-nw { white-space: nowrap; }
.rc[data-etat="done"] .rc-msg { color: #eef3fb; }
.rc .rc-msg.is-err { padding: 4px 9px; border: 1px solid rgba(226, 86, 63, .35); border-radius: 3px; background: rgba(226, 86, 63, .12); font-size: 12px; line-height: 1.4; font-weight: 600; color: #ffc9b8; }
.rc-actions { display: flex; margin-top: auto; padding-top: 14px; }
.rc-btn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 16px; border: 1px solid transparent; border-radius: 3px; font-family: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease), opacity .15s var(--ease); }
.rc-btn[hidden] { display: none; }
.rc-btn:not(:disabled):active { transform: translateY(1px); }
.rc-btn:disabled { cursor: progress; }
.rc-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.rc-ico { flex: 0 0 auto; width: 14px; height: 14px; fill: currentColor; }
.rc-btn--go { background: transparent; border-color: rgba(255, 255, 255, .38); color: #fff; }
.rc-btn--go:hover:not(:disabled) { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .7); }
.rc-btn--go:disabled { opacity: .55; }
.rc-btn--stop { background: #fff; color: var(--navy); box-shadow: 0 6px 16px rgba(0, 10, 30, .25); }
.rc-btn--stop:hover:not(:disabled) { background: #e9eef7; }
.rc-btn--stop:disabled { opacity: .9; }
.rc-btn--stop .rc-ico { fill: var(--rc-r); }
.rc-spin, .rc-btn-s { display: none; }
.rc-spin { flex: 0 0 auto; box-sizing: border-box; width: 14px; height: 14px; border: 2px solid #cdd6e6; border-top-color: var(--navy); border-radius: 50%; }
.rc[data-etat="stop"] .rc-btn--stop .rc-ico, .rc[data-etat="stop"] .rc-btn-l { display: none; }
.rc[data-etat="stop"] .rc-spin { display: block; animation: rcSpin .8s linear infinite; }
.rc[data-etat="stop"] .rc-btn-s { display: inline; }
.rc-ok { display: none; flex: 1 1 auto; align-items: center; justify-content: center; gap: 9px; min-height: 44px; margin: 0; padding: 0 12px; border: 1px solid rgba(46, 155, 93, .5); border-radius: 3px; background: rgba(46, 155, 93, .16); font-size: 14px; font-weight: 700; line-height: 1.25; color: #d5f5e3; text-align: center; }
.rc[data-etat="done"] .rc-ok { display: flex; }
.rc-ok svg { flex: 0 0 auto; width: 18px; height: 18px; }
.rc-ok circle { fill: var(--rc-g); }
.rc-ok path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rc-key { padding-top: 16px; }
.rc-key-h { margin: 0 0 8px; font-size: 10.5px; font-weight: 800; line-height: 1.2; letter-spacing: .8px; text-transform: uppercase; color: var(--rc-mute); }
.rc-key-h2, .rc[data-etat="done"] .rc-key-h1 { display: none; }
.rc[data-etat="done"] .rc-key-h2 { display: inline; }
.rc-scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rc-scale-i { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; line-height: 1.35; color: var(--rc-mute); white-space: nowrap; }
.rc-scale-i::before { content: ""; height: 3px; margin-bottom: 7px; border-radius: 2px; background: rgba(255, 255, 255, .14); transition: background-color .4s var(--ease); }
.rc-scale b { font-weight: 700; color: #dfe8f8; }
.rc-scale .rc-zs { display: none; }
.rc-scale .rc-z1::before { background: var(--rc-g); }
.rc-scale .rc-z2::before { background: var(--rc-a); }
.rc-scale .rc-z3::before { background: var(--rc-r); }
.rc[data-zone="rapide"] .rc-scale .rc-z2::before, .rc[data-zone="rapide"] .rc-scale .rc-z3::before, .rc[data-zone="moyen"] .rc-scale .rc-z3::before { background: rgba(255, 255, 255, .14); }
.rc[data-zone="moyen"] .rc-scale .rc-z1::before, .rc[data-zone="long"] .rc-scale .rc-z1::before, .rc[data-zone="long"] .rc-scale .rc-z2::before { background: var(--rc-past); }
.rc[data-zone] .rc-scale b { color: #a9b9d9; }
.rc[data-zone="rapide"] .rc-scale .rc-z1, .rc[data-zone="moyen"] .rc-scale .rc-z2, .rc[data-zone="long"] .rc-scale .rc-z3 { color: var(--rc-soft); }
.rc[data-zone="rapide"] .rc-scale .rc-z1 b, .rc[data-zone="moyen"] .rc-scale .rc-z2 b, .rc[data-zone="long"] .rc-scale .rc-z3 b { color: #fff; }
@keyframes rcPing { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes rcPong { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes rcSpin { to { transform: rotate(360deg); } }
@media (min-width: 901px) {
    .rc-zone { margin: -7px 0 7px; }
    .rc--h .rc-zone { margin: -4px 0 4px; }
    @container rc (max-width: 536px) {
        .rc-dial { width: 184px; height: 184px; }
        .rc-time { font-size: 44px; }
        .rc--h .rc-time { font-size: 32px; }
        .rc-zone-l, .rc-scale .rc-zl { display: none; }
        .rc-zone-c, .rc-scale .rc-zs { display: inline; }
    }
    @container rc (max-width: 510px) {
        .rc-in { grid-template-areas: "head head" "dial body" "dial act"; grid-template-rows: auto minmax(0, 1fr) auto; column-gap: 18px; }
        .rc-side { display: contents; }
        .rc-head { grid-area: head; margin-bottom: 14px; }
        .rc-title-x { display: inline; }
        .rc-dial { width: 176px; height: 176px; }
        .rc-body { grid-area: body; align-self: center; margin: 0; }
        .rc-actions { grid-area: act; margin: 0; padding-top: 12px; }
        .rc-key { display: none; }
        .rc-face { gap: 6px; }
        .rc-time { font-size: 42px; }
        .rc--h .rc-time { font-size: 31px; }
        .rc-zone { font-size: 12px; }
        .rc-btn { padding: 0 10px; }
        .rc-ok { gap: 7px; padding: 0 8px; font-size: 13px; }
        .rc-ok svg { width: 16px; height: 16px; }
    }
    @container rc (max-width: 399px) {
        .rc-dial { width: 152px; height: 152px; }
        .rc-mark { font-size: 9px; }
        .rc-cap { display: none; }
        .rc-zone, .rc--h .rc-zone { margin: 0; }
        .rc-time { font-size: 34px; }
        .rc--h .rc-time { font-size: 25px; }
        .rc-msg { font-size: 12.5px; line-height: 1.5; }
        .rc-btn { gap: 8px; padding: 0 8px; font-size: 13px; }
        .rc-ok { gap: 7px; padding: 0 6px; font-size: 12.5px; }
        .rc-ok svg { width: 16px; height: 16px; }
    }
}
@media (max-width: 900px) {
    .rc { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; max-width: 620px; margin: 0 auto; padding: 9px 9px 9px 11px; border-color: rgba(255, 255, 255, .2); box-shadow: 0 12px 32px rgba(1, 16, 44, .38); }
    .rc-in { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: none; column-gap: 12px; row-gap: 3px; }
    .rc-dial, .rc-face, .rc-side, .rc-head, .rc-body { display: contents; }
    .rc-ring { grid-column: 1; grid-row: 1 / 3; width: 48px; height: 48px; }
    .rc-ticks, .rc[data-zone] .rc-pos, .rc-mark, .rc[data-etat] .rc-hand, .rc-cap, .rc-title, .rc-msg, .rc-key, .rc-zone-l { display: none; }
    .rc-zone-c { display: inline; }
    .rc-trk, .rc-fill { stroke-width: 15; }
    .rc-trk { stroke: rgba(255, 255, 255, .16); }
    .rc-time { grid-column: 2 / 4; grid-row: 1; justify-self: start; font-size: 26px; }
    .rc--h .rc-time { font-size: 22px; }
    .rc-state { grid-column: 2; grid-row: 2; justify-self: start; height: 20px; padding: 0 8px 0 6px; gap: 5px; font-size: 11px; }
    .rc-state::after { left: 7px; }
    .rc-zone { grid-column: 3; grid-row: 2; justify-self: start; min-height: 0; font-size: 11.5px; line-height: 20px; }
    .rc-actions { grid-column: 4; grid-row: 1 / 3; margin: 0; padding: 0; }
    .rc-btn { height: 46px; padding: 0 16px; }
    .rc-btn-x { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .rc .rc-msg.is-err { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; grid-column: 1 / -1; grid-row: 3; margin: 4px -9px -9px -11px; padding: 5px 11px 0; border-width: 1px 0 6px; border-bottom-color: transparent; border-radius: 0 0 2px 2px; font-size: 11.5px; line-height: 1.3; }
    .rc[data-etat="stop"] .rc-state, .rc[data-etat="done"] .rc-state { display: none; }
    .rc[data-etat="stop"] .rc-zone { grid-column: 2; }
    .rc[data-etat="done"] .rc-time, .rc[data-etat="done"] .rc-zone { grid-column: 2; }
    .rc[data-etat="done"] .rc-actions { grid-column: 3 / 5; justify-content: flex-end; }
    .rc-ok { flex: 0 1 auto; justify-content: flex-start; min-height: 0; padding: 2px 2px 2px 12px; border: 0; border-left: 1px solid rgba(255, 255, 255, .2); border-radius: 0; background: none; font-size: 12.5px; text-align: left; text-wrap: balance; }
    .rc-ok svg { width: 16px; height: 16px; }
    .rapport-grid { padding-bottom: 104px; }
    html:has(#rcChrono) { scroll-padding-bottom: 136px; }
    body:has(#rcChrono) .site-footer { padding-bottom: 136px; }
}
@media (max-width: 380px) {
    .rc-in { column-gap: 10px; }
    .rc-ring { width: 44px; height: 44px; }
    .rc-time { font-size: 24px; }
    .rc-btn { padding: 0 13px; font-size: 13.5px; }
    .rc-ok { gap: 7px; padding-left: 10px; font-size: 12px; }
}
@media (max-width: 340px) {
    .rc:not([data-etat="done"]):not([data-etat="stop"]) .rc-zone { display: none; }
    .rc-btn { padding: 0 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .rc[data-etat] .rc-hand { display: none; }
    .rc-state::before, .rc-state::after, .rc-spin { animation: none !important; }
    .rc-fill, .rc-btn, .rc-scale-i::before { transition: none; }
}

.chr-hero { margin: 4px 0 20px; padding: 26px 28px; border-radius: 3px; background: linear-gradient(135deg, #012b6d 0%, #01235a 60%, #0a3a86 100%); color: #fff; box-shadow: 0 12px 30px rgba(1,43,109,.18); }
.chr-hero h1 { margin: 6px 0 8px; font-size: 34px; font-weight: 900; color: #fff; }
.chr-hero p { margin: 0; max-width: 760px; font-size: 15px; line-height: 1.6; color: #cfdcf3; }
.chr-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #f5a623; }
.chr-kicker .fi { display: inline-flex; }
.chr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.chr-stat { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 16px; background: #fff; border: 1px solid #d5deea; border-radius: 3px; }
.chr-stat .fi { position: absolute; top: 16px; right: 16px; display: flex; font-size: 20px; color: #b9c6da; }
.chr-stat strong { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; font-size: 30px; font-weight: 800; color: var(--navy); }
.chr-stat span { font-size: 13px; color: #5a6785; }
.chr-stat--best { border-color: #f0c46a; background: linear-gradient(180deg, #fffaf0 0%, #fff 100%); }
.chr-stat--best .fi { color: #e0a322; }
.chr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.chr-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.chr-search { flex: 1 1 280px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; background: #fff; border: 1px solid #cdd6e5; border-radius: 3px; color: #7a869e; }
.chr-search .fi { display: flex; }
.chr-search input { flex: 1; min-width: 0; height: 100%; border: none; outline: none; font-family: inherit; font-size: 14px; color: var(--navy); background: transparent; }
.chr-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.chr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chr-chip { height: 36px; padding: 0 14px; border: 1px solid #cdd6e5; border-radius: 20px; background: #fff; color: var(--navy); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.chr-chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chr-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 20px; align-items: center; gap: 14px; padding: 12px 14px; background: #fff; border: 1px solid #d5deea; border-left: 4px solid #d5deea; border-radius: 3px; color: inherit; text-decoration: none; transition: border-color .15s var(--ease), background .15s var(--ease); }
.chr-item:hover { background: #fbfcfe; border-color: var(--navy); }
.chr-item--rapide { border-left-color: #2e9b5d; }
.chr-item--moyen { border-left-color: #e0a322; }
.chr-item--long { border-left-color: #d9432f; }
.chr-avatar { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #e7eefb; color: var(--navy); font-size: 17px; font-weight: 900; }
.chr-avatar--lg { width: 64px; height: 64px; font-size: 26px; background: rgba(255,255,255,.14); color: #fff; }
.chr-who { display: flex; flex-direction: column; min-width: 0; }
.chr-who strong { font-size: 15px; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chr-who small { font-size: 12.5px; color: #6b7894; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chr-time { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 20px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; font-size: 16px; font-weight: 800; }
.chr-time .fi { display: inline-flex; font-size: 14px; }
.chr-item--rapide .chr-time { background: #e5f5ec; color: #1e6b3a; }
.chr-item--moyen .chr-time { background: #fff3dc; color: #8a5a00; }
.chr-item--long .chr-time { background: #fde8e5; color: #a3261b; }
.chr-go { display: flex; color: #9aa6bd; }
.chr-none, .chr-muted { color: #6b7894; font-size: 14px; }
.chr-empty-big { padding: 40px 20px; text-align: center; background: #fff; border: 1px dashed #c3cfe1; border-radius: 3px; color: #5a6785; }
.chr-empty-big .fi { display: inline-flex; font-size: 34px; color: #b9c6da; }
.chr-empty-big p { margin: 10px 0 4px; font-size: 16px; font-weight: 800; color: var(--navy); }
.chr-side { display: flex; flex-direction: column; gap: 14px; }
.chr-card { padding: 16px 18px; background: #fff; border: 1px solid #d5deea; border-radius: 3px; }
.chr-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--navy); }
.chr-card h2 .fi { display: inline-flex; color: #e0a322; }
.chr-rank { list-style: none; margin: 0; padding: 0; }
.chr-rank li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #edf1f7; }
.chr-rank li:first-child { border-top: none; }
.chr-rank-n { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #eef2f8; font-size: 12px; font-weight: 800; color: var(--navy); }
.chr-rank li:first-child .chr-rank-n { background: #f5a623; color: #1a1300; }
.chr-rank-who { display: flex; flex-direction: column; min-width: 0; }
.chr-rank-who strong { font-size: 13.5px; color: #1c2942; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chr-rank-who small { font-size: 11.5px; color: #6b7894; }
.chr-rank-t { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 14px; }
.chr-rank-rapide .chr-rank-t { color: #1e6b3a; }
.chr-rank-moyen .chr-rank-t { color: #8a5a00; }
.chr-rank-long .chr-rank-t { color: #a3261b; }
.chr-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #3a4866; }
.chr-legend li { display: flex; align-items: center; gap: 8px; }
.chr-pill { width: 26px; height: 10px; border-radius: 10px; }
.chr-pill--rapide { background: #2e9b5d; }
.chr-pill--moyen { background: #e0a322; }
.chr-pill--long { background: #d9432f; }
.chr-detail { background: #fff; border: 1px solid #d5deea; border-radius: 3px; overflow: hidden; }
.chr-dhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; color: #fff; background: linear-gradient(135deg, #012b6d 0%, #0a3a86 100%); border-bottom: 5px solid #2e9b5d; }
.chr-dhead--moyen { border-bottom-color: #e0a322; }
.chr-dhead--long { border-bottom-color: #d9432f; }
.chr-dwho { display: flex; align-items: center; gap: 16px; min-width: 0; }
.chr-dhead h1 { margin: 4px 0 2px; font-size: 26px; font-weight: 900; color: #fff; }
.chr-dhead p { margin: 0; color: #cfdcf3; font-size: 14px; }
.chr-big { display: flex; flex-direction: column; align-items: flex-end; }
.chr-big-l { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #b9cdf0; }
.chr-big-v { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; font-size: 54px; font-weight: 800; line-height: 1.05; }
.chr-big-f { font-size: 13px; color: #cfdcf3; }
.chr-tl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 26px; background: #f7f9fd; border-bottom: 1px solid #e3e9f2; }
.chr-tl-pt { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #3a4866; }
.chr-tl-pt b { color: var(--navy); }
.chr-tl-pt--end { text-align: right; }
.chr-tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.chr-tl-pt--end .chr-tl-dot { align-self: flex-end; background: #2e9b5d; }
.chr-tl-bar { position: relative; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue), #2e9b5d); }
.chr-tl-bar span { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); padding: 2px 10px; border-radius: 12px; background: #fff; border: 1px solid #d5deea; font-size: 12px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.chr-rhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 26px 10px; font-weight: 800; color: var(--navy); }
.chr-rhead .fi { display: inline-flex; margin-right: 6px; }
.chr-out { margin: 0 26px 22px; max-height: none; }
.chr-del { padding: 0 26px 22px; }
.chr-del .btn-delete { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 980px) {
    .chr-layout { grid-template-columns: minmax(0, 1fr); }
    .chr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .chr-hero { padding: 20px 18px; }
    .chr-hero h1 { font-size: 26px; }
    .chr-stat strong { font-size: 24px; }
    .chr-item { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
    .chr-avatar { width: 38px; height: 38px; font-size: 15px; }
    .chr-go { display: none; }
    .chr-who small { white-space: normal; }
    .chr-time { font-size: 14px; padding: 6px 10px; }
    .chr-dhead { padding: 18px; }
    .chr-big { align-items: flex-start; }
    .chr-big-v { font-size: 42px; }
    .chr-tl { grid-template-columns: 1fr; padding: 16px 18px; }
    .chr-tl-bar { display: none; }
    .chr-tl-pt--end { text-align: left; }
    .chr-tl-pt--end .chr-tl-dot { align-self: flex-start; }
    .chr-rhead, .chr-del { padding-left: 18px; padding-right: 18px; }
    .chr-out { margin: 0 18px 18px; }
}
.portail-unit--locked { position: relative; display: flex; flex-direction: column; }
.portail-unit--locked:hover { border-color: #ccd5e2; background: #fff; }
.portail-unit--locked .lock-tag { position: static; order: 3; margin-top: auto; padding-top: 12px; }
.dq-page .content-wrap { max-width: 920px; }
.dq-hero { margin: 4px 0 22px; padding: 28px 30px; border-radius: 3px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #0a3a86 100%); color: #fff; }
.dq-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.dq-kicker .fi { display: inline-flex; }
.dq-hero h1 { margin: 6px 0 8px; font-size: 34px; font-weight: 900; color: #fff; }
.dq-hero p { margin: 0; max-width: 640px; font-size: 15px; line-height: 1.6; color: #cfdcf3; }
.dq-form { position: relative; margin: 0 0 12px; }
.dq-champ { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px; background: #fff; border: 1px solid #cdd6e5; border-radius: 3px; box-shadow: 0 10px 26px rgba(1, 26, 68, .08); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.dq-champ:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 123, 192, .18), 0 10px 26px rgba(1, 26, 68, .08); }
.dq-champ .fi { display: flex; font-size: 18px; color: #7a869e; }
.dq-champ input { flex: 1; min-width: 0; height: 46px; border: none; outline: none; background: transparent; font-family: inherit; font-size: 16px; color: var(--navy); }
.dq-champ input::-webkit-search-cancel-button { cursor: pointer; }
.dq-go { flex: 0 0 auto; height: 46px; padding: 0 20px; border: none; border-radius: 3px; background: var(--navy); color: #fff; font-family: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .15s var(--ease); }
.dq-go:hover { background: #0a3a86; }
.dq-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #cdd6e5; border-radius: 3px; box-shadow: 0 16px 34px rgba(1, 26, 68, .16); }
.dq-sugg[hidden] { display: none; }
.dq-sugg-item { display: block; width: 100%; padding: 10px 12px; border: none; border-radius: 3px; background: none; font-family: inherit; font-size: 14px; color: #1c2942; text-align: left; cursor: pointer; }
.dq-sugg-item:hover, .dq-sugg-item:focus { background: #f1f5fb; color: var(--navy); outline: none; }
.dq-exemples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; }
.dq-exemples span { font-size: 13px; font-weight: 700; color: #6b7894; }
.dq-exemple { padding: 7px 12px; border: 1px solid #d5deea; border-radius: 20px; background: #fff; font-family: inherit; font-size: 13px; color: var(--navy); cursor: pointer; transition: border-color .15s var(--ease), background .15s var(--ease); }
.dq-exemple:hover { border-color: var(--navy); background: #f7f9fd; }
.dq-resultat { margin: 0 0 30px; }
.dq-resultat[hidden] { display: none; }
.dq-carte { padding: 20px 22px; background: #fff; border: 1px solid #d5deea; border-left: 4px solid var(--gold); border-radius: 3px; animation: dqApparition .18s var(--ease); }
.dq-carte--vide { border-left-color: #b9c6da; }
.dq-compris { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; color: #6b7894; }
.dq-rep { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: #1c2942; }
.dq-carte--vide .dq-rep { margin: 0; font-size: 15px; color: #3a4866; }
.dq-arts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.dq-art { display: inline-flex; align-items: center; gap: 2px; padding: 5px 10px; border-radius: 3px; background: #eef2f8; font-size: 12.5px; color: #3a4866; }
.dq-art strong { color: var(--navy); }
.dq-voir { padding: 0; border: none; background: none; font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--blue); cursor: pointer; }
.dq-voir:hover { text-decoration: underline; }
.dq-texte { margin: 12px 0 0; padding: 14px 16px; background: #f7f9fd; border: 1px solid #e3e9f2; border-radius: 3px; }
.dq-texte[hidden] { display: none; }
.dq-texte-art + .dq-texte-art { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e3e9f2; }
.dq-texte h3 { margin: 0 0 4px; font-size: 14px; font-weight: 800; color: var(--navy); }
.dq-texte-sec { margin: 0 0 8px !important; font-size: 12px !important; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #8a97b0 !important; }
.dq-texte p { margin: 0 0 8px; font-size: 14px; line-height: 1.65; color: #2b3a55; }
.dq-texte p:last-child { margin-bottom: 0; }
.dq-proches { margin: 12px 0 0; padding: 14px 18px; background: #fff; border: 1px solid #e3e9f2; border-radius: 3px; }
.dq-proches-t { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #6b7894; }
.dq-proches ul { margin: 0; padding: 0; list-style: none; }
.dq-proches li + li { border-top: 1px solid #eef2f7; }
.dq-lien { display: block; width: 100%; padding: 9px 0; border: none; background: none; font-family: inherit; font-size: 14px; color: var(--blue); text-align: left; cursor: pointer; }
.dq-lien:hover { color: var(--navy); text-decoration: underline; }
.dq-parcours { margin: 10px 0 0; }
.dq-parcours h2 { margin: 0 0 10px; font-size: 20px; font-weight: 900; color: var(--navy); }
.dq-chap { margin: 22px 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--navy); }
.dq-sec { margin: 14px 0 6px; font-size: 12.5px; font-weight: 700; color: #6b7894; }
.dq-d { margin: 0 0 6px; background: #fff; border: 1px solid #e3e9f2; border-radius: 3px; }
.dq-d summary { display: flex; align-items: baseline; gap: 10px; padding: 11px 14px; font-size: 14.5px; font-weight: 700; color: #1c2942; cursor: pointer; list-style: none; }
.dq-d summary::-webkit-details-marker { display: none; }
.dq-d summary:hover { color: var(--navy); }
.dq-d[open] summary { border-bottom: 1px solid #eef2f7; }
.dq-num { flex: 0 0 auto; min-width: 52px; font-size: 12px; font-weight: 800; color: var(--gold); }
.dq-d-corps { padding: 12px 14px 4px; }
.dq-d-corps p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: #2b3a55; }
.dq-d:target { border-color: var(--gold); }
@keyframes dqApparition { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dq-carte { animation: none; } }
@media (max-width: 560px) {
    .dq-hero { padding: 22px 18px; }
    .dq-hero h1 { font-size: 27px; }
    .dq-champ { flex-wrap: wrap; padding: 6px 6px 6px 12px; }
    .dq-champ input { height: 42px; font-size: 15px; }
    .dq-go { width: 100%; height: 42px; }
    .dq-rep { font-size: 16px; }
    .dq-carte { padding: 16px; }
}

.fq-hero { min-height: 0; padding: 44px 0 116px; }
.fq-hero .hero-title { font-size: clamp(44px, 7vw, 92px); }
.fq-wrap { padding-top: 0; }
.fq-aide { position: relative; z-index: 5; max-width: 1000px; margin: -88px auto 44px; padding: 28px 30px 24px; background: #fff; border: 1px solid #dbe4f1; border-radius: 14px; box-shadow: 0 26px 60px rgba(1, 26, 68, .16), 0 2px 6px rgba(1, 26, 68, .06); }
.fq-kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue); }
.fq-kicker .fi { display: flex; font-size: 14px; }
.fq-titre { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.2; color: var(--navy); }
.fq-sous { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: #56647f; }
.fq-form { position: relative; margin: 0 0 16px; }
.fq-champ { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; background: #f6f9fe; border: 2px solid #d3deee; border-radius: 12px; transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease); }
.fq-champ:focus-within { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(33, 123, 192, .16); }
.fq-champ > .fi { display: flex; font-size: 20px; color: #7a8aa6; }
.fq-champ input { flex: 1; min-width: 0; height: 52px; border: none; outline: none; background: transparent; font-family: inherit; font-size: 17px; color: var(--navy); }
.fq-champ input::placeholder { color: #8391ab; }
.fq-champ input::-webkit-search-cancel-button { cursor: pointer; }
.fq-btn { flex: 0 0 auto; height: 52px; padding: 0 26px; border: none; border-radius: 9px; background: var(--navy); color: #fff; font-family: inherit; font-size: 15px; font-weight: 800; letter-spacing: .3px; cursor: pointer; transition: background .15s var(--ease), transform .15s var(--ease); }
.fq-btn:hover { background: var(--blue); }
.fq-btn:active { transform: translateY(1px); }
.fq-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #d3deee; border-radius: 12px; box-shadow: 0 20px 44px rgba(1, 26, 68, .18); }
.fq-sugg[hidden] { display: none; }
.fq-sugg-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: none; border-radius: 8px; background: none; font-family: inherit; font-size: 15px; color: #1c2942; text-align: left; cursor: pointer; }
.fq-sugg-item .fi { display: flex; flex: 0 0 auto; font-size: 13px; color: #9aa7bd; }
.fq-sugg-item span { flex: 1; min-width: 0; }
.fq-sugg-item small { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; background: #eef3fa; font-size: 11px; font-weight: 700; color: #5d6b86; }
.fq-sugg-item:hover, .fq-sugg-item:focus { background: #eef4fc; color: var(--navy); outline: none; }
.fq-rapides { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fq-rapides > span { margin-right: 4px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #6b7894; }
.fq-rapide { padding: 8px 14px; border: 1px solid #d3deee; border-radius: 999px; background: #fff; font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--navy); cursor: pointer; transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease); }
.fq-rapide:hover { border-color: var(--blue); background: #eef4fc; transform: translateY(-1px); }
.fq-rapide:focus-visible, .fq-btn:focus-visible, .fq-go:focus-visible, .fq-proche:focus-visible { outline: 3px solid rgba(33, 123, 192, .45); outline-offset: 2px; }
.fq-resultat { margin: 22px 0 0; padding-top: 22px; border-top: 1px solid #e6ecf4; }
.fq-resultat[hidden] { display: none; }
.fq-carte { padding: 22px 24px; background: linear-gradient(180deg, #fff 0%, #fbfcff 100%); border: 1px solid #dbe4f1; border-left: 5px solid var(--gold); border-radius: 12px; animation: fqApparition .2s var(--ease); }
.fq-carte--doute { border-left-color: var(--blue); }
.fq-carte--vide { border-left-color: #b9c6da; }
.fq-carte-haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.fq-entete { font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #a8680a; }
.fq-carte--doute .fq-entete { color: var(--blue); }
.fq-carte--vide .fq-entete { color: #6b7894; }
.fq-theme { padding: 4px 10px; border-radius: 999px; background: #eaf1fb; font-size: 11.5px; font-weight: 700; color: var(--navy); }
.fq-q { margin: 0 0 8px; font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--navy); }
.fq-rep { margin: 0 0 16px; font-size: 16.5px; line-height: 1.65; color: #24324d; }
.fq-carte--vide .fq-rep { margin: 6px 0 0; font-size: 15.5px; }
.fq-ou { margin: 0 0 18px; }
.fq-ou-t { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #6b7894; }
.fq-chemin, .cond-body .fq-chemin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.fq-chemin li, .cond-body .fq-chemin li { position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 13px 6px 6px; background: #f1f5fb; border: 1px solid #dde6f2; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.fq-chemin li + li::before { content: "\203A"; position: absolute; left: -16px; top: 50%; transform: translateY(-52%); font-size: 20px; font-weight: 700; line-height: 1; color: #9fb0c8; }
.fq-n { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); font-size: 12px; font-weight: 800; color: #fff; }
.fq-go { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 9px; background: var(--navy); font-size: 14px; font-weight: 800; color: #fff; text-decoration: none; transition: background .15s var(--ease), transform .15s var(--ease); }
.fq-go .fi { display: flex; font-size: 17px; transition: transform .15s var(--ease); }
.fq-go:hover { background: var(--blue); color: #fff; }
.fq-go:hover .fi { transform: translateX(3px); }
.fq-proches { margin: 14px 0 0; padding: 12px 18px; background: #f8fafd; border: 1px solid #e3e9f2; border-radius: 12px; }
.fq-proches-t { margin: 4px 0; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #6b7894; }
.fq-proches ul { margin: 0; padding: 0; list-style: none; }
.fq-proches li + li { border-top: 1px solid #e6ecf4; }
.fq-proche { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 11px 0; border: none; background: none; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--blue); text-align: left; cursor: pointer; }
.fq-proche .fi { display: flex; flex: 0 0 auto; font-size: 16px; color: #9fb0c8; transition: transform .15s var(--ease), color .15s var(--ease); }
.fq-proche:hover { color: var(--navy); }
.fq-proche:hover .fi { color: var(--navy); transform: translateX(3px); }
.fq-groupe { display: flex; align-items: center; gap: 10px; max-width: 1000px; margin: 30px auto 12px; font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--navy); }
.fq-groupe::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--gold); }
.fq-titre-embauche { margin-top: 60px; }
.cond-body .fq-chemin--mini { margin: 4px 0 14px; gap: 6px 20px; }
.cond-body .fq-chemin--mini li { padding: 4px 11px 4px 4px; font-size: 13px; }
.fq-chemin--mini .fq-n { width: 19px; height: 19px; font-size: 11px; }
.fq-go--mini { padding: 9px 14px; font-size: 13px; }
.faq-list .cond-item:target { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 123, 192, .14); }
@keyframes fqApparition { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fq-carte { animation: none; } .fq-rapide:hover { transform: none; } }
@media (max-width: 700px) {
    .fq-hero { padding: 34px 0 92px; }
    .fq-aide { margin: -72px 0 32px; padding: 20px 16px 18px; border-radius: 12px; }
    .fq-sous { font-size: 14px; }
    .fq-champ { flex-wrap: wrap; gap: 8px 10px; padding: 6px 6px 6px 14px; }
    .fq-champ input { flex: 1 1 60%; height: 46px; font-size: 16px; }
    .fq-btn { flex: 1 1 100%; height: 46px; }
    .fq-sugg-item small { display: none; }
    .fq-rapides { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
    .fq-rapides::-webkit-scrollbar { display: none; }
    .fq-rapides > span { flex: 0 0 auto; }
    .fq-rapide { flex: 0 0 auto; padding: 7px 12px; font-size: 13px; white-space: nowrap; }
    .fq-carte { padding: 18px 16px; }
    .fq-q { font-size: 18px; }
    .fq-rep { font-size: 15.5px; }
    .fq-proches { padding: 10px 14px; }
    .fq-chemin, .cond-body .fq-chemin { flex-direction: column; align-items: flex-start; gap: 6px; }
    .fq-chemin li + li::before { display: none; }
}

.pc-wrap { max-width: 980px; }
.pc-intro { margin: 0 0 6px; font-size: 17px; line-height: 1.7; color: #33456b; }
.pc-intro strong { color: var(--navy); }
.pc-maj { margin: 0 0 34px; font-size: 13px; color: #7a869e; }
.pc-bloc { margin: 0 0 42px; }
.pc-h2 { margin: 0 0 14px; font-size: clamp(19px, 2.2vw, 23px); font-weight: 800; color: var(--navy); }
.pc-p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: #33456b; }
.pc-p a { color: var(--blue); font-weight: 700; }
.pc-p a:hover { text-decoration: underline; }
.pc-cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pc-cartes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pc-carte { padding: 20px 18px; background: #fff; border: 1px solid #dde6f2; border-radius: 12px; box-shadow: 0 8px 22px rgba(1, 26, 68, .06); }
.pc-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin: 0 0 12px; border-radius: 11px; background: linear-gradient(135deg, var(--navy), #0a3a86); font-size: 19px; color: #fff; }
.pc-ic .fi { display: flex; }
.pc-carte h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--navy); }
.pc-carte p { margin: 0; font-size: 14px; line-height: 1.6; color: #4a5a77; }
.pc-equipe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pc-membre { display: flex; gap: 16px; padding: 20px; background: linear-gradient(160deg, #f7faff, #eaf1fb); border: 1px solid #d3e0f2; border-radius: 12px; }
.pc-avatar { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold); font-size: 21px; font-weight: 800; color: #fff; }
.pc-membre-corps { min-width: 0; }
.pc-role { margin: 0 0 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: #a8680a; }
.pc-membre h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: var(--navy); }
.pc-membre h3 span { font-size: 14px; font-weight: 600; color: #56647f; }
.pc-membre p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.6; color: #33456b; }
.pc-membre .pc-id { margin: 0; font-size: 12.5px; color: #6b7894; }
.pc-id code { padding: 2px 7px; border: 1px solid #d3e0f2; border-radius: 5px; background: #fff; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12.5px; color: var(--navy); word-break: break-all; }
.pc-etapes { margin: 0 0 16px; padding: 0; list-style: none; }
.pc-etapes li { position: relative; display: flex; gap: 16px; padding: 0 0 18px; }
.pc-etapes li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: #d3e0f2; }
.pc-num { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); font-size: 15px; font-weight: 800; color: #fff; }
.pc-etapes h3 { margin: 7px 0 4px; font-size: 16px; font-weight: 800; color: var(--navy); }
.pc-etapes p { margin: 0; font-size: 15px; line-height: 1.65; color: #4a5a77; }
.pc-note { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 14px 16px; background: #eef4fc; border-radius: 10px; font-size: 14.5px; line-height: 1.6; color: #33456b; }
.pc-note .fi { display: flex; margin-top: 3px; color: var(--blue); }
.pc-note strong { color: var(--navy); }
.pc-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pc-colonne { padding: 22px 22px 10px; background: #fff; border: 1px solid #dde6f2; border-top: 4px solid var(--blue); border-radius: 12px; }
.pc-colonne--non { border-top-color: #c0392b; }
.pc-colonne .pc-h2 { font-size: 18px; }
.pc-liste { margin: 0; padding: 0; list-style: none; }
.pc-liste li { display: flex; align-items: flex-start; gap: 11px; padding: 0 0 13px; font-size: 15px; line-height: 1.55; color: #33456b; }
.pc-liste .fi { display: flex; flex: 0 0 auto; margin-top: 3px; font-size: 15px; color: #c0392b; }
.pc-liste--oui .fi { color: var(--blue); }
.pc-liste strong { display: block; color: var(--navy); }
.pc-alerte { display: flex; gap: 16px; padding: 20px 22px; background: linear-gradient(135deg, var(--navy) 0%, #0a3a86 100%); border-radius: 12px; color: #fff; }
.pc-alerte > .fi { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px; background: rgba(245, 166, 35, .16); font-size: 20px; color: var(--gold); }
.pc-alerte p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.65; color: #d7e3f7; }
.pc-alerte p:last-child { margin: 0; }
.pc-alerte strong { color: #fff; }
.pc-petit { margin: 14px 0 0; font-size: 13.5px; line-height: 1.65; color: #6b7894; }
.pc-contact { margin-bottom: 0; padding: 22px 24px; background: #eef4fc; border-radius: 12px; }
.pc-contact .pc-p { margin: 0; }
@media (max-width: 900px) { .pc-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .pc-cartes, .pc-cartes--2, .pc-equipe, .pc-duo { grid-template-columns: minmax(0, 1fr); }
    .pc-intro { font-size: 16px; }
    .pc-membre { padding: 16px; }
    .pc-alerte { flex-direction: column; gap: 12px; padding: 18px; }
}
.chr-unites { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chr-unite { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border: 1px solid #cdd6e5; border-radius: 3px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; text-decoration: none; transition: border-color .18s var(--ease), background .18s var(--ease); }
.chr-unite:hover { border-color: var(--navy); }
.chr-unite.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chr-unite-n { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 12px; background: #eef2f8; color: var(--navy); font-size: 12px; font-weight: 800; box-sizing: border-box; }
.chr-unite.is-on .chr-unite-n { background: var(--gold); color: #0b1b3f; }
@media (max-width: 640px) { .chr-unite { flex: 1 1 0; justify-content: center; padding: 0 10px; } }
.dq-carte .dq-rep--court { margin: 0 0 14px; font-size: 20px; font-weight: 600; line-height: 1.45; color: #0d2350; }
.dq-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.dq-pied .dq-arts { margin: 0; }
@media (max-width: 640px) { .dq-carte .dq-rep--court { font-size: 18px; } }
.fl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.fl-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fl-carte { padding: 20px 22px; background: #fff; border: 1px solid #d5deea; border-radius: 3px; }
.fl-carte-t { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--navy); }
.fl-carte-t .fi { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #e7eefb; color: var(--navy); font-size: 15px; }
.fl-compte { margin-left: auto; padding: 4px 10px; border-radius: 12px; background: #eef2f8; color: #5a6785; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; font-size: 12.5px; font-weight: 800; letter-spacing: 0; text-transform: none; white-space: nowrap; transition: background .2s, color .2s; }
.fl-agent { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 10px; }
.fl-cherche { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; background: #f7f9fd; border: 1px solid #cdd6e5; border-radius: 3px; color: #7a869e; }
.fl-cherche .fi { display: flex; }
.fl-cherche input { flex: 1; min-width: 0; height: 100%; border: none; outline: none; background: transparent; font-family: inherit; font-size: 14px; color: var(--navy); }
.fl-agent select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid #cdd6e5; border-radius: 3px; background: #fff; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--navy); outline: none; cursor: pointer; }
.fl-cherche:focus-within, .fl-agent select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.18); }
.fl-fiche { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 12px; padding: 14px 16px; border-radius: 3px; background: linear-gradient(135deg, #012b6d 0%, #0a3a86 100%); color: #fff; }
.fl-fiche-av { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 19px; font-weight: 900; }
.fl-fiche-qui { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fl-fiche-qui strong { font-size: 17px; font-weight: 800; }
.fl-fiche-qui small { display: flex; flex-wrap: wrap; gap: 6px; }
.fl-mat { display: inline-block; padding: 2px 8px; border-radius: 3px; background: var(--gold); color: #1a1300; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; font-weight: 800; }
.fl-id { display: inline-block; padding: 2px 8px; border-radius: 3px; background: rgba(255,255,255,.13); color: #dbe6f7; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; }
.fl-fiche-der { margin-left: auto; padding: 6px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 700; }
.fl-fiche-der--ok { background: #e5f5ec; color: #1e6b3a; }
.fl-fiche-der--ko { background: #fde8e5; color: #a3261b; }
.fl-fiche[hidden], .fl-fiche-der[hidden], .fl-mat[hidden] { display: none; }
.fl-aide { margin: 0 0 4px; font-size: 14px; line-height: 1.55; color: #5a6785; }
.fl-manuel { margin-top: 12px; }
.fl-manuel summary { display: inline-block; cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.fl-manuel summary:hover { text-decoration: underline; }
.fl-manuel-g { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 10px; margin-top: 12px; }
.fl-manuel-g .field { margin: 0; }
.fl-manuel-g .field input { border-radius: 3px; }
.fl-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fl-crit { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px; background: #fff; border: 1px solid #d5deea; border-radius: 3px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; transition: border-color .15s, background .15s, box-shadow .15s; }
.fl-crit:hover { border-color: #9fb3d1; background: #fbfcfe; }
.fl-crit input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.fl-crit:has(input:focus-visible) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,123,192,.2); }
.fl-coche { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid #b9c6da; border-radius: 50%; color: transparent; font-size: 12px; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.fl-coche .fi { display: flex; }
.fl-crit-l { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: #1c2942; }
.fl-pts { flex: 0 0 auto; padding: 3px 8px; border-radius: 12px; background: #eef2f8; color: #6b7894; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; font-weight: 800; transition: background .15s, color .15s; }
.fl-crit.is-on { background: #fdf2f0; border-color: #e0806f; }
.fl-crit.is-on .fl-coche { background: #d9432f; border-color: #d9432f; color: #fff; transform: scale(1.06); }
.fl-crit.is-on .fl-crit-l { color: #8c1f15; }
.fl-crit.is-on .fl-pts { background: #d9432f; color: #fff; }
.fl-rem { margin-bottom: 12px; }
.fl-rem textarea { min-height: 110px; border-radius: 3px; line-height: 1.55; }
.fl-option { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #1c2942; cursor: pointer; }
.fl-option input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--navy); cursor: pointer; }
.fl-envoi { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; background: #fff; border: 1px solid #d5deea; border-left: 4px solid var(--gold); border-radius: 3px; }
.fl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 3px; background: var(--navy); color: #fff; font-family: inherit; font-size: 13.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.fl-btn .fi { display: inline-flex; }
.fl-btn:hover { background: #0a3a86; }
.fl-btn:active { transform: translateY(1px); }
.fl-btn--grand { height: 52px; padding: 0 28px; font-size: 14.5px; box-shadow: 0 8px 20px rgba(1,43,109,.22); }
.fl-btn--grand .fi { color: var(--gold); }
.fl-btn--bleu { background: var(--blue); }
.fl-btn--bleu:hover { background: #1b6aa8; }
.fl-btn--rouge { background: #fff; border-color: #f0c3bd; color: #a3261b; }
.fl-btn--rouge:hover { background: #fde8e5; }
.fl-score { position: sticky; top: 90px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 22px 22px; background: #fff; border: 1px solid #d5deea; border-top: 5px solid #b9c6da; border-radius: 3px; text-align: center; transition: border-color .25s; }
.fl-score.is-ok { border-top-color: #2e9b5d; }
.fl-score.is-ko { border-top-color: #d9432f; }
.fl-anneau { position: relative; width: 172px; height: 172px; }
.fl-anneau svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fl-anneau-fond { fill: none; stroke: #e8eef7; stroke-width: 10; }
.fl-anneau-val { fill: none; stroke: var(--blue); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .45s var(--ease), stroke .25s, opacity .2s; }
.fl-score.is-zero .fl-anneau-val { opacity: 0; }
.fl-score.is-ok .fl-anneau-val { stroke: #2e9b5d; }
.fl-score.is-ko .fl-anneau-val { stroke: #d9432f; }
.fl-anneau-seuil { stroke: var(--navy); stroke-width: 3; stroke-linecap: round; }
.fl-anneau-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fl-anneau-txt strong { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; font-size: 46px; font-weight: 800; line-height: 1; color: var(--navy); }
.fl-anneau-txt small { margin-top: 4px; font-size: 13px; font-weight: 700; color: #6b7894; }
.fl-score-txt { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fl-score-txt p { margin: 0; }
.fl-score-note { font-size: 17px; font-weight: 700; color: #3a4866; }
.fl-score-note strong { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; font-size: 26px; font-weight: 800; color: var(--navy); }
.fl-verdict { display: inline-flex; align-items: center; padding: 7px 18px; border-radius: 20px; background: #eef2f8; color: #5a6785; font-size: 13px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; transition: background .2s, color .2s; }
.fl-verdict--ok { background: #2e9b5d; color: #fff; }
.fl-verdict--ko { background: #d9432f; color: #fff; }
.fl-seuil { font-size: 12.5px; line-height: 1.5; color: #6b7894; }
.chr-stat.fl-stat--ok { border-color: #bfe3cc; background: linear-gradient(180deg, #f1faf4 0%, #fff 100%); }
.chr-stat.fl-stat--ok strong { color: #1e6b3a; }
.chr-stat.fl-stat--ok .fi { color: #2e9b5d; }
.chr-stat.fl-stat--ko { border-color: #f2c9c2; background: linear-gradient(180deg, #fdf2f0 0%, #fff 100%); }
.chr-stat.fl-stat--ko strong { color: #a3261b; }
.chr-stat.fl-stat--ko .fi { color: #d9432f; }
.fl-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fl-ligne { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid; border-left-width: 5px; border-radius: 3px; text-decoration: none; transition: transform .12s, box-shadow .15s; }
.fl-ligne:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(1,43,109,.09); }
.fl-ligne--ok { background: #f1faf4; border-color: #bfe3cc; border-left-color: #2e9b5d; }
.fl-ligne--ko { background: #fdf2f0; border-color: #f2c9c2; border-left-color: #d9432f; }
.fl-ligne-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 16px; }
.fl-ligne-ic .fi { display: flex; }
.fl-ligne--ok .fl-ligne-ic { background: #2e9b5d; }
.fl-ligne--ko .fl-ligne-ic { background: #d9432f; }
.fl-ligne-qui { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fl-ligne-qui strong { overflow: hidden; font-size: 15.5px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.fl-ligne--ok .fl-ligne-qui strong { color: #14522c; }
.fl-ligne--ko .fl-ligne-qui strong { color: #8c1f15; }
.fl-ligne-qui small { overflow: hidden; font-size: 12.5px; color: #5a6785; text-overflow: ellipsis; white-space: nowrap; }
.fl-ligne-mp { display: flex; font-size: 16px; color: #b6bfcf; }
.fl-ligne-mp.is-on { color: var(--blue); }
.fl-ligne-note { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; font-size: 20px; font-weight: 800; }
.fl-ligne-note small { margin-left: 1px; font-size: 12px; color: #6b7894; }
.fl-ligne--ok .fl-ligne-note { color: #1e6b3a; }
.fl-ligne--ko .fl-ligne-note { color: #a3261b; }
.fl-ligne-verdict { min-width: 92px; padding: 6px 12px; border-radius: 20px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-align: center; text-transform: uppercase; }
.fl-ligne--ok .fl-ligne-verdict { background: #2e9b5d; }
.fl-ligne--ko .fl-ligne-verdict { background: #d9432f; }
.fl-res { background: #fff; border: 1px solid #d5deea; border-radius: 3px; overflow: hidden; }
.fl-res-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; color: #fff; background: linear-gradient(135deg, #012b6d 0%, #0a3a86 100%); border-bottom: 5px solid #2e9b5d; }
.fl-res--ko .fl-res-tete { border-bottom-color: #d9432f; }
.fl-res-qui { min-width: 0; }
.fl-res-verdict { display: inline-block; padding: 4px 12px; border-radius: 20px; background: #2e9b5d; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.fl-res--ko .fl-res-verdict { background: #d9432f; }
.fl-res-qui h2 { margin: 10px 0 8px; font-size: 26px; font-weight: 900; color: #fff; }
.fl-res-qui p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.fl-res-qui .fl-res-meta { display: block; margin-top: 10px; font-size: 13.5px; color: #cfdcf3; }
.fl-res-note { display: flex; flex-direction: column; align-items: flex-end; }
.fl-res-note strong { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; font-size: 58px; font-weight: 800; line-height: 1; color: #8ce3ae; }
.fl-res--ko .fl-res-note strong { color: #ffa496; }
.fl-res-note strong small { margin-left: 2px; font-size: 22px; color: #b9cdf0; }
.fl-res-note span { margin-top: 8px; font-size: 13px; color: #cfdcf3; }
.fl-res-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 30px; padding: 24px 26px; }
.fl-res-sec h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid #edf1f7; font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--navy); }
.fl-res-sec h3 .fi { display: inline-flex; color: #e0a322; }
.fl-res-sec h3 span { margin-left: auto; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; color: #6b7894; letter-spacing: 0; white-space: nowrap; }
.fl-res-sec ul { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.fl-res-sec li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.4; }
.fl-res-sec li .fi { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; font-size: 10px; }
.fl-res-sec li.is-ok { color: #1c2942; }
.fl-res-sec li.is-ok .fi { background: #2e9b5d; color: #fff; }
.fl-res-sec li.is-ko { color: #8c1f15; font-weight: 600; }
.fl-res-sec li.is-ko .fi { background: #d9432f; color: #fff; }
.fl-res-rem { margin: 0 26px 24px; padding: 16px 18px; background: #f7f9fd; border-left: 4px solid var(--gold); border-radius: 3px; }
.fl-res-rem h3, .fl-res-mp h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--navy); }
.fl-res-rem h3 .fi, .fl-res-mp h3 .fi { display: inline-flex; color: #e0a322; }
.fl-res-rem p { margin: 0 0 6px; font-size: 14.5px; line-height: 1.6; color: #1c2942; overflow-wrap: anywhere; }
.fl-res-rem p:last-child { margin-bottom: 0; }
.fl-res-mp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px 22px; background: #fbfcfe; border-top: 1px solid #e3e9f2; }
.fl-res-mp p { margin: 0; font-size: 14px; line-height: 1.5; color: #5a6785; }
.fl-res-mp .fl-mp-ok { font-weight: 600; color: #1e6b3a; }
.fl-res-mp .fl-mp-ko { color: #a3261b; }
.fl-res-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fl-res-actions form { margin: 0; }
@media (max-width: 980px) {
    .fl-layout { display: block; }
    .fl-score { position: sticky; top: auto; bottom: 0; z-index: 20; flex-direction: row; justify-content: flex-start; gap: 14px; margin-top: 14px; padding: 10px 14px; border-top-width: 4px; box-shadow: 0 -10px 26px rgba(1,12,40,.14); text-align: left; }
    .fl-anneau { flex: 0 0 auto; width: 62px; height: 62px; }
    .fl-anneau-fond, .fl-anneau-val { stroke-width: 12; }
    .fl-anneau-seuil { stroke-width: 4; }
    .fl-anneau-txt strong { font-size: 19px; }
    .fl-anneau-txt small { display: none; }
    .fl-score-txt { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
    .fl-score-note { font-size: 15px; }
    .fl-score-note strong { font-size: 20px; }
    .fl-verdict { padding: 5px 12px; font-size: 12px; }
    .fl-seuil { flex-basis: 100%; font-size: 12px; }
}
@media (max-width: 640px) {
    .fl-page .chr-unite { height: auto; min-height: 44px; padding: 8px 12px; line-height: 1.2; text-align: center; }
    .fl-carte { padding: 16px; }
    .fl-agent, .fl-grille, .fl-manuel-g { grid-template-columns: minmax(0, 1fr); }
    .fl-fiche-der { margin-left: 0; }
    .fl-envoi { padding: 16px; }
    .fl-envoi .fl-btn { width: 100%; }
    .fl-ligne { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
    .fl-ligne-ic { width: 34px; height: 34px; font-size: 14px; }
    .fl-ligne-mp, .fl-ligne-verdict { display: none; }
    .fl-ligne-qui small { white-space: normal; }
    .fl-res-tete { padding: 18px; }
    .fl-res-note { align-items: flex-start; }
    .fl-res-note strong { font-size: 46px; }
    .fl-res-grille { padding: 18px; }
    .fl-res-rem { margin: 0 18px 18px; }
    .fl-res-mp { padding: 16px 18px 18px; }
    .fl-res-actions, .fl-res-actions form, .fl-res-actions .fl-btn { width: 100%; }
}
.fl-carte--fautes { border-color: #f2c9c2; border-top: 4px solid #d9432f; }
.fl-carte--fautes .fl-carte-t .fi { background: #fde8e5; color: #d9432f; }
.fl-carte--fautes .fl-aide { margin: -4px 0 14px; font-size: 13.5px; }
.fl-compte.is-on { background: #d9432f; color: #fff; }
.fl-faute { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; background: #fff; border: 1px solid #ecd3cf; border-radius: 3px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; transition: border-color .15s, background .15s, box-shadow .15s; }
.fl-faute:hover { border-color: #e3a59b; background: #fffafa; }
.fl-faute input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.fl-faute:has(input:focus-visible) { border-color: #d9432f; box-shadow: 0 0 0 3px rgba(217,67,47,.2); }
.fl-faute .fl-coche { border-color: #e3b3ab; }
.fl-faute .fl-crit-l small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; line-height: 1.35; color: #7a869e; }
.fl-faute.is-on { background: #fdecea; border-color: #d9432f; box-shadow: inset 4px 0 0 #d9432f; }
.fl-faute.is-on .fl-coche { background: #d9432f; border-color: #d9432f; color: #fff; transform: scale(1.06); }
.fl-faute.is-on .fl-crit-l { color: #8c1f15; }
.fl-faute.is-on .fl-crit-l small { color: #a3261b; }
.fl-raison { padding: 6px 12px; border-radius: 3px; background: #fde8e5; color: #a3261b; font-size: 13px; font-weight: 800; }
.fl-res-raison { display: inline-block; margin-left: 6px; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,.12); color: #ffd4cd; font-size: 12px; font-weight: 700; vertical-align: middle; }
.fl-res-fautes { margin: 0 26px 24px; padding: 14px 18px; background: #f1faf4; border-left: 4px solid #2e9b5d; border-radius: 3px; }
.fl-res-fautes h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--navy); }
.fl-res-fautes h3 .fi { display: inline-flex; color: #2e9b5d; }
.fl-res-fautes p { margin: 0; font-size: 14px; font-weight: 600; color: #1e6b3a; }
.fl-res-fautes.is-on { background: #fdecea; border-left-color: #d9432f; }
.fl-res-fautes.is-on h3 .fi { color: #d9432f; }
.fl-res-fautes ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fl-res-fautes li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: #5a6785; }
.fl-res-fautes li .fi { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: #d9432f; color: #fff; font-size: 11px; }
.fl-res-fautes li strong { color: #8c1f15; }
.fl-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 3px; background: #d9432f; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; vertical-align: 2px; }
@media (max-width: 640px) {
    .fl-res-fautes { margin: 0 18px 18px; }
    .fl-tag { margin-left: 6px; }
}
.fl-compte.is-moins { background: #fde8e5; color: #a3261b; }
.fl-consigne { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border: 1px solid #c9dcf3; border-left: 4px solid var(--blue); border-radius: 3px; }
.fl-consigne .fi { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e7f0fb; color: var(--blue); font-size: 16px; }
.fl-consigne p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #1c2942; }
.fl-consigne strong { color: var(--navy); }
.fl-marge { font-size: 12.5px; font-weight: 700; color: #1e6b3a; }
.fl-res-note span + span { margin-top: 2px; }
@media (max-width: 980px) {
    .fl-score .fl-seuil { display: none; }
    .fl-marge, .fl-raison { font-size: 12px; }
}
@media (max-width: 640px) {
    .fl-consigne { align-items: flex-start; padding: 14px 16px; }
    .fl-consigne p { font-size: 14px; }
}
.fl-res-sec h3 span.is-moins { color: #a3261b; }
.fl-btn:disabled { opacity: .75; cursor: wait; transform: none; }
.fl-filtre-aide { margin: 10px 0 0; padding: 8px 12px; border-radius: 3px; background: #fff6e0; color: #8a5a00; font-size: 13.5px; font-weight: 600; }
.fl-vider { margin-top: 10px; padding: 0; border: 0; background: none; color: #a3261b; font-family: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
