/* Fabriqué par scripts/construire_style_site.py à partir de maquettes/inscription/inscription.css : ne pas modifier à la main. */
.tge.tge-ins { background: #fff; }
.tge main { max-width: 1320px; }
.tge .carte { border-color: var(--trait); }
.tge h2.in-t { font-size: 26px; font-weight: 600; letter-spacing: -.3px; margin: 0 0 4px; color: var(--bleu); }
.tge p.in-i { margin: 0 0 22px; color: var(--gris); max-width: 720px; }
.tge .in-prov { font-size: 12px; color: var(--gris); border: 1px dashed #9aa6b8; padding: 8px 12px; margin-bottom: 20px; display: inline-block; }
.tge .in-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border: 1.5px solid var(--bleu); color: var(--bleu); white-space: nowrap; background: #fff; }
.tge .in-st svg { font-size: 13px; }
.tge .in-st.fait { background: var(--bleu); color: #fff; }
.tge .in-st.attente { border-style: dashed; border-color: #9aa6b8; color: var(--gris); }
.tge .in-pas { display: flex; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; counter-reset: p; }
.tge .in-pas li { flex: 1; counter-increment: p; border-top: 3px solid var(--trait); padding-top: 10px; font-weight: 600; font-size: 14px; color: var(--gris); display: flex; gap: 8px; align-items: center; }
.tge .in-pas li::before { content: counter(p); display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid currentColor; font-size: 12px; flex: none; }
.tge .in-pas li.fait, .tge .in-pas li.ici { border-top-color: var(--bleu); color: var(--bleu); }
.tge .in-pas li.fait::before { content: "\2713"; background: var(--bleu); color: #fff; border-color: var(--bleu); }
.tge .in-form { display: grid; gap: 18px; }
.tge .in-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tge .in-champ { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--bleu); }
.tge .in-champ small { font-weight: 400; color: var(--gris); }
.tge .in-champ input, .tge .in-champ select, .tge .in-champ textarea { height: 46px; border: 1.5px solid var(--trait); padding: 0 14px; font: 15px var(--police); color: var(--texte); background: #fff; outline: 0; width: 100%; min-width: 0; border-radius: 0; }
.tge .in-champ textarea { height: 90px; padding: 10px 14px; }
.tge .in-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.tge .in-puces button { min-height: 42px; padding: 4px 14px; border: 1.5px solid var(--trait); background: #fff; font: 600 14px var(--police); color: var(--bleu); cursor: pointer; }
.tge .in-puces button.ici { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.tge .in-bas { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.tge .in-bas a.lien { font-weight: 600; color: var(--vif); font-size: 14px; }
.tge .in-pieces { display: grid; gap: 10px; }
.tge .in-piece { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 14px; align-items: center; border: 1.5px solid var(--trait); padding: 14px 16px; }
.tge .in-piece > svg { font-size: 22px; color: var(--bleu2); }
.tge .in-piece b { display: block; font-weight: 600; }
.tge .in-piece small { color: var(--gris); font-size: 13px; }
.tge .in-piece.vide { border-style: dashed; border-color: #9aa6b8; }
.tge .in-depot { border: 1.5px dashed #9aa6b8; padding: 26px; text-align: center; color: var(--gris); display: grid; gap: 8px; justify-items: center; }
.tge .in-depot svg { font-size: 28px; color: var(--bleu2); }
.tge .in-depot b { color: var(--bleu); }
.tge .in-parties { display: grid; }
.tge .in-partie { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--trait); }
.tge .in-partie:first-child { border-top: 0; }
.tge .in-partie .n { width: 32px; height: 32px; display: grid; place-items: center; border: 1.5px solid var(--bleu); color: var(--bleu); font-weight: 700; }
.tge .in-partie.fait .n { background: var(--bleu); color: #fff; }
.tge .in-partie b { display: block; font-size: 16px; font-weight: 600; color: var(--bleu); }
.tge .in-partie small { color: var(--gris); }
.tge .in-avance b { font-size: 30px; font-weight: 600; color: var(--bleu); line-height: 1.1; display: block; }
.tge .in-avance .barre { margin: 14px 0 10px; }
.tge .in-apres { counter-reset: a; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tge .in-apres li { counter-increment: a; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14px; }
.tge .in-apres li::before { content: counter(a); font-weight: 700; font-size: 17px; color: var(--bleu2); line-height: 1.3; }
.tge .in-apres b { display: block; color: var(--bleu); }
.tge .in-apres span { color: var(--gris); font-size: 13px; }
.tge .in-doc { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.tge .in-doc nav { position: sticky; top: 96px; display: grid; border-top: 2px solid var(--bleu); }
.tge .in-doc nav a { padding: 12px 0; border-bottom: 1px solid var(--trait); font-weight: 600; color: var(--gris); font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tge .in-doc nav a.ici { color: var(--bleu); }
.tge .in-doc section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--trait); }
.tge .in-doc section h3 { font-size: 20px; font-weight: 600; color: var(--bleu); margin: 0 0 16px; }
.tge .in-colle { position: sticky; bottom: 0; background: #fff; border-top: 1.5px solid var(--bleu); padding: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tge .in-doc > div { min-width: 0; }
.tge .in-colle > div { flex-wrap: wrap; }
.tge .in-frise { display: grid; grid-template-columns: repeat(5, 1fr); margin: 8px 0 4px; }
.tge .in-frise div { border-top: 3px solid var(--trait); padding: 18px 16px 0 0; position: relative; color: var(--gris); }
.tge .in-frise div::before { content: ""; position: absolute; left: 0; top: -9px; width: 15px; height: 15px; background: #fff; border: 3px solid var(--trait); }
.tge .in-frise div.fait, .tge .in-frise div.ici { border-top-color: var(--bleu); color: var(--texte); }
.tge .in-frise div.fait::before { background: var(--bleu); border-color: var(--bleu); }
.tge .in-frise div.ici::before { border-color: var(--bleu); }
.tge .in-frise b { display: block; font-weight: 600; color: inherit; font-size: 15px; }
.tge .in-frise div.fait b, .tge .in-frise div.ici b { color: var(--bleu); }
.tge .in-frise small { font-size: 13px; color: var(--gris); }
.tge .in-fil { display: grid; position: relative; }
.tge .in-fil > div { display: grid; grid-template-columns: 18px 1fr; gap: 16px; padding-bottom: 22px; position: relative; }
.tge .in-fil > div::before { content: ""; width: 12px; height: 12px; background: var(--bleu); margin-top: 5px; z-index: 1; }
.tge .in-fil > div::after { content: ""; position: absolute; left: 5px; top: 10px; bottom: -6px; width: 2px; background: var(--trait); }
.tge .in-fil > div:last-child::after { display: none; }
.tge .in-fil > div.avenir::before { background: #fff; border: 2px solid #9aa6b8; }
.tge .in-fil time { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--gris); display: block; }
.tge .in-fil b { color: var(--bleu); font-weight: 600; }
.tge .in-fil p { margin: 2px 0 0; color: var(--gris); font-size: 14px; }
.tge .in-suite { border: 1.5px solid var(--bleu); padding: 22px 24px; display: grid; gap: 10px; }
.tge .in-suite small { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--bleu2); }
.tge .in-suite b { font-size: 19px; font-weight: 600; color: var(--bleu); }
.tge .in-suite p { margin: 0; color: var(--gris); }
.tge .in-moyens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tge .in-moyens button { text-align: left; border: 1.5px solid var(--trait); background: #fff; padding: 18px; display: grid; gap: 6px; font: inherit; cursor: pointer; color: var(--texte); }
.tge .in-moyens button svg { font-size: 24px; color: var(--bleu2); }
.tge .in-moyens button b { font-weight: 600; color: var(--bleu); font-size: 16px; }
.tge .in-moyens button small { color: var(--gris); }
.tge .in-moyens button.ici { border-color: var(--bleu); box-shadow: inset 0 0 0 1.5px var(--bleu); }
.tge .in-consigne { border-top: 2px solid var(--bleu); border-bottom: 1px solid var(--trait); padding: 16px 0; display: grid; gap: 0; }
.tge .in-consigne div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--trait); font-size: 14px; }
.tge .in-consigne div:first-child { border-top: 0; }
.tge .in-consigne span { color: var(--gris); }
.tge .in-consigne b { font-weight: 600; color: var(--bleu); text-align: right; }
.tge .in-ech { display: grid; }
.tge .in-ech > div { display: grid; grid-template-columns: 110px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--trait); }
.tge .in-ech > div:first-child { border-top: 2px solid var(--bleu); }
.tge .in-ech time { font-weight: 600; color: var(--bleu); }
.tge .in-ech b { font-weight: 600; display: block; }
.tge .in-ech small { color: var(--gris); }
.tge .in-ech .m { font-weight: 600; color: var(--bleu); white-space: nowrap; }
.tge .in-ech .ouvert { grid-column: 1 / -1; border: 1.5px solid var(--bleu); padding: 18px; margin-top: 4px; }
.tge .in-trois { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--trait); margin-bottom: 20px; }
.tge .in-trois div { padding: 18px 22px; }
.tge .in-trois div + div { border-left: 1px solid var(--trait); }
.tge .in-trois span { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--gris); }
.tge .in-trois b { display: block; font-size: 26px; font-weight: 600; color: var(--bleu); line-height: 1.2; }
.tge .in-vers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 10px 0 6px; }
.tge .in-vers > div { border-top: 3px solid var(--trait); padding: 18px 18px 0 0; position: relative; display: grid; gap: 6px; justify-items: start; }
.tge .in-vers > div::before { content: ""; position: absolute; left: 0; top: -9px; width: 15px; height: 15px; background: #fff; border: 3px solid var(--trait); }
.tge .in-vers > div.fait { border-top-color: var(--bleu); }
.tge .in-vers > div.fait::before { background: var(--bleu); border-color: var(--bleu); }
.tge .in-vers > div.ici { border-top-color: var(--bleu); }
.tge .in-vers > div.ici::before { border-color: var(--bleu); }
.tge .in-vers b { font-size: 22px; font-weight: 600; color: var(--bleu); }
.tge .in-vers small { color: var(--gris); }
.tge .in-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tge .in-filtres a { height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--trait); font-weight: 600; font-size: 14px; color: var(--bleu); }
.tge .in-filtres a em { font-style: normal; font-size: 12px; color: var(--gris); }
.tge .in-filtres a.ici { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.tge .in-filtres a.ici em { color: #c9d8f0; }
.tge .in-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.tge .in-col { border-top: 2px solid var(--bleu); padding-top: 12px; display: grid; gap: 10px; }
.tge .in-col h3 { font-size: 14px; font-weight: 700; color: var(--bleu); display: flex; justify-content: space-between; margin: 0 0 2px; }
.tge .in-col h3 em { font-style: normal; color: var(--gris); }
.tge .in-fiche { border: 1px solid var(--trait); padding: 14px; display: grid; gap: 6px; background: #fff; }
.tge .in-fiche b { font-weight: 600; color: var(--bleu); }
.tge .in-fiche small { color: var(--gris); font-size: 13px; }
.tge .in-fiche .barre { height: 5px; margin-top: 4px; }
.tge .in-revue { display: grid; grid-template-columns: 320px 1fr 340px; border: 1px solid var(--trait); min-height: 520px; }
.tge .in-revue > div { padding: 20px; }
.tge .in-revue > div + div { border-left: 1px solid var(--trait); }
.tge .in-revue .file a { display: grid; gap: 2px; padding: 12px 10px; border-bottom: 1px solid var(--trait); }
.tge .in-revue .file a.ici { box-shadow: inset 0 0 0 1.5px var(--bleu); }
.tge .in-revue .file b { font-weight: 600; color: var(--bleu); }
.tge .in-revue .file small { color: var(--gris); }
.tge .in-recu { border: 1px dashed #9aa6b8; height: 100%; min-height: 420px; display: grid; place-items: center; color: var(--gris); text-align: center; padding: 20px; }
.tge .in-recu svg { font-size: 34px; color: var(--bleu2); display: block; margin: 0 auto 8px; }
.tge .in-actions { display: grid; gap: 8px; margin-top: 18px; }
@media (max-width: 1100px) {
.tge .in-deux, .tge .in-doc, .tge .in-moyens, .tge .in-trois, .tge .in-cols, .tge .in-revue, .tge .in-vers { grid-template-columns: 1fr; }
.tge .in-doc nav { position: static; }
.tge .in-frise { grid-template-columns: 1fr; gap: 18px; }
.tge .in-frise div { border-top: 0; border-left: 3px solid var(--trait); padding: 0 0 0 18px; }
.tge .in-frise div::before { left: -9px; top: 2px; }
.tge .in-frise div.fait, .tge .in-frise div.ici { border-left-color: var(--bleu); }
.tge .in-piece { grid-template-columns: 32px 1fr; }
.tge .in-piece > :nth-child(n+3) { grid-column: 2; justify-self: start; }
.tge .in-partie { grid-template-columns: 36px 1fr; }
.tge .in-partie > :nth-child(n+3) { grid-column: 2; justify-self: start; }
.tge .in-ech > div { grid-template-columns: 1fr auto; }
.tge .in-ech time { grid-column: 1 / -1; }
.tge .in-ech > div > :nth-child(n+4) { justify-self: start; }
.tge .in-trois div + div { border-left: 0; border-top: 1px solid var(--trait); }
.tge .in-revue > div + div { border-left: 0; border-top: 1px solid var(--trait); }
.tge .in-pas { flex-wrap: wrap; }
.tge .in-pas li { flex: 1 1 40%; font-size: 13px; }
.tge .in-vers { gap: 18px; }
}

/* ----- Ajouts propres au vrai site (absents de la maquette) ----- */
.tge .in-msg { border: 1.5px solid var(--bleu); padding: 12px 16px; margin: 0 0 20px; font-weight: 600; color: var(--bleu); display: flex; gap: 10px; align-items: center; }
.tge .in-msg.erreur { border-color: var(--rouge); color: var(--rouge); }
.tge .in-piece form, .tge .in-partie form { margin: 0; }
.tge .in-piece input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tge .in-piece .motif { grid-column: 2 / -1; margin: -4px 0 0; font-size: 13px; color: var(--texte); }
.tge .in-champ input[type=date] { font-family: var(--police); }
.tge .in-retour { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--vif); margin-bottom: 16px; }
.tge .in-retour svg { transform: rotate(180deg); } /* la flèche d'un retour pointe à gauche (le style posé sur l'icône se perd quand elle est dessinée) */
.tge .in-dl { margin: 0; display: grid; }
.tge .in-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--trait); font-size: 14px; } .tge .in-dl div:first-child { border-top: 0; }
.tge .in-dl dt { color: var(--gris); flex: none; } .tge .in-dl dd { margin: 0; font-weight: 600; text-align: right; color: var(--bleu); }
.tge .in-journal { display: grid; gap: 0; }
.tge .in-journal div { padding: 10px 0; border-top: 1px solid var(--trait); font-size: 14px; } .tge .in-journal div:first-child { border-top: 0; }
.tge .in-journal time { display: block; font-size: 12px; color: var(--gris); } .tge .in-journal .interne { color: var(--gris); }
.tge .in-decision { display: grid; gap: 10px; }
.tge .in-decision textarea { width: 100%; min-height: 70px; border: 1.5px solid var(--trait); padding: 10px 12px; font: 14px var(--police); border-radius: 0; }
.tge .in-decision input[type=text] { width: 100%; height: 38px; border: 1.5px solid var(--trait); padding: 0 12px; font: 14px var(--police); border-radius: 0; }
.tge .in-moyens a { text-align: left; border: 1.5px solid var(--trait); background: #fff; padding: 18px; display: grid; gap: 6px; color: var(--texte); }
.tge .in-moyens a svg { font-size: 24px; color: var(--bleu2); } .tge .in-moyens a b { font-weight: 600; color: var(--bleu); font-size: 16px; } .tge .in-moyens a small { color: var(--gris); }
.tge .in-moyens a.ici { border-color: var(--bleu); box-shadow: inset 0 0 0 1.5px var(--bleu); } .tge .in-moyens a:hover { border-color: var(--bleu2); }
.tge .in-champ input[type=file] { font-size: 14px; }
.tge .in-vide { border: 1px dashed #9aa6b8; padding: 36px 24px; text-align: center; color: var(--gris); display: grid; gap: 8px; justify-items: center; }
.tge .in-vide svg { font-size: 28px; color: var(--bleu2); } .tge .in-vide b { color: var(--bleu); font-size: 17px; }
.tge .in-recu img, .tge .in-recu iframe { max-width: 100%; width: 100%; height: 480px; object-fit: contain; border: 0; }
.tge .cote nav a em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; background: #fff; color: var(--bleu); padding: 1px 8px; border-radius: 20px; }
/* Frise à trois étapes des inscriptions directes (la frise de la candidature en a cinq) */
@media (min-width: 1101px) { .tge .in-frise.trois { grid-template-columns: repeat(3, 1fr); } }
