/* ==========================================================================
   Bien Connu - application interface
   Absolute priority: a non-technical agent understands every screen without help.
   Legibility, strong contrasts, large targets, one main action per screen.
   In the brand colours, with restraint: paper background, black for structure,
   orange for the main action, square corners, no shadow (section 23).
   (The public site has its own style: brand.css + landing.css.)

   1. Tokens          6. Buttons            11. Lists & facts       16. Posts
   2. Base            7. Badges & alerts    12. Steps               17. Windows & toasts
   3. Typography      8. Fields             13. Tabs                18. Guest pages
   4. Layout          9. Choice cards       14. Empty & loading     19. Motion
   5. Cards          10. Networks           15. Photos              20. Utilities
   ========================================================================== */

/* 1. Tokens */
/* The brand colours come from tokens.css; here, their roles in the application. Guidelines: lots of paper, black to structure, orange as a touch. No shadow, no "software" blue. */
:root {
  --bg: var(--paper);
  --surface: var(--white);
  --surface-2: var(--paper-2);
  --border: #DDD6CA;
  --border-strong: #8C8577;
  --text: var(--ink);
  --text-2: #46423B;          /* contrast > 9:1 on white */
  --text-3: #4F4A42;          /* contrast > 8:1 on white: hints are readable */

  --brand: var(--orange);     /* orange backgrounds, ink text on it */
  --brand-hover: var(--orange-hover);
  --primary: var(--orange-text);  /* small orange text, or white text on orange (agents' .pp pages) */
  --primary-hover: var(--orange-text-dark);
  --primary-soft: #FFF4ED;
  --primary-line: #F4B793;

  --success: #166534;  --success-soft: #EDFAF1;  --success-line: #9BD7AE;
  --warning: #92400E;  --warning-soft: #FFF8E6;  --warning-line: #F2C66D;
  --danger:  #B42318;  --danger-soft:  #FEF1F0;  --danger-line:  #F4A9A3;
  --info:    #262421;  --info-soft:    #EFEBE4;  --info-line:    #CFC8BA;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-pill: 999px;
  --shadow: none;
  --focus-color: var(--ink);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: var(--font-display);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 40px; --s9: 56px;

  --sidebar: 288px;
  --content: 1240px;
  --tabbar: 64px;
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
[hidden] { display: none !important; }
/* A crisp outline, visible in high contrast too (a shadow disappears there). */
:focus-visible { outline: 3px solid var(--focus-color); outline-offset: 2px; }
::selection { background: var(--ink); color: #F4F1EC; }

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--text); color: #FFF; padding: var(--s3) var(--s4); border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: var(--s4); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { flex: none; }

/* 3. Typography */
.title-1 { font-size: clamp(1.875rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.2; font-weight: 800; letter-spacing: -.015em; }
.title-2 { font-size: 1.5rem; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.title-3 { font-size: 1.25rem; line-height: 1.35; font-weight: 700; }
.lead { font-size: 1.1875rem; color: var(--text-2); max-width: 70ch; }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.text-sm { font-size: 1rem; }
.text-strong { font-weight: 700; }
.text-success { color: var(--success); }
.block { display: block; }
.text-danger { color: var(--danger); }
.nowrap { white-space: nowrap; }
.link { font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.link:hover { color: var(--primary-hover); }
.link--icon { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; }
.link--icon:hover { text-decoration: underline; }
.prewrap { white-space: pre-line; overflow-wrap: anywhere; }

/* 4. Layout */
.shell { min-height: 100vh; min-height: 100dvh; padding-left: var(--sidebar); }

/* Really fixed to the screen edges (not "sticky" over 100vh): no gap at the bottom, whatever the zoom or scroll bounce. */
.sidebar {
  position: fixed; z-index: 30; top: 0; bottom: 0; left: 0; width: var(--sidebar); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: var(--s6);
  padding: var(--s6) var(--s4);
  background: var(--surface); border-right: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: auto; height: 52px; }
.sidebar .brand { padding: 0 var(--s2); }

.nav { display: grid; gap: var(--s1); }
.nav__link {
  display: flex; align-items: center; gap: var(--s3);
  min-height: 56px; padding: var(--s2) var(--s4); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1.125rem; text-decoration: none; color: var(--text-2);
}
.nav__link:hover { background: var(--bg); color: var(--text); }
/* The current page marked with an orange stroke, no pastel fill. */
.nav__link[aria-current="page"] { background: var(--surface); color: var(--text); font-weight: 800; box-shadow: inset 4px 0 0 var(--orange); }
.nav__link[aria-current="page"] .icon { color: var(--text); }
.nav__text { flex: 1; min-width: 0; }
.nav__badge {
  min-width: 26px; height: 26px; padding: 0 8px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--text); color: #FFF; font-size: .875rem; font-weight: 800;
}
.sidebar__foot { margin-top: auto; display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--border); }
.sidebar__user { padding: 0 var(--s2); line-height: 1.35; min-width: 0; }
.sidebar__user strong { display: block; overflow-wrap: anywhere; }
.sidebar__user span { display: block; font-size: .875rem; color: var(--text-3); overflow-wrap: anywhere; }

.main { min-width: 0; padding: 48px 56px 72px; }
.content { width: 100%; max-width: var(--content); margin: 0 auto; display: grid; gap: var(--s7); align-content: start; }
.content--narrow { max-width: 860px; }

.page-header { display: grid; gap: var(--s2); }
.page-header__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.page-header__titles { display: grid; gap: var(--s2); min-width: 0; flex: 1 1 320px; }
.page-header__actions { display: flex; gap: var(--s3); flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; color: var(--text-2); text-decoration: none; min-height: var(--tap); justify-self: start; }
.back-link:hover { color: var(--text); text-decoration: underline; }

.section { display: grid; gap: var(--s4); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }

.topbar, .tabbar { display: none; }

@media (max-width: 899px) {
  .shell { display: block; padding-left: 0; }
  .sidebar { display: none; }
  .main { padding: var(--s5) var(--s4) calc(var(--tabbar) + var(--s8) + env(safe-area-inset-bottom)); }
  .content { gap: var(--s6); }

  .topbar {
    position: sticky; top: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
    min-height: 56px; padding: 6px var(--s4); padding-top: calc(6px + env(safe-area-inset-top));
    background: var(--surface); border-bottom: 1px solid var(--border);
  }
  .topbar .brand img { height: 34px; }
  .topbar__settings {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--s2);
    color: var(--text-2); font-size: .9375rem; font-weight: 600; text-decoration: none; border-radius: var(--radius-sm);
  }
  .topbar__settings[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
  .topbar__links { display: flex; gap: var(--s1); }

  .tabbar {
    position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch;
    background: var(--surface); border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar__link {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: var(--tabbar); padding: 6px 2px;
    font-size: .875rem; font-weight: 600; line-height: 1.15; text-align: center; text-decoration: none; color: var(--text-2);
  }
  .tabbar__link[aria-current="page"] { color: var(--text); font-weight: 800; }
  .tabbar__link[aria-current="page"] .tabbar__icon::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: -6px; height: 3px; background: var(--text); }
  .tabbar__icon { position: relative; }
  .tabbar__badge {
    position: absolute; top: -6px; left: 15px; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: var(--radius-pill); background: var(--text); color: #FFF;
    font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--surface);
  }
  .tabbar__add .tabbar__icon {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--text); color: #FFF; border: 2px solid var(--text); margin-top: -2px;
  }
  .tabbar__add { color: var(--text); }
}

/* 5. Cards */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
  display: grid; gap: var(--s4); align-content: start; min-width: 0;
}
.card--tight { padding: var(--s4); gap: var(--s3); }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.card__titles { display: grid; gap: var(--s1); min-width: 0; flex: 1 1 240px; }
.card__foot { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; padding-top: var(--s4); border-top: 1px solid var(--border); }
.card--focus { border-color: var(--primary-line); background: var(--white); box-shadow: 8px 8px 0 var(--orange); }
.card--success { border-color: var(--success-line); background: var(--success-soft); box-shadow: 6px 6px 0 var(--success-line); }
.card--warning { border-color: var(--warning-line); background: var(--warning-soft); box-shadow: 6px 6px 0 var(--warning-line); }
.card--danger  { border-color: var(--danger-line);  background: var(--danger-soft);  box-shadow: 6px 6px 0 var(--danger-line); }
.card--danger-zone { border-color: var(--danger-line); }

.grid-2 { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 1200px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* 6. Buttons */
.btn {
  --b-bg: var(--surface); --b-fg: var(--text); --b-bd: var(--text);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 12px 22px; border-radius: var(--radius-sm);
  background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bd);
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform 90ms var(--ease);
}
.btn:hover { --b-bg: var(--paper-dark); }
.btn:active:not(:disabled):not(.is-loading) { transform: translate(1px, 1px); }
/* The main button: the panel's orange, outlined in black, as on the site. */
.btn--primary { --b-bg: var(--brand); --b-fg: var(--text); --b-bd: var(--text); border-width: 2px; font-weight: 800; }
.btn--primary:hover { --b-bg: var(--brand-hover); --b-bd: var(--text); }
.btn--dark { --b-bg: var(--text); --b-fg: #FFF; --b-bd: var(--text); }
.btn--dark:hover { --b-bg: var(--ink-2); --b-bd: var(--ink-2); }
/* Tertiary: an underlined link that keeps the size of a target. */
.btn--ghost { --b-bg: transparent; --b-bd: transparent; color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.btn--ghost:hover { --b-bg: transparent; --b-bd: transparent; text-decoration-color: var(--brand); }
.btn--danger { --b-bg: var(--surface); --b-fg: var(--danger); --b-bd: var(--danger); }
.btn--danger:hover { --b-bg: var(--danger-soft); --b-bd: var(--danger); }
.btn--danger-solid { --b-bg: var(--danger); --b-fg: #FFF; --b-bd: var(--danger); }
.btn--danger-solid:hover { --b-bg: var(--err-dark); --b-bd: var(--err-dark); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 1rem; }
.btn--lg { min-height: 60px; padding: 14px 28px; font-size: 1.1875rem; }
.btn--block { display: flex; width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn.is-loading { pointer-events: none; }
/* In progress: the label stays legible, an indicator spins after it (fixed with reduced motion: ellipsis dots). */
.btn.is-loading .icon { display: none; }
.btn.is-loading::after {
  content: ""; flex: none; width: 18px; height: 18px;
  border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::after { content: "…"; width: auto; height: auto; border: 0; animation: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.actions { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap);
  border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-2);
}
.icon-btn:hover { background: var(--bg); color: var(--text); }

/* 7. Badges & alerts */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px;
  border-radius: var(--radius-pill); border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text-2);
  font-size: .9375rem; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.badge--success { background: var(--success-soft); color: var(--success); border-color: var(--success-line); }
.badge--warning { background: var(--warning-soft); color: var(--warning); border-color: var(--warning-line); }
.badge--danger  { background: var(--danger-soft);  color: var(--danger);  border-color: var(--danger-line); }
.badge--info    { background: var(--info-soft);    color: var(--info);    border-color: var(--info-line); }
.badge--primary { background: var(--primary-soft); color: var(--primary-hover); border-color: var(--primary-line); }

.alert {
  /* A long e-mail address wraps instead of widening the page. */
  overflow-wrap: anywhere;
  display: flex; gap: var(--s3); align-items: flex-start;
  padding: var(--s4); border-radius: var(--radius); border: 1px solid var(--info-line); background: var(--info-soft);
}
.alert > .icon { margin-top: 2px; color: var(--info); }
.alert__body { flex: 1; min-width: 0; display: grid; gap: var(--s2); }
.alert__title { font-weight: 800; }
.alert--success { border-color: var(--success-line); background: var(--success-soft); }
.alert--success > .icon { color: var(--success); }
.alert--warning { border-color: var(--warning-line); background: var(--warning-soft); }
.alert--warning > .icon { color: var(--warning); }
.alert--danger { border-color: var(--danger-line); background: var(--danger-soft); }
.alert--danger > .icon { color: var(--danger); }

.note { display: flex; gap: var(--s2); align-items: flex-start; color: var(--text-2); font-size: 1rem; }
.note .icon { margin-top: 3px; color: var(--success); }

/* 8. Fields */
.form { display: grid; gap: var(--s5); }
.form-row { display: grid; gap: var(--s4); }
@media (min-width: 600px) { .form-row--2 { grid-template-columns: 1fr 1fr; } .form-row--3 { grid-template-columns: repeat(3, 1fr); } }
.field { display: grid; gap: 6px; align-content: start; }
.field__label { font-weight: 700; font-size: 1.0625rem; }
.field__optional { font-weight: 400; color: var(--text-3); }
.field__hint { font-size: 1rem; color: var(--text-3); }
.field__error { display: flex; gap: 6px; align-items: flex-start; font-size: .9375rem; font-weight: 700; color: var(--danger); }
.field__error .icon { margin-top: 2px; }
.field__control {
  width: 100%; min-height: 56px; padding: 13px 16px;
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 1.125rem; line-height: 1.4; appearance: none; -webkit-appearance: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field__control::placeholder { color: #6B727C; opacity: 1; } /* legible on white (4.9:1) */
.field__control:hover { border-color: var(--text-2); }
.field__control:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(17, 17, 17, .14); }
textarea.field__control { min-height: 130px; resize: vertical; }
textarea[data-autogrow] { resize: none; overflow: hidden; }
select.field__control {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316191D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field--error .field__control { border-color: var(--danger); }
.input-group { display: flex; align-items: stretch; }
.input-group .field__control { border-radius: var(--radius-sm) 0 0 var(--radius-sm); min-width: 0; }
.input-group__addon {
  display: flex; align-items: center; padding: 0 14px; font-weight: 700; color: var(--text-2);
  background: var(--surface-2); border: 1.5px solid var(--border-strong); border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.counter { font-size: .875rem; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.counter.is-over { color: var(--danger); font-weight: 700; }
.checkbox { display: flex; gap: var(--s3); align-items: center; cursor: pointer; font-weight: 600; min-height: 44px; }
.checkbox input { width: 22px; height: 22px; accent-color: var(--text); margin: 0; flex: none; }
.password { position: relative; }
.password .field__control { padding-right: 112px; }
.password__toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  min-height: var(--tap); padding: 6px 12px; border: 0; border-radius: var(--radius-sm); background: transparent;
  font-weight: 700; font-size: .9375rem; color: var(--text); text-decoration: underline; text-underline-offset: 3px;
}
.password__toggle:hover { background: var(--surface-2); }

/* 9. Choice cards */
.choices { display: grid; gap: var(--s3); border: 0; padding: 0; margin: 0; min-width: 0; }
.choices > legend { padding: 0; margin-bottom: var(--s3); font-weight: 700; }
.choices--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice__input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__body {
  display: grid; gap: 2px; min-height: 64px; padding: var(--s4) 56px var(--s4) var(--s4);
  background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.choice__title { font-weight: 800; }
.choice__text { font-size: 1rem; color: var(--text-2); }
.choice__tag { justify-self: start; margin-top: 4px; }
.choice__check {
  position: absolute; right: var(--s4); top: var(--s4); width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); background: var(--surface); color: transparent;
  display: grid; place-items: center; pointer-events: none;
}
.choice:hover .choice__body { border-color: var(--text); }
.choice__input:checked + .choice__body { border-color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 2px var(--text); }
.choice__input:checked ~ .choice__check { background: var(--text); border-color: var(--text); color: #FFF; }
.choice__input:focus-visible + .choice__body { outline: 3px solid var(--focus-color); outline-offset: 2px; }

/* 10. Networks */
.networks { display: grid; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.network { display: flex; align-items: center; gap: var(--s4); padding: var(--s4); flex-wrap: wrap; }
.network + .network { border-top: 1px solid var(--border); }
.network__logo { width: 44px; height: 44px; flex: none; border-radius: var(--radius-sm); display: grid; place-items: center; color: #FFF; }
.network__logo--instagram { background: #C13584; }
.network__logo--facebook { background: #1877F2; }
.network__logo--linkedin { background: #0A66C2; }
.network__logo--tiktok { background: #111111; }
.network__logo--google_business { background: #1A73E8; }
.network__logo--youtube { background: #FF0000; }
.network__logo--threads { background: #000000; }
.network__body { flex: 1 1 180px; min-width: 0; display: grid; gap: 2px; }
.network__name { font-weight: 800; }
.network form { margin: 0; }

/* 11. Lists & facts */
.list { display: grid; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.list-item { display: flex; align-items: center; gap: var(--s5); padding: 18px 22px; text-decoration: none; color: inherit; min-width: 0; }
.list-item + .list-item { border-top: 1px solid var(--border); }
a.list-item:hover { background: var(--surface-2); }
a.list-item:hover .list-item__title { text-decoration: underline; text-underline-offset: 3px; }
.list-item__body { flex: 1 1 0; min-width: 0; display: grid; gap: 2px; }
.list-item__title { font-weight: 800; font-size: 1.1875rem; overflow-wrap: anywhere; }
.list-item__meta { color: var(--text-2); font-size: 1rem; }
.list-item__aside { flex: none; display: flex; align-items: center; gap: var(--s3); }
.list-item__chevron { color: var(--text-3); }
@media (max-width: 599px) {
  .list-item { flex-wrap: wrap; }
  /* The status goes under the text, aligned with it: offset by the width of the thumbnail, or of the network logo. */
  .list-item__aside { width: 100%; justify-content: space-between; padding-left: calc(var(--list-lead, 64px) + var(--s5)); }
  .list-item:has(> .network__logo) { --list-lead: 36px; align-items: flex-start; }
  .list-item__chevron { display: none; }
}

.facts { display: grid; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.facts__row { display: grid; grid-template-columns: minmax(140px, 32%) 1fr; gap: var(--s4); padding: 14px 22px; }
.facts__row + .facts__row { border-top: 1px solid var(--border); }
.facts dt { color: var(--text-2); font-weight: 600; }
.facts dd { font-weight: 700; overflow-wrap: anywhere; }
.facts__missing { color: var(--text-3); font-weight: 500; font-style: italic; }
@media (max-width: 599px) { .facts__row { grid-template-columns: 1fr; gap: 0; } }

.tags { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; }
.tag { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--bg); border: 1px solid var(--border); font-weight: 600; font-size: .9375rem; }

/* 12. Steps */
.steps { list-style: none; display: grid; gap: var(--s2); counter-reset: none; }
.step { display: flex; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); flex-wrap: wrap; }
.step__mark { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9375rem; background: var(--bg); color: var(--text-2); border: 1.5px solid var(--border-strong); }
.step__body { flex: 1 1 180px; min-width: 0; display: grid; line-height: 1.35; }
.step__title { font-weight: 700; }
.step__state { font-size: .9375rem; color: var(--text-3); font-weight: 600; }
.step--done { background: var(--surface-2); }
.step--done .step__mark { background: var(--success); border-color: var(--success); color: #FFF; }
.step--done .step__title { color: var(--text-2); font-weight: 600; }
.step--done .step__state { color: var(--success); }
.step--current { border-color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--text); }
.step--current .step__mark { background: var(--text); border-color: var(--text); color: #FFF; }
.step--current .step__state { color: var(--text); }

/* The current step spelled out ("Étape 2 sur 3 · Aperçu"), then a thin bar: no list of small labels. */
.stepper-line { display: grid; gap: var(--s2); }
.stepper-line__text { font-size: 1rem; color: var(--text-2); }
.stepper-line__text strong { color: var(--text); }
.stepper { list-style: none; display: flex; gap: 4px; }
.stepper__item { flex: 1; min-width: 0; height: 4px; background: var(--border); }
.stepper__item.is-done, .stepper__item.is-current { background: var(--text); }

/* 13. Tabs */
.tabs { display: flex; gap: var(--s1); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
/* The bar scrolls: the outline goes inside so as not to be cut. */
.tabs__link:focus-visible { outline-offset: -3px; }
/* Button tab (switched in place, without leaving the page): reset, weighing no more than a link. */
:where(button.tabs__link) { font: inherit; background: none; border: 0; cursor: pointer; }
.tabs__link {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 56px; padding: 0 var(--s5); margin-bottom: -1px; font-size: 1.0625rem;
  font-weight: 700; color: var(--text-2); text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.tabs__link:hover { color: var(--text); }
.tabs__link[aria-current="page"], .tabs__link[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
.tabs__count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--radius-pill); background: var(--bg); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: .875rem; font-weight: 800; }
.tabs__link[aria-current="page"] .tabs__count { background: var(--text); border-color: var(--text); color: #FFF; }
/* What has not gone out: the pill in red, on the active tab too. */
.tabs__count--danger, .tabs__link[aria-current="page"] .tabs__count--danger { background: var(--danger); border-color: var(--danger); color: var(--white); }

/* 14. Empty & loading */
.empty { display: grid; justify-items: center; text-align: center; gap: var(--s3); padding: var(--s8) var(--s5); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--text-2); }
.empty__title { font-weight: 800; font-size: 1.1875rem; }
.empty__text { color: var(--text-2); max-width: 46ch; }
.empty .actions { justify-content: center; margin-top: var(--s2); }

.progress { height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.progress__bar { height: 100%; width: var(--value, 0%); background: var(--text); border-radius: 4px; transition: width .6s var(--ease); }
.progress--busy .progress__bar { width: 40%; animation: busy 1.2s var(--ease) infinite; }
@keyframes busy { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.waiting { display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--radius-sm); background: var(--info-soft); border: 1px solid var(--info-line); }


/* 15. Photos */
.thumb { position: relative; flex: none; width: var(--size, 72px); aspect-ratio: var(--ratio, 4 / 3); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg); border: 1px solid var(--border); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb__fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper-dark); color: var(--text-2); }
.gallery { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
.gallery--hero { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 1fr; }
.gallery--hero .thumb:first-child { grid-row: span 2; grid-column: 1; }
.gallery .thumb { width: 100%; }
@media (max-width: 599px) { .gallery--hero { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; } .gallery--hero .thumb:first-child { grid-column: 1 / -1; grid-row: auto; } }

.photo-pick { position: relative; display: grid; gap: var(--s2); }
.photo-pick .checkbox { min-height: var(--tap); font-size: .9375rem; }
.dropzone {
  display: grid; justify-items: center; gap: var(--s2); text-align: center; cursor: pointer;
  padding: var(--s6) var(--s4); border: 2px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface-2);
}
.dropzone:hover, .dropzone.is-over { border-color: var(--info); background: var(--info-soft); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone:focus-within { outline: 3px solid var(--focus-color); outline-offset: 2px; }
.dropzone__title { font-weight: 800; }
.dropzone__files { font-size: .9375rem; color: var(--text-2); }

/* Portrait photos: the before / proposals comparison, then the formats to download. */
.portrait-compare { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: start; }
.portrait-cell { display: grid; gap: var(--s3); align-content: start; justify-items: start; }
.portrait-img { display: block; width: 100%; max-width: 280px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); }
.portrait-img--sm { max-width: 200px; }
.portrait-formats { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); align-items: start; }

/* 16. Posts */
.pub { padding: 0; gap: 0; } /* no overflow:hidden: the "other text" menu must be able to overflow */
.pub__head { display: flex; align-items: center; gap: var(--s3); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.pub__head-text { flex: 1 1 200px; min-width: 0; display: grid; line-height: 1.35; }
.pub__body { padding: var(--s5); display: grid; gap: var(--s4); }
.pub__foot { padding: var(--s4) var(--s5); border-top: 1px solid var(--border); background: var(--surface-2); display: grid; gap: var(--s3); border-radius: 0 0 var(--radius) var(--radius); }
.text-pre { white-space: pre-line; }
/* TikTok consent: visibility, checkboxes, notice, then the button. */
.consent { display: grid; gap: var(--s3); max-width: 480px; padding-bottom: var(--s3); border-bottom: 1px solid var(--border); }
.consent .text-sm { margin: 0; }

.post { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; max-width: 640px; }
.post__head { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); }
.post__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--border); font-weight: 800; font-size: .875rem; }
.post__author { font-weight: 700; line-height: 1.25; }
.post__author span { display: block; font-weight: 500; font-size: .875rem; color: var(--text-3); }
.post__media { display: grid; grid-template-columns: repeat(var(--n, 1), 1fr); gap: 2px; background: var(--border); }
.post__media .thumb { width: 100%; border-radius: 0; border: 0; --ratio: 4 / 3; }
.post__visual { background: var(--bg); border-bottom: 2px solid var(--border); }
.post__visual img { display: block; width: 100%; max-height: 560px; object-fit: contain; margin: 0 auto; }
.post__visual video { display: block; width: 100%; max-height: 640px; background: var(--ink); }
.post__video-note { display: flex; align-items: center; gap: var(--s2); margin: 0; padding: var(--s2) var(--s4); font-size: .875rem; color: var(--text-2); }

/* A post's page: one preview per network, with its date and what the agent can still do with it. */
.pub-page { display: grid; gap: var(--s6); }
.pub-page__network { display: grid; gap: var(--s3); }
.pub-page__head { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
/* The tabs already name the network: the header keeps only the date. */
.pub-page:has(> .net-tabs:not([hidden])) .pub-page__head > :is(.network__logo, h2) { display: none; }

/* Colour of the visuals: swatches */
.swatches { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.swatch { position: relative; display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s1) var(--s3) var(--s1) var(--s1); border: 1px solid var(--border); border-radius: var(--radius-pill); cursor: pointer; background: var(--surface); }
.swatch__input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.swatch__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--swatch); flex: none; }
.swatch__label { font-size: .9375rem; font-weight: 600; }
.swatch:has(.swatch__input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.swatch:has(.swatch__input:focus-visible) { outline: 3px solid var(--focus-color); outline-offset: 2px; }
.post__text { padding: var(--s3) var(--s4) var(--s4); white-space: pre-line; overflow-wrap: anywhere; font-size: 1.0625rem; }
.post__legal { padding-top: 0; font-size: .875rem; color: var(--text-3); }

.dropdown { position: relative; }
.dropdown__panel {
  margin-top: var(--s2); padding: var(--s3); display: grid; gap: var(--s2);
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 8px 24px rgba(16, 24, 40, .08);
}
@media (min-width: 600px) {
  .dropdown__panel { position: absolute; z-index: 20; left: 0; min-width: 300px; }
}
.dropdown__panel .btn { justify-content: flex-start; }

.history-item__error { color: var(--danger); font-weight: 600; font-size: .9375rem; }

/* 17. Windows & toasts */
dialog.modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
dialog.modal[open] { display: flex; align-items: center; justify-content: center; padding: var(--s4); }
dialog.modal::backdrop { background: rgba(16, 24, 40, .45); }
.modal__panel { width: 100%; max-width: 520px; background: var(--surface); border-radius: var(--radius); box-shadow: 0 20px 48px rgba(16, 24, 40, .2); padding: var(--s6); display: grid; gap: var(--s4); animation: pop-in .2s var(--ease); }
.modal__title { font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.modal__body { color: var(--text-2); display: grid; gap: var(--s3); }
.modal__foot { display: flex; gap: var(--s3); justify-content: flex-end; flex-wrap: wrap; }
dialog.modal.is-closing .modal__panel { animation: pop-out .15s var(--ease) forwards; }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes pop-out { to { opacity: 0; transform: translateY(6px) scale(.98); } }

.toasts { display: grid; gap: var(--s2); }
/* Without a message: out of the grid, so as not to add its gap at the top of the page (Blade's whitespace prevents :empty); always rendered, so screen readers announce the message that arrives in it. */
.toasts:not(:has(*)) { position: absolute; }
.content > .toasts, .flow__wrap > .toasts, .guest__wrap > .toasts { margin-bottom: var(--s5); }
.toast {
  display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap;
  padding: var(--s3) var(--s3) var(--s3) var(--s4); border-radius: var(--radius);
  background: var(--success-soft); color: var(--text); border: 2px solid var(--success); box-shadow: 4px 4px 0 var(--ink);
  font-weight: 600; animation: toast-in .2s var(--ease);
}
.toast > .icon { color: var(--success); flex: none; }
.toast--err { background: var(--danger-soft); border-color: var(--danger); }
.toast--err > .icon { color: var(--danger); }
.toast__msg { flex: 1 1 14rem; }
.toast__close { flex: none; }
.toast.is-leaving { animation: toast-out .15s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes toast-out { to { opacity: 0; } }
.copy-note { margin-top: var(--s2); font-weight: 600; color: var(--success); }
.share > .btn:not(.btn--block) { justify-self: start; }
.share__choices { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* 18. Guest pages (sign-in, first steps) */
.guest { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: var(--s7) var(--s4); }
.guest__wrap { width: 100%; max-width: 520px; display: grid; gap: var(--s5); }
.guest__wrap--wide { max-width: 640px; }
.guest__wrap--legal { max-width: 860px; }
/* The panel's card. */
.guest__card { background: var(--surface); border: 2px solid var(--text); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s7); display: grid; gap: var(--s6); }
.guest__foot { text-align: center; color: var(--text-2); }
.guest__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s4); color: var(--text-3); }
.guest__legal a { color: inherit; }

/* Legal pages: long, legible text, tables that scroll by themselves on phone. */
.legal { display: grid; gap: var(--s3); }
.legal h1 { margin-bottom: var(--s2); }
.legal h2 { margin-top: var(--s5); }
.legal ul { padding-left: 1.25rem; display: grid; gap: var(--s2); }
.legal-nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); padding-bottom: var(--s3); border-bottom: 1px solid var(--border); }
.legal-nav a { color: var(--text-2); }
.legal-nav a[aria-current="page"] { color: var(--text); font-weight: 700; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--border); }
.legal th { font-weight: 700; }
mark.todo { background: #FFF1B8; color: inherit; padding: 0 .2em; border-radius: 3px; }
.guest .brand { justify-self: center; }
@media (max-width: 599px) {
  .guest { place-items: start center; padding: var(--s4) var(--s3) var(--s7); }
  .guest__card { padding: var(--s5) var(--s4); gap: var(--s5); border-radius: var(--radius); }
}

/* 18b. Journeys: one thing at a time, no menu, with "Revenir à ..." */
.flow-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--s4); min-height: 64px; padding: var(--s2) var(--s6); background: var(--surface); border-bottom: 1px solid var(--border); }
.flow-bar__close { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3) 0 var(--s2); margin-left: calc(var(--s2) * -1); border-radius: var(--radius-sm); color: var(--text-2); text-decoration: none; font-weight: 600; }
.flow-bar__close:hover { background: var(--bg); color: var(--text); }
.flow-bar__close strong { color: var(--text); }
.flow-bar__title { margin-left: auto; color: var(--text-3); font-weight: 600; font-size: .9375rem; text-align: right; overflow-wrap: anywhere; }
.flow { padding: var(--s7) var(--s6) var(--s9); }
.flow__wrap { width: 100%; max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-content: start; }
.flow:has(.flow__wrap--wide) { padding-top: var(--s5); }
.flow__wrap--wide { max-width: var(--content); gap: var(--s5); }
@media (max-width: 599px) {
  .flow-bar { padding: var(--s2) var(--s4); }
  .flow-bar__title { display: none; }
  .flow { padding: var(--s5) var(--s4) var(--s8); }
}

/* 19. Motion */
.content, .guest__wrap { animation: page-in .25s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } }
/* In a journey, each step arrives from the right: we move forward. */
.flow__wrap { animation: step-in .3s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } }
/* Back from a journey: what just changed lights up for a moment. */
.arrived { animation: arrived 1.6s var(--ease); }
@keyframes arrived { 0%, 40% { box-shadow: 0 0 0 4px var(--primary-line); } 100% { box-shadow: 0 0 0 4px transparent; } }
.flash-in { animation: flash-in .5s var(--ease); }
@keyframes flash-in { from { background: var(--flash); } }
/* Reduced motion: decorative entrances, appearances and flashes stop; what says "in progress" stays, fixed. The other "prefers-reduced-motion" blocks follow their components (moments, trial, notes). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .content, .guest__wrap, .flow__wrap, .arrived, .flash-in, .modal__panel, dialog.modal.is-closing .modal__panel,
  .toast, .toast.is-leaving, .moment .pulse, .run__gallery, .run__thumb, .run__more,
  .progress__bar { transition: none; }
  .progress--busy .progress__bar { animation: none; width: 100%; opacity: .45; }
  .run__dots li { transition: none; }
}

/* High contrast (Windows): colours are imposed; outlines and button states stay legible. */
@media (forced-colors: active) {
  :focus-visible, .choice__input:focus-visible + .choice__body { outline-color: Highlight; }
  .field__control:focus { outline: 2px solid Highlight; }
  .btn, .choice__body, .card, .state, .tabs__link[aria-current="page"], .nav__link[aria-current="page"] { border-color: CanvasText; }
  .nav__link[aria-current="page"], .tabs__link[aria-current="page"] { text-decoration: underline; }
  .btn.is-loading::after { border-color: CanvasText; border-right-color: transparent; }
}

/* 20. Utilities */
.stack { display: grid; gap: var(--s4); align-content: start; min-width: 0; }
.stack-xs { display: grid; gap: var(--s1); align-content: start; }
.stack-sm { display: grid; gap: var(--s2); align-content: start; }
.stack-lg { display: grid; gap: var(--s6); align-content: start; }
.row { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.row-between { justify-content: space-between; }
.divider-or { display: flex; align-items: center; gap: var(--s3); color: var(--text-3); font-weight: 700; font-size: .9375rem; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.only-mobile { display: none; }
@media (max-width: 899px) { .only-desktop { display: none !important; } .only-mobile { display: revert; } }
.numbered { display: grid; gap: var(--s2); padding-left: 1.4rem; }
.numbered li::marker { font-weight: 800; }

.note--tip .icon { color: var(--primary); }

/* 21. Dashboard */
/* A single strong voice per screen: the message of the moment, as a poster heading (guidelines: "TOUT EST À JOUR."). The rest is dense and without repetition: the essentials must fit without scrolling. */
.state {
  display: grid; gap: var(--s2); padding: 28px 36px;
  background: var(--surface); border: 2px solid var(--text); border-radius: var(--radius);
}
.state__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); flex-wrap: wrap; }
.state-block { display: grid; gap: var(--s3); }
.dash__hello { color: var(--text-3); font-size: .9375rem; font-weight: 600; }
.state__kicker { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 700; font-size: 1rem; }
.state--warn .state__kicker { color: var(--primary-hover); }
.state--error .state__kicker { color: var(--danger); }
.state--ok .state__kicker { color: var(--success); }
.state__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: 1.04; letter-spacing: .005em;
  max-width: 26ch; text-wrap: balance; overflow-wrap: anywhere;
}
/* An operation message is written, not displayed: no Anton capitals for a long sentence. */
.state__title--reading {
  font-family: var(--font); font-weight: 800; text-transform: none;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.18; letter-spacing: 0; max-width: 40ch;
}
.state__text { font-size: 1.125rem; color: var(--text-2); max-width: 64ch; }
.state__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); flex-wrap: wrap; margin-top: var(--s3); }
.state__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* The first three steps, in place of the label, as long as nothing has gone out. */
.state__steps { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-size: .9375rem; font-weight: 600; color: var(--text-3); }
.state__steps li { display: inline-flex; align-items: center; gap: var(--s2); }
.state__steps .is-done { color: var(--text-2); }
.state__steps .is-now { color: var(--text); font-weight: 800; }
.state__step-dot {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid currentColor; font-size: .8125rem; font-weight: 800;
}
.state__steps .is-done .state__step-dot { background: var(--success); border-color: var(--success); color: #FFF; }
.state__steps .is-now .state__step-dot { background: var(--text); border-color: var(--text); color: #FFF; }

/* Section headings of the home page. */
.dash__title { font-size: 1.25rem; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.dash__ellipsis { overflow-wrap: anywhere; }

/* Tight lists: one line per item. */
.list--dense .list-item { gap: var(--s4); padding: 12px 18px; }
.list--dense .list-item__title { font-size: 1.0625rem; }
.list--dense .list-item__meta { font-size: .9375rem; }

/* Results and contacts in the same card. */
.figures { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); color: var(--text-2); font-size: .9375rem; font-weight: 600; }
.figures li { display: inline-flex; align-items: baseline; gap: 6px; }
.figures strong { color: var(--text); font-size: 1.5rem; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.contacts { display: grid; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--border); }
.contacts h3 { font-size: 1rem; }
.contact { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.contact + .contact { padding-top: var(--s2); border-top: 1px solid var(--border); }
.contact__body { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.contact__name { font-weight: 800; }
.contact__meta { color: var(--text-2); font-size: .9375rem; overflow-wrap: anywhere; }
.contact__actions { flex: 0 1 auto; max-width: 100%; display: flex; gap: var(--s2); flex-wrap: wrap; }
.btn--square { width: 44px; padding: 0; }

/* The suggestion: one line, button on the right. */
.tip { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.tip__icon { flex: none; color: var(--text-2); }
.tip__body { flex: 1 1 220px; min-width: 0; line-height: 1.35; }
.tip__kicker { color: var(--text-3); font-size: .875rem; font-weight: 700; }
.tip__title { font-size: 1.0625rem; font-weight: 700; }
.tip .btn, .tip form { flex: none; }
.tip form .icon-btn { margin-inline-start: calc(var(--s2) * -1); }
@media (min-width: 600px) { .tip { flex-wrap: nowrap; } }

@media (max-width: 899px) {
  .state { padding: var(--s5) var(--s4); }
  .state__steps .state__step-label { display: none; }
  .state__steps .is-now .state__step-label { display: inline; }
  .state__actions, .state__actions form, .state__actions .btn { width: 100%; }
  .state__foot { margin-top: var(--s2); }
}
@media (max-width: 599px) {
  .list--dense .list-item { flex-wrap: nowrap; padding: 10px 14px; }
  .list--dense .list-item > .thumb { width: 56px; }
}

/* 21 bis. Results */
/* The page that shows the value: big figures, their evolution in words, where people come from, per property. */
a.segmented__item { text-decoration: none; }
.figures-board { gap: var(--s4); }
.figures-board__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s6); }
@media (min-width: 1200px) { .figures-board__grid { grid-template-columns: 1.3fr 1fr 1fr 1.25fr; } }
.figure { display: grid; gap: 2px; align-content: start; min-width: 0; }
.figure + .figure { padding-left: 0; }
@media (min-width: 1200px) { .figure + .figure { padding-left: var(--s6); border-left: 1px solid var(--border); } }
.figure__label { display: flex; align-items: center; gap: var(--s2); color: var(--text-2); font-weight: 700; font-size: .9375rem; }
.figure__value { font-size: 2.75rem; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.figure--main .figure__value { font-family: var(--font-display); font-weight: 400; font-size: 4rem; letter-spacing: 0; line-height: 1; }
.figures-board__insight { display: flex; align-items: flex-start; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--border); font-weight: 600; }
.figures-board__insight .icon, .results__insight .icon { flex: none; margin-top: 3px; color: var(--primary); }

/* Change against the previous period: the word carries the information, the colour accompanies it. */
.delta { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: .875rem; font-weight: 700; color: var(--text-3); }
.delta__than { font-weight: 500; }
.delta--up { color: var(--success); }
.delta--down { color: var(--text-2); }
.delta__arrow { transform: rotate(-45deg); }
.delta--down .delta__arrow { transform: rotate(45deg); }

/* Chart: bars for visits, black dots for contacts. */
.chart { display: grid; gap: var(--s2); }
.chart__plot { display: flex; align-items: flex-end; gap: 3px; height: 180px; padding-top: 26px; border-bottom: 1px solid var(--border-strong); }
.chart__col { position: relative; flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.chart__bar { width: 100%; max-width: 40px; height: var(--h); background: #C9CED6; border-radius: 3px 3px 0 0; }
.chart__col:hover .chart__bar { background: var(--text-2); }
.chart__contacts {
  min-width: 20px; height: 20px; padding: 0 5px; margin-bottom: 3px; border-radius: var(--radius-pill);
  display: grid; place-items: center; background: var(--text); color: #FFF; font-size: .75rem; font-weight: 800; line-height: 1;
}
.chart__axis { display: flex; gap: 3px; color: var(--text-3); font-size: .875rem; }
.chart__axis span { flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; overflow: visible; }
.chart--compact .chart__plot { height: 64px; padding-top: 22px; gap: 2px; }
.chart--compact .chart__contacts { min-width: 16px; height: 16px; font-size: .75rem; padding: 0 3px; }
.chart-legend { display: flex; gap: var(--s4); flex-wrap: wrap; color: var(--text-2); font-size: .875rem; font-weight: 600; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend__bar { width: 12px; height: 12px; border-radius: 2px; background: #C9CED6; }
.chart-legend__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--text); }

/* Two columns: sources and properties, then best posts and contacts. */
.results-grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1200px) { .results-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.results-grid .section { gap: var(--s3); }
.source__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.source__value { flex: none; font-weight: 800; font-variant-numeric: tabular-nums; }
.source__bar { display: block; height: 6px; margin: 4px 0 2px; border-radius: 3px; background: var(--bg); overflow: hidden; }
.source__bar span { display: block; height: 100%; background: var(--text); border-radius: 3px; }
.source__other { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--bg); color: var(--text-2); }
/* Results: who follows the agent (age, women and men, towns), from their networks. */
.audience__grid { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .audience__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.audience__block { display: grid; gap: var(--space-3); align-content: start; }
.audience__bars, .audience__cities { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.audience__bar { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 3.5em; align-items: center; gap: var(--space-3); }
.audience__track { display: block; height: 10px; border-radius: 5px; background: var(--bg); overflow: hidden; }
.audience__track span { display: block; height: 100%; width: var(--share, 0%); background: var(--text); border-radius: 5px; }
.audience__value { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.audience__split { font-size: 1.125rem; }
.audience__duo { display: block; height: 14px; border-radius: 7px; background: var(--paper-dark); overflow: hidden; }
.audience__duo span { display: block; height: 100%; width: var(--share, 50%); background: var(--text); }
.audience__cities li { display: flex; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-2); border-bottom: 1px solid var(--border); }
.results-empty { gap: var(--s3); max-width: 760px; }
.results-note { max-width: 80ch; }
.contacts--card { padding-top: var(--s4); border-top: 1px solid var(--border); gap: var(--s2); }

/* Home: the results section. */
.results__sentence .delta { font-size: .875rem; vertical-align: 1px; }
.results__big { font-size: 1.1875rem; }
.chart--compact .chart__plot { padding-top: 4px; height: 48px; }
.results__insight { display: flex; align-items: flex-start; gap: var(--s2); font-size: .9375rem; font-weight: 600; }

@media (max-width: 599px) {
  .figure__value { font-size: 2.25rem; }
  .figure--main .figure__value { font-size: 3rem; }
  .figure--main { grid-column: 1 / -1; }
  .chart__plot { height: 140px; gap: 2px; }
  .chart__contacts { min-width: 16px; height: 16px; font-size: .6875rem; padding: 0 3px; }
  .page-header__actions .segmented { width: 100%; }
  .figures-board__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .figure__label { font-size: .8125rem; align-items: flex-start; }
  .figure__value { font-size: 1.875rem; }
  /* Thirty bars on a phone: a dot is enough, the number stays in the table. */
  .chart--dense .chart__contacts { min-width: 8px; width: 8px; height: 8px; padding: 0; font-size: 0; }
}

/* 21 ter. Networks */
.id-card__photo {
  flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: var(--text); color: #FFF; font-weight: 800; font-size: 1.5rem; text-decoration: none; border: 2px solid var(--text);
}
.id-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.ai-ask { border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); padding: var(--s2) var(--s3); }
.ai-ask__body { display: grid; gap: var(--s3); padding: var(--s2) 0 var(--s1); }
.ai-ask--inline { border: 0; padding: 0; }
.ai-ask--inline[open] { flex-basis: 100%; }

/* Networks: one network per line, where it stands, a button to move on. */
.net-list .network { gap: var(--s3) var(--s4); }
.net-progress { display: block; width: 100%; max-width: 220px; height: 6px; margin-top: 6px; border-radius: var(--radius-pill); background: var(--bg); overflow: hidden; }
.net-progress span { display: block; height: 100%; background: var(--primary); border-radius: inherit; }
.id-card-photo { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.id-card-photo .stack-xs { flex: 1 1 200px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--text-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: var(--tap); cursor: pointer; }
.link-btn:hover { color: var(--text); }

/* A network's journey: one screen per step. */
.setup-head { display: flex; align-items: center; gap: var(--s4); }
.setup-head .title-1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.setup-card { display: grid; gap: var(--s5); }
.setup-foot { display: flex; align-items: center; gap: var(--s3) var(--s5); flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: var(--s5); }
.setup-foot__undo { margin-left: auto; }
.setup-recap { list-style: none; display: grid; gap: var(--s2); }
.setup-recap li { display: flex; align-items: center; gap: var(--s3); color: var(--text-2); }
.setup-recap li.is-done { color: var(--success); font-weight: 700; }
.setup-recap .link { margin-left: auto; }
@media (max-width: 599px) { .setup-foot > form, .setup-foot > .btn, .setup-foot form .btn { width: 100%; } }

/* What happened to a property: one line per event, the date first. */
/* A property's life: four events, two per line. */
.evolution { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.evolution .btn { width: 100%; padding-inline: 10px; }

/* "+ Créer": a menu of two choices (desktop), a page of two choices (phone). */
.create-menu .dropdown__panel { left: 0; right: 0; min-width: 0; padding: var(--s2); }
.create-menu__item { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3); border-radius: var(--radius-sm); text-decoration: none; color: var(--text); }
.create-menu__item:hover { background: var(--bg); }
.create-menu__item .icon { margin-top: 2px; color: var(--text-2); }
.create-menu__item span { display: grid; line-height: 1.3; }
.create-menu__item small { color: var(--text-3); font-size: .875rem; }
.create-choices { display: grid; gap: var(--s4); }
.create-choice {
  display: flex; align-items: center; gap: var(--s4); padding: var(--s5); text-decoration: none; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
}
.create-choice:hover { border-color: var(--text); }
.create-choice__icon { flex: none; width: 56px; height: 56px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.create-choice__body { flex: 1; display: grid; gap: 2px; min-width: 0; }
.create-choice__title { font-weight: 800; font-size: 1.1875rem; }
.create-choice__text { color: var(--text-2); font-size: 1rem; }

/* Upcoming: grouped by day (group heading), one line per post, each network with its time and state. */
.upcoming__where { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--s3); color: var(--text-2); font-size: .9375rem; }
.upcoming__logos { display: flex; gap: 4px; }
.upcoming { gap: var(--s2); }
.upcoming__day { font-size: 1rem; font-weight: 800; color: var(--text-2); }
.upcoming__item { align-items: flex-start; }
.upcoming__item .list-item__body { display: grid; gap: var(--s1); }
.upcoming__thumb { position: relative; flex: none; display: grid; }
.upcoming__play { position: absolute; inset: auto auto 6px 6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--on-ink); }
.upcoming__icon { flex: none; width: 64px; aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--bg); color: var(--text-2); }
.upcoming__what { font-size: .9375rem; color: var(--text-2); }
.upcoming__networks { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: 2px; }
.upcoming__network { display: inline-flex; align-items: center; gap: var(--s2); font-size: .9375rem; }
.upcoming__network strong { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; }
.upcoming__network--sent strong { color: var(--ok); }
.more { border-top: 1px solid var(--border); padding-top: var(--s3); }
.image-step__was { font-size: .9375rem; color: var(--text-2); background: var(--bg); border-radius: var(--radius-sm); padding: var(--s2) var(--s3); }
.image-step__was span { font-weight: 700; }
.bio-text { font-size: 1.0625rem; line-height: 1.5; }
.bio-meta { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; font-size: .875rem; color: var(--text-3); }
.bio-meta__save { padding: 0; border: 0; background: none; color: var(--text-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: var(--tap); }
.bio-meta__save:hover { color: var(--text); }
.photo-compare { display: flex; gap: var(--s4); }
.photo-compare:empty { display: none; }
.photo-compare figure { display: grid; gap: 4px; justify-items: center; font-size: .875rem; color: var(--text-2); }
.photo-compare img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.setup-banner { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); }
/* The Bien Connu helper (extension): "Régler mes réseaux en une fois", and "Le faire pour moi" on a step. */
.assistant-card { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
.assistant-card .btn { justify-self: start; }
.aide-offer { display: grid; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.aide-offer .btn { justify-self: start; }
.assistant-inline { display: grid; gap: var(--s2); padding-bottom: var(--s4); margin-bottom: var(--s4); border-bottom: 1px solid var(--border); }
.assistant-inline .btn { justify-self: start; }
.assistant-offer { display: flex; gap: var(--s2); align-items: flex-start; padding-bottom: var(--s4); margin-bottom: var(--s4); border-bottom: 1px solid var(--border); }
.aide-note { margin-top: var(--s2); font-weight: 600; color: var(--success); }
.aide-note--error { color: var(--danger); }
span.aide-note { display: block; }

/* Line with a pictogram in a list: the text wraps, not the icon. */
.list-item__meta.row { flex-wrap: nowrap; align-items: flex-start; gap: var(--s2); }
.list-item__meta.row .icon { margin-top: 3px; }
@media (max-width: 599px) { .list-item > .thumb { width: 64px; } }
.guest__wrap--form { max-width: 860px; }

/* 22. First steps */
/* Tone choice: three buttons side by side, the current one is checked. */
.segmented { display: flex; flex-wrap: wrap; gap: var(--s2); }
.segmented__item {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 10px 18px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface);
  font-weight: 700; font-size: 1.0625rem; color: var(--text);
}
.segmented__item:hover { border-color: var(--text-2); background: var(--surface-2); }
.segmented__item.is-on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-hover); box-shadow: inset 0 0 0 1px var(--primary); }
.segmented__item.is-loading { color: transparent; }
.fieldset-plain { border: 0; margin: 0; padding: 0; min-width: 0; }
.fieldset-plain__legend { padding: 0; margin-bottom: var(--s2); }
.segmented__item--radio { cursor: pointer; font-weight: 600; }
.segmented__item--radio:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-hover); box-shadow: inset 0 0 0 1px var(--primary); }
.segmented__item--radio:has(input:checked) .text-3 { color: inherit; }
.segmented__item--radio:has(input:focus-visible) { outline: 3px solid var(--primary); outline-offset: 2px; }
.post--wide { max-width: none; }

/* Tabs on phone: all visible, never hidden off screen, tight to their text so the content can start in the first screen. */
@media (max-width: 599px) {
  .tabs { flex-wrap: wrap; gap: var(--s2); border-bottom: 0; overflow: visible; }
  .tabs__link {
    flex: 1 1 auto; justify-content: center; text-align: center; margin: 0; padding: 0 var(--s2); white-space: nowrap;
    min-height: var(--tap); border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: .9375rem;
  }
  .tabs__link[aria-current="page"], .tabs__link[aria-selected="true"] { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); }
  /* Four tabs: two per line, rather than three then a single one stretched over the full width. */
  .tabs:has(> .tabs__link:nth-child(4):last-child) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Plans */
.pricing { gap: var(--s5); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--s4); }
.plan {
  display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius); background: var(--surface);
}
.plan--featured { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.plan__price { font-size: 1.0625rem; color: var(--text-2); }
.plan__price strong { font-size: 2rem; color: var(--text); letter-spacing: -.02em; }
.plan__price .price--yearly { display: none; }
.plan__price s { font-size: .9375rem; margin-left: 4px; }
.pricing:has(input[name="interval"][value="yearly"]:checked) .price--monthly { display: none; }
.pricing:has(input[name="interval"][value="yearly"]:checked) .price--yearly { display: inline; }
.plan__features { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); flex: 1; }
.plan__features li { display: flex; gap: var(--s2); align-items: flex-start; }
.plan__features .icon { color: var(--success); flex: none; margin-top: 3px; }
.plan > .badge { align-self: flex-start; }

/* Copy a link */
.copy { display: flex; gap: var(--s2); }
.copy .field__control { flex: 1; min-width: 0; }
@media (max-width: 599px) { .copy { flex-direction: column; } }

/* Network reserved for the Complete plan */
.network--locked .network__logo { opacity: .55; }

/* Free trial (menu) */
.trial {
  margin-top: auto; display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s3);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface);
  color: var(--text); text-decoration: none; font-size: .9375rem; line-height: 1.4;
}
.trial .icon { flex: none; margin-top: 1px; color: var(--text-2); }
.trial:hover { border-color: var(--primary); }
.trial__cta { display: block; color: var(--primary-hover); font-weight: 700; margin-top: 2px; }
.trial--ended { border-color: var(--warning-line); background: var(--warning-soft); }
.trial--ended .icon { color: var(--warning); }
.trial + .sidebar__foot { margin-top: var(--s3); }
/* On phone, the side bar disappears: the trial marker moves up to the top of the content. */
.trial--mobile { display: none; }
@media (max-width: 899px) {
  .trial--mobile { display: flex; margin-top: 0; }
}

/* A property's public page (in the agent's image) */
.pp { background: var(--bg); }
.pp__wrap { max-width: 1120px; margin: 0 auto; padding: var(--s5) 16px var(--s8); display: grid; gap: var(--s5); }
.pp__wrap--narrow { max-width: 680px; }
.pp__agent-top { display: flex; align-items: center; gap: var(--s3); font-size: 1.0625rem; }
.pp__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: #FFF; font-weight: 800; }
.pp__grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .pp__grid { grid-template-columns: minmax(0, 1fr) 400px; } .pp__contact { position: sticky; top: var(--s5); } }
.pp__price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.pp__price-note { font-size: .875rem; font-weight: 500; color: var(--text-2); }
.pp__legal { display: grid; gap: var(--s2); justify-items: start; margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--border); }
.pp__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Results and contacts */
.results { gap: var(--s4); }
.results__sentence { font-size: 1.125rem; line-height: 1.5; }
.results__numbers { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); color: var(--text-2); }
.results__numbers span { display: inline-flex; align-items: center; gap: 6px; }
.results__numbers strong { color: var(--text); font-size: 1.25rem; }
.lead-item { display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--border); }
.results > .lead-item:first-child { border-top: 0; padding-top: 0; }
.lead-item__head { display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline; flex-wrap: wrap; }
.lead-item__name { font-weight: 800; font-size: 1.0625rem; }

/* Project 1 "Trust" */
/* "Voir la publication" link in the histories. */
.pub-link { justify-self: start; gap: 6px; }
/* "Une question ? Écrivez-nous": discreet, at the foot of the menu. */
.support-link { display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s1) var(--s2); color: var(--text-3); font-size: .875rem; font-weight: 600; text-decoration: none; }
.support-link:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.support-link .icon { flex: none; }
.support-link[aria-current="page"] { color: var(--text); }
.topbar__settings .tabbar__icon { flex: none; display: inline-flex; }
/* The badge sits over the icon's right edge: room before the word, so it never covers its first letter. */
.topbar__settings:has(.tabbar__badge) { gap: 14px; }

/* Support: the founder's face above the conversation. */
.page-header.support-head { display: flex; align-items: center; gap: var(--s4); }
.support-head__photo { flex: none; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
/* The answers carry the face of the person who wrote them, as in a messaging app. */
.chat__bubble { display: grid; gap: var(--space-2); min-width: 0; }
.chat__meta { margin: 0; color: var(--text-3); }
.chat__turn.chat__turn--face { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: end; gap: var(--space-2); padding: 0; background: none; border: 0; }
.chat__turn--face .chat__bubble { padding: var(--space-3) var(--space-4); border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.chat__face { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.chat__shots { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chat__shots a { display: block; }
.chat__shots img { display: block; width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.support-composer__tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.support-composer__bar { display: flex; align-items: flex-end; gap: var(--space-3); }
.support-composer__bar > .field { flex: 1; min-width: 0; }
.support-attach {
  position: relative; display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap); padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--text); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); font-weight: 700; cursor: pointer;
}
.support-attach:hover, .support-attach.is-over { background: var(--bg); }
.support-attach:focus-within { outline: 3px solid var(--focus-color); outline-offset: 2px; }
.support-attach input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.support-attach__files:empty { display: none; }
@media (max-width: 899px) {
  /* Edge to edge, like a messaging app: the field gets the whole width. */
  .support-thread-card { padding: var(--s4); margin-inline: calc(-1 * var(--s4)); border-inline: 0; border-radius: 0; }
  /* The field and the send button stay at the bottom, above the tab bar, whatever the length of the conversation:
     one compact line, the label read by screen readers only, the counter hidden (the limit is far). */
  .support-composer__bar {
    position: sticky; z-index: 30; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
    margin-inline: calc(-1 * var(--s4)); padding: var(--s2) var(--s4); gap: var(--s2);
    background: var(--surface); border-top: 1px solid var(--border);
  }
  .support-composer__bar .field__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .support-composer__bar .counter, .support-composer__bar .field__hint { display: none; }
  .support-composer__bar textarea { min-height: 48px; max-height: 140px; }
  .support-composer__bar .btn { flex: none; padding-inline: var(--s3); }
}
.support-threads { list-style: none; margin: 0; padding: 0; display: grid; }
.support-threads > li + li { border-top: 1px solid var(--border); }
.support-thread { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s2); color: inherit; text-decoration: none; }
.support-thread:hover { background: var(--bg); }
.support-thread__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--paper-2); font-weight: 800; }
.support-thread__avatar img { width: 100%; height: 100%; object-fit: cover; }
.support-thread__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.support-thread__when { flex: none; }
/* Cancellation rule and reassurance: one line, no noise. */
.cancel-rule { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); padding-top: var(--s3); border-top: 1px solid var(--border); }
.cancel-rule > p { flex: 1 1 260px; }
.reassurance { font-size: .9375rem; }
.reassurance .icon { flex: none; color: var(--text-2); }
.guest__card > .text-sm { margin-top: var(--s2); }

/* 23. In the brand colours */
/* One poster heading per screen: the page title. */
.page-header .title-1, .guest .title-1, .flow .title-1 {
  font-family: var(--display); font-weight: 400; letter-spacing: .005em;
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.02; text-wrap: balance; overflow-wrap: anywhere;
}
.setup-head .title-1 { font-size: clamp(1.75rem, 3vw, 2.25rem); }

/* Navigation bars on the lightened paper. */
.sidebar, .topbar, .tabbar, .flow-bar { background: var(--paper-3); }
.guest .lead { color: var(--text-2); }

/* The agents' pages (properties, estimate) keep their neutral style: neither the brand's orange nor its paper. */
.pp {
  --bg: #F4F5F7; --surface-2: #F9FAFB; --border: #DCDFE4; --border-strong: #8B929C;
  --text: #16191D; --text-2: #444C57; --text-3: #5F6772;
  --radius-sm: 8px; --radius: 12px; --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --info: #1E4E8C; --info-soft: #EEF4FC; --info-line: #A9C4EA;
  --focus-color: #1E4E8C;
}
.pp .btn--primary { --b-bg: var(--primary); --b-fg: #FFF; --b-bd: var(--primary); border-width: 1.5px; }
.pp .btn--primary:hover { --b-bg: var(--primary-hover); --b-bd: var(--primary-hover); }
.pp .field__control:focus { border-color: var(--info); box-shadow: 0 0 0 3px rgba(30, 78, 140, .2); }
.pp .password__toggle { color: var(--info); text-decoration: none; }

/* 24. The big moments (thank you, let's go, sold) */
/* One screen, one emotion, one action. The poster heading carries the moment. */
.moment { display: grid; gap: var(--s6); max-width: 720px; }
.moment__kicker { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 800; font-size: .9375rem; color: var(--success); }
.moment__kicker--wait { color: var(--text-2); }
.moment__title {
  font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: .005em;
  font-size: clamp(3.5rem, 2rem + 6vw, 6.5rem);
}
.moment__title .accent { color: var(--brand); }
.moment__lead { font-size: 1.25rem; color: var(--text-2); max-width: 46ch; }
.moment__facts { display: grid; border: 2px solid var(--text); border-radius: var(--radius); background: var(--surface); }
.moment__facts > div { display: flex; justify-content: space-between; gap: var(--s4); padding: 14px 20px; flex-wrap: wrap; }
.moment__facts > div + div { border-top: 1px solid var(--border); }
.moment__facts dt { color: var(--text-2); font-weight: 600; }
.moment__facts dd { font-weight: 800; text-align: right; }
.moment__next { display: grid; gap: var(--s3); }
.moment__next li { display: flex; gap: var(--s3); align-items: flex-start; font-weight: 600; }
.moment__next .icon { flex: none; margin-top: 3px; color: var(--success); }
.moment__num { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--text); font-size: .875rem; font-weight: 800; }
.moment__share { display: grid; gap: var(--s3); padding: var(--s5); border: 1.5px dashed var(--border-strong); border-radius: var(--radius); }
.moment__share-title { font-weight: 800; display: flex; align-items: center; gap: var(--s2); }
.moment .pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); animation: moment-pulse 1.2s var(--ease) infinite; }
/* Waiting screen for the first post: the megaphone shouts in a loop, each network turns "Prête". */
.preparing__mega .megaphone__body { animation: shout-kick 1.9s var(--ease) infinite; }
.preparing__mega .megaphone__wave { animation: shout-wave 1.9s var(--ease) infinite both; }
.preparing__mega .megaphone__wave--2 { animation-delay: .12s; }
.preparing__mega .megaphone__wave--3 { animation-delay: .24s; }
.preparing__progress { height: 10px; border-radius: var(--radius-pill); }
.preparing__progress .progress__bar { border-radius: inherit; background: var(--brand); }
.preparing__list { display: grid; border: 2px solid var(--text); border-radius: var(--radius); background: var(--surface); }
.preparing__item { display: flex; align-items: center; gap: var(--s3); padding: 12px 20px; }
.preparing__item + .preparing__item { border-top: 1px solid var(--border); }
.preparing__name { flex: 1; font-weight: 700; }
.preparing__status { font-weight: 600; color: var(--text-2); }
.preparing__item.is-writing .preparing__status { color: var(--text); }
.preparing__item.is-ready .preparing__status { color: var(--success); font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .preparing__mega img { animation: none; } }
@keyframes moment-pulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }

/* Agents' pages: contact directly (call, SMS, WhatsApp, e-mail). */
.pp__reach { display: grid; gap: var(--s3); }
.pp__reach-row { display: flex; gap: var(--s2); }
.pp__reach-row .btn { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 4px; min-height: 64px; padding: 8px 4px; font-size: .875rem; }
.pp__reach > .btn span { white-space: nowrap; }

/* Entry pages (trial, sign-up, sign-in): a property and the megaphone sign. */
.guest__aside { display: none; }
@media (min-width: 1200px) {
  .guest--aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); place-items: stretch; padding: 0; }
  .guest--aside .guest__wrap { align-self: center; justify-self: center; padding: var(--s7) var(--s6); }
  .guest__aside {
    display: block; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
    border-right: 3px solid var(--text); background: var(--text);
  }
  .guest__photo { width: 100%; height: 100%; object-fit: cover; }
  .guest__sign {
    position: absolute; left: 9%; bottom: 14%; display: grid; place-items: center;
    width: clamp(150px, 15vw, 220px); aspect-ratio: 1; padding: 17px;
    background: var(--bg); border: 4px solid var(--text); border-radius: 50%;
  }
  .guest__sign img { width: 100%; height: auto; }
  .guest__line {
    position: absolute; left: 0; right: 0; top: 0; padding: var(--s4) var(--s6); background: var(--text); color: #F4F1EC;
    font-family: var(--display); font-size: 1.75rem; line-height: 1.1;
  }
}

/* 25. Network previews */
/* A post as it appears in the network's feed: the apps' proportions, fonts and colours. */
.np { width: 100%; max-width: 470px; margin-inline: auto; overflow: hidden; border: 1px solid #DBDBDB; border-radius: 10px; background: #FFF; color: #0F1419; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.4; }
.np .glyph { width: 24px; height: 24px; flex: none; }
.np__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.np__avatar { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #E4E6EB; color: #050505; font-size: 14px; font-weight: 700; }
/* The agent's profile photo replaces their initials in the same circle. */
.pp__avatar.has-photo, .post__avatar.has-photo, .np__avatar.has-photo { overflow: hidden; padding: 0; }
.pp__avatar img, .post__avatar img, .np__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.np__avatar--ring { width: 32px; height: 32px; margin: 2px; font-size: 12px; box-shadow: 0 0 0 2px #FFF, 0 0 0 4px #D6249F; }
.np__who { display: grid; min-width: 0; line-height: 1.25; }
.np__who b { font-weight: 600; }
.np--instagram .np__who b { font-size: 14px; }
.np__who small { display: flex; align-items: center; gap: 4px; color: #65676B; font-size: 12px; }
.np__who small .glyph { width: 12px; height: 12px; }
.np .np__more { width: 20px; height: 20px; margin-left: auto; color: #65676B; }
.np__carousel { position: relative; background: #000; }
.np__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.np__track::-webkit-scrollbar { display: none; }
.np__track > * { flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
.np__slide { display: block; width: 100%; object-fit: cover; }
.np__count { position: absolute; top: 12px; right: 12px; padding: 2px 9px; border-radius: 999px; background: rgba(18, 18, 18, .7); color: #FFF; font-size: 12px; font-weight: 600; }
.np__arrow { position: absolute; top: 50%; width: 30px; height: 30px; display: grid; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; background: rgba(255, 255, 255, .88); color: #262626; cursor: pointer; }
.np__arrow[hidden] { display: none; }
.np__arrow--prev { left: 10px; }
.np__arrow--next { right: 10px; }
.np__actions { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 12px 6px; }
.np__dots { position: absolute; left: 50%; display: flex; gap: 4px; transform: translateX(-50%); }
.np__dots i { width: 6px; height: 6px; border-radius: 50%; background: #C7C7C7; }
.np__dots i.is-on { background: #0095F6; }
.np__save { margin-left: auto; }
.np__text { padding: 0 12px; white-space: pre-line; overflow-wrap: anywhere; }
.np--instagram .np__text { font-size: 14px; }
.np__pending { color: var(--muted); font-style: italic; }
.np--facebook .np__text, .np--linkedin .np__text { padding-bottom: 2px; }
.np__time { padding: 6px 12px 12px; color: #737373; font-size: 11px; text-transform: uppercase; letter-spacing: .02em; }
.np__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 10px; }
.np__grid > :first-child { grid-column: 1 / -1; }
.np__grid > :first-child:nth-last-child(2) { grid-column: auto; }
.np__tile { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.np__tile--more { position: relative; overflow: hidden; }
.np__tile--more img { display: block; width: 100%; height: 100%; object-fit: cover; }
.np__tile--more b { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; font-size: 28px; font-weight: 600; }
.np__bar { display: flex; justify-content: space-around; gap: 4px; margin: 0 12px; padding: 8px 0; border-top: 1px solid #CED0D4; color: #65676B; font-size: 14px; font-weight: 600; }
.np__grid + .np__bar { margin-top: 8px; }
.np__bar span { display: inline-flex; align-items: center; gap: 6px; }
.np__bar .glyph { width: 18px; height: 18px; }
@media (max-width: 420px) { .np__bar { font-size: 12px; } .np--linkedin .np__bar .glyph { display: none; } }

/* The composed image, same proportions as GdVisualRenderer ("banner" layout, 1080 px wide). */
.np-cover { position: relative; container-type: inline-size; aspect-ratio: var(--ratio, 1); overflow: hidden; display: flex; flex-direction: column; background: var(--accent, #D8DADF); }
.np-cover img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: cover; }
.np-cover__band { flex: none; display: flex; flex-direction: column; align-items: flex-start; padding: 4.4cqw 6.7cqw; background: var(--accent); color: var(--ink); font-family: var(--font); line-height: 1.15; }
.np-cover__tag { margin-bottom: 2cqw; padding: .3em .85em; border-radius: 999px; background: var(--ink); color: var(--accent); font-size: 2.4cqw; font-weight: 700; }
.np-cover__headline { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: "Anton", "Impact", "Arial Narrow", sans-serif; font-size: 9.2cqw; line-height: 1.08; }
.np-cover__details { max-width: 100%; margin-top: 1.9cqw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 3.3cqw; font-weight: 600; }
.np-cover__agent { margin-top: 2cqw; font-size: 2.6cqw; opacity: .85; }

/* 26. Deciding from an e-mail or an SMS */
.quick__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.quick__text { white-space: pre-line; }
.quick__auto { padding-top: var(--s4); border-top: 1px solid var(--border); }

/* "Coller le lien" only appears if the browser can read the clipboard: otherwise, no gap in the form. */
div:has(> [data-paste][hidden]) { display: none; }

/* A property's page, on phone: "Appeler" always visible at the bottom of the screen. */
.pp__callbar { display: none; }
@media (max-width: 899px) {
    .pp__callbar { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
        padding: var(--s2) 16px calc(var(--s2) + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--border); }
    .pp__callbar .btn { justify-content: center; }
    body.pp:has(.pp__callbar) { padding-bottom: 76px; }
    body.pp:has(.pp__callbar) .pp-consent { bottom: 76px; }
}

/* The visitor's choice about Meta noting their visit: at the bottom of the screen until they answer, both answers alike. */
.pp-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; gap: var(--s3);
    padding: var(--s4) 16px calc(var(--s4) + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--border);
    /* Aligned with the page's text on a large screen. */
    padding-inline: max(16px, calc((100% - 1120px) / 2 + 16px)); }
.pp-consent > p { max-width: 70ch; margin: 0; }
.pp-consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }

/* Property sheet: arriving on the tabs, a bit of air above. */
#rubriques { scroll-margin-top: var(--s4); }

/* The video of the first posts, beside the Instagram post: a vertical screen, as in Reels. */
.first-video { flex: 0 1 300px; margin: 0; display: grid; gap: var(--s2); }
/* The video on a property's check screen: phone format, its explanation beside it. */
.review-video { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s5); }
.review-video .stack-sm { flex: 1 1 220px; }
.first-video__screen { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14px; background: #111; color: #FFF; }
.first-video__video, .first-video__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.first-video__cover { opacity: .45; }
.first-video__wait { position: absolute; left: var(--s4); right: var(--s4); top: 50%; transform: translateY(-50%); display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--radius-sm); background: rgba(17, 17, 17, .82); font-size: .9375rem; }
.first-video__title { font-weight: 800; font-size: 1.0625rem; }
.first-video__wait .progress { background: rgba(255, 255, 255, .25); }
.first-video__tag { position: absolute; top: var(--s3); left: var(--s4); font-weight: 800; font-size: 1.0625rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.first-video__who { position: absolute; left: var(--s4); bottom: var(--s4); font-weight: 700; font-size: .875rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.first-video__sound { position: absolute; right: var(--s3); bottom: var(--s3); min-height: var(--tap); padding: 0 var(--s3); border: 0; border-radius: var(--radius-pill); background: rgba(17, 17, 17, .72); color: #FFF; font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; }
.first-video__caption { font-size: .875rem; color: var(--text-2); text-align: center; }
.first-video.is-ready .first-video__video { animation: video-in .6s var(--ease) both; }
@keyframes video-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .first-video.is-ready .first-video__video { animation: none; } }

/* 27. The live trial */
/* During creation: the whole page is given to it, the form and the entry photo fade away. */
.trial-running .guest { place-items: start center; padding: 0; }
.trial-running .guest--aside { grid-template-columns: minmax(0, 1fr); }
.trial-running .guest__aside, .trial-running [data-run-intro], .trial-running .guest__foot, .trial-running .guest__legal { display: none; }
.trial-running .guest__wrap, .trial-running .guest--aside .guest__wrap { max-width: 1120px; padding: var(--s4) var(--s4) var(--s8); align-self: start; }
.trial-running .guest__card { padding: 0; border: 0; background: none; box-shadow: none; }
.trial-running [data-run][hidden] { display: grid !important; }

/* The trial's entry: the megaphone signs the promise. */
.trial-kicker { display: inline-flex; align-items: center; gap: var(--s2); padding: 4px 12px 4px 6px; border: 2px solid var(--text); border-radius: var(--radius-pill); background: var(--surface); font-size: .875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; justify-self: start; }
.trial-kicker img { width: 28px; height: auto; }

.run { display: grid; gap: var(--s5); }
.run__top { position: sticky; top: 0; z-index: 5; display: grid; gap: var(--s2); padding: var(--s3) 0; background: var(--bg); border-bottom: 2px solid var(--text); }
/* A single bar, that advances with what is really being done; below, what is being done in one line, and the time left. */
.run__bar { height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.run__bar span { display: block; width: 0; height: 100%; border-radius: 4px; background: var(--brand); transition: width .25s linear; }
.run__status { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.run__status:has(.run__mini:not([hidden])) { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; }
.run__mini { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; animation: pop-in .3s var(--ease); }
.run__live { min-width: 0; font-weight: 700; }
.run__live.is-new { animation: pop-in .3s var(--ease); }
.run__eta { flex: none; color: var(--text-2); font-size: .9375rem; font-variant-numeric: tabular-nums; }
@keyframes run-pulse { 50% { opacity: .45; } }

/* One scene at a time, one card at a time: the leaving one slides to the left and fades, the next arrives from the right, once the other has gone. They share the same place during the transition; the frame goes from one height to the other. */
.run__scenes, .run__cards { display: grid; transition: height .4s var(--ease); overflow: clip; overflow-clip-margin: 12px; }
.run__scenes > *, .run__cards > * { grid-area: 1 / 1; min-width: 0; }
.run__scenes > .is-out, .run__cards > .is-out { animation: run-out .22s var(--ease) forwards; pointer-events: none; }
.run__scenes > .is-in, .run__cards > .is-in { animation: run-in .38s var(--ease) .2s both; }
@keyframes run-out { to { opacity: 0; transform: translateX(-40px); } }
@keyframes run-in { from { opacity: 0; transform: translateX(48px); } }

.run__listing { justify-self: center; width: 100%; max-width: 860px; display: grid; align-content: start; gap: var(--s3); padding: var(--s5); background: var(--surface); border: 2px solid var(--text); border-radius: var(--radius); }
.run__kicker { color: var(--text-2); font-size: .875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.run__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.05; overflow-wrap: anywhere; }
.run__skeleton { color: var(--text-3); animation: run-pulse 1.4s ease-in-out infinite; }
.run__facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); }
.run__facts:empty { display: none; }
.run__facts li { padding: 3px 12px; border: 1px solid var(--text); border-radius: var(--radius-pill); background: var(--bg); font-size: .9375rem; font-weight: 600; animation: pop-in .3s var(--ease); }

/* The listing's cover large, the next three below; the copy without logo slides over the photo. */
.run__gallery { display: grid; gap: 6px; animation: pop-in .3s var(--ease); }
.run__cover { position: relative; margin: 0; aspect-ratio: 16 / 9; max-height: 380px; overflow: hidden; border-radius: 4px; background: var(--info-soft); }
.run__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.run__cover-after { clip-path: inset(0 100% 0 0); animation: run-reveal 2.2s var(--ease) .3s forwards; }
.run__cover-label { position: absolute; left: var(--s3); top: var(--s3); padding: 2px 10px; border: 2px solid var(--text); border-radius: 3px; background: var(--brand); color: var(--text); font-size: .875rem; font-weight: 800; animation: pop-in .3s var(--ease) 1.6s both; }
.run__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.run__strip:empty { display: none; }
.run__thumb, .run__more { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--info-soft); animation: pop-in .3s var(--ease); }
.run__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.run__thumb.is-busy::after { content: ""; position: absolute; inset: 0; width: 40%; background: rgba(255, 255, 255, .35); animation: busy 1.6s var(--ease) infinite; }
.run__thumb.is-missing { display: none; }
.run__more { display: grid; place-items: center; background: var(--text); color: #FFF; font-weight: 800; }
.run__note { font-weight: 700; }
@keyframes run-reveal { to { clip-path: inset(0 0 0 0); } }

.run__line { height: 12px; border-radius: 6px; background: var(--border); animation: run-pulse 1.4s ease-in-out infinite; }
.run__line--title { display: block; width: 70%; height: .8em; }

/* The megaphone announces the property: a black flat, the sign on a paper disc, and the property's words coming out of its bell in poster capitals. One beat (is-beat class, set by app.js): it recoils, its three strokes light up one after the other, a word comes out. */
.shout { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(12px, 3vw, 28px); padding: clamp(16px, 3vw, 28px); border-radius: var(--radius); background: var(--text); color: #F4F1EC; overflow: hidden; }
.shout__sign { position: relative; display: block; width: clamp(88px, 20vw, 150px); aspect-ratio: 1; padding: 12%; border: 3px solid #F4F1EC; border-radius: 50%; background: var(--bg); }
.shout__sign img { position: absolute; inset: 12%; width: 76%; height: auto; }
.shout__body { transform-origin: 22% 88%; }
.shout__wave { opacity: .16; }
.shout__words { display: block; min-width: 0; overflow: hidden; padding-block: 4px; }
.shout__word { display: block; font-family: var(--display); font-size: clamp(1.75rem, 1rem + 4vw, 3.75rem); line-height: 1.02; overflow-wrap: normal; transform-origin: 0 50%; }
.shout.is-beat .shout__body { animation: shout-kick .8s var(--ease); }
.shout.is-beat .shout__wave { animation: shout-wave 1.3s var(--ease) both; }
.shout.is-beat .shout__wave--2 { animation-delay: .12s; }
.shout.is-beat .shout__wave--3 { animation-delay: .24s; }
.shout.is-beat .shout__word { animation: shout-word 1.9s var(--ease) both; }
.shout--listing { margin-top: var(--s2); }
.shout--listing .shout__word { font-size: clamp(1.5rem, 1rem + 2.6vw, 2.75rem); }
@keyframes shout-kick { 20% { transform: rotate(-8deg) translateX(-4%); } 50% { transform: rotate(2deg); } 80%, 100% { transform: none; } }
@keyframes shout-wave { 0% { opacity: .16; } 22% { opacity: 1; transform: translateX(5%); } 70% { opacity: 1; transform: none; } 100% { opacity: .16; } }
/* The word grows from its left edge, without sliding: a slide would push a letter out of the frame, which would cut it. */
@keyframes shout-word { 0% { opacity: 0; transform: scale(.55); } 16% { opacity: 1; transform: none; } 84% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.96); } }

/* The wait: what has been done ("C'est noté"), the megaphone, then the optional questions. Ready: a single button. */
.run__wait { justify-self: center; width: 100%; max-width: 720px; display: grid; align-content: start; gap: var(--s5); }
/* One thing at a time: during a question, neither the progress line nor the megaphone; the bar alone. */
.run.is-answering .run__status { display: none; }
/* Ready: the heading says it, the progress line and the thank-you add nothing. */
.run.is-ready .run__status { display: none; }
.run__noted, .run__ready { display: grid; gap: var(--s2); animation: pop-in .4s var(--ease); }
.run__check { display: inline-flex; align-items: center; gap: var(--s2); font-size: .875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.run__check svg { box-sizing: content-box; padding: 3px; border-radius: 50%; background: var(--brand); color: var(--text); stroke-width: 3; }
.run__title--big { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); line-height: .95; }
.run__lead { color: var(--text-2); font-size: 1.125rem; }
.run__ready .btn { margin-top: var(--s2); }

/* An answer given: confirmed at once, on the card itself, before the next question. */
.ask { position: relative; }
.ask.is-sent::after { content: "✓ Enregistré"; position: absolute; top: var(--s4); right: var(--s4); padding: 4px 12px; border-radius: 3px; background: var(--brand); color: var(--text); font-size: .875rem; font-weight: 800; animation: pop-in .25s var(--ease); }

/* The optional questions: on paper, under the megaphone; one question, large targets, "Passer" always there. */
/* The choice lights up with its tick; the others fade for a moment, while the next question arrives. */

/* The questions: a black inset in the centre, what is done by the agent's hand. Large targets. */
.run__ask { justify-self: center; width: 100%; max-width: 620px; display: grid; align-content: start; gap: var(--s3); }
.run__count { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); color: var(--text-2); font-size: .875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.run__dots { list-style: none; display: flex; gap: 6px; }
.run__dots li { width: 8px; height: 8px; border-radius: 4px; background: var(--border); transition: width .3s var(--ease), background-color .3s var(--ease); }
.run__dots li.is-on { width: 24px; background: var(--brand); }
.run__dots li.is-done { background: var(--text); }
.ask { display: grid; align-content: start; gap: var(--s3); padding: var(--s6) var(--s5); border-radius: var(--radius); background: var(--text); color: #F4F1EC; }
.ask__kicker { color: var(--primary); font-size: .875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ask__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.25rem); line-height: 1.05; }
.ask__help { color: rgba(244, 241, 236, .8); font-size: 1rem; }
.ask__label { margin-top: var(--s1); font-weight: 700; }
.ask__optional { color: rgba(244, 241, 236, .7); font-weight: 400; }
.ask .field__control { background: #FFF; color: var(--text); border-color: #FFF; }
.ask__more { display: grid; gap: var(--s3); animation: pop-in .3s var(--ease); }
.ask__choices { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.ask__choice { min-height: 64px; padding: var(--s2) var(--s3); border: 2px solid #F4F1EC; border-radius: var(--radius); background: transparent; color: #F4F1EC; font-size: 1.125rem; font-weight: 800; }
.ask__choice:hover { background: rgba(244, 241, 236, .1); }
.ask__choice.is-on { border-color: var(--brand); background: var(--brand); color: var(--text); }
.ask__chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.ask__chip { min-height: 44px; padding: 0 var(--s4); border: 1px solid rgba(244, 241, 236, .6); border-radius: var(--radius-pill); background: transparent; color: #F4F1EC; font-weight: 700; }
.ask__chip.is-on { border-color: #F4F1EC; background: #F4F1EC; color: var(--text); }
.ask__letters { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ask__letter { min-height: 52px; border: 0; border-radius: 4px; color: var(--text); font-family: var(--display); font-size: 1.625rem; line-height: 1; transition: transform .15s var(--ease); }
.ask__letter:hover { transform: translateY(-2px); }
.ask__letter.is-on { box-shadow: 0 0 0 3px var(--text), 0 0 0 6px #F4F1EC; }
.ask__skip { justify-self: start; display: inline-flex; align-items: center; min-height: var(--tap); padding: var(--s1) 0; border: 0; background: none; color: #F4F1EC; font-size: 1rem; text-decoration: underline; text-underline-offset: 3px; }
.ask__error { color: #FFB4A6; font-weight: 700; }
.ask .btn--primary { border-color: var(--brand); }
.ask__found { display: grid; gap: var(--s2); }
.ask__tones { display: grid; gap: var(--s2); }
.ask__tone { display: grid; gap: var(--s1); padding: var(--s3); border: 2px solid #F4F1EC; border-radius: var(--radius); background: transparent; color: #F4F1EC; text-align: left; }
.ask__tone:hover { border-color: var(--brand); }
.ask__tone.is-on { border-color: var(--brand); background: var(--brand); color: var(--text); }
.ask__tone b { font-size: 1.125rem; font-weight: 800; }
.ask__tone span { opacity: .85; font-size: 1rem; }
.ask__dpe { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); align-items: center; padding: var(--s3); border: 2px solid #F4F1EC; border-radius: var(--radius); background: transparent; color: #F4F1EC; text-align: left; }
.ask__dpe:hover { border-color: var(--brand); }
.ask__dpe-labels { display: flex; gap: 4px; }
.ask__dpe-labels span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 4px; font-family: var(--display); font-size: 1.5rem; }
.ask__dpe-text { display: grid; gap: 2px; font-size: 1rem; }
.ask__dpe-text small { color: rgba(244, 241, 236, .75); font-size: .875rem; }

/* The energy (DPE) labels, in their official colours. */
.dpe-a { background: #009C6D; color: #FFF; } .dpe-b { background: #52B153; color: #FFF; } .dpe-c { background: #A5CC74; }
.dpe-d { background: #F4E70F; } .dpe-e { background: #F0B40F; } .dpe-f { background: #EB8235; } .dpe-g { background: #D7221F; color: #FFF; }
.ges-a { background: #A3DBFC; } .ges-b { background: #8AB5D2; } .ges-c { background: #7692B1; color: #FFF; }
.ges-d { background: #5F7290; color: #FFF; } .ges-e { background: #4A5370; color: #FFF; } .ges-f { background: #343352; color: #FFF; } .ges-g { background: #211A34; color: #FFF; box-shadow: inset 0 0 0 1px rgba(244, 241, 236, .5); }

@media (max-width: 599px) {
  .trial-running .guest__wrap, .trial-running .guest--aside .guest__wrap { padding: 0 var(--s3) var(--s7); }
  .run__listing { padding: var(--s4); }
  .ask { padding: var(--s5) var(--s4); }
  .run__status { display: grid; gap: 2px; }
  .run__status:has(.run__mini:not([hidden])) { grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--s3); }
  .run__status:has(.run__mini:not([hidden])) .run__eta { grid-column: 2; }
  .ask__letter { min-height: 44px; font-size: 1.375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .run__skeleton, .run__line, .run__mini, .run__thumb.is-busy::after, .run__live.is-new { animation: none; }
  .shout.is-beat .shout__body, .shout.is-beat .shout__wave, .shout.is-beat .shout__word, .ask.is-sent::after, .run__noted, .run__ready { animation: none; }
  .shout__wave { opacity: 1; }
  .run__cover-after { animation: none; clip-path: none; }
  .run__cover-label, .run__scenes > *, .run__cards > * { animation: none; }
  .run__bar span { transition: none; }
  .run__scenes, .run__cards { transition: none; }
}

/* 28. The trial's result */
/* What has been done, the sign-up right away, then the posts. A single action, fixed under the thumb on phone. */
.guest__wrap--full { max-width: 1120px; }
.guest--aside .guest__wrap--full { align-self: start; }
.reveal { display: grid; gap: var(--s2); justify-items: center; text-align: center; }
.reveal__kicker { color: var(--text-2); font-size: .875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.reveal__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem); line-height: 1; }
/* The trial's result, one step after the other: the video, the post, then the single action. */
.result-steps { display: grid; gap: var(--s9); }
/* With JavaScript, one step per screen: nothing is shown before the script has chosen which. */
.js .result-steps:not(.is-ready) { visibility: hidden; }
.result-next__list { display: grid; gap: var(--s1); padding-left: var(--s5); color: var(--on-ink); font-size: .9375rem; }
.result-step { display: grid; gap: var(--s5); justify-items: center; }
.result-step.is-in { animation: pop-in .45s var(--ease); }
.result-step__kicker { color: var(--text-2); font-size: .875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.result-step > .first-video { width: min(100%, 340px); }
.result-step > .np { margin-inline: auto; }
.result-step > .note { max-width: 470px; }
.rate__skip { justify-self: center; display: inline-flex; align-items: center; min-height: var(--tap); padding: var(--s1) var(--s2); border: 0; background: none; color: var(--on-ink); font-size: .9375rem; text-decoration: underline; text-underline-offset: 3px; }
.rate__skip:hover { color: var(--paper); }
.rate__why { margin: 0; color: var(--on-ink); }
.rate__note:disabled { opacity: .4; cursor: default; }
@media (prefers-reduced-motion: reduce) { .result-step.is-in { animation: none; } }

/* The rating then the single action: a black card, the five ratings in poster capitals. */
.rate { justify-self: center; width: 100%; max-width: 620px; display: grid; gap: var(--s5); padding: var(--s6) var(--s5); border-radius: var(--radius); background: var(--text); color: #F4F1EC; }
.rate__form { display: grid; gap: var(--s3); }
.rate__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.25rem); line-height: 1.05; }
.rate__scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2); }
.rate__note { min-height: 64px; border: 2px solid #F4F1EC; border-radius: var(--radius); background: transparent; color: #F4F1EC; font-family: var(--display); font-size: 2rem; line-height: 1; transition: background-color .15s var(--ease), transform .15s var(--ease); }
.rate__note:hover { background: rgba(244, 241, 236, .12); }
.rate__note:active { transform: scale(.96); }
.rate__note[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: var(--text); }
.rate__ends { display: flex; justify-content: space-between; color: rgba(244, 241, 236, .75); font-size: .875rem; }
.rate__thanks { font-weight: 700; animation: pop-in .3s var(--ease); }
.rate__next { display: grid; gap: var(--s2); }
.rate__next .btn--primary { border-color: var(--brand); }
.rate__next p { color: rgba(244, 241, 236, .8); font-size: .9375rem; }
.rate.is-rated .rate__next .btn--primary { animation: rate-next .6s var(--ease); }
@keyframes rate-next { 40% { transform: scale(1.03); } }
@media (max-width: 599px) { .rate { padding: var(--s5) var(--s4); } .rate__note { min-height: 56px; } }
@media (prefers-reduced-motion: reduce) { .rate__thanks, .rate.is-rated .rate__next .btn--primary { animation: none; } }

/* 29. The app's visual system (redesign) */
/* State heading: the page says where things stand, as a poster, with the brand's orange dot. */
.page-header--state .title-1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 4rem); line-height: .98; }
.title-1 .dot { color: var(--orange); }

/* The megaphone: the body and its three sound strokes, stacked on the same canvas. */
.megaphone { position: relative; display: inline-block; width: var(--mega-w, 96px); aspect-ratio: 296 / 263; flex: none; }
.megaphone > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.megaphone__body { transform-origin: 22% 88%; }
.megaphone:hover .megaphone__body { animation: shout-kick .8s var(--ease); }
.megaphone:hover .megaphone__wave { animation: shout-wave 1.3s var(--ease) both; }
.megaphone:hover .megaphone__wave--2 { animation-delay: .12s; }
.megaphone:hover .megaphone__wave--3 { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .megaphone:hover > img { animation: none; } }

/* Empty state: paper, solid rule, the megaphone above the heading. */
.empty { border-style: solid; border-color: var(--line); background: var(--paper-3); gap: var(--s3); }
.empty .megaphone { margin-bottom: var(--s2); }
.empty__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.05; }
.empty--error .empty__icon { background: var(--danger-soft); color: var(--danger); }

/* Information message after an action: neither success nor failure. */
.toast--info { background: var(--paper-3); border-color: var(--ink); }
.toast--info > .icon { color: var(--ink); }

/* The action bar stuck to the bottom: the main button stays under the thumb. */
.action-bar { position: sticky; bottom: 0; z-index: 20; margin-top: var(--s6); margin-inline: calc(var(--s5) * -1); padding: var(--s3) var(--s5); background: var(--paper-3); border-top: 2px solid var(--ink); }
.action-bar__in { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.action-bar__in > .btn--primary { flex: 0 1 auto; }
@media (max-width: 899px) {
  .action-bar { bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); margin-inline: calc(var(--s4) * -1); padding-inline: var(--s4); }
  .action-bar__in > .btn--primary { flex: 1 1 100%; }
  .flow .action-bar { bottom: 0; }
}

/* A reassuring sentence under a decision: black, legible, not a small grey note. */
.reassure { display: flex; align-items: flex-start; gap: var(--s2); color: var(--ink); font-size: 1rem; font-weight: 600; }
.reassure .icon { flex: none; margin-top: 2px; }

/* Rare actions: always visible, discreet, under the main content. */
.side-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s4); }
.side-actions > form { display: contents; }
.side-actions__label { color: var(--ink-2); }
.side-actions :is(a, button) { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); padding: 0; background: none; border: 0; color: var(--ink-2); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.side-actions :is(a, button):hover { color: var(--ink); }
.side-actions .is-danger { color: var(--err); }

/* Sensitive area: the last section, red rule, heavy actions only. */
.danger-zone { display: grid; gap: var(--s3); margin-top: var(--s8); padding-top: var(--s5); border-top: 2px solid var(--err); }
.danger-zone__title { font-size: 1.0625rem; font-weight: 800; color: var(--err); }
.danger-zone__body { display: grid; gap: var(--s3); justify-items: start; }

/* Thumbnail: the pictogram stays underneath if the photo does not load. */
.thumb img.is-broken { display: none; }

/* 30. Home (redesign): a poster, a sentence of results, then the lists. */
.dash__hello { color: var(--ink-2); font-size: 1.0625rem; font-weight: 600; }
.dash__hello::first-letter { text-transform: uppercase; }
.dash__hi { display: flex; align-items: center; gap: var(--s4); }
.dash__photo { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; background: var(--paper-2); }
.dash__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.state { position: relative; overflow: hidden; }
.state__title .dot { color: var(--orange); }
.state__title:not(.state__title--reading) { font-size: clamp(2.25rem, 1.3rem + 3vw, 3.75rem); line-height: 1; }
/* Nothing is waiting: a flat of dark paper, the megaphone ringing in the corner. */
.state--calm { background: var(--paper-dark); padding-right: calc(132px + var(--s8)); min-height: 220px; align-content: center; }
.state__mega { position: absolute; right: var(--s6); bottom: var(--s5); }
@media (max-width: 599px) {
  .state--calm { padding-right: var(--s4); padding-top: calc(88px + var(--s4)); }
  .state__mega { --mega-w: 80px !important; top: var(--s4); right: auto; left: var(--s4); bottom: auto; }
}
/* A first time, greeted at the top of the poster. */
.state__moment { display: flex; align-items: flex-start; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s2); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); font-size: 1rem; }
.state__moment > .icon { flex: none; margin-top: 2px; color: var(--ok); }
.state__moment > span { flex: 1 1 260px; min-width: 0; }
.state__moment .link { font-weight: 700; }
/* The e-mail to confirm: one line under the poster. */
.dash-line { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; padding: var(--s2) 0; font-size: 1rem; }
.dash-line > .icon { flex: none; color: var(--ink); }
.dash-line > p { flex: 1 1 280px; min-width: 0; }
/* Home in two columns: what there is to do on the left, what is happening on the right (below on phone). */
.dash { display: grid; gap: var(--s7); align-items: start; }
.dash__main, .dash__side { display: grid; gap: var(--s7); align-content: start; min-width: 0; }
.dash__side { gap: var(--s4); }
@media (min-width: 1100px) {
  .dash { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s8); }
  .dash__side { position: sticky; top: var(--s6); }
}
/* On phone, a single column: the results move up right after what there is to do now. */
@media (max-width: 1099px) {
  .dash--home > :is(.dash__main, .dash__side) { display: contents; }
  .dash--home .dash__main > * { order: 4; }
  .dash--home .dash__main > :is(.state-block, .dash-then) { order: 1; }
  .dash--home .dash__side > .dash-results { order: 2; }
  .dash--home .dash__side > :not(.dash-results) { order: 5; }
}
.dash-card { display: grid; gap: var(--s3); padding: var(--s5); }
.dash-how { list-style: none; counter-reset: how; display: grid; gap: var(--s4); }
.dash-how > li { counter-increment: how; display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); font-size: .9375rem; color: var(--ink-2); }
.dash-how > li::before { content: counter(how); display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 50%; font-family: var(--font-display); font-size: .9375rem; color: var(--ink); }
.dash-how strong { display: block; color: var(--ink); font-weight: 800; }
/* A property's card, on the right: the photo, the price, and what the property brings in three figures. */
.prop-card .prop-card__photo { width: 100%; border-radius: var(--radius-sm); overflow: hidden; }
.prop-card .prop-card__photo img { transition: scale var(--t-slow) var(--ease); }
.prop-card:hover .prop-card__photo img { scale: 1.04; }
.prop-card__price { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--ink); }
.dash-card__lead { font-size: 1.0625rem; color: var(--ink); }
.dash-card__lead strong { font-weight: 800; }
.dash-rows { list-style: none; display: grid; gap: var(--s3); }
.dash-rows > li { display: flex; align-items: center; gap: var(--s3); min-width: 0; }
.dash-rows .network__logo { flex: none; transition: rotate var(--t-med) var(--ease); }
.dash-rows > li:hover .network__logo { rotate: -8deg; }
.dash-rows__body { display: grid; min-width: 0; }
.dash-rows__title { font-weight: 700; color: var(--ink); }
.dash-rows__meta { font-size: .9375rem; color: var(--ink-2); }
.dash-rows__meta--ok { display: inline-flex; align-items: center; gap: 4px; color: var(--success); font-weight: 700; }

/* "Ensuite": two things at most, numbered after the poster (which is number 1). */
.then { list-style: none; display: grid; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--white); }
.then__item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; column-gap: var(--s4); row-gap: var(--s3); padding: var(--s4) var(--s5); transition: background-color var(--t-fast) var(--ease); }
.then__item + .then__item { border-top: 1px solid var(--line); }
.then__item:hover { background: var(--paper-2); }
.then__n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--ink); border-radius: 50%; font-family: var(--font-display); font-size: 1.125rem; color: var(--ink); transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.then__item:hover .then__n { background: var(--orange); border-color: var(--orange); color: var(--white); }
.then__body { display: grid; gap: 2px; min-width: 0; }
.then__title { font-weight: 800; font-size: 1.0625rem; color: var(--ink); }
.then__text { font-size: .9375rem; color: var(--ink-2); }
.then__do { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
@media (max-width: 599px) { .then__item { grid-template-columns: 36px minmax(0, 1fr); } .then__do { grid-column: 2; } }

/* 31. Ad amount (redesign): big amounts, an area that follows the choice, the total first. */
.amounts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.amount__body { display: grid; align-content: center; justify-items: start; gap: var(--s1, 4px); min-height: 112px; }
.amount__value { font-family: var(--display); font-size: 2.5rem; line-height: 1; }
.amount__tag { font-size: .875rem; font-weight: 800; color: var(--ink); background: var(--orange); padding: 2px 8px; }
.amount-live { display: grid; gap: var(--s2); padding: var(--s5); background: var(--paper-3); border: 2px solid var(--ink); font-size: 1.0625rem; color: var(--ink); }
.amount-live__reach strong { font-weight: 800; }
.amount-live__weak { display: flex; gap: var(--s2); align-items: flex-start; font-weight: 600; }
.amount-live__weak[hidden] { display: none; }
.amount-live__weak .icon { flex: none; margin-top: 3px; }
.amount-live__pay { margin-top: var(--s3); font-family: var(--display); font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1; }
.amount-live__pay .dot { color: var(--orange); }
.amount-live__split p { margin-top: var(--s1, 4px); }
.card > .action-bar, .card > form > .action-bar { margin-inline: 0; padding-inline: 0; background: var(--surface); }
@media (max-width: 899px) { .card > .action-bar, .card > form > .action-bar { margin-inline: 0; padding-inline: 0; } }
@media (max-width: 599px) { .amount__body { min-height: 72px; padding: var(--s2); justify-items: center; } .card:has(> .amounts), form.card:has(.amounts) { padding: var(--s4); } .amount__value { font-size: 1.75rem; } .amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); } .amount .choice__check { display: none; } .amount__tag { justify-self: stretch; text-align: center; margin: 0 calc(var(--s2) * -1) calc(var(--s2) * -1); padding: 2px 0; letter-spacing: -.01em; font-size: .75rem; } }
.results__until { font-family: var(--display); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.02; }
.results__until .dot { color: var(--orange); }
.results__line { display: flex; align-items: flex-start; gap: var(--s2); font-size: 1.0625rem; }
.results__line .icon { flex: none; margin-top: 3px; }

/* 32c. Contacts and seller (redesign) */
/* Contacts: one card per person, what they wrote, the button to call them back. */
.lead-list { display: grid; gap: var(--space-3); }
.lead-list > .lead-item { padding: var(--space-4) var(--space-5); background: var(--white); border: 1px solid var(--line); }
.lead-list > .lead-item--waiting { border-color: var(--ink); }
.lead-item__since { font-size: .9375rem; color: var(--muted); }
.lead-item__since.is-long { color: var(--ink); font-weight: 800; }
.lead-item__about { color: var(--ink-2); }
.lead-item__message { font-size: 1.0625rem; color: var(--ink); overflow-wrap: anywhere; }
.lead-item__actions { display: flex; align-items: center; gap: var(--space-3) var(--space-5); flex-wrap: wrap; }
.lead-item__mail { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap); font-weight: 600; }
.lead-item__done { margin-left: auto; }
.lead-done { margin-top: var(--space-6); }
.lead-done__title { font-size: 1.25rem; font-weight: 800; }
/* A contact: their message as a quote, then "Après l'appel" in three real choices. */
.badge--fit { justify-self: start; align-self: start; width: max-content; }
.lead-quote { margin: 0; padding-left: var(--space-4); border-left: 3px solid var(--line); font-size: 1.0625rem; color: var(--ink); }
.comment-reply__others { display: grid; gap: var(--space-2); }
.comment-reply__choice { text-align: left; padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2); color: var(--ink); font: inherit; cursor: pointer; }
.comment-reply__choice:hover { border-color: var(--ink); }
.review-stars { display: flex; gap: var(--space-1); margin: 0; color: var(--line); }
.review-stars .is-on { color: var(--orange); }
/* Results: a big figure with its sentence, the others in a list; the chosen period in ink. */
.figures-board__lead { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.05; color: var(--ink); }
.figures-board__lead strong { font-weight: 400; font-size: 1.6em; display: block; line-height: 1; }
.figures-board__lead .dot { color: var(--orange); }
.figures-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.figures-list li { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; color: var(--ink); }
.figures-list__value { font-weight: 800; font-size: 1.25rem; min-width: 2ch; }
.figures-list__label { flex: 1 1 200px; }
/* Your results at a glance: the comparison in words, then three small figures side by side. */
.glance { gap: var(--space-3); }
.glance__compare { font-size: 1.0625rem; color: var(--ink-2); }
.glance__figures { list-style: none; margin: var(--space-3) 0 0; padding: var(--space-4) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-4); border-top: 1px solid var(--line); }
.glance__figures li { display: grid; gap: var(--space-1); }
.glance__figures strong { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; line-height: 1; color: var(--ink); }
.glance__figures span { font-size: 1rem; color: var(--ink-2); }
.segmented__item.is-on { border-color: var(--ink); background: var(--ink); color: var(--on-ink); box-shadow: none; }
/* My close ones: readable steps. */
.circle-steps li { font-size: 1.0625rem; color: var(--ink); }
/* The chosen contacts, one per line: the name, then "Envoyer". */
.circle-contacts { display: grid; gap: var(--space-2); }
.circle-contacts:empty { display: none; }
.circle-contacts__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) 0; border-bottom: 1px solid var(--line); }
.circle-contacts__name { font-weight: 600; color: var(--ink); }
.circle-contacts__actions { display: flex; align-items: center; gap: var(--space-3); }
.circle-contacts__done { display: inline-flex; align-items: center; gap: var(--space-1); color: var(--success); font-weight: 600; }
/* The message to send and the page it opens, side by side on desktop. */
.message-share { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 900px) { .message-share { grid-template-columns: 260px minmax(0, 1fr); } }
.message-share__kicker { font-size: .875rem; font-weight: 800; color: var(--ink-2); margin-bottom: var(--space-2); }
.message-share__preview { margin: 0; display: grid; gap: var(--space-2); justify-items: start; }
.message-share__frame { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border: 2px solid var(--ink); background: var(--white); }
.message-share__frame iframe { position: absolute; top: 0; left: 0; width: 250%; height: 250%; border: 0; transform: scale(.4); transform-origin: 0 0; pointer-events: none; }
@media (max-width: 899px) { .message-share__frame { aspect-ratio: 4 / 3; max-height: 260px; } }
.message-share__text { display: grid; gap: var(--space-3); min-width: 0; }
.message-share__body { padding: var(--space-4); background: var(--paper-3); border: 1px solid var(--line); font-size: 1.0625rem; color: var(--ink); overflow-wrap: anywhere; }
.message-share__chip { display: inline-flex; align-items: center; gap: var(--space-1); padding: 0 var(--space-2); background: var(--white); border: 1px solid var(--ink); font-weight: 700; white-space: nowrap; }
/* Mandate and reviews: the person or property concerned, at the top. */
.mandate-person, .review-property { display: flex; align-items: center; gap: var(--space-4); }
/* Sold: the property's photo, and the reason to ask for a review in readable text. */
.moment__photo { margin-bottom: var(--space-4); }
.moment__why { font-size: 1.0625rem; color: var(--ink); max-width: 56ch; }

/* 32b. Posts (redesign) */
/* The post's subject, legible under the network's name. */
.pub__subject { font-size: 1rem; color: var(--muted); }
/* The legal notices, at reading size. */
.pub__legal { border-top: 1px solid var(--line); }
.pub__legal-title { padding: var(--space-3) var(--space-4) 0; font-size: .9375rem; font-weight: 700; color: var(--muted); }
.pub__legal .post__text { padding-top: 0; font-size: 1rem; color: var(--ink); }

/* Free post: the frequency as four small choices on one line. */
.freq { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: var(--space-2); }
.freq__choice .choice__body { min-height: var(--tap); padding: var(--space-2) var(--space-3); align-content: center; justify-items: center; text-align: center; }
.freq__choice .choice__title { font-weight: 700; font-size: .9375rem; }
@media (max-width: 599px) { .freq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* The text is corrected in the preview itself: a frameless field, in place of the text. */
.cp__text { padding: var(--space-3) var(--space-4); }
.cp__legal { display: grid; gap: var(--space-1); padding: var(--space-3) var(--space-4) var(--space-4); border-top: 1px solid var(--line); }
.cp__legal > p { margin: 0; }
.post__edit { border: 1px dashed var(--line); background: var(--paper-2); font-size: 1.0625rem; min-height: 160px; }
.post__edit:hover { border-color: var(--ink); }

/* Post in conversation: the preview first, the conversation below, the post at the end. On desktop, the conversation on the left and the preview on the right, which stays in view. */
.composer { display: grid; gap: var(--space-5); }
.composer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
/* Without a version: the place of the coming image, in the format it will have. */
.composer__empty { display: grid; gap: var(--space-3); justify-items: center; align-content: center; text-align: center; aspect-ratio: 1; padding: var(--space-6); border-style: dashed; }
.composer__empty > * { max-width: 40ch; }
.composer__preview .post { max-width: none; }
@media (min-width: 900px) {
  .composer { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: var(--space-6); }
  .composer__chat { grid-column: 1; grid-row: 1; }
  /* The preview stays in view under the journey bar, while the conversation is read. */
  .composer__preview { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(64px + var(--space-4)); }
  .composer__publish { grid-column: 1; grid-row: 2; }
}
.versions { display: flex; align-items: center; gap: var(--space-2); }
.versions__label { font-weight: 700; font-variant-numeric: tabular-nums; }
.versions__step { display: inline-grid; place-items: center; min-width: var(--tap); min-height: var(--tap); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); color: var(--ink); cursor: pointer; }
.versions__step:hover:not(:disabled) { border-color: var(--ink); }
.versions__step:disabled { color: var(--disabled-fg); background: var(--disabled-bg); cursor: default; }
.chat { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.chat__turn { justify-self: start; max-width: 88%; display: grid; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.chat__turn--agent, .chat__turn--mine { justify-self: end; background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chat__turn--agent .chat__version, .chat__turn--mine .chat__meta, .chat__turn--agent .chat__meta { color: var(--on-ink); }
.chat__turn--waiting { color: var(--muted); font-style: italic; }
.chat__body { margin: 0; }
.chat__photos { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chat__photos > * { width: 64px; }
.chat__turn:has(.questions) { max-width: 100%; justify-self: stretch; }
.chat__questions { margin: 0; padding-left: var(--space-4); display: grid; gap: var(--space-1); }
.questions__item > legend { font-weight: 700; }
.questions__item .choice__body { height: 100%; align-content: center; }
/* Choosing a style by seeing it: cards with the preview large, the chosen one ticked in the corner. */
.choices--sketches { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.questions__hint, .choices--sketches .questions__other { grid-column: 1 / -1; }
.questions__hint { margin: calc(var(--space-2) * -1) 0 0; }
.choices--sketches .choice__body { align-content: start; gap: var(--space-2); padding: var(--space-2) var(--space-2) var(--space-3); }
.choices--sketches .choice__title { padding: 0 var(--space-2); }
.choice__sketch { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-2); }
.choice__sketch img { width: 100%; height: 100%; object-fit: cover; }
.choice__wait { padding: var(--space-3); font-size: .9375rem; color: var(--text-2); text-align: center; animation: sketch-wait 1.6s ease-in-out infinite; }
@keyframes sketch-wait { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .choice__wait { animation: none; } }
.questions__other { grid-column: 1 / -1; }
/* Dictation: a big crisp button; while recording, it turns red and counts the seconds. */
.dictate { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.dictate[hidden] { display: none; }
.dictate__button { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap); padding: var(--space-2) var(--space-4); border: 1.5px solid var(--text); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.dictate__button:hover:not(:disabled) { background: var(--bg); }
.dictate__button:disabled { cursor: progress; color: var(--text-2); border-color: var(--border-strong); }
.dictate.is-recording .dictate__button { background: var(--danger); border-color: var(--danger); color: var(--surface); }
.dictate.is-recording .dictate__button .icon { animation: dictate-pulse 1.2s ease-in-out infinite; }
.dictate.is-busy .dictate__button .icon { display: none; }
.dictate.is-busy .dictate__button::before {
  content: ""; flex: none; width: 18px; height: 18px;
  border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .7s linear infinite;
}
.dictate__status { margin: 0; }
.dictate__status:empty { display: none; }
@keyframes dictate-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dictate.is-recording .dictate__button .icon, .dictate.is-busy .dictate__button::before { animation: none; } }
.suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.suggestions > p { margin: 0 var(--space-1) 0 0; }
.suggestion { min-height: var(--tap); padding: var(--space-2) var(--space-4); border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.suggestion:hover { border-color: var(--text); }
.suggestion[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--surface); }
.questions__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
/* Attach photos: always visible, on one line (icon, title, help), never folded. */
.dropzone--compact { grid-template-columns: auto 1fr; justify-items: start; align-items: center; column-gap: var(--space-3); row-gap: 0; text-align: left; padding: var(--space-3) var(--space-4); }
.dropzone--compact > .icon { grid-row: span 2; }
.dropzone--compact > .dropzone__files:not(:empty) { grid-column: 2; }

/* Approval from an e-mail or an SMS: rank, readable preview, decision stuck to the bottom. */
.quick__rank { font-size: .9375rem; font-weight: 700; color: var(--muted); }
.quick__text { font-size: 1.0625rem; }
.action-bar.quick__bar { bottom: 0; margin-inline: 0; padding-inline: 0; background: var(--surface); }
@media (max-width: 599px) { .quick__bar .action-bar__in > form { flex: 1 1 100%; } .quick__bar .btn { width: 100%; } }

/* 33. First steps (redesign): the signature first, a single recommended network, an ending that tells the truth. */
.sign { display: grid; gap: var(--s1); padding: var(--s4) var(--s5); background: var(--white); border: 2px solid var(--ink); }
.sign__label { font-size: .875rem; font-weight: 800; color: var(--ink-2); }
.sign__line { font-size: 1.125rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.network--big { border: 2px solid var(--ink); background: var(--white); }
.network--big .network__name { font-weight: 800; font-size: 1.125rem; }
.connected-list { list-style: none; display: grid; gap: var(--s2); }
.connected-list li { display: flex; align-items: center; gap: var(--s3); font-weight: 700; }
.connected-list .icon { color: var(--ok); }
.other-networks__list { display: grid; gap: var(--s2); margin-top: var(--s2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.other-networks__list .btn { justify-content: flex-start; }
/* "C'est parti": the megaphone rings; with no network, it stays at rest. */
.moment { position: relative; }
.moment__mega { justify-self: start; }
.moment--calm .moment__title { font-size: clamp(2.75rem, 1.6rem + 4.5vw, 5rem); }
.moment--calm .moment__kicker { color: var(--ink-2); }
@media (max-width: 599px) {
  .moment__title { font-size: clamp(2.5rem, 1.5rem + 6vw, 3.5rem); }
  .moment__mega { --mega-w: 96px !important; }
  .moment__facts > div { display: grid; gap: 2px; }
  .moment__facts dd { text-align: left; }
}

/* 32a. Property pages (redesign) */
/* My properties: the price in bold on the right, a badge only if action is needed. */
.prop-row__aside { flex: none; display: grid; justify-items: end; gap: var(--space-2); }
.prop-row__price { font-weight: 800; font-size: 1.125rem; color: var(--ink); white-space: nowrap; }
.prop-row__results { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.prop-row__results .icon { color: var(--orange); }
@media (max-width: 599px) {
  /* The title keeps the full width; the price and the badge go below, on one line. */
  .prop-row { flex-wrap: wrap; align-items: flex-start; gap: var(--space-2) var(--space-3); padding: var(--space-3) var(--space-4); }
  .prop-row > .thumb { width: 64px; }
  .prop-row .list-item__body { flex: 1 1 0; }
  .prop-row__aside { width: 100%; display: flex; align-items: center; justify-content: space-between; padding-left: calc(64px + var(--space-3)); }
  .prop-row__price { font-size: 1rem; }
}

/* A property: outside the first tab, what is waiting fits on one line. */
.now-line { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; padding: var(--space-3) var(--space-4); background: var(--white); border: 2px solid var(--ink); font-size: 1rem; }
.now-line > .icon { flex: none; }
.now-line > span { flex: 1 1 220px; min-width: 0; }
.now-line .link { font-weight: 700; }

/* Choice rows: the title and its promise together, an arrow. */
.choice-rows { display: grid; border: 1px solid var(--line); background: var(--white); }
.choice-row { display: flex; align-items: center; gap: var(--space-3); width: 100%; min-height: var(--tap); padding: var(--space-3) var(--space-4); background: var(--white); border: 0; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.choice-rows > .choice-row + .choice-row { border-top: 1px solid var(--line); }
.choice-row > .icon { flex: none; }
.choice-row:hover { background: var(--paper-2); }
.choice-row:hover .choice-row__title { text-decoration: underline; text-underline-offset: 3px; }
a.choice-row { border: 1px solid var(--line); }
.choice-row__body { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.choice-row__title { font-weight: 800; font-size: 1.0625rem; }
.choice-row__price { font-weight: 600; }
.choice-row__text { color: var(--ink-2); font-size: 1rem; }
.choice-row__chevron { flex: none; color: var(--muted); transition: transform var(--t-fast) var(--ease); }
.choice-row:hover .choice-row__chevron { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .choice-row__chevron { transition: none; } }

/* A property's sheet: one sentence at the top, then one card per section. */
.form-lead { font-size: 1.0625rem; font-weight: 600; color: var(--ink); }

/* Add a property: "Coller" in the field, the help visible, manual entry as a discreet link. */
.paste-field { position: relative; }
.paste-field .field__control { padding-right: 112px; }
.paste-field__btn { position: absolute; right: var(--space-1); top: calc(1.5rem + var(--space-2) + 5px); }
.by-hand { margin-top: var(--space-5); text-align: center; color: var(--ink-2); font-size: 1rem; }

/* Check a property: what is missing grouped; the decision stuck to the bottom. */
.facts__row--missing { background: var(--warn-bg); }
.facts__row--missing dt { color: var(--ink); font-weight: 800; }
.facts__row--missing dd { font-weight: 600; }
.review-bar__question { font-weight: 800; font-size: 1.125rem; }
@media (max-width: 599px) {
  /* The question and "Corriger" on one line, the confirmation below: the bar stays low. */
  .review-bar .action-bar__in { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .review-bar .action-bar__in > .btn--primary { grid-column: 1 / -1; grid-row: 2; }
}
.review-more { margin-top: var(--space-5); }

/* Create: add a property large, on ink, with the megaphone; the rest below. */
.create-main { position: relative; display: flex; align-items: center; gap: var(--space-5); padding: var(--space-6) var(--space-5); background: var(--ink); color: var(--on-ink); text-decoration: none; overflow: hidden; }
.create-main__body { flex: 1 1 auto; min-width: 0; display: grid; gap: var(--space-2); }
.create-main__title { font-family: var(--font-display); font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); line-height: 1; }
.create-main__text { color: var(--on-ink-2); font-size: 1.0625rem; max-width: 46ch; }
.create-main__go { display: inline-flex; align-items: center; gap: var(--space-2); justify-self: start; margin-top: var(--space-2); padding: var(--space-3) var(--space-4); background: var(--orange); color: var(--ink); font-weight: 800; }
.create-main:hover .create-main__go { background: var(--orange-hover); }
.create-main:hover .create-main__go .icon { transform: translateX(3px); }
.create-main__go .icon { transition: transform var(--t-fast) var(--ease); }
.create-main__mega { flex: none; }
.create-other__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--ink); color: var(--ink); }
@media (max-width: 599px) {
  .create-main { padding: var(--space-5) var(--space-4); }
  .create-main__mega { display: none; }
  .create-main__go { justify-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .create-main__go .icon { transition: none; } }

/* 34. First post (redesign): the heading carries the moment, the text is read in full. */
.first-post__head { display: flex; align-items: center; gap: var(--s5); }
.first-post__head .title-1 .dot { color: var(--orange); }
.first-post__video { justify-self: center; width: min(100%, 340px); }
/* The video screen: it and its button fit together on the screen; side by side as soon as there is room. */
.first-post__stage { display: grid; gap: var(--s6); grid-template-areas: "head" "video" "voice" "next"; }
.first-post__stage > .first-post__head { grid-area: head; }
.first-post__stage > .first-video { grid-area: video; justify-self: center; width: min(100%, 300px, 27svh); }
@media (max-width: 599px) {
  .first-post__stage { gap: var(--s4); }
  .first-post__stage .lead, .first-post__stage .first-video__caption { display: none; }
  .first-post__stage > .first-video { width: min(100%, 24svh); }
}
.first-post__stage > .actions { grid-area: next; justify-content: center; }
.first-post__stage > .first-post__voice { grid-area: voice; }
@media (min-width: 720px) {
  .first-post__stage { grid-template-columns: auto 1fr; grid-template-areas: "video head" "video voice" "video next"; align-content: center; column-gap: var(--s8); }
  .first-post__stage > .first-video { width: min(300px, 40svh); }
  .first-post__stage > .first-post__head { align-self: end; flex-direction: column; align-items: flex-start; }
  .first-post__stage > .actions { align-self: start; justify-content: flex-start; }
}
@media (max-width: 599px) { .first-post__head .megaphone { display: none; } }
.listing-exits { display: grid; gap: var(--s2); justify-items: start; padding-top: var(--s5); border-top: 1px solid var(--line); }
.link-button { background: none; border: 0; padding: 0; min-height: var(--tap); font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--ink); }
/* The first steps, wider: the post is readable, the page does not look empty. */
.guest__wrap--wide { max-width: 760px; }

/* 32d. Settings and networks (redesign) */
/* The Settings tabs: five on desktop; on phone all visible, tighter, the open tab in ink. */
.settings-tabs .tabs__link { white-space: nowrap; }
@media (max-width: 599px) {
  .settings-tabs { gap: var(--space-1); }
  .settings-tabs .tabs__link { min-height: var(--tap); padding: 0 var(--space-2); }
  .settings-tabs .tabs__link[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--on-ink); box-shadow: none; }
}

/* My networks: the state in plain words, the next step below. */
.network__stage { display: inline-flex; align-items: center; gap: var(--space-1); font-weight: 700; color: var(--muted); }
.network--connected .network__stage { color: var(--ok); }
.network--reconnect .network__stage { color: var(--err); }
.network__detail { color: var(--muted); }
.network__manage { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 700; }

/* Settings saved on change: the state is announced beside, the button is only for no-JavaScript. */
.autosave__foot { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; min-height: var(--tap); }
.autosave.is-autosaving .autosave__button { display: none; }
.autosave__status { color: var(--ok); font-weight: 700; }
.autosave__status.is-error { color: var(--err); }
.account-leave { margin-top: var(--space-5); }

/* Subscription: the price large, the VAT below. */
.sub-price { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1; color: var(--ink); }
.sub-price__per { font-family: var(--font-text); font-size: 1.125rem; text-transform: none; color: var(--muted); }

/* Set up a network: readable instructions, an optional step says so. */
.setup-head__titles { display: grid; gap: var(--space-1); min-width: 0; }
.setup-head__later { font-weight: 700; color: var(--muted); }
.setup-card .numbered { gap: var(--space-3); font-size: 1.0625rem; }
.setup-card .numbered li::marker { font-family: var(--font-display); font-size: 1.25rem; }
.setup-foot__skip { display: grid; gap: var(--space-1); color: var(--muted); }

/* My introduction: "Écrire pour moi" against the field, the instruction beside it. */
.pitch-field { display: grid; gap: var(--space-2); }
.pitch-field__write { display: flex; align-items: flex-end; gap: var(--space-3); flex-wrap: wrap; }
.pitch-field__ask { flex: 1 1 240px; }

/* Profile photo: tick a proposal (ink frame), a single button below. */
.portrait-pick { border: 0; padding: 0; margin: 0; min-width: 0; }
.portrait-choice { position: relative; cursor: pointer; padding: var(--space-2); border: 2px solid var(--line); }
.portrait-choice:has(:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.portrait-choice:has(:focus-visible) { outline: 3px solid var(--focus-color); outline-offset: 2px; }
.portrait-choice__input { position: absolute; opacity: 0; pointer-events: none; }
.portrait-choice__label { display: inline-flex; align-items: center; gap: var(--space-1); font-weight: 700; }
.portrait-choice__label .icon { visibility: hidden; }
.portrait-choice:has(:checked) .portrait-choice__label .icon { visibility: visible; }
.portrait-guides { display: grid; }
.portrait-guide { border-top: 1px solid var(--line); padding: var(--space-3) 0; }
.portrait-guide .numbered { font-size: 1.0625rem; margin-bottom: var(--space-3); }
form.is-autosubmit .autosubmit__button { display: none; }

/* Thank you: "Paiement confirmé" reads without squinting. */
.thanks .moment__kicker { font-size: 1.125rem; }

/* 35. Agent pages (redesign) */
/* Property, estimate, point and seller presentation: a neutral style, in the agent's colours (--agent) if they chose some. Never the orange, nor Bien Connu's poster font. */
.pp--agent {
  --agent-color: var(--agent, var(--text));
  --primary: var(--agent-color);
  --primary-hover: color-mix(in srgb, var(--agent-color) 80%, var(--ink));
  --primary-soft: color-mix(in srgb, var(--agent-color) 7%, var(--white));
  --primary-line: color-mix(in srgb, var(--agent-color) 35%, var(--white));
  --brand: var(--agent-color); --brand-hover: var(--primary-hover);
  --focus-color: var(--agent-color);
}
.pp--agent .link { color: var(--agent-color); }
.pp--agent .pp__wrap { gap: var(--space-6); }
.pp-text { font-size: 1.125rem; color: var(--text-2); }
.pp-lead { font-size: 1.25rem; color: var(--text-2); max-width: 60ch; }
.pp-note { font-size: 1rem; color: var(--text-3); }
.pp-main { display: grid; gap: var(--space-6); align-content: start; min-width: 0; }
.pp-intro { display: grid; gap: var(--space-3); justify-items: start; }
.pp-title { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.pp-section { display: grid; gap: var(--space-3); }
.pp-section__title { font-size: 1.375rem; line-height: 1.3; font-weight: 800; }
.pp--agent .pp__price { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); line-height: 1.1; color: var(--agent-color); }
.pp--agent .pp__price-note { display: block; font-size: 1rem; letter-spacing: 0; }
.pp--agent .pp__contact .title-2 { font-size: 1.625rem; }

/* The header: the agent's real photo, their name large, their agency. */
.pp-owner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-5); padding: var(--space-3) var(--space-4); background: var(--info-soft); border: 1px solid var(--info-line); border-radius: var(--radius); }
.pp-agent { display: flex; align-items: center; gap: var(--space-4); padding-bottom: var(--space-5); border-bottom: 1px solid var(--border); }
.pp--agent .pp-agent__photo { width: 72px; height: 72px; flex: none; font-size: 1.5rem; background: var(--agent-color); color: var(--white); }
.pp-agent__id { display: grid; gap: 2px; min-width: 0; }
.pp-agent__kicker { font-size: 1rem; color: var(--text-3); }
.pp-agent__name { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pp-agent__agency { font-size: 1.125rem; color: var(--text-2); }
/* Their own page: people come to see them, their photo opens the page. */
.pp-agent--large { gap: var(--space-5); }
.pp--agent .pp-agent--large .pp-agent__photo { width: 120px; height: 120px; font-size: 2.5rem; }
.pp-agent--large .pp-agent__name { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem); }
@media (min-width: 600px) { .pp--agent .pp-agent--large .pp-agent__photo { width: 168px; height: 168px; font-size: 3.25rem; } }

/* "My properties" page: each property's photo, what it is, its price; the whole card opens. */
.pp-listings { display: grid; gap: var(--space-4); list-style: none; padding: 0; margin: 0; }
.pp-listing { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius); color: inherit; text-decoration: none; background: var(--white); transition: border-color var(--t-fast) var(--ease); }
.pp-listing:hover { border-color: var(--agent-color); }
.pp-listing:focus-visible { outline: 3px solid var(--agent-color); outline-offset: 2px; }
.pp-listing__photo { width: 132px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper-dark); }
.pp-listing__body { display: grid; gap: var(--space-1); min-width: 0; }
.pp-listing__status { justify-self: start; font-size: .875rem; font-weight: 700; color: var(--text-2); }
.pp-listing__title { font-size: 1.25rem; line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.pp-listing__summary { font-size: 1rem; color: var(--text-2); }
.pp-listing__price { font-size: 1.25rem; font-weight: 800; color: var(--agent-color); }
.pp-listing__go { color: var(--agent-color); }
@media (max-width: 520px) { .pp-listing { grid-template-columns: 1fr; } .pp-listing__photo { width: 100%; aspect-ratio: 16 / 10; } .pp-listing__go { display: none; } }

/* A property's page: the page that makes people want to visit. The photos first, large; then the essentials, legible from afar. */
.pp--listing .pp__wrap { max-width: 1200px; }

/* Large screen: mosaic of the first five photos (preview), a click opens them whole in full screen. */
.pp-gallery { min-width: 0; }
.pp-mosaic { display: none; }
@media (min-width: 900px) {
  .pp-mosaic { position: relative; display: grid; gap: var(--space-2); height: min(68vh, 560px); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; border-radius: var(--radius); overflow: hidden; }
  .pp-mosaic__tile { position: relative; padding: 0; border: 0; background: var(--paper-dark); cursor: zoom-in; overflow: hidden; min-height: 0; }
  .pp-mosaic__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-slow) var(--ease); }
  .pp-mosaic__tile:hover img { transform: scale(1.03); }
  .pp-mosaic__tile:focus-visible { outline: 3px solid var(--agent-color); outline-offset: -3px; }
  .pp-mosaic__tile:first-child { grid-row: 1 / 3; }
  .pp-mosaic--1 { grid-template-columns: 1fr; }
  .pp-mosaic--2 { grid-template-columns: 2fr 1fr; }
  .pp-mosaic--2 .pp-mosaic__tile:nth-child(2) { grid-row: 1 / 3; }
  .pp-mosaic--3 { grid-template-columns: 2fr 1fr; }
  .pp-mosaic--4 .pp-mosaic__tile:nth-child(4) { grid-column: 2 / 4; }
  .pp-mosaic__all { position: absolute; right: var(--space-4); bottom: var(--space-4); display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap); padding: 0 var(--space-4); border: 1px solid var(--ink); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
  .pp-mosaic__all:hover { background: var(--paper-2); }
  .pp-mosaic__all:focus-visible { outline: 3px solid var(--agent-color); outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) { .pp-mosaic__tile img { transition: none; } .pp-mosaic__tile:hover img { transform: none; } }

/* The carousel: each photo whole (never cropped), one at a time, on ink. In the page on phone, where touching the photo opens it full screen; on large screens, only in full screen, opened from the mosaic. */
.pp-carousel { display: grid; gap: var(--space-2); min-width: 0; }
.pp-carousel__stage { position: relative; }
.pp-carousel__track { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); background: var(--ink); }
.pp-carousel__track::-webkit-scrollbar { display: none; }
.pp-carousel__track:focus-visible { outline: 3px solid var(--agent-color); outline-offset: 3px; }
/* The whole photo, never taller or wider than its frame: no scrolling to see it. */
.pp-carousel__slide { flex: 0 0 100%; height: min(62vh, 75vw); min-height: 0; overflow: hidden; scroll-snap-align: center; scroll-snap-stop: always; }
.pp-carousel__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pp-carousel__arrow { position: absolute; top: 50%; transform: translateY(-50%); display: none; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.pp-carousel__arrow--prev { left: var(--space-4); }
.pp-carousel__arrow--next { right: var(--space-4); }
.pp-carousel__arrow:disabled { opacity: .35; cursor: default; }
.pp-carousel__arrow:focus-visible, .pp-carousel__close:focus-visible, .pp-carousel__thumb:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.pp-carousel__count { position: absolute; right: var(--space-3); bottom: var(--space-3); padding: 2px var(--space-2); border-radius: var(--radius-pill); background: var(--ink); color: var(--white); font-weight: 700; font-size: .875rem; }
.pp-carousel__thumbs { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.pp-carousel__thumb { flex: 0 0 auto; width: 84px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-dark); cursor: pointer; opacity: .7; }
.pp-carousel__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-carousel__thumb[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.pp-carousel__close { position: absolute; top: var(--space-4); right: var(--space-4); z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.pp-carousel__close[hidden] { display: none; }
.pp-carousel__track { cursor: zoom-in; }
.pp-carousel__enlarge { position: absolute; left: var(--space-3); bottom: var(--space-3); display: inline-flex; align-items: center; gap: var(--space-1); padding: 2px var(--space-2); border: 0; border-radius: var(--radius-pill); background: var(--ink); color: var(--white); font: inherit; font-weight: 700; font-size: .875rem; cursor: pointer; }
.pp-carousel__enlarge:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.pp-carousel.is-open { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--space-3); padding: calc(var(--space-7) + env(safe-area-inset-top)) 0 calc(var(--space-3) + env(safe-area-inset-bottom)); margin: 0; background: var(--ink); }
.pp-carousel.is-open .pp-carousel__stage, .pp-carousel.is-open .pp-carousel__track { height: 100%; min-height: 0; }
.pp-carousel.is-open .pp-carousel__track { border-radius: 0; cursor: default; }
.pp-carousel.is-open .pp-carousel__slide { height: 100%; }
.pp-carousel.is-open .pp-carousel__enlarge { display: none; }
.pp-carousel.is-open .pp-carousel__thumbs { justify-content: safe center; padding-inline: var(--space-3); }
.pp-carousel.is-open .pp-carousel__thumb[aria-current="true"] { border-color: var(--white); }
.pp-carousel.is-open .pp-carousel__count { background: var(--white); color: var(--ink); }
.pp-carousel.is-open .pp-carousel__close { top: calc(var(--space-2) + env(safe-area-inset-top)); right: var(--space-3); }
@media (min-width: 900px) {
  .pp-carousel { display: none; }
  .pp-carousel.is-open { gap: var(--space-4); padding: var(--space-7) var(--space-5) var(--space-5); }
  .pp-carousel.is-open .pp-carousel__arrow { display: grid; }
  .pp-carousel.is-open .pp-carousel__close { top: var(--space-4); right: var(--space-4); }
}
.pp-lock, .pp-lock body { overflow: hidden; }
/* Phone: photos edge to edge, as in listing apps. */
@media (max-width: 599px) {
  .pp--listing .pp-gallery { margin-inline: -16px; }
  .pp--listing .pp-carousel__track { border-radius: 0; }
  .pp--listing .pp-carousel__thumbs { padding-inline: 16px; }
  .pp-keys { gap: var(--space-2) var(--space-4); }
  .pp-keys__item { font-size: 1.125rem; }
}

/* The property's essentials: where, what, how much. The price reads from afar. */
.pp-head { display: grid; gap: var(--space-4); align-items: end; padding-bottom: var(--space-5); border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .pp-head { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6); } }
.pp-head__main { display: grid; gap: var(--space-3); justify-items: start; min-width: 0; }
.pp-head__badges { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pp-place { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 1.125rem; font-weight: 600; color: var(--text-2); }
.pp-place .icon { color: var(--agent-color); }
.pp--listing .pp-title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.08; max-width: 22ch; overflow-wrap: anywhere; }
.pp-keys { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
.pp-keys__item { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 1.25rem; color: var(--text-2); }
.pp-keys__item strong { color: var(--text); font-weight: 800; }
.pp-keys__item .icon { color: var(--agent-color); }
.pp--listing .pp-head__price { white-space: nowrap; text-align: left; }
@media (min-width: 900px) { .pp--listing .pp-head__price { text-align: right; } }

/* The property's text and its amenities, comfortable to read. */
.pp-description { max-width: 68ch; line-height: 1.7; color: var(--text); }
.pp-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-3) var(--space-5); }
.pp-features li { display: flex; align-items: center; gap: var(--space-3); font-size: 1.125rem; }
.pp-features .icon { flex: none; color: var(--agent-color); }

/* The energy label, as on listings: the A to G scale, the property's class in front. */
.pp-dpe { display: grid; gap: var(--space-5); }
@media (min-width: 600px) { .pp-dpe { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.pp-dpe__scale { margin: 0; display: grid; gap: var(--space-2); }
.pp-dpe__name { font-size: 1.0625rem; font-weight: 700; }
.pp-dpe__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.pp-dpe__bar { display: flex; align-items: center; height: 26px; padding: 0 var(--space-3); font-weight: 800; font-size: .9375rem; color: var(--ink); opacity: .45; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.pp-dpe__bar[aria-current="true"] { height: 38px; font-size: 1.375rem; opacity: 1; }
.pp-dpe__bar--a { width: 34%; } .pp-dpe__bar--b { width: 45%; } .pp-dpe__bar--c { width: 56%; } .pp-dpe__bar--d { width: 67%; }
.pp-dpe__bar--e { width: 78%; } .pp-dpe__bar--f { width: 89%; } .pp-dpe__bar--g { width: 100%; }
.pp-dpe__scale--energy .pp-dpe__bar--a { background: var(--dpe-a); } .pp-dpe__scale--energy .pp-dpe__bar--b { background: var(--dpe-b); }
.pp-dpe__scale--energy .pp-dpe__bar--c { background: var(--dpe-c); } .pp-dpe__scale--energy .pp-dpe__bar--d { background: var(--dpe-d); }
.pp-dpe__scale--energy .pp-dpe__bar--e { background: var(--dpe-e); } .pp-dpe__scale--energy .pp-dpe__bar--f { background: var(--dpe-f); }
.pp-dpe__scale--energy .pp-dpe__bar--g { background: var(--dpe-g); color: var(--white); }
.pp-dpe__scale--climate .pp-dpe__bar--a { background: var(--ges-a); } .pp-dpe__scale--climate .pp-dpe__bar--b { background: var(--ges-b); }
.pp-dpe__scale--climate .pp-dpe__bar--c { background: var(--ges-c); color: var(--white); } .pp-dpe__scale--climate .pp-dpe__bar--d { background: var(--ges-d); color: var(--white); }
.pp-dpe__scale--climate .pp-dpe__bar--e { background: var(--ges-e); color: var(--white); } .pp-dpe__scale--climate .pp-dpe__bar--f { background: var(--ges-f); color: var(--white); }
.pp-dpe__scale--climate .pp-dpe__bar--g { background: var(--ges-g); color: var(--white); }

/* The agent, at the top of the contact card: you know who you are writing to. */
.pp-contact__agent { display: flex; align-items: center; gap: var(--space-3); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
.pp--agent .pp-contact__photo { width: 96px; height: 96px; flex: none; font-size: 1.75rem; background: var(--agent-color); color: var(--white); }
.pp-contact__name { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.pp-contact__agency { color: var(--text-2); }

.pp--agent .tag { font-size: 1rem; background: var(--surface); }

/* Legal information: set back, but legible. */
.pp-details { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pp-details__body { font-size: 1rem; line-height: 1.6; color: var(--text-2); padding-bottom: var(--space-4); }

/* "Vous vendez un bien ?": a real target, not a link lost at the end of the text. */
.pp-sell { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; padding: var(--space-4) var(--space-5); background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: var(--radius); }
.pp-sell p { font-size: 1.125rem; font-weight: 700; }
.pp-sell .btn { min-height: var(--tap); }

/* On phone: Appeler, SMS, E-mail, always within thumb reach. */
@media (max-width: 899px) {
  .pp--agent .pp__callbar { grid-template-columns: 2fr; grid-auto-columns: 1fr; grid-auto-flow: column; }
  .pp--agent .pp__callbar .btn { min-height: 52px; padding-inline: var(--space-2); }
}

/* Estimate: the three steps in big figures, then the form in two stages. */
.pp-steps { list-style: none; padding: 0; display: grid; gap: var(--space-5); counter-reset: none; }
.pp-steps__item { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-4); align-items: center; font-size: 1.1875rem; font-weight: 600; }
.pp-steps__number { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--agent-color); color: var(--agent-color); font-size: 1.875rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.pp-form { gap: var(--space-5); }
.pp-stage { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--space-4); }
.pp-stage[hidden] { display: none; }
.pp-stage__title { display: grid; gap: 2px; padding: 0; font-size: 1.25rem; font-weight: 800; margin-bottom: var(--space-2); }
.pp-stage__count { font-size: 1rem; font-weight: 600; color: var(--text-3); }
.pp-form__submit[hidden] { display: none; }
@media (max-width: 899px) {
  .pp-form__submit { position: sticky; bottom: 0; z-index: 5; padding-block: var(--space-3); background: var(--surface); }
}

/* Point and seller presentation: the photo (of the property, or of the agent) and a big figure. */
.pp-hero { display: grid; gap: var(--space-5); align-items: center; }
.pp-hero__body { display: grid; gap: var(--space-3); justify-items: start; }
.pp-hero__kicker { font-size: 1.125rem; color: var(--text-3); font-weight: 600; }
.pp-hero .pp-hero__photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); border: 0; }
@media (min-width: 900px) {
  .pp-hero--photo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .pp-hero--portrait { grid-template-columns: 280px minmax(0, 1fr); }
}
.pp-figure { display: grid; gap: 0; margin-top: var(--space-3); padding: var(--space-4) var(--space-5); border-left: 4px solid var(--agent-color); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.pp-figure__label { font-size: 1.125rem; color: var(--text-2); }
.pp-figure__number { font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; color: var(--agent-color); font-variant-numeric: tabular-nums; }
.pp-done { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.pp-done li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 1.125rem; padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.pp-done .icon { flex: none; margin-top: 4px; color: var(--agent-color); }

/* 40. The language of the site's home, in the agent's space
   The same codes as the site (crisp ink outlines, orange as a touch, hovers that make what you touch move forward, blocks that arrive one by one), calmer: here, we work.
   Limited to the signed-in space (.shell): the agents' public pages (.pp) keep their neutral style. */


/* A screen's blocks arrive one by one, then a list's rows. */
@media (prefers-reduced-motion: no-preference) {
  .shell .content > * { animation: rise-in .5s var(--ease) both; }
  .shell .content > :nth-child(2) { animation-delay: 60ms; }
  .shell .content > :nth-child(3) { animation-delay: 120ms; }
  .shell .content > :nth-child(4) { animation-delay: 180ms; }
  .shell .content > :nth-child(5) { animation-delay: 240ms; }
  .shell .content > :nth-child(n+6) { animation-delay: 300ms; }
  .shell .list > .list-item { animation: rise-in .45s var(--ease) both; }
  .shell .list > .list-item:nth-child(2) { animation-delay: 140ms; }
  .shell .list > .list-item:nth-child(3) { animation-delay: 200ms; }
  .shell .list > .list-item:nth-child(4) { animation-delay: 260ms; }
  .shell .list > .list-item:nth-child(n+5) { animation-delay: 320ms; }
}
.shell .content { animation: none; }
@keyframes rise-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

/* Ink outlines, like the site's cards; the card to handle carries the offset orange flat (not a stroke on the side). */
.shell :is(.card, .list, .facts, .state, .sign, .networks) { border-color: var(--ink); border-width: 2px; border-radius: var(--radius-sm); }
.shell .state--warn, .shell .state--error { box-shadow: 10px 10px 0 var(--orange); }
.shell .lead-list > .lead-item { border: 2px solid var(--ink); border-radius: var(--radius-sm); }
.shell .lead-list > .lead-item--waiting { box-shadow: 6px 6px 0 var(--orange); }
@media (max-width: 599px) { .shell :is(.card--focus, .state--warn, .state--error) { box-shadow: 6px 6px 0 var(--orange); } }

/* Hovers: the row lights up and moves forward, the arrow pushes, the thumbnail shifts; a card that can be opened lifts. */
.shell a.list-item { transition: background-color var(--t-fast) var(--ease); }
.shell a.list-item:hover { background: var(--paper-2); }
.shell .list-item__body, .shell .list-item__chevron, .shell .list-item .thumb { transition: translate var(--t-med) var(--ease), rotate var(--t-med) var(--ease); }
.shell a.list-item:hover .list-item__body { translate: 6px 0; }
.shell a.list-item:hover .list-item__chevron { translate: 6px 0; color: var(--ink); }
.shell a.list-item:hover .thumb { rotate: -4deg; }
.shell :is(a.card, .lead-list > .lead-item) { transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.shell a.card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.shell .lead-list > .lead-item:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--orange); }
.shell .lead-list > .lead-item:not(.lead-item--waiting):hover { box-shadow: 6px 6px 0 var(--ink); }
.shell .facts__row { transition: background-color var(--t-fast) var(--ease); }
.shell .facts__row:hover { background: var(--paper-2); }
.shell .network { transition: background-color var(--t-fast) var(--ease); }
.shell .network:hover { background: var(--paper-2); }
.shell .network .network__logo { transition: rotate var(--t-med) var(--ease); }
.shell .network:hover .network__logo { rotate: -8deg; }

/* The menu: the icon does a little turn, the label moves forward. */
.shell .nav__link .icon, .shell .nav__text { transition: transform var(--t-med) var(--ease), translate var(--t-med) var(--ease); }
.shell .nav__link:hover .icon { transform: rotate(-10deg) scale(1.12); }
.shell .nav__link:hover .nav__text { translate: 4px 0; }

/* The main button lifts as on the site, with the ink flat behind. */
.shell .btn--primary { transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.shell .btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.shell .btn--primary:active:not(:disabled):not(.is-loading) { transform: translate(1px, 1px); box-shadow: none; }

/* A screen's title: the brand's orange dot, stamped on arrival. */
@media (prefers-reduced-motion: no-preference) {
  .shell .page-header .dot, .shell .state__title .dot { display: inline-block; animation: dot-stamp .6s .25s var(--ease) both; }
}
@keyframes dot-stamp { from { opacity: 0; transform: scale(2.4); } 60% { opacity: 1; transform: scale(.9); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .shell .content > *, .shell .list > .list-item { animation: none; }
}

/* Edit a post's text: the image to recognise it, then the text. */
.pub-edit__image { width: 100%; max-width: 280px; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
@media (min-width: 900px) {
  .pub-edit:has(.pub-edit__image) { grid-template-columns: 240px 1fr; align-items: start; }
  .pub-edit > .action-bar { grid-column: 1 / -1; }
}
.pub-edit__legal { display: grid; gap: var(--space-1); padding-top: var(--space-3); border-top: 1px solid var(--line); }

/* Headings of secondary blocks: visible, set back from the main content. */
.lead-done__head { display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-3); font-size: 1rem; }
.portrait-guide__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); font-weight: 800; font-size: 1.125rem; }
.pp-details__title { padding-top: var(--space-3); margin-bottom: var(--space-2); font-weight: 700; font-size: 1.0625rem; }
/* Its legal information, on its own page: legible, with nothing else around. */
.pp-legal { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.pp-legal p { line-height: 1.6; }
.amount-live__split { display: grid; gap: var(--space-1); }
.other-networks { display: grid; gap: var(--space-2); }

/* Find sellers: the examples side by side on desktop, one under the other on phone. */
.seller-examples { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); align-items: start; }
