:root {
  --bg: #13100e; --card: #1c1815; --card2: #25201c; --line: #332b25; --text: #f5efe9; --muted: #a39a91;
  --accent: #e5734b; --accent-2: #f0a068; --accent-soft: rgba(229, 115, 75, .15);
  --easy: #4cc38a; --normal: #5aa7e8; --hard: #e9a948; --fail: #e8575f;
  --radius: 18px; --tabs: 64px;
  color-scheme: dark;
}
/* Light theme: system default, or forced in settings (data-theme on <html>). */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --bg: #f6f1ea; --card: #fffdfa; --card2: #f1e9df; --line: #e6dbcf; --text: #241d18;
    --muted: #7c7168; --accent: #d4623a; --accent-2: #e58a52; --accent-soft: rgba(212, 98, 58, .12); color-scheme: light; }
}
:root[data-theme="light"] { --bg: #f6f1ea; --card: #fffdfa; --card2: #f1e9df; --line: #e6dbcf; --text: #241d18;
  --muted: #7c7168; --accent: #d4623a; --accent-2: #e58a52; --accent-soft: rgba(212, 98, 58, .12); color-scheme: light; }
* { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-tap-highlight-color: transparent;
  font: 16px/1.4 ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  padding-bottom: calc(var(--tabs) + 24px + env(safe-area-inset-bottom)); }
header { padding: calc(12px + env(safe-area-inset-top)) 16px 4px; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; }
#quick { display: flex; gap: 6px; }
#quick button { height: 36px; min-width: 36px; padding: 0 10px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--muted);
  display: grid; place-items: center; }
#quick svg { width: 18px; height: 18px; }
.logo { height: 40px; cursor: pointer; display: block; }
main { padding: 0 16px; max-width: 560px; margin: 0 auto; }

/* Headings and text */
.eyebrow { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 18px; }
h1 { font-size: 32px; line-height: 1.1; margin: 4px 0 14px; font-weight: 800; }
h2 { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin: 26px 4px 8px; }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 12px; color: var(--muted); }
.error { color: var(--fail); }

/* Cards and lists */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 10px 0; }
.list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 10px 0; }
.item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.item:last-child { border-bottom: 0; }
.item .grow { flex: 1; }
.item .sub { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.chev { color: var(--muted); }
.chip { display: inline-block; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--card2);
  border-radius: 999px; padding: 4px 9px 2px; line-height: 16px; margin: 2px 4px 2px 0; }
.chip.accent { color: var(--accent); background: var(--accent-soft); }

/* Forms */
input, select { background: var(--card2); color: var(--text); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; font: inherit; width: 100%; }
label.field { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.check input { width: auto; flex: none; }

/* Buttons */
button { font: inherit; border-radius: 14px; border: 1px solid var(--line); background: var(--card2);
  color: var(--text); padding: 12px 14px; cursor: pointer; }
button:active { transform: scale(.98); }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 800; width: 100%;
  padding: 16px; font-size: 17px; box-shadow: 0 6px 20px var(--accent-soft); }
button.link { background: none; border: 0; color: var(--accent); padding: 8px 0; font-weight: 600; }
button:disabled { opacity: .4; box-shadow: none; }

/* Home */
.resume { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: 0; color: #fff; }
.resume .muted { color: rgba(255, 255, 255, .85); }
.resume button { background: #fff; color: var(--accent); border: 0; font-weight: 800; }
.plan { counter-reset: n; }
.plan .item { cursor: default; }
.plan .item::before { counter-increment: n; content: counter(n); width: 24px; height: 24px; border-radius: 8px;
  background: var(--card2); color: var(--muted); font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: none; }
.selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Workout */
.progress { height: 6px; background: var(--card2); border-radius: 999px; overflow: hidden; margin: 2px 0 14px; }
.progress div { height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s; }
.focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; padding: 18px; }
.focus .name { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.dots { display: flex; gap: 6px; margin: 12px 0 4px; flex-wrap: wrap; }
.dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: var(--muted); }
.dot.now { border-color: var(--accent); color: var(--accent); }
.dot.facile { background: var(--easy); border-color: var(--easy); color: #fff; }
.dot.normal { background: var(--normal); border-color: var(--normal); color: #fff; }
.dot.dur { background: var(--hard); border-color: var(--hard); color: #fff; }
.dot.echec { background: var(--fail); border-color: var(--fail); color: #fff; }
.steppers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 6px; }
.stepper { background: var(--card2); border-radius: 16px; padding: 8px; text-align: center; }
.stepper .small { display: block; margin-bottom: 2px; }
.stepper .ctl { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; padding: 0; border-radius: 12px; font-size: 22px; font-weight: 700;
  background: var(--card); flex: none; }
.stepper input { background: none; border: 0; text-align: center; font-size: 30px; font-weight: 800; padding: 4px 0;
  font-variant-numeric: tabular-nums; }
.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0; }
.choices.three { grid-template-columns: repeat(3, 1fr); }
.choices button { padding: 12px 4px; font-weight: 600; font-size: 15px; }
.choices button.on { color: #fff; border-color: transparent; }
.choices button.on[data-d="facile"] { background: var(--easy); }
.choices button.on[data-d="normal"] { background: var(--normal); }
.choices button.on[data-d="dur"] { background: var(--hard); }
.choices button.on[data-d="echec"], .choices button.on[data-f] { background: var(--fail); }
.choices button.on[data-theme] { background: var(--accent); }
.choices.three button { font-size: 13px; }
.done-sets { margin: 6px 0 2px; }
.done-set { display: flex; justify-content: space-between; align-items: center; padding: 9px 2px;
  border-top: 1px solid var(--line); font-size: 14px; cursor: pointer; font-variant-numeric: tabular-nums; }
.done-set .tag { font-size: 12px; font-weight: 700; }
.tag.facile { color: var(--easy); } .tag.normal { color: var(--normal); } .tag.dur { color: var(--hard); } .tag.echec { color: var(--fail); }
.extras { display: flex; gap: 12px; align-items: center; margin: 8px 0 12px; }
.extras input { flex: 1; padding: 9px 12px; font-size: 14px; }
.mini-dots { display: flex; gap: 3px; }
.mini-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.mini-dots i.ok { background: var(--accent); }
.item.finished .grow { opacity: .5; }
.past { margin-top: 12px; }
.past summary { color: var(--muted); font-size: 14px; cursor: pointer; }
.past-row { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.past-row:last-child { border-bottom: 0; }
.past-row .sets-line { color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 2px; }

/* History */
.datebox { width: 46px; text-align: center; flex: none; }
.datebox b { display: block; font-size: 20px; line-height: 1; }
.datebox span { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.stat b { display: block; font-size: 19px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); }

/* Tab bar */
#nav { position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--tabs) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); z-index: 5; }
#nav button { background: none; border: 0; border-radius: 0; color: var(--muted); font-size: 11px; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
#nav button.on { color: var(--accent); }
#nav svg { width: 24px; height: 24px; }

/* Rest timer */
body.resting { padding-bottom: calc(var(--tabs) + 110px + env(safe-area-inset-bottom)); }
#timer { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabs) + 10px + env(safe-area-inset-bottom));
  max-width: 536px; margin: 0 auto; background: var(--card2); border: 1px solid var(--line); border-radius: 20px;
  padding: 10px 12px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); z-index: 6; }
#timer svg { width: 54px; height: 54px; flex: none; transform: rotate(-90deg); }
#timer .clock { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
#timer.over .clock { color: var(--easy); }
#timer .grow { flex: 1; }
#timer button { padding: 10px 12px; }
#timer #next { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 800; }

.token { word-break: break-all; font-family: ui-monospace, monospace; font-size: 13px; background: var(--card2);
  padding: 10px; border-radius: 10px; }
#confetti { position: fixed; inset: 0; pointer-events: none; width: 100%; height: 100%; z-index: 9; }
#cheer { position: fixed; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 10;
  font-size: 84px; font-weight: 900; color: var(--accent); text-shadow: 0 4px 24px rgba(0,0,0,.35);
  animation: pop .9s ease-out; }
#cheer.note { font-size: 18px; font-weight: 700; color: var(--text); text-shadow: none; padding: 0 24px; }
#cheer.note span { background: var(--card); border: 1px solid var(--hard); border-radius: 16px; padding: 18px 22px;
  max-width: 340px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.1); opacity: 1; } }

/* Public landing page */
.lang-switch { display: flex; justify-content: flex-end; gap: 6px; margin-top: -30px; }
.lang-switch button { padding: 6px 10px; font-size: 13px; font-weight: 700; }
.lang-switch button.on, .choices button.on[data-lang], .choices button.on[data-mode] { background: var(--accent); border-color: var(--accent); color: #fff; }
button.small-btn { padding: 6px 10px; font-size: 13px; color: var(--muted); }
details.list > summary { list-style: none; }
details.list > summary::after { content: "›"; color: var(--muted); transition: transform .2s; }
details.list[open] > summary::after { transform: rotate(90deg); }
details.list[open] > summary { border-bottom: 1px solid var(--line); }
/* Balanced line lengths: no lone word on the last line. */
h1, .small { text-wrap: balance; }

/* Help */
.help { line-height: 1.55; }
.help summary { cursor: pointer; font-size: 17px; }
.help p, .help li { color: var(--text); font-size: 15px; }
.help h4 { margin: 18px 0 6px; font-size: 15px; }
.help ul, .help ol { padding-left: 20px; }
.help li { margin: 6px 0; }
.help .steps li::marker { color: var(--accent); font-weight: 800; }
.help .tip { background: var(--accent-soft); border-radius: 12px; padding: 10px 12px; }
.help .example { background: var(--card2); border-radius: 12px; padding: 10px 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.help-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.help-table td, .help-table th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.help-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.muscles { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.muscles button { flex: none; padding: 7px 12px; font-size: 13px; border-radius: 999px; }
.muscles button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pick-list { max-height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; }
.pick-list .item.picked { background: var(--accent-soft); }
.pick-list .item.picked .grow > div:first-child { color: var(--accent); font-weight: 700; }
.chart-title { font-size: 12px; color: var(--muted); }
.chart-info { min-height: 42px; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.chart-info b { display: block; font-size: 16px; }
.chart-info span { font-size: 13px; color: var(--muted); }
.body { display: block; width: 100%; max-width: 300px; margin: 8px auto 4px; }
.body-card strong { display: block; margin-bottom: 4px; }
.pick-body .body { max-width: 240px; }
.pick-body .small { margin-top: 10px; }
textarea.note { width: 100%; min-height: 64px; background: var(--card2); color: var(--text); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; resize: vertical; margin: 8px 0; transition: border-color .3s; }
textarea.note.saved { border-color: var(--easy); }
.note-view { color: var(--muted); font-size: 14px; margin: 6px 0; }

/* Cycles page */
.lead { color: var(--muted); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
section.card h3 { margin: 0 0 6px; font-size: 17px; }
section.card p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.demo-chart { display: block; margin-top: 6px; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.pause-rows { display: grid; gap: 6px; margin-top: 8px; }
.pause-row { display: grid; grid-template-columns: 1fr auto 90px; gap: 8px; padding: 10px 12px; background: var(--card2);
  border-radius: 12px; font-variant-numeric: tabular-nums; font-size: 14px; }
button.ghost-primary { background: var(--accent-soft); color: var(--accent); border-color: transparent; box-shadow: none; margin: 4px 0 16px; }
h2.first { margin-top: 10px; }

/* Desktop: tab bar on the left, screens in two columns */
@media (min-width: 900px) {
  body { padding-bottom: 40px; padding-left: 96px; }
  header, main { max-width: 1080px; padding-left: 28px; padding-right: 28px; }
  #nav { top: 0; bottom: 0; right: auto; width: 96px; height: auto; padding: 90px 0 0; grid-template-columns: 1fr;
    grid-auto-rows: 76px; align-content: start; border-top: 0; border-right: 1px solid var(--line); }
  #timer { left: auto; right: 28px; bottom: 28px; width: 380px; margin: 0; }
  body.resting { padding-bottom: 40px; }
  .cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
}
.cols.even { align-items: stretch; }
.cols.even > .card { margin: 0; }
.cols.even { row-gap: 16px; }
.choices.tabs { grid-template-columns: 1fr 1fr; margin: 4px 0 18px; }
.choices.tabs button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 899px) { .cols.even > .card { margin: 10px 0; } }
/* Accordions: the whole title bar is clickable, the card padding moves inside. */
details.card { padding: 0; }
details.card > summary { padding: 16px; cursor: pointer; }
details.card > :not(summary) { margin-left: 16px; margin-right: 16px; }
details.card[open] { padding-bottom: 16px; }
/* The method: four cards of exactly the same size. */
@media (min-width: 900px) { .cols.even { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; } }
.choices.three button small { display: block; font-weight: 400; font-size: 11px; margin-top: 3px; opacity: .8; line-height: 1.25; }
.public-bar { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 6px; }
/* Rules table: short case names on one line; on a phone each row becomes a small card. */
.rules-table td:first-child { white-space: nowrap; }
@media (max-width: 599px) {
  .rules-table tr:first-child { display: none; }
  .rules-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .rules-table td { display: block; border: 0; padding: 2px 0; }
  .rules-table td[data-label]::before { content: attr(data-label) " : "; color: var(--muted); font-size: 12px; }
}
/* Landing page */
.landing-hero { display: grid; gap: 24px; padding: 24px 0 8px; }
.landing-hero h1 { font-size: 38px; line-height: 1.08; letter-spacing: -.02em; margin-top: 0; }
.landing-hero .lead { margin: 0 0 22px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-row button { flex: 1; min-width: 150px; margin: 0; }
.grid3, .grid2 { display: grid; gap: 12px; }
.grid3 > .card, .grid2 > .card { margin: 0; }
.grid2 p, .grid3 p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.step .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft);
  color: var(--accent); font-weight: 800; margin-bottom: 10px; }
.step strong { display: block; }
.teaser { margin-top: 16px; }
.teaser .cta-row { margin-top: 12px; }
.final-cta { text-align: center; margin: 24px 0 8px; padding: 28px 20px; }
.final-cta h3 { margin: 0 0 6px; font-size: 22px; }
.final-cta button { max-width: 360px; margin-top: 10px; }
@media (min-width: 900px) {
  .landing-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 48px; padding-top: 40px; }
  .landing-hero h1 { font-size: 52px; }
  .grid3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
  .grid2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
}
.teaser .demo-chart { max-width: 620px; margin: 0 auto; }
.teaser .legend { justify-content: center; }
/* Landing demo: a phone frame, buttons lit in turn, a loop */
.phone { position: relative; border: 8px solid var(--card2); border-radius: 34px; padding: 26px 10px 14px; background: var(--bg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35); max-width: 380px; width: 100%; justify-self: center; pointer-events: none; user-select: none; }
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 70px; height: 6px; margin-left: -35px; border-radius: 4px; background: var(--card2); }
.demo-tag { position: absolute; top: -14px; right: 18px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
.phone .mock { margin: 0; }
.phone .ctl { justify-content: center; }
.phone .ctl b { font-size: 30px; padding: 6px 0; }
.phone .btn { display: grid; place-items: center; border: 1px solid var(--line); background: var(--card2); border-radius: 14px;
  padding: 12px 4px; font-weight: 600; font-size: 15px; transition: transform .15s, background .2s; }
.phone .btn.on[data-d="normal"] { background: var(--normal); color: #fff; border-color: transparent; }
.phone .btn.on[data-d="dur"] { background: var(--hard); color: #fff; border-color: transparent; }
.phone .btn.primary { background: var(--accent); color: #fff; border: 0; font-weight: 800; padding: 15px; }
.phone .btn.pressed { transform: scale(.93); }
.phone .dot { transition: background .3s, border-color .3s; }
.rest-bar { height: 6px; border-radius: 999px; background: var(--card2); margin-top: 12px; overflow: hidden; opacity: 0; transition: opacity .2s; }
.rest-bar div { height: 100%; width: 0; background: var(--accent); }
.phone.resting .rest-bar { opacity: 1; }
.phone.resting .rest-bar div { animation: rest 1.2s linear forwards; }
@keyframes rest { to { width: 100%; } }
.demo-woo { position: absolute; inset: 26px 10px 14px; border-radius: var(--radius); background: color-mix(in srgb, var(--bg) 88%, transparent);
  display: grid; place-content: center; text-align: center; gap: 6px; opacity: 0; transition: opacity .3s; }
.demo-woo b { font-size: 56px; font-weight: 900; color: var(--accent); }
.demo-woo span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.phone.done .demo-woo { opacity: 1; }
.phone.done .demo-woo b { animation: pop .6s ease-out; }
.phone.done 
/* Reveal on scroll and chart animations */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 110ms); }
.reveal.play { opacity: 1; transform: none; }
.demo-chart .bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.demo-chart.play .bar { animation: grow .45s ease-out forwards; animation-delay: calc(var(--i) * 90ms); }
.demo-chart .loadline { stroke-dasharray: 1; stroke-dashoffset: 1; }
.demo-chart.play .loadline { animation: draw 1.4s ease-in-out .3s forwards; }
.demo-chart .ev, .demo-chart .pt { opacity: 0; }
.demo-chart.play .ev, .demo-chart.play .pt { animation: fade .3s ease forwards; animation-delay: calc(var(--i) * 90ms + .4s); }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .demo-chart .bar, .demo-chart .ev, .demo-chart .pt { opacity: 1; transform: none; animation: none !important; transition: none; }
  .demo-chart .loadline { stroke-dashoffset: 0; animation: none !important; }
}
/* No single word alone on the last line of a paragraph. */
p, li, td, .muted, .lead, .sub, .small { text-wrap: pretty; }
.phone .btn { position: relative; text-align: center; }
.phone .btn.ring { animation: ring .7s ease-out; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 var(--accent); } 60% { box-shadow: 0 0 0 6px var(--accent-soft); } 100% { box-shadow: 0 0 0 3px var(--accent); } }
.phone .btn.ring { box-shadow: 0 0 0 3px var(--accent); }
.chip.warn { color: var(--hard); background: color-mix(in srgb, var(--hard) 15%, transparent); }
.phone .demo-fail { visibility: hidden; margin-top: -2px; }
.phone.failing .demo-fail { visibility: visible; }
.phone .btn.on[data-d="echec"], .phone .btn.on[data-f] { background: var(--fail); color: #fff; border-color: transparent; }
.phone .demo-fail .btn { font-size: 12px; padding: 9px 4px; }
.phone [data-reps] { transition: color .3s; }
.phone [data-reps].short { color: var(--fail); }
.demo-screen { transition: opacity .4s, transform .4s; }
.demo-screen.enter { opacity: 0; transform: translateX(24px); }
.demo-woo.lever b { color: var(--hard); font-size: 44px; }
.demo-woo span { max-width: 260px; margin: 0 auto; text-transform: none; letter-spacing: 0; font-size: 14px; }
.phone .mock { min-height: 474px; box-sizing: border-box; }
