* { box-sizing: border-box; margin: 0; padding: 0; }
/* L'attribut hidden doit toujours l'emporter, meme sur un element qui porte
   par ailleurs une classe imposant un display (ex. ".row { display:flex }") :
   meme specificite (0,1,0) que la regle UA [hidden]{display:none}, donc sans
   ce !important la regle de classe l'emportait et laissait l'element visible
   malgre l'attribut hidden (etablissements/repas caches censes ne pas
   s'afficher par defaut, ex. sur devis_form.html). */
[hidden] { display: none !important; }
body { font-family: Arial, Helvetica, sans-serif; background: #f4f2ef; color: #2c2c2c; }
.navbar { background: #011234; color: white; display: flex; justify-content: space-between;
    align-items: center; padding: 14px 28px; text-transform: capitalize; position: relative; z-index: 100; }
.navbar .logo { font-weight: bold; font-size: 20px; }
.navbar .logo a { color: white; text-decoration: none; }
.navbar .nav-links { display: flex; align-items: center; }
.navbar .nav-links > a { color: white; text-decoration: none; margin-left: 20px; font-size: 14px; text-transform: uppercase; }
.navbar .nav-links > a:hover { text-decoration: underline; }
.navbar .nav-dropdown { position: relative; margin-left: 20px; }
.navbar .nav-dropdown > span { color: white; font-size: 14px; text-transform: uppercase; cursor: default; }
.navbar .nav-dropdown > span::after { content: " ▾"; font-size: 11px; }
.navbar .nav-dropdown .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: white;
    min-width: 210px; box-shadow: 0 4px 12px rgba(0,0,0,.2); border-radius: 4px; overflow: hidden; padding: 6px 0; }
.navbar .nav-dropdown:hover .dropdown-menu { display: block; }
.navbar .nav-dropdown .dropdown-menu a { display: block; color: #011234; text-decoration: none; font-size: 13px;
    text-transform: none; padding: 9px 16px; }
.navbar .nav-dropdown .dropdown-menu a:hover { background: #f4f2ef; }
/* Menu reorganise (2026-09-28) : intitules de groupe, panneau Administration en colonnes, rubrique active soulignee */
.navbar .dropdown-menu .dropdown-titre { font-size: 11px; font-weight: bold; letter-spacing: .04em; text-transform: uppercase;
    color: #8a94a6; padding: 10px 16px 4px; border-top: 1px solid #eee; margin-top: 4px; }
.navbar .dropdown-menu > .dropdown-titre:first-child, .navbar .dropdown-colonnes > div > .dropdown-titre:first-child { border-top: none; margin-top: 0; }
.navbar .nav-dropdown:hover .dropdown-menu.dropdown-colonnes { display: grid; grid-template-columns: repeat(3, minmax(190px, auto)); }
.navbar .dropdown-colonnes > div + div { border-left: 1px solid #f0f0f0; }
.navbar .nav-dropdown-droite .dropdown-menu { left: auto; right: 0; }
.navbar .nav-links > a.actif, .navbar .nav-dropdown.actif > span { border-bottom: 2px solid #ff6302; padding-bottom: 3px; }
/* zone de survol continue entre l'intitule et le panneau (le menu ne se ferme plus en descendant la souris) */
.navbar .nav-dropdown { padding: 6px 0; }
.navbar .logo, .navbar .nav-links > a, .navbar .nav-dropdown > span { white-space: nowrap; }   /* pas de retour a la ligne (fenetre etroite) */
/* Droits du role (2026-09-28) : bandeau des pages consultables sans droit de modification */
.bandeau-lecture-seule { background: #eef4fb; border: 1px solid #b9c9de; color: #28466b; padding: 8px 14px; border-radius: 4px; margin-bottom: 14px; }
form input:disabled, form select:disabled, form textarea:disabled { background: #f6f6f6; color: #444; cursor: default; }
.content { max-width: 1440px; margin: 50px auto; padding: 0 20px; }
h1 { color: #011234; margin-bottom: 16px; }
h2 { color: #011234; margin: 20px 0 10px; }
table { width: 100%; border-collapse: collapse; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
th, td { padding: 10px 12px; border-bottom: 1px solid #e0e0e0; text-align: left; font-size: 16px; }
th { background: #011234; color: white; }
tr:hover { background: #fdf3ee; }
.btn { display: inline-block; background: #ff6302; color: white; padding: 8px 18px; border: none;
    border-radius: 4px; text-decoration: none; font-size: 14px; cursor: pointer; margin: 5px 8px 5px 0; }
.btn:hover { background: #e05700; }
.btn-secondary { background: #0073cb; }
.btn-secondary:hover { background: #005a9e; }
/* Icones d'action des tableaux (2026-09-16, "gagner en espace" sur les
   listes) : remplacent les boutons texte Voir PDF/Modifier/... */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
    border-radius: 4px; color: #0073cb; text-decoration: none; vertical-align: middle; }
.icon-btn:hover { background: #eef4fb; }
.icon-btn.icon-danger { color: #c0392b; }
.icon-btn.icon-danger:hover { background: #fdecea; }
td .icon-btn { margin: 0 1px; }
button.icon-btn { border: none; background: none; cursor: pointer; padding: 0; }
button.icon-btn.icon-ok { color: #2e7d32; }
button.icon-btn.icon-ok:hover { background: #eaf6ec; }
form.form-icone { display: inline; margin: 0; }
form.card { background: white; padding: 24px 28px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.1);
    max-width: 960px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 15px; color: #444; margin-bottom: 6px; font-weight: bold; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
    width: 100%; padding: 9px 11px; border: 1px solid #ccc; border-radius: 4px; font-size: 14.5px; }
/* Cases a cocher / boutons radio : la regle ci-dessus leur donnait un
   width:100% (herite de .field input), les rendant demesures et quasi
   illisibles - taille, espacement et couleur d'accent explicites a la place. */
.field input[type="checkbox"], .field input[type="radio"] {
    width: auto; height: auto; accent-color: #0073cb; transform: scale(1.5); transform-origin: left center;
    margin-right: 12px; vertical-align: middle; cursor: pointer; }
.field label input[type="checkbox"], .field label input[type="radio"] { margin-right: 10px; }
.field label:has(input[type="checkbox"]), .field label:has(input[type="radio"]) {
    display: block; margin-bottom: 12px; font-size: 14.5px; }
.row { display: flex; gap: 18px; flex-wrap: wrap; }
.row .field { flex: 1 1 240px; }
h2 { padding-top: 8px; }

/* Ligne etablissement/repas (devis_form.html) : etablissement + 3 champs
   compacts (dates/nombre) sur UNE seule ligne, quel que soit le nombre de
   blocs ajoutes - la regle .row generique ci-dessus les mettait sur 240px
   chacun, forcant un retour a la ligne des 4 champs ne tenaient pas cote a
   cote dans la largeur du formulaire. */
.row-hebergement-ligne { flex-wrap: nowrap; }
.row-hebergement-ligne .field:nth-child(1) { flex: 2 1 200px; min-width: 160px; }
.row-hebergement-ligne .field:nth-child(2),
.row-hebergement-ligne .field:nth-child(3) { flex: 1 1 120px; min-width: 100px; }
.row-hebergement-ligne .field:nth-child(4) { flex: 0 1 100px; min-width: 85px; }
@media (max-width: 700px) {
    .row-hebergement-ligne { flex-wrap: wrap; }
}
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; color: white; }
.badge-cours { background: #d4a017; }
.badge-devis { background: #011234; }
.badge-transmis { background: #2e7d32; }
.pastille-orange { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: #f28c1a; box-shadow: 0 0 0 1px #c96f08 inset; margin-right: 6px; vertical-align: middle; }
.top-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.result-box { background: white; padding: 20px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.1);
    margin-top: 20px; }
.result-box table td:last-child { text-align: right; font-weight: bold; }
.result-total { font-size: 22px; color: #011234; font-weight: bold; text-align: right; margin-top: 12px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-tile { background: white; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 18px 20px;
    border-left: 4px solid #0073cb; }
.stat-tile .valeur { font-size: 30px; font-weight: bold; color: #011234; line-height: 1.1; }
.stat-tile .libelle { font-size: 13px; color: #666; margin-top: 4px; }
.stat-tile.alerte { border-left-color: #ff6302; }
.alert-panel { background: white; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.1); margin-bottom: 20px; overflow: hidden; }
.alert-panel h3 { background: #011234; color: white; margin: 0; padding: 10px 16px; font-size: 15px; }
.alert-panel ul { list-style: none; }
.alert-panel li { padding: 10px 16px; border-bottom: 1px solid #eee; font-size: 14px; }
.alert-panel li:last-child { border-bottom: none; }
.alert-panel .vide { padding: 14px 16px; color: #2e7d32; font-size: 14px; }
.alert-panel li a { color: #0073cb; text-decoration: none; font-weight: bold; }

.gantt { background: white; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.1); overflow: hidden; margin-bottom: 28px; }
.gantt-header, .gantt-row { display: grid; grid-template-columns: 220px 1fr; }
.gantt-months { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); background: #011234; }
.gantt-months span { color: white; font-size: 11px; text-transform: uppercase; text-align: center;
    padding: 8px 0; border-left: 1px solid rgba(255,255,255,.15); }
.gantt-months span:first-child { border-left: none; }
.gantt-header .gantt-label-col { background: #011234; }
.gantt-row { border-bottom: 1px solid #eee; align-items: center; min-height: 44px; }
.gantt-row:last-child { border-bottom: none; }
.gantt-row .label { padding: 6px 12px; font-size: 13px; line-height: 1.35; }
.gantt-row .label strong { display: block; color: #011234; }
.gantt-row .label a { color: #011234; text-decoration: none; }
.gantt-row .label small { color: #777; }
.gantt-track { position: relative; height: 44px; background-image:
    repeating-linear-gradient(to right, transparent 0, transparent calc(100%/12 - 1px), #eee calc(100%/12 - 1px), #eee calc(100%/12)); }
.gantt-bar { position: absolute; top: 10px; height: 24px; border-radius: 4px; color: white; font-size: 11px;
    display: flex; align-items: center; padding: 0 8px; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.gantt-bar:hover { filter: brightness(1.1); }
.gantt-legende { display: flex; gap: 18px; padding: 10px 16px; font-size: 12px; color: #555; flex-wrap: wrap; }
.gantt-legende span { display: inline-flex; align-items: center; gap: 6px; }
.gantt-legende i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* accueil */
.accueil-hero { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.accueil-hero h1 { margin-bottom: 4px; }
.accueil-hero .date-jour { color: #777; font-size: 14px; text-transform: capitalize; }
.section-titre { display: flex; align-items: center; gap: 10px; margin: 32px 0 14px; }
.section-titre h2 { margin: 0; }
.section-titre .trait { flex: 1; height: 1px; background: transparent; }

.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-bottom: 8px; }
.resource-card { background: white; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 16px 18px;
    display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; transition: transform .12s; }
.resource-card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.resource-card .pastille { width: 42px; height: 42px; border-radius: 50%; background: #f1f0eb; color: #0f1f3d;
    font-weight: bold; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.resource-card .valeur { font-size: 22px; font-weight: bold; color: #011234; line-height: 1.1; }
.resource-card .libelle { font-size: 12px; color: #777; margin-top: 2px; }

.breakdown-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-bottom: 8px; }
.breakdown-card { background: white; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 18px 20px; }
.breakdown-card h3 { margin: 0 0 12px; font-size: 14px; color: #011234; }
.stacked-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: #f1f0eb; margin-bottom: 12px; }
.stacked-bar span { height: 100%; }
.breakdown-legende { display: flex; flex-wrap: wrap; gap: 14px 20px; font-size: 13px; color: #444; }
.breakdown-legende .item { display: flex; align-items: center; gap: 7px; }
.breakdown-legende i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.breakdown-legende b { color: #011234; }

/* formulaire devis : formulaire + bloc de validation itineraire cote a cote */
.form-layout { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.faisabilite-panel { background: white; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.1);
    padding: 20px 22px; flex: 1 1 340px; max-width: 380px; }
.faisabilite-panel h2 { margin-top: 0; font-size: 16px; }
.chaine-itineraire { list-style: none; margin: 12px 0; }
.chaine-itineraire li { padding: 8px 0 8px 20px; border-left: 2px solid #e0dcd3; position: relative; font-size: 13.5px; }
.chaine-itineraire li::before { content: ""; position: absolute; left: -5px; top: 14px; width: 8px; height: 8px;
    border-radius: 50%; background: #0073cb; }
.chaine-itineraire li:first-child::before { background: #011234; }
.chaine-itineraire li:last-child { border-left-color: transparent; }
.chaine-itineraire .ville { font-weight: bold; color: #011234; }
.chaine-itineraire .detail { color: #777; font-size: 12px; }

/* etude itineraire aerien : alternance de couleur par etape (groupe de colonnes) */
.etape-a { background: #f6f5f1; }
.etape-b { background: #ffffff; }
th.etape-a { background: #8a94a6; }
th.etape-b { background: #011234; }


/* ---- Accueil nouvelle version (2026-09-20) : meme charte (marine / orange / bleu), pictogrammes a trait fin ---- */
.hero-accueil { background: #011234; color: white; padding: 12px 28px 14px; margin: 0;
    display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(1,18,52,.25); }
.hero-accueil h1 { color: white; margin: 0 0 2px; font-size: 17px; font-weight: bold; }
.hero-accueil .date-jour { color: #cbd3e0; font-size: 12.5px; }
.hero-accueil .resume { margin-top: 6px; font-size: 12.5px; color: #e6ebf3; display: flex; align-items: center; gap: 8px; }
.hero-accueil .resume svg { color: #ff8a3d; }
.hero-accueil .resume a { color: #e6ebf3; text-decoration: none; }
.hero-accueil .resume a:hover { text-decoration: underline; color: white; }
html { scroll-behavior: smooth; }
#a-traiter { scroll-margin-top: 16px; }
.hero-accueil .resume.ok svg { color: #6fcf7a; }
/* Ligne unique de l'accueil : date + points a traiter */
.hero-accueil h1.hero-ligne { margin: 0; }
.hero-accueil h1.hero-ligne a { color: white; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hero-accueil h1.hero-ligne a:hover { text-decoration: underline; }
.hero-accueil h1.hero-ligne svg { color: #ff8a3d; }
.hero-accueil h1.hero-ligne .ok { display: inline-flex; align-items: center; gap: 6px; }
.hero-accueil h1.hero-ligne .ok svg { color: #6fcf7a; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .btn { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: 13px; }
.hero-actions .btn.btn-clair { background: rgba(255,255,255,.12); }
.hero-actions .btn.btn-clair:hover { background: rgba(255,255,255,.22); }

.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 8px; }
@media (max-width: 900px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .kpi-grid { grid-template-columns: 1fr; } }
.kpi-tile { background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 18px 20px; display: flex;
    align-items: center; gap: 16px; text-decoration: none; color: inherit;
    transition: transform .12s, box-shadow .12s; }
.kpi-tile:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.13); }
.kpi-tile .kpi-icone { width: 48px; height: 48px; border-radius: 12px; background: #eaf3fb; color: #0073cb; display: flex;
    align-items: center; justify-content: center; flex-shrink: 0; }
.kpi-tile .kpi-valeur { font-size: 28px; font-weight: bold; color: #011234; line-height: 1.1; }
.kpi-tile .kpi-libelle { font-size: 13px; color: #666; margin-top: 3px; }
.kpi-tile .kpi-detail { font-size: 12px; color: #c0392b; margin-top: 2px; font-weight: bold; }
.kpi-tile.alerte .kpi-icone { background: #fff0e6; color: #ff6302; }

.accueil-colonnes { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 980px) { .accueil-colonnes { grid-template-columns: 1fr; } }
.carte-accueil { background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.1); overflow: hidden; }
.carte-accueil > h3 { margin: 0; padding: 16px 18px 10px; font-size: 15px; color: #011234;
    display: flex; align-items: center; gap: 10px; }
.carte-accueil > h3 svg { color: #0073cb; }
.carte-accueil > h3 .lien-tout { margin-left: auto; font-size: 12.5px; font-weight: normal; color: #0073cb; text-decoration: none; }
.carte-accueil > h3 .lien-tout:hover { text-decoration: underline; }
.liste-departs { list-style: none; }
.liste-departs a { display: flex; align-items: center; gap: 14px; padding: 12px 18px; text-decoration: none; color: inherit; }
.liste-departs a:hover { background: #fdf3ee; }
.depart-date { width: 52px; text-align: center; background: #011234; color: white; border-radius: 8px; padding: 6px 0; flex-shrink: 0; }
.depart-date b { display: block; font-size: 20px; line-height: 1.1; }
.depart-date small { font-size: 11px; text-transform: uppercase; color: #cbd3e0; }
.depart-infos { flex: 1; min-width: 0; }
.depart-infos strong { display: block; color: #011234; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.depart-infos span { font-size: 12.5px; color: #777; }
.pastille-jours { font-size: 12px; font-weight: bold; padding: 4px 10px; border-radius: 12px; background: #eaf3fb; color: #0073cb; white-space: nowrap; }
.pastille-jours.proche { background: #fff0e6; color: #d24e00; }
.pastille-jours.encours { background: #e8f5e9; color: #2e7d32; }
.vide-accueil { padding: 22px 18px; color: #777; font-size: 14px; }

.a-traiter summary { list-style: none; cursor: pointer; padding: 12px 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: #011234; }
.a-traiter summary::-webkit-details-marker { display: none; }
.a-traiter summary:hover { background: #fafaf8; }
.a-traiter summary .pastille-etat { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: #e8f5e9; color: #2e7d32; }
.a-traiter details.avec-alerte summary .pastille-etat { background: #fff0e6; color: #ff6302; }
.a-traiter summary .titre { flex: 1; }
.a-traiter summary .compteur { font-size: 12px; font-weight: bold; min-width: 24px; text-align: center; padding: 3px 8px; border-radius: 12px; background: #e8f5e9; color: #2e7d32; }
.a-traiter details.avec-alerte summary .compteur { background: #ff6302; color: white; }
.a-traiter summary::after { content: "▾"; color: #999; font-size: 12px; }
.a-traiter details[open] summary::after { content: "▴"; }
.a-traiter ul { list-style: none; padding: 0 18px 12px 60px; }
.a-traiter li { font-size: 13.5px; padding: 5px 0; color: #444; }
.a-traiter li a { color: #0073cb; text-decoration: none; font-weight: bold; }
.a-traiter .rien { padding: 0 18px 12px 60px; font-size: 13px; color: #2e7d32; }

.resource-card .pastille { background: #eaf3fb; color: #0073cb; }
.resource-card:hover .pastille { background: #0073cb; color: white; }

/* flux financiers (intervenants / sous-traitants) */
.flux-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 6px; }
@media (max-width: 980px) { .flux-colonnes { grid-template-columns: 1fr; } }
.flux-carte { padding-bottom: 14px; }
.flux-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 6px 18px 12px; }
.flux-valeur { font-size: 22px; font-weight: bold; color: #011234; line-height: 1.1; }
.flux-valeur.vert { color: #2e7d32; }
.flux-valeur.orange { color: #d24e00; }
.flux-libelle { font-size: 12px; color: #777; margin-top: 3px; }
.flux-barre { height: 10px; border-radius: 5px; background: #f1f0eb; margin: 0 18px; overflow: hidden; }
.flux-barre span { display: block; height: 100%; background: #2e7d32; border-radius: 5px; }
.flux-taux { font-size: 12px; color: #777; padding: 5px 18px 8px; }
.flux-detail { box-shadow: none; background: transparent; width: calc(100% - 36px); margin: 0 18px; }
.flux-detail td { font-size: 13px; padding: 6px 4px; border: none; text-align: right; color: #444; }
.flux-detail td:first-child { text-align: left; color: #011234; }
.flux-detail td.vert { color: #2e7d32; }
.flux-detail td.reste { font-weight: bold; color: #d24e00; }
.flux-detail tr:hover { background: transparent; }
.flux-note { font-size: 12.5px; color: #777; margin-bottom: 4px; }
.carte-accueil > h3 .lien-tout a { color: #0073cb; text-decoration: none; }
.carte-accueil > h3 .lien-tout a:hover { text-decoration: underline; }
.flux-detail th { background: transparent; color: #999; font-size: 11.5px; font-weight: normal; text-align: right; padding: 4px; border: none; text-transform: uppercase; }
.flux-detail th:first-child { text-align: left; }

.hero-accueil + .content { margin-top: 28px; }
.kpi-tile .kpi-detail.neutre { color: #0073cb; }

/* Documentation (2026-10-15) : tutoriels GV et documents de l'agence */
.doc-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.doc-liste { margin: 0; padding-left: 20px; }
.doc-liste li { margin: 6px 0; }
.doc-badge { display: inline-block; font-size: .75em; color: #555; background: #eef1f6; border-radius: 10px; padding: 1px 8px; margin-left: 4px; }
.doc-extrait { font-size: .85em; color: #666; margin-top: 2px; }
.doc-resultat { padding: 8px 0; border-bottom: 1px solid #eceef2; }
.doc-cadre { display: flex; gap: 24px; align-items: flex-start; }
.doc-sommaire { position: sticky; top: 12px; flex: 0 0 260px; max-height: calc(100vh - 40px); overflow-y: auto; font-size: .85em;
                border-right: 1px solid #e3e5ea; padding-right: 12px; }
.doc-sommaire-titre { font-weight: bold; color: #011234; margin-bottom: 6px; }
.doc-sommaire a { display: block; padding: 3px 0; color: #0073cb; text-decoration: none; line-height: 1.3; }
.doc-sommaire a.niveau-3 { padding-left: 12px; color: #4b4f5c; }
.doc-sommaire a:hover { text-decoration: underline; }
.doc-contenu { flex: 1; min-width: 0; max-width: 900px; line-height: 1.55; }
.doc-contenu h1, .doc-contenu h2 { color: #011234; border-bottom: 2px solid #e3e5ea; padding-bottom: 4px; margin-top: 28px; }
.doc-contenu h3 { color: #0073cb; margin-top: 22px; }
.doc-contenu h4 { color: #24262e; margin: 16px 0 6px; }
.doc-contenu h5 { color: #4b4f5c; margin: 12px 0 4px; }
.doc-contenu ul { margin: 6px 0 10px; }
.doc-contenu li { margin: 3px 0; }
.doc-contenu .doc-meta, .doc-meta { color: #6b7080; font-style: italic; }
.doc-contenu pre { background: #f7f7fb; padding: 10px; border-radius: 4px; white-space: pre-wrap; }
.doc-contenu code { background: #f1f2f6; padding: 0 4px; border-radius: 3px; }
.doc-table { overflow-x: auto; margin: 10px 0 14px; }
.doc-table table { border-collapse: collapse; width: 100%; font-size: .9em; }
.doc-table th { background: #011234; color: #fff; text-align: left; }
.doc-table th, .doc-table td { border: 1px solid #d9dce3; padding: 6px 8px; vertical-align: top; }
.doc-contenu mark { background: #ffe58a; }
@media (max-width: 900px) { .doc-cadre { flex-direction: column; } .doc-sommaire { position: static; flex: none; max-height: none; border-right: 0; } }

/* Alerte de validation d'un programme : ville couverte sans hotel (2026-10-19) - bordure fine sur tout le tour */
.alerte-validation { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 6px; color: #7c2d12; padding: 12px 16px; margin: 0 0 16px; font-size: 14px; }
.alerte-validation ul { margin: 8px 0 8px 18px; }
.alerte-validation li { margin: 3px 0; }
.alerte-validation p { margin: 6px 0 0; }
.alerte-validation a { color: #0073cb; font-weight: bold; }
.field .alerte-validation { margin-top: 10px; }
