/* gool : fond clair, une couleur d'accent (orange) réservée aux actions et à la sélection, filets de 1 px, Inter.
   Coque : barre latérale fixe à gauche, en-tête fin, contenu centré. Propriétés logiques : la même feuille sert en RTL.
   Valeurs tirées de ce que font Vercel, Linear et shadcn (voir docs/06-design.md) : gris froids à moins de 5 % de
   saturation, texte d'interface en 13 et 14 px, jamais de 700, profondeur par un saut de luminosité et un filet, pas
   d'ombre décorative, chiffres tabulaires partout. */
:root {
  --bg: #f7f7f8; --panel: #ffffff; --panel-2: #f3f4f5; --panel-3: #ecedef;
  --ink: #1a1c1e; --ink-2: #5b6068; --muted: #6b7079; --faint: #9a9fa7;
  --line: #e6e7e9; --line-strong: #d5d7da;
  --accent: #ff6a13; --accent-strong: #e85f0e; --accent-soft: #fff1e8; --accent-border: #ffcfae; --accent-ink: #1c1d1f;
  --ring: rgba(255, 106, 19, 0.22);
  --ok: #218358; --ok-bg: #e6f6eb; --warn: #ab6400; --warn-bg: #fff7c2; --bad: #ce2c31; --bad-bg: #feebec;
  --sh-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --r-2: 6px; --r-3: 8px; --r-4: 12px;
  --side-w: 248px; --top-h: 48px; --content-w: 1200px; --hero-w: 720px; --page-px: 24px;
  --t: 150ms; --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html { font-size: 14px; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.45; -webkit-font-smoothing: antialiased; font-feature-settings: "liga" 1, "calt" 1, "cv01" 1; letter-spacing: -0.006em; }
a { color: inherit; }
.ic { width: 16px; height: 16px; flex: none; } .ic.sm { width: 14px; height: 14px; }
kbd { font: 500 11px/1 Inter, system-ui; color: var(--muted); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 2px 5px; background: var(--panel); }

/* ---- coque ---- */
.shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--side-w); flex: none; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--bg); padding: 12px 10px 10px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: 15px; padding: 6px 8px 14px; }
.brand .mark { width: 24px; height: 24px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.sidebar nav { flex: 1; overflow-y: auto; }
.group { margin-bottom: 12px; }
.group-label { height: 28px; display: flex; align-items: center; font-size: 12px; color: var(--muted); font-weight: 500; padding: 0 8px; }
.sidebar nav a { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; margin-bottom: 2px; border-radius: var(--r-2); text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14px; transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.sidebar nav a .ic { color: var(--muted); }
.sidebar nav a:hover { background: var(--panel-2); color: var(--ink); }
.sidebar nav a.on { background: var(--panel-3); color: var(--ink); }
.sidebar nav a.on .ic { color: var(--accent-strong); }
.side-foot { padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.langpick select { width: 100%; height: 32px; padding: 0 8px; font-size: 13px; background: transparent; border-color: transparent; color: var(--ink-2); }
.langpick select:hover { border-color: var(--line); background: var(--panel); }
.whoami { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 6px; border-radius: var(--r-3); font-size: 13px; }
.whoami:hover { background: var(--panel-2); }
.whoami .avatar { width: 32px; height: 32px; border-radius: var(--r-3); background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; flex: none; }
.whoami .who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.whoami .who b { font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whoami .who small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whoami a { color: var(--muted); display: inline-flex; padding: 6px; border-radius: var(--r-2); } .whoami a:hover { background: var(--panel-3); color: var(--ink); }
.content { flex: 1; min-width: 0; display: flex; flex-direction: column; margin: 8px 8px 8px 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-4); box-shadow: var(--sh-xs); min-height: calc(100vh - 16px); }
.shell.bare .content { margin: 0; border: none; border-radius: 0; box-shadow: none; background: var(--bg); }
.topbar { height: var(--top-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--page-px); border-bottom: 1px solid var(--line); position: sticky; top: 8px; z-index: 5; background: var(--panel); border-radius: var(--r-4) var(--r-4) 0 0; }
.crumb { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.crumb .sep { color: var(--faint); }
.crumb .project { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; height: 28px; padding: 0 8px; border-radius: var(--r-2); }
.crumb .project:hover { background: var(--panel-2); }
.crumb .project .ic { color: var(--faint); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; white-space: nowrap; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--panel); box-shadow: var(--sh-xs); text-decoration: none; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color var(--t) var(--ease); }
.chip:hover { border-color: var(--line-strong); }
.chip .ic { color: var(--muted); }
.chip.warn { background: var(--warn-bg); border-color: transparent; color: var(--warn); } .chip.bad { background: var(--bad-bg); border-color: transparent; color: var(--bad); }
main { width: 100%; max-width: var(--content-w); margin: 0 auto; padding: 24px var(--page-px) 72px; }
.shell.bare main { padding-top: 48px; }
.barebar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.barebar .brand { padding: 0; } .barebar .brand img { height: 26px; display: block; }
.barebar-right { display: flex; align-items: center; gap: 8px; }
.barebar .langpick select { width: auto; } .barebar .whoami { height: 36px; padding: 0 4px; } .barebar .whoami .avatar { width: 26px; height: 26px; font-size: 12px; }
.barebar .whoami small { display: none; }
.shell.bare:has(.barebar) { flex-direction: column; } .barebar { width: 100%; }
.shell.bare:has(.barebar) main { padding-top: 24px; }
.field label.intl { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; }
.field input[type=checkbox] { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.zones { display: flex; flex-wrap: wrap; gap: 8px; }
.zone { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 6px 0 12px; border-radius: 999px; border: 1px solid var(--accent-border); background: var(--accent-soft); font-size: 13px; font-weight: 500; }
.zone button { height: 22px; width: 22px; padding: 0; border: 0; background: none; box-shadow: none; color: var(--muted); font-size: 16px; line-height: 1; }
.zone button:hover { color: var(--bad); }
.ccard.draft { border-style: dashed; }
.tag.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.field input[type=text] { width: 100%; height: 40px; margin-top: 6px; }

/* ---- texte ---- */
h1 { font-size: 20px; font-weight: 600; letter-spacing: -0.017em; margin: 0 0 4px; line-height: 1.33; }
h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.011em; margin: 28px 0 10px; }
h3 { font-size: 14px; font-weight: 600; margin: 0; }
p { margin: 6px 0; }
.eyebrow { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.muted { color: var(--muted); }
.ok { color: var(--ok); } .warn { color: var(--warn); } .bad { color: var(--bad); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: var(--panel-2); padding: 1px 5px; border-radius: 4px; }
pre, .quote { white-space: pre-wrap; font-size: 13px; line-height: 1.5; font-family: inherit; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-3); padding: 12px 14px; margin: 8px 0; }
pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }

/* ---- surfaces ---- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-4); padding: 16px 18px; margin: 12px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.grid > .panel { margin: 0; }
.kpi { display: flex; flex-direction: column; gap: 4px; border-radius: var(--r-3); }
.kpi b { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi .muted { font-size: 13px; }
.kpi.warn { border-color: var(--warn); } .kpi.bad { border-color: var(--bad); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; color: var(--muted); font-size: 12px; }
tr:last-child td { border-bottom: none; }
tbody tr:hover td, tr:hover td { background: var(--panel-2); }
td { font-variant-numeric: tabular-nums; } td:not(:last-child) { white-space: nowrap; }
.job { border-inline-start: 3px solid var(--accent); }
.flash { border-inline-start: 3px solid var(--ok); }
.flash.bad { border-inline-start-color: var(--bad); }
.tag { display: inline-block; font-size: 11px; font-weight: 500; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.tag.on { border-color: var(--accent-border); color: var(--accent-strong); background: var(--accent-soft); }

/* ---- commandes ---- */
button, .btn { font: inherit; font-weight: 500; font-size: 14px; height: 36px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); padding: 0 14px; border-radius: var(--r-2); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--sh-xs); transition: background var(--t) var(--ease), border-color var(--t) var(--ease); }
button:hover, .btn:hover { background: var(--panel-2); }
button.primary, .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: none; }
button.primary:hover, .btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
button[disabled] { opacity: 0.45; cursor: default; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: none; }
input, select, textarea { font: inherit; font-size: 14px; height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-2); background: var(--panel); color: var(--ink); width: 100%; }
input::placeholder, textarea::placeholder { color: var(--faint); }
textarea { height: auto; min-height: 140px; padding: 8px 10px; line-height: 1.5; }
form.inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
form.inline label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); min-width: 160px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; align-items: flex-end; }
.actions label.muted { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }

/* ---- accueil ---- */
.hero { max-width: var(--hero-w); margin: 32px auto 8px; text-align: center; }
.hero h1 { font-size: 28px; font-weight: 600; letter-spacing: -0.022em; line-height: 1.2; margin-top: 6px; }
.hero > .muted { font-size: 14px; max-width: 560px; margin: 8px auto 0; }
.prompt { position: relative; text-align: start; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-4); padding: 16px 16px 52px; margin-top: 24px; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.prompt:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.prompt textarea { border: none; padding: 0; min-height: 56px; resize: vertical; font-size: 16px; line-height: 1.5; background: transparent; box-shadow: none; }
.prompt textarea:focus-visible { outline: none; box-shadow: none; }
.prompt .bar { position: absolute; inset-inline: 12px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prompt .bar .muted { font-size: 13px; padding-inline-start: 4px; }
.prompt .go { width: 32px; height: 32px; border-radius: var(--r-3); padding: 0; justify-content: center; }
.prompt .go .ic { width: 16px; height: 16px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.chips button { font-weight: 500; font-size: 13px; height: 32px; border-radius: 999px; padding: 0 12px; background: var(--panel); border-color: var(--line); }
.chips button:hover { border-color: var(--line-strong); background: var(--panel-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; margin-top: 32px; }
.card { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-4); padding: 20px; position: relative; transition: border-color var(--t) var(--ease); }
.card:hover { border-color: var(--line-strong); }
.card .tile { width: 36px; height: 36px; border-radius: var(--r-3); background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.card .tile .ic { width: 18px; height: 18px; }
.card .body { flex: 1; min-width: 0; }
.card .body h3 { margin: 0 0 2px; font-size: 15px; font-weight: 600; }
.card .body p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.two > .panel { margin: 0; }
.empty { color: var(--muted); text-align: center; padding: 28px 0; font-size: 13px; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.row-head a { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .shell { flex-direction: column; }
  .sidebar { position: static; height: auto; width: auto; flex-direction: row; align-items: center; gap: 8px; padding: 8px 10px; overflow-x: auto; }
  .sidebar nav { display: flex; gap: 6px; } .group { display: flex; gap: 2px; margin: 0; } .group-label { display: none; } .sidebar nav a span { display: none; }
  .side-foot { padding: 0; flex-direction: row; margin-inline-start: auto; } .whoami .who { display: none; }
  .content { margin: 0 8px 8px; min-height: auto; } .topbar { top: 0; }
  .two { grid-template-columns: 1fr; }
  main { padding: 20px 16px 60px; }
  .hero h1 { font-size: 24px; }
}

/* ---- espace campagnes (cartes) ---- */
.brand img { height: 26px; display: block; }
.ccard { position: relative; flex-direction: column; }
.ccard .enter { position: absolute; inset: 0; z-index: 1; border-radius: var(--r-4); }
.ccard.on { border-color: var(--accent-border); box-shadow: 0 0 0 3px var(--accent-soft); }
.ccard:hover { border-color: var(--line-strong); background: var(--panel); }
.ccard.new { text-decoration: none; border-style: dashed; justify-content: center; }
.ccard.new:hover { border-color: var(--accent); }
button.danger { background: var(--bad); border-color: var(--bad); color: #fff; box-shadow: none; }
button.danger:hover { background: #b1252a; border-color: #b1252a; }

/* ---- le panneau vivant ---- */
/* ---- le panneau vivant : plein écran, grille pointée, nœuds reliés ; réduit = une pastille ---- */
.live { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--panel) radial-gradient(circle, #d8dade 1px, transparent 1.3px) 0 0 / 18px 18px; animation: live-in .25s var(--ease); }
.live.collapsed { display: none; }
body.live-open { overflow: hidden; }
@keyframes live-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.live-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; }
.live-sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--sh-xs); font-size: 13px; font-weight: 600; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.live-pill .spin { animation: spin 1.1s linear infinite; }
.live-pill.done { color: var(--ok); } .live-pill.done .spin { animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.live-canvas { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 20px 24px 32px; }
.flow { display: flex; flex-direction: column; align-items: center; }
.flow-row { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; row-gap: 26px; }
.vlink { width: 2px; height: 30px; margin: 4px 0; background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 11px); }
.vlink.done { background: var(--ok); }
.node { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; width: 128px; height: auto; padding: 0; border: 0; background: none; box-shadow: none; cursor: pointer; }
.node .box, .live-card-head .box { width: 54px; height: 54px; border-radius: 15px; border: 1.5px solid var(--line-strong); background: var(--panel); display: grid; place-items: center; color: var(--ink-2); transition: box-shadow var(--t), border-color var(--t), transform var(--t); }
.node .box svg, .live-card-head .box svg { width: 23px; height: 23px; }
.node .lbl { font-weight: 600; font-size: 13px; text-align: center; line-height: 1.2; }
.node .meta { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.node.pending .box { border-style: dashed; color: var(--faint); }
.node.running .box, .live-card-head .box.running { border-color: var(--accent); color: var(--accent-strong); box-shadow: 0 0 0 6px var(--accent-soft), 0 14px 32px -12px rgba(255, 106, 19, .7); animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 9px var(--accent-soft), 0 14px 32px -12px rgba(255, 106, 19, .7); } }
.node.ok .box, .live-card-head .box.ok { border-color: var(--ok); color: var(--ok); background: #f6fcf8; }
.node.error .box, .live-card-head .box.error { border-color: var(--bad); color: var(--bad); background: var(--bad-bg); }
.node.skipped { opacity: .45; }
.node:hover .box { transform: translateY(-1px); }
.node.sel .box { outline: 3px solid var(--ring); outline-offset: 2px; }
.link { width: 40px; height: 2px; margin-top: 26px; flex: none; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px); }
.link.done { background: var(--ok); }
.link.active { background: var(--accent); }
.live-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.badge-pill { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35); }
.badge-pill.done { background: var(--ok); } .badge-pill.todo { background: var(--accent); } .badge-pill.bad { background: var(--bad); }
.live-card { width: min(760px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 44px -22px rgba(0, 0, 0, .2); font-size: 14px; }
.live-card-head { display: flex; align-items: center; gap: 12px; }
.live-card-head .box { width: 42px; height: 42px; border-radius: 12px; } .live-card-head .box svg { width: 19px; height: 19px; }
.live-card-head b { font-size: 15px; }
.small-text { font-size: 12.5px; }
.live-card p { margin: 10px 0 0; white-space: pre-wrap; line-height: 1.5; }
.live-card p:empty { display: none; }
.live-mini { display: none; position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 60; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel); box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .35); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.live-mini.on { display: inline-flex; }
.live-mini:hover { border-color: var(--accent); }
.live-mini .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s ease-out infinite; }
.live-mini.ok .dot { background: var(--ok); animation: none; } .live-mini.error .dot { background: var(--bad); animation: none; }
@media (max-width: 640px) { .live-top { flex-wrap: wrap; } .node { width: 96px; } .link { width: 14px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,106,19,.45); } 100% { box-shadow: 0 0 0 10px rgba(255,106,19,0); } }

/* l'avis des testeurs, et la page du fondateur */
/* le bouton flottant « Ton avis » : en bas à droite, il respire et se balance de temps en temps pour qu'on le voie */
.fab-feedback { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-decoration: none; }
.fab-feedback .say { font-size: 13px; font-weight: 500; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; box-shadow: var(--sh-xs); }
.fab-feedback .btn-fab { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 600; box-shadow: 0 10px 28px -10px rgba(255, 106, 19, .7); animation: fab-breathe 2.2s ease-in-out infinite, fab-wave 6s ease-in-out infinite; transform-origin: 50% 100%; }
.fab-feedback .btn-fab .ic { width: 18px; height: 18px; color: var(--accent-ink); }
.fab-feedback:hover .btn-fab { animation-play-state: paused; filter: brightness(1.05); }
@keyframes fab-breathe { 0%, 100% { box-shadow: 0 10px 28px -10px rgba(255, 106, 19, .7), 0 0 0 0 rgba(255, 106, 19, .45); } 50% { box-shadow: 0 10px 28px -10px rgba(255, 106, 19, .7), 0 0 0 12px rgba(255, 106, 19, 0); } }
@keyframes fab-wave { 0%, 80%, 100% { transform: none; } 84% { transform: rotate(-6deg) scale(1.04); } 88% { transform: rotate(6deg) scale(1.04); } 92% { transform: rotate(-4deg) scale(1.02); } 96% { transform: rotate(3deg); } }
body:has(.live-mini.on) .fab-feedback { bottom: 66px; } /* au-dessus de la pastille de tâche */
body:has(.live:not(.collapsed)) .fab-feedback { display: none; } /* pas devant le panneau plein écran */
@media (prefers-reduced-motion: reduce) { .fab-feedback .btn-fab { animation: none; } }
@media (max-width: 640px) { .fab-feedback .say { display: none; } .fab-feedback .btn-fab { height: 44px; padding: 0 16px; } }
.narrow { max-width: 640px; }
.scores { display: flex; gap: 8px; margin: 8px 0 6px; }
.scores .score { position: relative; } .scores .score input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.scores .score span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--r-2); font-weight: 500; font-variant-numeric: tabular-nums; background: var(--panel); transition: border-color var(--t) var(--ease), background var(--t) var(--ease); }
.scores .score input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.scores .score input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
form.cap { display: inline-flex; gap: 6px; align-items: center; } form.cap input { width: 84px; height: 30px; } form.cap button { height: 30px; padding: 0 10px; }
td.bad, span.bad { color: var(--bad); }

/* les questions de l'inscription : même scène que le panneau vivant, mais une page */
.welcome-body { margin: 0; }
.welcome { min-height: 100vh; display: flex; flex-direction: column; background: var(--panel) radial-gradient(circle, #d8dade 1px, transparent 1.3px) 0 0 / 18px 18px; animation: live-in .25s var(--ease); }
.welcome .live-canvas { justify-content: flex-start; padding-top: 28px; }
.welcome .node { cursor: default; } .welcome .node.ok { cursor: pointer; }
.welcome .live-card { width: min(640px, 100%); padding: 20px 22px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.choice { position: relative; } .choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--panel); font-size: 14.5px; font-weight: 500; transition: border-color var(--t), background var(--t), color var(--t); }
.choice:hover span { border-color: var(--accent); }
.choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.w-actions { justify-content: flex-end; margin-top: 18px; }
@media (max-width: 640px) { .welcome .live-top { flex-wrap: wrap; } .welcome .node { width: 72px; } .welcome .node .lbl { font-size: 11.5px; } .welcome .link { width: 14px; } }
