/* tp-onglets.css — nouvelle présentation des TP virtuels BTS (voir tp-onglets.js) · © Julien Guéret · CC BY-NC-SA 4.0 */

/* ================= commun ================= */
body.tpo .tpv-jump, body.tpo .th-btn, body.tpo .ax-btn, body.tpo .rt-btn, body.tpo .bsig-fab,
body.tpo .amp-fab, body.tpo .amp-tip { display: none !important; }
body.tpo .ax-p { top: 120px !important; right: 16px !important; left: auto !important; bottom: auto !important; }
body.tpo .tpo-work, body.tpo .tpo-tabs, body.tpo .tpo-strip { display: none; }

/* en-tête : titre à gauche, présentation à droite */
body.tpo header.tpv-top .tpv-in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 32px; }
body.tpo .tpo-tleft { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
body.tpo .tpo-tleft h1 { margin: 0; }
body.tpo .tpo-desc { flex: 2 1 520px; min-width: 0; margin: 0 !important; }
body.tpo .tpv-acc { order: 9; }

/* ================= écran de départ ================= */
body.tpo.tpv-home .tpv-maincard { max-width: none !important; width: auto !important; display: grid !important;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.5fr); grid-template-areas: "vis title" "vis cards" "band band";
  column-gap: 28px; row-gap: 14px; align-items: start; }
body.tpo.tpv-home #tpvMain { max-width: none !important; }
body.tpo.tpv-home .tpv-maincard > #tpHead, body.tpo.tpv-home #startForm.tpo-start { display: contents !important; }
body.tpo.tpv-home #tpvVis { grid-area: vis; align-self: center; width: 100%; height: auto; margin: 0 !important; border-radius: 16px; }
body.tpo.tpv-home .tpv-maincard > h2 { grid-area: title; align-self: end; margin: 0 !important; }
body.tpo .tpo-cards { grid-area: cards; margin: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body.tpo .tpo-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface, #fff); min-width: 0; }
body.tpo .tpo-card p { margin: 0 0 6px !important; line-height: 1.5; border: 0 !important; padding: 0 !important; background: none !important; }
body.tpo .tpo-card p:last-child { margin-bottom: 0 !important; }
body.tpo .tpo-ch { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.12em; color: #8a6a00; margin-bottom: 6px; }
body.tpo .tpo-attention { border-color: #d98b80; }
body.tpo .tpo-attention .tpo-ch { color: #b4483b; }
body.tpo .tpo-band { grid-area: band; margin: 4px 0 0 !important; border: 1px solid var(--line); border-top: 4px solid #e8a500; border-radius: 14px; padding: 16px 20px;
  background: var(--surface, #fff); display: flex; flex-direction: column; gap: 10px; }
body.tpo .tpo-brow { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 20px; }
body.tpo .tpo-field { display: flex; flex-direction: column; gap: 6px; margin: 0 !important; min-width: 0; }
body.tpo .tpo-fname { flex: 2 1 300px; }
body.tpo .tpo-fcode { flex: 1 1 220px; }
body.tpo .tpo-field input { width: 100% !important; box-sizing: border-box; min-height: 48px; margin: 0 !important; }
body.tpo .tpo-brow > button { flex: 0 0 auto; min-height: 48px; margin: 0 !important; align-self: flex-end !important; }
body.tpo .tpo-field label { margin: 0 !important; }
body.tpo .tpo-band .suivi-rgpd { margin: 0 !important; font-size: 14px; }
@media (max-width: 860px) {
  body.tpo.tpv-home .tpv-maincard { grid-template-columns: minmax(0, 1fr); grid-template-areas: "vis" "title" "cards" "band"; }
  body.tpo .tpo-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ================= pendant le TP ================= */
body.tpo.tpv-run .tpo-desc, body.tpo.tpv-run .tpv-kick { display: none !important; }
body.tpo.tpv-run header.tpv-top { padding-top: 10px !important; padding-bottom: 10px !important; position: sticky; top: 0; z-index: 60; }
body.tpo.tpv-run header.tpv-top .tpv-in { align-items: center; flex-wrap: nowrap; }
body.tpo.tpv-run .tpo-tleft { flex: 0 1 auto; max-width: 30%; }
body.tpo.tpv-run .tpo-tleft h1 { font-size: 21px !important; line-height: 1.2; }
body.tpo.tpv-run .tpv-acc { display: none !important; }
body.tpo.tpv-run .tpo-work { display: flex; flex: 1 1 auto; align-items: center; gap: 16px; min-width: 0; }
body.tpo .tpo-steptxt, body.tpo .tpo-menubtn, body.tpo .tpv-prog { display: none !important; }

/* frise des étapes */
body.tpo .tpo-frise { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
body.tpo .tpo-frise #tpvNav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 2px 0; list-style: none; pointer-events: none; flex-wrap: nowrap; }
body.tpo .tpo-frise #tpvNav > li { display: flex; align-items: center; margin: 0; padding: 0; border: 0; background: none; }
body.tpo .tpo-frise #tpvNav > li .t, body.tpo .tpo-frise .tpv-nd { display: none !important; }
body.tpo .tpo-frise #tpvNav > li .d { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #5d7180; color: #c9d3da; font-size: 13.5px; box-sizing: border-box; background: transparent; margin: 0; }
body.tpo .tpo-frise #tpvNav > li.done .d { background: #2c4a3a; border-color: #4f9a6e; color: #bfe8cf; }
body.tpo .tpo-frise #tpvNav > li.cur .d { background: #ffd34d; border-color: #ffd34d; color: #0f1d29; font-weight: 700; }
body.tpo .tpo-frise #tpvNav > li .tpv-nb { all: unset; display: flex; }
body.tpo .tpo-frise #tpvNav > li.tpv-np { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #ffd34d; margin: 0 4px 0 10px; white-space: nowrap; }
body.tpo .tpo-frise #tpvNav > li.tpv-np:first-child { margin-left: 0; }
body.tpo .tpo-frise #tpvNav > li.tpv-np .t { display: inline-block !important; max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
body.tpo .tpo-frise #tpvNav > li.tpv-np .tpv-cnt { margin-left: 6px; color: #c9d3da; }

/* chrono */
body.tpo .tpo-clock { flex: none; }
body.tpo .tpo-clock .tpv-headslot { margin: 0 !important; }
body.tpo .tpo-clock .timer { margin: 0 !important; padding: 4px 12px !important; border: 1.5px solid #e8a500 !important; border-radius: 10px !important;
  background: transparent !important; color: #f3ede0 !important; min-width: 0 !important; box-shadow: none !important; }
body.tpo .tpo-clock .timer .trow { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 0 !important; }
body.tpo .tpo-clock .timer .tname { font-size: 13px; color: #c9d3da !important; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.tpo .tpo-clock .timer .tclock { font-size: 22px !important; color: #ffd34d !important; }
body.tpo .tpo-clock .timer .tbar { display: none !important; }
body.tpo .tpo-clock .timer .trow.small { font-size: 12px !important; color: #c9d3da !important; }
body.tpo .tpo-clock .timer .trow.small b { color: #fff; }
body.tpo .tpo-clock .penal { position: absolute; left: 16px; right: 16px; top: 100%; margin-top: 6px !important; z-index: 70; }

/* outils */
body.tpo .tpo-tools { display: flex; gap: 6px; flex: none; }
body.tpo .tpo-tool { min-width: 44px; height: 44px; border-radius: 10px; border: 1px solid #3a4f5e; background: transparent; color: #f3ede0;
  font: inherit; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 10px; }
body.tpo .tpo-tool:hover { border-color: #ffd34d; color: #ffd34d; }
body.tpo .tpo-help { border-color: #e8a500; color: #ffd34d; }

/* onglets */
body.tpo.tpv-run .tpo-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; position: sticky; top: var(--tpo-h, 64px); z-index: 55;
  background: var(--surface, #fff); border-bottom: 1px solid var(--line); padding: 0 16px; }
body.tpo .tpo-tab { position: relative; font: inherit; font-size: 17px; min-height: 54px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent;
  background: transparent; color: var(--muted); display: flex; align-items: center; gap: 8px; cursor: pointer; }
body.tpo .tpo-tab[aria-selected="true"] { color: var(--ink); font-weight: 700; border-bottom-color: #e8a500; }
body.tpo .tpo-tab:hover { color: var(--ink); }
body.tpo .tpo-dot { width: 9px; height: 9px; border-radius: 50%; background: #e8a500; }
body.tpo .tpo-libre { font-size: 12px; font-weight: 400; color: #2f5d7c; background: #e3eef6; border-radius: 99px; padding: 1px 8px; }

/* une seule vue à la fois */
body.tpo.tpv-run .page { display: block !important; }
body.tpo.tpv-run .lab { display: block !important; max-width: 1320px; margin: 0 auto; }
body.tpo.tpv-run[data-tpo="question"] .bench { display: none !important; }
body.tpo.tpv-run:not([data-tpo="question"]) aside.quests { display: none !important; }
body.tpo.tpv-run .bench [data-tpo-tab]:not(.tpo-vis) { display: none !important; }
body.tpo.tpv-run .bench { width: auto !important; max-width: none !important; }
body.tpo.tpv-run .bench .tri-lower { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important; }

/* onglet Question : la question en pleine largeur */
body.tpo.tpv-run aside.quests { position: static !important; width: auto !important; max-width: 1100px !important; max-height: none !important;
  overflow: visible !important; margin: 18px auto 0 !important; }
body.tpo.tpv-run .tpv-navcard { display: none !important; }
body.tpo.tpv-run .tpv-stepcard { border-top: 5px solid #e8a500 !important; }
body.tpo.tpv-run .tpv-stepcard fieldset.qcm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.tpo.tpv-run .tpv-stepcard fieldset.qcm > legend { grid-column: 1 / -1; float: left; width: 100%; margin-bottom: 2px; }
body.tpo.tpv-run .tpv-stepcard fieldset.qcm > label { margin: 0 !important; }
body.tpo .tpo-data { margin: 0 0 12px; }
body.tpo .tpo-data > summary { display: inline-block; cursor: pointer; font-size: 14.5px; border: 1px solid #e8a500; background: #fdf3d6; color: #6b5200;
  border-radius: 99px; padding: 5px 14px; list-style: none; }
body.tpo .tpo-data > summary::-webkit-details-marker { display: none; }
body.tpo .tpo-data[open] > summary { margin-bottom: 8px; }
body.tpo .tpo-data > :not(summary) { background: #fdf3d6; border-radius: 10px; padding: 10px 14px; margin: 0 !important; color: #3d3200; }

/* bandeau « étape en cours » des autres onglets */
body.tpo.tpv-run:not([data-tpo="question"]):not([data-tpo="paillasse"]) .tpo-strip { display: flex; }
body.tpo .tpo-strip { flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; background: #fdf3d6; border: 1px solid #ecd9a0;
  border-radius: 12px; padding: 9px 16px; margin: 16px 0 14px; font-size: 16px; color: #3d3200; }
body.tpo .tpo-back { font: inherit; font-weight: 700; color: #6b5200; border: 1px solid #e8a500; border-radius: 99px; padding: 5px 14px; background: #fff; cursor: pointer; }

/* onglet Paillasse (libre) */
body.tpo .tpo-pail { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
body.tpo .tpo-pnote { background: #e3eef6; border: 1px solid #c3d8e8; border-radius: 12px; padding: 11px 16px; color: #1d3a4f; line-height: 1.45; }
body.tpo .tpo-pcorr { margin-left: 8px; font-weight: 700; color: #1d5a87; }
body.tpo .tpo-prow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
body.tpo .tpo-pgrp { display: flex; flex-wrap: wrap; gap: 6px; }
body.tpo .tpo-pchip { font: inherit; font-size: 15.5px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface, #fff); color: var(--ink); cursor: pointer; }
body.tpo .tpo-pchip[aria-pressed="true"] { background: #10202c; border-color: #10202c; color: #ffd34d; font-weight: 700; }
body.tpo .tpo-pstage { height: min(80vh, 820px); min-height: 480px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #20262b; }
body.tpo .tpo-pstage iframe { width: 100%; height: 100%; border: 0; display: block; }

/* mode sombre */
:root[data-theme="dark"] body.tpo .tpo-strip { background: #2e2814; border-color: #6b5a22; color: #f3e3b0; }
:root[data-theme="dark"] body.tpo .tpo-back { background: transparent; color: #ffd34d; }
:root[data-theme="dark"] body.tpo .tpo-data > :not(summary) { background: #2e2814; color: #f3e3b0; }
:root[data-theme="dark"] body.tpo .tpo-data > summary { background: #2e2814; color: #ffd34d; }
:root[data-theme="dark"] body.tpo .tpo-pnote { background: #16293a; border-color: #2c4a63; color: #cfe2f1; }
:root[data-theme="dark"] body.tpo .tpo-pcorr { color: #8ec5f0; }
:root[data-theme="dark"] body.tpo .tpo-libre { background: #16293a; color: #8ec5f0; }
:root[data-theme="dark"] body.tpo .tpo-ch { color: #ffd34d; }
:root[data-theme="dark"] .tpr-res { background: #2e2814 !important; color: #f3e3b0 !important; }
:root[data-theme="dark"] .tpr-res .tpr-cur { color: #d9c88f !important; }
:root[data-theme="dark"] .tpr-lab { color: #ffd34d !important; }

/* écran de fin : toute la largeur */
body.tpo.tpv-end #tpvMain { max-width: none !important; }
body.tpo.tpv-end .tpv-maincard, body.tpo.tpv-end #tpvRecap { max-width: none !important; width: auto !important; }

/* ================= téléphone ================= */
@media (max-width: 820px) {
  body.tpo.tpv-run { padding-bottom: 70px; }
  body.tpo.tpv-run header.tpv-top .tpv-in { flex-wrap: nowrap; gap: 8px; }
  body.tpo.tpv-run .tpo-tleft { max-width: none; flex: 1 1 0; min-width: 0; gap: 2px; }
  body.tpo.tpv-run .tpo-tleft h1 { font-size: 16px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.tpo.tpv-run .tpo-work { flex: 0 0 auto; gap: 8px; }
  body.tpo.tpv-run .tpo-frise { display: none; }
  body.tpo.tpv-run .tpo-steptxt { display: block !important; color: #ffd34d; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
  body.tpo.tpv-run .tpo-clock .timer .tname, body.tpo.tpv-run .tpo-clock .timer .trow.small { display: none !important; }
  body.tpo.tpv-run .tpo-clock .timer .tclock { font-size: 19px !important; }
  body.tpo.tpv-run .tpo-menubtn { display: flex !important; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #3a4f5e; background: transparent; color: #f3ede0; align-items: center; justify-content: center; }
  body.tpo.tpv-run .tpo-tools { display: none; }
  body.tpo.tpv-run.tpo-menu .tpo-tools { display: flex; position: absolute; right: 12px; top: 100%; margin-top: 4px; background: #10202c; padding: 8px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
  body.tpo.tpv-run .tpo-tabs { position: fixed; top: auto; bottom: 0; left: 0; right: 0; flex-wrap: nowrap; gap: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 0; }
  body.tpo .tpo-tab { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 2px; font-size: 11px; min-height: 60px; padding: 2px 0 0; border-bottom: 0; border-top: 3px solid transparent; }
  body.tpo .tpo-tab[aria-selected="true"] { border-top-color: #e8a500; }
  body.tpo .tpo-tab .tpo-libre { display: none; }
  body.tpo .tpo-tab .tpo-dot { position: absolute; top: 6px; right: calc(50% - 18px); }
  body.tpo.tpv-run .tpv-stepcard fieldset.qcm { grid-template-columns: minmax(0, 1fr); }
  body.tpo.tpv-run aside.quests { margin-top: 10px !important; }
}
body.tpo .tpo-frise #tpvNav > li.tpv-np { display: block !important; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
body.tpo .tpo-frise #tpvNav > li.tpv-np .tpv-nb { display: inline !important; }

/* messages du banc affichés hors de leur bloc */
body.tpo .tpo-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; max-width: min(720px, 92vw); display: none; }
body.tpo .tpo-toast.on { display: block; }
body.tpo .tpo-toast .fb { margin: 0; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
@media (max-width: 820px) { body.tpo .tpo-toast { bottom: 76px; } }

/* relevés : le tableau ne repousse plus la courbe hors de l'écran (tableaux larges, ex. essai en charge) */
@media (min-width:1101px){body.tpo .relgrid{grid-template-columns:minmax(0,1.5fr) minmax(330px,1fr)}}
body.tpo .relleft{min-width:0}
body.tpo .relleft .btablewrap{overflow-x:auto}
body.tpo .relleft .btab input{min-width:0;width:100%;box-sizing:border-box}
/* lot 18 (18/11/2026) : bouton NOTER bien visible, choix du poste */
.tpo-noter{fill:#ffd34d!important;stroke:#14212b;stroke-width:2.4px;paint-order:stroke;font-weight:800!important;letter-spacing:.04em}
.bench [data-act$="note"],.bench [data-act*=":note"],[data-act$="note"].btn,[data-act*=":note"].btn{background:#ffd34d!important;color:#14212b!important;border:2px solid #b8860b!important;font-weight:800!important;box-shadow:0 0 0 3px rgba(255,211,77,.28)}
.tpo-postes{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 12px}
.tpo-postes[hidden]{display:none}
.tpo-plab{font-size:13px;color:var(--muted,#6b7280);margin-right:2px}
.tpo-pst{border:1px solid var(--line,#d6d0c4);background:var(--surface-2,#fff);color:inherit;border-radius:999px;padding:4px 11px;font-size:13px;cursor:pointer;font-weight:600}
.tpo-pst small{font-weight:400;opacity:.75}
.tpo-pst:hover:not([disabled]){border-color:#b8860b}
.tpo-pst.on{background:#ffd34d;color:#14212b;border-color:#b8860b;cursor:default}
.tpo-pst.fin{opacity:.55;cursor:default}
/* lot 18 bis : boutons des panneaux de commande plus fins */
.cbox > div{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.cbox .btn{padding:3px 9px!important;font-size:12.5px!important;font-weight:500!important;line-height:1.35!important;border-radius:6px!important;min-height:0!important;letter-spacing:0!important;box-shadow:none!important}
.cbox .btn[data-act$="note"],.cbox .btn[data-act*=":note"]{font-weight:700!important;border-width:1px!important;box-shadow:0 0 0 2px rgba(255,211,77,.25)!important}
.cbox select,.cbox input{font-size:12.5px}
.cbox .nlab{font-size:12px}
/* audit : le poste actif s'affiche en entier dans la frise de l'en-tête ; les autres postes restent abrégés (titre complet en infobulle) */
body.tpo .tpo-frise #tpvNav > li.tpv-np:not(.tpv-fold) { max-width: none !important; overflow: visible; flex-shrink: 0; }
body.tpo .tpo-frise #tpvNav > li.tpv-np.tpv-fold { flex-shrink: 1; min-width: 4.5em; }
body.tpo .tpo-frise #tpvNav > li.tpv-np.tpv-fold .t { max-width: 4.6em; }
/* consignes (25/11/2026) : intitulés « Consignes » et « À toi de répondre » de l'étape en cours */
body.tpo .tpo-cslab{display:flex;align-items:center;gap:7px;margin:12px 0 6px;font-size:13px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#8a5a00}
body.tpo .tpo-cslab svg{flex:none}
body.tpo p.tpo-cs{margin:0 0 12px;padding:12px 14px;border-left:4px solid #e8a500;border-radius:0 10px 10px 0;background:#fff8e1;color:var(--ink,#14212b)}
body.tpo .tpo-qlab{margin-top:16px;color:#1d5f8a}
:root[data-theme="dark"] body.tpo .tpo-cslab{color:#ffd34d}
:root[data-theme="dark"] body.tpo p.tpo-cs{background:#2e2814;color:#f3e3b0}
:root[data-theme="dark"] body.tpo .tpo-qlab{color:#8ec5f0}
@media (max-width:600px){body.tpo p.tpo-cs{padding:10px 11px}body.tpo .tpo-cslab{font-size:12.5px}}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body.tpo .tpo-cslab{color:#ffd34d}:root:not([data-theme="light"]) body.tpo p.tpo-cs{background:#2e2814;color:#f3e3b0}:root:not([data-theme="light"]) body.tpo .tpo-qlab{color:#8ec5f0}}

/* ===== Fiche mission (25/11/2026) : médaillon, « Ta mission », check-list « Avant de valider » ===== */
body.tpo li.step.tpo-fa{--fa-g:#e8a500;--fa-gt:#7a5200;--fa-ok:#1f8a4c;--fa-okb:#e6f5ec;--fa-cur:#b87500;--fa-curb:#fff3d6;--fa-td:#8a96a3;--fa-tdb:#eef1f4;--fa-cd:#fffdf6;--fa-ln:#e6dcc4;--fa-tx:var(--ink,#14212b);--fa-mu:#56636f}
:root[data-theme="dark"] body.tpo li.step.tpo-fa{--fa-gt:#ffd34d;--fa-ok:#5fd08e;--fa-okb:#16301f;--fa-cur:#ffc14d;--fa-curb:#33280f;--fa-td:#8592a0;--fa-tdb:#1d2731;--fa-cd:#18222c;--fa-ln:#33414e;--fa-tx:#ecf0f4;--fa-mu:#a8b4c0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body.tpo li.step.tpo-fa{--fa-gt:#ffd34d;--fa-ok:#5fd08e;--fa-okb:#16301f;--fa-cur:#ffc14d;--fa-curb:#33280f;--fa-td:#8592a0;--fa-tdb:#1d2731;--fa-cd:#18222c;--fa-ln:#33414e;--fa-tx:#ecf0f4;--fa-mu:#a8b4c0}}
body.tpo .tpo-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.tpo li.step.tpo-fa > .shead,body.tpo li.step.tpo-fa > p.tpo-fa-src,body.tpo li.step.tpo-fa > .autost{display:none!important}
body.tpo .tpv-stepcard.tpo-fa-on > .tpv-part{display:none}
body.tpo .tpo-fa-card{display:flex;align-items:center;gap:18px;margin:2px 0 4px;padding:16px 18px;border-radius:16px;background:linear-gradient(135deg,#0f1b26,#1d3247);color:#f3ead2;box-shadow:0 6px 18px rgba(15,27,38,.16)}
body.tpo .tpo-fa-medal{flex:none;width:74px;height:74px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe58a,#e8a500 60%,#a96f00);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#2b1d00;box-shadow:inset 0 -3px 0 rgba(0,0,0,.18),0 0 0 4px rgba(255,211,77,.22)}
body.tpo .tpo-fa-medal span{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;line-height:1.3}
body.tpo .tpo-fa-medal b{font-size:31px;line-height:1}
body.tpo .tpo-fa-ht{min-width:0;flex:1}
body.tpo .tpo-fa-poste{font-size:12px;letter-spacing:.11em;text-transform:uppercase;color:#ffd34d;font-weight:700;line-height:1.4}
body.tpo .tpo-fa-poste:empty{display:none}
body.tpo h3.tpo-fa-h{margin:4px 0 7px;font-size:21px;line-height:1.25;color:#fff;overflow-wrap:anywhere}
body.tpo .tpo-fa-pts{display:inline-block;font-size:12.5px;font-weight:700;padding:2px 10px;border-radius:999px;background:rgba(255,211,77,.16);color:#ffd34d}
body.tpo .tpo-fa-pts:empty{display:none}
body.tpo li.tpo-fa .tpo-fa-lab{color:var(--fa-gt);margin:16px 0 8px}
body.tpo .tpo-fa-acts{list-style:none;margin:0 0 4px;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
body.tpo .tpo-fa-acts > li{min-width:0;display:flex;align-items:flex-start;gap:12px;margin:0;padding:10px 14px;border-radius:12px;background:var(--fa-cd);border:1px solid var(--fa-ln);line-height:1.55;color:var(--fa-tx)}
body.tpo .tpo-fa-i{flex:none;width:36px;height:36px;border-radius:10px;background:#0f1b26;color:#ffd34d;display:flex;align-items:center;justify-content:center}
:root[data-theme="dark"] body.tpo .tpo-fa-i{background:#0b131b;box-shadow:inset 0 0 0 1px #2c3a47}
body.tpo .tpo-fa-n{flex:none;font-weight:800;color:var(--fa-gt);font-size:15px;margin-top:7px;min-width:14px;text-align:right}
body.tpo .tpo-fa-tx{min-width:0;flex:1;padding-top:6px;overflow-wrap:anywhere}
body.tpo .tpo-fa-tx .eqblock,body.tpo .tpo-fa-tx .katex-display,body.tpo .tpo-fa-tx math[display="block"]{max-width:100%;overflow-x:auto;overflow-y:hidden}
body.tpo .tpo-fa-check{margin:14px 0 4px;padding:14px 16px;border-radius:14px;border:2px solid var(--fa-g);background:var(--fa-cd);color:var(--fa-tx)}
body.tpo .tpo-fa-check.tpo-fa-full{border-color:var(--fa-ok)}
body.tpo .tpo-fa-ch{display:flex;align-items:center;gap:12px}
body.tpo .tpo-fa-ch .tpo-fa-lab{margin:0;flex:none}
body.tpo .tpo-fa-prog{flex:1;min-width:60px;height:10px;border-radius:999px;background:var(--fa-tdb);overflow:hidden}
body.tpo .tpo-fa-prog i{display:block;height:100%;background:linear-gradient(90deg,#2bb36a,#1f8a4c);border-radius:999px;transition:width .35s ease}
body.tpo .tpo-fa-num{flex:none;font-size:18px;color:var(--fa-gt)}
body.tpo .tpo-fa-tasks{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
body.tpo .tpo-fa-tasks li{display:flex;align-items:center;gap:12px;margin:0;padding:8px 10px;border-radius:10px;line-height:1.45}
body.tpo .tpo-fa-tt{min-width:0;flex:1;overflow-wrap:anywhere}
body.tpo .tpo-fa-tt small{font-weight:400;color:var(--fa-mu)}
body.tpo .tpo-fa-tasks li.st-ok{background:var(--fa-okb)}
body.tpo .tpo-fa-tasks li.st-ok .tpo-fa-tt{color:var(--fa-ok);text-decoration:line-through;text-decoration-thickness:1px}
body.tpo .tpo-fa-tasks li.st-cur{background:var(--fa-curb);font-weight:700}
body.tpo .tpo-fa-tasks li.st-todo{color:var(--fa-mu)}
body.tpo .tpo-fa-cb{flex:none;width:24px;height:24px;border-radius:7px;border:2px solid var(--fa-td);display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
body.tpo .tpo-fa-cb.ok{background:var(--fa-ok);border-color:var(--fa-ok);color:#fff}
:root[data-theme="dark"] body.tpo .tpo-fa-cb.ok{color:#0f1b26}
body.tpo .tpo-fa-cb.cur{border-color:var(--fa-cur)}
body.tpo .tpo-fa-cb.cur i{width:10px;height:10px;border-radius:50%;background:var(--fa-cur);animation:tpofa 1.4s ease-in-out infinite}
@keyframes tpofa{50%{opacity:.35;transform:scale(.7)}}
@media (prefers-reduced-motion:reduce){body.tpo .tpo-fa-cb.cur i{animation:none}body.tpo .tpo-fa-prog i{transition:none}}
body.tpo .tpo-fa-cnt{flex:none;font-size:13px;font-weight:800;padding:2px 9px;border-radius:999px;background:var(--fa-curb);color:var(--fa-cur);white-space:nowrap}
body.tpo .tpo-fa-live{display:flex;align-items:flex-start;gap:8px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--fa-ln);font-size:14.5px;line-height:1.5;color:var(--fa-tx)}
body.tpo .tpo-fa-live b{color:var(--fa-gt)}
body.tpo .tpo-fa-live.ok b{color:var(--fa-ok)}
body.tpo .tpo-fa-live svg{flex:none;margin-top:3px;color:var(--fa-gt)}
body.tpo .tpo-fa-live span{min-width:0;overflow-wrap:anywhere}
body.tpo li.tpo-fa .tpo-qlab{margin-top:20px}
body.tpo li.tpo-fa .btn.primary.tpo-fa-wait,body.tpo li.tpo-fa .btn.primary.tpo-fa-wait:hover{background:#d3d8de!important;color:#3f4b57!important;border-color:#c3c9d0!important;box-shadow:none!important}
:root[data-theme="dark"] body.tpo li.tpo-fa .btn.primary.tpo-fa-wait,:root[data-theme="dark"] body.tpo li.tpo-fa .btn.primary.tpo-fa-wait:hover{background:#2c3742!important;color:#b5c1cc!important;border-color:#3a4652!important}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body.tpo li.tpo-fa .btn.primary.tpo-fa-wait,:root:not([data-theme="light"]) body.tpo li.tpo-fa .btn.primary.tpo-fa-wait:hover{background:#2c3742!important;color:#b5c1cc!important;border-color:#3a4652!important}}
body.tpo li.tpo-fa .tpo-fa-bn{display:inline-block;margin-left:4px;font-size:12px;font-weight:700;background:rgba(0,0,0,.09);border-radius:999px;padding:2px 8px;vertical-align:1px;white-space:nowrap}
@media (max-width:700px){
  body.tpo .tpo-fa-card{gap:12px;padding:12px}
  body.tpo .tpo-fa-medal{width:56px;height:56px}
  body.tpo .tpo-fa-medal span{font-size:8.5px}
  body.tpo .tpo-fa-medal b{font-size:23px}
  body.tpo h3.tpo-fa-h{font-size:17px}
  body.tpo .tpo-fa-acts > li{padding:8px 10px;gap:9px}
  body.tpo .tpo-fa-i{width:30px;height:30px;border-radius:8px}
  body.tpo .tpo-fa-i svg{width:17px;height:17px}
  body.tpo .tpo-fa-n{display:none}
  body.tpo .tpo-fa-tx{padding-top:3px}
  body.tpo .tpo-fa-check{padding:12px}
  body.tpo .tpo-fa-ch{flex-wrap:wrap;gap:8px 12px}
  body.tpo .tpo-fa-prog{order:3;flex-basis:100%}
  body.tpo .tpo-fa-tasks li{gap:9px;padding:7px 8px}
}
@media print{body.tpo .tpo-fa-card{box-shadow:none}body.tpo .tpo-fa-cb.cur i{animation:none}}

/* ===== Fiche mission condensée, variante D (validée le 25/11/2026) : bandeau fin, consignes numérotées sans pictos, check-list sur une ligne ===== */
body.tpo li.step.tpo-fa .tpo-fa-card{gap:12px;padding:9px 14px;border-radius:12px;margin:0 0 2px}
body.tpo li.step.tpo-fa .tpo-fa-medal{width:42px;height:42px;box-shadow:inset 0 -2px 0 rgba(0,0,0,.18),0 0 0 3px rgba(255,211,77,.22)}
body.tpo li.step.tpo-fa .tpo-fa-medal span{font-size:7px;letter-spacing:.08em}
body.tpo li.step.tpo-fa .tpo-fa-medal b{font-size:19px}
body.tpo li.step.tpo-fa .tpo-fa-ht{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:10px}
body.tpo li.step.tpo-fa .tpo-fa-poste{flex-basis:100%;font-size:10.5px}
body.tpo li.step.tpo-fa h3.tpo-fa-h{margin:1px 0 0;font-size:17px}
body.tpo li.step.tpo-fa .tpo-fa-pts{font-size:11.5px;padding:1px 8px}
body.tpo li.step.tpo-fa .tpo-fa-lab{margin:10px 0 5px;font-size:11.5px}
body.tpo li.step.tpo-fa .tpo-fa-lab svg{width:15px;height:15px}
body.tpo li.step.tpo-fa .tpo-qlab{margin-top:12px}
body.tpo li.step.tpo-fa .tpo-fa-live{display:none}
body.tpo li.step.tpo-fa .tpo-fa-card{padding:7px 12px}
body.tpo li.step.tpo-fa .tpo-fa-medal{width:34px;height:34px}
body.tpo li.step.tpo-fa .tpo-fa-medal span{display:none}
body.tpo li.step.tpo-fa .tpo-fa-medal b{font-size:17px}
body.tpo li.step.tpo-fa .tpo-fa-poste{display:none}
body.tpo li.step.tpo-fa h3.tpo-fa-h{font-size:16px}
body.tpo li.step.tpo-fa .tpo-fa-acts{gap:0;padding:6px 12px 6px 12px;border-left:4px solid #e8a500;background:var(--fa-cd);border-radius:0 10px 10px 0}
body.tpo li.step.tpo-fa .tpo-fa-acts>li{border:0;background:none;padding:3px 0;gap:8px;line-height:1.45}
body.tpo li.step.tpo-fa .tpo-fa-i{display:none}
body.tpo li.step.tpo-fa .tpo-fa-n{margin-top:0;font-size:14px}
body.tpo li.step.tpo-fa .tpo-fa-n::after{content:"."}
body.tpo li.step.tpo-fa .tpo-fa-tx{padding-top:0}
body.tpo li.step.tpo-fa .tpo-fa-check{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:10px 0 2px;padding:6px 10px;border-width:1.5px;border-radius:10px}
body.tpo li.step.tpo-fa .tpo-fa-ch{gap:8px}
body.tpo li.step.tpo-fa .tpo-fa-ch .tpo-fa-lab{margin:0}
body.tpo li.step.tpo-fa .tpo-fa-prog{display:none}
body.tpo li.step.tpo-fa .tpo-fa-num{font-size:14px}
body.tpo li.step.tpo-fa .tpo-fa-tasks{display:flex;flex-wrap:wrap;gap:5px;margin:0}
body.tpo li.step.tpo-fa .tpo-fa-tasks li{padding:2px 9px 2px 4px;border-radius:999px;gap:5px;font-size:13px;border:1px solid var(--fa-ln);line-height:1.35}
body.tpo li.step.tpo-fa .tpo-fa-tasks .tpo-fa-cb{width:15px;height:15px;border-radius:50%}
body.tpo li.step.tpo-fa .tpo-fa-n{display:inline;min-width:16px}
@media (max-width:700px){body.tpo li.step.tpo-fa .tpo-fa-acts{padding:6px 10px}body.tpo li.step.tpo-fa .tpo-fa-check{padding:6px 8px}body.tpo li.step.tpo-fa h3.tpo-fa-h{font-size:15px}}

/* ===== Élève bloqué (25/11/2026) : « Ce qui bloque », « Montre-moi », « Passer cette étape », étapes passées ===== */
body.tpo{--tpb-o:#c2410c;--tpb-ob:#fff4ea;--tpb-ol:#f6c7a4}
:root[data-theme="dark"] body.tpo{--tpb-o:#ffa264;--tpb-ob:#33200f;--tpb-ol:#6b3d1c}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body.tpo{--tpb-o:#ffa264;--tpb-ob:#33200f;--tpb-ol:#6b3d1c}}
body.tpo li.step.tpo-fa .tpo-fa-check.tpb-alert{border-color:var(--tpb-o);animation:tpbSecoue .45s ease 1}
body.tpo li.step.tpo-fa .tpo-fa-check.tpb-alert .tpo-fa-tasks li.st-cur,body.tpo li.step.tpo-fa .tpo-fa-check.tpb-alert .tpo-fa-tasks li.st-todo{border-color:var(--tpb-o);background:var(--tpb-ob);color:var(--tpb-o);font-weight:600}
@keyframes tpbSecoue{0%,100%{transform:none}25%{transform:translateX(-4px)}50%{transform:translateX(4px)}75%{transform:translateX(-2px)}}
body.tpo .tpb-aide{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:8px 0 2px;padding:7px 10px;border-radius:10px;border:1.5px solid var(--tpb-ol);background:var(--tpb-ob);color:var(--ink,#14212b);font-size:14px;line-height:1.45}
:root[data-theme="dark"] body.tpo .tpb-aide{color:#f3e7dc}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body.tpo .tpb-aide{color:#f3e7dc}}
body.tpo .tpb-aide svg{flex:none;vertical-align:-3px}
body.tpo .tpb-l{display:flex;align-items:flex-start;gap:7px;flex:1 1 260px;min-width:0;overflow-wrap:anywhere}
body.tpo .tpb-l>svg{color:var(--tpb-o);margin-top:2px}
body.tpo .tpb-l em{font-style:normal;opacity:.75}
body.tpo .tpb-b{display:flex;flex-wrap:wrap;gap:6px}
body.tpo .tpb-btn{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:999px;border:1.5px solid var(--tpb-o);background:transparent;color:var(--tpb-o);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;line-height:1.3}
body.tpo .tpb-btn:hover{background:rgba(194,65,12,.08)}
body.tpo .tpb-btn.tpb-pass{background:var(--tpb-o);color:#fff}
:root[data-theme="dark"] body.tpo .tpb-btn.tpb-pass{color:#1a0e04}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body.tpo .tpb-btn.tpb-pass{color:#1a0e04}}
body.tpo .tpb-btn.tpb-pass:hover{filter:brightness(1.08)}
body.tpo .tpb-btn:focus-visible,body.tpo .tpb-lien:focus-visible,body.tpo .tpb-chip:focus-visible{outline:2px solid var(--tpb-o);outline-offset:2px}
body.tpo .tpb-cf{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding-top:6px;border-top:1px dashed var(--tpb-ol)}
body.tpo .tpb-cf p{margin:0;flex-basis:100%;font-size:13.5px}
body.tpo .tpb-lien{background:none;border:0;padding:2px 4px;color:inherit;text-decoration:underline;font:inherit;font-size:13.5px;cursor:pointer}
body.tpo .tpb-rv{flex-basis:100%;display:flex;gap:7px;align-items:flex-start;margin:0;font-size:13.5px}
body.tpo .tpb-rv svg{color:var(--tpb-o);margin-top:2px}
body.tpo .tpb-rev{display:flex;flex-wrap:wrap;align-items:center;gap:5px 7px;margin:0 0 8px;padding:5px 10px;border-radius:10px;border:1px dashed var(--tpb-ol);background:var(--tpb-ob);font-size:13px}
body.tpo .tpb-rl{display:inline-flex;align-items:center;gap:5px;font-weight:700;color:var(--tpb-o)}
body.tpo .tpb-rh{opacity:.75;font-size:12.5px}
body.tpo .tpb-chip{border:1.5px solid var(--tpb-o);background:transparent;color:var(--tpb-o);border-radius:999px;padding:1px 10px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
body.tpo .tpb-chip.on{background:var(--tpb-o);color:#fff;cursor:default}
body.tpo li.step.tpb-pa .spill{color:var(--tpb-o)}
body.tpo .tpb-bpa{color:var(--tpb-o);font-weight:600}
.tpb-ring{position:fixed;z-index:2147483000;pointer-events:none;border:3px solid #e8590c;border-radius:10px;box-shadow:0 0 0 4px rgba(232,89,12,.25);animation:tpbAnneau .8s ease-in-out infinite}
@keyframes tpbAnneau{0%,100%{box-shadow:0 0 0 3px rgba(232,89,12,.35)}50%{box-shadow:0 0 0 10px rgba(232,89,12,0)}}
.tpb-toast{position:fixed;left:50%;bottom:18px;transform:translate(-50%,20px);max-width:min(560px,calc(100vw - 32px));padding:9px 16px;border-radius:12px;background:#14212b;color:#fff;font-size:14px;line-height:1.4;box-shadow:0 8px 24px rgba(0,0,0,.25);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:2147482000}
.tpb-toast.on{opacity:1;transform:translate(-50%,0)}
@media (prefers-reduced-motion:reduce){body.tpo li.step.tpo-fa .tpo-fa-check.tpb-alert,.tpb-ring{animation:none}}
@media (max-width:600px){body.tpo .tpb-aide{font-size:13.5px;padding:7px 8px}body.tpo .tpb-b{width:100%}body.tpo .tpb-btn{flex:1 1 auto;justify-content:center}}
@media print{.tpb-aide,.tpb-rev,.tpb-ring,.tpb-toast{display:none!important}}
body.tpo #tpvNav li.tpb-pa{cursor:pointer}
body.tpo #tpvNav li.tpb-pa .d{box-shadow:inset 0 0 0 2px #e8590c;color:#e8590c}

/* en-tête téléphone (25/11/2026) : le bandeau « Tu n'es pas identifié(e) » ne garde que son bouton pour ne plus déborder sur le numéro d'étape */
@media (max-width:700px){body.tpo .tpo-clock .fin-mini{margin:0 0 4px!important;padding:2px 6px!important;gap:6px!important;justify-content:center}body.tpo .tpo-clock .fin-mini p{display:none}body.tpo .tpo-clock .fin-mini .fin-btn{padding:3px 10px;font-size:12.5px}}

/* ===== Reprendre plus tard (26/11/2026) : bouton, fenêtre du code, lien « J'ai un code de reprise » ===== */
body.tpo .trp-btn{display:inline-flex;align-items:center;gap:6px}
body.tpo .reset:has(.trp-btn){display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.trp-ov{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,18,26,.62)}
.trp-card{width:min(520px,100%);max-height:calc(100vh - 32px);overflow:auto;padding:22px 24px;border-radius:18px;background:#fffdf6;color:#14212b;border:2px solid #e8a500;box-shadow:0 18px 50px rgba(0,0,0,.35)}
.trp-card h2{display:flex;align-items:center;gap:9px;margin:0 0 10px;font-size:21px;line-height:1.25;color:#14212b}
.trp-card p{margin:0 0 10px;line-height:1.5}
.trp-card ul{margin:0 0 12px;padding-left:20px;line-height:1.5}
.trp-act{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}
.trp-note{font-weight:700;color:#7a5200}
.trp-code{margin:8px 0 6px!important;padding:14px 10px;border-radius:14px;background:#0f1b26;color:#ffd34d;text-align:center;font:700 clamp(30px,9vw,46px)/1.1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.12em;user-select:all;overflow-wrap:anywhere}
.trp-aide{font-size:14px;color:#56636f;margin-top:12px!important}
body.tpo .trp-rep{margin:10px 0 0}
body.tpo .trp-open{display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:14px;font-weight:600;padding:5px 13px;border-radius:999px;border:1px solid var(--line,#c8c0ae);background:transparent;color:inherit;cursor:pointer}
body.tpo .trp-open:hover{border-color:#b8860b}
body.tpo .trp-form{margin:10px 0 0;padding:16px 18px;border-radius:16px;border:1.5px solid #e8a500;background:#fffaf0;box-sizing:border-box;width:100%}
body.tpo .trp-form label{display:block;font-weight:700;margin:0 0 6px}
body.tpo .trp-row{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center}
body.tpo .trp-row .btn{flex:none;white-space:nowrap}body.tpo .trp-row input{flex:1 1 200px;min-width:0;font:600 18px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.1em;text-transform:uppercase;padding:9px 12px;border-radius:10px;border:1px solid var(--line,#c8c0ae);background:#fff;color:#14212b}
body.tpo .trp-msg{margin:9px 0 0;font-size:14px;line-height:1.45}
body.tpo .trp-msg.ko{color:#a12a2a}body.tpo .trp-msg.wait{color:#56636f}
body.tpo .trp-msg a{color:inherit;font-weight:700}
body.tpo .trp-lk{font:inherit;font-weight:700;padding:3px 10px;margin-left:4px;border-radius:999px;border:1px solid currentColor;background:transparent;color:inherit;cursor:pointer}
body.tpo .trp-dern{margin:8px 0 0;font-size:13.5px;color:var(--muted,#56636f)}
body.tpo .trp-dern b{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;color:var(--ink,#14212b)}
:root[data-theme="dark"] .trp-card{background:#18222c;color:#ecf0f4;border-color:#c99000}
:root[data-theme="dark"] .trp-card h2{color:#fff}:root[data-theme="dark"] .trp-note{color:#ffd34d}:root[data-theme="dark"] .trp-aide{color:#a8b4c0}
:root[data-theme="dark"] .trp-code{background:#0b131b;box-shadow:inset 0 0 0 1px #2c3a47}
:root[data-theme="dark"] body.tpo .trp-form{background:#1f1a0e;border-color:#c99000}
:root[data-theme="dark"] body.tpo .trp-row input{background:#0f1820;color:#ecf0f4;border-color:#33414e}
:root[data-theme="dark"] body.tpo .trp-msg.ko{color:#ff9b9b}:root[data-theme="dark"] body.tpo .trp-msg.wait{color:#a8b4c0}
:root[data-theme="dark"] body.tpo .trp-dern b{color:#ffd34d}
@media (prefers-color-scheme:dark){
:root:not([data-theme="light"]) .trp-card{background:#18222c;color:#ecf0f4;border-color:#c99000}
:root:not([data-theme="light"]) .trp-card h2{color:#fff}:root:not([data-theme="light"]) .trp-note{color:#ffd34d}:root:not([data-theme="light"]) .trp-aide{color:#a8b4c0}
:root:not([data-theme="light"]) .trp-code{background:#0b131b;box-shadow:inset 0 0 0 1px #2c3a47}
:root:not([data-theme="light"]) body.tpo .trp-form{background:#1f1a0e;border-color:#c99000}
:root:not([data-theme="light"]) body.tpo .trp-row input{background:#0f1820;color:#ecf0f4;border-color:#33414e}
:root:not([data-theme="light"]) body.tpo .trp-msg.ko{color:#ff9b9b}:root:not([data-theme="light"]) body.tpo .trp-msg.wait{color:#a8b4c0}
:root:not([data-theme="light"]) body.tpo .trp-dern b{color:#ffd34d}}
@media (max-width:600px){.trp-card{padding:18px 16px}.trp-card h2{font-size:19px}body.tpo .trp-row .btn{flex:1 1 100%}}
@media print{.trp-ov{display:none}}
