/* SR-CONCEPT Logistique : interface de suivi */
:root {
  --ink: #17232e;
  --muted: #5c6a78;
  --line: #d8dfe6;
  --bg: #eef2f4;
  --surface: #ffffff;
  --accent: #0b6e69;
  --accent-dark: #08514d;
  --side: #10302e;
  --danger: #b42318;
  --radius: 8px;
  --st-nouvelle: #3156d3;
  --st-colis_pret: #a96800;
  --st-expediee: #6d3fc0;
  --st-lcr_envoyee: #0b6b85;
  --st-lcr_payee: #16753f;
  --st-lcr_impayee: #c0362c;
  --st-retour: #8a5a2b;
  --st-annulee: #6b7480;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { font-size: 15px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.45;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, white); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6rem; }
h1 { font-size: 1.55rem; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: 1.05rem; font-weight: 650; }
h3 { font-size: .95rem; font-weight: 650; }
p { margin: 0 0 .7rem; }
.muted { color: var(--muted); }
.text-danger { color: var(--danger); }
.small { font-size: .85rem; }
.num, td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Structure */
body.with-nav { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.sidebar { background: var(--side); color: #d9e7e5; padding: 1.2rem .9rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { display: block; color: #fff; font-weight: 700; text-decoration: none; font-size: 1.05rem; margin-bottom: 1.4rem; padding: 0 .5rem; }
.sidebar nav a { display: block; color: #cfe0dd; text-decoration: none; padding: .45rem .6rem; border-radius: 6px; margin-bottom: 2px; }
.sidebar nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 3px 0 0 #5fd0c6; }
.sidebar .me { margin-top: 1.6rem; padding: .8rem .6rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; display: grid; gap: .3rem; }
.sidebar .me a { padding: 0; color: #fff; }
.sidebar .me .muted { color: #9fb8b4; }
.nav-toggle { display: none; }
.linklike { background: none; border: 0; padding: 0; color: #9fd8d1; cursor: pointer; font: inherit; text-decoration: underline; }
.main { padding: 1.6rem 2rem 3rem; max-width: 1400px; width: 100%; min-width: 0; }
body.guest .main { max-width: 440px; margin: 8vh auto; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.page-head h1 { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: 0; }
.page-head .sub { color: var(--muted); margin: .35rem 0 0; }
.crumb { margin: 0 0 .25rem; font-size: .88rem; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.lede { color: var(--muted); margin: -.4rem 0 1.2rem; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.panel.narrow { max-width: 620px; }
.stack > * + * { margin-top: .8rem; }
.stack > .panel + .panel { margin-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 1rem; align-items: start; }
.split > .stack > * + * { margin-top: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid2 .panel { margin: 0; }
.grid2 .span-all { grid-column: 1 / -1; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1rem 0; }
.empty { color: var(--muted); margin: .2rem 0; }
.hint { color: var(--muted); font-size: .86rem; margin: .5rem 0 0; }
.note { background: #f6f8f9; border-left: 3px solid var(--line); padding: .5rem .7rem; margin-top: .8rem; }
.addr { line-height: 1.5; }

/* Formulaires */
label { display: grid; gap: .25rem; font-size: .88rem; color: var(--muted); font-weight: 550; }
input, select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid #c5ced7; border-radius: 6px;
  padding: .45rem .55rem; width: 100%; min-width: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
input[type="checkbox"] { width: auto; accent-color: var(--accent); }
input:disabled { background: #f1f3f5; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.toggle { display: flex; align-items: center; gap: .45rem; color: var(--ink); font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-end; margin-bottom: 1rem; }
.filters label { min-width: 160px; }
.filters label:first-of-type { flex: 1 1 260px; }
.form-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.form-actions.sticky { position: sticky; bottom: 0; background: var(--bg); padding: .8rem 0; border-top: 1px solid var(--line); }
.w-qty { width: 6rem; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; }
.pkg input { width: 4.6rem; padding: .3rem .4rem; }
.pkg input.w { width: 5.2rem; }
.w-price { width: 8rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  font: inherit; font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer;
  padding: .48rem .9rem; border-radius: 6px; border: 1px solid #c2ccd5; background: #fff; color: var(--ink);
}
.btn:hover { background: #f3f6f8; color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, white); }
.btn.small { padding: .25rem .55rem; font-size: .84rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Messages */
.flash { padding: .65rem .85rem; border-radius: 6px; margin-bottom: .8rem; border: 1px solid; }
.flash-ok { background: #e9f6ee; border-color: #b6dfc5; color: #0f5530; }
.flash-error { background: #fdecea; border-color: #f2bdb7; color: #8a1c12; }
.flash-warn { background: #fff5e0; border-color: #f0d394; color: #6b4300; }
.flash-info { background: #e8f1f8; border-color: #bcd4e8; color: #134467; }
.flash code { word-break: break-all; }

/* Tableaux */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .82rem; padding: .5rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: .55rem .6rem; border-bottom: 1px solid #edf0f3; vertical-align: top; }
.table tbody tr:hover { background: #f7fafa; }
.table tfoot td { border-bottom: 0; padding-top: .45rem; }
.table tfoot tr.total td { font-weight: 700; border-top: 2px solid var(--ink); }
.table.compact td, .table.compact th { padding: .35rem .5rem; }
.table .chk { width: 2rem; }
tr.inactive td { color: var(--muted); }
.diff del { color: #8a1c12; text-decoration: line-through; }
.diff ins { color: #0f5530; text-decoration: none; font-weight: 600; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0 0 .6rem; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; word-break: break-word; }
table.calc { width: 100%; border-collapse: collapse; }
table.calc th { text-align: left; font-weight: 500; padding: .35rem 0; }
table.calc td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding: .35rem 0 .35rem 1rem; }
table.calc tr.sub th, table.calc tr.sub td { color: var(--muted); font-size: .9rem; padding-left: 1rem; }
table.calc tr.grand th, table.calc tr.grand td { font-weight: 700; border-top: 1px solid var(--line); font-size: 1.05rem; }

/* Statuts */
.badge {
  --c: #5c6a78;
  display: inline-block; font-size: .8rem; font-weight: 600; line-height: 1.3; padding: .12rem .5rem; border-radius: 999px;
  color: var(--c); background: color-mix(in srgb, var(--c) 11%, white); border: 1px solid color-mix(in srgb, var(--c) 28%, white);
  white-space: nowrap; text-decoration: none;
}
h1 .badge { font-size: .85rem; }
.st-nouvelle { --c: var(--st-nouvelle); }
.st-colis_pret { --c: var(--st-colis_pret); }
.st-expediee { --c: var(--st-expediee); }
.st-lcr_envoyee { --c: var(--st-lcr_envoyee); }
.st-lcr_payee { --c: var(--st-lcr_payee); }
.st-lcr_impayee { --c: var(--st-lcr_impayee); }
.st-retour { --c: var(--st-retour); }
.st-annulee { --c: var(--st-annulee); }

/* Le parcours d'une commande, élément central de l'interface */
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pipeline a { position: relative; display: grid; gap: .1rem; padding: 1rem 1rem .85rem 1.1rem; color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); }
.pipeline a:last-child { border-right: 0; }
.pipeline a::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.pipeline a:not(:last-child)::after {
  content: ""; position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; z-index: 1;
  background: var(--surface); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: translateY(-50%) rotate(45deg);
}
.pipeline a:hover, .pipeline a.on { background: color-mix(in srgb, var(--c) 7%, white); }
.pipeline a.on .l { color: var(--c); font-weight: 650; }
.pipeline .n { font-size: 1.9rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--c); line-height: 1.1; }
.pipeline .l { font-size: .88rem; color: var(--muted); }
.pipeline-extra { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin: .6rem 0 1.2rem; }
.pipeline-extra .badge.on { background: var(--c); color: #fff; }
.pipeline-extra .clear { font-size: .88rem; margin-left: .4rem; }

.tracker { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem .5rem .8rem; }
.tracker li { position: relative; display: grid; justify-items: center; text-align: center; gap: .2rem; padding: 0 .3rem; }
.tracker li::before { content: ""; position: absolute; top: 9px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.tracker li:first-child::before { display: none; }
.tracker li.done::before { background: var(--c); }
.tracker .dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.tracker li.done .dot { background: var(--c); border-color: var(--c); }
.tracker li.current .dot { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent); }
.tracker .l { font-size: .86rem; font-weight: 600; color: var(--muted); }
.tracker li.done .l { color: var(--ink); }
.tracker .d { font-size: .8rem; color: var(--muted); min-height: 1.1em; font-variant-numeric: tabular-nums; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid #edf0f3; font-size: .9rem; }
.timeline .when { color: var(--muted); font-variant-numeric: tabular-nums; }

.bulkbar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; padding: .7rem .8rem; margin-bottom: .6rem; background: #f6f8f9; border: 1px dashed var(--line); border-radius: var(--radius); }
.bulkbar.active { background: color-mix(in srgb, var(--accent) 6%, white); border-style: solid; border-color: color-mix(in srgb, var(--accent) 30%, white); }
.bulkbar label { min-width: 180px; }
.bulkbar > span { align-self: center; }

.checklist { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; }
.checklist li.warn { color: #6b4300; }

.dropzone { display: grid; gap: .8rem; }
.drop { border: 2px dashed #b9c6d1; border-radius: var(--radius); padding: 1.6rem; text-align: center; color: var(--ink); background: #f8fafb; }
.drop-title { font-size: 1.05rem; font-weight: 650; }
.drop input { max-width: 420px; margin: .6rem auto 0; background: transparent; border: 0; }
.import-item.blocked { border-color: #f2bdb7; }
.import-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: .6rem; }
.import-head h2 .muted { font-weight: 400; font-size: .85rem; margin-left: .4rem; }
.import-head .sub { color: var(--muted); margin: 0; }
details summary { cursor: pointer; padding: .3rem 0; }
.addr-item form { margin: .5rem 0 1rem; }

.auth { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.auth h1 { font-size: 1.3rem; margin-bottom: 1rem; }

/* Tableau de bord : chiffre d'affaires */
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; }
.panel-head h2 { margin: 0; }
.inline-filter select { width: auto; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.kpi { display: grid; gap: .15rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfc; }
.kpi-l { font-size: .84rem; color: var(--muted); }
.kpi-v { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kpi-s { font-size: .8rem; color: var(--muted); }
.chart { margin: 0; }
.chart-legend { display: flex; gap: 1rem; font-size: .84rem; color: var(--muted); margin-bottom: .5rem; }
.key::before { content: ""; display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; margin-right: .35rem; vertical-align: -1px; }
.key-invoiced::before { background: var(--accent); }
.key-paid::before { background: #8fcfc8; }
.chart-body { display: grid; grid-template-columns: auto 1fr; gap: .5rem; }
.chart-axis { display: flex; flex-direction: column; justify-content: space-between; font-size: .75rem; color: var(--muted); height: 200px; text-align: right; font-variant-numeric: tabular-nums; }
.chart-plot {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .3rem; align-items: end;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 50%; border-bottom: 1px solid var(--ink);
  height: 200px; position: relative;
}
.chart-col { display: grid; grid-template-rows: 1fr; height: 100%; position: relative; }
.chart-col .bars { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 100%; }
.bar { display: block; width: min(16px, 40%); border-radius: 3px 3px 0 0; min-height: 1px; }
.bar-invoiced { background: var(--accent); }
.bar-paid { background: #8fcfc8; }
.chart-col.is-current { background: color-mix(in srgb, var(--accent) 6%, transparent); border-radius: 4px 4px 0 0; }
.chart-x { position: absolute; bottom: -1.5rem; left: 0; right: 0; text-align: center; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.chart-col.is-current .chart-x { color: var(--ink); font-weight: 600; }
.chart { padding-bottom: 1.7rem; }
.history { margin-top: .6rem; }

/* Préparation des commandes */
.picklist { list-style: none; margin: 0; padding: 0; }
.picklist li + li { border-top: 1px solid #edf0f3; }
.pick { display: grid; grid-template-columns: auto auto 1fr; gap: .8rem; align-items: center; padding: .7rem 0; color: var(--ink); font-weight: 400; font-size: 1rem; cursor: pointer; }
.pick input { width: 1.6rem; height: 1.6rem; }
.pick-qty { font-size: 1.6rem; font-weight: 700; min-width: 2.4rem; text-align: center; font-variant-numeric: tabular-nums; color: var(--accent); }
.pick-label { display: grid; gap: .1rem; }
.pick-label .muted { font-size: .85rem; }
.pick:has(input:checked) .pick-label strong, .pick:has(input:checked) .pick-qty { text-decoration: line-through; color: var(--muted); }
.pick-progress { font-variant-numeric: tabular-nums; color: var(--muted); }
.pick-progress.complete { color: var(--st-lcr_payee); font-weight: 650; }
.prep-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.prep .dims input { width: 100%; }

@media (max-width: 1100px) {
  .split, .grid2, .cols { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 860px) {
  body.with-nav { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: sticky; top: 0; z-index: 20; height: auto; padding: .55rem 1rem; }
  .sidebar-top { display: flex; justify-content: space-between; align-items: center; }
  .sidebar .brand { margin: 0; padding: 0; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 40px; font: inherit; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: .3rem .8rem; }
  .sidebar nav { display: none; margin-top: .5rem; max-height: calc(100vh - 4rem); overflow-y: auto; }
  body.nav-open .sidebar nav { display: block; }
  .sidebar nav a { padding: .7rem .6rem; }
  .main { padding: 1rem .8rem 5rem; }
  .pipeline { grid-template-columns: repeat(5, minmax(108px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .pipeline a { scroll-snap-align: start; padding: .8rem; }
  .pipeline a::after { display: none; }
  .pipeline .n { font-size: 1.5rem; }
  .fields.two { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: .1rem; }
}

@media (max-width: 720px) {
  html { font-size: 15px; }
  h1 { font-size: 1.3rem; }
  .panel { padding: .9rem; border-radius: 6px; }
  /* 16 px minimum : évite le zoom automatique d'iOS sur les champs */
  input, select, textarea { font-size: 16px; min-height: 44px; }
  textarea { min-height: 0; }
  input[type="checkbox"] { min-height: 0; width: 1.3rem; height: 1.3rem; }
  .btn { min-height: 44px; padding: .55rem 1rem; }
  .btn.small { min-height: 36px; }
  .page-head { align-items: stretch; }
  .page-head .actions { width: 100%; }
  .page-head .actions .btn { flex: 1 1 auto; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filters label, .filters label:first-of-type { min-width: 0; grid-column: 1 / -1; }
  .filters label:has(input[type="date"]) { grid-column: auto; }
  .filters .btn { grid-column: 1 / -1; }
  .kpi-v { font-size: 1.15rem; }
  .chart-axis, .chart-plot { height: 160px; }
  .chart-x { font-size: .68rem; }
  .chart-col:nth-child(odd):not(.is-current) .chart-x { visibility: hidden; }
  dl.kv { grid-template-columns: 1fr; gap: 0; }
  dl.kv dd { margin-bottom: .45rem; }
  table.calc th { font-size: .9rem; }

  /* Barre d'actions groupées collée en bas de l'écran */
  .bulkbar { position: sticky; bottom: 0; z-index: 10; margin: 0 -.9rem .6rem; border-radius: 0; box-shadow: 0 -2px 8px rgba(0,0,0,.08); }
  .bulkbar label { min-width: 0; flex: 1 1 140px; }
  .bulkbar .btn { flex: 1 1 100%; }
  .form-actions { position: sticky; bottom: 0; z-index: 10; background: var(--bg); padding: .7rem 0; }
  .form-actions .btn { flex: 1 1 auto; }

  /* Tableaux en cartes */
  .table.responsive thead { display: none; }
  .table.responsive, .table.responsive tbody, .table.responsive tr, .table.responsive td { display: block; width: 100%; }
  .table.responsive tbody tr { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .55rem .75rem; margin-bottom: .55rem; }
  .table.responsive tbody tr:hover { background: #fff; }
  .table.responsive td { border: 0; padding: .22rem 0; text-align: right; white-space: normal; overflow-wrap: anywhere; }
  .table.responsive td::after { content: ""; display: block; clear: both; }
  .table.responsive td::before { content: attr(data-label); float: left; max-width: 45%; margin-right: 1rem; text-align: left; color: var(--muted); font-size: .8rem; font-weight: 500; line-height: 1.6; }
  .table.responsive td[data-label=""]::before { content: none; }
  .table.responsive td.cell-main { display: block; text-align: left; font-weight: 600; font-size: 1rem; padding-bottom: .35rem; margin-bottom: .2rem; border-bottom: 1px solid #edf0f3; }
  .table.responsive td.cell-main::before { content: none; }
  .table.responsive td.chk { position: absolute; top: .5rem; right: .6rem; width: auto; padding: 0; }
  .table.responsive td.chk::before { content: none; }
  .table.responsive tr:has(td.chk) td.cell-main { padding-right: 2.4rem; }
  .table.responsive td.pkg input { display: inline-block; margin-left: .2rem; }
  .table.responsive td.pkg input { width: 4.4rem; }
  .table.responsive td select, .table.responsive td input:not([type="checkbox"]) { max-width: 65%; }
  .table.responsive tfoot, .table.responsive tfoot tr { display: block; }
  .table.responsive tfoot tr { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem .2rem; }
  .table.responsive tfoot td { display: block; width: auto; padding: 0; border: 0; }
  .table.responsive tfoot td:empty { display: none; }
  .table.compact.responsive td { padding: .18rem 0; }

  /* Suivi d'une commande en vertical */
  .tracker { grid-template-columns: 1fr; padding: .6rem .9rem; overflow: visible; }
  .tracker li { grid-template-columns: 20px 1fr auto; justify-items: start; align-items: center; text-align: left; gap: .7rem; padding: .4rem 0; }
  .tracker li::before { left: 8.5px; right: auto; top: -50%; width: 3px; height: 100%; }
  .tracker .d { justify-self: end; }

  /* Préparation */
  .prep-actions { padding-top: .3rem; }
  .prep-actions .btn { flex: 1 1 100%; }
  .import-head { flex-direction: column; }
  .cols { gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
