:root {
  --bg: #0a0a0d; --sidebar: #0c0c11; --card: #131319; --card2: #191920; --card-h: #20212b;
  --line: rgba(255,255,255,.06); --line2: rgba(255,255,255,.11); --line3: rgba(255,255,255,.16);
  --txt: #f5f6f8; --muted: #9aa0ad; --faint: #61667a;
  --accent: #8b78ff; --accent2: #b49dff;
  --grad: linear-gradient(135deg, #6d5dfc 0%, #9b6bff 100%);
  --grad-soft: linear-gradient(135deg, rgba(109,93,252,.18), rgba(155,107,255,.14));
  --accent-soft: rgba(124,108,255,.13);
  --ok: #3ecf8e; --ok-soft: rgba(62,207,142,.14);
  --bad: #ff6168; --bad-soft: rgba(255,97,104,.14);
  --warn: #f5c451; --warn-soft: rgba(245,196,81,.15); --info: #5b9dff;
  --c-blue: #5b9dff; --c-emerald: #3ecf8e; --c-violet: #a78bfa; --c-amber: #f5c451; --c-pink: #f472b6;
  --chip: rgba(255,255,255,.05); --radius: 15px;
  --shadow: 0 1px 1px rgba(0,0,0,.3), 0 8px 30px rgba(0,0,0,.26);
  --glow: 0 8px 26px rgba(109,93,252,.34);
}
[data-theme="light"] {
  --bg: #f6f7fb; --sidebar: #ffffff; --card: #ffffff; --card2: #f5f6fa; --card-h: #eef0f6;
  --line: rgba(14,16,28,.08); --line2: rgba(14,16,28,.14); --line3: rgba(14,16,28,.2);
  --txt: #15171f; --muted: #565d6c; --faint: #8b91a1;
  --accent: #6d5dfc; --accent2: #7c4ddb;
  --grad: linear-gradient(135deg, #6d5dfc 0%, #9333ea 100%);
  --grad-soft: linear-gradient(135deg, rgba(109,93,252,.1), rgba(147,51,234,.08));
  --accent-soft: rgba(109,93,252,.1);
  --ok: #0ca678; --ok-soft: rgba(12,166,120,.12);
  --bad: #e8505b; --bad-soft: rgba(232,80,91,.1);
  --warn: #d9a300; --warn-soft: rgba(217,163,0,.13); --info: #2f6fed;
  --c-blue: #2f72e0; --c-emerald: #0ca678; --c-violet: #7c4ddb; --c-amber: #c98a00; --c-pink: #db2777;
  --chip: rgba(14,16,28,.04);
  --shadow: 0 1px 2px rgba(14,16,28,.05), 0 8px 24px rgba(14,16,28,.06);
  --glow: 0 8px 22px rgba(109,93,252,.22);
}
[data-theme="light"] .lp-pv { box-shadow: 0 30px 70px rgba(24,26,44,.12); }
[data-theme="light"] .lp-feat:hover, [data-theme="light"] .lp-step:hover { box-shadow: 0 16px 34px rgba(24,26,44,.10); }
[data-theme="light"] .lp-waitlist { box-shadow: 0 22px 54px rgba(24,26,44,.10); }
[data-theme="light"] .lp-cookies { box-shadow: 0 8px 24px rgba(24,26,44,.10); }
[data-theme="light"] .lp-lang-menu { box-shadow: 0 16px 40px rgba(24,26,44,.13); }
[data-theme="light"] .login-card { box-shadow: 0 22px 54px rgba(24,26,44,.13); }
[data-theme="light"] .pane, [data-theme="light"] .tree, [data-theme="light"] .fb { background: var(--card2); }
[data-theme="light"] .lp-hero-intro::before { background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 15%, transparent), transparent 70%); }
[data-theme="light"] .lp-pv-term { background: #0e0e13; }
* { box-sizing: border-box; }
html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
option, optgroup { background: #15161d; color: #f0f1f4; }
html[data-theme="light"] option { background: #fff; color: #15171f; }
body { margin: 0; color: var(--txt);
  font-family: "Inter", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; letter-spacing: -.012em;
  background:
    radial-gradient(1100px 560px at 78% -240px, rgba(124,108,255,.10), transparent 62%),
    radial-gradient(900px 500px at 8% -180px, rgba(155,107,255,.06), transparent 60%),
    var(--bg);
  background-attachment: fixed; }
a { color: inherit; text-decoration: none; }
.layout { display: flex; min-height: 100vh; }


.side { width: 256px; flex-shrink: 0; background: var(--sidebar); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 18px 14px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px 22px; }
a.brand { cursor: pointer; transition: opacity .14s; } a.brand:hover { opacity: .82; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 14px rgba(109,93,252,.35); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand .word { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.byline { font-size: 10.5px; font-weight: 500; letter-spacing: 0; margin-top: 2px; color: var(--muted); white-space: nowrap; }
/* --- Sélecteur de workspace (haut de la sidebar) --- */
.ws-switcher { margin: 9px 0 14px; position: relative; }
.ws-switcher > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 10px 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--card2);
  transition: border-color .15s, background .15s; }
.ws-switcher > summary::-webkit-details-marker { display: none; }
.ws-switcher > summary:hover { border-color: var(--line2); background: var(--card-h); }
.ws-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex-shrink: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.ws-id { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; flex: 1; }
.ws-name { font-weight: 700; font-size: 13.5px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-role { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: capitalize; margin-top: 1px; }
.ws-caret { flex-shrink: 0; color: var(--faint); display: flex; transition: transform .2s; }
.ws-caret svg { width: 15px; height: 15px; }
.ws-switcher[open] > summary { border-color: var(--accent); background: var(--card-h); }
.ws-switcher[open] .ws-caret { transform: rotate(180deg); }
.ws-menu { margin-top: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  box-shadow: 0 10px 30px rgba(0,0,0,.28); display: flex; flex-direction: column; gap: 2px; }
.ws-menu-lbl { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--faint); padding: 6px 9px 4px; }
.ws-plan-tag { flex-shrink: 0; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 7px; line-height: 1; align-self: center;
  background: linear-gradient(135deg, var(--accent2), var(--c-pink)); color: #fff;
  box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--accent) 60%, transparent); }
.ws-menu-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.ws-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 9px;
  border-radius: 9px; text-decoration: none; transition: background .12s; }
.ws-foot:hover { background: var(--card-h); }
.ws-foot-l { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); min-width: 0; }
.ws-foot-k { color: var(--muted); font-weight: 600; flex-shrink: 0; }
.ws-foot-l strong { color: var(--txt); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-foot-plan { flex-shrink: 0; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 6px; color: #fff; background: linear-gradient(135deg, var(--accent2), var(--c-pink)); }
.ws-foot-go { flex-shrink: 0; font-size: 11.5px; font-weight: 700; color: var(--accent); }
.lang-switch { position: relative; }
.lang-switch > summary { list-style: none; cursor: pointer; }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-pop { position: absolute; bottom: calc(100% + 6px); left: 0; right: 0; padding: 6px;
  background: var(--card2, var(--card)); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 14px 34px -12px rgba(0,0,0,.45); z-index: 60; max-height: 260px; overflow: auto; }
.lang-opt { display: block; padding: 8px 10px; border-radius: 7px; font-size: 13px; font-weight: 500;
  color: var(--txt); text-decoration: none; transition: background .12s; }
.lang-opt:hover { background: var(--card-h); }
.lang-opt.on { background: var(--accent-soft); color: var(--accent2); font-weight: 600; }
.ws-item { display: flex; align-items: center; gap: 9px; padding: 9px 9px; border-radius: 9px; font-size: 13px; font-weight: 500;
  color: var(--txt); text-decoration: none; transition: background .12s; }
.ws-item:hover { background: var(--card-h); }
.ws-item.on { background: var(--accent-soft); }
.ws-dot2 { width: 7px; height: 7px; border-radius: 50%; background: var(--line2); flex-shrink: 0; }
.ws-item.on .ws-dot2 { background: var(--ok); }
.ws-item-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-item-role { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: capitalize; }
.ws-add, .ws-upsell { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; padding-top: 11px; color: var(--accent2); font-weight: 600; }
.ws-add svg, .ws-upsell svg { width: 15px; height: 15px; }
.ws-add:hover, .ws-upsell:hover { background: var(--accent-soft); }
.ws-pro { margin-left: auto; font-size: 9px; font-weight: 800; letter-spacing: .5px; color: #fff;
  background: linear-gradient(90deg, var(--accent2), var(--c-pink)); padding: 2px 7px; border-radius: 5px; }
.ws-empty { display: flex; align-items: center; gap: 11px; margin: 2px 0 14px; padding: 11px;
  border: 1px dashed var(--line2); border-radius: 12px; text-decoration: none; color: var(--txt); transition: border-color .15s, background .15s; }
.ws-empty:hover { border-color: var(--accent); background: var(--accent-soft); }
.ws-empty-ic { display: flex; width: 34px; height: 34px; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent2); }
.ws-empty-ic svg { width: 17px; height: 17px; }
.ws-empty span { display: flex; flex-direction: column; line-height: 1.25; }
.ws-empty-sub { font-size: 11px; color: var(--muted); font-weight: 500; }

/* --- Cartes de plans (création de workspace) --- */
.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 4px; max-width: 1080px; }
.plan-card { position: relative; cursor: pointer; display: block; }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-inner { border: 1.5px solid var(--line2); border-radius: 14px; padding: 16px 16px 14px; height: 100%;
  background: var(--card2); transition: border-color .15s, box-shadow .15s, transform .15s, background .15s; }
.plan-card:hover .plan-inner { border-color: var(--line2); transform: translateY(-2px); }
.plan-card input:checked + .plan-inner { border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--accent-soft); }
.plan-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.plan-name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.plan-tag { margin-left: auto; font-size: 9px; font-weight: 800; letter-spacing: .5px; color: #fff;
  background: linear-gradient(90deg, var(--accent2), var(--c-pink)); padding: 2px 7px; border-radius: 5px; }
.plan-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 12px; }
.plan-amount { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.plan-per { font-size: 12px; color: var(--muted); font-weight: 500; }
.plan-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.plan-feats li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--txt); }
.plan-feats svg { width: 14px; height: 14px; color: var(--ok); flex-shrink: 0; }

/* --- Page Plan & utilisation --- */
.plan-hero { display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--accent-soft), transparent 70%); }
.plan-hero-l { flex: 1; min-width: 180px; }
.plan-hero-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--faint); }
.plan-hero-name { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 4px; }
.plan-hero-price .amount { font-size: 17px; font-weight: 700; }
.plan-hero-price .per { font-size: 12.5px; color: var(--muted); margin-left: 4px; }
.plan-hero-status { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.usage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 16px; }
.usage-card { border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; background: var(--card); }
.usage-card.is-near { border-color: var(--warn); }
.usage-card.is-over { border-color: var(--danger, #e5484d); }
.usage-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.usage-ic { display: flex; color: var(--accent2); }
.usage-ic svg { width: 16px; height: 16px; }
.usage-lbl { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.usage-num { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.usage-max { font-size: 14px; font-weight: 600; color: var(--faint); }
.usage-bar { height: 7px; border-radius: 4px; background: var(--card2); overflow: hidden; margin: 11px 0 8px; }
.usage-bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent2), var(--c-pink)); transition: width .4s; }
.usage-card.is-near .usage-bar span { background: var(--warn); }
.usage-card.is-over .usage-bar span { background: var(--danger, #e5484d); }
.usage-note { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.plan-card-static { position: relative; }
.plan-card-static.is-current .plan-inner { border-color: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent); }
.plan-card-static .plan-inner { display: flex; flex-direction: column; }
.plan-card-static .plan-feats { margin-bottom: 16px; flex: 1; }

/* ---- Page Plan (bannière plan courant + alerte + usage) ---- */
.pl-alert { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.pl-alert.is-warn { border-color: var(--warn); background: var(--warn-soft, rgba(245,196,81,.08)); }
.pl-alert.is-bad { border-color: var(--danger, #e5484d); background: rgba(229,72,77,.08); }
.pl-alert-txt { flex: 1; min-width: 220px; font-size: 13px; line-height: 1.45; }
.pl-alert-txt strong { font-weight: 800; }

.pl-now { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; margin-bottom: 18px;
  background: radial-gradient(120% 160% at 0% 0%, var(--accent-soft), transparent 55%), var(--card); }
.pl-now-lbl { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: var(--accent); }
.pl-now-row { display: flex; align-items: center; gap: 11px; margin: 5px 0 6px; flex-wrap: wrap; }
.pl-now-name { font-size: 27px; font-weight: 850; letter-spacing: -.025em; line-height: 1; }
.pl-now-price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.pl-now-price .amount { font-size: 18px; font-weight: 800; }
.pl-now-price .per { font-size: 12.5px; color: var(--muted); margin-left: -4px; }
.pl-now-renew { font-size: 12px; color: var(--faint); }
/* Liste workspaces (admin) : nom + slug en sous-titre discret */
.adm-ws { display: inline-flex; flex-direction: column; gap: 1px; line-height: 1.25; text-decoration: none; }
.adm-ws strong { color: var(--text); }
.adm-ws:hover strong { color: var(--accent); }
.adm-ws-slug { font-size: 10.5px; color: var(--faint); font-family: var(--mono, ui-monospace, monospace); letter-spacing: .01em; }
.pl-now-pm { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; }
.pl-now-pm::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line2); margin: 0 8px 0 2px; }
.pl-now-act { display: flex; gap: 10px; flex-wrap: wrap; }
/* Historique de paiement (factures Stripe) */
.pl-invoices h2 { font-size: 15px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.inv-wrap { overflow-x: auto; }
.inv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.inv-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--faint); font-weight: 600; padding: 0 14px 8px 0; }
.inv-table td { padding: 11px 14px 11px 0; border-top: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.inv-table tbody tr:first-child td { border-top: 1px solid var(--line2); }
.inv-act { text-align: right; width: 1%; }
.btn.xs { padding: 4px 10px; font-size: 11.5px; border-radius: 8px; }
.pp-prov { margin-top: 6px; width: 100%; color: var(--muted); border-style: dashed; }
.pp-prov:hover { color: var(--text); }
@media (max-width: 560px){ .pl-now-act { width: 100%; } .pl-now-act .btn, .pl-now-act form { flex: 1; } }

.usage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px 28px; margin-top: 4px; }

/* ---- Page Plan (ancien hero, conservé pour compat) ---- */
.plan-hero2 { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 22px; align-items: stretch;
  border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin-bottom: 22px;
  background: radial-gradient(120% 140% at 0% 0%, var(--accent-soft), transparent 55%), var(--card); }
.plan-hero2-lbl { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: var(--accent); }
.plan-hero2-name { font-size: 30px; font-weight: 850; letter-spacing: -.025em; margin: 4px 0 6px; }
.plan-hero2-price .amount { font-size: 19px; font-weight: 800; }
.plan-hero2-price .per { font-size: 12.5px; color: var(--muted); margin-left: 5px; }
.plan-hero2-status { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.plan-hero2-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.plan-hero2-usage { display: flex; flex-direction: column; justify-content: center; gap: 13px;
  border-left: 1px solid var(--line); padding-left: 22px; }
.urow-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.urow-lbl { font-size: 12px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.urow-lbl svg { width: 14px; height: 14px; color: var(--accent2); }
.urow-num { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.urow-max { font-size: 12px; font-weight: 600; color: var(--faint); }
.ubar { height: 6px; border-radius: 4px; background: var(--card2); overflow: hidden; }
.ubar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent2), var(--c-pink)); transition: width .4s; }
.urow.is-near .ubar span { background: var(--warn); }
.urow.is-over .ubar span { background: var(--danger, #e5484d); }
/* Limite illimitée : barre pleine mais atténuée (= « beaucoup de marge », pas « presque vide »). */
.urow.is-inf .ubar span { opacity: .3; }
@media (max-width: 760px){ .plan-hero2 { grid-template-columns: 1fr; }
  .plan-hero2-usage { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; } }

/* Page Plans : section offres (refonte conversion, branding Ferry) */
.pp-hero { text-align: center; margin: 32px 0 32px; }
.pp-eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent2); background: var(--accent-soft); padding: 4px 13px; border-radius: 999px; margin-bottom: 13px; }
.pp-h2 { font-size: 27px; font-weight: 850; letter-spacing: -.03em; margin: 0 0 9px; line-height: 1.1;
  background: linear-gradient(115deg, var(--txt) 30%, var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pp-sub { font-size: 14px; color: var(--muted); max-width: 540px; margin: 0 auto; line-height: 1.55; }

.pp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; align-items: stretch; }
.pp-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 22px 22px; background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 120px), var(--card);
  box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  animation: pp-rise .55s cubic-bezier(.2,.7,.3,1) backwards; }
.pp-card:nth-child(2) { animation-delay: .07s; } .pp-card:nth-child(3) { animation-delay: .14s; } .pp-card:nth-child(4) { animation-delay: .21s; }
@keyframes pp-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pp-card:hover { transform: translateY(-4px); border-color: var(--line2); }
.pp-card.is-current { border-color: color-mix(in srgb, var(--ok) 50%, var(--line)); }
/* Carte vedette : bordure dégradée + halo coloré + léger relief */
.pp-card.is-pop { border-color: transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box;
  box-shadow: 0 22px 55px -22px color-mix(in srgb, var(--accent) 75%, transparent), var(--shadow); }
@media (min-width: 840px) { .pp-card.is-pop { transform: scale(1.035); } .pp-card.is-pop:hover { transform: scale(1.035) translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .pp-card { animation: none; } }

.pp-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; }
.pp-badge.pop { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.pp-badge.cur { background: var(--ok); color: #06210f; border: none; box-shadow: 0 4px 14px rgba(62,207,142,.34); }
.pp-name { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent2); }
.pp-price { display: flex; align-items: baseline; gap: 3px; margin: 11px 0 2px; }
.pp-price .amt { font-size: 42px; font-weight: 850; letter-spacing: -.035em; line-height: 1; }
.pp-price .amt-txt { font-size: 23px; font-weight: 850; letter-spacing: -.02em; line-height: 1.15;
  background: linear-gradient(120deg, var(--accent2), var(--c-pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pp-price .cur { font-size: 19px; font-weight: 800; color: var(--muted); }
.pp-price .per { font-size: 12.5px; color: var(--faint); margin-left: 5px; align-self: center; }
.pp-trial-slot { min-height: 26px; margin-top: 8px; display: flex; align-items: flex-start; }
.pp-trial { font-size: 11.5px; font-weight: 700; color: var(--accent2); margin: 0; display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; align-self: flex-start; }
.pp-trial svg { width: 13px; height: 13px; }
.pp-card .btn.lg { width: 100%; justify-content: center; margin: 17px 0 2px; }
.pp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 16px 0 2px; padding: 15px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; line-height: 1.05; min-width: 0; }
.pp-stat b { font-size: 17px; font-weight: 850; letter-spacing: -.02em; }
.pp-stat span { font-size: 8.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.pp-list { list-style: none; margin: 15px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pp-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.35; color: var(--txt); }
.pp-list li svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent2); margin-top: 1px; }
.pp-list .pp-more { color: var(--muted); }
.pp-list .pp-more svg { color: var(--faint); }
/* Petit « i » d'aide : explique un avantage au survol (tooltip natif, zéro surcharge visuelle) */
.pp-i { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px;
  margin-left: 5px; border-radius: 50%; border: 1px solid var(--line2); color: var(--faint);
  font-size: 9px; font-weight: 700; font-style: italic; line-height: 1; cursor: help;
  vertical-align: middle; transition: color .12s, border-color .12s; flex-shrink: 0; }
.pp-i:hover, .pp-i:focus { color: var(--accent2); border-color: var(--accent2); outline: none; }
/* Enterprise : barre fine sous les cartes */
.pp-ent { display: flex; align-items: center; justify-content: space-between; gap: 16px 22px; flex-wrap: wrap; margin-top: 18px;
  padding: 17px 22px; border: 1px solid color-mix(in srgb, var(--c-pink) 32%, var(--line)); border-radius: 16px;
  background: linear-gradient(110deg, color-mix(in srgb, var(--c-pink) 9%, transparent), transparent 55%), var(--card); }
.pp-ent-l { display: flex; align-items: center; gap: 13px; }
.pp-ent-ic { width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c-pink) 16%, transparent); color: var(--c-pink); }
.pp-ent-ic svg { width: 21px; height: 21px; }
.pp-ent-name { font-size: 15px; font-weight: 800; }
.pp-ent-sub { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.lim-inf { font-weight: 900; font-size: 1.15em; color: var(--accent2); vertical-align: -1px; line-height: 1; }
/* Page Plans : carte « plan actuel + utilisation » fusionnée */
.pl-merged .pl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.pl-merged .pl-usage { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pl-merged .pl-usage-h { font-size: 12px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.pl-merged .pl-usage-h svg { width: 15px; height: 15px; color: var(--accent2); }
/* Usage en TUILES compactes (au lieu de barres étirées sur toute la largeur -> moins de vide). */
.pl-merged .usage-grid { grid-template-columns: repeat(auto-fit, minmax(184px, 1fr)); gap: 12px; margin: 0; }
.pl-merged .urow { background: var(--card2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.pl-merged .urow .ubar { margin-top: 9px; }

/* Grille des offres : centrée, assez large pour aligner 5 cartes */
/* Conteneur commun grille + Entreprise : même largeur -> tout est aligné. La grille remplit ce conteneur
   (auto-fit étire les cartes), et l'Entreprise (hors grille) fait 100% de la même largeur. */
.pp-wrap { max-width: 1340px; margin: 0 auto; }
.pp-grid { width: 100%; }
/* Bannières horizontales pleine largeur : Découverte (haut) + Entreprise (bas). Gabarit commun = .pp-bar. */
.pp-bar { flex-direction: row; align-items: center; justify-content: space-between;
  gap: 16px 26px; flex-wrap: wrap; padding: 16px 24px; animation: none; }
.pp-bar:hover { transform: none; }
.pp-bar .ppe-l { display: flex; align-items: center; gap: 15px; min-width: 0; }
.pp-bar .ppe-desc { font-size: 13px; color: var(--muted); margin-top: 3px; max-width: 680px; }
.pp-bar .btn.lg { width: auto; margin: 0; flex-shrink: 0; }
.ppe-ic { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c-pink) 16%, transparent); color: var(--c-pink); }
.ppe-ic svg { width: 24px; height: 24px; }
.ppe-name { font-size: 18px; font-weight: 850; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ppe-price { font-size: 11px; font-weight: 800; color: var(--c-pink); white-space: nowrap; letter-spacing: .01em;
  background: color-mix(in srgb, var(--c-pink) 15%, transparent); padding: 3px 10px; border-radius: 999px; }
/* Découverte (gratuit) — bandeau du HAUT, accent neutre. */
.pp-card-free { margin-bottom: 36px; border-color: var(--line2); }
.pp-card-free .ppe-ic { background: var(--accent-soft); color: var(--accent2); }
.ppe-price-free { font-size: 11px; font-weight: 800; color: var(--ok); white-space: nowrap;
  background: var(--ok-soft); padding: 3px 10px; border-radius: 999px; }
.pp-free-cur { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ok); flex-shrink: 0; }
.pp-free-cur svg { width: 16px; height: 16px; }
/* Entreprise — bandeau du BAS, accent rose. */
.pp-card-ent { margin-top: 24px; border-color: color-mix(in srgb, var(--c-pink) 28%, var(--line));
  background: linear-gradient(110deg, color-mix(in srgb, var(--c-pink) 9%, transparent), transparent 55%), var(--card); }
.pp-card { padding: 24px 18px 20px; }

/* Cartes : liste complète de fonctionnalités (le comparatif est DANS la carte). ✗ = grisé. */
/* Toutes les lignes de fonctionnalité ont la MÊME hauteur -> les lignes s'alignent d'une carte à
   l'autre, on peut comparer en lisant horizontalement (même quand un libellé passe sur 2 lignes). */
.pp-list-full { gap: 0; }
.pp-list-full li { align-items: flex-start; min-height: 34px; padding: 5px 0; margin: 0; border-top: 1px solid var(--line); }
.pp-list-full li:first-child { border-top: none; }
.pp-list .cy { color: var(--accent2); display: inline-flex; flex-shrink: 0; }
.pp-list .cn { color: var(--faint); font-size: 15px; font-weight: 700; width: 16px; display: inline-flex; justify-content: center; flex-shrink: 0; }
.pp-list .pp-off { color: var(--faint); }

/* FAQ : plus bas et plus discrète */
.plan-faq { margin-top: 60px; }
.plan-faq h2 { font-size: 15px; }
.plan-faq details { border-top: 1px solid var(--line); padding: 13px 2px; }
.plan-faq details:first-of-type { border-top: none; padding-top: 4px; }
.plan-faq summary { cursor: pointer; font-weight: 600; font-size: 13px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-faq summary::-webkit-details-marker { display: none; }
.plan-faq summary::after { content: "+"; color: var(--faint); font-weight: 700; font-size: 17px; line-height: 1; }
.plan-faq details[open] summary::after { content: "\2212"; }
.plan-faq .faq-a { color: var(--muted); font-size: 12.5px; line-height: 1.55; margin: 8px 0 0; max-width: 700px; }

.plan-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 24px 0 4px; }
.plan-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.plan-trust svg { width: 15px; height: 15px; color: var(--ok); }
.nav { display: flex; flex-direction: column; gap: 1px; flex: 1; overflow-y: auto; margin: 4px -4px 0; padding: 0 4px; }
.nav::-webkit-scrollbar { width: 0; }
.nav-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--faint); padding: 15px 12px 5px; }
.nav-label:first-child { padding-top: 2px; }
.side a, .theme-btn { display: flex; align-items: center; gap: 11px; padding: 9px 12px;
  border-radius: 10px; color: var(--muted); font-size: 13.5px; font-weight: 500;
  transition: background .16s ease, color .16s ease, transform .16s ease; position: relative; }
.side svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.nav-dot { margin-left: auto; min-width: 19px; height: 19px; padding: 0 6px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 1; letter-spacing: .2px;
  box-shadow: 0 2px 7px -2px color-mix(in srgb, var(--accent) 70%, transparent);
  border: 1px solid color-mix(in srgb, #fff 22%, transparent); }
.nav a.on .nav-dot { background: #fff; color: var(--accent); border-color: transparent; box-shadow: none; }
.nav a:hover, .theme-btn:hover { background: var(--card2); color: var(--txt); transform: translateX(2px); }
.nav a:hover svg, .theme-btn:hover svg { transform: scale(1.12); }
.nav a.on { background: var(--grad-soft); color: #fff; }
[data-theme="light"] .nav a.on { color: var(--accent2); }
.nav a.on svg { color: var(--accent2); }
.nav a.on::before { content: ""; position: absolute; left: 3px; top: 50%; width: 3px; height: 0;
  background: var(--grad); border-radius: 4px; transform: translateY(-50%); animation: navon .26s ease forwards; }
@keyframes navon { to { height: 56%; } }
.theme-btn .sw { margin-left: auto; }
.side .bottom { flex-shrink: 0; padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1px; }
.theme-btn { background: none; border: none; cursor: pointer; width: 100%; text-align: left; font-family: inherit; }
.account { display: flex; align-items: center; gap: 10px; margin-top: 9px; padding: 8px 10px;
  border-radius: 12px; background: var(--card2); border: 1px solid var(--line); }
.account .acct-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 0; border-radius: 9px; }
.account .acct-link:hover { transform: none; background: none; }
.account .acct-link:hover .acct-name { color: var(--accent2); }
.avatar { position: relative; width: 33px; height: 33px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--c-pink)); box-shadow: 0 3px 10px rgba(109,93,252,.35); }
.avatar::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ok); border: 2px solid var(--card2); }
.acct-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; flex: 1; }
.acct-name { font-size: 13px; font-weight: 600; color: var(--txt); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .14s; }
.acct-admin { flex-shrink: 0; align-self: center; margin-left: auto; font-size: 8.5px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; padding: 3px 7px; border-radius: 5px; line-height: 1; color: #ff6b6b;
  background: color-mix(in srgb, #e5484d 15%, transparent);
  border: 1px solid color-mix(in srgb, #e5484d 36%, transparent); }
.acct-sub { font-size: 10.5px; color: var(--faint); }
/* Pied de page (liens légaux) du panel. */
.app-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center;
  margin-top: 40px; padding: 18px 0 6px; border-top: 1px solid var(--line); font-size: 12px; }
.app-foot a { color: var(--muted); text-decoration: none; }
.app-foot a:hover { color: var(--txt); }

/* Dashboard admin : bandeau de signaux d'incident. */
.adm-alerts { display: grid; gap: 8px; margin-bottom: 18px; }
.adm-alert { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; padding: 10px 14px;
  border: 1px solid var(--line2); border-left: 4px solid var(--faint); border-radius: 10px;
  background: var(--card); font-size: 13px; }
.adm-alert.is-warn { border-left-color: var(--warn); }
.adm-alert.is-bad { border-left-color: var(--danger, #e5484d); }
.adm-alert-k { font-weight: 800; white-space: nowrap; flex: 0 0 auto; }
.adm-alert-v { color: var(--muted); }
.adm-alert-v a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Badge « Admin » (opérateur Ferry) en rouge, partout dans les listes de membres. */
.tag-admin { display: inline-block; vertical-align: middle; font-size: 9px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; padding: 3px 7px; border-radius: 5px; line-height: 1; color: #ff6b6b;
  background: color-mix(in srgb, #e5484d 15%, transparent);
  border: 1px solid color-mix(in srgb, #e5484d 36%, transparent); }
/* Tableau instance-par-instance du dashboard : compact + scroll interne (ne mange pas la page). */
.dash-instances { max-height: 360px; overflow-y: auto; overflow-x: auto; margin-top: 12px;
  border: 1px solid var(--line); border-radius: 12px; }
.dash-instances::-webkit-scrollbar { width: 8px; }
.dash-instances::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 8px; }
.dash-instances thead th { position: sticky; top: 0; background: var(--card); z-index: 1; }
table.compact th, table.compact td { padding: 7px 12px; font-size: 12.5px; }
table.compact td strong { font-weight: 600; }
/* Menu d'actions par ligne (kebab ⋯) — déclutter les boutons */
.table-wrap { overflow: visible; }
@media (max-width: 900px){ .table-wrap { overflow-x: auto; } }
.rowmenu { position: relative; display: inline-block; }
.rowmenu > summary { list-style: none; cursor: pointer; padding: 6px 11px; font-size: 14px; line-height: 1; }
.rowmenu > summary::-webkit-details-marker { display: none; }
.rowmenu[open] > summary { background: var(--card-h); border-color: var(--line3); }
.rowmenu-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 200; min-width: 196px;
  display: flex; flex-direction: column; gap: 2px; padding: 6px; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 36px rgba(0,0,0,.38); }
.rowmenu-pop form { margin: 0; }
.rowmenu-item { display: block; width: 100%; text-align: left; padding: 8px 12px; border-radius: 8px;
  border: none; background: transparent; color: var(--txt); font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; white-space: nowrap; }
.rowmenu-item:hover { background: var(--card-h); }
/* Dernière ligne du tableau : le menu s'ouvre vers le HAUT pour ne pas passer sous le footer
   (où les liens interceptaient le clic sur « Révoquer » / « Supprimer »). */
tr:last-child .rowmenu-pop { top: auto; bottom: calc(100% + 6px); }
.rowmenu-item.danger { color: var(--bad); }
.rowmenu-item.danger:hover { background: var(--bad-soft); }
.account .acct-out { padding: 7px; gap: 0; border-radius: 9px; color: var(--muted); display: flex; flex-shrink: 0;
  transition: background .15s, color .15s, transform .15s; }
.account .acct-out:hover { background: var(--bad-soft); color: var(--bad); transform: none; }
.account .acct-out svg { width: 17px; height: 17px; }


.main { flex: 1; min-width: 0; padding: 34px 44px 70px; }
.head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 30px; gap: 16px; }
.head h1 { font-size: 25px; font-weight: 700; margin: 0; letter-spacing: -.04em; }
.head .sub { color: var(--muted); font-size: 13px; margin-top: 6px; max-width: 760px; }


.card { background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 140px), var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
.card h2 { font-size: 14px; font-weight: 600; margin: 0 0 18px; letter-spacing: -.02em; }
.grid { display: grid; gap: 13px; }
.stats { grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); margin-bottom: 18px; }
.stat { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 80px), var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 17px 18px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s; }
.stat:hover { transform: translateY(-3px); border-color: var(--line2); }
.stat-ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.stat-ic svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.stat-ic.c1 { background: rgba(91,157,255,.14); color: var(--c-blue); }
.stat-ic.c2 { background: rgba(62,207,142,.15); color: var(--c-emerald); }
.stat-ic.c3 { background: rgba(167,139,250,.16); color: var(--c-violet); }
.stat-ic.c4 { background: rgba(245,196,81,.16); color: var(--c-amber); }
.stat-ic.c5 { background: rgba(244,114,182,.15); color: var(--c-pink); }
.stat .l { color: var(--muted); font-size: 12px; margin-bottom: 4px; font-weight: 500; }
.stat .v { font-size: 24px; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.v.ok { color: var(--ok); } .v.bad { color: var(--bad); } .v.warn { color: var(--warn); }


table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--faint); font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; }
tr:last-child td { border-bottom: none; }
td.r, th.r { text-align: right; }
.utable td { padding: 10px 12px; }
.utable td input, .utable td select { padding: 7px 10px; font-size: 12.5px; }
.utable .btn.sm { padding: 6px 10px; }
tbody tr { transition: background .12s; }
tbody tr:hover td { background: var(--card2); }


.pill { font-size: 10.5px; padding: 3px 9px; border-radius: 7px; display: inline-block; font-weight: 600; letter-spacing: .01em; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.info { background: var(--accent-soft); color: var(--accent2); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.sug { background: var(--accent-soft); color: var(--accent2); font-weight: 700; }
/* Badge « Admin » (opérateur) façon pilule, avec bouclier — utilisé sur la carte de profil. */
.pill.pill-admin { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; color: #ff6b6b; background: color-mix(in srgb, #e5484d 15%, transparent);
  border: 1px solid color-mix(in srgb, #e5484d 34%, transparent); }
.pill.pill-admin svg { width: 12px; height: 12px; stroke-width: 2.4; }
.cov-bar { height: 7px; min-width: 60px; border-radius: 99px; background: var(--line2, #23262e); overflow: hidden; }
.cov-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent2), var(--accent)); }

/* Répartition des groupes (dashboard) — lignes lisibles avec pastille de couleur */
.grp-row { display: flex; align-items: flex-start; gap: 11px; padding: 9px 0; }
.grp-row + .grp-row { border-top: 1px solid var(--line); }
.grp-dot { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; margin-top: 3px; }

/* Réseau, instance par instance (dashboard) — liste en grille alignée, plus de table clairsemée */
.inst-list { margin-top: 4px; }
.inst-row { display: grid; grid-template-columns: minmax(150px, 1.6fr) minmax(120px, 2fr) 72px 84px 112px;
  align-items: center; gap: 18px; padding: 12px 10px; border-radius: 10px; }
.inst-row + .inst-row { border-top: 1px solid var(--line); }
.inst-row:not(.inst-head):hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.inst-head { padding: 0 10px 9px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line2); }
.inst-head + .inst-row { border-top: none; }
.inst-row .r { text-align: right; }
.inst-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.inst-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inst-sub { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.inst-sub svg { width: 13px; height: 13px; opacity: .65; flex-shrink: 0; }
.inst-num { font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 680px) {
  .inst-row { grid-template-columns: 1fr auto; gap: 10px; }
  .inst-cov, .inst-row .inst-num, .inst-head { display: none; }
}
tr.suggested td { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.chip { background: var(--chip); border: 1px solid var(--line); border-radius: 9px; padding: 5px 12px; font-size: 12.5px; display: inline-block; font-weight: 500; transition: border-color .12s, background .12s; }
.chip:hover { border-color: var(--line2); background: var(--card2); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }

/* Badge nom de groupe — remplace le style monospace/code « code » jugé moche. Lisible, accentué. */
.gtag { display: inline-flex; align-items: center; gap: 5px; max-width: 240px; vertical-align: middle;
  padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent2); }
.gtag svg { width: 12px; height: 12px; flex-shrink: 0; stroke-width: 2; }
.gtag > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gtag.auto { background: color-mix(in srgb, var(--c-blue) 13%, transparent); color: var(--c-blue); }
.gtag.none { background: transparent; color: var(--faint); font-weight: 400; padding-left: 0; }


.btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 10px;
  border: 1px solid var(--line2); background: var(--card2); color: var(--txt); font-size: 13px; font-weight: 550;
  font-family: inherit; cursor: pointer; transition: filter .14s, border-color .14s, background .14s, transform .08s; white-space: nowrap; }
.btn:hover { background: var(--card-h); border-color: var(--line3); }
.btn:active { transform: scale(.975); }
.btn.primary { background: var(--grad); border: none; color: #fff; box-shadow: var(--glow); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { background: transparent; border-color: var(--bad-soft); color: var(--bad); }
.btn.danger:hover { background: var(--bad-soft); border-color: var(--bad); }
.btn.danger.solid { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.danger.solid:hover { background: var(--bad); filter: brightness(1.08); }
.btn.sm { padding: 6px 12px; font-size: 12.5px; border-radius: 9px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
/* États d'enregistrement (soft submit) : spinner puis check vert, sans notif en haut. */
.btn.is-saving, .btn.is-saved { position: relative; color: transparent !important; opacity: 1 !important; pointer-events: none; }
.btn.is-saving > *, .btn.is-saved > * { visibility: hidden; }
.btn.is-saving::after { content: ""; position: absolute; inset: 0; margin: auto; width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: btnspin .6s linear infinite; }
.btn:not(.primary).is-saving::after { border-color: color-mix(in srgb, var(--txt) 30%, transparent); border-top-color: var(--txt); }
.btn.is-saved { background: var(--ok) !important; border-color: var(--ok) !important; }
.btn.is-saved::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 11px;
  border: solid #06210f; border-width: 0 2.4px 2.4px 0; transform: translate(-50%, -60%) rotate(45deg);
  animation: btncheck .22s ease both; }
@keyframes btnspin { to { transform: rotate(360deg); } }
@keyframes btncheck { from { opacity: 0; transform: translate(-50%, -60%) rotate(45deg) scale(.4); } to { opacity: 1; } }
.main.soft-in > * { animation: softIn .26s ease both; }
@keyframes softIn { from { opacity: .35; } to { opacity: 1; } }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }


label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
input[type=text], input[type=password], input[type=number], input[type=email],
input[type=url], input[type=search], input[type=tel], input:not([type]), select, textarea {
  width: 100%; padding: 10px 13px; border-radius: 10px; border: 1px solid var(--line2);
  background: rgba(255,255,255,.02); color: var(--txt); font: inherit; font-size: 13.5px; transition: border-color .14s, box-shadow .14s; }
[data-theme="light"] input, [data-theme="light"] select, [data-theme="light"] textarea { background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[readonly] { opacity: .55; }
/* Flèche de select propre (chevron fin) au lieu de la flèche système. */
select { -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a99' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 16px; }
select::-ms-expand { display: none; }
/* Modes de déploiement (réglages) */
.deploy-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.dmode { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 15px 17px;
  border: 1.5px solid var(--line2); border-radius: 13px; cursor: pointer; background: var(--card2);
  transition: border-color .14s, background .14s, box-shadow .14s; }
.dmode:hover { border-color: var(--line3); }
.dmode.on { border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.dmode.locked { cursor: default; opacity: .8; }
.dmode input { position: absolute; opacity: 0; pointer-events: none; }
.dmode-ttl { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.dmode-sub { font-size: 12px; color: var(--muted); line-height: 1.45; }
@media (max-width: 640px){ .deploy-modes { grid-template-columns: 1fr; } }
/* Aperçu webhook Discord (réglages) */
.wh-preview { display: flex; gap: 12px; padding: 14px 16px; margin: 4px 0 16px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--card2); }
.wh-ava { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 2px 8px rgba(109,93,252,.35); }
.wh-body { flex: 1; min-width: 0; }
.wh-top { display: flex; align-items: center; gap: 7px; }
.wh-name { font-weight: 700; font-size: 13.5px; color: var(--txt); }
.wh-bot { font-size: 8.5px; font-weight: 800; letter-spacing: .04em; padding: 1px 5px; border-radius: 4px;
  background: var(--accent); color: #fff; text-transform: uppercase; }
.wh-time { font-size: 10.5px; color: var(--faint); }
.wh-card { display: flex; gap: 11px; margin-top: 8px; padding: 11px 13px; border-radius: 9px;
  background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.wh-bar { width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--accent2), var(--c-pink)); flex-shrink: 0; }
.wh-title { font-size: 13px; font-weight: 700; color: var(--txt); }
.wh-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
textarea { resize: vertical; min-height: 90px; font-family: ui-monospace, "SF Mono", monospace; font-size: 12.5px; }
.field { margin-bottom: 16px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
/* --- Explorateur : modale « gérer » --- */
.exp-modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 60; display: flex;
  align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(2px); }
.exp-modal-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px; width: 100%; max-width: 480px; box-shadow: 0 20px 60px rgba(0,0,0,.4);
  max-height: 86vh; overflow-y: auto; }
.exp-modal-card .checks { max-height: 320px; overflow-y: auto; }

/* --- Explorateur : onglets de serveurs --- */
.exp-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.exp-tab { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; border: 1px solid var(--line); border-bottom: none; border-radius: 9px 9px 0 0;
  background: var(--card2); color: var(--muted); position: relative; top: 1px; }
.exp-tab:hover { color: var(--txt); }
.exp-tab.on { background: var(--card); color: var(--txt); border-color: var(--line); border-bottom: 1px solid var(--card); }
.exp-x { background: none; border: none; color: var(--faint); cursor: pointer; font-size: 15px; line-height: 1; padding: 0 0 0 2px; }
.exp-x:hover { color: var(--danger, #e5484d); }
/* État de chargement de l'explorateur : on garde le contenu (cache) légèrement atténué, sans le vider */
#listing.exp-busy { opacity: .55; pointer-events: none; transition: opacity .12s; }
.exp-skel { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.exp-skel-row { height: 38px; border-radius: 9px;
  background: linear-gradient(90deg, var(--line) 25%, var(--line2) 37%, var(--line) 63%);
  background-size: 400% 100%; animation: exp-shimmer 1.2s ease-in-out infinite; }
@keyframes exp-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* --- Tableau de bord workspace : grille onboarding 2 colonnes --- */
.dash-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; align-items: stretch; margin-bottom: 18px; }
.dash-grid > .card { height: 100%; }
@media (max-width: 920px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-aside { background: var(--card2); }
.dash-aside h2 { font-size: 14.5px; margin-bottom: 8px; }
.dash-aside p { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.dash-aside .tip { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* --- Prise en main (stepper vertical connecté) --- */
.setup-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.setup-count { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--card2);
  border: 1px solid var(--line); padding: 3px 11px; border-radius: 20px; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 4px;
  width: 2px; background: var(--line); border-radius: 2px; }
.step.done:not(:last-child)::before { background: var(--ok); }
.step-num { position: relative; z-index: 1; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
  background: var(--card2); border: 2px solid var(--line); color: var(--muted); }
.step.todo .step-num { border-color: var(--accent); color: var(--accent2); background: var(--accent-soft); }
.step.done .step-num { border-color: var(--ok); background: var(--ok); color: #fff; }
.step.done .step-num svg { width: 17px; height: 17px; }
.step-body { flex: 1; min-width: 0; padding-top: 4px; display: flex; flex-direction: column; align-items: flex-start; }
.step-title { font-weight: 650; font-size: 14.5px; letter-spacing: -.01em; }
.step.done .step-title { color: var(--muted); }
.step-desc { font-size: 12.5px; color: var(--muted); margin: 3px 0 11px; line-height: 1.5; max-width: 640px; }
.step-done-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.step-done-tag svg { width: 14px; height: 14px; flex-shrink: 0; }
.step-wait-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--c-amber, #f5a623); white-space: nowrap; }
.btn.disabled { opacity: .4; pointer-events: none; }
.row > * { flex: 1; min-width: 170px; }
/* Un bouton placé directement dans une .row ne s'étire pas : largeur naturelle, aligné en bas
   sur la ligne des champs (look SaaS propre, pas de gros bloc déformé). */
.row > .btn, .row > button { flex: 0 0 auto; min-width: 0; align-self: flex-end; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 8px; }
.check { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; font-size: 13px; background: var(--card2); transition: border-color .14s, background .14s; font-weight: 500; }
.check:hover { border-color: var(--line2); background: var(--card-h); }
.check input { width: auto; accent-color: var(--accent); }
.check.is-ident { border-color: color-mix(in srgb, var(--ok) 55%, var(--line)); background: color-mix(in srgb, var(--ok) 9%, var(--card2)); }
.check.is-diff { border-color: color-mix(in srgb, var(--bad) 55%, var(--line)); background: color-mix(in srgb, var(--bad) 9%, var(--card2)); }
.check.is-absent { opacity: .6; }
.mgr-tag { font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; margin-left: auto;
  background: var(--chip); color: var(--muted); letter-spacing: .02em; }
.mgr-tag.ok { background: color-mix(in srgb, var(--ok) 22%, transparent); color: var(--ok); }
.mgr-tag.bad { background: color-mix(in srgb, var(--bad) 22%, transparent); color: var(--bad); }
.mgr-cmp { margin: 0 0 14px; }
.mgr-cmp-load { font-size: 12.5px; color: var(--faint); padding: 10px 12px; border: 1px dashed var(--line);
  border-radius: 11px; }
.mgr-cmp-row { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.mgr-cmp-row .mgr-tag { margin-left: 0; }
.mgr-cmp-ok { font-size: 12.5px; color: var(--muted); }
.mgr-cmp-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }


.muted { color: var(--muted); } .faint { color: var(--faint); }
code, .mono { font-family: ui-monospace, "SF Mono", monospace; font-size: 12.5px; }
code { background: var(--chip); padding: 2px 6px; border-radius: 6px; }
pre.log, pre.out { background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 12px; padding: 15px;
  max-height: 460px; overflow: auto; font-size: 12px; line-height: 1.55; white-space: pre-wrap; color: var(--muted); margin: 0; }
.flash { background: var(--grad-soft); border: 1px solid var(--line2); color: var(--accent2);
  padding: 12px 16px; border-radius: 12px; margin-bottom: 20px; font-size: 13.5px; font-weight: 550; }
.susp-banner { display: flex; align-items: center; gap: 11px; background: var(--bad-soft);
  border: 1px solid var(--bad); color: var(--bad);
  padding: 13px 16px; border-radius: 12px; margin-bottom: 20px; font-size: 13px; line-height: 1.45; }
.susp-banner svg { flex: 0 0 auto; width: 19px; height: 19px; }
.verify-banner { display: flex; align-items: center; gap: 11px; background: var(--warn-soft);
  border: 1px solid var(--warn); color: var(--warn); padding: 11px 16px; border-radius: 12px;
  margin-bottom: 20px; font-size: 13px; line-height: 1.45; }
.verify-banner svg { flex: 0 0 auto; width: 18px; height: 18px; }
.verify-banner span { flex: 1; }
.verify-banner .btn { flex: 0 0 auto; }
.empty { color: var(--faint); text-align: center; padding: 36px; font-size: 13.5px; }
details > summary { list-style: none; } details > summary::-webkit-details-marker { display: none; }


.login-split { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.login-aside { position: relative; overflow: hidden; padding: 46px 48px; display: flex; flex-direction: column;
  justify-content: space-between; color: #fff; background: linear-gradient(155deg, #7c6cff 0%, #6d5dfc 44%, #5a3fd6 100%); }
.login-aside::after { content: ""; position: absolute; right: -100px; bottom: -110px; width: 340px; height: 340px;
  border-radius: 30%; background: rgba(255,255,255,.06); transform: rotate(22deg); }
.login-aside .brand { padding: 0; position: relative; z-index: 1; }
.login-aside .brand .word { color: #fff; }
.login-aside .brand-logo { box-shadow: 0 0 0 1px rgba(255,255,255,.28); }
.login-aside .byline, .brand-mobile .byline { -webkit-text-fill-color: rgba(255,255,255,.72); color: rgba(255,255,255,.72); }
.la-mid { position: relative; z-index: 1; }
.la-mid h2 { font-size: 33px; font-weight: 700; line-height: 1.12; letter-spacing: -.03em; margin: 0 0 14px; }
.la-mid > p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 380px; margin: 0 0 26px; }
.la-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.la-feats li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(255,255,255,.94); }
.la-feats svg { width: 16px; height: 16px; padding: 8px; box-sizing: content-box; border-radius: 10px;
  background: rgba(255,255,255,.13); stroke: #fff; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; transition: transform .2s ease, background .2s ease; }
.la-feats li:hover svg { transform: scale(1.1) rotate(-4deg); background: rgba(255,255,255,.22); }
.la-bot { position: relative; z-index: 1; font-size: 12px; color: rgba(255,255,255,.5); }
.login-main { display: flex; align-items: center; justify-content: center; padding: 30px;
  background: radial-gradient(620px 420px at 60% 8%, rgba(124,108,255,.1), transparent 66%); }
.login-form { width: 100%; max-width: 350px; }
.login-form-reg { max-width: 400px; }
.login-form-reg .reg-form { max-width: none; margin: 2px 0 0; }
.brand-mobile { display: none; }
.login-head { margin-bottom: 20px; }
.login-head h2 { font-size: 21px; font-weight: 700; margin: 0 0 5px; letter-spacing: -.02em; }
.login-head p { font-size: 13px; color: var(--muted); margin: 0; }
.login-flash { background: var(--card2); border: 1px solid var(--line2); color: var(--txt);
  padding: 10px 13px; border-radius: 10px; margin-bottom: 16px; font-size: 12.5px; font-weight: 500; }

.login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px;
  background: radial-gradient(700px 430px at 50% 14%, rgba(124,108,255,.16), transparent 64%); }
.login { width: 100%; max-width: 380px; }
.login .brand { justify-content: center; gap: 13px; padding-bottom: 22px; }
.login .brand-logo { width: 46px; height: 46px; border-radius: 13px; }
.login .word { font-size: 23px; }
.login-card { padding: 26px 26px 28px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.remember { font-size: 12.5px; color: var(--muted); border: none; background: none; padding: 4px 0; margin: 2px 0 16px; }
.remember:hover { background: none; border: none; }
.la-particles { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.la-bot { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 12.5px; }
.la-bot > span { color: rgba(255,255,255,.6); }
.la-bot a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.la-bot img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }
.login-head h2 { font-size: 25px; }
.login-form .field input { padding: 12px 14px; font-size: 14px; border-radius: 11px; }
.login-alt { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.login-alt a { color: var(--accent2); font-weight: 600; }
.login-alt a:hover { text-decoration: underline; }


.login-aside::before { content: ""; position: absolute; top: -80px; left: -60px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.17), transparent 68%); animation: floatA 17s ease-in-out infinite; }
.login-aside::after { animation: floatB 22s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(36px,48px); } }
@keyframes floatB { 0%,100% { transform: rotate(22deg) translate(0,0); } 50% { transform: rotate(29deg) translate(-28px,-36px); } }
.login-aside .brand, .la-mid h2, .la-mid > p, .la-feats li, .la-bot, .login-form { animation: fadeUp .55s cubic-bezier(.21,.7,.3,1) both; }
.la-mid h2 { animation-delay: .07s; } .la-mid > p { animation-delay: .14s; }
.la-feats li:nth-child(1) { animation-delay: .22s; } .la-feats li:nth-child(2) { animation-delay: .3s; } .la-feats li:nth-child(3) { animation-delay: .38s; }
.la-bot { animation-delay: .46s; } .login-form { animation-delay: .1s; }
.login-form .field input, .login-card .field input { transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.login-form .field input:focus, .login-card .field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.login-form .btn.primary, .login-card .btn.primary { transition: transform .15s ease, box-shadow .15s ease; }
.login-form .btn.primary:hover, .login-card .btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(109,93,252,.45); }
.login-aside .brand-logo { transition: transform .25s ease; }
.login-aside:hover .brand-logo { transform: translateY(-2px) rotate(-3deg); }
@media (prefers-reduced-motion: reduce) {
  .login-aside::before, .login-aside::after, .login-aside .brand, .la-mid h2, .la-mid > p, .la-feats li, .la-bot, .login-form { animation: none !important; }
}
@media (max-width: 860px) {
  .login-split { grid-template-columns: 1fr; }
  .login-aside { display: none; }
  .brand-mobile { display: flex; justify-content: center; gap: 12px; margin-bottom: 26px; padding: 0; }
}


.feed { display: flex; flex-direction: column; }
.ev { display: flex; gap: 13px; align-items: flex-start; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.ev:last-child { border-bottom: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: var(--faint); }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.dot.bad { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.ev-body { flex: 1; min-width: 0; font-size: 13.5px; }
.ev-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; word-break: break-word; }
.ev-time { color: var(--faint); font-size: 12px; white-space: nowrap; }


html.privacy .sensitive { filter: blur(6px); cursor: pointer; user-select: none; transition: filter .12s; border-radius: 4px; }
html.privacy .sensitive:hover, html.privacy .sensitive.revealed { filter: none; user-select: auto; }


.modal { position: fixed; inset: 0; background: rgba(4,5,10,.66); backdrop-filter: blur(3px); z-index: 60; padding: 38px 18px; overflow: auto; display: none; }
.modal.show { display: block; }
.modal-card { max-width: 920px; margin: 0 auto; background: var(--card); border: 1px solid var(--line2); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.modal-head .ttl { font-weight: 600; font-size: 13.5px; font-family: ui-monospace, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal-body { max-height: 72vh; overflow: auto; }
.diff { font-family: ui-monospace, "SF Mono", monospace; font-size: 12px; line-height: 1.6; }
.diff div { padding: 1px 18px; white-space: pre-wrap; word-break: break-word; }
.diff .add { background: rgba(62,207,142,.13); color: var(--ok); }
.diff .del { background: rgba(255,97,104,.13); color: var(--bad); }
.diff .hunk { color: var(--c-blue); background: var(--card2); padding: 4px 18px; }
.diff .ctx { color: var(--muted); }
.bk-file { cursor: pointer; color: var(--accent2); display: inline-flex; align-items: center; gap: 6px; }
.bk-file:hover { text-decoration: underline; }


.side-stop { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border-radius: 10px;
  border: 1px solid rgba(255,97,104,.35); background: var(--bad-soft); color: var(--bad); font-size: 13.5px;
  font-weight: 600; font-family: inherit; cursor: pointer; transition: background .14s; }
.side-stop:hover { background: rgba(255,97,104,.22); }
.side-stop svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }


::selection { background: rgba(124,108,255,.32); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
* { scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--faint); border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }
.main > * { animation: fadeUp .34s cubic-bezier(.21,.7,.3,1) both; }
.main.no-anim > * { animation: none !important; }
.main > *:nth-child(2) { animation-delay: .05s; }
.main > *:nth-child(3) { animation-delay: .1s; }
.main > *:nth-child(4) { animation-delay: .15s; }
.main > *:nth-child(5) { animation-delay: .2s; }
.main > *:nth-child(n+6) { animation-delay: .24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .main > *, .ftoast, .stat { animation: none !important; transition: none !important; } }


.sx-srv.ident::after, .sx-srv.diff::after, .sx-srv.sim::after { content: ""; position: absolute; top: 6px; right: 6px;
  width: 7px; height: 7px; border-radius: 50%; }
.sx-srv.ident::after { background: var(--ok); }
.sx-srv.diff::after { background: var(--bad); }
.sx-srv.sim::after { background: var(--warn); }
.cmp-sum { margin-top: 14px; }
.cmp-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cmp-ok { font-size: 12.5px; color: var(--ok); font-weight: 500; }
.cmp-sec { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.cmp-act { background: none; border: none; font-family: inherit; cursor: pointer; font-size: 12px; color: var(--muted);
  padding: 5px 9px; border-radius: 8px; transition: background .12s, color .12s; }
.cmp-act:hover { background: var(--card); color: var(--accent2); }
.cmp-line { font-size: 12.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cmp-line.ok { color: var(--ok); }
.cmp-line.warn { color: var(--warn); }
.cmpx { text-decoration: underline; cursor: pointer; color: var(--accent2); font-weight: 500; }
.cmpx:hover { color: var(--accent); }


.ftoast { position: fixed; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px;
  background: var(--card2, var(--card)); border: 1px solid var(--line2); border-left: 4px solid var(--ok);
  color: var(--txt); padding: 13px 18px 13px 14px; border-radius: 12px;
  box-shadow: 0 14px 38px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03);
  font-size: 14px; font-weight: 600; letter-spacing: -.005em; max-width: min(380px, calc(100vw - 48px));
  opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .22s, transform .22s; z-index: 200; pointer-events: none; }
.ftoast.show { opacity: 1; transform: none; }
.ftoast.bad { border-left-color: var(--bad); }
.ftoast::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center;
  width: 21px; height: 21px; border-radius: 50%; background: var(--ok); color: #06210f;
  font-size: 12px; font-weight: 900; flex: 0 0 auto; }
.ftoast.bad::before { content: "✕"; background: var(--bad); color: #fff; }


.srv-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.srv-pill { background: var(--card2); border: 1px solid var(--line2); border-radius: 10px; padding: 8px 15px; font-size: 13px; cursor: pointer; font-weight: 500; transition: border-color .12s; }
.srv-pill:hover { border-color: var(--faint); }
.srv-pill.on { background: var(--grad); border: 1px solid transparent; color: #fff; box-shadow: var(--glow); }
.sx-cols { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; align-items: stretch; }
.sx-col { flex: 1 1 0; min-width: 320px; border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  box-shadow: var(--shadow); display: flex; flex-direction: column; max-height: 74vh; overflow: hidden; }
.sx-col-head { padding: 12px 15px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 13.5px;
  display: flex; align-items: center; gap: 8px; }
.sx-col-head .dotsrv { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sx-col-head .close { margin-left: auto; color: var(--faint); cursor: pointer; font-size: 17px; line-height: 1; }
.sx-col-head .close:hover { color: var(--bad); }
.sx-col .searchbox { margin: 10px 12px 2px; }
.sx-col .searchbox input { padding: 7px 12px 7px 34px; font-size: 12.5px; }
.sx-col-body { flex: 1; overflow: auto; padding: 6px 0 8px; }
.sx-row .msel { accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.sx-bar { border-top: 1px solid var(--line2); background: var(--card2); padding: 11px 14px; }
.sx-bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; flex-wrap: wrap; }
.sx-bar-row span { margin-right: auto; }
.sx-row { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 9px; font-size: 13px; }
.sx-row:hover { background: var(--card2); }
.sx-row .chev { width: 14px; text-align: center; color: var(--muted); font-size: 10px; cursor: pointer; flex-shrink: 0; }
.sx-row .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-badges { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.sx-badge { background: var(--ok-soft); color: var(--ok); border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 600; }
.sx-badge.mir { background: var(--warn-soft); color: var(--warn); }
.sx-badge.exc { background: var(--bad-soft); color: var(--bad); }
.sx-none { color: var(--faint); font-size: 11.5px; }
.sx-diff { color: var(--warn); font-size: 11.5px; display: inline-flex; align-items: center; gap: 4px; }
.sx-manage { margin: 2px 10px 10px 34px; border: 1px solid var(--line2); border-radius: 12px; padding: 14px 16px; background: var(--card2); }
.sx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 8px; margin-top: 12px; }
.sx-srv { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line2); border-radius: 9px; cursor: pointer; font-size: 12.5px; user-select: none; transition: border-color .12s, background .12s; }
.sx-srv:hover { border-color: var(--faint); }
.sx-srv.on { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); font-weight: 500; }
.sx-srv .ck { width: 15px; flex-shrink: 0; }


.ord-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.ord-move { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
.ord-move button { border: 1px solid var(--line2); background: var(--card2); color: var(--muted); border-radius: 5px; width: 24px; height: 16px; cursor: pointer; font-size: 9px; line-height: 1; padding: 0; }
.ord-move button:hover { color: var(--accent); border-color: var(--accent); }


.sw { margin-left: auto; width: 32px; height: 18px; border-radius: 10px; background: var(--line2); position: relative; transition: background .16s; flex-shrink: 0; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .16s; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.sw.on { background: var(--accent); }
.sw.on::after { left: 16px; }


.sx-badge.sug { background: var(--warn-soft); color: var(--warn); }
.sx-row.suggested { background: rgba(245,196,81,.07); }
.sx-row .sugdot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); flex-shrink: 0; animation: sugpulse 1.8s ease-in-out infinite; }
@keyframes sugpulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }


.vrow { display: flex; gap: 8px; align-items: center; margin-bottom: 7px; }
.vrow .vk { width: 195px; flex-shrink: 0; font-family: ui-monospace, monospace; font-size: 12px;
  font-weight: 600; color: var(--accent2); background: var(--accent-soft); border-color: transparent; }
.vrow .vk:focus { background: var(--card2); color: var(--text); }
.vrow .vv { flex: 1; font-family: ui-monospace, monospace; font-size: 12.5px; }
.vrow .x { border: none; background: none; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; padding: 0 4px; flex-shrink: 0; }
.vrow .x:hover { color: var(--bad); }

/* Zone de danger (suppression de workspace — proprio uniquement) */
.danger-zone { border-color: color-mix(in srgb, var(--bad) 30%, var(--line)); }
.danger-zone .dz-h { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.danger-zone .dz-h h2 { margin: 0; color: var(--bad); font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.danger-zone .dz-ic { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; background: var(--bad-soft); color: var(--bad); }
.danger-zone .dz-ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dz-form { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 11px; max-width: 430px; }
.dz-form label { font-size: 12.5px; color: var(--muted); display: block; }
.dz-form input { padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line2);
  background: var(--card2); color: var(--txt); font-size: 13px; font-family: inherit; }
.dz-form input:focus { outline: none; border-color: var(--bad); }
.dz-strong { color: var(--txt); font-weight: 600; }


.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.pane { border: 1px solid var(--line); border-radius: 13px; background: rgba(0,0,0,.16); display: flex; flex-direction: column; height: 440px; overflow: hidden; }
[data-theme="light"] .pane { background: var(--card2); }
.pane-head { padding: 12px 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; }
.pane-head .cnt { color: var(--accent2); font-weight: 600; }
.pane-search { padding: 10px 12px 0; }
.pane-search .searchbox input { padding: 8px 12px 8px 36px; font-size: 13px; }
.pane-search .searchbox svg { top: calc(50% ); }
.pane-body { flex: 1; overflow: auto; padding: 6px 0; }
.exp-row { display: flex; align-items: center; gap: 8px; padding: 7px 12px; font-size: 13px; cursor: pointer; user-select: none; }
.exp-row:hover { background: var(--card2); }
.exp-row.sel { background: var(--accent-soft); }
.exp-row.sel .nm { color: var(--accent2); font-weight: 500; }
.exp-row .chev { width: 14px; text-align: center; color: var(--muted); font-size: 10px; flex-shrink: 0; }
.exp-row .ico { flex-shrink: 0; }
.exp-row .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exp-row .mk { color: var(--accent2); font-size: 15px; flex-shrink: 0; opacity: 0; }
.exp-row.sel .mk { opacity: 1; }
.exp-row .plus { color: var(--faint); font-size: 16px; flex-shrink: 0; opacity: 0; }
.exp-row:hover .plus { opacity: 1; }
.exp-row.sel .plus { display: none; }
.sel-pane-row { display: flex; align-items: center; gap: 9px; padding: 8px 13px; font-size: 12.5px; font-family: ui-monospace, monospace; border-bottom: 1px solid var(--line); }
.sel-pane-row:hover { background: var(--card2); }
.sel-pane-row .ic { color: var(--accent2); flex-shrink: 0; display: flex; }
.sel-pane-row .pth { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-pane-row .x { border: none; background: none; color: var(--muted); cursor: pointer; font-size: 17px; line-height: 1; }
.sel-pane-row .x:hover { color: var(--bad); }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 7px; overflow: hidden; flex-shrink: 0; }
.seg button { border: none; background: transparent; color: var(--faint); font-size: 10.5px; font-weight: 600;
  padding: 3px 7px; cursor: pointer; font-family: inherit; transition: background .12s, color .12s; }
.seg button:not(:last-child) { border-right: 1px solid var(--line2); }
.seg button.on { background: var(--accent-soft); color: var(--accent2); }
.seg button.on[data-t="mirror"] { background: var(--warn-soft); color: var(--warn); }
.seg button.on[data-t="exclude"] { background: var(--bad-soft); color: var(--bad); }


.sel-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.sel-list:empty::before { content: "Rien de sélectionné. Cherche ou parcours ci-dessous."; color: var(--faint); font-size: 13px; }
.sel-row { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line2);
  border-radius: 10px; background: var(--grad-soft); font-family: ui-monospace, monospace; font-size: 12.5px; }
.sel-row .ic { color: var(--accent2); display: flex; flex-shrink: 0; }
.sel-row .pth { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-row .x { border: none; background: none; color: var(--muted); cursor: pointer; font-size: 17px; line-height: 1; padding: 0 2px; }
.sel-row .x:hover { color: var(--bad); }
.searchbox { position: relative; }
.searchbox svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px;
  stroke: var(--faint); fill: none; stroke-width: 2; pointer-events: none; }
.searchbox input { padding-left: 38px; }
.res-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 13px; cursor: pointer; border-bottom: 1px solid var(--line); }
.res-row:last-child { border-bottom: none; }
.res-row:hover { background: var(--card2); }
.res-row input { accent-color: var(--accent); }
.res-row .pth { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res-row .pdir { color: var(--faint); }


.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.fchips:empty::before { content: "Aucun fichier sélectionné. Coche dans l'arbre ci-dessous."; color: var(--faint); font-size: 13px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; background: var(--grad-soft); color: var(--accent2);
  border: 1px solid var(--line2); border-radius: 9px; padding: 5px 5px 5px 12px; font-size: 12.5px; font-family: ui-monospace, monospace; font-weight: 500; }
.fchip .x { border: none; background: none; color: var(--accent2); cursor: pointer; font-size: 16px; line-height: 1; padding: 0 4px; }
.fchip .x:hover { color: var(--bad); }
.tree { border: 1px solid var(--line); border-radius: 12px; max-height: 360px; overflow: auto; background: rgba(0,0,0,.18); }
.tree-row { display: flex; align-items: center; gap: 8px; padding: 7px 11px; font-size: 13px; }
.tree-row:hover { background: var(--card2); }
.tree-row .tw { cursor: pointer; width: 14px; color: var(--muted); font-size: 10px; text-align: center; }
.tree-row .tn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-row .addbtn { border: 1px solid var(--line2); background: var(--card2); color: var(--muted); border-radius: 7px;
  width: 24px; height: 23px; cursor: pointer; font-size: 15px; line-height: 1; opacity: 0; flex-shrink: 0; }
.tree-row:hover .addbtn { opacity: 1; }
.tree-row .addbtn:hover { color: var(--accent); border-color: var(--accent); }
.fb { border: 1px solid var(--line); border-radius: 12px; max-height: 320px; overflow: auto; background: rgba(0,0,0,.18); }
.fb-item { display: flex; align-items: center; gap: 10px; padding: 8px 13px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 13px; }
.fb-item:hover { background: var(--card2); }
.fb-path { padding: 9px 13px; color: var(--muted); font-size: 12.5px; border-bottom: 1px solid var(--line); background: var(--card2); }


.cov { display: grid; gap: 3px; align-items: stretch; overflow-x: auto; padding-bottom: 4px; }
.cov-corner { position: sticky; left: 0; }
.cov-h { font-size: 11px; color: var(--muted); text-align: center; padding: 4px 2px; align-self: end;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cov-g { font-size: 12.5px; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 5px 10px; background: var(--card2); border-radius: 6px; position: sticky; left: 0; }
.cov-g a { color: var(--text); }
.cov-g span { color: var(--muted); font-size: 11px; min-width: 18px; text-align: right; }
.cov-c { min-height: 24px; border-radius: 5px; background: rgba(127,127,127,.08); transition: transform .08s; }
.cov-c.on { background: hsl(var(--h, 250) 68% 56% / .85); box-shadow: inset 0 0 0 1px hsl(var(--h, 250) 68% 70% / .5); }
.cov-c.on:hover { transform: scale(1.12); }


.sync-list { display: flex; flex-direction: column; gap: 6px; max-height: 540px; overflow: auto; }
.sync-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 11px; background: var(--card2); transition: border-color .12s, transform .08s; }
.sync-item:hover { border-color: var(--accent); transform: translateX(2px); }
.sync-ic { font-size: 15px; flex-shrink: 0; }
.sync-pat { font-size: 13px; flex: 1; min-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sync-srv { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; max-width: 48%; }
.chip.sm { font-size: 11px; padding: 2px 9px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.pager:empty { display: none; }


.savebar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid var(--line2);
  border-radius: 14px; padding: 12px 16px; margin-top: 16px; box-shadow: 0 10px 34px rgba(0,0,0,.34); backdrop-filter: blur(7px); }
/* Variante « auto » : la barre n'apparaît QUE s'il y a des changements non enregistrés (géré en JS). */
.savebar.savebar-auto { opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s, transform .2s; }
.savebar.savebar-auto.show { opacity: 1; transform: none; pointer-events: auto; }
.card h2 svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px;
  stroke: currentColor; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; color: var(--accent2); }


.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 16px; }
.kpi { background: linear-gradient(160deg, color-mix(in srgb, var(--a, var(--accent)) 7%, var(--card)), var(--card) 60%);
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; position: relative; overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.kpi:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--a, var(--accent)) 45%, var(--line));
  box-shadow: 0 16px 36px -18px color-mix(in srgb, var(--a, var(--accent)) 55%, transparent); }
.kpi::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--a, var(--accent)), color-mix(in srgb, var(--a, var(--accent)) 25%, transparent)); }
.kpi::after { content: ""; position: absolute; top: -45px; right: -45px; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--a, var(--accent)) 16%, transparent), transparent 70%); pointer-events: none; }
.kpi-top { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.kpi-ic { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--a); background: color-mix(in srgb, var(--a) 16%, transparent); }
.kpi-ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }


.qa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(218px, 1fr)); gap: 13px; margin-bottom: 16px; }
.qa { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.qa:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.qa-ic { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qa-ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.qa-ic.c1 { background: var(--accent-soft); color: var(--accent); }
.qa-ic.c2 { background: rgba(46,204,113,.14); color: var(--ok); }
.qa-ic.c3 { background: rgba(245,196,81,.16); color: var(--c-amber); }
.qa-ic.c4 { background: rgba(244,114,182,.15); color: var(--c-pink); }
.qa-tx { flex: 1; min-width: 0; }
.qa-t { font-size: 14px; font-weight: 600; color: var(--txt); }
.qa-s { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.qa-arr { color: var(--faint); font-size: 17px; transition: transform .16s ease, color .16s ease; }
.qa:hover .qa-arr { transform: translateX(3px); color: var(--accent2); }
.kpi-lbl { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.kpi-num { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -.5px; }
.kpi-sub { font-size: 12px; color: var(--faint); margin-top: 6px; }
.ring { width: 56px; height: 56px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line2); stroke-width: 4; }
.ring-fg { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; transition: stroke-dasharray .6s ease; }

.dash-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 880px) { .dash-2col { grid-template-columns: 1fr; } }

.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding-top: 8px; }
.cb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.cb-track { flex: 1; width: 100%; display: flex; align-items: flex-end; border-radius: 8px 8px 0 0; }
.cb-bar { width: 100%; min-height: 3px; border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, var(--accent2), var(--accent)); transition: height .5s ease; }
.cb-n { font-size: 11px; color: var(--muted); height: 12px; }
.cb-x { font-size: 11px; color: var(--faint); }
.chart-bars-wide { gap: 4px; height: 160px; }
.chart-bars-wide .cb-x { font-size: 9.5px; opacity: 0; }
.chart-bars-wide .cb:nth-child(5n+1) .cb-x { opacity: 1; }
.chart-bars-wide .cb.we .cb-bar { background: linear-gradient(180deg, var(--c-pink), var(--accent2)); opacity: .7; }
.ref-list { display: flex; flex-direction: column; gap: 11px; }
.ref-row { display: grid; grid-template-columns: 170px 1fr 46px; align-items: center; gap: 12px; }
.ref-name { font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-bar { height: 9px; border-radius: 6px; background: var(--card2); overflow: hidden; }
.ref-fill { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent2), var(--accent)); transition: width .5s ease; }
.ref-v { text-align: right; font-size: 13px; font-weight: 600; color: var(--muted); }
@media (max-width: 680px) { .ref-row { grid-template-columns: 110px 1fr 38px; } }

.stack { display: flex; height: 16px; border-radius: 8px; overflow: hidden; background: var(--card2); }
.stack > div { transition: width .5s ease; }
.legend { display: flex; gap: 18px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.mini-row { display: flex; gap: 12px; margin-top: 16px; }
.mini { flex: 1; background: var(--card2); border-radius: 11px; padding: 11px 13px; }
.mini-l { font-size: 11.5px; color: var(--muted); }
.mini-v { font-size: 18px; font-weight: 700; margin-top: 3px; }
.mini-v.ok { color: var(--ok); } .mini-v.bad { color: var(--bad); }

.hbars { display: flex; flex-direction: column; gap: 11px; }
.hbar { display: flex; align-items: center; gap: 10px; }
.hbar-n { width: 110px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-shrink: 0; }
.hbar-track { flex: 1; height: 9px; background: var(--card2); border-radius: 6px; overflow: hidden; }
.hbar-fill { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .5s ease; }
.hbar-fill.alt { background: linear-gradient(90deg, var(--c-pink), var(--c-amber)); }
.hbar-v { width: 28px; text-align: right; font-size: 12.5px; color: var(--muted); font-weight: 600; }


.net-list { display: flex; flex-direction: column; gap: 1px; }
.net-row { display: grid; grid-template-columns: minmax(135px, 1.4fr) 2fr 54px 54px 54px; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 9px; }
.net-row:not(.net-head):hover { background: var(--card2); }
.net-head { font-size: 10.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--faint); padding: 2px 10px 6px; }
.net-row .r { text-align: right; }
.net-name { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.net-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.net-dot.on { background: var(--ok); }
.net-dot.paused { background: var(--warn); }
.net-bar { height: 8px; background: var(--card2); border-radius: 5px; overflow: hidden; }
.net-fill { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent), var(--accent2)); min-width: 2px; }
.net-v { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.net-v.up { color: var(--accent2); }
.net-v.dn { color: var(--c-pink); }


.align-list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 4px; }
.align-row { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 11px; background: var(--card2); cursor: pointer; transition: border-color .12s, background .12s; }
.align-row:hover { border-color: var(--accent); }
.align-row:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.align-row.rem { opacity: .5; cursor: not-allowed; }
.align-row input[type=radio] { accent-color: var(--accent); width: 15px; height: 15px; flex-shrink: 0; }
.ar-name { font-weight: 600; font-size: 13px; min-width: 84px; }
.cmpx2 { font-size: 11.5px; color: var(--accent2); cursor: pointer; text-decoration: underline; margin-left: auto; }
.cmpx2:hover { color: var(--accent); }
.align-note { font-size: 12.5px; line-height: 1.5; background: var(--accent-soft); border: 1px solid var(--line2);
  border-radius: 11px; padding: 11px 13px; margin: 12px 0; }
.align-note.ok { background: var(--ok-soft); border-color: transparent; }


.status-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card2); }
.status-chip .sc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-chip.on { color: var(--ok); }
.status-chip.on .sc-dot { background: var(--ok); animation: scpulse 2s infinite; }
.status-chip.off { color: var(--bad); }
.status-chip.off .sc-dot { background: var(--bad); }
@keyframes scpulse { 0% { box-shadow: 0 0 0 0 rgba(46,204,113,.5); } 70% { box-shadow: 0 0 0 7px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }


.savebar-hint { font-size: 12.5px; color: var(--muted); }
.btn.lg { padding: 11px 28px; font-size: 14px; font-weight: 600; }
.danger-zone { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--bad-soft); background: var(--bad-soft);
  border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }


.lp { max-width: 1120px; margin: 0 auto; padding: 0 24px 56px; }
.lp-nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; position: sticky; top: 0; z-index: 20;
  background: linear-gradient(var(--bg), color-mix(in srgb, var(--bg) 60%, transparent)); backdrop-filter: blur(9px); }
.lp-brand { display: flex; align-items: center; gap: 10px; }
.lp-brand img { width: 32px; height: 32px; border-radius: 9px; }
.lp-brand .word { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.lp-nav-links { display: flex; align-items: center; gap: 22px; }
.lp-nav-links > a:not(.btn) { font-size: 14px; color: var(--muted); }
.lp-nav-links > a:not(.btn) { position: relative; transition: color .16s ease; }
.lp-nav-links > a:not(.btn):hover { color: var(--txt); }
.lp-nav-links > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .24s cubic-bezier(.21,.7,.3,1); }
.lp-nav-links > a:not(.btn):hover::after, .lp-nav-links > a:not(.btn).nav-cur::after { transform: scaleX(1); }
.lp-nav-links > a:not(.btn).nav-cur { color: var(--txt); }
.lp .btn { transition: transform .16s cubic-bezier(.21,.7,.3,1), box-shadow .22s ease, filter .16s ease, background .16s ease, border-color .16s ease; }
.lp .btn:hover { transform: translateY(-2px); }
.lp .btn:active { transform: translateY(0) scale(.98); }
.lp .btn.primary:hover { box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 50%, transparent); filter: brightness(1.05); }
.lp-theme { background: none; border: 1px solid var(--line2); border-radius: 10px; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; flex-shrink: 0;
  transition: border-color .15s ease, color .15s ease; }
.lp-theme:hover { border-color: var(--faint); color: var(--txt); }
.lp-theme svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lp-theme span { display: inline-flex; }
[data-theme="dark"] .lp-theme .ico-moon { display: none; }
[data-theme="light"] .lp-theme .ico-sun { display: none; }
.lp-lang { position: relative; }
.lp-lang-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line2); border-radius: 10px;
  height: 36px; padding: 0 11px; color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.lp-lang-btn:hover { border-color: var(--faint); color: var(--txt); }
.lp-lang-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-lang-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 172px; padding: 6px;
  background: var(--card); border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.4); z-index: 30; }
/* Pont invisible qui comble le trou de 8px entre le bouton et le menu : sans lui, déplacer la
   souris vers une autre langue quitte le survol et referme le menu. */
.lp-lang-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.lp-lang:hover .lp-lang-menu, .lp-lang:focus-within .lp-lang-menu { display: block; }
.lp-lang-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 11px; border-radius: 8px; font-size: 13px; color: var(--txt); text-decoration: none; cursor: pointer; transition: background .12s; }
.lp-lang-item:hover { background: var(--card-h); }
.lp-lang-item.on { background: var(--accent-soft); color: var(--accent2); font-weight: 600; }
.lp-lang-item.soon { color: var(--faint); cursor: default; }
.lp-lang-item.soon i { font-style: normal; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: var(--card2); padding: 2px 7px; border-radius: 999px; }

.lp-pv-cap { margin-top: 13px; font-size: 12.5px; color: var(--faint); text-align: center; }

.lp-cookies { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 330px;
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 12px; line-height: 1.45; color: var(--muted);
  box-shadow: 0 8px 24px rgba(0,0,0,.22); transform: translateY(160%); opacity: 0;
  transition: transform .4s cubic-bezier(.21,.7,.3,1), opacity .4s ease; }
.lp-cookies.show { transform: translateY(0); opacity: 1; }
.lp-cookies a { color: var(--accent2); }
.lp-cookies button { flex-shrink: 0; background: none; border: 1px solid var(--line2); color: var(--txt); border-radius: 8px;
  padding: 5px 13px; font-size: 12px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.lp-cookies button:hover { border-color: var(--faint); background: var(--card2); }

.lp { position: relative; overflow-x: clip; }
.lp-hero { text-align: center; padding: 0 0 78px; position: relative; }
.lp-hero-intro { position: relative; min-height: calc(100vh - 124px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lp-hero-intro::before { content: ""; position: absolute; top: 46%; left: 50%; width: 1100px; max-width: 160%;
  height: 620px; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%);
  filter: blur(34px); animation: lpglow 9s ease-in-out infinite; }
.lp-hero-intro > .lp-particles { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; animation: none; }
@keyframes lpglow { 0%,100% { opacity: .65; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); } }
.lp-hero-intro > * { animation: fadeUp .6s cubic-bezier(.21,.7,.3,1) both; position: relative; }
.lp-hero-intro > .lp-scroll { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); animation: lpscrollin 1s ease 1s both; }
.lp-mouse { display: flex; justify-content: center; width: 23px; height: 37px; border: 2px solid var(--faint); border-radius: 12px; padding-top: 6px; animation: lpbob 2.2s ease-in-out infinite; }
@keyframes lpbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.lp-wheel { width: 3.5px; height: 7px; border-radius: 2px; background: var(--faint); animation: lpwheel 1.7s ease-in-out infinite; }
@keyframes lpwheel { 0% { opacity: 0; transform: translateY(0); } 25% { opacity: 1; } 55% { opacity: 1; transform: translateY(9px); } 100% { opacity: 0; transform: translateY(9px); } }
@keyframes lpscrollin { from { opacity: 0; } to { opacity: 1; } }

.lp-hero-intro > .lp-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; animation: none; }
.lp-shape { position: absolute; }
.lp-shape.s1 { left: 7%; top: 24%; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--accent2), var(--accent)); opacity: .32; animation: flA 11s ease-in-out infinite; }
.lp-shape.s2 { left: 13%; top: 63%; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--accent2); opacity: .4; animation: flB 13s ease-in-out infinite; }
.lp-shape.s3 { left: 4%; top: 47%; width: 12px; height: 12px; border-radius: 50%; background: var(--c-pink); opacity: .5; animation: flC 9s ease-in-out infinite; }
.lp-shape.s4 { left: 18%; top: 35%; width: 9px; height: 9px; border-radius: 3px; background: var(--accent2); opacity: .5; animation: flB 10s ease-in-out infinite .6s; }
.lp-shape.s5 { right: 7%; top: 28%; width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(135deg, var(--c-pink), var(--accent)); opacity: .3; animation: flB 12s ease-in-out infinite; }
.lp-shape.s6 { right: 12%; top: 64%; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--c-pink); opacity: .35; animation: flA 14s ease-in-out infinite; }
.lp-shape.s7 { right: 5%; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--accent2); opacity: .5; animation: flC 10s ease-in-out infinite .8s; }
.lp-shape.s8 { right: 17%; top: 40%; width: 8px; height: 8px; border-radius: 3px; background: var(--c-pink); opacity: .5; animation: flA 9s ease-in-out infinite 1s; }
@keyframes flA { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-24px) rotate(10deg); } }
@keyframes flB { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(20px) rotate(-8deg); } }
@keyframes flC { 0%,100% { transform: translate(0,0); } 50% { transform: translate(12px,-16px); } }
.lp-h1 { animation-delay: .06s; } .lp-sub { animation-delay: .12s; } .lp-cta { animation-delay: .18s; }
.lp-trust { animation-delay: .24s; }
.lp-hero .lp-pv, .lp-hero .lp-pv-cap { animation: none; }
.lp-badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .3px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent2); border: 1px solid var(--line2); margin-bottom: 22px; }
.lp-h1 { font-size: 58px; font-weight: 800; line-height: 1.04; letter-spacing: -.04em; margin: 0 0 20px; }
.lp-h1 .grad { background: linear-gradient(100deg, var(--accent2), var(--c-pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-sub { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 620px; margin: 0 auto 30px; }
.lp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-trust { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: 12.5px; color: var(--faint); }
.lp-mock { margin: 54px auto 0; max-width: 880px; border: 1px solid var(--line2); border-radius: 16px; overflow: hidden;
  background: var(--card); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.lp-mock-bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--card2); }
.lp-mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line2); }
.lp-mock-body { padding: 22px; }
.lp-mock-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 20px; }
.lp-mk { background: var(--card2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: left; }
.lp-mk-l { font-size: 11.5px; color: var(--muted); }
.lp-mk-v { font-size: 26px; font-weight: 700; margin-top: 4px; }
.lp-mock-chart { display: flex; align-items: flex-end; gap: 10px; height: 116px; padding: 0 4px; }
.lp-mock-chart span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--accent2), var(--accent)); }

.lp-section { padding: 84px 0 0; text-align: center; }
.lp-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; color: var(--accent2); margin-bottom: 10px; }
.lp-h2 { font-size: 33px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 36px; }
.lp-features, .lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.lp-feat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.lp-feat:hover { transform: translateY(-5px); border-color: var(--line2); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.lp-fi { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.lp-fi svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.lp-fi.c1 { background: var(--accent-soft); color: var(--accent); }
.lp-fi.c2 { background: rgba(46,204,113,.14); color: var(--ok); }
.lp-fi.c3 { background: rgba(245,196,81,.16); color: var(--c-amber); }
.lp-fi.c4 { background: rgba(244,114,182,.15); color: var(--c-pink); }
.lp-feat h3, .lp-step h3 { font-size: 16px; font-weight: 700; margin: 0 0 7px; }
.lp-feat p, .lp-step p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.lp-step { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.lp-step:hover { transform: translateY(-5px); border-color: var(--line2); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.lp-step-n { width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700;
  background: var(--grad); color: #fff; margin-bottom: 14px; }

.lp-final { margin: 58px 0 0; text-align: center; padding: 50px 24px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(150deg, #7c6cff, #6d5dfc 50%, #5a3fd6); color: #fff; }
.lp-final h2 { font-size: 31px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.02em; }
.lp-final p { font-size: 15px; color: rgba(255,255,255,.85); margin: 0 0 24px; }
.lp-final .btn.primary { background: #fff; color: var(--accent); }
.lp-footer { position: relative; overflow: hidden; padding: 24px 0; margin-top: 56px; border-top: 1px solid var(--line); }
.lp-foot-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap; }
.lp-footer .lp-foot-brand { gap: 14px; align-items: center; }
.lp-footer .lp-foot-brand img { width: 42px; height: 42px; border-radius: 12px; }
.lp-foot-txt { display: flex; flex-direction: column; gap: 3px; line-height: 1.2; }
.lp-footer .lp-foot-brand .word { font-size: 17px; font-weight: 700; }
.lp-foot-tag { font-size: 13px; color: var(--faint); }
.lp-foot-links { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; font-size: 13px; text-align: right; }
.lp-foot-links a { color: var(--muted); transition: color .15s ease; }
.lp-foot-links a:hover { color: var(--txt); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line3); }
.lp-foot-copy { color: var(--faint); font-size: 11.5px; letter-spacing: .02em; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.lp-foot-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100%; text-align: center;
  z-index: 0; font-size: clamp(60px, 12vw, 168px); font-weight: 800; letter-spacing: -.06em; line-height: 1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent2) 10%, transparent), transparent 76%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; user-select: none; pointer-events: none; }
.lp-stats { margin: 70px 0 0; padding: 34px 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-align: center; }
.lp-stats-tag { display: inline-block; font-size: 19px; font-weight: 600; color: var(--txt); letter-spacing: -.01em; margin-bottom: 22px; }
.lp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: scpulse 2s infinite; }
.lp-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.lp-stat-v { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(120deg, var(--accent2), var(--c-pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-stat-l { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.lp-stat-v { display: inline-block; transform-origin: center; }
.lp-stat-v.pop { animation: statpop .42s cubic-bezier(.21,.7,.3,1); }
@keyframes statpop { 0% { transform: scale(1); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }
.lp-logos-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.lp-logo { display: inline-flex; align-items: center; gap: 16px; text-align: left; padding: 18px 24px; max-width: 500px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  transition: transform .2s ease, border-color .2s ease; }
.lp-logo:hover { transform: translateY(-3px); border-color: var(--line2); }
.lp-logo img { width: 58px; height: 58px; border-radius: 14px; object-fit: contain; flex-shrink: 0; }
.lp-logo.mq { filter: grayscale(1); opacity: .6; transition: filter .25s ease, opacity .25s ease, transform .2s ease, border-color .2s ease; }
.lp-logo.mq:hover { filter: grayscale(0); opacity: 1; }
.lp-logo-name { display: block; font-size: 15.5px; font-weight: 700; color: var(--txt); }
.lp-logo-desc { display: block; font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 2px; }
.lp-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.lp-track { display: flex; gap: 16px; width: max-content; animation: lpmarq 38s linear infinite; }
.lp-marquee:hover .lp-track { animation-play-state: paused; }
.lp-logo.mq { padding: 14px 20px; }
@keyframes lpmarq { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

.lp-lead { max-width: 620px; margin: -22px auto 36px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.lp-h2-left { text-align: left; }
.lp-byline { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.lp-byline-txt { display: flex; flex-direction: column; gap: 1px; line-height: 1.3; }
.lp-byline-name { font-weight: 700; font-size: 14.5px; color: var(--txt); }
.lp-byline-role { font-size: 12.5px; color: var(--muted); }
.lp-author-img { position: relative; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #fff; font-weight: 700; font-size: 18px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent2) 32%, transparent), 0 4px 14px rgba(0,0,0,.35); }
.lp-author-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-story { position: relative; overflow: hidden; max-width: 880px; margin: 8px auto 0; text-align: left;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent2) 6%, var(--card)), var(--card) 62%);
  border: 1px solid var(--line2); border-radius: 20px; padding: 30px 40px; box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.lp-story::before { content: "\201C"; position: absolute; top: 2px; right: 30px; z-index: 0;
  font-family: Georgia, "Times New Roman", serif; font-size: 132px; line-height: 1; font-weight: 700;
  color: color-mix(in srgb, var(--accent2) 12%, transparent); pointer-events: none; user-select: none; }
.lp-story p { position: relative; z-index: 1; font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 0 15px; }
.lp-story p:first-of-type { font-size: 16.5px; line-height: 1.6; color: var(--txt); }
.lp-story p:last-child { margin-bottom: 0; }
.lp-story strong { color: var(--accent2); font-weight: 700; }

.lp-topbar { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  width: 100%; padding: 9px 16px; font-size: 13px; color: var(--muted); text-align: center;
  background: var(--card2); border-bottom: 1px solid var(--line); transition: background .2s ease; }
.lp-topbar:hover { background: var(--card-h); }
.lp-topbar:hover .lp-topbar-tx { color: var(--txt); }
.lp-topbar-tx { transition: color .2s ease; }
.lp-topbar-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); flex-shrink: 0; animation: scpulse 2s infinite; }
.lp-usedby { display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap; margin-top: 64px; font-size: 13px; color: var(--faint); }
.lp-usedby a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; transition: color .2s ease; }
.lp-usedby a:hover { color: var(--txt); }
.lp-usedby img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }
.lp-soon-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #fff;
  background: var(--grad); box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 45%, transparent); }
.lp-soon-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: scpulse 2s infinite; }
.lp-soonrow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding: 18px 22px; text-align: left;
  background: var(--card); border: 1px dashed var(--line2); border-radius: 16px; }
.lp-soon-ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.lp-soon-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.lp-soon-tx { flex: 1; min-width: 200px; }
.lp-soon-tx strong { display: block; font-size: 16px; font-weight: 700; }
.lp-soon-tx span { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.lp-pv { margin: 56px auto 0; max-width: 1040px; border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; text-align: left;
  background: var(--bg); box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.lp-pv-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--card2); border-bottom: 1px solid var(--line); }
.lp-pv-bar > span { width: 11px; height: 11px; border-radius: 50%; background: var(--line3); }
.lp-pv-url { margin-left: 14px; font-size: 12px; color: var(--faint); background: var(--bg); border: 1px solid var(--line);
  padding: 4px 14px; border-radius: 8px; }
.lp-pv-app { display: grid; grid-template-columns: 230px 1fr; min-height: 360px; }
.lp-pv .side { position: static; height: auto; width: 100%; padding: 14px 12px; }
.lp-pv .nav { overflow-y: visible; flex: none; }
.lp-pv .side a[data-pv] { cursor: pointer; user-select: none; }
.lp-pv .side .bottom { margin-top: 14px; }
.lp-pv .head { margin: 0 0 18px; }
.lp-pv .head h1 { font-size: 21px; }
.lp-pv .kpi-grid { grid-template-columns: repeat(4, 1fr); gap: 13px; margin: 0 0 16px; }
.lp-pv .kpi { padding: 14px 15px; border-radius: 13px; }
.lp-pv .kpi-num { font-size: 23px; }
.lp-pv .kpi-ic { width: 28px; height: 28px; }
.lp-pv .card { margin: 0 0 16px; padding: 18px 20px; }
.lp-pv .card:last-child { margin-bottom: 0; }
.lp-pv .card h2 { font-size: 14.5px; margin: 0 0 15px; }
.lp-pv .ring { width: 42px; height: 42px; }
.lp-pv .net-row { padding: 8px 0; }
.lp-pv .dash-2col { margin: 0; gap: 14px; }
.lp-pv .dash-2col .card { margin: 0; }
.lp-pv .lp-pv-d2 { grid-template-columns: 1.55fr 1fr; align-items: start; }
.lp-pv .lp-pv-kpi3 { grid-template-columns: repeat(3, 1fr); }
.lp-pv .chart-bars { height: 102px; }
.lp-pv .mini-row { margin-top: 14px; gap: 11px; }
.lp-pv .mini { padding: 11px 13px; }
.lp-pv .mini-v { font-size: 15px; }
.lp-pv .feed { display: flex; flex-direction: column; gap: 4px; }
.lp-pv .pv-rows { display: flex; flex-direction: column; }
.lp-pv .ev > .btn { margin-left: auto; flex-shrink: 0; }
.lp-pv-grp-h { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; font-size: 15px; }
.lp-pv-grp-f { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.lp-pv-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.lp-pv-chips span { font-size: 11.5px; padding: 3px 11px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line); color: var(--muted); }
.lp-pv .pv-rows { display: flex; flex-direction: column; }
.lp-pv .pv-r { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.lp-pv .pv-r:last-child { border-bottom: 0; }
.lp-pv .pv-r .btn.sm { padding: 3px 11px; font-size: 11px; }
.lp-pv-side { background: var(--sidebar); border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.lp-pv-brand { display: flex; align-items: center; gap: 9px; padding: 4px 8px 14px; }
.lp-pv-brand img { width: 26px; height: 26px; border-radius: 8px; }
.lp-pv-brand span { font-weight: 700; font-size: 16px; }
.lp-pv-navlbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--faint); padding: 12px 8px 5px; }
.lp-pv-side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 13px; color: var(--muted); }
.lp-pv-side a.on { background: var(--accent-soft); color: var(--accent2); font-weight: 600; }
.lp-pv-side svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lp-pv-main { padding: 24px; background: var(--bg); min-height: 470px; }
.lp-pv .btn { cursor: pointer; }
.lp-pv-warn { border-color: var(--warn); background: var(--warn-soft); font-size: 13.5px; }
.lp-pv-warn a { color: var(--accent2); cursor: pointer; }
.lp-pv-greet { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.lp-pv-greet strong { display: block; font-size: 18px; }
.lp-pv-greet span { font-size: 12.5px; color: var(--muted); }
.lp-pv-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ok);
  background: rgba(46,204,113,.12); border: 1px solid rgba(46,204,113,.25); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.lp-pv-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: scpulse 2s infinite; }
.lp-pv-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.lp-pv-kpi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.lp-pv-kpi span { font-size: 11.5px; color: var(--muted); }
.lp-pv-kpi b { display: block; font-size: 24px; font-weight: 700; margin-top: 4px; }
.lp-pv-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.lp-pv-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.lp-pv-ct { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.lp-pv-net { display: flex; flex-direction: column; gap: 11px; }
.lp-pv-row { display: grid; grid-template-columns: 12px 80px 1fr; align-items: center; gap: 10px; }
.lp-pv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.lp-pv-rn { font-size: 12.5px; color: var(--txt); }
.lp-pv-rb { height: 8px; border-radius: 5px; background: var(--card2); overflow: hidden; }
.lp-pv-rb i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent2), var(--accent)); }
.lp-pv-chart { display: flex; align-items: flex-end; gap: 8px; height: 132px; }
.lp-pv-chart span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--accent2), var(--accent)); }
.lp-pv-hint { margin-left: auto; font-size: 11px; color: var(--faint); }
.lp-pv-side a[data-pv] { cursor: pointer; }
.lp-pv-view { display: none; }
.lp-pv-view.on { display: block; animation: pvfade .25s ease; }
@keyframes pvfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lp-pv-vh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.lp-pv-vh strong { font-size: 17px; }
.lp-pv-vh > span { font-size: 12.5px; color: var(--muted); }
.lp-pv-tree { display: flex; flex-direction: column; gap: 2px; }
.lp-pv-te { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 8px; font-size: 13px; color: var(--txt); }
.lp-pv-te:hover { background: var(--card2); }
.lp-pv-te.d1 { padding-left: 30px; }
.lp-pv-te.d2 { padding-left: 50px; }
.lp-pv-ti { width: 14px; height: 14px; flex-shrink: 0; }
.lp-pv-ti.fold { background: var(--accent); border-radius: 3px; }
.lp-pv-ti.file { background: var(--line3); border-radius: 2px; }
.lp-pv-tb { margin-left: auto; font-size: 11px; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.lp-pv-tb.ok { color: var(--ok); background: rgba(46,204,113,.12); }
.lp-pv-tb.local { color: var(--muted); background: var(--card2); }
.lp-pv-tb.new { color: var(--accent2); background: var(--accent-soft); }
.lp-pv-log { display: flex; flex-direction: column; gap: 8px; }
.lp-pv-le { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.lp-pv-tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.lp-pv-tag.ok { color: var(--ok); background: rgba(46,204,113,.12); }
.lp-pv-tag.warn { color: var(--c-amber); background: rgba(245,196,81,.14); }
.lp-pv-tag.acc { color: var(--accent2); background: var(--accent-soft); }
.lp-pv-le code { font-size: 12px; color: var(--txt); }
.lp-pv-le-s { color: var(--muted); font-size: 12.5px; }
.lp-pv-le-t { margin-left: auto; color: var(--faint); font-size: 12px; white-space: nowrap; }
.lp-pv-le-b { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--accent2); background: var(--accent-soft); padding: 4px 11px; border-radius: 7px; }
.lp-pv-glist { display: flex; flex-direction: column; gap: 8px; }
.lp-pv-gr { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.lp-pv-gr b { font-size: 13.5px; }
.lp-pv-gr span { font-size: 12px; color: var(--muted); }
.lp-pv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lp-pv-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--faint); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.lp-pv-table td { padding: 10px; border-bottom: 1px solid var(--line); color: var(--txt); }
.lp-pv-table tr:last-child td { border-bottom: 0; }
.lp-pv-table code { font-size: 12px; color: var(--accent2); }
.lp-pv-st { font-size: 11.5px; padding: 2px 9px; border-radius: 999px; }
.lp-pv-st.on { color: var(--ok); background: rgba(46,204,113,.12); }
.lp-pv-st.pause { color: var(--c-amber); background: rgba(245,196,81,.14); }
.lp-pv-term { background: #08080b; border: 1px solid var(--line); border-radius: 10px; padding: 16px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.85; }
.lp-pv-term .t-mut { color: var(--faint); }
.lp-pv-term .t-acc { color: var(--accent2); }
.lp-pv-term .t-ok { color: var(--ok); }
.lp-pv-bt { display: flex; flex-direction: column; line-height: 1.15; }
.lp-pv-bw { font-size: 16px; font-weight: 700; }
.lp-pv-bb { font-size: 10.5px; color: var(--faint); }
.lp-pv-kt { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); margin-bottom: 9px; }
.lp-pv-ki { width: 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--a) 16%, transparent); color: var(--a); }
.lp-pv-ki svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lp-pv-ks { display: block; font-size: 11px; color: var(--faint); margin-top: 3px; }
.lp-pv-ringrow { display: flex; align-items: center; gap: 12px; }
.lp-pv-ring { width: 40px; height: 40px; flex-shrink: 0; transform: rotate(-90deg); }
.lp-pv-ring .bg { fill: none; stroke: var(--card2); stroke-width: 4; }
.lp-pv-ring .fg { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; }
.lp-pv-ringrow b { font-size: 21px; }
.lp-pv-net { gap: 0; }
.lp-pv-nrow { display: grid; grid-template-columns: 96px 1fr 44px 52px 52px; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.lp-pv-nrow:last-child { border-bottom: 0; }
.lp-pv-nhead { font-size: 10.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--faint); }
.lp-pv-nn { display: flex; align-items: center; gap: 8px; color: var(--txt); }
.lp-pv-dot.pause { background: var(--c-amber); }
.lp-pv-nrow .r { text-align: right; }
.lp-pv-nrow .up { color: var(--ok); }
.lp-pv-nrow .dn { color: var(--accent2); }
.lp-pv-stack { display: flex; height: 12px; border-radius: 7px; overflow: hidden; background: var(--card2); margin-bottom: 12px; }
.lp-pv-leg { display: flex; gap: 18px; font-size: 12px; color: var(--muted); }
.lp-pv-leg i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lp-pv-leg b { color: var(--txt); }
.lp-pv-vh { display: block; margin-bottom: 14px; }
.lp-pv-vh strong { display: block; font-size: 16px; }
.lp-pv-vh > span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.lp-pv-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.lp-pv-pills span { font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); }
.lp-pv-pills span.on { background: var(--accent-soft); border-color: transparent; color: var(--accent2); font-weight: 600; }
.lp-pv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-pv-col { border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.lp-pv-colh { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; padding: 4px 6px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.lp-pv-mini { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--card2); color: var(--muted); white-space: nowrap; }
.lp-pv-mini.info { background: var(--accent-soft); color: var(--accent2); }
.lp-pv-mini.warn { background: var(--warn-soft); color: var(--c-amber); }
.lp-pv-mini.bad { background: var(--bad-soft); color: var(--bad); }
.lp-pv-anh { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.lp-pv .srv-pills { margin-bottom: 14px; }
.lp-pv .sx-cols { overflow-x: visible; gap: 12px; }
.lp-pv .sx-col { min-width: 0; }
.lp-pv .sx-col-body { max-height: 252px; }
.lp-pv .sx-row { padding: 7px 11px; }
.lp-pv .sx-row .btn.sm { padding: 3px 10px; font-size: 11px; }

.lp-origin-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; text-align: left; }
.lp-origin-tx p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 0 14px; }
.lp-origin-tx strong { color: var(--txt); font-weight: 600; }
.lp-origin-stats { display: flex; flex-direction: column; gap: 12px; }
.lp-os { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.lp-os b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--accent2), var(--c-pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-os span { font-size: 13px; color: var(--muted); }
.lp-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.lp-fact { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 30px; min-width: 150px; }
.lp-fact b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--accent2), var(--c-pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-fact span { font-size: 13px; color: var(--muted); }

.lp-price { max-width: 440px; margin: 0 auto; background: var(--card); border: 1px solid var(--line2); border-radius: 20px;
  padding: 32px 30px; text-align: center; position: relative; }
.lp-price .lp-soon-badge { margin-bottom: 16px; }
.lp-price-name { font-size: 15px; font-weight: 600; color: var(--muted); }
.lp-price-val { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 20px; }
.lp-price-val span { font-size: 16px; font-weight: 500; color: var(--faint); }
.lp-price-feats { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; display: flex; flex-direction: column; gap: 11px; }
.lp-price-feats li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--txt); }
.lp-price-feats svg { width: 17px; height: 17px; stroke: var(--ok); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.lp-price .btn[disabled] { width: 100%; opacity: .55; cursor: not-allowed; }
.lp-price .btn:not([disabled]) { width: 100%; }
.lp-price-note { margin-top: 14px; font-size: 12px; color: var(--faint); }
.lp-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin: 0 auto; text-align: left; }
.lp-pricing-grid .lp-price { max-width: none; margin: 0; }
.lp-signup { background: var(--card); border: 1px solid var(--line2); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.lp-signup h3 { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.lp-signup-sub { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }
.lp-signup .reg-form { max-width: none; margin: 16px 0 0; }
.lp-signup-contact { margin-top: 14px; font-size: 12.5px; color: var(--faint); }
.lp-signup-contact strong { color: var(--accent2); }
.lp-signup-contact.reg-err { color: var(--bad); }
.reg-done { padding: 18px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ok);
  background: rgba(46,204,113,.1); border: 1px solid rgba(46,204,113,.3); }
.reg-err { color: var(--bad); }

.lp-waitlist { max-width: 540px; margin: 0 auto; background: var(--card); border: 1px solid var(--line2); border-radius: 20px; padding: 30px; text-align: left; }
.lp-waitlist .reg-form { max-width: none; margin: 0; }
.lp-wl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.lp-wl-chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); background: var(--card2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.lp-wl-chips svg { width: 14px; height: 14px; stroke: var(--ok); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lp-wl-note { margin-top: 14px; font-size: 12.5px; color: var(--faint); text-align: center; }
.lp-wl-note strong { color: var(--accent2); }
.lp-wl-note.reg-err { color: var(--bad); }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reg-field { display: block; }
.reg-field > span { display: block; font-size: 12.5px; font-weight: 600; color: var(--txt); margin-bottom: 6px; }
.reg-field > span i { font-weight: 400; color: var(--faint); font-style: normal; }
.reg-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.reg-stars input { position: absolute; opacity: 0; pointer-events: none; }
.reg-stars label { font-size: 28px; line-height: 1; color: var(--line3); cursor: pointer; padding: 0 2px; transition: color .12s ease, transform .12s ease; }
.reg-stars label:hover { transform: scale(1.12); }
.reg-stars label:hover, .reg-stars label:hover ~ label, .reg-stars input:checked ~ label { color: #f5c451; }
.reg-form .cf-turnstile { margin: 2px 0; }
.reg-inline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reg-inline > span { margin-bottom: 0; }
.reg-form input:focus, .reg-form textarea:focus { box-shadow: 0 0 0 3px var(--accent-soft); }
.lp-waitlist { box-shadow: 0 24px 70px rgba(0,0,0,.4); }
.lp-waitlist .reg-form { gap: 13px; }
.lp-waitlist .reg-form input, .lp-waitlist .reg-form textarea { background: var(--card2); }

.lp-integ { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.lp-integ-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: transform .18s ease, border-color .18s ease; }
.lp-integ-card:hover { transform: translateY(-4px); border-color: var(--line2); }
.lp-integ-card h3 { font-size: 17px; font-weight: 700; margin: 14px 0 8px; }
.lp-integ-card p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; }

.reg-hero { padding-top: 40px; }
.reg-form { display: flex; flex-direction: column; gap: 10px; max-width: 440px; margin: 8px auto 0; text-align: left; }
.reg-form input, .reg-form textarea { width: 100%; padding: 13px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line2); color: var(--txt); font-size: 14px; font-family: inherit; }
.reg-form input:focus, .reg-form textarea:focus { outline: none; border-color: var(--accent); }
.reg-form textarea { resize: vertical; min-height: 72px; }
.reg-form .btn { width: 100%; justify-content: center; }
.reg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.reg-flash { max-width: 440px; margin: 0 auto 14px; padding: 11px 16px; border-radius: 11px; font-size: 13px; background: var(--bad-soft); border: 1px solid var(--bad); color: var(--bad); }
.reg-contact { margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.reg-contact strong { color: var(--accent2); }
.reg-note { margin-top: 14px; font-size: 12.5px; color: var(--faint); }
.reg-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin: 30px auto 0; }
.reg-step { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.reg-step-d { width: 10px; height: 10px; border-radius: 50%; background: var(--line3); }
.reg-step-d.on { background: var(--ok); box-shadow: 0 0 0 4px rgba(46,204,113,.15); }
.reg-back { display: inline-block; margin-top: 30px; font-size: 14px; color: var(--muted); }
.reg-back:hover { color: var(--txt); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s cubic-bezier(.21,.7,.3,1), transform .65s cubic-bezier(.21,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .lp-track, .lp-hero-intro::before, .lp-wheel, .lp-shape, .lp-mouse, .lp-stat-v { animation: none; } }

@media (max-width: 820px) {
  .lp { padding: 0 18px 48px; }
  .lp-hero { padding: 38px 0 22px; }
  .lp-h1 { font-size: 40px; }
  .lp-sub { font-size: 15.5px; }
  .lp-features, .lp-steps { grid-template-columns: 1fr; }
  .lp-mock-kpis { grid-template-columns: 1fr 1fr; }
  .lp-nav-links > a:not(.btn) { display: none; }
  .lp-lang { display: none; }
  .lp-shapes { display: none; }
  .lp-section { padding: 50px 0 0; }
  .lp-h2 { font-size: 27px; margin-bottom: 26px; }
  .lp-mock { margin-top: 40px; }
  .lp-origin-grid { grid-template-columns: 1fr; gap: 26px; }
  .lp-origin-stats { flex-direction: row; flex-wrap: wrap; }
  .lp-os { flex: 1; min-width: 150px; }
  .lp-pv-grid { grid-template-columns: 1fr; }
  .lp-pv .lp-pv-d2 { grid-template-columns: 1fr; }
  .lp-pv .kpi-grid { grid-template-columns: 1fr 1fr; }
  .lp-lead { margin-top: -12px; font-size: 15px; }
  .lp-integ { grid-template-columns: 1fr; }
  .lp-pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 560px) {
  .lp { padding: 0 15px 40px; }
  .lp-nav { padding: 14px 0; }
  .lp-brand .word { font-size: 17px; }
  .lp-badge { font-size: 11px; margin-bottom: 16px; }
  .lp-h1 { font-size: 31px; margin-bottom: 16px; }
  .lp-sub { font-size: 14.5px; margin-bottom: 24px; }
  .lp-cta { flex-direction: column; }
  .lp-cta .btn { width: 100%; justify-content: center; }
  .lp-trust { gap: 6px 16px; font-size: 11.5px; }
  .lp-mock { margin-top: 32px; border-radius: 13px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
  .lp-mock-body { padding: 14px; }
  .lp-mock-kpis { gap: 9px; margin-bottom: 14px; }
  .lp-mk { padding: 11px; border-radius: 10px; }
  .lp-mk-v { font-size: 20px; }
  .lp-mock-chart { height: 78px; gap: 6px; }
  .lp-stats { padding: 22px 16px; margin-top: 38px; }
  .lp-stats-grid { gap: 14px 12px; }
  .lp-stat-v { font-size: 28px; }
  .lp-stat-l { font-size: 11px; }
  .lp-section { padding: 44px 0 0; }
  .lp-h2 { font-size: 23px; margin-bottom: 22px; }
  .lp-feat, .lp-step { padding: 19px; }
  .lp-logo { width: 100%; }
  .lp-final { margin-top: 50px; padding: 38px 18px; border-radius: 20px; }
  .lp-final h2 { font-size: 23px; }
  .lp-final p { font-size: 14px; }
  .lp-foot-row { justify-content: center; text-align: center; gap: 18px; }
  .lp-foot-links { align-items: center; }
  .lp-story { padding: 24px 20px; }
  .lp-story::before { font-size: 92px; right: 16px; }
  .lp-story p:first-of-type { font-size: 15.5px; }
  .lp-topbar { font-size: 12px; padding: 9px 14px; gap: 8px; }
  .lp-pv-app { grid-template-columns: 58px 1fr; min-height: 0; }
  .lp-pv .side { padding: 12px 6px; }
  .lp-pv .brand { padding: 4px 0 12px; justify-content: center; }
  .lp-pv .brand-txt, .lp-pv .nav-label, .lp-pv .side a span, .lp-pv .acct-info { display: none; }
  .lp-pv .side a { justify-content: center; padding: 9px 0; }
  .lp-pv .account { justify-content: center; padding: 7px; }
  .lp-pv-main { padding: 14px; }
  .lp-pv .head { flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
  .lp-pv .head h1 { font-size: 18px; }
  .lp-pv .kpi-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .lp-pv .kpi-num { font-size: 21px; }
  .lp-pv .net-row { grid-template-columns: 1fr 1.3fr 38px; gap: 8px; }
  .lp-pv .net-row .net-v.up, .lp-pv .net-row .net-v.dn, .lp-pv .net-head span:nth-child(4), .lp-pv .net-head span:nth-child(5) { display: none; }
  .lp-pv .sx-cols { flex-direction: column; }
  .lp-pv .sx-row .btn.sm { display: none; }
  .lp-pv table th, .lp-pv table td { padding: 8px 7px; font-size: 12px; }
  .lp-pv-le-t, .lp-pv-le-b { font-size: 11px; }
  .lp-price { padding: 26px 20px; }
  .lp-price-val { font-size: 32px; }
  .lp-os b { font-size: 26px; }
  .lp-waitlist { padding: 22px; }
  .reg-grid { grid-template-columns: 1fr; }
}
