/* Charte par défaut : noir, blanc, et quatre pastilles vert / rose / orange / turquoise. Une autre marque redéfinit ses couleurs (voir Brand::css). */
:root {
  --bg: #F3F4F5; --surface: #FFFFFF; --sunk: #E9EBED; --ink: #111111; --muted: #5F636A; --line: #DDE0E3;
  --green: #79BF4B; --pink: #EB2B65; --orange: #F29F31; --teal: #42C0C6;
  --green-ink: #3E7A1B; --pink-ink: #C2154B; --orange-ink: #A8620A; --teal-ink: #17777C;
  --primary: #111111; --primary-ink: #FFFFFF; --focus: #EB2B65;
  --ok: #3E7A1B; --warn: #A8620A; --bad: #C2154B;
  --f-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 12px; --shadow: 0 1px 2px rgb(17 17 17 / .05), 0 6px 18px rgb(17 17 17 / .05);
  --safe-l: max(16px, env(safe-area-inset-left, 0px)); --safe-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0F11; --surface: #17191C; --sunk: #202327; --ink: #F1F2F3; --muted: #9AA0A8; --line: #2B2F34;
    --green-ink: #8FD163; --pink-ink: #FF5C8C; --orange-ink: #F6B45A; --teal-ink: #5ED3D8;
    --primary: #F1F2F3; --primary-ink: #111111; --ok: #8FD163; --warn: #F6B45A; --bad: #FF5C8C;
    --shadow: 0 1px 2px rgb(0 0 0 / .4); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--f-body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.noscroll { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; line-height: 1.15; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: 28px; font-weight: 800; } h2 { font-size: 22px; font-weight: 700; } h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.grow { flex: 1; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ok { color: var(--ok); } .bad { color: var(--bad); } .warnc { color: var(--warn); }

/* Logo texte à pastilles, reconstruit en texte pour rester net */
.logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); text-decoration: none; }
.logo b { font: 800 19px/1 var(--f-display); letter-spacing: .01em; white-space: nowrap; }
.logo small { white-space: nowrap; }
.logo small { font: 600 7.4px/1 var(--f-display); letter-spacing: .12em; margin-top: 3px; }
.logo small em { font-style: normal; font-weight: 800; }
.logo .dots { display: flex; gap: 4px; margin-top: 5px; }
.logo .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.logo .dots i:nth-child(2) { background: var(--pink); } .logo .dots i:nth-child(3) { background: var(--orange); } .logo .dots i:nth-child(4) { background: var(--teal); }
.logo.lg b { font-size: 30px; } .logo.lg small { font-size: 11.5px; margin-top: 5px; } .logo.lg .dots { gap: 6px; margin-top: 8px; } .logo.lg .dots i { width: 11px; height: 11px; }
.boot { min-height: 100vh; display: grid; place-items: center; }

/* Structure */
.wrap { max-width: 980px; margin: 0 auto; padding-left: var(--safe-l); padding-right: var(--safe-r); }
header.top { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
header.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.app-tag { display: none; font: 600 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; }
main { padding-block: 18px 120px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); min-width: 0; }
.sec-t { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-top: 8px; }
.sec-t h3 { display: flex; align-items: center; gap: 9px; }
.sec-t h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.sec-t.c-teal h3::before { background: var(--teal); } .sec-t.c-orange h3::before { background: var(--orange); } .sec-t.c-green h3::before { background: var(--green); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn.accent { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--sunk); }
.btn.danger { color: var(--bad); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn.xs { min-height: 30px; padding: 0 10px; font-size: 13px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }
.btn svg { width: 18px; height: 18px; flex: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.scroller { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.scroller::-webkit-scrollbar { display: none; }

/* Formulaires */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span:first-child, .field > label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea, .inp { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 9px 11px; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgb(235 43 101 / .15); }
.unit { position: relative; display: block; }
.unit input { padding-right: 44px; font-family: var(--f-mono); }
.unit em { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 11px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.check:last-child { border-bottom: 0; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; margin: 0; }
.check small { display: block; color: var(--muted); font-size: 12.5px; }
.err { color: var(--bad); font-size: 14px; }
.hint { font-size: 13.5px; color: var(--muted); }
.warn { font-size: 13.5px; color: var(--warn); background: color-mix(in srgb, var(--orange) 14%, transparent); padding: 8px 10px; border-radius: 8px; }

/* Connexion */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px var(--safe-r) 24px var(--safe-l); }
.login .card { width: 100%; max-width: 400px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }

/* Accueil */
.hello { display: flex; flex-direction: column; gap: 2px; }
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (min-width: 720px) { .pipe { grid-template-columns: repeat(7, 1fr); } .pipe.n8 { grid-template-columns: repeat(8, 1fr); } }
.pipe button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; text-align: left; position: relative; overflow: hidden; }
.pipe button::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.pipe button.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pipe b { font: 800 26px/1.1 var(--f-display); }
.pipe span { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.s-releve { --c: var(--teal); --ci: var(--teal-ink); } .s-etude { --c: var(--orange); --ci: var(--orange-ink); } .s-bat { --c: var(--pink); --ci: var(--pink-ink); }
.s-fabrication { --c: #7A7F87; --ci: var(--muted); } .s-livraison { --c: var(--teal); --ci: var(--teal-ink); } .s-pose { --c: var(--orange); --ci: var(--orange-ink); } .s-termine { --c: var(--green); --ci: var(--green-ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; background: color-mix(in srgb, var(--c, #888) 16%, transparent); color: var(--ci, var(--muted)); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, #888); }
.p-envoye { --c: var(--orange); --ci: var(--orange-ink); } .p-signe { --c: var(--green); --ci: var(--green-ink); } .p-refuse { --c: var(--pink); --ci: var(--pink-ink); }
.p-brouillon, .p-remplace, .p-depose { --c: #9097A0; --ci: var(--muted); }
.job { display: grid; grid-template-columns: 76px 1fr; gap: 14px; width: 100%; text-align: left; cursor: pointer; padding: 12px; }
.job:hover { border-color: var(--ink); }
.thumb { width: 76px; height: 76px; border-radius: 9px; overflow: hidden; background: var(--sunk); display: grid; place-items: center; color: var(--muted); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.job .body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.job h3 { font-size: 17px; overflow-wrap: anywhere; }
.job .meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; color: var(--muted); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; margin-top: 5px; }
.track i { height: 4px; border-radius: 2px; background: var(--sunk); }
.track i.on { background: var(--ink); }
.empty { text-align: center; padding: 34px 18px; border: 1.5px dashed var(--line); border-radius: var(--r); background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty p { max-width: 46ch; }

/* Chantier */
.cover { position: relative; border-radius: var(--r); overflow: hidden; background: #111; min-height: 150px; display: flex; align-items: flex-end; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.cover .cap { position: relative; padding: 48px 16px 14px; width: 100%; background: linear-gradient(transparent, rgb(0 0 0 / .78)); color: #fff; }
.cover .cap h1 { color: #fff; font-size: 26px; }
.cover .cap .eyebrow { color: rgb(255 255 255 / .8); }
.cover .dots4 { position: absolute; top: 14px; right: 14px; display: flex; gap: 5px; }
.cover .dots4 i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); } .cover .dots4 i:nth-child(2) { background: var(--pink); } .cover .dots4 i:nth-child(3) { background: var(--orange); } .cover .dots4 i:nth-child(4) { background: var(--teal); }
.steps { display: flex; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
.steps::-webkit-scrollbar { display: none; }
.step { flex: 1 0 auto; min-width: 82px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; position: relative; }
.step::before { content: ""; position: absolute; top: 8px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.step:first-child::before { display: none; }
.step .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); position: relative; z-index: 1; }
.step.done::before, .step.cur::before { background: var(--ink); }
.step.done .dot { background: var(--ink); border-color: var(--ink); }
.step.cur .dot { border-color: var(--pink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 20%, transparent); }
.step.cur { color: var(--ink); } .step.done { color: var(--ink); }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: var(--sunk); padding: 4px; border-radius: 12px; position: sticky; top: calc(61px + env(safe-area-inset-top, 0px)); z-index: 10; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; border: 0; background: none; padding: 9px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab.on { color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.tab .n { font-family: var(--f-mono); font-size: 11.5px; margin-left: 5px; background: var(--pink); color: #fff; border-radius: 999px; padding: 1px 6px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; overflow-wrap: anywhere; }

/* Photos */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ph { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.ph .frame { position: relative; aspect-ratio: 4/3; background: #111; }
.ph .frame canvas, .ph .frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ph .foot { display: flex; gap: 6px; align-items: center; padding: 8px 10px; flex-wrap: wrap; }
.ph .foot .muted { font-size: 12.5px; flex: 1; min-width: 0; }
.badge { font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: var(--sunk); color: var(--muted); }
.badge.cal { background: color-mix(in srgb, var(--teal) 18%, transparent); color: var(--teal-ink); }
.cotes-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cotes-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.cotes-table td { padding: 8px; border-bottom: 1px solid var(--line); }
.tbl { overflow-x: auto; }

/* Éditeur de mesure */
.mx { position: fixed; inset: 0; z-index: 60; background: #111; display: flex; flex-direction: column; color: #F1F2F3; padding-top: env(safe-area-inset-top, 0px); }
.mx .btn { background: #1E2125; border-color: #33373D; color: #F1F2F3; }
.mx .btn.primary { background: #fff; color: #111; border-color: #fff; }
.mx .btn.ghost { background: transparent; border-color: transparent; }
.mx-top { display: flex; gap: 8px; align-items: center; padding: 10px var(--safe-r) 10px var(--safe-l); flex-wrap: wrap; border-bottom: 1px solid #2B2F34; }
.seg { display: inline-flex; border: 1px solid #33373D; border-radius: 10px; overflow: hidden; }
.seg button { border: 0; background: transparent; padding: 8px 12px; font-weight: 600; font-size: 14px; cursor: pointer; color: inherit; }
.seg button.on { background: #fff; color: #111; }
.seg.sm button { font-size: 13px; padding: 7px 10px; }
.card .seg { border-color: var(--line); } .card .seg button.on { background: var(--ink); color: var(--bg); }
.mx-stage { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.mx-cv { position: absolute; inset: 0; touch-action: none; cursor: crosshair; }
.mx-loupe { position: absolute; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 6px 24px rgb(0 0 0 / .6); pointer-events: none; }
.mx-load { position: absolute; inset: 0; display: grid; place-items: center; color: #9AA0A8; }
.mx-panel { background: #17191C; border-top: 1px solid #2B2F34; padding: 12px var(--safe-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--safe-l); display: flex; flex-direction: column; gap: 10px; max-height: 44vh; overflow: auto; }
.mx-panel .field input, .mx-panel .field select { background: #0E0F11; border-color: #33373D; color: #F1F2F3; }
.mx-panel .field > span:first-child { color: #9AA0A8; }
.mx-panel .hint, .mx-panel .muted { color: #9AA0A8; }
.mx-panel .warn { color: #F6B45A; }
.mx-panel .ok { color: #8FD163; } .mx-panel .bad { color: #FF5C8C; }
.mx-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mx-val { font-size: 20px; } .mx-val b { font-family: var(--f-mono); }
.mx-list { display: flex; flex-direction: column; gap: 4px; }
.mx-item { display: flex; align-items: center; gap: 6px; }
.mx-item.sel .mx-pick { background: #2B2F34; }
.mx-pick { flex: 1; display: flex; gap: 10px; align-items: center; border: 0; background: transparent; padding: 7px 8px; border-radius: 8px; cursor: pointer; text-align: left; flex-wrap: wrap; font-size: 14px; }
.mx-pick .sw { width: 14px; height: 4px; border-radius: 2px; background: var(--orange); }
.mx-pick .lbl { flex: 1; min-width: 100px; }
.mx-foot { font-size: 12px; }

/* Documents */
.doc { display: flex; flex-direction: column; gap: 10px; }
.doc-h { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.doc-h .t { min-width: 0; }
.doc-h h3 { font-size: 16px; overflow-wrap: anywhere; }
.prevs { display: flex; gap: 8px; overflow-x: auto; }
.prevs img { height: 120px; width: auto; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.sigline { font-size: 13.5px; padding: 8px 10px; border-radius: 8px; background: var(--sunk); }
.todo { border: 2px solid var(--pink); }
.lines td input { min-height: 38px; }

/* Messages */
.canaux { display: flex; gap: 6px; }
.msgs { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 8px 12px; }
.msg.me { align-self: flex-end; background: var(--ink); color: var(--bg); border-color: var(--ink); border-radius: 14px 14px 4px 14px; }
.msg.me .who { color: rgb(255 255 255 / .7); }
@media (prefers-color-scheme: dark) { .msg.me .who { color: rgb(0 0 0 / .6); } }
.msg.sys { align-self: center; background: none; border: 0; font-size: 12.5px; color: var(--muted); text-align: center; padding: 2px; max-width: 100%; }
.msg .who { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.msg p { white-space: pre-wrap; overflow-wrap: anywhere; }
.composer { display: flex; gap: 8px; align-items: flex-end; }
.composer textarea { flex: 1; min-height: 46px; max-height: 160px; border: 1px solid var(--line); border-radius: 12px; padding: 11px; background: var(--surface); resize: none; min-width: 0; }

/* Signature */
.sigpad { width: 100%; height: 190px; border: 1.5px dashed var(--line); border-radius: var(--r); background: #fff; touch-action: none; display: block; }

/* Navigation basse */
nav.bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
nav.bottom .wrap { display: flex; gap: 10px; padding-block: 10px; }
nav.bottom .btn { flex: 1; }
nav.bottom .btn.primary { flex: 1.6; }

/* Modale et toast */
.modal { position: fixed; inset: 0; z-index: 70; background: rgb(0 0 0 / .55); display: flex; align-items: flex-end; justify-content: center; padding: 12px; overflow: auto; }
@media (min-width: 640px) { .modal { align-items: center; } }
.modal > .card { width: 100%; max-width: 560px; padding: 20px; margin-bottom: env(safe-area-inset-bottom, 0px); max-height: calc(100vh - 24px); overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.modal .mh { display: flex; align-items: flex-start; gap: 10px; }
.modal .mh h2 { flex: 1; }
#toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 90; background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 10px; font-size: 14px; max-width: calc(100% - 32px); box-shadow: 0 8px 26px rgb(0 0 0 / .25); }
.spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: sp .8s linear infinite; display: inline-block; }
@keyframes sp { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }
.radio-cards { display: grid; gap: 8px; }
.radio-cards label { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.radio-cards input { accent-color: var(--ink); width: 20px; height: 20px; }
.radio-cards label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.linkbox { display: flex; gap: 8px; align-items: center; background: var(--sunk); border-radius: 8px; padding: 8px 10px; font-family: var(--f-mono); font-size: 12.5px; overflow-wrap: anywhere; }
.linkbox span { flex: 1; min-width: 0; user-select: all; }
.drive { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.drive::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, #9097A0); }
.d-done { --c: var(--green); } .d-pending { --c: var(--orange); } .d-error { --c: var(--pink); }

@media (min-width: 520px) { .app-tag { display: inline; } }
.cotes-table td.mono { white-space: nowrap; }
@media (max-width: 520px) { .cotes-table { font-size: 13px; } .cotes-table th, .cotes-table td { padding: 7px 5px; } }
.who-chip .r { display: none; } @media (min-width: 520px) { .who-chip .r { display: inline; } }

/* Éditeur : puces laser, contrôle de surface, notes */
.mx-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.mx-chip { flex: none; border: 1px solid #42C0C6; background: rgb(66 192 198 / .12); color: #F1F2F3; border-radius: 999px; padding: 6px 10px; font: 500 13px var(--f-body); cursor: pointer; }
.mx-chip b { font-family: var(--f-mono); margin-left: 4px; }
.mx-rlp { font-size: 13.5px; padding: 9px 11px; border-radius: 9px; background: rgb(121 191 75 / .14); }
.mx-rlp.bad { background: rgb(235 43 101 / .16); }
.mx-num { width: 20px; height: 20px; border-radius: 50%; background: #EB2B65; color: #fff; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 700; flex: none; }
.mx-top { row-gap: 6px; }
.mx-top .seg button { padding: 8px 10px; }
.rlp { font-size: 14px; padding: 9px 11px; border-radius: 9px; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--ink); }
.rlp.bad { background: color-mix(in srgb, var(--pink) 14%, transparent); }
.mx-tools { order: 3; width: 100%; display: flex; }
.mx-tools button { flex: 1; padding: 8px 4px; }
.mx-panel, .mx-top { position: relative; z-index: 2; }

/* Hors connexion */
#offline { position: fixed; left: 0; right: 0; top: 0; z-index: 85; background: var(--orange); color: #1b1004; font: 600 13px var(--f-body); text-align: center; padding: calc(6px + env(safe-area-inset-top, 0px)) 16px 6px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--pink-ink); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---- Marque configurable (édition réseau, marque blanche des revendeurs) ---- */
:root { --accent: var(--pink); }
.blogo { display: inline-flex; flex-direction: column; line-height: 1.05; color: var(--ink); text-decoration: none; min-width: 0; }
.blogo b { font: 800 17px/1.05 var(--f-display); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56vw; }
.blogo small { font: 500 10.5px/1.2 var(--f-body); color: var(--muted); margin-top: 3px; white-space: nowrap; }
.blogo i { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--accent); margin-top: 6px; }
.blogo.lg b { font-size: 26px; max-width: 80vw; } .blogo.lg small { font-size: 13px; } .blogo.lg i { width: 40px; height: 4px; margin-top: 10px; }
.blogo.img img { display: block; max-height: 40px; max-width: 46vw; object-fit: contain; }
.blogo.img.lg img { max-height: 72px; max-width: 80vw; }
.login.wide .card { max-width: 560px; }
.signup-cta { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Étapes de l'édition réseau */
.s-demande { --c: var(--orange); --ci: var(--orange-ink); } .s-devis { --c: var(--teal); --ci: var(--teal-ink); }
.p-revue { --c: var(--orange); --ci: var(--orange-ink); } .p-retour { --c: var(--pink); --ci: var(--pink-ink); }
.meta .rv { font-weight: 600; color: var(--ink); }

/* Carte « à faire maintenant » d'un dossier */
.act { display: flex; flex-direction: column; gap: 10px; border-left: 4px solid var(--line); }
.act.go { border-left-color: var(--accent); }
.act.wait { border-left-color: var(--teal); }
.act.late { border-left-color: var(--bad); }
.act-t { font: 700 16px/1.3 var(--f-display); }
.act-b { display: flex; flex-direction: column; gap: 10px; }
.devis-amt { font-size: 15px; }

/* Pilotage */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi b { font: 700 26px/1.1 var(--f-mono); font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.kpi.bad b { color: var(--bad); } .kpi.ok b { color: var(--ok); } .kpi.warn b { color: var(--warn); }
tr.clk { cursor: pointer; } tr.clk:hover td { background: var(--sunk); }
tr.hl td { background: color-mix(in srgb, var(--orange) 10%, transparent); }

/* Aperçu de la marque blanche du revendeur */
.brand-prev { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.brand-prev .bp-h { padding: 14px 16px; border-bottom: 3px solid var(--bp); min-height: 56px; display: flex; align-items: center; }
.brand-prev .bp-h img { max-height: 40px; max-width: 60%; object-fit: contain; }
.brand-prev .bp-h b { font: 800 18px/1 var(--f-display); text-transform: uppercase; }
.brand-prev .bp-b { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.brand-prev .bp-btn { background: var(--bp); color: var(--bpi, #fff); padding: 9px 14px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.brand-prev small { color: var(--muted); font-size: 12px; }

/* E-mails d'essai */
.mail summary { cursor: pointer; }
.mail pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.5 var(--f-body); margin: 10px 0 0; }
.mail a { color: var(--pink-ink); }

/* Démo publique */
.demo-bar { background: var(--accent); color: #fff; font: 600 13px/1.4 var(--f-body); text-align: center; padding: calc(7px + env(safe-area-inset-top, 0px)) 16px 7px; }
.demo-bar a { color: #fff; text-decoration: underline; }
.demo-bar.client { background: #111; }
.demo-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.demo-bar + header.top { padding-top: 0; }

/* Installer l'appli */
.install-card { gap: 12px; flex-wrap: nowrap; }
.install-card .ic { color: var(--accent); flex: none; }
@media (max-width: 560px) { .install-card { flex-wrap: wrap; } .install-card .grow { flex: 1 1 calc(100% - 50px); } .install-card .btn.primary { margin-left: 38px; } }
.install-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }

/* Annuaire des poseurs */
.wrapr { flex-wrap: wrap; gap: 8px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }
.linkb { border: 0; background: none; padding: 0; color: var(--pink-ink); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; text-align: left; }
.card.poseur { display: flex; flex-direction: column; gap: 10px; }
.card.poseur h3 { font-size: 17px; overflow-wrap: anywhere; }
.card.poseur h3 a { color: inherit; text-decoration: none; }
.card.poseur.excl { border: 2px solid var(--accent, var(--pink)); }
.rating { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: inherit; text-decoration: none; font-size: 14px; }
.stars { display: inline-flex; gap: 1px; font-size: 17px; line-height: 1; letter-spacing: 0; }
.stars.sm { font-size: 14px; }
.stars i { font-style: normal; color: color-mix(in srgb, var(--muted) 35%, transparent); }
.stars i.on { color: #F5A623; }
.stars i.half { background: linear-gradient(90deg, #F5A623 50%, color-mix(in srgb, var(--muted) 35%, transparent) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vbadge { font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 999px; white-space: nowrap; background: var(--sunk); color: var(--muted); }
.vbadge.v-verifie { background: color-mix(in srgb, var(--ok, #1a7f37) 15%, transparent); color: var(--ok, #1a7f37); }
.vbadge.v-partenaire { background: color-mix(in srgb, var(--accent, #1F6FEB) 16%, transparent); color: var(--accent, #1F6FEB); }
.excl-tag { font-size: 13px; font-weight: 600; color: var(--accent, var(--pink-ink)); }
.excl-zone { background: color-mix(in srgb, var(--accent, #1F6FEB) 8%, var(--surface)); }
.card.crit { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.card.avis { display: flex; flex-direction: column; gap: 8px; }
.card.avis.masque { opacity: .6; border-style: dashed; }
.star-in { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-in label { cursor: pointer; }
.star-in input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-in span { font-size: 28px; line-height: 1; color: color-mix(in srgb, var(--muted) 35%, transparent); padding: 2px; }
.star-in input:focus-visible + span { outline: 2px solid var(--focus); border-radius: 4px; }
.star-in label:has(input:checked) span, .star-in label:has(input:checked) ~ label span,
.star-in:hover label:hover span, .star-in label:hover ~ label span { color: #F5A623; }
.star-in:hover label:hover ~ label span { color: #F5A623; }
nav.bottom .wrap.n3 { gap: 8px; }
nav.bottom .wrap.n3 .btn { padding-inline: 10px; white-space: nowrap; min-width: 0; }
nav.bottom .wrap.n3 .btn.primary { flex: 1.3; }
nav.bottom .btn.on { border-color: var(--ink); }
@media (max-width: 440px) { nav.bottom .wrap.n3 .lg { display: none; } }

/* Module de signature */
nav.bottom .wrap.n4, nav.bottom .wrap.n5 { gap: 6px; }
nav.bottom .wrap.n4 .btn, nav.bottom .wrap.n5 .btn { flex: 1; flex-direction: column; gap: 2px; padding: 6px 4px; font-size: 12px; line-height: 1.15; white-space: nowrap; min-width: 0; }
nav.bottom .wrap.n4 .btn svg, nav.bottom .wrap.n5 .btn svg { width: 20px; height: 20px; }
nav.bottom .wrap.n4 .btn.primary, nav.bottom .wrap.n5 .btn.primary { flex: 1.1; }
nav.bottom .wrap.n4 .lg, nav.bottom .wrap.n5 .lg { display: none; }
nav.bottom .wrap.n5 .btn { font-size: 11px; padding: 6px 2px; }
.sg-new { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .sg-new { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sg-tile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; padding: 14px; }
.sg-tile b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.sg-tile b svg { width: 16px; height: 16px; flex: none; }
.sg-tile span { font-size: 12.5px; line-height: 1.35; }
.sg-row { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.sg-row b { font-size: 16px; }
.pill.sg-brouillon { --c: #8A8F98; } .pill.sg-poseur, .pill.sg-envoye { --c: var(--orange, #F29F31); }
.pill.sg-signe { --c: var(--green, #1a7f37); } .pill.sg-refuse { --c: var(--bad, #C62828); } .pill.sg-annule { --c: #8A8F98; }
dl.kv { display: grid; grid-template-columns: 9.5em 1fr; gap: 6px 12px; margin: 0; font-size: 14.5px; }
dl.kv dt { color: var(--muted); } dl.kv dd { margin: 0; white-space: pre-wrap; }
@media (max-width: 480px) { dl.kv { grid-template-columns: 1fr; } dl.kv dd { margin-bottom: 6px; } }
ul.journal { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
ul.journal .mono { font-size: 12px; margin-right: 6px; }

/* Coordonnées à côté du logo */
.hcontact { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; min-width: 0; }
.hcontact a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.hcontact a:hover { border-color: var(--ink); }
.hcontact svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 760px) { .hcontact a { padding: 6px; } .hcontact a span { display: none; } .hcontact svg { width: 17px; height: 17px; } }

/* Réseau des revendeurs */
.nbadge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad, #C62828); color: #fff; font-size: 11px; font-weight: 700; margin-left: 4px; }
nav.bottom .btn { position: relative; }
.nbadge.dot { position: absolute; top: 2px; right: 8px; margin: 0; }
.net-tabs .chip { text-decoration: none; color: inherit; }
.net-new { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .net-new { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.npost { display: flex; flex-direction: column; gap: 8px; }
.npost.pinned { border: 2px solid var(--accent, var(--pink)); }
.nhead { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.nwho { color: inherit; text-decoration: none; }
.ntitle { color: inherit; text-decoration: none; } .ntitle h3 { font-size: 17px; overflow-wrap: anywhere; }
.nmeta { font-size: 13.5px; color: var(--muted); }
.nbody { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.nbody.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nphotos { display: grid; gap: 4px; border-radius: 10px; overflow: hidden; }
.nphotos.n1 { grid-template-columns: 1fr; } .nphotos.n2 { grid-template-columns: 1fr 1fr; } .nphotos.n3 { grid-template-columns: 2fr 1fr 1fr; }
.nphotos img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.nactions { display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--line); padding-top: 8px; flex-wrap: wrap; }
.nbtn { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--muted); padding: 6px 8px; border-radius: 8px; cursor: pointer; font: inherit; font-size: 14px; text-decoration: none; }
.nbtn:hover { background: var(--sunk); color: var(--ink); }
.nbtn.on { color: #E0245E; } .nbtn.on svg { fill: currentColor; }
.nbtn.sm { padding: 4px; }
.nshared { border-left: 3px solid var(--line); padding-left: 8px; }
.nshared .card { box-shadow: none; }
.pill.nk-mission { --c: var(--orange, #F29F31); } .pill.nk-realisation { --c: var(--green, #1a7f37); } .pill.nk-question { --c: var(--teal, #42C0C6); }
.pill.nk-materiel { --c: #8E5BD8; } .pill.nk-emploi { --c: #1F6FEB; } .pill.nk-annonce { --c: var(--pink, #EB2B65); }
.ncom { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; } .ncom p { white-space: pre-wrap; }
.nthread { display: flex; flex-direction: column; gap: 8px; }
.nmsg { max-width: 85%; align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.nmsg.me { align-self: flex-end; background: color-mix(in srgb, var(--accent, #1F6FEB) 12%, var(--surface)); border-radius: 14px 14px 4px 14px; }
.nmsg p { white-space: pre-wrap; overflow-wrap: anywhere; } .nmsg > span { font-size: 11.5px; }
.nref { font-size: 12.5px; font-weight: 600; color: inherit; }
.linkb.sm { font-size: 11.5px; font-weight: 400; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 12px; }
.checks label { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.charte ul { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.net-tabs .chip.on { color: var(--bg); }
.scroller.net-new { gap: 8px; }
.scroller.net-new .btn { flex: none; text-decoration: none; }
.scroller.net-new .btn svg { width: 15px; height: 15px; }
.lvl { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 6px; vertical-align: 1px; margin-left: 4px; }
.lvl-or { background: #F6E3A1; color: #6B4E00; } .lvl-ar { background: #E3E6EA; color: #3D4651; }
.act-cell { font-size: 13.5px; min-width: 220px; }

/* Module Réseau : canaux, magasins, catalogue, validation */
.ctag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: var(--sunk); color: var(--muted); white-space: nowrap; }
.ctag.c-revendeur { background: color-mix(in srgb, #1F6FEB 14%, transparent); color: #1F5BC4; }
.ctag.c-direct { background: color-mix(in srgb, #1a7f37 14%, transparent); color: #17692f; }
.ctag.c-reseau { background: color-mix(in srgb, #8E5BD8 16%, transparent); color: #6C3FB8; }
.ctag.c-bad { background: var(--bad, #C62828); color: #fff; }
.pill.v-attente_region, .pill.v-attente_siege { --c: var(--orange, #F29F31); } .pill.v-refuse { --c: var(--bad, #C62828); }
.card.ctx { gap: 10px; font-size: 14px; align-items: center; }
.card.ctx a { color: inherit; font-weight: 600; }
ul.vhist { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; display: flex; flex-direction: column; gap: 3px; }
.cat-item { display: flex; gap: 12px; align-items: flex-start; }
.cat-item.off { opacity: .55; }
.cat-item > img, .cat-ph { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; flex: none; background: var(--sunk); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.cat-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cat-opt { display: flex; flex-direction: column; gap: 4px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 10px; cursor: pointer; font: inherit; color: inherit; }
.cat-opt img { width: 100%; height: 90px; object-fit: cover; border-radius: 6px; }
.cat-opt span { font-size: 12.5px; color: var(--muted); }
.cat-opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
tr.hl td { background: color-mix(in srgb, var(--accent, #1F6FEB) 8%, transparent); }

/* Charte graphique des réseaux */
.charte-cols{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.charte-col{display:flex;flex-direction:column;gap:2px;font-size:13.5px;min-width:0}
.charte-col b{overflow-wrap:anywhere}
.charte-sw{height:46px;border-radius:10px;border:1px solid var(--line,#ddd)}
.charte-dot{display:inline-block;width:14px;height:14px;border-radius:50%;margin-left:6px;vertical-align:-2px;border:1px solid var(--line,#ddd)}
.charte-row input[type=color]{width:44px;height:40px;padding:2px;flex:none}
@media (max-width:560px){.charte-row{flex-wrap:wrap}.charte-row .cc-ref{width:100%!important}}

/* Module Réseau V2 : carte, déploiements, SAV */
.pdv-map { height: 420px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--sunk); z-index: 0; }
.pdv-map .empty { height: 100%; display: grid; place-content: center; }
@media (max-width: 560px) { .pdv-map { height: 340px; } }
.mdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; flex: none; }
.dep-bar { display: block; height: 8px; border-radius: 99px; background: var(--sunk); overflow: hidden; }
.dep-bar i { display: block; height: 100%; background: var(--green, #1a7f37); border-radius: 99px; }
.dep-steps { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; }
.dep-pdvs { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: grid; gap: 4px; }
.dep-table td { vertical-align: top; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.prevs.big img { max-height: 260px; }
.tk-msg { border-left: 3px solid var(--line); padding: 2px 0 2px 10px; }
.tk-msg.pe { border-color: var(--accent, #1F6FEB); }
.tk-msg.sys p { color: var(--muted); font-size: 13.5px; }
.tk-msg p { margin: 2px 0 0; }
.terrain-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
@media print {
  header.top, nav.bottom, .noprint, #modal, .demo-bar { display: none !important; }
  body { background: #fff; }
  .dep-view .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}
@media (max-width: 640px) {
  .dep-table thead { display: none; }
  .dep-table, .dep-table tbody, .dep-table tr, .dep-table td { display: block; width: 100%; }
  .dep-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .dep-table td { border: 0 !important; padding: 3px 0 !important; }
  .dep-table td[data-l] { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
  .dep-table td[data-l]::before { content: attr(data-l); min-width: 64px; font-size: 12px; color: var(--muted); }
  .dep-table td.noprint:empty { display: none; }
}

/* Module Réseau V3 */
.dep-bar.budget.warn i { background: var(--orange, #F29F31); }
.dep-bar.budget.over i { background: var(--bad, #C62828); }
.fin-months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 120px; align-items: end; }
.fin-months div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.fin-months i { display: block; width: 100%; max-width: 28px; min-height: 2px; background: var(--accent, #1F6FEB); border-radius: 4px 4px 0 0; }
.fin-months span { font-size: 11px; color: var(--muted); }
.extinction { border-left: 4px solid #0b1020; }
@media (max-width: 640px) {
  .fin-table thead { display: none; }
  .fin-table, .fin-table tbody, .fin-table tr, .fin-table td { display: block; width: 100%; }
  .fin-table tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .fin-table td { border: 0 !important; padding: 2px 0 !important; }
  .fin-table td[data-l] { display: flex; justify-content: space-between; }
  .fin-table td[data-l]::before { content: attr(data-l); font-size: 12px; color: var(--muted); font-family: inherit; }
}
