/* ==========================================================================
   Flotte — v4 « Showroom de nuit »
   Noir profond, la C3 sous un projecteur, de grands chiffres en New York
   (la police serif d'Apple) et une seule couleur d'accent : le jaune de la
   signalétique de Roissy, réservé à ce qui est en direct et aux actions.
   ========================================================================== */

:root {
  --bg: #000000;
  --card: #111113;
  --card-2: #18181b;
  --card-3: #222226;
  --field: #1c1c1f;
  --press: #26262a;
  --fill: rgba(118, 118, 128, 0.24);
  --fill-2: rgba(118, 118, 128, 0.14);
  --track-off: rgba(120, 120, 128, 0.32);
  --ink: #f5f5f7;
  --ink-2: rgba(245, 245, 247, 0.74);
  --mute: #8e8e93;
  --faint: #48484c;
  --sep: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --accent: #ffd60a;
  --accent-ink: #0b0b0c;
  --accent-soft: rgba(255, 214, 10, 0.13);
  --tint: #ffd60a;
  --red: #ff453a;
  --switch: #ffd60a;
  --seg-thumb: #3a3a3e;
  --c-orange: #ff9f0a;
  --c-blue: #0a84ff;
  --c-green: #30d158;
  --c-indigo: #5e5ce6;
  --c-gray: #636366;

  /* Couleurs des données */
  --up: #30d158;
  --down: #ff453a;
  --warn: #ffb340;
  --turo: #7c86ff;
  --getaround: #1fc4a8;
  --roadstr: #ff8a50;
  --direct: #d084e0;
  --autre: #8e8e93;

  /* Relief : pas d'ombres sur du noir, un liseré de lumière en haut des cartes */
  --edge: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 0 0 1px rgba(255, 255, 255, 0.045);
  --glass: rgba(28, 28, 31, 0.72);
  --hud: rgba(36, 36, 40, 0.92);
  --scrim: rgba(0, 0, 0, 0.6);
  --shadow-float: 0 18px 44px rgba(0, 0, 0, 0.7);

  --r-s: 14px;
  --r-m: 22px;
  --r-l: 28px;
  --gutter: 16px;
  --tabs-h: 64px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --fs-large: 2.25rem;
  --fs-t1: 1.75rem;
  --fs-t2: 1.375rem;
  --fs-t3: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-sub: 0.9375rem;
  --fs-foot: 0.8125rem;
  --fs-cap: 0.75rem;
  --fs-cap2: 0.6875rem;
  color-scheme: dark;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  overflow-x: clip;
  background: #000;
}
body {
  margin: 0;
  background: #000;
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}
#app { position: relative; overflow-x: clip; background: var(--bg); min-height: 100dvh; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { -webkit-touch-callout: none; }
button, a, label, summary, input, select, textarea, [role="button"] { touch-action: manipulation; }
button, [role="button"], summary, .tabs, .chip, .seg, .nav, .sheet-top, .toggle, .stepper, .day, .seg-bar, .kcard, .live, .swipe {
  -webkit-user-select: none;
  user-select: none;
}
.tabs a, a.item, .alert, .section-head a, .garage-car, .sync-pill, .kcard { -webkit-touch-callout: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted, .quiet { color: var(--mute); }
.small { font-size: var(--fs-sub); }
.center { text-align: center; }
.up { color: var(--up); }
.down { color: var(--down); }
.warn-txt { color: var(--warn); }
.note { margin: 12px 4px 0; }
mark { background: var(--accent-soft); color: var(--accent); border-radius: 4px; padding: 0 1px; }

/* Chiffres qui défilent */
.roll { display: inline-block; white-space: pre; }
.roll .rd { display: inline-block; }

/* ---------- Écran, barre du haut, grands titres ---------- */

.screen { max-width: 600px; margin: 0 auto; padding: 0 var(--gutter) calc(var(--tabs-h) + var(--safe-b) + 44px); min-height: 100dvh; }
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  height: calc(var(--safe-t) + 52px);
  padding: var(--safe-t) var(--gutter) 0;
  margin: 0 calc(-1 * var(--gutter));
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 -22px;
  z-index: -1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 30px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 30px), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav.scrolled::before { opacity: 1; }
.nav-lead { grid-column: 1; justify-self: start; min-width: 0; }
.nav-title { grid-column: 2; max-width: 56vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: var(--fs-body); font-weight: 600; opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity 0.2s ease, transform 0.35s var(--ease-out); }
.nav.compact .nav-title { opacity: 1; transform: none; }
.nav-trail { grid-column: 3; justify-self: end; display: flex; gap: 10px; }
.nav-back { display: inline-flex; align-items: center; min-height: 44px; margin-left: -12px; padding: 0 10px 0 2px; border: 0; background: none; color: var(--accent); font-size: var(--fs-body); transition: opacity 0.2s; }
.nav-back svg { width: 28px; height: 28px; stroke-width: 2.3; flex: none; }
.nav-back:active { opacity: 0.35; transition-duration: 0s; }

.large { padding: 0 0 10px; }
.large-eyebrow { font-size: var(--fs-cap); font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.large h1 { margin: 0; font-family: var(--serif); font-size: var(--fs-large); line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; }
.large .sub { color: var(--mute); font-size: var(--fs-sub); margin-top: 6px; }
h2 { margin: 36px 0 12px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.005em; }
h2 .count { color: var(--mute); font-family: var(--font); font-size: 0.7em; font-weight: 500; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head h2 { margin-bottom: 12px; }
.section-head a, .link { display: inline-flex; align-items: center; gap: 2px; padding: 6px 0; border: 0; background: none; color: var(--accent); font-size: var(--fs-sub); font-weight: 500; text-decoration: none; transition: opacity 0.2s; }
.section-head a svg { width: 16px; height: 16px; stroke-width: 2.3; margin-right: -4px; }
.section-head a:active, .link:active { opacity: 0.35; transition-duration: 0s; }
.link:disabled { color: var(--mute); }
.group { margin-top: 18px; }
.group > .garage-car + .garage-car { margin-top: 10px; }
.garage3d-link { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 16px; border-radius: var(--r-l); background: radial-gradient(120% 140% at 0% 0%, rgba(255, 214, 10, 0.2), transparent 55%), var(--card); box-shadow: var(--edge), 0 0 0 1px rgba(255, 214, 10, 0.22); color: inherit; text-decoration: none; -webkit-touch-callout: none; transition: transform 0.3s var(--ease-out); }
.garage3d-link:active { transform: scale(0.98); transition-duration: 0.1s; }
.garage3d-link > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.garage3d-link .t1 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.garage3d-link .t2 { color: var(--mute); font-size: var(--fs-sub); }
.garage3d-link .chev { display: grid; color: var(--accent); }
.g3d-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); }
.g3d-ic svg { width: 24px; height: 24px; stroke-width: 2; }
html.leaving body { opacity: 0; transition: opacity 0.22s ease; }

/* ---------- Boutons ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 3.25rem; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #000; font-size: var(--fs-body); font-weight: 600; text-decoration: none; transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.block { width: 100%; }
.btn.ghost { background: var(--card-3); color: var(--ink); box-shadow: var(--edge); }
.btn.danger { background: var(--card-3); color: var(--red); box-shadow: var(--edge); }
.btn.sign-btn { background: var(--accent); color: var(--accent-ink); }
.btn:disabled { opacity: 0.4; }
.btn:active:not(:disabled) { transform: scale(0.97); opacity: 0.85; transition-duration: 0.1s; }
.btn-row { display: flex; gap: 10px; margin-top: 18px; }
.btn-row > * { flex: 1; }
.icon-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--ink); background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: var(--edge); transition: transform 0.3s var(--ease-out); }
.icon-btn svg { width: 19px; height: 19px; stroke-width: 2.1; }
.icon-btn:active { transform: scale(0.86); transition-duration: 0.1s; }
.icon-btn.spin svg { animation: spin 0.9s linear infinite; color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.pill-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--card-3); color: var(--ink); font-size: var(--fs-foot); font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: var(--edge); transition: transform 0.25s var(--ease-out); }
.pill-btn svg { width: 17px; height: 17px; color: var(--accent); stroke-width: 2.1; flex: none; }
.pill-btn:active { transform: scale(0.95); transition-duration: 0.1s; }

/* ---------- Contrôle segmenté, puces ---------- */

.seg { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); padding: 3px; margin: 4px 0 18px; border-radius: 999px; background: var(--card-2); box-shadow: var(--edge); }
.seg-thumb { position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n, 2)); border-radius: 999px; background: var(--seg-thumb); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.4); transition: transform 0.42s var(--ease-drawer); }
.seg button { min-height: 2.25rem; padding: 6px 8px; border: 0; border-radius: 999px; background: none; color: var(--mute); font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.25s, opacity 0.2s; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg button:not([aria-pressed="true"]):active { opacity: 0.5; transition-duration: 0s; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 2.25rem; padding: 7px 14px; border: 0; border-radius: 999px; background: var(--card-2); color: var(--ink-2); font-size: var(--fs-sub); font-weight: 500; box-shadow: var(--edge); transition: transform 0.25s var(--ease-out), background-color 0.2s, color 0.2s; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: none; font-weight: 600; }
.chip:active { transform: scale(0.94); transition-duration: 0.1s; }

/* ---------- Champs ---------- */

.form { display: grid; gap: 16px; }
.form > p:empty { display: none; }
.form .btn-row { margin-top: 0; }
.form > *, .two > *, .field { min-width: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 7px; }
.field-label { padding: 0 4px; font-size: var(--fs-cap); font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: 0.06em; }
.field .hint { font-weight: 400; text-transform: none; letter-spacing: 0; }
.field-msg { padding: 0 4px; font-size: var(--fs-foot); color: var(--red); margin: 0; }
.field-msg:empty { display: none; }
.field-msg.ok { color: var(--up); }
.field-msg.warn { color: var(--warn); }
.input, select.input, textarea.input { width: 100%; min-width: 0; max-width: 100%; min-height: 3.125rem; padding: 12px 14px; border: 0; border-radius: var(--r-s); background: var(--field); box-shadow: var(--edge); font-size: max(16px, var(--fs-body)); appearance: none; -webkit-appearance: none; transition: box-shadow 0.2s; }
select.input { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
input[type="datetime-local"].input, input[type="date"].input { padding-left: 12px; padding-right: 10px; font-size: 16px; }
input[type="date"]::-webkit-date-and-time-value, input[type="datetime-local"]::-webkit-date-and-time-value { text-align: left; }
textarea.input { min-height: 96px; resize: vertical; line-height: 1.4; }
.input::placeholder { color: var(--mute); opacity: 0.8; }
.input:focus { outline: none; box-shadow: 0 0 0 2px var(--accent); }
.field.invalid .input, .input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--red); }
.money { position: relative; }
.money .input { padding-right: 34px; }
.money::after { content: "€"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.money.pct::after { content: "%"; }
.amount-big { min-height: 6rem; font-family: var(--serif); font-size: 3.25rem; font-weight: 500; letter-spacing: -0.02em; text-align: center; }
.error { color: var(--red); font-size: var(--fs-sub); margin: 0; }
.error:empty { display: none; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 3.25rem; padding: 4px 0; }
.toggle input { position: relative; flex: none; width: 51px; height: 31px; margin: 0; border-radius: 999px; background: var(--track-off); appearance: none; -webkit-appearance: none; transition: background-color 0.25s ease; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 999px; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3); transition: transform 0.32s var(--ease-drawer), width 0.2s var(--ease-out); }
.toggle input:checked { background: var(--switch); }
.toggle input:checked::after { transform: translateX(20px); }
.toggle input:active::after { width: 33px; }
.toggle input:checked:active::after { transform: translateX(14px); }

/* ---------- Listes ---------- */

.list { overflow: hidden; border-radius: var(--r-m); background: var(--card); box-shadow: var(--edge); }
.item { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; min-height: 2.75rem; padding: 12px 16px; border: 0; background: var(--card); color: inherit; text-align: left; text-decoration: none; }
.item + .item::before, .swipe + .swipe > .item::before { content: ""; position: absolute; top: 0; right: 0; left: var(--sep-l, 16px); height: 0.5px; background: var(--sep); }
.item:has(> .tile) { --sep-l: 58px; }
.item:has(> .clock) { --sep-l: 80px; }
.item:has(> .dir) { --sep-l: 62px; }
.item.tap, a.item { transition: background-color 0.45s var(--ease-out); }
.item.tap:active, a.item:active { background: var(--press); transition-duration: 0s; }
.item .t1 { font-weight: 600; line-height: 1.25; }
.item .t2 { margin-top: 2px; color: var(--mute); font-size: var(--fs-sub); line-height: 1.3; }
.item .end { text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item .end .t2 { font-weight: 400; }
.item .end.up { color: var(--up); }
.item .end.neutral { color: var(--mute); font-weight: 500; }
.pay-total { font-size: var(--fs-body); font-variant-numeric: tabular-nums; color: var(--ink); }
.pay-month { margin-top: 18px; }
.pay-month h3 { margin: 0 4px 8px; font-size: var(--fs-cap); font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: 0.1em; }
.pay-month .muted { font-size: var(--fs-foot); font-variant-numeric: tabular-nums; }
.neutral-note { margin: 8px 4px 0; }
.item .end:has(.chev) { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.item .chev, .alert .chev, .garage-car .chev { display: grid; color: var(--faint); }
.item .chev svg, .alert .chev svg, .garage-car .chev svg { width: 18px; height: 18px; stroke-width: 2.6; }
.item.split { grid-template-columns: 1fr auto; }
.tile { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--tile); color: #fff; }
.tile svg { width: 18px; height: 18px; stroke-width: 2; }
.count-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--red); color: #fff; font-size: var(--fs-foot); font-weight: 600; }
.empty { padding: 28px 20px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--edge); color: var(--mute); text-align: center; font-size: var(--fs-sub); }
.clock { width: 52px; font-family: var(--serif); font-size: 1.375rem; font-weight: 500; line-height: 1.05; }
.clock .d { display: block; font-family: var(--font); font-size: var(--fs-cap); font-weight: 500; color: var(--mute); }
.dir { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--card-3); color: var(--ink); }
.dir svg { width: 19px; height: 19px; }
.pf { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-foot); font-weight: 600; color: var(--ink-2); }
.pf::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--autre)); box-shadow: 0 0 8px var(--c, transparent); }
.pf-turo { --c: var(--turo); }
.pf-getaround { --c: var(--getaround); }
.pf-roadstr { --c: var(--roadstr); }
.pf-direct { --c: var(--direct); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--card-3); color: var(--ink-2); font-size: var(--fs-cap); font-weight: 600; vertical-align: 1px; }
.tag.warn { background: rgba(255, 179, 64, 0.14); color: var(--warn); }
.tag.bad { background: rgba(255, 69, 58, 0.14); color: var(--down); }
.tag.ok { background: rgba(48, 209, 88, 0.14); color: var(--up); }
.tag.now { background: var(--accent); color: var(--accent-ink); }

/* Lignes à glisser (comme Mail) */
.swipe { position: relative; overflow: hidden; }
.swipe-row { position: relative; z-index: 1; touch-action: pan-y; }
.swipe.moving .swipe-row { box-shadow: 0 0 24px rgba(0, 0, 0, 0.6); }
.swipe-side { position: absolute; top: 0; bottom: 0; display: flex; width: var(--w, 0px); overflow: hidden; }
.swipe-side.trail { right: 0; justify-content: flex-end; }
.swipe-side.lead { left: 0; }
.swipe-act { flex: 1 1 0; min-width: 0; display: grid; place-content: center; justify-items: center; gap: 4px; border: 0; padding: 0 6px; background: var(--c); color: #fff; font-size: var(--fs-cap); font-weight: 600; white-space: nowrap; overflow: hidden; }
.swipe-act svg { width: 22px; height: 22px; stroke-width: 2.1; }
.armed-trail .swipe-side.trail .swipe-act:last-child, .armed-lead .swipe-side.lead .swipe-act { flex-grow: 1; }

/* ---------- Résumé : la vitrine ---------- */

.hero { position: relative; isolation: isolate; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 2px; }
/* Le projecteur au-dessus de la voiture, et la lumière qui retombe au sol */
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: calc(-1 * var(--safe-t) - 120px); width: 170%; height: 640px; transform: translateX(-50%); background: radial-gradient(42% 58% at 50% 0%, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.05) 46%, transparent 72%); pointer-events: none; }
.hero-text { position: relative; }
.hero-text h1 { font-size: 2.6rem; }
.plate { display: inline-flex; align-items: center; margin-top: 10px; overflow: hidden; border-radius: 5px; background: #fff; color: #111; box-shadow: 0 0 0 1.5px #111, 0 6px 18px rgba(0, 0, 0, 0.5); font-size: var(--fs-foot); font-weight: 700; letter-spacing: 0.06em; }
.plate::before { content: "F"; padding: 2px 5px; background: #1f4fd8; color: #fff; font-size: 0.6875rem; }
.plate span { padding: 2px 8px; }
.stage { position: relative; display: grid; place-items: center; height: 236px; margin-top: -2px; transform-origin: 50% 70%; will-change: transform; }
.stage::before { content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; bottom: 2px; height: 70px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 60%, transparent); }
.stage::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 30px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 214, 10, 0.55), transparent); box-shadow: 0 0 18px 2px rgba(255, 214, 10, 0.25); opacity: 0.8; }
.stage img { width: min(96%, 440px); height: auto; filter: drop-shadow(0 30px 26px rgba(0, 0, 0, 0.75)); -webkit-user-select: none; user-select: none; -webkit-user-drag: none; transition: opacity 0.5s ease; }
.stage.empty-stage { height: 120px; color: var(--faint); }
.stage.empty-stage svg { width: 64px; height: 64px; }
.car3d { position: absolute; inset: -6px -12px 0; opacity: 0; transition: opacity 0.6s ease; }
.car3d canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.stage.is-3d .car3d { opacity: 1; }
.stage.is-3d img { opacity: 0; }
.stage.instant img, .stage.instant .car3d { transition: none; }
html:not(.ptr-drag) .stage { transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out); }
.hero-status { display: flex; justify-content: center; margin-top: -8px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 12px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: var(--edge); font-size: var(--fs-sub); font-weight: 600; }
.status i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.status.live i { background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.3), 0 0 12px var(--accent); animation: pulse 2.4s ease-in-out infinite; }
.status.free i { background: var(--up); box-shadow: 0 0 10px var(--up); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 214, 10, 0), 0 0 12px var(--accent); } }

/* La prochaine remise des clés, en direct */
.live { position: relative; margin-top: 22px; padding: 16px 16px 14px; border-radius: var(--r-l); background: radial-gradient(130% 120% at 0% 0%, rgba(255, 214, 10, 0.09), transparent 52%), var(--card); box-shadow: var(--edge); overflow: hidden; }
.live.soon { background: radial-gradient(130% 120% at 0% 0%, rgba(255, 214, 10, 0.18), transparent 58%), var(--card); box-shadow: var(--edge), 0 0 0 1px rgba(255, 214, 10, 0.25); }
.live-head { display: flex; align-items: center; gap: 8px; font-size: var(--fs-cap); font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: 0.1em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 1.6s ease-in-out infinite; }
.live-dot.off { background: var(--faint); box-shadow: none; animation: none; }
@keyframes blink { 50% { opacity: 0.35; } }
.live-pf { margin-left: auto; text-transform: none; letter-spacing: 0; }
.live-main { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; width: 100%; padding: 14px 0; border: 0; background: none; color: inherit; text-align: left; transition: transform 0.3s var(--ease-out); }
.live-main:active { transform: scale(0.98); transition-duration: 0.1s; }
.live-ring { position: relative; display: grid; place-items: center; width: 92px; height: 92px; }
.live-ring .ring { position: absolute; inset: 0; }
.live-ring b { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.live-ic { color: var(--accent); }
.live-ic svg { width: 34px; height: 34px; }
.live-txt { display: grid; gap: 2px; min-width: 0; }
.live-who { font-size: var(--fs-sub); color: var(--ink-2); }
.live-count { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; }
.live-when { font-size: var(--fs-foot); color: var(--mute); }
.live-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.live-actions .pill-btn { min-width: 0; padding: 0 8px; overflow: hidden; }
.empty-live p { margin: 10px 0 4px; font-size: var(--fs-sub); }

/* Anneaux */
.ring-track { stroke: rgba(255, 255, 255, 0.08); }
.ring-val { stroke: var(--accent); filter: drop-shadow(0 0 6px rgba(255, 214, 10, 0.45)); }
.ring-soon { stroke: var(--accent); opacity: 0.32; }

/* Les cartes à faire défiler */
.kpis { margin: 22px calc(-1 * var(--gutter)) 0; }
.kpis-track { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; padding: 4px calc(var(--gutter) + 22px) 8px var(--gutter); scroll-padding-left: var(--gutter); scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kpis-track::-webkit-scrollbar { display: none; }
.kcard { position: relative; flex: 0 0 100%; display: flex; flex-direction: column; min-height: 248px; padding: 18px 18px 16px; scroll-snap-align: start; scroll-snap-stop: always; border-radius: var(--r-l); background: var(--card); box-shadow: var(--edge); color: inherit; text-decoration: none; transform-origin: 50% 50%; overflow: hidden; }
.k-month { background: radial-gradient(120% 100% at 100% 0%, rgba(255, 214, 10, 0.08), transparent 55%), var(--card); }
.kc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.kc-label { font-size: var(--fs-cap); font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: 0.1em; }
.kc-edit { font-size: var(--fs-foot); color: var(--accent); font-weight: 600; }
.kc-month { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sub); }
.kc-month b { min-width: 74px; text-align: center; font-weight: 600; }
.kc-arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--card-3); color: var(--ink); transition: transform 0.3s var(--ease-out); }
.kc-arrow svg { width: 15px; height: 15px; stroke-width: 2.4; }
.kc-arrow:active { transform: scale(0.84); transition-duration: 0.1s; }
.kc-big { margin-top: 14px; font-family: var(--serif); font-size: 3.5rem; line-height: 1; font-weight: 500; letter-spacing: -0.02em; }
.kc-big.small { font-size: 2.75rem; }
.kc-big.neg { color: var(--down); }
.kc-soon { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: var(--fs-foot); color: var(--ink-2); }
.kc-soon i { width: 8px; height: 8px; border-radius: 2px; background: repeating-linear-gradient(135deg, var(--accent) 0 2px, rgba(255, 214, 10, 0.4) 2px 4px); }
.kc-soon .roll { color: var(--accent); font-weight: 600; }
.kc-meters { display: grid; gap: 10px; margin-top: auto; padding-top: 16px; }
.meter .lab { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-foot); color: var(--mute); }
.meter .lab b { color: var(--ink); font-weight: 600; }
.meter .bar { display: flex; height: 5px; margin-top: 6px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }
.meter .bar > i, .reveal > i { display: block; flex: none; height: 100%; border-radius: 3px; background: var(--ink); }
.meter.exp .bar i { background: var(--mute); }
.reveal { display: flex; gap: 2px; width: 100%; height: 100%; clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-out); }
.reveal.hide { clip-path: inset(0 100% 0 0); }
.reveal i.soon { background: repeating-linear-gradient(135deg, var(--accent) 0 4px, rgba(255, 214, 10, 0.45) 4px 8px); }
.kc-ringrow { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; margin: auto 0; padding-top: 10px; }
.kc-ring { position: relative; display: grid; place-items: center; width: 120px; height: 120px; }
.kc-ring .ring { position: absolute; inset: 0; }
.kc-ring b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.k-occ .ring-val { stroke: var(--ink); filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3)); }
.kc-side { display: grid; gap: 3px; min-width: 0; }
.kc-mid { font-family: var(--serif); font-size: 1.85rem; line-height: 1.1; font-weight: 500; }
.kc-note { margin-top: 6px; font-size: var(--fs-foot); color: var(--ink-2); }
.kc-note.ok { color: var(--accent); font-weight: 600; }
.kc-empty { display: grid; justify-items: center; gap: 12px; margin: auto 0; text-align: center; color: var(--ink-2); font-size: var(--fs-sub); }
.kc-empty p { margin: 0; max-width: 260px; }
.kc-empty-ic { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.kc-empty-ic svg { width: 30px; height: 30px; }
.kc-months { display: grid; gap: 10px; margin-top: auto; padding-top: 16px; }
.kc-mrow { display: grid; grid-template-columns: 74px 1fr auto; gap: 10px; align-items: center; font-size: var(--fs-foot); color: var(--mute); }
.kc-mrow b { color: var(--ink); font-weight: 600; }
.kc-mbar { height: 5px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }
.kc-mbar i { display: block; height: 100%; border-radius: 3px; background: repeating-linear-gradient(135deg, var(--accent) 0 4px, rgba(255, 214, 10, 0.45) 4px 8px); }
.kcard:active { transition-duration: 0.1s; }
.kpis-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.kpis-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--faint); transition: width 0.35s var(--ease-out), background-color 0.35s; }
.kpis-dots i.on { width: 18px; background: var(--accent); }

/* Alertes, agenda */
.alerts { display: grid; gap: 10px; }
.alert { display: grid; grid-template-columns: 36px 1fr 18px; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--edge); color: inherit; text-decoration: none; transition: transform 0.3s var(--ease-out); }
.alert:active { transform: scale(0.98); transition-duration: 0.1s; }
.alert .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; }
.alert .ic svg { width: 19px; height: 19px; }
.alert.warning .ic { background: rgba(255, 179, 64, 0.14); color: var(--warn); }
.alert.critical .ic { background: rgba(255, 69, 58, 0.14); color: var(--down); }
.timeline { overflow: hidden; padding: 4px 0; border-radius: var(--r-m); background: var(--card); box-shadow: var(--edge); }
.tl-day { padding: 14px 16px 4px; font-size: var(--fs-cap); font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; }
.tl-item { display: grid; grid-template-columns: 54px 18px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 10px 16px; border: 0; background: none; color: inherit; text-align: left; transition: background-color 0.45s var(--ease-out); }
.tl-item:active { background: var(--press); transition-duration: 0s; }
.tl-item .t { font-family: var(--serif); font-size: 1.125rem; font-weight: 500; }
.tl-item .dot { justify-self: center; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--c, var(--ink)); }
.tl-item .dot.dep { background: var(--c, var(--ink)); box-shadow: 0 0 10px var(--c); }
.tl-item .who { font-weight: 600; line-height: 1.25; }
.tl-item .meta { font-size: var(--fs-foot); color: var(--mute); }
.tl-item .amt { font-weight: 600; }

.sync-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 30px; }
.sync-pill { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--fs-foot); color: var(--ink-2); text-decoration: none; }
.sync-pill i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.sync-pill.ok i { background: var(--up); box-shadow: 0 0 8px var(--up); }
.sync-pill.late i { background: var(--warn); }
.sync-pill.err i { background: var(--down); }
.sync-pill.run i { background: var(--accent); animation: blink 1s ease-in-out infinite; }
.ptr-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px 0 0; font-size: var(--fs-cap); color: var(--faint); }
.ptr-hint svg { width: 14px; height: 14px; }

/* ---------- Tirer pour synchroniser ---------- */

.ptr { position: fixed; z-index: 15; top: calc(var(--safe-t) + 6px); left: 50%; display: grid; justify-items: center; gap: 6px; opacity: 0; transform: translate3d(-50%, 0, 0); pointer-events: none; }
.ptr-spin { position: relative; width: 28px; height: 28px; }
.ptr-spin i { position: absolute; top: 0; left: 50%; width: 2.6px; height: 8px; margin-left: -1.3px; border-radius: 2px; background: var(--ink); opacity: 0.12; transform: rotate(calc(var(--i) * 30deg)); transform-origin: 50% 14px; transition: background-color 0.2s; }
.ptr.armed .ptr-spin i { background: var(--accent); }
.ptr.spin .ptr-spin { animation: ptr-rot 0.9s steps(12) infinite; }
.ptr.spin .ptr-spin i { background: var(--accent); opacity: calc(1 - var(--i) * 0.075); }
@keyframes ptr-rot { to { transform: rotate(360deg); } }
.ptr-label { font-size: var(--fs-cap); font-weight: 600; color: var(--accent); white-space: nowrap; opacity: 0; transition: opacity 0.2s; }
.ptr.armed .ptr-label { opacity: 1; }

/* ---------- Graphiques ---------- */

.panel { padding: 16px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--edge); }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 4; }
.chart .base { stroke: var(--line-2); stroke-width: 1; }
.chart .rev { fill: var(--ink); transition: opacity 0.2s; }
.chart .rev-soon { fill: var(--accent); }
.chart .exp { fill: var(--faint); transition: opacity 0.2s; }
.chart .hit { fill: transparent; }
.chart .ax { fill: var(--mute); font-size: 11px; font-family: var(--font); }
.chart .cur { fill: var(--accent); font-weight: 700; }
.chart-tip { min-height: 22px; margin-top: 10px; font-size: var(--fs-sub); color: var(--ink-2); }
.legend { display: flex; gap: 16px; margin-top: 10px; font-size: var(--fs-foot); color: var(--ink-2); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; background: var(--c); }
.bars { display: grid; gap: 14px; }
.bar-row .meta { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: var(--fs-sub); }
.bar-row .track { overflow: hidden; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }
.bar-row .fill { min-width: 3px; height: 100%; border-radius: 3px; background: var(--c, var(--ink)); }

/* ---------- Finances ---------- */

.cluster { position: relative; overflow: hidden; margin-top: 12px; padding: 20px; border-radius: var(--r-l); background: radial-gradient(120% 110% at 100% 0%, rgba(255, 214, 10, 0.09), transparent 55%), var(--card); box-shadow: var(--edge); }
.cluster .eyebrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: var(--fs-cap); font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: 0.1em; }
.cluster .big { margin-top: 14px; font-family: var(--serif); font-size: 3.5rem; line-height: 1; font-weight: 500; letter-spacing: -0.02em; }
.cluster .big small { margin-left: 4px; font-size: 0.45em; color: var(--mute); }
.cluster .big.neg { color: var(--down); }
.cluster .row { margin-top: 18px; padding-top: 16px; border-top: 0.5px solid var(--sep); }
.cluster .meters { display: grid; gap: 12px; }
.delta { display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px; border-radius: 999px; font-size: var(--fs-cap); font-weight: 600; text-transform: none; letter-spacing: 0; }
.delta.pos { color: var(--up); background: rgba(48, 209, 88, 0.14); }
.delta.neg { color: var(--down); background: rgba(255, 69, 58, 0.14); }
.delta.soon { color: var(--accent-ink); background: var(--accent); }
.ledger .row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 0.5px solid var(--sep); }
.ledger .row strong, .ledger .row span:last-child { font-weight: 600; white-space: nowrap; }
.ledger .row.indent span:first-child { padding-left: 14px; color: var(--ink-2); }
.ledger .row.indent span:last-child { color: var(--ink-2); font-weight: 500; }
.ledger .row.total { border-bottom: 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.stats > div { padding: 14px 12px; border-radius: 18px; background: var(--card); box-shadow: var(--edge); }
.stats .v { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; font-weight: 500; }
.stats .l { margin-top: 4px; font-size: var(--fs-cap); line-height: 1.25; color: var(--mute); }
.progress { overflow: hidden; height: 6px; margin-top: 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }
.progress div { height: 100%; border-radius: 3px; background: var(--accent); }

/* ---------- Planning ---------- */

.stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.stepper .name { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; text-transform: capitalize; }
.month-block > .small { margin: 0 0 12px; }
.swipeable { touch-action: pan-y; }
.cal { padding: 12px 6px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--edge); }
.cal .dow { display: grid; grid-template-columns: repeat(7, 1fr); padding: 2px 0 8px; text-align: center; font-size: var(--fs-cap2); font-weight: 600; color: var(--mute); letter-spacing: 0.06em; }
.week { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); height: 60px; }
.day { display: flex; align-items: flex-start; justify-content: center; padding-top: 4px; border: 0; background: none; color: inherit; font-size: var(--fs-sub); font-weight: 500; }
.day span { display: grid; place-items: center; min-width: 27px; height: 27px; padding: 0 4px; border-radius: 14px; transition: background-color 0.35s var(--ease-out); }
.day:active span { background: var(--card-3); transition-duration: 0s; }
.day.out { color: var(--faint); }
.day.today span { background: var(--accent); color: var(--accent-ink); font-weight: 700; box-shadow: 0 0 14px rgba(255, 214, 10, 0.45); }
.seg-bar { position: absolute; top: 34px; height: 20px; padding: 0 7px; overflow: hidden; border: 0; border-radius: 7px; background: var(--c); color: #0b0b0c; font-size: var(--fs-cap2); font-weight: 700; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; text-align: left; transition: opacity 0.2s; }
.seg-bar:active { opacity: 0.7; transition-duration: 0s; }
.seg-bar.l-open { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.seg-bar.r-open { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.seg-bar.tentative { background: repeating-linear-gradient(135deg, var(--c) 0 5px, rgba(255, 255, 255, 0.2) 5px 10px); }
.seg-bar.lane1 { top: 33px; height: 10px; font-size: 0; }
.seg-bar.lane2 { top: 46px; height: 10px; font-size: 0; }

/* ---------- Garage, fiches ---------- */

.garage-car { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; padding: 14px 14px 14px 8px; border-radius: var(--r-l); background: radial-gradient(80% 120% at 20% 100%, rgba(255, 255, 255, 0.08), transparent 60%), var(--card); box-shadow: var(--edge); color: inherit; text-decoration: none; transition: transform 0.3s var(--ease-out); }
.garage-car:active { transform: scale(0.98); transition-duration: 0.1s; }
.garage-car img { display: block; width: 120px; height: auto; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.7)); }
.garage-car-ic { display: grid; place-items: center; width: 120px; height: 64px; color: var(--mute); }
.garage-car-ic svg { width: 40px; height: 40px; }
.garage-car-txt { display: grid; gap: 3px; min-width: 0; }
.garage-car .t1 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.garage-car .t1 .tag { font-family: var(--font); }
.garage-car .t2 { font-size: var(--fs-sub); color: var(--mute); }
.car-card { display: block; overflow: hidden; width: 100%; margin-bottom: 14px; padding: 18px; border: 0; border-radius: var(--r-l); background: radial-gradient(90% 70% at 50% 0%, rgba(255, 255, 255, 0.1), transparent 70%), var(--card); box-shadow: var(--edge); color: inherit; text-align: left; transition: transform 0.3s var(--ease-out); }
.car-card:active { transform: scale(0.98); transition-duration: 0.1s; }
.car-card img { display: block; width: 100%; max-width: 360px; margin: -4px auto 4px; filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.75)); }
.car-card .section-head strong { font-family: var(--serif); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; margin: 0; font-size: var(--fs-sub); }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; text-align: right; font-weight: 600; }
.due { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 0.5px solid var(--sep); }
.card-note { padding: 15px 16px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--edge); font-size: var(--fs-sub); color: var(--ink-2); }
.card-note strong { color: var(--ink); }
.log { margin: 0; padding: 0; list-style: none; }
.log li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 9px 0; border-top: 0.5px solid var(--sep); font-size: var(--fs-sub); }
.log li span:first-child { color: var(--mute); }
.mail { max-height: 220px; overflow: auto; padding: 14px 16px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--edge); font-size: var(--fs-sub); line-height: 1.45; white-space: pre-wrap; color: var(--ink-2); }
pre.code { max-height: 180px; overflow: auto; margin: 0; padding: 12px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--edge); font-size: 11px; white-space: pre; }
ol.steps { margin: 10px 0 12px; padding-left: 20px; }
ol.steps li { margin: 7px 0; }
details summary { cursor: pointer; padding: 6px 0; }
.booking-head { padding: 16px; border-radius: var(--r-m); background: var(--card-2); box-shadow: var(--edge); }
.booking-head .range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 12px; }
.booking-head .range b { display: block; font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; font-weight: 500; }
.booking-head .range span { font-size: var(--fs-foot); color: var(--mute); }
.booking-head .range .arrow { color: var(--accent); }
.booking-head .range .arrow svg { display: block; width: 20px; height: 20px; }
.booking-head .range > div:last-child { text-align: right; }
.booking-head .foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 0.5px solid var(--sep); font-size: var(--fs-sub); color: var(--mute); }
.booking-head .foot b { color: var(--ink); font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }

/* ---------- Feuilles ---------- */

.sheet-host { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.sheet-wrap { position: absolute; inset: 0; pointer-events: auto; }
.scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; touch-action: none; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-width: 600px; margin: 0 auto; transform: translate3d(0, 100%, 0); will-change: transform; --bg: #0e0e10; --card: #19191c; --card-2: #19191c; --field: #19191c; --press: #26262a; }
.sheet-scroll { max-height: calc(100dvh - var(--safe-t) - 40px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) calc(var(--safe-b) + 28px + var(--kb, 0px)); border-radius: var(--r-l) var(--r-l) 0 0; background: var(--bg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 -10px 50px rgba(0, 0, 0, 0.6); outline: none; }
.sheet-skirt { position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 180px; background: var(--bg); }
.sheet-top { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: minmax(72px, 1fr) auto minmax(72px, 1fr); align-items: center; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 12px; padding: 16px var(--gutter) 8px; touch-action: none; }
.sheet-top::before { content: ""; position: absolute; inset: 0 0 -16px; z-index: -1; pointer-events: none; background: rgba(14, 14, 16, 0.8); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); -webkit-mask-image: linear-gradient(#000 calc(100% - 22px), transparent); mask-image: linear-gradient(#000 calc(100% - 22px), transparent); opacity: 0; transition: opacity 0.2s ease; }
.sheet-top.scrolled::before { opacity: 1; }
.grab { position: absolute; top: 6px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: var(--faint); }
.sheet-top h3 { margin: 0; overflow: hidden; font-size: var(--fs-body); font-weight: 600; text-align: center; white-space: nowrap; text-overflow: ellipsis; }
.sheet-top .link { justify-self: start; padding: 8px 0; font-size: var(--fs-body); }
.sheet-top > :last-child { justify-self: end; }
.sheet-body > h2:first-child { margin-top: 8px; }
.sheet-body :is(input, select, textarea, button) { scroll-margin: 96px 0 120px; }
html.presenting, html.presenting body { background: #000; }

/* ---------- Barre d'onglets ---------- */

.tabs { position: fixed; z-index: 20; left: 50%; bottom: calc(var(--safe-b) + 8px); transform: translateX(-50%); display: grid; grid-template-columns: repeat(5, 1fr); width: min(calc(100% - 28px), 500px); height: var(--tabs-h); padding: 6px; border-radius: 999px; background: rgba(24, 24, 27, 0.78); -webkit-backdrop-filter: blur(26px) saturate(1.7); backdrop-filter: blur(26px) saturate(1.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 0 0 1px rgba(255, 255, 255, 0.06), var(--shadow-float); }
.tab-pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 5); border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); pointer-events: none; }
.tabs.ready .tab-pill { transition: transform 0.5s var(--ease-drawer); }
.tab, .tabs .add { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; border: 0; background: none; color: var(--mute); text-decoration: none; }
.tab-ic { display: grid; transition: transform 0.3s var(--ease-out), color 0.3s; }
.tab svg { width: 24px; height: 24px; }
.tab:active .tab-ic { transform: scale(0.84); transition-duration: 0.1s; }
.tab[aria-current="page"] { color: var(--ink); }
.tab[aria-current="page"] .tab-ic { color: var(--accent); }
.tab[aria-current="page"] svg { stroke-width: 2.1; }
.tab-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.01em; }
.tabs .add .plus { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px rgba(255, 214, 10, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); transition: transform 0.3s var(--ease-out); }
.tabs .add svg { width: 26px; height: 26px; stroke-width: 2.3; }
.tabs .add:active .plus { transform: scale(0.88); transition-duration: 0.1s; }
.badge { position: absolute; top: 4px; left: 50%; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; line-height: 18px; font-weight: 700; text-align: center; box-shadow: 0 0 0 2px #18181b; }

/* ---------- Menu du « + » ---------- */

.menu-wrap { position: fixed; inset: 0; z-index: 35; background: rgba(0, 0, 0, calc(var(--p, 0) * 0.35)); }
.menu { position: absolute; min-width: 236px; overflow: hidden; border-radius: 18px; background: rgba(36, 36, 40, 0.86); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.7); }
.menu-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; min-height: 50px; padding: 0 18px; border: 0; background: none; color: var(--ink); font-size: var(--fs-body); text-align: left; opacity: clamp(0, calc(var(--p, 1) * 2 - var(--i) * 0.28), 1); transition: background-color 0.3s; }
.menu-item + .menu-item { box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.1); }
.menu-item svg { width: 21px; height: 21px; color: var(--accent); }
.menu-item:active { background: rgba(255, 255, 255, 0.1); transition-duration: 0s; }

/* ---------- Recherche ---------- */

.search { position: fixed; inset: 0; z-index: 33; }
.search-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; }
.search-panel { position: absolute; inset: 0; display: flex; flex-direction: column; max-width: 600px; margin: 0 auto; padding: calc(var(--safe-t) + 10px) var(--gutter) 0; opacity: 0; pointer-events: none; }
.search-panel > * { pointer-events: auto; }
.search-bar { display: flex; align-items: center; gap: 12px; }
.search-field { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 14px; background: var(--card-3); box-shadow: var(--edge); }
.search-field svg { width: 18px; height: 18px; color: var(--mute); flex: none; }
.search-input { flex: 1; min-width: 0; border: 0; background: none; font-size: max(16px, var(--fs-body)); outline: none; -webkit-appearance: none; appearance: none; }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-input::placeholder { color: var(--mute); }
.search-field { min-width: 0; }
.search-cancel { flex: none; font-size: var(--fs-body); }
.search-results { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 0 calc(var(--safe-b) + 30px); }
.search-block h3 { margin: 22px 4px 8px; font-size: var(--fs-cap); font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: 0.1em; }
.search-tip, .search-empty { margin: 0; padding: 16px; color: var(--ink-2); font-size: var(--fs-sub); }
.search-empty { text-align: center; padding: 28px 16px; }

/* ---------- Message bref ---------- */

.toast-host { position: fixed; z-index: 40; left: 0; right: 0; bottom: calc(var(--tabs-h) + var(--safe-b) + 22px); display: grid; justify-items: center; padding: 0 16px; pointer-events: none; }
.toast-item { grid-area: 1 / 1; display: flex; align-items: center; gap: 4px; max-width: min(100%, 460px); min-height: 48px; padding: 6px 18px; border-radius: 999px; background: var(--hud); color: #fff; -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1); font-size: var(--fs-sub); font-weight: 600; pointer-events: auto; transform-origin: 50% 100%; transition: transform 0.5s var(--ease-out), opacity 0.35s var(--ease-out), filter 0.35s var(--ease-out); }
.toast-item:has(.toast-act) { padding-right: 6px; }
.toast-text { padding: 6px 0; }
.toast-item.out { opacity: 0; transform: translate3d(0, 16px, 0) scale(0.92); filter: blur(8px); transition-duration: 0.24s; }
.toast-act { min-height: 36px; padding: 8px 14px; border: 0; border-radius: 999px; background: none; color: var(--accent); font-size: var(--fs-sub); font-weight: 700; transition: background-color 0.2s; }
.toast-act:active { background: rgba(255, 255, 255, 0.14); transition-duration: 0s; }

/* ---------- Connexion, chargement ---------- */

.login { display: grid; align-content: center; min-height: 100dvh; max-width: 420px; margin: 0 auto; padding: calc(var(--safe-t) + 24px) 24px calc(var(--safe-b) + 24px); background: radial-gradient(70% 45% at 50% 22%, rgba(255, 255, 255, 0.12), transparent 70%); }
.login img { display: block; width: 100%; max-width: 340px; margin: 0 auto 14px; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, 0.8)); }
.login h1 { margin: 8px 0 10px; font-family: var(--serif); font-size: 2.75rem; line-height: 1.05; font-weight: 600; }
.login p { margin: 0 0 24px; color: var(--ink-2); }
.login .btn { background: var(--accent); color: var(--accent-ink); }
.login .login-logo { width: 84px; height: 84px; max-width: none; border-radius: 22px; margin: 0 0 18px; filter: drop-shadow(0 14px 24px rgba(255, 214, 10, 0.25)); }
.login-form { display: grid; gap: 12px; }
.login-links { display: grid; gap: 2px; margin-top: 18px; }
.login-link { appearance: none; background: none; border: 0; color: var(--accent); font: inherit; font-size: 0.95rem; padding: 10px 6px; text-align: center; cursor: pointer; }
.item.member-row { grid-template-columns: 1fr auto; }
.invite-link { word-break: break-all; font-size: 0.85rem; color: var(--ink-2); }
.loading { display: grid; place-items: center; min-height: 60dvh; color: var(--mute); }

/* ---------- Écrans poussés ---------- */

.nav-ghost { position: fixed; inset: 0; overflow: hidden; background: var(--bg); pointer-events: none; will-change: transform; }
.nav-ghost-inner { position: absolute; top: 0; left: 0; right: 0; }
.nav-dim { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.nav-front { box-shadow: -18px 0 40px rgba(0, 0, 0, 0.8); }

/* ---------- Ouverture du Résumé (une fois) ---------- */

.intro .hero-text { animation: rise 0.7s var(--ease-out) both; }
.intro .stage img { animation: drive 1.1s 0.05s var(--ease-out) both; }
.intro .hero-status { animation: rise 0.7s 0.2s var(--ease-out) both; }
.intro .live { animation: rise 0.75s 0.28s var(--ease-out) both; }
.intro .kpis { animation: rise 0.75s 0.36s var(--ease-out) both; }
@keyframes drive { from { opacity: 0; transform: translateX(-60px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (hover: hover) and (pointer: fine) {
  .item.tap:hover, a.item:hover, .tl-item:hover { background: var(--card-2); }
  .btn:hover:not(:disabled) { opacity: 0.9; }
  .link:hover, .section-head a:hover, .nav-back:hover { opacity: 0.75; }
  .chip:hover:not([aria-pressed="true"]) { background: var(--card-3); }
  .tab:hover { color: var(--ink); }
  .kpis-track { scrollbar-width: thin; }
}

/* ---------- Accessibilité ---------- */

@media (prefers-reduced-motion: reduce) {
  .intro *, .status.live i, .sync-pill.run i, .icon-btn.spin svg, .live-dot { animation: none !important; }
  .tabs.ready .tab-pill, .seg-thumb, .reveal, .toggle input::after, .kpis-dots i { transition: none !important; }
  .toast-item, .toast-item.out { transform: none !important; filter: none !important; }
  .nav-title { transform: none !important; }
  .kpis-track { scroll-behavior: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: #1c1c1f; --hud: #2c2c2e; }
  .tabs { background: #18181b; }
  .menu { background: #242428; }
  .tabs, .icon-btn, .status, .toast-item, .nav::before, .sheet-top::before, .menu, .search-scrim { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .nav::before, .sheet-top::before { -webkit-mask-image: none; mask-image: none; inset: 0; background: #000; box-shadow: 0 0.5px 0 var(--sep); }
  .search-scrim { background: rgba(0, 0, 0, 0.94); }
}
@media (prefers-contrast: more) {
  :root { --mute: #c7c7cc; --sep: rgba(255, 255, 255, 0.4); --faint: #8e8e93; --edge: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
  .tabs, .icon-btn, .status, .toast-item, .menu { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

/* ---------- Entretien ---------- */

.maint-hero {
  position: relative; overflow: hidden; margin-top: 4px; padding: 18px; border-radius: var(--r-l);
  background: radial-gradient(120% 120% at 0% 0%, rgba(48, 209, 88, 0.14), transparent 55%), var(--card);
  box-shadow: var(--edge);
}
.mh-top { display: flex; align-items: center; gap: 16px; }
.mh-ring { position: relative; flex: none; width: 84px; height: 84px; }
.mh-ring .ring { position: absolute; inset: 0; }
.mh-ring .ring-val { stroke: var(--c-green); }
.mh-ring.warn .ring-val { stroke: var(--warn); }
.mh-ring.bad .ring-val { stroke: var(--down); }
.mh-ring-ic { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-green); }
.mh-ring.warn .mh-ring-ic { color: var(--warn); }
.mh-ring.bad .mh-ring-ic { color: var(--down); }
.mh-ring-ic svg { width: 26px; height: 26px; stroke-width: 2.4; }
.mh-ct { min-width: 0; }
.mh-eyebrow { font-size: var(--fs-cap); font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: 0.1em; }
.mh-big { margin: 2px 0 2px; font-family: var(--serif); font-size: 2.1rem; font-weight: 600; line-height: 1.05; }
.mh-sub { color: var(--ink-2); font-size: var(--fs-foot); }
.mh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 0.5px solid var(--sep); }
.mh-stats .v { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-stats .l { margin-top: 2px; font-size: var(--fs-cap); color: var(--mute); line-height: 1.25; }

.maint-year { margin-bottom: 14px; }
.maint-y { margin: 0 4px 8px; font-family: var(--serif); font-size: 1.05rem; color: var(--mute); }
.maint-item { align-items: flex-start; }
.maint-ic {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-top: 2px; border-radius: 12px;
  background: var(--k); color: var(--k-ink, #fff); box-shadow: 0 6px 16px -8px var(--k);
}
.maint-ic svg { width: 21px; height: 21px; stroke-width: 2.1; }
.maint-main { min-width: 0; }
.maint-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.maint-tags .tag svg { width: 12px; height: 12px; stroke-width: 3; vertical-align: -1px; }
.maint-note { margin-top: 6px; padding-left: 10px; border-left: 2px solid var(--line-2); color: var(--ink-2); font-size: var(--fs-foot); line-height: 1.35; }
.maint-item .end { padding-top: 2px; }
.maint-chips { margin-bottom: 2px; }
.maint-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; text-align: center; }
.maint-foot svg { width: 15px; height: 15px; flex: none; }
.sub-h { margin: 18px 4px 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.stage .stage-ph { color: var(--faint); transition: opacity 0.5s ease; }
.stage .stage-ph svg { width: 64px; height: 64px; }
.stage.is-3d .stage-ph { opacity: 0; }
.body-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.body-chip { appearance: none; border: 0; padding: 9px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--edge); color: inherit; font: inherit; font-size: 0.9rem; cursor: pointer; }
.body-chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; padding: 4px 2px; }
.swatch { appearance: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); cursor: pointer; }
.swatch[aria-pressed="true"] { outline: 3px solid var(--accent); outline-offset: 3px; }
.neon-preview { --neon: #ffd60a; padding: 22px 12px; border-radius: var(--r-m); background: #050506; box-shadow: var(--edge); text-align: center; font: italic 900 1.9rem/1 -apple-system, system-ui, sans-serif; letter-spacing: 0.02em; color: #fff; -webkit-text-stroke: 1.5px var(--neon); text-shadow: 0 0 6px var(--neon), 0 0 18px var(--neon), 0 0 38px var(--neon); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- Installation de la synchro : 3 étapes avec coches ---------- */
.setup { display: grid; gap: 10px; }
.setup-progress { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.setup-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--fill, rgba(255, 255, 255, 0.1)); overflow: hidden; }
.setup-bar i { display: block; height: 100%; border-radius: inherit; background: var(--up, #30d158); transition: width 0.6s var(--ease-out, ease); }
.setup-step { border-radius: var(--r-m); background: var(--card); box-shadow: var(--edge); overflow: hidden; }
.setup-step > summary { list-style: none; display: grid; grid-template-columns: 34px 1fr 16px; align-items: center; gap: 12px; padding: 13px 14px; cursor: pointer; }
.setup-step > summary::-webkit-details-marker { display: none; }
.setup-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--ink-2); font-weight: 800; font-size: 15px; transition: background 0.3s, color 0.3s, transform 0.3s; }
.setup-step.now .setup-dot { background: var(--accent); color: var(--accent-ink, #1c1600); }
.setup-step.ok .setup-dot { background: var(--up, #30d158); color: #04210d; animation: setup-pop 0.5s var(--ease-out, ease); }
@keyframes setup-pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.setup-txt { display: grid; gap: 2px; min-width: 0; }
.setup-txt strong { color: var(--ink); font-size: 15px; }
.setup-txt small { color: var(--ink-2); font-size: 12.5px; }
.setup-step.ok .setup-txt small { color: var(--up, #30d158); font-weight: 650; }
.setup-chev { color: var(--faint, #8e8e93); font-size: 20px; transition: transform 0.25s; }
.setup-step[open] .setup-chev { transform: rotate(90deg); }
.setup-body { padding: 0 14px 14px; display: grid; gap: 12px; }
.sub-step { display: grid; gap: 8px; padding-top: 12px; border-top: 0.5px solid var(--sep, rgba(255, 255, 255, 0.08)); }
.sub-head { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.sub-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 214, 10, 0.16); color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.setup-wait { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-size: 14px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.15); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.setup-live { display: flex; align-items: center; gap: 8px; margin: 2px 2px 0; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up, #30d158); box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.6); animation: live 1.8s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }

/* Illustrations des écrans Google (dessinées, en clair comme les vrais écrans). */
.shot { margin: 2px 0 0; border-radius: 12px; overflow: hidden; background: #fff; color: #202124; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.35); font: 500 12px/1.35 -apple-system, system-ui, sans-serif; user-select: none; }
.shot-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #eef0f3; border-bottom: 1px solid #dfe1e5; }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c8ccd2; }
.shot-bar span { margin-left: 8px; flex: 1; padding: 3px 9px; border-radius: 99px; background: #fff; color: #5f6368; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-body { padding: 12px; display: grid; gap: 9px; }
.shot-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shot-row.tools { padding-bottom: 8px; border-bottom: 1px solid #eceff1; }
.shot-row.split { justify-content: space-between; }
.shot-sp { flex: 1; }
.shot-title { font-weight: 650; font-size: 13px; }
.shot-ico { font-size: 14px; }
.shot-select { display: inline-block; padding: 4px 9px; border: 1px solid #dadce0; border-radius: 6px; background: #fff; }
.shot-btn { display: inline-block; padding: 5px 11px; border-radius: 6px; background: #f1f3f4; font-weight: 650; }
.shot-btn.blue { background: #1a73e8; color: #fff; }
.shot-btn.dim { opacity: 0.55; }
.shot-ghost { color: #80868b; }
.shot-link { color: #1a73e8; font-weight: 650; text-decoration: underline; }
.shot-check { font-weight: 650; }
.shot-lines { display: grid; gap: 6px; }
.shot-lines i { display: block; height: 7px; border-radius: 4px; background: #e8eaed; }
.shot-code { position: relative; padding: 10px; border-radius: 6px; background: #f8f9fa; font-family: ui-monospace, Menlo, monospace; font-size: 11px; }
.shot-sel { background: #c6dafc; }
.shot-tip { display: block; margin-top: 8px; font-family: -apple-system, system-ui, sans-serif; color: #5f6368; }
.shot-dialog { display: grid; gap: 9px; padding: 12px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); }
.shot-dialog p, .shot-cap { margin: 0; color: #5f6368; }
.shot-right { display: flex; justify-content: flex-end; align-items: center; gap: 12px; flex-wrap: wrap; }
.shot-field { display: grid; gap: 4px; }
.shot-field small { color: #5f6368; }
.shot-url { color: #1a73e8; text-decoration: underline; word-break: break-all; }
.shot-menu { display: grid; gap: 8px; justify-self: end; padding: 9px 12px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); }
.shot-warn { font-size: 22px; color: #d93025; }
.shot-h { font-size: 14px; }
.shot-perm { padding: 6px 0; border-top: 1px solid #eceff1; color: #3c4043; }
.shot-ok { padding: 10px 0; font: 700 15px -apple-system, system-ui, sans-serif; color: #188038; }
.shot-hl { position: relative; display: inline-flex; align-items: center; padding: 2px; border-radius: 9px; box-shadow: 0 0 0 2.5px #ffd60a, 0 0 14px rgba(255, 214, 10, 0.55); }
.shot-n { position: absolute; top: -9px; left: -9px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #ffd60a; color: #1c1600; font: 800 11px/1 -apple-system, system-ui, sans-serif; z-index: 1; }

/* ---------- Flotte : cartes façon Apple Wallet (empilées au défilement) ---------- */
.wallet { display: grid; gap: 14px; padding-bottom: 24px; }
.wcard {
  position: sticky; top: calc(var(--safe-t) + 58px + var(--i, 0) * 12px);
  display: block; overflow: hidden; isolation: isolate; width: 100%; padding: 18px 18px 16px;
  border: 0; border-radius: 30px; color: inherit; text-align: left; text-decoration: none;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 45%, transparent 75%),
    linear-gradient(165deg, #222328 0%, #141518 55%, #0c0c0e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 -10px 30px rgba(0, 0, 0, 0.55), 0 18px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.wcard:active { transform: scale(0.975); transition-duration: 0.12s; }
.wcard::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.05) 48%, transparent 60%); pointer-events: none; }
.wcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wcard-top .plate { margin-top: 4px; flex: none; }
.wcard-eyebrow { font-size: var(--fs-cap); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); }
.wcard-name { margin-top: 2px; font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; font-weight: 500; }
.wcard-stage { position: relative; display: grid; place-items: center; height: 170px; margin: 2px -6px 0; }
.wcard-stage::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: 4px; height: 54px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 60%, transparent); }
.wcard-stage::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 22px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 214, 10, 0.55), transparent); box-shadow: 0 0 16px 2px rgba(255, 214, 10, 0.22); }
.wcard-stage img { width: min(92%, 380px); height: auto; filter: drop-shadow(0 22px 20px rgba(0, 0, 0, 0.75)); -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.wcard-stage .stage-ph svg { width: 92px; height: 92px; color: var(--faint); }
.wcard-status { display: flex; justify-content: center; margin-top: -6px; }
.wcard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.wcard-stats > div { padding: 11px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.wcard-stats .v { font-family: var(--serif); font-size: 1.2rem; line-height: 1.15; font-weight: 500; white-space: nowrap; }
.wcard-stats .v .tag { font-family: inherit; font-size: 0.8rem; }
.wcard-stats .l { margin-top: 3px; font-size: var(--fs-cap); line-height: 1.25; color: var(--mute); }
.wcard-add { position: static; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 84px; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14); color: var(--mute); font-weight: 600; cursor: pointer; }
.wcard-add svg { width: 22px; height: 22px; }
.wcard-add::after { display: none; }
@media (prefers-reduced-motion: reduce) { .wcard { transition: none; } }

/* ---------- Première voiture : « création du personnage » ---------- */
.cc { min-height: 100dvh; padding: calc(var(--safe-t) + 14px) var(--gutter) calc(var(--safe-b) + 24px); background: radial-gradient(120% 60% at 50% 34%, rgba(255, 214, 10, 0.1), transparent 60%), #000; }
.cc-hud { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-cap); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.cc-brand { color: var(--accent); }
.cc-mode { padding: 4px 10px; border-radius: 999px; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line-2); }
.cc-title { margin: 18px 0 0; font-family: var(--serif); font-size: 2rem; line-height: 1.05; font-weight: 500; }
.cc-pips { display: flex; gap: 6px; margin-top: 14px; }
.cc-pip { flex: 1; display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 12px; background: var(--card); color: var(--mute); font-size: var(--fs-cap); font-weight: 600; }
.cc-pip i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 0.6875rem; background: var(--fill); color: var(--ink); }
.cc-pip.now { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--accent); }
.cc-pip.now i, .cc-pip.done i { background: var(--accent); color: var(--accent-ink); }
.cc-stage { position: relative; isolation: isolate; display: grid; place-items: center; height: min(36vh, 290px); margin: 6px -8px 0; }
.cc-stage.small { height: 190px; margin: -6px 0 4px; }
.cc-stage .car3d { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.cc-stage.is-3d .car3d { opacity: 1; }
.cc-ph svg { width: 96px; height: 96px; color: var(--faint); transition: opacity 0.4s; }
.cc-stage.is-3d .cc-ph { opacity: 0; }
.cc-ring { position: absolute; z-index: -1; left: 12%; right: 12%; bottom: 8%; height: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 10, 0.16), transparent 70%); box-shadow: 0 0 0 1.5px rgba(255, 214, 10, 0.5), 0 0 30px 4px rgba(255, 214, 10, 0.25), inset 0 0 22px rgba(255, 214, 10, 0.25); animation: cc-ring 2.8s ease-in-out infinite; }
@keyframes cc-ring { 50% { box-shadow: 0 0 0 1.5px rgba(255, 214, 10, 0.75), 0 0 44px 8px rgba(255, 214, 10, 0.3), inset 0 0 26px rgba(255, 214, 10, 0.35); } }
.cc-panel { margin-top: 6px; padding: 16px; border-radius: 24px; background: var(--card); box-shadow: var(--edge); }
.cc-pick { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 8px; }
.cc-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--fill); color: var(--ink); cursor: pointer; }
.cc-arrow:active { transform: scale(0.92); background: var(--accent); color: var(--accent-ink); }
.cc-arrow svg { width: 22px; height: 22px; }
.cc-class { text-align: center; }
.cc-class small { display: block; font-size: var(--fs-cap); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.cc-class strong { display: block; margin-top: 2px; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.1; }
.cc-class span { color: var(--mute); font-size: var(--fs-foot); }
.cc-stats { display: grid; gap: 9px; margin-top: 14px; }
.cc-stat { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; font-size: var(--fs-foot); color: var(--ink-2); }
.cc-stat b { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.cc-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.cc-bar i { height: 8px; border-radius: 3px; background: var(--fill-2); }
.cc-bar i.on { background: var(--accent); box-shadow: 0 0 10px rgba(255, 214, 10, 0.45); }
.cc-label { font-size: var(--fs-foot); color: var(--mute); margin-bottom: 12px; }
.cc-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.cc-swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border: 0; border-radius: 16px; background: var(--card-2); color: var(--ink-2); font-size: var(--fs-cap); cursor: pointer; }
.cc-swatch::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 4px 10px rgba(0, 0, 0, 0.5); }
.cc-swatch[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 0 0 2px var(--accent); }
.cc-field { display: grid; gap: 6px; }
.cc-field > span { font-size: var(--fs-foot); color: var(--mute); }
.cc-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.cc-plate { position: relative; }
.cc-plate .input { padding-left: 34px; background: #fff; color: #111; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px #111; }
.cc-plate .input::placeholder { color: #9a9a9a; }
.cc-plate::before { content: "F"; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 24px; display: grid; place-items: center; border-radius: 10px 0 0 10px; background: #1f4fd8; color: #fff; font-size: 0.75rem; font-weight: 700; }
.cc-more summary { color: var(--accent); font-size: var(--fs-foot); font-weight: 600; cursor: pointer; padding: 4px 0; }
.cc-more[open] summary { margin-bottom: 10px; }
.cc-actions { display: flex; gap: 10px; margin-top: 16px; }
.cc-actions .btn { flex: 1; }
.cc-actions .btn.ghost { flex: 0 0 auto; padding-left: 20px; padding-right: 20px; }
.btn.cc-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; box-shadow: 0 10px 30px rgba(255, 214, 10, 0.3); }
.btn.cc-go svg { width: 18px; height: 18px; }
.cc-unlock { position: relative; padding-top: 10vh; text-align: center; }
.cc-unlock > small { display: block; color: var(--accent); font-size: var(--fs-cap); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.cc-unlock h1 { margin: 6px 0 8px; font-family: var(--serif); font-size: 2.4rem; font-weight: 500; line-height: 1.05; animation: cc-pop 0.7s var(--ease-out) both; }
.cc-unlock > p { color: var(--ink-2); margin: 0; }
.cc-burst { position: absolute; z-index: -1; left: 50%; top: 18vh; width: 520px; height: 520px; margin-left: -260px; background: repeating-conic-gradient(rgba(255, 214, 10, 0.16) 0 6deg, transparent 6deg 20deg); -webkit-mask: radial-gradient(closest-side, #000 30%, transparent); mask: radial-gradient(closest-side, #000 30%, transparent); animation: cc-spin 18s linear infinite; }
@keyframes cc-spin { to { transform: rotate(360deg); } }
@keyframes cc-pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.cc-xp { height: 8px; margin: 20px 18% 0; border-radius: 999px; background: var(--fill-2); overflow: hidden; }
.cc-xp i { display: block; height: 100%; width: 34%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 12px rgba(255, 214, 10, 0.6); animation: cc-xp 1.2s 0.3s var(--ease-out) both; }
@keyframes cc-xp { from { width: 0; } }
.cc-quest { display: grid; gap: 3px; margin: 26px 0 16px; padding: 16px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.3); text-align: left; }
.cc-quest small { color: var(--accent); font-size: var(--fs-cap); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.cc-quest span { color: var(--mute); font-size: var(--fs-foot); }
@media (prefers-reduced-motion: reduce) { .cc-ring, .cc-burst, .cc-unlock h1, .cc-xp i { animation: none; } }

/* Aperçu 3D dans la fiche d'une voiture (ajout / modification) */
.cc-stage.in-form { height: 180px; margin: 4px 0 0; border-radius: 20px; background: radial-gradient(90% 70% at 50% 40%, rgba(255, 255, 255, 0.08), transparent 70%), var(--card-2); }
.cc-stage.in-form .cc-ring { bottom: 10%; }

/* Bandeau de fin de bêta */
#beta-banner { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(var(--safe-b) + 92px); display: flex; flex-direction: column; gap: 1px; padding: 10px 14px; border-radius: 16px; background: var(--hud); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.4), 0 10px 30px rgba(0, 0, 0, 0.5); color: var(--ink); text-decoration: none; font-size: var(--fs-foot); }
#beta-banner strong { color: var(--accent); }
#beta-banner span { color: var(--mute); }
#beta-banner.expired { box-shadow: inset 0 0 0 1px rgba(255, 69, 58, 0.55), 0 10px 30px rgba(0, 0, 0, 0.5); }
#beta-banner.expired strong { color: var(--red); }
html.login-open #beta-banner { display: none; }

/* ---------- Réglages : carte profil, abonnement, espace fondateur ---------- */
.profile-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 6px; padding: 16px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--edge); color: inherit; text-decoration: none; }
.profile-card:active { background: var(--press); }
.profile-card .t1 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.1; }
.profile-card .t2 { color: var(--mute); font-size: var(--fs-foot); }
.profile-card .chev svg, .item .chev svg { width: 16px; height: 16px; color: var(--faint); }
.avatar { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(145deg, #ffe34d, #f2b600); color: var(--accent-ink); font-family: var(--serif); font-size: 1.6rem; font-weight: 600; box-shadow: 0 6px 18px rgba(255, 214, 10, 0.25); }
.avatar.small { width: 38px; height: 38px; font-size: 1.1rem; }
.beta-pill { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: var(--fs-cap); font-weight: 600; }
.beta-pill.off { background: rgba(255, 69, 58, 0.14); color: var(--red); }
.item .end i.dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--faint); vertical-align: middle; }
.item .end i.dot.ok { background: var(--up); box-shadow: 0 0 8px rgba(48, 209, 88, 0.6); }
.item .end i.dot.late { background: var(--warn); }
.item .end i.dot.err { background: var(--red); }
.plan-card { padding: 18px; border-radius: var(--r-m); background: radial-gradient(120% 120% at 0% 0%, rgba(255, 214, 10, 0.16), transparent 60%), var(--card); box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.25); }
.plan-card.off { background: radial-gradient(120% 120% at 0% 0%, rgba(255, 69, 58, 0.14), transparent 60%), var(--card); box-shadow: inset 0 0 0 1px rgba(255, 69, 58, 0.3); }
.plan-card small { color: var(--accent); font-size: var(--fs-cap); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.plan-card.off small { color: var(--red); }
.plan-card strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; }
.plan-card p { margin: 10px 0 0; color: var(--ink-2); font-size: var(--fs-foot); line-height: 1.4; }
.plan-bar { height: 8px; margin-top: 12px; border-radius: 999px; background: var(--fill-2); overflow: hidden; }
.plan-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.plan-card.off .plan-bar i { background: var(--red); }
.admin-kpis { margin-bottom: 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.admin-kpis > div, .admin-grid > div { padding: 12px 10px; border-radius: 16px; background: var(--card); box-shadow: var(--edge); }
.admin-kpis b, .admin-grid b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.admin-kpis span, .admin-grid span { color: var(--mute); font-size: var(--fs-cap); }
.admin-user { margin-top: 12px; padding: 14px; border-radius: var(--r-m); background: var(--card-2); box-shadow: var(--edge); }
.admin-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.admin-head .t2 { color: var(--mute); font-size: var(--fs-foot); word-break: break-all; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 8px; }
.admin-grid > div { padding: 9px 8px; background: var(--card); }
.admin-grid b { font-size: 1.1rem; }
.admin-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.admin-out .invite-link { margin-top: 6px; }
.cc-found { margin: -4px 2px 0; color: var(--up); font-weight: 600; }
.cc-found:empty { display: none; }
.steps-list { margin: 8px 0 12px; padding-left: 20px; color: var(--ink-2); line-height: 1.45; }
.steps-list li { margin: 4px 0; }
.setup-alt { margin-top: 12px; }
.setup-alt summary { color: var(--accent); font-weight: 600; cursor: pointer; padding: 6px 0; }

/* ---------- Tuto « installer l'appli » (connexion, sur téléphone) ---------- */
.install-guide { margin-top: 22px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.28); text-align: left; overflow: hidden; }
.install-guide summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.install-guide summary::-webkit-details-marker { display: none; }
.install-guide summary strong { display: block; font-size: var(--fs-body, 1rem); }
.install-guide summary small { display: block; color: var(--mute); font-size: var(--fs-foot); }
.install-guide summary::after { content: "›"; margin-left: auto; color: var(--faint); font-size: 1.4rem; transform: rotate(90deg); transition: transform 0.25s; }
.install-guide[open] summary::after { transform: rotate(-90deg); }
.install-guide > .install-now { margin: 0 16px 12px; width: calc(100% - 32px); }
.install-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--fill); color: var(--accent); }
.install-ic svg { width: 20px; height: 20px; }
.install-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 16px; padding: 3px; border-radius: 12px; background: var(--fill); }
.install-tab { padding: 8px; border: 0; border-radius: 9px; background: transparent; color: var(--mute); font: inherit; font-weight: 600; font-size: var(--fs-foot); cursor: pointer; }
.install-tab[aria-selected="true"] { background: var(--card-2); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.install-steps { margin: 0; padding: 14px 16px 16px; list-style: none; display: grid; gap: 12px; }
.install-step { display: grid; grid-template-columns: 22px 36px 1fr; align-items: center; gap: 10px; }
.install-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; font-weight: 700; }
.install-step strong { display: block; font-size: var(--fs-foot); }
.install-step small { display: block; color: var(--mute); font-size: var(--fs-cap); line-height: 1.35; }

/* Sélecteur de voiture (Résumé, Planning, Finances) */
.car-switch-row { display: flex; margin: -4px 0 14px; }
.car-switch { display: inline-flex; align-items: center; gap: 8px; min-height: 2.25rem; padding: 7px 12px 7px 12px; border: 0; border-radius: 999px; background: var(--card-2); color: var(--ink); font-size: var(--fs-sub); font-weight: 600; box-shadow: var(--edge); transition: transform 0.25s var(--ease-out); }
.car-switch:active { transform: scale(0.95); transition-duration: 0.1s; }
.car-switch svg { width: 1.05em; height: 1.05em; flex: none; }
.car-switch svg:last-child { opacity: 0.6; }
.car-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.seg-bar.car-tag { box-shadow: inset 4px 0 0 var(--car); }
.car-group-head { display: flex; align-items: center; gap: 8px; }
.car-legend { margin-top: 12px; justify-content: center; }
.car-group-head { margin: 18px 4px 8px; font-size: var(--fs-sub); }
h3 .count { color: var(--mute); font-size: 0.85em; font-weight: 500; }
.home .car-switch-row { justify-content: center; margin: 12px 0 18px; }
