/* Le reste des ordres : la boucle, la zone, la cargaison, le poste, le pillage. Le reste vient de carte, suivi, groupe. */
.secteur.clic-boucle { cursor: cell; }
.secteur .vue-sect { fill: color-mix(in srgb, var(--peuple) 4%, transparent); stroke: var(--peuple); stroke-opacity: 0.25; stroke-dasharray: 2 6; }
.secteur .portee { fill: none; stroke: var(--signal); stroke-opacity: 0.35; stroke-dasharray: 1 6; stroke-width: 1.4; }
.secteur .boucle { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 7 5; }
.secteur .boucle.tenue { stroke-dasharray: none; stroke-opacity: 0.85; }
.secteur .boucle.hors { stroke: #8a8f99; stroke-opacity: 0.8; }
.secteur .point-boucle { fill: #050506; stroke: var(--signal); stroke-width: 1.6; }
.secteur .point-boucle.vise { stroke: var(--encre); stroke-width: 2.2; }
.secteur text.num { font-size: 10px; font-weight: 600; letter-spacing: 0; fill: var(--encre); pointer-events: none; }
.secteur .zone-vue { fill: color-mix(in srgb, var(--peuple) 22%, #050506); }
.secteur .zone-garde { fill: none; stroke: var(--peuple); stroke-width: 1.8; }
.secteur .zone-garde.proposee { stroke: var(--signal); stroke-dasharray: 6 4; }
.secteur .zone-garde.alerte { stroke: var(--alerte); }
.secteur .poste { fill: none; stroke: var(--signal); stroke-width: 1.6; }
.secteur .vise-pointeur { fill: none; stroke: var(--encre); stroke-dasharray: 2 3; }
.secteur .pillage-anneau { fill: none; stroke-width: 1.5; } .secteur .pillage-anneau.signal { stroke: var(--signal); } .secteur .pillage-anneau.alerte { stroke: var(--alerte); }
.secteur .pillage-anneau.lent { stroke-opacity: 0.45; stroke-dasharray: 3 5; animation: armee-tourne 9s linear infinite; transform-box: fill-box; transform-origin: center; }

/* La boucle, point par point. */
.pt-liste { display: flex; flex-direction: column; gap: 3px; }
.pt-ligne { display: grid; grid-template-columns: 22px minmax(0, 1fr) 24px 24px 24px; gap: 6px; align-items: center; padding: 4px 6px; background: color-mix(in srgb, var(--creux) 40%, transparent); font-size: 12.5px; color: var(--encre); }
.pt-ligne > b { width: 20px; height: 20px; display: grid; place-items: center; font-size: 10.5px; box-shadow: inset 0 0 0 1px var(--signal); }
.pt-ligne span { display: flex; flex-direction: column; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-ligne small { font-size: 10px; color: var(--efface); }
.pt-ligne button { all: unset; cursor: pointer; text-align: center; font-size: 12px; color: var(--discret); }
.pt-ligne button:hover { color: var(--encre); } .pt-ligne button[disabled] { opacity: 0.3; cursor: default; }

/* La cargaison, matière par matière. */
.groupe__cols.cargo { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 1fr); }
.mats { display: flex; flex-direction: column; gap: 3px; }
.mat { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto 70px 78px; gap: 8px; align-items: center; padding: 3px 6px; background: color-mix(in srgb, var(--creux) 40%, transparent); }
.mat > i { width: 8px; height: 22px; }
.mat span { display: flex; flex-direction: column; font-size: 12.5px; color: var(--encre); min-width: 0; white-space: nowrap; }
.mat small { font-size: 10px; color: var(--efface); overflow: hidden; text-overflow: ellipsis; }
.mat .reglage .val { width: 58px; } .mat .reglage .compteur button { width: 24px; }
.mat__barre { height: 4px; background: color-mix(in srgb, var(--gris) 14%, transparent); position: relative; } .mat__barre u { position: absolute; inset: 0 auto 0 0; }
.mat em { font-style: normal; font-size: 11px; color: var(--discret); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; } .mat em.alerte { color: var(--alerte); }
.mat__total { display: flex; justify-content: space-between; gap: 10px; padding: 5px 8px; font-size: 12px; color: var(--discret); box-shadow: inset 2px 0 0 var(--gris); }
.mat__total b { color: var(--encre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mat__total.alerte { box-shadow: inset 2px 0 0 var(--alerte); } .mat__total.alerte span, .mat__total.alerte b { color: var(--alerte); }
.alerte-ligne { margin: 0; font-size: 12px; line-height: 1.4; color: var(--alerte); }
.compose .geste:has(.plaque[disabled]) { opacity: 0.45; }

/* Les étiquettes de cette page. */
.suit.reste-etiq { width: 380px; }
.suit.reste-etiq.large { width: 440px; }
.suit .suit__etat.alerte { color: var(--alerte); }
.suit__gestes.empile { display: grid; grid-template-columns: 1fr; } .suit__gestes.empile .geste + .geste { margin-top: 8px; }
.suit.reste-etiq .app-lecture b { white-space: nowrap; }
.pil-cales { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--efface); }
.pil-cales b { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--encre); font-variant-numeric: tabular-nums; }
.pil-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pil-camp { display: flex; flex-direction: column; gap: 2px; }
.pil-camp > small { font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--efface); margin-bottom: 2px; }
.pil-camp > div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 8px; font-size: 12.5px; color: var(--discret); background: color-mix(in srgb, var(--creux) 40%, transparent); }
.pil-camp b { color: var(--encre); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Le poste en main : la part qui part. */
.prise.groupe-main .reglage .val { width: 64px; }
.prise.groupe-main > i { width: 44px; height: 34px; background-size: cover; background-position: center; }
.groupe__cols.cargo { grid-template-columns: 210px minmax(0, 1.35fr) minmax(0, 1.05fr); }
.mat { grid-template-columns: 8px minmax(92px, 1fr) auto 76px; }
.transport.haut { grid-template-columns: 40px minmax(0, 1fr); }
.groupe__cols.cargo .geste .plaque > span { letter-spacing: 1.8px; }
.transport.pris { box-shadow: inset 0 0 0 1px var(--signal); background: color-mix(in srgb, var(--signal) 9%, transparent); }
