/* Layout: en-tête blanc collant, hero clair en 2 colonnes (promesse + carte de réservation), sections aérées max 1160px, pied de page encre.
   Identité : blanc net, encre bleu nuit, vert émeraude pour l'action. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --fg: #10233f;
  --muted: #5d6b7e;
  --line: #e2e7ee;
  --brand: #1467b8;
  --brand-fg: #ffffff;
  --brand-soft: #e5f0fb;
  --accent: #7cc24b;
  --accent-fg: #0c2a03;
  --ink: #0b2f5c;
  --ink-fg: #f2f5f9;
  --ok: #138a52;
  --warn: #a8640a;
  --bad: #c0362c;
  --info: #2457c5;
  --shadow: 0 1px 2px rgb(14 23 38 / .05), 0 12px 32px -8px rgb(14 23 38 / .12);
  --font-display: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1018; --surface: #121a25; --surface-2: #1a2433; --fg: #e8edf4; --muted: #97a5b8; --line: #243042;
    --brand: #5aa9f0; --brand-fg: #04162b; --brand-soft: #0f2640; --accent: #8fd45f; --accent-fg: #0c2a03;
    --ink: #060a10; --ink-fg: #e8edf4; --ok: #4fd18f; --warn: #f0b04a; --bad: #ff8a80; --info: #86aef5;
    --shadow: 0 1px 2px rgb(0 0 0 / .35), 0 12px 32px -8px rgb(0 0 0 / .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1018; --surface: #121a25; --surface-2: #1a2433; --fg: #e8edf4; --muted: #97a5b8; --line: #243042;
  --brand: #5aa9f0; --brand-fg: #04162b; --brand-soft: #0f2640; --accent: #8fd45f; --accent-fg: #0c2a03;
  --ink: #060a10; --ink-fg: #e8edf4; --ok: #4fd18f; --warn: #f0b04a; --bad: #ff8a80; --info: #86aef5;
  --shadow: 0 1px 2px rgb(0 0 0 / .35), 0 12px 32px -8px rgb(0 0 0 / .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -.025em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.eyebrow { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--brand); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Boutons et champs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 12px; padding: .85em 1.35em; font: 600 1rem var(--font-body); cursor: pointer; text-decoration: none; transition: transform .12s, background-color .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-brand, .btn-accent { background: var(--brand); color: var(--brand-fg); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--brand) 60%, transparent); }
.btn-brand:hover, .btn-accent:hover { background: color-mix(in srgb, var(--brand) 88%, var(--fg)); }
.btn-ghost { background: var(--surface); color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: .5em .9em; font-size: .88rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
label { display: block; font-weight: 500; font-size: .88rem; color: var(--fg); }
label > input, label > select, label > textarea { margin-top: 6px; }
input, select, textarea { width: 100%; font: 400 1rem var(--font-body); color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .72em .85em; min-width: 0; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
textarea { resize: vertical; min-height: 80px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.opt { font-weight: 400; color: var(--muted); }

/* Bandeau démo */
.demo-banner { background: var(--accent); color: var(--accent-fg); text-align: center; font-size: .85rem; font-weight: 600; padding: 8px 16px; }

/* En-tête */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--fg); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: var(--brand-fg); display: grid; place-items: center; }
.logo-mark .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .94rem; }
.nav a:hover { color: var(--fg); }
@media (max-width: 860px) { .nav .hide-sm { display: none; } }

/* Hero */
.hero { padding-block: 48px 72px; background:
  radial-gradient(800px 380px at 85% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%),
  radial-gradient(600px 300px at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } }
.hero-copy { display: grid; gap: 24px; padding-top: 20px; min-width: 0; }
.badge { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: .85rem; font-weight: 500; color: var(--muted); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); margin-left: 4px; }
.hero h1 .hl { color: var(--brand); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 40ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; max-width: 520px; }
@media (max-width: 520px) { .promises { grid-template-columns: 1fr; } }
.promises li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; font-weight: 500; }
.promises .icon { color: var(--brand); margin-top: 2px; }
.hero-phone { font-size: .92rem; color: var(--muted); }
.hero-phone .tel { color: var(--fg); font-weight: 600; user-select: all; }

/* Carte réservation */
.booking { background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 26px; min-width: 0; }
.booking h2 { font-size: 1.35rem; letter-spacing: -.02em; }
.booking-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.booking-head .muted { font-size: .85rem; }
.field-label { font-weight: 500; font-size: .88rem; }
.cat-tabs { display: flex; gap: 4px; margin-top: 8px; padding: 4px; background: var(--surface-2); border-radius: 12px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { flex: 1 0 auto; border: 0; background: transparent; color: var(--muted); border-radius: 9px; padding: 7px 10px; font: 600 .84rem var(--font-body); cursor: pointer; white-space: nowrap; }
.cat-tab[aria-pressed="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 3px rgb(14 23 38 / .12); }
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.svc-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 10px; padding: 7px 11px; font: 500 .88rem var(--font-body); cursor: pointer; transition: border-color .15s, background-color .15s; }
.svc-chip .icon { width: 16px; height: 16px; color: var(--muted); }
.svc-chip:hover { border-color: var(--muted); }
.svc-chip[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.svc-chip[aria-checked="true"] .icon { color: var(--brand); }
.price-box { border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); background: var(--brand-soft); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-box .lbl { font-size: .82rem; color: var(--muted); font-weight: 500; }
.price-box .big { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.price-box .after { white-space: pre-line; font-size: .85rem; color: var(--brand); font-weight: 600; text-align: right; }
.form-msg { font-size: .9rem; font-weight: 500; }
.form-msg:empty { display: none; }
.form-msg.err { color: var(--bad); }
.fineprint { font-size: .8rem; color: var(--muted); text-align: center; }
.success { text-align: center; display: grid; gap: 12px; padding: 28px 4px; justify-items: center; }
.success .check { width: 60px; height: 60px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.success .check .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.ref { font-family: ui-monospace, Menlo, monospace; background: var(--surface-2); padding: 4px 10px; border-radius: 8px; }

/* Bande de garanties */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 22px; }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: 1fr 1fr; } }
.trust div { display: flex; gap: 12px; align-items: center; font-size: .92rem; font-weight: 500; }
.trust .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }

/* Sections */
section.block { padding-block: 80px; }
@media (max-width: 600px) { section.block { padding-block: 56px; } }
.section-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 62ch; }
.section-head .muted { font-size: 1.05rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; grid-template-rows: auto auto 1fr auto; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .2s; }
.service:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); }
.service .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.service .ic .icon { width: 22px; height: 22px; }
.service p { font-size: .94rem; }
.service .price { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.service .price b { font-family: var(--font-display); font-size: 1.25rem; color: var(--fg); letter-spacing: -.02em; }
.service .go { color: var(--brand); font-weight: 600; font-size: .88rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; font: 700 .95rem var(--font-display); margin-bottom: 6px; }

.alt { background: var(--surface); border-block: 1px solid var(--line); }
.zone { display: flex; flex-wrap: wrap; gap: 8px; }
.zone span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-weight: 500; font-size: .92rem; }

.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 68ch; }

.join { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }
.join form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; min-width: 0; box-shadow: var(--shadow); }
.perks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.perks .icon { color: var(--brand); }

.site-footer { background: var(--ink); color: var(--ink-fg); padding-block: 44px; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: inherit; opacity: .8; text-decoration: none; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .logo { color: var(--ink-fg); }

/* Bouton flottant mobile */
.float-cta { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 20; }
@media (min-width: 940px) { .float-cta { display: none; } }

/* ---------- ADMIN ---------- */
.admin-top { background: var(--ink); color: var(--ink-fg); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
.admin-top .logo { color: var(--ink-fg); }
.admin-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 12px; flex-wrap: wrap; }
.admin-main { padding-block: 24px 80px; display: grid; gap: 22px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; }
.stat b { font-family: var(--font-display); font-size: 1.7rem; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat span { font-size: .82rem; color: var(--muted); font-weight: 500; }
.stat.hot { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 10px 14px; font: 600 .95rem var(--font-body); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--fg); border-color: var(--brand); }
.tabs .count { background: var(--accent); color: var(--accent-fg); border-radius: 999px; padding: 0 7px; font-size: .75rem; margin-left: 4px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 999px; padding: 5px 12px; font: 500 .85rem var(--font-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.list { display: grid; gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 10px; min-width: 0; }
.card[data-statut="nouvelle"] { border-left-color: var(--accent); }
.card[data-statut="confirmee"] { border-left-color: var(--info); }
.card[data-statut="assignee"] { border-left-color: var(--brand); }
.card[data-statut="terminee"] { border-left-color: var(--ok); }
.card[data-statut="annulee"] { border-left-color: var(--bad); opacity: .7; }
.card-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.card-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 6px 16px; font-size: .92rem; margin: 0; }
.card-meta div { min-width: 0; overflow-wrap: anywhere; }
.card-meta dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.card-meta dd { margin: 0; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.card-actions select { width: auto; padding: .4em .6em; font-size: .9rem; }
.pill { font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); }
.pill.nouvelle { background: var(--accent); color: var(--accent-fg); }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; }
.login { max-width: 400px; margin: 60px auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); background: var(--fg); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 500; z-index: 50; max-width: calc(100% - 32px); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; }
/* Le contenu du formulaire ne doit jamais élargir la carte sur téléphone */
.booking form > div, .booking form > div > * { min-width: 0; }
@media (max-width: 520px) { .booking { padding: 18px; } }
[id] { scroll-margin-top: 84px; }

/* ---------- Logo ---------- */
.logo-pill { background: #fff; border-radius: 9px; padding: 3px 8px; display: inline-flex; }
.logo-pill img { height: 34px; width: auto; display: block; }
.logo-sub { font-family: var(--font-body); font-weight: 500; font-size: .8rem; opacity: .75; }

/* ---------- Messagerie ---------- */
.msg-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 14px; align-items: start; }
.conv-list { display: grid; gap: 8px; max-height: 72vh; overflow-y: auto; }
.conv { text-align: left; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font: inherit; color: var(--fg); display: grid; gap: 3px; }
.conv:hover { border-color: var(--brand); }
.conv[aria-current="true"] { border-color: var(--brand); box-shadow: inset 3px 0 0 var(--brand); }
.conv .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.conv b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv small { color: var(--muted); white-space: nowrap; }
.conv .sub { font-size: .86rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv .unread { background: var(--accent); color: var(--accent-fg); border-radius: 999px; font-size: .75rem; font-weight: 700; padding: 0 7px; }
.thread { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 420px; max-height: 76vh; overflow: hidden; }
.thread > .empty { margin: 16px; }
.thread-head { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.thread-head h3 { margin: 0; font-size: 1.05rem; }
.thread-head p { margin: 0; font-size: .86rem; color: var(--muted); }
.thread-head .back { display: none; }
.thread-msgs { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.bub { max-width: 80%; display: grid; gap: 3px; }
.bub .who { font-size: .72rem; color: var(--muted); font-weight: 600; }
.bub .txt { padding: 9px 13px; border-radius: 13px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.bub.me { align-self: flex-end; }
.bub.me .txt { background: var(--brand); color: var(--brand-fg); border-bottom-right-radius: 4px; }
.bub.them .txt { background: var(--surface-2); border-bottom-left-radius: 4px; }
.reply { display: grid; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.reply .quick { display: flex; gap: 6px; flex-wrap: wrap; }
.reply .quick button { font-size: .8rem; }
.reply .row2 { display: flex; gap: 8px; align-items: flex-end; }
.reply textarea { min-height: 46px; resize: vertical; }
@media (max-width: 760px) {
  .msg-layout { grid-template-columns: minmax(0, 1fr); }
  .msg-layout.open .conv-list { display: none; }
  .msg-layout:not(.open) .thread { display: none; }
  .thread-head .back { display: inline-flex; }
}
