/* iVarotra — nouvelle identité commune. Thème d’interface; aucune donnée métier. */
:root {
  --iv-ink: #18333d;
  --iv-ink-2: #274751;
  --iv-teal: #087e78;
  --iv-teal-dark: #075e5a;
  --iv-teal-pale: #e8f3f1;
  --iv-coral: #a94330;
  --iv-coral-pale: #faeee9;
  --iv-paper: #ffffff;
  --iv-canvas: #f5f7f5;
  --iv-soft: #edf1ee;
  --iv-line: #dce4e1;
  --iv-muted: #52676b;
  --iv-radius: 8px;
  --iv-shadow: 0 8px 24px rgba(24,51,61,.07);
  color-scheme: light;
}
html { scroll-padding-top: 84px; }
body.iv-market, body.iv-shop, body.iv-register, body.iv-settings,
body.iv-seller, body.iv-platform, body.iv-admin, body.iv-vendor-page {
  color: var(--iv-ink); font-family: system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
}
:where(body.iv-market,body.iv-shop,body.iv-register,body.iv-settings,body.iv-seller,body.iv-platform,body.iv-admin,body.iv-vendor-page) :where(button,input,select,textarea) { font-family: inherit; }
:where(body.iv-market,body.iv-shop,body.iv-register,body.iv-settings,body.iv-seller,body.iv-platform,body.iv-admin,body.iv-vendor-page) :where(a,button,input,select,textarea,[tabindex]):focus-visible { outline: 3px solid #087e78; outline-offset: 3px; }
:where(body.iv-market,body.iv-shop,body.iv-register,body.iv-settings,body.iv-seller,body.iv-platform,body.iv-admin,body.iv-vendor-page) img { max-width: 100%; }

/* Marketplace : catalogue clair, accents lagon et navigation compacte. */
body.iv-market { --primary:var(--iv-teal); --primary-hover:var(--iv-teal-dark); --primary-light:var(--iv-teal-pale); --accent:var(--iv-coral); --accent-hover:#873726; --bg:var(--iv-canvas); --surface:#fff; --surface-soft:var(--iv-soft); --text:var(--iv-ink); --text-muted:var(--iv-muted); --line:var(--iv-line); --line-dark:#c4d2ce; --radius-sm:6px; --radius-md:8px; --radius-lg:12px; --shadow-sm:0 3px 10px rgba(24,51,61,.05); --shadow-md:var(--iv-shadow); --shadow-lg:0 18px 50px rgba(14,37,43,.24); --container:1380px; background:var(--iv-canvas); }
body.iv-market .topbar { background:var(--iv-ink); color:#fff; }
body.iv-market header.site-header { border-color:var(--iv-line); }
body.iv-market .brand-logo.logo { color:var(--iv-ink); }
body.iv-market .brand-logo.logo img { object-fit:contain; }
body.iv-market .nav-links a:hover, body.iv-market .seller { color:var(--iv-teal-dark); }
body.iv-market .market-search.search input { background:#f7faf8; border-radius:6px; }
body.iv-market .btn-primary, body.iv-market .cart-fab { background:var(--iv-teal); color:#fff; box-shadow:none; }
body.iv-market .btn-primary:hover, body.iv-market .cart-fab:hover { background:var(--iv-teal-dark); transform:none; }
body.iv-market .btn-outline { border-color:var(--iv-line); color:var(--iv-ink); }
body.iv-market .marketplace-main { padding-top:32px; }
body.iv-market .heading h1, body.iv-market .section-title { color:var(--iv-ink); font-family:inherit; letter-spacing:-.035em; }
body.iv-market .heading small { background:var(--iv-teal-pale); color:var(--iv-teal-dark); }
body.iv-market .category { border-radius:5px; }
body.iv-market .category.active, body.iv-market .category:hover { border-color:var(--iv-teal); background:var(--iv-teal); }
body.iv-market .sidebar, body.iv-market .product, body.iv-market .store, body.iv-market .empty { border-color:var(--iv-line); border-radius:7px; box-shadow:none; }
body.iv-market .filter-title, body.iv-market .product-name, body.iv-market .stores-title h2 { color:var(--iv-ink); }
body.iv-market .filter-option, body.iv-market .sort-control { color:var(--iv-muted); }
body.iv-market .filter-reset { background:var(--iv-teal-pale); border-color:#c9e0dc; color:var(--iv-teal-dark); }
body.iv-market .filter-reset:hover { background:var(--iv-teal); }
body.iv-market .product:hover, body.iv-market .store:hover { transform:translateY(-2px); border-color:#a9c8c2; box-shadow:var(--iv-shadow); }
body.iv-market .product-image { background:#edf2ef; }
body.iv-market .tag { background:var(--iv-coral); }
body.iv-market .buy-button { background:var(--iv-teal-pale); color:var(--iv-teal-dark); }
body.iv-market .buy-button:hover { background:var(--iv-teal); }
body.iv-market .add-cart-button { border-color:#bdd2cd; color:var(--iv-ink); }
body.iv-market .store-icon { background:var(--iv-teal-pale); color:var(--iv-teal-dark); }
body.iv-market .modal-box { border-radius:8px; }
body.iv-market .modal-title, body.iv-market .modal-price { color:var(--iv-ink); font-family:inherit; }
body.iv-market .qv-main-image { background:#f0f4f2; }
body.iv-market .qv-swatch.active { box-shadow:0 0 0 2px var(--iv-teal); }
body.iv-market .qv-size.active { border-color:var(--iv-teal); background:var(--iv-teal-pale); color:var(--iv-teal-dark); }
body.iv-market .qv-quantity-control button { color:var(--iv-ink); }
body.iv-market #checkoutModal .checkout-modal-box { border-radius:8px; background:#f3f6f4; }
body.iv-market #checkoutModal .checkout-title, body.iv-market #checkoutModal .checkout-panel-heading h3 { color:var(--iv-ink); font-family:inherit; }
body.iv-market #checkoutModal .checkout-order-panel { background:var(--iv-ink); }
body.iv-market #checkoutModal .checkout-submit, body.iv-market #cartModal .cart-checkout-button { background:#cbe6df; color:#123b37; }
body.iv-market #confirmBody .confirm-banner, body.iv-market #cartModal .cart-modal-header { background:var(--iv-ink); }
body.iv-market #confirmBody .confirm-close { background:var(--iv-teal); }

/* Boutique publique : conserver strictement la palette choisie par son vendeur. */
body.iv-shop { color:var(--dark,var(--iv-ink)); background:#fff; }
body.iv-shop header { border-color:var(--iv-line); }
body.iv-shop .nav { min-height:74px; }
body.iv-shop .brand-name, body.iv-shop .hero-intro h1, body.iv-shop .product-info h2, body.iv-shop .section-heading h2, body.iv-shop .about-text h2, body.iv-shop .contact-info h2 { font-family:inherit; letter-spacing:-.03em; }
body.iv-shop .logo { border-radius:6px; }
body.iv-shop .featured { gap:clamp(28px,5vw,68px); }
body.iv-shop .featured-image, body.iv-shop .product-card .photo, body.iv-shop .about-image { border-radius:7px; }
body.iv-shop .product-card { border:1px solid var(--iv-line); border-radius:7px; overflow:hidden; }
body.iv-shop .product-card .details { padding:15px; }
body.iv-shop .review { border-radius:7px; }
body.iv-shop .cart-panel { box-shadow:-10px 0 40px rgba(24,51,61,.15); }
body.iv-shop .modal-content, body.iv-shop .pvbox { border-radius:8px; }
body.iv-shop .pvphoto { background:#edf2ef; }
body.iv-shop .pvinfo h2, body.iv-shop .cart-head h3 { font-family:inherit; color:var(--iv-ink); }
body.iv-shop .pvsize.on { border-color:var(--accent); }
body.iv-shop .vbadge { border-radius:4px; }

/* Inscription et conversion vendeur : mise en page éditoriale sans fonte distante. */
body.iv-register { --primary:var(--iv-teal); --primary-hover:var(--iv-teal-dark); --primary-light:var(--iv-teal-pale); --accent:var(--iv-coral); --accent-hover:#873726; --bg:var(--iv-canvas); --surface:#fff; --surface-soft:var(--iv-soft); --text:var(--iv-ink); --text-muted:var(--iv-muted); --line:var(--iv-line); --line-dark:#c4d2ce; --radius-sm:6px; --radius-md:8px; --radius-lg:12px; --shadow-sm:var(--iv-shadow); --shadow-md:var(--iv-shadow); --shadow-lg:0 18px 48px rgba(24,51,61,.16); --container:1160px; }
body.iv-register .reg-hero { background:var(--iv-ink); color:#fff; text-align:left; padding:clamp(36px,6vw,76px) 0; }
body.iv-register .reg-hero .container { max-width:980px; }
body.iv-register .reg-hero-badge { border-radius:4px; background:#31545b; color:#e9f6f2; letter-spacing:.08em; }
body.iv-register .reg-hero-title { color:#fff; font-family:inherit; letter-spacing:-.04em; }
body.iv-register .reg-hero-title span { color:#f0c66b; }
body.iv-register .reg-hero-sub { margin-left:0; color:#d5e2df; }
body.iv-register .benefits-section, body.iv-register .pricing-section { padding-block:clamp(38px,6vw,72px); }
body.iv-register .benefit-card, body.iv-register .price-card { border-radius:7px; box-shadow:none; }
body.iv-register .benefit-card:hover, body.iv-register .price-card:hover { transform:none; box-shadow:var(--iv-shadow); }
body.iv-register .benefit-number { color:var(--iv-coral); }
body.iv-register .benefit-card h3, body.iv-register .pricing-header h2 { color:var(--iv-ink); font-family:inherit; }
body.iv-register .price-card.featured { border-color:var(--iv-teal); }
body.iv-register .price-card.featured::before { background:var(--iv-teal); }
body.iv-register .price-plan-name { color:var(--iv-ink); font-family:inherit; }
body.iv-register .price-amount { color:var(--iv-teal-dark); font-family:inherit; }
body.iv-register .price-card .btn-primary { background:var(--iv-teal); }
body.iv-register .benefit-card { border-radius:7px; box-shadow:none; }
body.iv-register .reg-modal-box { border-radius:8px; }
body.iv-register .reg-modal-close { border-radius:4px; }
body.iv-register .reg-modal-box, body.iv-register .modal-content { border-radius:8px; }
body.iv-register footer, body.iv-vendor-page footer { background:var(--iv-ink); }
body.iv-vendor-page { --primary:var(--iv-teal); --primary-hover:var(--iv-teal-dark); --primary-light:var(--iv-teal-pale); --accent:var(--iv-coral); --bg:var(--iv-canvas); --text:var(--iv-ink); --text-muted:var(--iv-muted); --line:var(--iv-line); --line-dark:#c4d2ce; --container:1160px; }
body.iv-vendor-page .hero, body.iv-vendor-page .hero-section { background:var(--iv-ink); color:#fff; }
body.iv-vendor-page :where(h1,h2,h3) { font-family:inherit; letter-spacing:-.03em; }
body.iv-vendor-page .btn-primary { background:var(--iv-teal); box-shadow:none; }

/* Espaces de gestion : navigation d’ardoise, surfaces blanches, accents discrets. */
body.iv-settings { --primary:var(--iv-teal); --primary-hover:var(--iv-teal-dark); --bg:var(--iv-canvas); --surface:#fff; --surface-soft:#f0f5f3; --text:var(--iv-ink); --text-secondary:#355159; --muted:var(--iv-muted); --border:var(--iv-line); --border-green:#68a19a; --radius:8px; --shadow:var(--iv-shadow); }
body.iv-settings .topbar { border-color:var(--iv-line); }
body.iv-settings .brand { font-family:inherit; color:var(--iv-ink); }
body.iv-settings .brand-mark { background:transparent; }
body.iv-settings .brand-mark img { width:100%; height:100%; object-fit:contain; }
body.iv-settings .sidebar { background:#fff; }
body.iv-settings .nav button.active { background:var(--iv-teal-pale); color:var(--iv-teal-dark); }
body.iv-settings .main { background:var(--iv-canvas); }
body.iv-settings .page-head h1, body.iv-settings .card-head h2 { font-family:inherit; color:var(--iv-ink); }
body.iv-settings .card, body.iv-settings .stat, body.iv-settings .preview-box { border-radius:7px; box-shadow:none; }
body.iv-settings .btn.primary { background:var(--iv-teal); border-color:var(--iv-teal); }
body.iv-settings .btn.soft, body.iv-settings .notice { background:var(--iv-teal-pale); border-color:#c9e0dc; color:var(--iv-teal-dark); }
body.iv-settings .tag, body.iv-settings .preview-pill { border-radius:4px; background:var(--iv-teal); }
body.iv-settings .field input:focus, body.iv-settings .field textarea:focus, body.iv-settings .field select:focus { border-color:var(--iv-teal); box-shadow:0 0 0 3px rgba(8,126,120,.12); }
body.iv-settings .product-item, body.iv-settings .review-item, body.iv-settings .zone-row { border-radius:6px; }
body.iv-settings .toast { background:var(--iv-ink); }

body.iv-seller { --black:var(--iv-ink); --beige:#d5e8e2; --bg:var(--iv-canvas); --white:#fff; --line:var(--iv-line); --muted:var(--iv-muted); --green:var(--iv-teal); --orange:#9a5b15; --red:var(--iv-coral); --sage:var(--iv-teal); }
body.iv-seller .app { background:var(--iv-canvas); }
body.iv-seller .sidebar { background:var(--iv-ink); }
body.iv-seller .brandmark { background:#e1efeb; color:var(--iv-ink); }
body.iv-seller .subscription { background:#d5e8e2; }
body.iv-seller .nav button.active, body.iv-seller .nav a.active { background:#2c4d55; border-left-color:#8fc9bd; }
body.iv-seller .topbar { border-color:var(--iv-line); }
body.iv-seller .content { max-width:1500px; }
body.iv-seller .pagehead h1, body.iv-seller .drawerhead h2, body.iv-seller .previewbody h3 { font-family:inherit; color:var(--iv-ink); }
body.iv-seller .panel, body.iv-seller .stat { border-radius:7px; box-shadow:none; }
body.iv-seller .panelhead h2 { color:var(--iv-ink); }
body.iv-seller .btn.primary { background:var(--iv-teal); border-color:var(--iv-teal); }
body.iv-seller .btn.sand { background:#d5e8e2; border-color:#d5e8e2; color:var(--iv-ink); }
body.iv-seller .tag.green, body.iv-seller .status.confirmed, body.iv-seller .status.delivered { background:#e6f2ee; color:#075e5a; }
body.iv-seller .table-wrap { border-radius:7px; }
body.iv-seller .table th { background:#edf3f1; }
body.iv-seller .drawerhead { background:var(--iv-ink); }
body.iv-seller .toast { background:var(--iv-ink); }

body.iv-platform { --p:var(--iv-teal); --pd:var(--iv-teal-dark); --bg:var(--iv-canvas); --paper:#fff; --ink:var(--iv-ink); --muted:var(--iv-muted); --line:var(--iv-line); --soft:var(--iv-teal-pale); --red:var(--iv-coral); --amber:#9a5b15; --blue:#356f8b; --shadow:var(--iv-shadow); --r:8px; }
body.iv-platform .sidebar { background:var(--iv-ink); border-color:#24444c; }
body.iv-platform .side-label { color:#b8cdca; }
body.iv-platform .nav button { color:#d7e4e1; }
body.iv-platform .nav button:hover { background:#ffffff12; }
body.iv-platform .nav button.active { background:#2b4d54; color:#fff; }
body.iv-platform .nav button.active .ico { color:#a6d9ce; }
body.iv-platform .main, body.iv-platform { background:var(--iv-canvas); }
body.iv-platform .heading h1, body.iv-platform .panel-head h3 { font-family:inherit; color:var(--iv-ink); }
body.iv-platform .panel, body.iv-platform .stat { border-radius:7px; box-shadow:none; }
body.iv-platform .btn.primary { background:var(--iv-teal); }
body.iv-platform .notice { background:var(--iv-teal-pale); border-color:#c9e0dc; color:var(--iv-teal-dark); }
body.iv-platform .table-wrap { border-radius:6px; }
body.iv-platform th { background:#edf3f1; }
body.iv-platform .modal { border-radius:8px; }
body.iv-platform .toast { background:var(--iv-ink); }

body.iv-admin { --primary:var(--iv-teal); --primary-dark:var(--iv-teal-dark); --bg:var(--iv-canvas); --surface:#fff; --ink:var(--iv-ink); --muted:var(--iv-muted); --line:var(--iv-line); --soft:var(--iv-teal-pale); --accent:var(--iv-coral); }
body.iv-admin .sidebar { background:var(--iv-ink); border-color:#24444c; }
body.iv-admin .sidebar :where(a,button) { color:#d7e4e1; }
body.iv-admin .sidebar :where(a:hover,button:hover) { background:#ffffff12; }
body.iv-admin .sidebar :where(.active) { background:#2b4d54; color:#fff; }
body.iv-admin .main, body.iv-admin { background:var(--iv-canvas); }
body.iv-admin :where(h1,h2,h3) { font-family:inherit; color:var(--iv-ink); }
body.iv-admin .panel, body.iv-admin .card, body.iv-admin .stat { border-radius:7px; box-shadow:none; }
body.iv-admin .btn.primary, body.iv-admin .primary { background:var(--iv-teal); }
body.iv-admin .notice, body.iv-admin .softbtn { background:var(--iv-teal-pale); border-color:#c9e0dc; color:var(--iv-teal-dark); }
body.iv-admin .table-wrap { border-radius:6px; }
body.iv-admin th { background:#edf3f1; }
body.iv-admin .modal { border-radius:8px; }

/* Responsive, petits écrans tactiles et réduction du mouvement. */
@media (max-width: 900px) {
  body.iv-register .benefits-grid, body.iv-register .pricing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.iv-shop .featured { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width: 680px) {
  body.iv-market .layout { grid-template-columns:minmax(0,1fr); }
  body.iv-market .products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.iv-market .card-actions { grid-template-columns:1fr; }
  body.iv-register .benefits-grid, body.iv-register .pricing-grid { grid-template-columns:minmax(0,1fr); }
  body.iv-register .reg-hero { padding-block:36px; }
  body.iv-shop .featured, body.iv-shop .about, body.iv-shop .contact-grid { grid-template-columns:minmax(0,1fr); }
  body.iv-shop .featured { gap:20px; }
  body.iv-shop .actions { flex-wrap:wrap; }
  body.iv-shop .add-button { flex:1 1 180px; }
  body.iv-shop .products-grid, body.iv-shop .reviews { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  body.iv-settings .grid2, body.iv-settings .grid3, body.iv-settings .preview { grid-template-columns:minmax(0,1fr); }
  body.iv-settings .main { padding:20px 14px 42px; }
  body.iv-seller .content { padding:18px 14px 42px; }
  body.iv-seller .stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.iv-seller .charts, body.iv-seller .layout { grid-template-columns:minmax(0,1fr); }
  body.iv-platform .sidebar, body.iv-admin .sidebar { position:relative; inset:auto; width:100%; height:auto; max-height:none; padding:10px 12px; }
  body.iv-platform .nav, body.iv-admin .nav { display:flex; overflow-x:auto; gap:5px; }
  body.iv-platform .nav button, body.iv-admin .nav button { flex:0 0 auto; white-space:nowrap; }
  body.iv-platform .main, body.iv-admin .main { margin-left:0; }
  body.iv-platform .content, body.iv-admin .content { padding:18px 14px 38px; }
  body.iv-platform .cards, body.iv-admin .cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.iv-platform .grid2, body.iv-admin .grid2, body.iv-platform .editor-layout { grid-template-columns:minmax(0,1fr); }
}
@media (max-width: 420px) {
  body.iv-market .product-info { padding:8px; }
  body.iv-market .product-name { font-size:11px; }
  body.iv-shop .products-grid, body.iv-shop .reviews { grid-template-columns:minmax(0,1fr); }
  body.iv-seller .stats, body.iv-platform .cards, body.iv-admin .cards { grid-template-columns:minmax(0,1fr); }
  body.iv-platform .heading, body.iv-admin .heading { display:block; }
}
@media (prefers-reduced-motion: reduce) {
  :where(body.iv-market,body.iv-shop,body.iv-register,body.iv-settings,body.iv-seller,body.iv-platform,body.iv-admin,body.iv-vendor-page) *,
  :where(body.iv-market,body.iv-shop,body.iv-register,body.iv-settings,body.iv-seller,body.iv-platform,body.iv-admin,body.iv-vendor-page) *::before,
  :where(body.iv-market,body.iv-shop,body.iv-register,body.iv-settings,body.iv-seller,body.iv-platform,body.iv-admin,body.iv-vendor-page) *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
}


/* Pages publiques de compte et documents juridiques : continuité avec /register. */
body.iv-account, body.iv-legal {
  --primary: var(--iv-teal); --primary-hover: var(--iv-teal-dark);
  --primary-light: var(--iv-teal-pale); --accent: var(--iv-coral);
  --bg: var(--iv-canvas); --surface: #fff; --surface-soft: var(--iv-soft);
  --text: var(--iv-ink); --text-muted: var(--iv-muted);
  --line: var(--iv-line); --line-dark: #c4d2ce;
  --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px;
  --shadow-sm: var(--iv-shadow); --shadow-md: var(--iv-shadow);
  --shadow-lg: 0 18px 48px rgba(24,51,61,.16);
  background: var(--iv-canvas); color: var(--iv-ink);
  font-family: system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
body.iv-account .top, body.iv-legal .top {
  min-height: 80px; height: auto; padding: 10px max(20px, calc((100vw - 1160px)/2));
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--iv-line);
  backdrop-filter: blur(14px);
}
body.iv-account .brand, body.iv-legal .brand {
  color: var(--iv-ink); font-family: inherit; font-size: 24px; font-weight: 750;
  letter-spacing: -.035em; gap: 12px;
}
body.iv-account .brand-logo, body.iv-legal .brand-logo {
  width: 42px; height: 42px; filter: none;
}
body.iv-account .brand span, body.iv-legal .brand span {
  margin: 0; vertical-align: initial; color: var(--iv-muted);
  font: 600 12px/1.3 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  letter-spacing: 0;
}
body.iv-account .nav, body.iv-legal .nav { gap: clamp(10px,2vw,26px); }
body.iv-account .nav a, body.iv-legal .nav a {
  color: var(--iv-ink-2); font-size: 13px; font-weight: 650;
}
body.iv-account .nav a:hover, body.iv-legal .nav a:hover { color: var(--iv-teal); }
body.iv-account main.wrap {
  width: min(100%, 1180px); flex: 1; display: grid; align-content: center;
  padding-block: clamp(36px,7vw,84px); position: relative;
}
body.iv-account main.wrap::before {
  content: "ESPACE CLIENT & VENDEUR"; display: block; width: min(100%,560px);
  margin: 0 auto 12px; color: var(--iv-teal-dark); font-size: 11px;
  font-weight: 800; letter-spacing: .13em;
}
body.iv-account .form-card {
  border: 1px solid var(--iv-line); border-top: 4px solid var(--iv-teal);
  border-radius: 8px; box-shadow: 0 18px 46px rgba(24,51,61,.09);
  backdrop-filter: none; padding: clamp(22px,4vw,38px);
}
body.iv-account .form-card h1 {
  color: var(--iv-ink); font-family: inherit; font-size: clamp(25px,4vw,34px);
  font-weight: 750; letter-spacing: -.04em; line-height: 1.16;
}
body.iv-account .form-card .eyebrow { color: var(--iv-teal-dark); }
body.iv-account .form-card p { color: var(--iv-muted); }
body.iv-account .form-card a { color: var(--iv-teal-dark); font-weight: 650; }
body.iv-account .form-card .button {
  background: var(--iv-teal); border-radius: 6px; box-shadow: none;
}
body.iv-account .form-card .button:hover { background: var(--iv-teal-dark); }
body.iv-account .form-card .notice { background: var(--iv-teal-pale); border-color: #c9e0dc; color: var(--iv-ink-2); }
body.iv-account .form-card input:focus-visible { outline-color: var(--iv-teal); }
body.iv-legal main.legal-wrap {
  width: min(100%, 980px); flex: 1; padding-block: clamp(32px,5vw,62px) 70px;
}
body.iv-legal .legal-wrap > h1 {
  max-width: 800px; color: var(--iv-ink); font-family: inherit;
  font-size: clamp(29px,4vw,42px); line-height: 1.12; font-weight: 760;
  letter-spacing: -.045em; margin: 0 0 10px;
}
body.iv-legal .legal-updated { font-size: 13px; color: var(--iv-muted); margin-bottom: 24px; }
body.iv-legal .legal-card {
  background: #fff; border: 1px solid var(--iv-line); border-radius: 7px;
  box-shadow: 0 8px 26px rgba(24,51,61,.045); padding: clamp(18px,3vw,30px);
  margin-bottom: 14px;
}
body.iv-legal .legal-card h2 {
  color: var(--iv-ink); font-family: inherit; font-size: 19px; font-weight: 750;
  letter-spacing: -.02em; padding-bottom: 10px; border-bottom: 1px solid var(--iv-line);
}
body.iv-legal .legal-card h3 { color: var(--iv-ink); font-family: inherit; }
body.iv-legal .legal-text { color: #355159; font-size: 14px; line-height: 1.85; }
body.iv-legal .legal-text p { margin: 0 0 12px; }
body.iv-legal .legal-text b { color: var(--iv-ink); }
body.iv-legal .legal-report { background: #f6f9f7; box-shadow: none; }
body.iv-legal .legal-grid input:focus, body.iv-legal .legal-grid select:focus,
body.iv-legal .legal-grid textarea:focus { border-color: var(--iv-teal); box-shadow: 0 0 0 3px rgba(8,126,120,.12); }
body.iv-legal .legal-wrap > p:last-child a { color: var(--iv-teal-dark); font-weight: 700; }
/* Un même langage de marque pour les deux structures de pied de page publiques. */
body.iv-register footer.site-footer, body.iv-account .site-foot, body.iv-legal .site-foot { background: var(--iv-ink); }
body.iv-account .site-foot, body.iv-legal .site-foot { color: #e2e8e4; }
body.iv-account .site-foot-in, body.iv-legal .site-foot-in { max-width: 1160px; padding: 42px 24px 30px; gap: 20px; }
body.iv-account .site-foot-brand b, body.iv-legal .site-foot-brand b { color: #fff; font: 700 19px system-ui,-apple-system,"Segoe UI",Arial,sans-serif; }
body.iv-account .site-foot-brand small, body.iv-legal .site-foot-brand small { color: #b8cdca; font-size: 13px; line-height: 1.65; }
body.iv-account .site-foot-links, body.iv-legal .site-foot-links { gap: 10px 22px; }
body.iv-account .site-foot-links a, body.iv-legal .site-foot-links a { color: #d7e4e1; font-size: 13px; }
body.iv-account .site-foot-links a:hover, body.iv-legal .site-foot-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body.iv-account .site-foot-copy, body.iv-legal .site-foot-copy { color: #b8cdca; border-color: #31545b; font-size: 12px; }
@media (max-width: 640px) {
  body.iv-account .top, body.iv-legal .top { padding: 9px 14px; }
  body.iv-account .brand, body.iv-legal .brand { font-size: 20px; }
  body.iv-account .brand-logo, body.iv-legal .brand-logo { width: 34px; height: 34px; }
  body.iv-account .nav, body.iv-legal .nav { gap: 4px; }
  body.iv-account .nav a, body.iv-legal .nav a { font-size: 11px; padding: 4px; }
  body.iv-account main.wrap::before { width: 100%; }
  body.iv-legal .legal-wrap { padding-top: 30px; }
  body.iv-account .site-foot-in, body.iv-legal .site-foot-in { padding: 32px 18px 24px; }
}

/* Boutons ciblés du dashboard vendeur : taille selon leur libellé, sans étirement. */
body.iv-seller .btn-fit-label { width:fit-content; max-width:100%; flex:0 0 auto; }
