/* legal. · Le dossier — styles de base. Tokens repris du guide de passation (direction B · Pilotage). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/newsreader-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/newsreader-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/newsreader-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0152-0153, U+2000-206F, U+20AC; }

:root {
  /* acier */
  --ink: #101820; --steel: #2B3340; --text-2: #3D4552; --text-2b: #48505C; --muted: #67707E; --meta: #7B8494; --label: #98A1AE;
  --faint: #A6AEB9; --faint-2: #B7BFCA; --faint-3: #C9D1DC; --border: #DCE1E9; --line: #E6EAF0; --line-soft: #EDF0F4; --line-soft-2: #F1F4F8;
  --bg: #F3F5F8; --bg-alt: #E9EDF2; --surface: #FFFFFF; --surface-2: #FBFCFE; --soft: #EEF1F5; --soft-2: #F4F6F9; --chip: #EEF0F4;
  --dark-2: #1A2029; --dark-line: #2C3440;
  /* identité */
  --blue: #2F55DF; --blue-hover: #1E3FB8; --blue-tint: #EEF2FE; --blue-dark: #4F74F0; --select: #F5F8FF;
  /* états : pastille fond / texte · point */
  --ok-bg: #E4F1EA; --ok-fg: #1F5A41; --ok-dot: #2C6E52;
  --wait-bg: #FBF0DC; --wait-fg: #7E5312; --wait-dot: #D6A54A;
  --lack-bg: #FBE9E6; --lack-fg: #8E3125; --lack-dot: #A83A2C; --lack-box: #FDF7F6; --lack-border: #F0D7D2; --lack-text: #6E3A31; --lack-meta: #A0736B;
  --ctx-bg: #EEF0F3; --ctx-fg: #5A6472; --ctx-dot: #D3D8DF; --dis-dot: #8A8F98;
  --gap-line: #E3BDB6;
  --serif: Newsreader, Georgia, serif; --sans: Inter, system-ui, -apple-system, sans-serif; --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-float: 0 1px 2px rgba(16,24,40,.06), 0 20px 40px -24px rgba(16,24,40,.25);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); text-decoration: none; } a:hover { color: var(--blue-hover); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); } .meta { color: var(--meta); } .label { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--label); }
.small { font-size: 12.5px; } .xs { font-size: 12px; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--blue-tint), 0 0 0 1px var(--blue); border-radius: 6px; }
* { transition: background-color .12s, border-color .12s, color .12s; }

/* ── super admin ── */
.adminbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 7px 16px; background: var(--ink); color: #D9DEE5; font-size: 12.5px; }
.adminbar b { color: #fff; font-weight: 600; } .adminbar-note { color: #9AA3AF; }
.seg.dark { border-color: var(--dark-line); background: transparent; } .seg.dark button { background: transparent; color: #D9DEE5; border-color: var(--dark-line); padding: 4px 10px; font-size: 12px; }
.seg.dark button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.with-admin .side { top: 38px; height: calc(100vh - 38px); }

/* ── coque ── */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 20px 14px 18px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; color: var(--ink); }
.brand .logo { display: inline-flex; color: var(--ink); }
.brand > span:last-child { font-size: 14px; font-weight: 600; color: var(--text-2b); }
.side .brand .wordmark { font-size: 22px; margin-left: -3px; }
.wordmark { font-weight: 650; font-size: 24px; letter-spacing: -.045em; } .wordmark i { color: var(--blue); font-style: normal; }
.case-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 16px; background: var(--surface-2); }
.case-card .k { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--label); font-weight: 600; }
.case-card .t { font-size: 14px; font-weight: 600; margin-top: 3px; } .case-card .d { font-size: 12px; color: var(--muted); margin-top: 2px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav button { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2b); font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; }
.nav button:hover { background: var(--soft-2); color: var(--ink); }
.nav button[aria-current="page"] { background: var(--blue-tint); color: var(--blue); }
.nav .n { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 8px; background: var(--chip); color: var(--text-2b); }
.nav button[aria-current="page"] .n { background: #fff; color: var(--blue); }
.nav .n.warn { background: var(--wait-bg); color: var(--wait-fg); }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.lockbox { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--muted); padding: 10px; border-radius: 9px; background: var(--soft-2); }
.lockbox .ic { flex: none; margin-top: 1px; display: inline-flex; }
.who { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.who .n { font-size: 13px; font-weight: 600; } .who .r { font-size: 12px; color: var(--muted); }
.who .out { margin-left: auto; font-size: 12px; color: var(--meta); align-self: flex-start; }
.who .r { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: #E3E8F0; color: var(--steel); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.avatar.tiers { background: #fff; border: 1.5px dashed var(--faint-3); }
.main { min-width: 0; padding: 28px 36px 56px; }
.main.wide { padding: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 36px; margin: -28px -36px 26px; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--muted); }
.crumb { font-size: 13px; color: var(--muted); } .crumb b { color: var(--ink); font-weight: 500; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head .sup { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.12; letter-spacing: -.01em; }

/* ── cartes ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.card.float { box-shadow: var(--shadow-float); }
.card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 22px 14px; border-bottom: 1px solid var(--line-soft); }
.card-h h2 { font-size: 16px; font-weight: 600; } .card-h .aside { font-size: 13px; color: var(--muted); }
.card-b { padding: 18px 22px; }
.grid { display: grid; gap: 20px; } .stack { display: flex; flex-direction: column; gap: 20px; }
.g-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .g-2b { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rows > * + * { border-top: 1px solid var(--line-soft); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 22px; }
.row.sel { background: var(--select); box-shadow: inset 3px 0 0 var(--blue); }
.row.clickable { cursor: pointer; } .row.clickable:hover { background: var(--surface-2); }

/* ── boutons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--steel); font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--faint-3); background: var(--surface-2); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; } .btn.primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn.steel { background: var(--steel); border-color: var(--steel); color: #fff; font-weight: 600; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--blue); font-weight: 600; }
.btn.sm { padding: 6px 11px; font-size: 13px; } .btn.block { width: 100%; padding: 11px 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { border: 0; background: none; padding: 0; color: var(--blue); font-weight: 600; font-size: 13.5px; cursor: pointer; text-align: left; } .link:hover { color: var(--blue-hover); }
.link.muted { color: var(--muted); font-weight: 500; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .actions.end { justify-content: flex-end; } .actions.spread { justify-content: space-between; }

/* ── états, badges ── */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; display: none; } .pill.with-dot i { display: inline-block; }
.st-validated { background: var(--ok-bg); color: var(--ok-fg); } .st-validated i { background: var(--ok-dot); }
.st-pending { background: var(--wait-bg); color: var(--wait-fg); } .st-pending i { background: var(--wait-dot); }
.st-missing { background: var(--lack-bg); color: var(--lack-fg); } .st-missing i { background: var(--lack-dot); }
.st-context { background: var(--ctx-bg); color: var(--ctx-fg); } .st-context i { background: var(--ctx-dot); }
.st-discarded { background: var(--ctx-bg); color: var(--ctx-fg); } .st-discarded i { background: var(--dis-dot); }
.cote { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 4px; background: var(--chip); color: var(--text-2b); font-size: 11.5px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.cote.prov { background: #fff; border: 1px dashed var(--label); color: var(--steel); }
.vis { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.vis-shared { background: #fff; border: 1px solid var(--faint-3); color: var(--steel); }
.vis-firm { background: var(--steel); color: #fff; border: 1px solid var(--steel); }
.vis-private { background: #fff; border: 1px dashed var(--label); color: var(--muted); }
.role { display: inline-flex; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.role-client { background: var(--ink); color: #fff; } .role-avocat { background: var(--soft); color: var(--steel); } .role-tiers { background: #fff; border: 1px solid var(--faint-3); color: var(--steel); }
.trace { font-size: 12.5px; color: var(--meta); }
.prec { display: inline-flex; gap: 3px; } .prec i { font-style: normal; font-size: 11.5px; padding: 1px 6px; border-radius: 4px; background: var(--chip); color: var(--label); }
.prec i.on { background: var(--ink); color: #fff; font-weight: 600; }
.gauge { display: flex; gap: 2px; border-radius: 4px; overflow: hidden; background: var(--chip); }
.gauge i { display: block; min-width: 3px; } .g-validated { background: var(--ok-dot); } .g-pending { background: var(--wait-dot); } .g-missing { background: var(--lack-dot); } .g-context { background: var(--ctx-dot); }
.gapline { display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--lack-box); color: var(--lack-fg); font-size: 13px; font-weight: 500; }
.gapline .rule { flex: 1; border-top: 1px dashed var(--gap-line); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.chip-filter { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--steel); }
.chip-filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── formulaires ── */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 14.5px; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
textarea.input { resize: vertical; min-height: 84px; line-height: 1.55; }
.field-err { color: var(--lack-fg); font-size: 13px; line-height: 1.5; margin: -4px 0 12px; }
.pw-wrap { position: relative; } .pw-wrap .input { padding-right: 76px; } .pw-wrap.bad .input { border-color: var(--lack-dot); }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 10px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 14px 0; cursor: pointer; }
.toggle { position: relative; width: 38px; height: 22px; border-radius: 999px; border: 0; background: var(--faint-3); cursor: pointer; flex: none; padding: 0; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle[aria-checked="true"] { background: var(--blue); } .toggle[aria-checked="true"]::after { left: 19px; } .toggle[disabled] { opacity: .55; cursor: not-allowed; }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--soft-2); padding: 2px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 5px 11px; font-size: 13px; border-radius: 6px; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(16,24,40,.1); }

/* ── échanges ── */
.thread { display: flex; flex-direction: column; gap: 10px; }
.thread-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-soft); }
.thread-tabs button { border: 0; background: none; padding: 7px 10px; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.thread-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.thread-tabs .n { margin-left: 6px; font-size: 11.5px; background: var(--chip); border-radius: 999px; padding: 0 6px; }
.msgs { display: flex; flex-direction: column; gap: 8px; } .msgs-empty { font-size: 13px; color: var(--meta); padding: 6px 0; }
.msg { border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.5; }
.msg-shared { background: #fff; border: 1px solid var(--border); } .msg-firm { background: var(--line-soft-2); } .msg-private { background: #fff; border: 1px dashed var(--faint-2); color: var(--muted); }
.msg-h { display: flex; gap: 8px; justify-content: space-between; font-size: 12.5px; color: var(--meta); margin-bottom: 3px; } .msg-h b { color: var(--ink); font-weight: 600; }
.editor { border: 1px solid var(--border); border-radius: 10px; padding: 8px; background: #fff; }
.editor textarea { border: 0; padding: 4px; min-height: 64px; } .editor textarea:focus { box-shadow: none; }
.editor-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.editor-vis { font-size: 12px; color: var(--muted); } .editor-vis b { color: var(--steel); }

/* ── vides, notes, toasts, dialogues ── */
.empty { padding: 26px; } .empty-k { font-size: 12px; color: var(--meta); margin-bottom: 8px; }
.empty-t { font-family: var(--serif); font-size: 26px; line-height: 1.25; margin-bottom: 10px; } .empty p { color: var(--text-2b); line-height: 1.6; max-width: 56ch; margin-bottom: 14px; }
.note { padding: 11px 14px; border-radius: 10px; background: var(--soft-2); color: var(--text-2b); font-size: 13px; line-height: 1.55; margin-bottom: 14px; }
.note.ok { background: var(--ok-bg); color: var(--ok-fg); } .note.err { background: var(--lack-box); color: var(--lack-fg); border: 1px solid var(--lack-border); } .note.wait { background: var(--wait-bg); color: var(--wait-fg); }
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 60; width: min(460px, calc(100vw - 32px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13.5px; line-height: 1.45; box-shadow: var(--shadow-float); }
.toast .dot { background: var(--ok-dot); } .toast.err .dot { background: var(--lack-dot); } .toast span { flex: 1; }
.toast-undo { border: 0; background: none; color: #8FA8FF; font-weight: 600; cursor: pointer; }
.scrim { position: fixed; inset: 0; background: rgba(16,24,32,.32); display: flex; align-items: center; justify-content: center; z-index: 70; padding: 16px; }
.dialog { width: min(440px, 100%); background: #fff; border-radius: 14px; padding: 22px; box-shadow: var(--shadow-float); }
.dialog h2 { font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; } .dialog p { color: var(--text-2b); font-size: 14px; line-height: 1.55; margin-bottom: 14px; } .dialog .input { margin-bottom: 14px; }
.progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 6px 0; }
.progress i { display: block; height: 100%; width: 40%; background: var(--blue); animation: prog 1.3s ease-in-out infinite; }
@keyframes prog { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }

/* ── connexion (écran 01) ── */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-l { background: var(--ink); color: #fff; padding: 48px 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.brand.light { padding: 0; color: #fff; } .brand.light .logo { color: #fff; } .brand.light .wordmark { font-size: 28px; } .brand.light > span:last-child { color: #9AA3AF; font-size: 15px; }
.brand.light .wordmark i { color: var(--blue-dark); }
.auth-pitch h1 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.12; max-width: 14ch; letter-spacing: -.01em; }
.auth-pitch .lead { font-family: var(--serif); font-size: 19px; line-height: 1.6; color: #D9DEE5; max-width: 52ch; margin: 22px 0 28px; }
.two { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; max-width: 54ch; }
.two li { display: grid; grid-template-columns: 48px 1fr; } .two .num { font-family: var(--serif); font-size: 22px; color: #6F7A88; }
.two b { font-size: 15px; font-weight: 600; } .two p { font-size: 14px; line-height: 1.55; color: #9AA3AF; margin-top: 3px; }
.auth-foot { font-size: 12.5px; color: #6F7A88; }
.auth-r { background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 40px 28px; }
.auth-box { width: 100%; max-width: 440px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 20px; }
.steps3 i { display: block; height: 3px; border-radius: 3px; background: var(--border); margin-bottom: 8px; }
.steps3 span { font-size: 12.5px; color: var(--label); font-weight: 500; }
.steps3 .on i { background: var(--blue); } .steps3 .on span { color: var(--ink); font-weight: 600; }
.steps3 .done i { background: var(--ok-dot); } .steps3 .done span { color: var(--ok-fg); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 30px; box-shadow: var(--shadow-float); }
.auth-card h2 { font-size: 28px; line-height: 1.2; margin-bottom: 6px; } .auth-card .sub { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-bottom: 20px; }
.auth-card .body { font-size: 15px; line-height: 1.6; color: var(--text-2); margin-bottom: 12px; }
.auth-card .actions { margin-top: 16px; }
.code6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 6px 0 14px; }
.code6 span { display: flex; align-items: center; justify-content: center; height: 46px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--mono); font-weight: 600; font-size: 16px; letter-spacing: .06em; }
.code6.in .input { text-align: center; font-family: var(--mono); font-weight: 600; letter-spacing: .08em; padding: 10px 4px; }
.pick { display: flex; justify-content: space-between; width: 100%; padding: 14px 4px; border: 0; background: none; text-align: left; cursor: pointer; } .pick span { color: var(--muted); font-size: 13px; }

/* ── responsive (écran 10 : téléphone) ── */
@media (max-width: 1180px) { .g-2, .g-2b, .g-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; } .auth-l { padding: 28px 22px; } .auth-pitch h1 { font-size: 32px; } .auth-pitch .lead { font-size: 17px; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: sticky; top: 0; z-index: 20; height: auto; padding: 10px 12px; flex-direction: row; align-items: center; gap: 8px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .with-admin .side { top: 0; height: auto; }
  .side .brand { padding: 0 6px 0 0; } .side .brand > span:last-child, .side .case-card, .side .lockbox, .side .who .n, .side .who .r { display: none; }
  .nav { flex-direction: row; } .nav button { white-space: nowrap; padding: 10px 12px; min-height: 44px; }
  .side-foot { margin: 0; padding: 0; } .main { padding: 18px 16px 48px; } .topbar { margin: -18px -16px 18px; padding: 12px 16px; }
  .page-head h1 { font-size: 28px; } .btn { min-height: 44px; } .btn.block { min-height: 50px; }
}
@media print { .auth-l, .steps3, .actions, .check, .hint { display: none; } .auth { display: block; } }

/* empreinte de clé, lue à voix haute */
.fp { font-family: var(--mono, ui-monospace, Menlo, monospace); font-size: 17px; letter-spacing: .08em; font-weight: 600; padding: 8px 12px; margin: 6px 0 10px; border: 1px dashed var(--line, #c9ced6); border-radius: 8px; display: inline-block; background: var(--paper, #fff); }
.auth-card .label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #5d6670); margin-top: 14px; }

/* espace entre une aide et le champ suivant */
.auth-card .hint + .field { margin-top: 14px; }
.or-sep { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; color: var(--muted, #5d6670); font-size: 13px; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; border-top: 1px solid var(--line, #dde1e6); }
.import-box { border: 1px dashed var(--line, #c9ced6); border-radius: 10px; padding: 14px 14px 4px; margin: 6px 0 14px; background: var(--surface-2, #f7f8fa); }
.auth-card .hint + .btn, .auth-card .hint + .field-err { margin-top: 14px; }
