:root {
  --ink: #0f1b2d;
  --ink-2: #33415c;
  --muted: #5b6475;
  --bg: #f3f5f8;
  --card: #ffffff;
  --line: #e2e6ed;
  --line-2: #cfd6e0;
  --accent: #0a5bd8;
  --accent-ink: #ffffff;
  --accent-soft: #e8f0fd;
  --focus: 0 0 0 3px rgba(10, 91, 216, 0.25);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.05), 0 4px 16px rgba(15, 27, 45, 0.04);
  --blue: #1d5fd1; --blue-bg: #e8f0fd;
  --amber: #a15c00; --amber-bg: #fff3dc;
  --violet: #6b3fd1; --violet-bg: #f0eaff;
  --green: #137a4b; --green-bg: #e3f6ec;
  --red: #c0282d; --red-bg: #fde9ea;
  --grey: #5b6475; --grey-bg: #eef0f4;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 .25rem; letter-spacing: -0.01em; }
h2 { font-size: 1.05rem; margin: 0; }
h3 { margin: 0; }
p { margin: 0 0 .75rem; }
code { background: var(--grey-bg); padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.main { flex: 1; padding-top: 24px; padding-bottom: 40px; }
.narrow { max-width: 760px; margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 .2rem; }
.back { display: inline-block; font-size: .9rem; margin-bottom: 10px; color: var(--muted); }
.label { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }

/* --- Barre du haut --------------------------------------------------------- */
.topbar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-inner { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none !important; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #0a5bd8, #00a3c4); display: grid; place-items: center; }
.brand-mark svg { width: 20px; height: 20px; fill: #fff; }
.brand-mark.big { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; }
.brand-mark.big svg { width: 28px; height: 28px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1rem; }
.brand-text small { font-size: .74rem; color: #a9b6cc; }
.nav { display: flex; gap: 4px; align-items: center; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: #c9d3e3; padding: 8px 12px; border-radius: 8px; white-space: nowrap; font-weight: 500; font-size: .93rem; text-decoration: none; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav a.active { color: #fff; background: rgba(255, 255, 255, .12); }
.nav a.nav-cta { background: var(--accent); color: #fff; margin-left: 6px; }
.nav a.nav-cta:hover { background: #0950bd; }
.usermenu { position: relative; flex-shrink: 0; }
.usermenu summary { list-style: none; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; background: #24344f; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .82rem; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu-panel { position: absolute; right: 0; top: 44px; background: #fff; color: var(--ink); border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 27, 45, .18); min-width: 240px; padding: 8px; border: 1px solid var(--line); }
.usermenu-panel a, .usermenu-panel .linklike { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 6px; color: var(--ink); font-size: .92rem; }
.usermenu-panel a:hover, .usermenu-panel .linklike:hover { background: var(--bg); text-decoration: none; }
.usermenu-id { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; }
.usermenu-id span { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }

/* --- Pied de page ------------------------------------------------------------ */
.foot { color: var(--muted); font-size: .8rem; padding-top: 18px; padding-bottom: 24px; text-align: center; }

/* --- En-têtes de page ----------------------------------------------------------- */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head > div { min-width: 0; }

/* --- Cartes ------------------------------------------------------------------------ */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.card + .card, .card + section, section + .card { margin-top: 16px; }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card h2 + .muted { margin-top: 4px; }
.count { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 99px; background: var(--grey-bg); color: var(--muted); font-size: .78rem; text-align: center; margin-left: 4px; vertical-align: 2px; }
.empty { padding: 40px 20px; }
.empty h2 { margin-bottom: 6px; }
.action-card { border-color: #bcd3f7; box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.action-card.done { border-color: #b7e3cb; box-shadow: 0 0 0 3px var(--green-bg), var(--shadow); }
.danger-zone { border-color: #f3c9cb; }

/* --- Alertes -------------------------------------------------------------------- */
.alert, .callout { border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; border: 1px solid transparent; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert-success { background: var(--green-bg); color: #0d5a37; border-color: #b7e3cb; }
.alert-error { background: var(--red-bg); color: #8f1d21; border-color: #f3c9cb; }
.alert-warning { background: var(--amber-bg); color: #7a4500; border-color: #f4dba9; }
.alert-info { background: var(--blue-bg); color: #164a9e; border-color: #c4d7f7; }
.callout-blue { background: var(--blue-bg); border-color: #c4d7f7; }
.callout-amber { background: var(--amber-bg); border-color: #f4dba9; }
.callout-violet { background: var(--violet-bg); border-color: #d8cbf7; }
.callout-red { background: var(--red-bg); border-color: #f3c9cb; }
.callout-grey { background: var(--grey-bg); border-color: var(--line); }

/* --- Badges ---------------------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.badge-lg { font-size: .88rem; padding: 6px 14px; }
.tone-blue.badge { background: var(--blue-bg); color: var(--blue); }
.tone-amber.badge { background: var(--amber-bg); color: var(--amber); }
.tone-violet.badge { background: var(--violet-bg); color: var(--violet); }
.tone-green.badge { background: var(--green-bg); color: var(--green); }
.tone-red.badge { background: var(--red-bg); color: var(--red); }
.tone-grey.badge { background: var(--grey-bg); color: var(--grey); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--grey); vertical-align: 1px; }
.dot.tone-blue { background: var(--blue); }
.dot.tone-amber { background: #e59b16; }
.dot.tone-red { background: var(--red); }
.dot.tone-grey { background: #a3abb9; }
.tag { font-size: .72rem; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--grey-bg); color: var(--muted); }
.tag-green { background: var(--green-bg); color: var(--green); }

/* --- Boutons ---------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: .93rem; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--bg); border-color: #b9c2cf; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #0950bd; border-color: #0950bd; }
.btn-danger { background: #fff; border-color: #f0b8bb; color: var(--red); }
.btn-danger:hover { background: var(--red-bg); border-color: var(--red); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-lg { padding: 13px 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.linklike.danger { color: var(--red); }
.icon-btn { background: rgba(255, 255, 255, .9); border: 1px solid var(--line); border-radius: 6px; width: 24px; height: 24px; cursor: pointer; color: var(--red); font-size: .75rem; line-height: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.actions form { margin: 0; }

/* --- Formulaires ---------------------------------------------------------------------- */
.stack > * + * { margin-top: 14px; }
.stack-lg > * + * { margin-top: 18px; }
fieldset { margin: 0; min-width: 0; }
fieldset.card { border: 1px solid var(--line); }
legend { font-weight: 700; font-size: 1.02rem; padding: 0; margin-bottom: 14px; float: left; width: 100%; display: flex; align-items: center; gap: 10px; }
legend + * { clear: both; }
legend em, .field em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .84rem; }
.step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-grid; place-items: center; font-size: .85rem; flex-shrink: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span:first-child { font-weight: 600; font-size: .9rem; }
.field + .field, .grid-2 + .field, .field + .grid-2, .check + .field { margin-top: 14px; }
input[type=text], input:not([type]), input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 80px; }
select[disabled] { background: var(--bg); color: var(--muted); }
.check { display: flex; align-items: center; gap: 9px; font-size: .93rem; cursor: pointer; margin-bottom: 4px; }
.check + .check { margin-top: 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-pc { grid-template-columns: 140px 1fr; }
.grid-2 > .field, .grid-3 > .field { margin-top: 0; }
.ref { white-space: nowrap; }
.submit-bar { position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(to top, var(--bg) 70%, rgba(243, 245, 248, 0)); display: flex; justify-content: flex-end; }
.pw-row { display: flex; gap: 10px; align-items: flex-end; }
.pw-row .field { flex: 1; }
.pw-row input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Choix sous forme de cartes radio */
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choices-col { grid-template-columns: 1fr; gap: 8px; }
.choice { position: relative; display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.choice:hover { border-color: #aab5c5; }
.choice input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.choice-body { display: flex; flex-direction: column; }
.choice-body small { color: var(--muted); font-size: .84rem; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice.tone-red:has(input:checked) { border-color: var(--red); background: var(--red-bg); }
.choice.tone-amber:has(input:checked) { border-color: #e59b16; background: var(--amber-bg); }
.choice.tone-grey:has(input:checked) { border-color: #8b94a3; background: var(--grey-bg); }

/* Sélection de fichiers */
.filepick { display: flex; align-items: center; gap: 14px; border: 2px dashed var(--line-2); border-radius: 12px; padding: 18px; cursor: pointer; background: #fafbfd; transition: border-color .15s, background .15s; }
.filepick:hover { border-color: var(--accent); background: var(--accent-soft); }
.filepick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.filepick-icon { font-size: 1.8rem; }
.small-pick { padding: 10px 14px; font-weight: 600; font-size: .9rem; border-width: 1.5px; }
.small-pick em { font-weight: 400; font-style: normal; color: var(--muted); }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.previews:not(:empty) { margin-top: 12px; }
.previews img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.previews .more { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: var(--grey-bg); color: var(--muted); font-size: .8rem; text-align: center; padding: 4px; }
.add-photos { margin-top: 14px; }

/* --- Listes de demandes (demandeur) ----------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.req-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); box-shadow: var(--shadow); text-decoration: none !important; transition: border-color .15s, transform .15s; }
.req-card:hover { border-color: #aac4ef; transform: translateY(-1px); }
.req-card.is-attention { border-color: #f0c871; box-shadow: 0 0 0 3px var(--amber-bg), var(--shadow); }
.req-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.req-card-place { font-weight: 700; }
.req-card-desc { color: var(--ink-2); font-size: .9rem; margin: 10px 0; flex: 1; overflow-wrap: anywhere; }
.req-card-foot { display: flex; align-items: center; gap: 6px; }
.ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; font-weight: 600; color: var(--ink-2); }

/* --- Tableaux -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 12px 14px; background: #f8f9fb; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .92rem; }
.table tbody tr:last-child td { border-bottom: 0; }
.rows-link tbody tr { cursor: pointer; transition: background .1s; }
.rows-link tbody tr:hover { background: #f6f9fe; }
.rows-link tbody tr:focus-visible { outline: none; background: var(--accent-soft); }
.table .num { text-align: right; white-space: nowrap; }
.table tr.is-off td { opacity: .55; }

/* Filtres */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font-size: .86rem; font-weight: 500; cursor: pointer; font-family: inherit; text-decoration: none !important; }
.chip span { background: var(--grey-bg); color: var(--muted); border-radius: 99px; padding: 0 7px; font-size: .78rem; font-weight: 600; }
.chip:hover { border-color: #aab5c5; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.active span { background: rgba(255, 255, 255, .18); color: #fff; }
.search input { min-width: 300px; }

/* --- Détail d'une demande -------------------------------------------------------------- */
.grid-main { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
.grid-main > .card { margin-top: 0; }
.grid-admin { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
.col-main, .col-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.col-side { position: sticky; top: 76px; }
.col-main > .card { margin-top: 0; }
.col-side > .card { margin-top: 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0 0 6px; }
.facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.description { background: #f8f9fb; border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.thumb { margin: 0; position: relative; }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); display: block; background: var(--grey-bg); }
.thumb figcaption { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; }
.thumb figcaption form { margin: 0; }
.totals { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: .93rem; }
.totals td { padding: 7px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.totals td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; font-variant-numeric: tabular-nums; }
.totals td small { display: block; }
.totals tr.sub td { font-weight: 700; border-bottom-style: solid; }
.totals tr.grand td { font-weight: 800; font-size: 1.08rem; border-bottom: 0; padding-top: 10px; color: var(--accent); }
.note { background: var(--grey-bg); border-radius: 8px; padding: 10px 12px; font-size: .92rem; }
.refuse { display: inline-block; }
.refuse[open] { display: block; width: 100%; margin-top: 8px; }
.refuse summary { list-style: none; }
.refuse summary::-webkit-details-marker { display: none; }
.sub-details { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; }
.sub-details summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.sub-details[open] summary { margin-bottom: 12px; }
.distance { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hours-row { display: flex; align-items: flex-end; gap: 10px; }
.hours-row .field { width: 140px; flex-shrink: 0; }
.hours-row .muted { padding-bottom: 12px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; }
.quick .chip { padding: 4px 10px; font-size: .82rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.timeline li:last-child { border-bottom: 0; }
.tl-date { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.tl-who { grid-column: 2; color: var(--muted); font-size: .8rem; }
.maillog { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.maillog li { padding: 6px 0; }
.credentials { border-color: #b7e3cb; background: #f6fcf8; }
.credentials pre { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: .92rem; white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 10px; }

/* --- Connexion -------------------------------------------------------------------------- */
body.auth { background: radial-gradient(1200px 600px at 10% -10%, #dce8fb 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #d9f1f4 0%, transparent 55%), var(--bg); }
.auth-wrap { min-height: calc(100vh - 140px); display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: 0 20px 50px rgba(15, 27, 45, .08); }
.auth-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.auth-brand h1 { font-size: 1.25rem; }
.auth-brand p { margin: 2px 0 0; font-size: .88rem; }
.auth-card .small.center { margin: 16px 0 0; }

/* --- Responsive ----------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-admin { display: flex; flex-direction: column; gap: 16px; }
  .col-side { position: static; order: -1; }
  .col-main { display: contents; }
  .grid-admin > .col-main > section:first-child { order: -2; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  h1 { font-size: 1.35rem; }
  .topbar-inner { flex-wrap: wrap; gap: 8px 12px; padding-top: 8px; padding-bottom: 8px; }
  .brand-text small { display: none; }
  .nav { order: 3; width: 100%; margin-left: 0; padding-bottom: 2px; }
  .nav a { padding: 7px 10px; font-size: .88rem; }
  .hide-sm { display: none; }
  .usermenu { margin-left: auto; }
  .card { padding: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > span:empty { display: none; }
  .grid-pc { grid-template-columns: 120px 1fr; }
  .choices { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .search, .search input { width: 100%; min-width: 0; }
  .page-head .btn { width: 100%; }
  .timeline li { grid-template-columns: 1fr; }
  .tl-who { grid-column: 1; }
  /* Tableaux en cartes */
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .table td::before { content: attr(data-label); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-align: left; padding-top: 2px; flex-shrink: 0; }
  .table td.num { text-align: right; }
  .submit-bar .btn { width: 100%; }
  .auth-card { padding: 22px; }
}
