/* Police : Plus Jakarta Sans (licence libre SIL OFL, fichiers dans /public/fonts) */
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/static/fonts/jakarta-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: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/static/fonts/jakarta-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-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f4f5f7; --card: #ffffff; --ink: #0d1a2b; --muted: #5d6879; --line: #e4e8ee; --soft: #eef1f5;
  --brand: #0f2440; --brand-2: #1d4f86; --accent: #ff7a1a; --accent-ink: #4a2200;
  --ok: #15804a; --ok-bg: #e6f6ed; --warn: #a86b00; --warn-bg: #fff3d9; --bad: #c43535; --bad-bg: #fdeaea;
  --r: 18px; --shadow: 0 1px 2px rgba(13,26,43,.04), 0 10px 30px -12px rgba(13,26,43,.12);
  --tint: color-mix(in srgb, var(--brand) 9%, #fff);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.5 "Jakarta", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* Espace sous la page pour que le dernier élément ne soit jamais caché par le menu du bas */
body.owner { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
body.owner.locked { padding-bottom: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a { color: var(--brand-2); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; margin-top: 1.4em; }
h3 { font-size: 1.08rem; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.ic { width: 1.3em; height: 1.3em; flex: none; vertical-align: -0.25em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.right { text-align: right; }
.hide { display: none !important; }

/* En-tête */
header.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 10px 16px; min-height: 64px; color: #fff;
  background: linear-gradient(115deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 78%, var(--brand-2)) 100%); box-shadow: 0 6px 20px -10px rgba(13,26,43,.45); }
header.top h1 { flex: 1; font-size: 1.2rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
header.top a { color: #fff; text-decoration: none; }
header.top .shopname { display: flex; align-items: center; gap: 10px; font-weight: 700; min-width: 0; }
body.owner header.top .shopname { flex: 1; font-size: 1.08rem; }
/* Logo du garage : affiché en entier (jamais rogné), même s'il est large */
header.top .shopname img.logo { height: 38px; width: auto; max-width: 112px; border-radius: 8px; object-fit: contain; background: #fff; padding: 3px; flex: none; }
header.top .shopname .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
header.pub .shopname .nm { max-width: 60vw; }
@media (max-width: 600px) { .time { min-width: 60px; font-size: 1.05rem; } }
header.pub { justify-content: space-between; }
header.top .back { font-size: 2.4rem; line-height: 1; padding: 0 10px 6px 0; }
header.top .lang { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 99px; padding: 6px 14px; font-weight: 700; font-size: .85rem; }
header.top .tag { background: var(--accent); color: #1d1100; border-radius: 99px; padding: 2px 12px; font-weight: 800; font-size: .85rem; }
.brandmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brandmark svg rect, header.top .shopname svg rect { fill: #fff; }
.brandmark svg path, header.top .shopname svg path { stroke: var(--brand); }
header.app-top { background: rgba(255,255,255,.9); color: var(--ink); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
header.app-top a { color: var(--ink); }
header.app-top .brandmark svg rect { fill: #0f2440; }
header.app-top .brandmark svg path { stroke: #fff; }
header.app-top .lang { background: var(--soft); border-color: var(--line); }

.wrap { max-width: 980px; margin: 0 auto; padding: 18px 16px 32px; }
.wrap.narrow { max-width: 640px; }

/* Menu du bas */
/* Fond blanc plein : rien de la page ne paraît à travers ou derrière le menu */
nav.bottom { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: flex; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px -10px rgba(13,26,43,.22); padding: 4px 4px env(safe-area-inset-bottom); }
nav.bottom a { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 74px; color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 700; }
nav.bottom a .ic { width: 28px; height: 28px; padding: 2px 0; box-sizing: content-box; border-radius: 99px; transition: background .2s; }
nav.bottom a.on { color: var(--brand); }
nav.bottom a.on .ic { background: var(--tint); padding: 2px 16px; }
nav.bottom .dot { position: absolute; top: 6px; left: calc(50% + 10px); background: var(--bad); color: #fff; border-radius: 99px; font-size: .72rem; font-weight: 800; padding: 1px 7px; border: 2px solid #fff; }

/* Cartes et listes */
.card { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px; margin: 0 0 16px; }
.card.alert { border-left: 5px solid var(--accent); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li, .list > a { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; min-height: 64px; }
.list > :last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .title { font-weight: 700; }
.list .sub { color: var(--muted); font-size: .9rem; }
a.row:hover { background: #f7f9fc; }
.chev::after { content: "›"; font-size: 1.8rem; color: var(--muted); }
.time { font-weight: 800; font-size: 1.15rem; min-width: 72px; color: var(--brand); }
.empty { color: var(--muted); padding: 10px 0; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 12px 22px; border: 0; border-radius: 14px;
  background: var(--brand); color: #fff; font: inherit; font-weight: 750; letter-spacing: -.005em; text-decoration: none; cursor: pointer; text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 8px 18px -10px color-mix(in srgb, var(--brand) 70%, transparent); transition: transform .08s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px) scale(.995); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }
.btn.big { width: 100%; font-size: 1.1rem; min-height: 64px; }
.btn.ok { background: var(--ok); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 18px -10px rgba(21,128,74,.7); }
.btn.bad { background: var(--bad); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 18px -10px rgba(196,53,53,.7); }
.btn.accent { background: var(--accent); color: #1d1100; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 18px -10px rgba(255,122,26,.8); }
.btn.light { background: var(--soft); color: var(--ink); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--brand-2); border: 1.5px solid var(--line); box-shadow: none; }
.btn.sm { min-height: 48px; padding: 8px 16px; font-size: .95rem; border-radius: 12px; }
.btn .ic { width: 28px; height: 28px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.btns > * { flex: 1 1 200px; }
.btns.two { display: grid; grid-template-columns: 1fr 1fr; }
.btns.two > * { min-width: 0; }
.btns.two .btn { padding-left: 10px; padding-right: 10px; }
.btns.two > form > .btn, .btns > form > .btn { width: 100%; }

.bigrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 20px; }
@media (min-width: 760px) { .bigrid { grid-template-columns: repeat(4, 1fr); } }
.bigrid .btn { flex-direction: column; min-height: 128px; font-size: 1.1rem; border-radius: 20px; padding: 16px 10px; }
.bigrid .btn .ic { width: 44px; height: 44px; }

/* Formulaires */
label { display: block; font-weight: 700; margin: 16px 0 6px; }
label.inline { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; overflow-wrap: anywhere; }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], input[type=date], input[type=time], input[type=search], input[type=url], select, textarea {
  width: 100%; min-height: 56px; padding: 12px 14px; border: 1.5px solid #d6dce5; border-radius: 12px; font: inherit; font-weight: 450; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 18%, transparent); }
::placeholder { color: #9aa3b1; }
input[type=checkbox], input[type=radio] { width: 30px; height: 30px; flex: none; accent-color: var(--brand); margin: 0; }
input[type=file] { font: inherit; width: 100%; padding: 14px; border: 2px dashed var(--line); border-radius: 12px; background: #fafbfd; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.hint { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.searchbar { display: flex; gap: 10px; margin-bottom: 14px; }
.searchbar input { flex: 1; }

/* Étiquettes */
.pill { display: inline-block; border-radius: 99px; padding: 3px 12px; font-size: .8rem; font-weight: 750; background: var(--soft); color: var(--ink); white-space: nowrap; letter-spacing: .01em; }
.pill.pending { background: var(--warn-bg); color: var(--warn); }
.pill.confirmed, .pill.approved, .pill.green { background: var(--ok-bg); color: var(--ok); }
.pill.declined, .pill.cancelled, .pill.no_show, .pill.red { background: var(--bad-bg); color: var(--bad); }
.pill.done, .pill.sent { background: #e3ecf9; color: var(--brand-2); }
.pill.yellow { background: var(--warn-bg); color: var(--warn); }

.flash { display: flex; gap: 10px; align-items: center; border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; font-weight: 650; background: var(--ok-bg); color: var(--ok); border: 1px solid #bfe5cf; }
.flash.err { background: var(--bad-bg); color: var(--bad); border-color: #f3c6c6; }

/* Lignes de reçu */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num, th.num { text-align: right; white-space: nowrap; }
.totals td { border: 0; padding: 4px 6px; }
.totals tr.grand td { font-size: 1.3rem; font-weight: 800; border-top: 2px solid var(--ink); padding-top: 10px; }
.lines .line { display: grid; gap: 8px; align-items: end; padding: 14px 0; border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr 1.4fr 56px; grid-template-areas: "k c del" "d d d" "q p p"; }
.lines .line .k { grid-area: k; min-height: 48px; } .lines .line .d { grid-area: d; }
.lines .line .c { grid-area: c; min-height: 48px; }
.lines .line > * { min-width: 0; }
.lines .line select { width: 100%; }
.lines .line.is-labour .c, .lines .line.is-other .c { visibility: hidden; }
.lines .line .q { grid-area: q; margin: 0; } .lines .line .p { grid-area: p; margin: 0; }
.lines .line label span { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.lines .line .del { grid-area: del; min-height: 48px; padding: 0; background: var(--bad-bg); color: var(--bad); }
@media (min-width: 760px) { .lines .line { grid-template-columns: 150px 170px 1fr 90px 120px 56px; grid-template-areas: "k c d q p del"; } }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.presets button { min-height: 48px; }
.livetotal { position: sticky; bottom: 84px; background: var(--brand); color: #fff; border-radius: 14px; padding: 12px 18px; display: flex; justify-content: space-between; font-weight: 800; font-size: 1.2rem; margin: 16px 0; }

/* Créneaux */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scroll-snap-type: x mandatory; }
.days button { position: relative; flex: none; scroll-snap-align: start; min-width: 92px; min-height: 80px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: .9rem; cursor: pointer; line-height: 1.2; padding: 8px 6px; }
.days button b { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
.days button.on { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.days button:disabled { opacity: .4; }
.days button .few { display: block; margin-top: 4px; font-size: .68rem; font-weight: 800; color: #b3410b; background: #fff1e6; border-radius: 99px; padding: 1px 6px; }
.days button.on .few { background: rgba(255,255,255,.18); color: #fff; }
.days button.full { opacity: .5; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.slots label { margin: 0; }
.slots input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slots span { display: flex; align-items: center; justify-content: center; min-height: 58px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s; }
.slots span:hover { border-color: var(--brand-2); }
.slots input:checked + span { background: var(--accent); border-color: var(--accent); color: #1d1100; }
.slots input:focus-visible + span { outline: 3px solid var(--brand); }

/* Photos */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 10px 0; }
.photos a, .photos img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; background: #e8edf4; }
.preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.preview img { width: 90px; height: 70px; object-fit: cover; border-radius: 10px; }

/* Inspection */
.insp-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.insp-item .lbl { font-weight: 700; margin-bottom: 8px; }
.rate { display: flex; gap: 8px; }
.rate label { flex: 1; margin: 0; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate span { display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 12px; border: 3px solid var(--line); font-weight: 700; cursor: pointer; background: #fff; }
.rate .g input:checked + span { background: var(--ok); border-color: var(--ok); color: #fff; }
.rate .y input:checked + span { background: #f2b705; border-color: #f2b705; color: #2b2000; }
.rate .r input:checked + span { background: var(--bad); border-color: var(--bad); color: #fff; }
.insp-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.insp-extra input[type=file] { padding: 8px; min-height: 58px; font-size: .85rem; }
@media (max-width: 560px) { .insp-extra { grid-template-columns: 1fr; } }

/* Historique */
.timeline { border-left: 4px solid var(--line); margin-left: 8px; padding-left: 18px; }
.timeline .ev { position: relative; padding: 4px 0 18px; }
.timeline .ev::before { content: ""; position: absolute; left: -29px; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; }

/* Statistiques */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border-radius: var(--r); padding: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.kpi b { display: block; font-size: 1.7rem; color: var(--brand); letter-spacing: -.03em; }
.kpi span { color: var(--muted); font-size: .9rem; }
/* Sur un cellulaire, les 12 mois défilent de côté dans la carte (la page, elle, ne déborde pas) */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 200px; padding-top: 20px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.bars .bar { flex: 1 0 34px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; font-size: .7rem; color: var(--muted); }
.bars .bar i { display: block; width: 100%; background: var(--brand-2); border-radius: 6px 6px 0 0; min-height: 2px; }
.bars .bar em { font-style: normal; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Points */
.points-hero { text-align: center; background: radial-gradient(400px 200px at 90% -20%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-radius: 22px; padding: 26px; margin-bottom: 16px; box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--brand) 80%, transparent); }
.points-hero b { display: block; font-size: 3.2rem; line-height: 1; letter-spacing: -.04em; }

/* Bouton SMS test */
/* Bandeau « Mode test » (mode test / démo seulement) : dans la page, au-dessus de l'en-tête — il ne cache rien */
.testbar { display: flex; align-items: center; justify-content: center; gap: 6px; background: #2b2b2b; color: #fff; text-decoration: none; padding: 6px 12px; font-size: .78rem; line-height: 1.3; text-align: center; }
.testbar .ic { width: 16px; height: 16px; }
.testbar:hover { background: #3a3a3a; }

/* Simulateur SMS */
.sms-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.phone { background: #fff; border-radius: 26px; border: 8px solid #222; padding: 0 0 10px; overflow: hidden; }
.phone .ph { background: #f1f1f4; padding: 10px 14px; font-weight: 700; font-size: .95rem; border-bottom: 1px solid #ddd; }
.phone .msgs { max-height: 440px; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 85%; padding: 9px 13px; border-radius: 18px; font-size: .9rem; white-space: pre-wrap; word-wrap: break-word; }
.bubble.in { align-self: flex-start; background: #e9e9eb; }
.bubble.out { align-self: flex-end; background: #2f7cf6; color: #fff; }
.bubble small { display: block; opacity: .7; font-size: .7rem; margin-top: 3px; }
.phone form { display: flex; gap: 6px; padding: 8px 10px 0; }
.phone form input { min-height: 46px; }
.phone form .btn { min-height: 46px; padding: 6px 14px; }

.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 10px 16px 30px; }
.receipt-doc { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.receipt-doc .hdr { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; }
.hero { text-align: center; padding: 30px 10px; }
.hero h1 { font-size: 2rem; }
details summary { cursor: pointer; font-weight: 700; padding: 10px 0; min-height: 48px; }
.weekstrip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 14px; }
.weekstrip a { text-align: center; text-decoration: none; color: var(--ink); background: #fff; border-radius: 12px; padding: 8px 2px; border: 2px solid transparent; font-size: .8rem; }
.weekstrip a b { display: block; font-size: 1.2rem; }
.weekstrip a.on { border-color: var(--brand); background: #e3ecf9; }
.weekstrip a.today b { color: var(--accent); }
.weekstrip a i { display: block; font-style: normal; font-size: .75rem; color: var(--brand-2); font-weight: 700; min-height: 1em; }
.daynav { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.daynav .btn { min-width: 60px; font-size: 1.5rem; }
.daynav h2 { flex: 1; margin: 0; text-align: center; font-size: 1.15rem; }
.block-row { background: repeating-linear-gradient(45deg, #f1f3f6, #f1f3f6 10px, #e7eaef 10px, #e7eaef 20px); border-radius: 12px; padding: 12px 14px !important; }

/* Image de marque du garage (reçus, soumissions, pages clients) */
header.top .shopname .mono { width: 36px; height: 36px; border-radius: 8px; background: #fff; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; flex: none; max-width: none; }
.receipt-doc.branded { border-top: 8px solid var(--brand); }
.doc-brand { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px solid var(--line); }
.doc-brand .who { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.doc-brand .who img, .doc-brand .who .mono { width: 64px; height: 64px; border-radius: 12px; object-fit: contain; flex: none; }
.doc-brand .who .mono { display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.4rem; }
.doc-shop { font-size: 1.3rem; color: var(--brand); }
.doc-brand .what { text-align: right; color: var(--brand); }
.doc-brand .what b { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 560px) {
  .receipt-doc { padding: 16px 14px; }
  .receipt-doc table { font-size: .86rem; }
  .receipt-doc th, .receipt-doc td { padding: 8px 3px; }
  .receipt-doc .num { white-space: nowrap; }
  .doc-brand .what { text-align: left; width: 100%; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
}
.doc-foot { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #f3f6fa; border-left: 5px solid var(--brand); white-space: pre-wrap; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }
.swatches label { position: relative; cursor: pointer; }
.swatches input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatches span { display: block; width: 48px; height: 48px; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.swatches input:checked + span { box-shadow: 0 0 0 3px var(--ink); }
.swatches input:focus-visible + span { outline: 3px solid var(--accent); }
.swatches .custom { display: flex; align-items: center; gap: 8px; }
.swatches input[type=color] { position: static; opacity: 1; width: 48px; height: 48px; padding: 0; border: 0; background: none; }

/* Terminé : choix + rapport de travaux */
.choice-grid > form { display: flex; }
.choice-grid > form .btn, .choice-grid > .btn { width: 100%; }
.choice-grid small { display: block; font-weight: 400; font-size: .85rem; opacity: .85; line-height: 1.3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 10px 14px; border-radius: 99px; border: 2px solid var(--line); background: #fff; font-weight: 600; font-size: .95rem; }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:checked + span::before { content: '✓ '; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); }
.report-list { margin: 6px 0 0; padding-left: 0; list-style: none; }
.report-list li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.report-list li .ic { color: var(--ok); }

/* Rappels d'entretien */
.rule-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rule-row:last-child { border-bottom: 0; }
.rule-row.off .title, .rule-row.off .sub { color: var(--muted); }
.rule-freq { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.rule-freq label { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; font-size: .92rem; }
.rule-freq input { width: 92px; min-height: 44px; padding: 6px 8px; }
.rule-freq .btn { min-height: 44px; }

/* Forfait */
.plan-card { margin-top: 24px; border-top: 8px solid var(--accent); }
.plan-name { text-align: center; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .6px; margin: 4px 0; }
.plan-price { text-align: center; font-size: 1.4rem; margin: 6px 0 2px; }
.plan-price b { font-size: 3rem; color: var(--brand); }
.checks { list-style: none; padding: 0; margin: 8px 0 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks .ic { color: var(--ok); margin-top: 2px; }
.late-banner { display: block; background: var(--bad-bg); color: var(--bad); border: 2px solid #f3c0c0; border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; font-weight: 600; text-decoration: none; }

/* Fusion de dossiers */
.dup-hint { display: flex; gap: 12px; align-items: flex-start; background: var(--warn-bg); color: #6b4a00; border-radius: 12px; padding: 12px 14px; margin: 10px 0 0; text-decoration: none; font-size: .95rem; line-height: 1.4; }
.dup-hint .ic { margin-top: 2px; color: var(--warn); }
.dup-hint u { font-weight: 700; color: var(--warn); }
.choice { border: 2px solid var(--line); border-radius: 14px; padding: 14px; margin: 8px 0; cursor: pointer; align-items: center !important; }
.choice:has(input:checked) { border-color: var(--brand); background: #f3f7fc; }
.merge-side h3 { margin: 0 0 6px; }
.merge-side ul, .merge-result { margin: 6px 0 0; padding-left: 20px; }
.merge-result li { margin: 4px 0; }
.phones-list .row { padding: 10px 0; }

/* Paiements par carte */
.pay-box { text-align: center; border-top: 6px solid var(--ok); }
.pay-due { margin: 0 0 12px; color: var(--muted); }
.pay-due b { display: block; font-size: 2.2rem; line-height: 1.2; color: var(--ink); }
.pay-on { border-left: 6px solid var(--ok); }
.pay-on h3 { margin-top: 0; color: var(--ok); display: flex; gap: 8px; align-items: center; }
a.pay-row { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
a.pay-row .grow { flex: 1; min-width: 0; }
.sim-pay { max-width: 460px; margin: 0 auto; text-align: center; }
.sim-tag { display: inline-block; background: var(--warn-bg); color: var(--warn); font-weight: 800; letter-spacing: .04em; font-size: .8rem; border-radius: 99px; padding: 4px 12px; margin: 0 0 12px; }
.sim-amount { font-size: 2.4rem; font-weight: 800; margin: 4px 0 18px; }
.sim-pay form + form { margin-top: 10px; }
details.card > summary { cursor: pointer; min-height: 32px; }
.approved { text-align: center; border-top: 6px solid var(--ok); }
.approved .ic { width: 56px; height: 56px; padding: 12px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); }
.approved h2 { margin: 10px 0 4px; color: var(--ok); }

/* Accueil du site */
body.landing { background: radial-gradient(1200px 520px at 50% -140px, #dbe5f3 0%, var(--bg) 62%); }
.land-hero { position: relative; overflow: hidden; border-radius: 28px; padding: 40px 22px 32px; margin: 4px 0 20px; color: #fff; text-align: center;
  background: radial-gradient(520px 300px at 88% -12%, rgba(255,122,26,.38), transparent 62%), linear-gradient(155deg, #0f2440 0%, #16365d 58%, #1d4f86 100%);
  box-shadow: 0 30px 60px -30px rgba(15,36,64,.65); }
.land-icon { border-radius: 18px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.55); }
.eyebrow { display: inline-block; margin: 18px 0 12px; padding: 5px 13px; border-radius: 99px; background: rgba(255,255,255,.12); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.land-hero h1 { font-size: clamp(2.1rem, 8vw, 3.4rem); line-height: 1.04; letter-spacing: -.04em; margin: 0 auto 14px; max-width: 12em; }
.land-hero .lead { font-size: 1.05rem; color: rgba(255,255,255,.82); max-width: 32em; margin: 0 auto 26px; }
.land-cta { display: grid; gap: 12px; max-width: 540px; margin: 0 auto; }
@media (min-width: 640px) { .land-cta { grid-template-columns: 1fr 1fr; } }
.btn.ghost-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.32); box-shadow: none; }
.feat-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr 1fr; } }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.feat .ic { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: #fff1e6; color: #c2540a; }
.feat h3 { margin: 12px 0 4px; }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; }
body.landing .plan-card { max-width: 560px; margin: 26px auto; }
.land-foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 6px 0 20px; }

/* Connexion */
.auth { max-width: 440px; margin: 16px auto 0; text-align: center; }
.auth > img { border-radius: 18px; box-shadow: 0 14px 30px -14px rgba(15,36,64,.6); }
.auth h1 { margin: 14px 0 4px; }
.auth form { text-align: left; margin-top: 18px; }

/* Pied de page « Propulsé par » (garage qui n'a pas encore payé) */
.powered { margin-top: 10px; font-size: .78rem; opacity: .8; }

/* Urgence (offres avec date limite et places limitées) */
.offer { position: relative; overflow: hidden; color: #fff; border: 0; padding: 20px;
  background: radial-gradient(420px 220px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #d9480f, #ff7a1a); box-shadow: 0 18px 36px -20px rgba(217,72,15,.8); }
.offer .tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.18); padding: 4px 10px; border-radius: 99px; }
.offer p { margin: 10px 0 12px; font-size: 1.1rem; font-weight: 700; white-space: pre-wrap; }
.offer .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.offer .meta span { background: rgba(255,255,255,.18); border-radius: 12px; padding: 7px 12px; font-weight: 750; font-size: .92rem; }
.offer .btn { margin-top: 14px; background: #fff; color: #9a3412; box-shadow: none; }
.offer.over { background: var(--soft); color: var(--muted); box-shadow: none; }
.offer.over .tag { background: #fff; }
.countdown { font-variant-numeric: tabular-nums; }
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 4px; }
@media (max-width: 420px) { .tpl-grid { grid-template-columns: 1fr; } }
.tpl-grid button { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 10px 12px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); line-height: 1.3; }
.tpl-grid button b { display: block; font-size: .95rem; }
.tpl-grid button small { color: var(--muted); }
.tpl-grid button:hover { border-color: var(--accent); background: #fffaf5; }
.validity { display: inline-flex; gap: 6px; align-items: center; background: var(--warn-bg); color: var(--warn); font-weight: 750; border-radius: 12px; padding: 8px 12px; font-size: .92rem; }

/* Bouton secondaire « Refuser » : contour rouge, fond blanc */
.btn.refuse { background: #fff; color: var(--bad); border: 2px solid var(--bad); box-shadow: none; }
.btn.refuse:hover { background: var(--bad-bg); filter: none; }

/* Demandes à approuver : toute la carte s'ouvre (lien étiré), les boutons restent indépendants */
.req-card { position: relative; padding-right: 44px; transition: box-shadow .15s, transform .15s; }
.req-card:hover { box-shadow: 0 1px 2px rgba(13,26,43,.06), 0 14px 34px -14px rgba(13,26,43,.25); }
.req-card .req-open { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.req-card .req-open:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }
.req-card .req-open::after { content: "›"; position: absolute; right: 16px; top: 14px; font-size: 2rem; line-height: 1; color: var(--muted); }
.req-card .req-name { font-size: 1.15rem; }
.nw { white-space: nowrap; }
.req-card .req-line { display: flex; align-items: center; gap: 6px; }
.req-card .req-problem { color: var(--muted); margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.req-card .req-actions, .req-card .dup-hint, .req-card .dup-hint a { position: relative; z-index: 2; }
.req-card .req-actions { margin: 14px -24px 0 0; }

/* Fenêtre de confirmation (Annuler / Refuser) */
dialog.confirm { border: 0; border-radius: 20px; padding: 0; width: min(92vw, 420px); box-shadow: 0 30px 60px -20px rgba(13,26,43,.45); color: var(--ink); }
dialog.confirm form { padding: 22px; }
dialog.confirm::backdrop { background: rgba(13,26,43,.45); }
dialog.confirm .confirm-msg { font-size: 1.2rem; font-weight: 800; margin: 0 0 6px; line-height: 1.3; }
dialog.confirm .confirm-sub { color: var(--muted); margin: 0 0 16px; }
dialog.confirm .btns { margin: 0; }

/* Liens à partager : code QR + copier + imprimer */
.share { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.share:first-of-type { border-top: 0; padding-top: 4px; }
.share-qr { display: block; line-height: 0; }
.share-qr svg { width: 112px; height: 112px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.share-txt b { display: block; font-size: 1.05rem; }
.share-txt .hint { display: block; margin: 2px 0 0; }
.share-url { display: block; margin-top: 4px; font-weight: 700; color: var(--brand-2); word-break: break-all; font-size: .92rem; }
.share-btns { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.share-btns > :first-child { grid-column: 1 / -1; }
.share-btns .btn { min-width: 0; }
@media (min-width: 640px) { .share-btns { grid-template-columns: 1.3fr 1fr 1fr; } .share-btns > :first-child { grid-column: auto; } }
@media (max-width: 360px) {
  .share { grid-template-columns: 84px minmax(0, 1fr); gap: 10px 12px; }
  .share-qr svg { width: 84px; height: 84px; }
  .share-btns .btn { padding-left: 8px; padding-right: 8px; gap: 6px; font-size: .88rem; }
  nav.bottom a { font-size: .68rem; }
}
.share-btns .btn .ic { width: 22px; height: 22px; }
.btn.copied { background: var(--ok); color: #fff; }
.copy-fallback { grid-column: 1 / -1; font-size: .9rem; }
/* Tableaux larges (rapports) : défilent de côté dans leur carte sur un cellulaire */
.tscroll { overflow-x: auto; overscroll-behavior-x: contain; }
.tscroll table td, .tscroll table th { white-space: nowrap; }
.local-note { background: var(--warn-bg); color: var(--warn); border-radius: 12px; padding: 10px 12px; font-size: .88rem; margin: 6px 0 0; }

/* Recherche des clients (en direct) */
.search-live { position: relative; margin: 0 0 14px; }
.search-live .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 24px; height: 24px; pointer-events: none; }
.search-live input { width: 100%; padding-left: 48px; }
.list > .row[hidden] { display: none; }

/* Mon abonnement : état payé = l'information principale */
.plan-status { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; margin: 0 0 14px; }
.plan-status .ic { width: 34px; height: 34px; flex: none; }
.plan-status b { display: block; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.02em; }
.plan-status span { color: var(--muted); font-size: .92rem; }
.plan-status.ok { background: var(--ok-bg); color: var(--ok); }
.plan-status.ok b { color: var(--ok); }
.plan-status.free { background: var(--tint); color: var(--brand); }
.plan-card.calm .plan-price b { font-size: 2rem; }
.pay-later h3 { margin-top: 0; display: flex; align-items: center; gap: 8px; }
.pay-later .btn { margin-top: 4px; }

/* Rapports : la carte « revenus ramenés » en premier */
.kpi.hero { grid-column: 1 / -1; border-top: 6px solid var(--ok); }
.kpi.hero .lbl { display: block; color: var(--ink); font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.kpi.hero b { font-size: 2.2rem; color: var(--ok); }
.kpi.hero .visits { display: block; color: var(--ink); font-weight: 700; }
.kpi.hero .ytd { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.kpi.hero .ytd b { display: inline; font-size: 1rem; color: var(--ink); }
.kpi.hero .how { display: block; margin-top: 6px; font-size: .8rem; }

/* Logo du garage (Infos du garage) */
.logo-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 8px; }
.logo-box img, .logo-box .mono { height: 72px; width: auto; max-width: 200px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 4px; }
.logo-box .mono { width: 72px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.5rem; }

/* Affiche à imprimer (code QR au comptoir) */
body.poster { background: #fff; }
.poster-page { max-width: 640px; margin: 0 auto; padding: 32px 24px; text-align: center; }
.poster-brand { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 1.6rem; font-weight: 800; color: var(--brand); }
.poster-brand img { height: 72px; width: auto; max-width: 200px; object-fit: contain; }
.poster-brand .mono { width: 64px; height: 64px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-size: 1.4rem; }
.poster-page h1 { font-size: 2.4rem; margin: 26px 0 4px; color: var(--brand); }
.poster-page .en { font-size: 1.3rem; color: var(--muted); margin: 0; }
.poster-qr svg { width: min(78vw, 340px); height: auto; margin: 22px auto 10px; display: block; }
.poster-scan { font-size: 1.15rem; font-weight: 700; margin: 0; }
.poster-scan span { display: block; font-weight: 500; color: var(--muted); font-size: 1rem; }
.poster-url { font-size: 1.15rem; font-weight: 800; color: var(--brand-2); margin: 14px 0 0; word-break: break-all; }
.poster-phone { margin: 6px 0 0; color: var(--muted); }
.poster-tools { display: flex; gap: 10px; justify-content: center; padding: 0 16px 28px; flex-wrap: wrap; }
@media print { .noprint { display: none !important; } @page { margin: 14mm; } .poster-page { padding-top: 0; } }

/* Suggestions et demandes (garage → équipe de l'app) */
.list > li.fb-item { display: block; padding: 16px 2px; }
.fb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.fb-meta .sub { color: var(--muted); font-size: .9rem; }
.fb-msg { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; }
.fb-thumb { display: block; max-width: 100%; max-height: 240px; width: auto; border-radius: 10px; border: 1px solid var(--line); margin-top: 10px; }
.fb-reply { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #f3f7fc; border-left: 4px solid var(--brand); }
.fb-reply.new { background: var(--ok-bg); border-left-color: var(--ok); }
.fb-reply .sub { display: block; color: var(--muted); font-size: .85rem; }
.fb-reply p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.fb-admin textarea { min-height: 80px; }
.fb-admin .grid2 .btn { margin-top: 12px; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 2px solid var(--line); background: #fff; color: var(--ink); font-weight: 650; text-decoration: none; }
.chip-link.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip-link .ic { width: 16px; height: 16px; }

/* Pages légales (confidentialité, conditions) */
.legal { line-height: 1.6; overflow-wrap: anywhere; }
.legal h1 { margin-top: 0; font-size: 1.55rem; line-height: 1.25; }
.legal h2 { font-size: 1.08rem; margin: 22px 0 4px; }
.legal p { margin: 6px 0; }
.legal ul { padding-left: 20px; margin: 6px 0; }
.legal li { margin: 5px 0; }
.legal-links { font-size: .88rem; color: var(--muted); margin: 14px 0; }
.legal-links a { color: inherit; }
.foot .legal-links { margin: 8px 0 0; }

/* Documents : client et véhicule, mentions légales */
.doc-parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 18px; margin: 12px 0; font-size: .95rem; overflow-wrap: anywhere; }
.doc-parties .lbl { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 480px) {
  .doc-lines th, .doc-lines td { padding-left: 3px; padding-right: 3px; font-size: .8rem; }
  .doc-lines td:first-child { overflow-wrap: anywhere; }
  .doc-lines td.num, .doc-lines th.num { white-space: nowrap; }
  .doc-lines .per { display: block; font-size: .75em; color: var(--muted); }
}
.doc-legal { font-size: .82rem; color: var(--muted); line-height: 1.45; margin: 12px 0 0; }
.warn-hint { background: var(--warn-bg); color: var(--warn); padding: 8px 12px; border-radius: 10px; }
.warn-hint a { color: inherit; font-weight: 700; }

/* Affiche obligatoire en atelier (taux horaire et droits), format paysage 2:1 */
.sign-page { max-width: 1000px; margin: 0 auto; padding: 28px 28px 10px; }
.sign-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.sign-rate { text-align: right; border: 4px solid var(--brand); border-radius: 16px; padding: 10px 18px; }
.sign-rate span, .sign-rate small { display: block; font-weight: 700; color: var(--muted); }
.sign-rate b { display: block; font-size: 2.2rem; color: var(--brand); }
.sign-page h1 { font-size: 2rem; color: var(--brand); margin: 22px 0 8px; }
.sign-rights { margin: 0; padding-left: 26px; font-size: 1.15rem; line-height: 1.4; }
.sign-rights li { margin: 0 0 10px; }
.sign-rights span { display: block; font-size: .85rem; color: var(--muted); }
.sign-foot { margin-top: 16px; font-size: .9rem; color: var(--muted); }
@media print { .sign-page { padding: 0; max-width: none; } @page { size: landscape; } }

/* Admin : avant de lancer, erreurs */
.launch { list-style: none; margin: 10px 0; padding: 0; }
a.row-card { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; }
.launch li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.launch li:last-child { border-bottom: 0; }
.launch .mark { flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; }
.launch .ok .mark { background: var(--ok-bg); color: var(--ok); }
.launch .todo .mark { background: var(--warn-bg); color: var(--warn); }
.launch .todo b { color: var(--ink); }
.launch .how { display: block; color: var(--muted); font-size: .88rem; }
.danger-zone { border: 2px solid var(--bad-bg); }
.danger-zone h3 { color: var(--bad); display: flex; align-items: center; gap: 8px; }
.err-item pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8rem; background: var(--soft); padding: 8px 10px; border-radius: 10px; max-height: 220px; overflow: auto; margin: 8px 0 0; }
