/* Maquette des ordres et du suivi : seuls les objets qui n'existent pas encore. Tout descend des jetons de hud.css. */
.fond-carte { display: none; }
.secteur { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; background: radial-gradient(ellipse at 40% 45%, #0b0d12 0%, #050506 70%); }
.secteur .etoile { fill: #c9d2e0; }
.secteur .astre { fill: var(--encre); }
.secteur .astre.mien { fill: var(--peuple); }
.secteur .halo { fill: none; stroke: var(--structureVive); stroke-width: 1; }
.secteur .halo.mien { stroke: var(--peuple); stroke-opacity: 0.6; }
.secteur .halo.cible { stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 3 3; }
.secteur text { font-family: var(--texte); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; fill: var(--discret); }
.secteur text.mien { fill: var(--encre); }
.secteur .route { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 7 5; }
.secteur .route.faite { stroke-dasharray: none; stroke-opacity: 0.9; }
.secteur .route.proposee { stroke-opacity: 0.75; }
.secteur .vaisseau { fill: var(--signal); }
.secteur .vaisseau-halo { fill: none; stroke: var(--signal); stroke-opacity: 0.5; }
.secteur .alerte { fill: var(--alerte); }

/* La fenêtre d'ordre posée à droite de la carte (A). */
.fenetre.ordre .corps { overflow: auto; }

/* ── B · l'ordre dans le moniteur : la ligne à envoyer, le volet qui la compose ─────────── */
.mo__ligne.brouillon { background: color-mix(in srgb, var(--signal) 6%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--signal) 55%, transparent); }
.mo__ligne.brouillon .mo__vignette { opacity: 0.7; }
.mo.large { grid-template-columns: minmax(0, 1fr) 360px; }
.mo__volet h3 { margin: 0; font-family: var(--texte); font-size: 10px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--signal); }
.mo__volet .app-departs { display: flex; flex-direction: column; gap: 3px; }
.mo__volet .app-depart-carte { grid-template-columns: 52px minmax(0, 1fr) auto; }
.mo__volet .app-depart-carte > i { height: 32px; }
.mo__volet .app-route { width: 100%; }
.volet-pas { display: flex; flex-direction: column; gap: 6px; }

/* ── C · la phrase ──────────────────────────────────────────────────────── */
.phrase {
  position: fixed; z-index: 20; left: 50%; bottom: 64px; transform: translateX(-50%); width: min(980px, calc(100vw - 520px)); padding: 14px 18px 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: color-mix(in srgb, var(--panneau) 94%, transparent); box-shadow: inset 0 0 0 1px var(--structureVive), inset 0 2px 0 var(--signal);
}
.phrase__dit { margin: 0; font-size: 19px; line-height: 1.7; color: var(--encre); }
.phrase__dit .verbe { font-weight: 600; color: var(--signal); }
.puce-choix {
  all: unset; cursor: pointer; display: inline-flex; align-items: baseline; gap: 6px; padding: 0 8px; margin: 0 2px;
  background: color-mix(in srgb, var(--signal) 10%, transparent); box-shadow: inset 0 -1px 0 var(--signal); color: var(--encre); font-weight: 600;
}
.puce-choix::after { content: '▾'; font-size: 11px; color: var(--signal); }
.puce-choix.vide { color: var(--signal); font-weight: 400; font-style: italic; }
.puce-choix:hover { background: color-mix(in srgb, var(--signal) 18%, transparent); }
.phrase__chiffres { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12.5px; color: var(--discret); }
.phrase__chiffres b { color: var(--encre); font-weight: 600; font-variant-numeric: tabular-nums; }
.phrase__chiffres b.signal { color: var(--signal); }
.phrase__pied { display: flex; align-items: center; gap: 12px; }
.phrase__pied .geste { width: 260px; }
.phrase__pied .note { margin: 0 0 0 auto; max-width: 420px; }
.phrase__offres { display: flex; flex-wrap: wrap; gap: 6px; }
.phrase__offres .app-depart-carte { width: 300px; }

.etiquette {
  position: fixed; z-index: 20; width: 330px; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px;
  background: color-mix(in srgb, var(--panneau) 94%, transparent); box-shadow: inset 0 0 0 1px var(--structureVive), inset 2px 0 0 var(--signal);
}
.etiquette.alerte { box-shadow: inset 0 0 0 1px var(--structureVive), inset 2px 0 0 var(--alerte); }
.etiquette::before { content: ''; position: absolute; left: -26px; top: 18px; width: 26px; height: 1px; background: var(--signal); }
.etiquette__dit { margin: 0; font-size: 14px; line-height: 1.45; color: var(--encre); }
.etiquette__dit b { font-weight: 600; }
.etiquette__etat { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--signal); }
.etiquette.alerte .etiquette__etat { color: var(--alerte); }
.etiquette__gestes { display: flex; gap: 8px; }
.etiquette__gestes .geste { flex: 1; }
.etiquette .crans > i { height: 3px; }
.maquette { top: 48px; max-height: calc(100vh - 120px); }
.flo-jeton { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 52px auto; gap: 8px; align-items: center; padding: 3px 10px 3px 3px; background: color-mix(in srgb, var(--creux) 55%, transparent); font-size: 12.5px; color: var(--encre); }
.flo-jeton.choisi { box-shadow: inset 0 0 0 1px var(--signal); }
.app-ordre .flo-jetons, .mo__volet .flo-jetons { margin: 2px 0 6px; }
.phrase, .etiquette { font-family: var(--texte); text-transform: none; letter-spacing: normal; }
.etiquette__etat { letter-spacing: 1.4px; text-transform: uppercase; }
.etiquette .flo-marche { text-transform: none; letter-spacing: normal; }
.os__tenue > .fenetre { transition: none !important; }
