/* ==========================================================================
   Totaliweb · base condivisa (font, token, bottoni) + blocchi delle risposte
   di Toti. Usato dal sito e dal pannello di gestione.
   ========================================================================== */

/* ---------- 1. Font (self-hosted, variabili) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-latin.woff2") format("woff2-variations"), url("/assets/fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-latin-ext.woff2") format("woff2-variations"), url("/assets/fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2-variations"), url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2-variations"), url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2. Token del marchio ---------- */
:root {
  --tw-orange: #F26A1F;
  --tw-orange-hi: #FF8C42;
  --tw-orange-lo: #CF5116;
  --tw-violet: #6C3FE0;
  --tw-violet-hi: #8E68FF;
  --tw-violet-lo: #4B23B5;
  --tw-cream: #F8CB8C;
  --tw-cream-hi: #FFE3B8;
  --tw-ink: #1D1336;
  --tw-bg: #0B0716;
  --tw-bg-2: #140B2A;
  --tw-surface: rgba(255, 255, 255, .06);
  --tw-border: rgba(255, 255, 255, .12);
  --tw-text: #F7F2FF;
  --tw-muted: #B8ACD8;
  --tw-success: #3DDC97;
  --tw-warn: #FFB547;
  --tw-danger: #FF7A6B;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --grad-brand: linear-gradient(135deg, var(--tw-orange-hi) 0%, var(--tw-orange) 45%, var(--tw-orange-lo) 100%);
  --grad-text: linear-gradient(100deg, var(--tw-orange-hi) 0%, var(--tw-cream-hi) 28%, var(--tw-violet-hi) 55%, var(--tw-orange) 80%, var(--tw-orange-hi) 100%);
  --grad-violet: linear-gradient(135deg, var(--tw-violet-hi), var(--tw-violet) 55%, var(--tw-violet-lo));

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- 3. Elementi di base condivisi ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
/* icone statiche: spazio riservato prima che lo script le disegni (nessun salto di layout) */
[data-icon]:empty { width: 1em; height: 1em; flex: none; }
.btn [data-icon] { font-size: 18px; }
.btn--sm [data-icon] { font-size: 16px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.btn {
  --btn-h: 44px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h);
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: -.005em;
  white-space: nowrap; text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .25s, border-color .25s, opacity .2s;
}
.btn .ico { font-size: 18px; transition: transform .25s var(--ease-out); }
.btn:hover .btn__icon .ico { transform: translateX(3px); }
.btn--primary {
  color: var(--tw-ink);
  background: var(--grad-brand);
  border: 0;
  box-shadow: 0 10px 30px -10px rgba(242, 106, 31, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(242, 106, 31, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--ghost {
  color: var(--tw-text);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .18);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.btn--soft {
  color: var(--tw-cream-hi);
  background: rgba(242, 106, 31, .12);
  border: 1px solid rgba(255, 140, 66, .4);
}
.btn--soft:hover { transform: translateY(-1px); background: rgba(242, 106, 31, .22); border-color: rgba(255, 140, 66, .7); }
.btn--danger { color: #fff; background: linear-gradient(135deg, #FF8F80, #E5483A); border: 0; box-shadow: 0 10px 30px -12px rgba(229, 72, 58, .8); }
.btn--sm { --btn-h: 36px; padding: 0 14px; font-size: 13.5px; }
.btn--sm .ico { font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn.is-picked { opacity: 1; outline: 2px solid var(--tw-success); outline-offset: 2px; }

/* ---------- 4. Testo delle risposte (mini-markdown) ---------- */
.md {
  font-size: 15px; line-height: 1.6; color: var(--tw-text);
  padding: 12px 15px;
  border-radius: 6px 18px 18px 18px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  overflow-wrap: anywhere;
  cursor: default;
}
.md.is-typing { cursor: pointer; }
.md > * + * { margin-top: .55em; }
.md p, .md ul, .md ol { margin-bottom: 0; }
.md strong { color: var(--tw-cream-hi); font-weight: 750; }
.md em { color: var(--tw-cream); font-style: italic; }
.md ul, .md ol { padding-left: 1.25em; margin-top: 0; }
.md li + li { margin-top: .25em; }
.md li::marker { color: var(--tw-orange-hi); font-weight: 700; }
.md .w { animation: wordIn .45s var(--ease-out) both; }
.md.is-skip .w { animation: none; }
.md.is-streaming > :last-child::after {
  content: ""; display: inline-block; width: .5em; height: 1em; margin-left: 3px; vertical-align: -2px;
  border-radius: 2px; background: var(--tw-orange-hi); animation: caret 1s steps(2, start) infinite;
}

/* ---------- 5. Blocchi ---------- */
.blk {
  position: relative;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .085);
  padding: 14px;
  min-width: 0;
  color: var(--tw-text);
  font-family: var(--font-body);
  animation: blkIn .55s var(--ease-out) both;
}
.blk p, .blk ul, .blk ol, .blk dl, .blk dd { margin: 0; }
.blk ul, .blk ol { padding: 0; }
.blk__title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px !important; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tw-muted); }
.blk__title .ico { font-size: 15px; color: var(--tw-orange-hi); }
.blk__note { margin-top: 10px !important; font-size: 12.5px; color: var(--tw-muted); line-height: 1.5; }
.blk__note strong { color: var(--tw-text); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; padding: 8px; }
.stat { padding: 12px 12px 11px; border-radius: 12px; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .06); animation: blkIn .55s var(--ease-out) both; }
.stat__value { display: block; font: 800 26px/1.05 var(--font-display); letter-spacing: -.02em; background: linear-gradient(120deg, var(--tw-cream-hi), var(--tw-orange-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat:nth-child(even) .stat__value { background-image: linear-gradient(120deg, var(--tw-cream-hi), var(--tw-violet-hi)); }
.stat__label { display: block; margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--tw-muted); line-height: 1.3; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr)); gap: 10px; padding: 0; background: none; border: 0; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 14px; border-radius: 16px;
  background: linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .09);
  transition: transform .3s var(--ease-out), border-color .3s, background .3s;
  animation: blkIn .55s var(--ease-out) both;
}
.card:hover { transform: translateY(-2px); border-color: rgba(255, 140, 66, .4); }
.card__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--tw-orange-hi); background: linear-gradient(140deg, rgba(255, 140, 66, .22), rgba(108, 63, 224, .18)); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 4px; }
.card:nth-child(3n+2) .card__icon { color: var(--tw-violet-hi); }
.card:nth-child(3n) .card__icon { color: var(--tw-cream); }
.card__title { font: 700 15.5px/1.2 var(--font-display); color: var(--tw-text); padding-right: 54px; }
.card__text { font-size: 13px; line-height: 1.45; color: var(--tw-muted); }
.card__price { margin-top: auto !important; padding-top: 6px; font-weight: 800; font-size: 14px; color: var(--tw-orange-hi); }
.card__tag { position: absolute; top: 12px; right: 12px; padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: var(--tw-ink); background: var(--tw-cream); }

/* table */
.tbl-wrap { position: relative; overflow-x: auto; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.tbl-wrap.is-scrollable { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.tbl-wrap.is-scrollable.is-end { -webkit-mask-image: none; mask-image: none; }
.tbl { width: 100%; min-width: 420px; border-collapse: separate; border-spacing: 0; font-size: 13px; line-height: 1.35; }
.tbl th, .tbl td { padding: 9px 12px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .06); vertical-align: top; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tw-muted); background: rgba(255, 255, 255, .04); white-space: nowrap; }
.tbl tbody th { font-weight: 700; color: var(--tw-text); white-space: nowrap; }
.tbl td { color: rgba(247, 242, 255, .86); }
.tbl tbody tr { animation: fadeUp .4s var(--ease-out) both; }
.tbl tbody tr:hover td, .tbl tbody tr:hover th { background: rgba(255, 255, 255, .03); }
.tbl .is-hl { background: rgba(242, 106, 31, .1); color: var(--tw-cream-hi); font-weight: 700; }
.tbl thead .is-hl { color: var(--tw-orange-hi); background: rgba(242, 106, 31, .18); box-shadow: inset 0 2px 0 var(--tw-orange-hi); }
.tbl caption { caption-side: top; }

/* bars */
.bars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; list-style: none; }
.bar { display: grid; grid-template-columns: minmax(64px, 32%) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13px; }
.bar__label { color: var(--tw-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar__track { display: block; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--grad-violet); transform-origin: left center; transform: scaleX(0); transition: transform 1.1s var(--ease-out); }
.bar.is-hl .bar__fill { background: linear-gradient(90deg, var(--tw-orange-lo), var(--tw-orange-hi)); box-shadow: 0 0 16px rgba(255, 140, 66, .55); }
.bar.is-hl .bar__label { color: var(--tw-cream-hi); }
.bar__value { font-weight: 800; color: var(--tw-text); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.bar.is-hl .bar__value { color: var(--tw-orange-hi); }

/* donut */
.donut { display: flex; align-items: center; gap: 18px; }
.donut__fig { position: relative; width: 128px; height: 128px; flex: none; }
.donut__fig svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut__seg { fill: none; stroke-width: 5.2; transition: stroke-dasharray 1.1s var(--ease-out), stroke-dashoffset 1.1s var(--ease-out); }
.donut__bg { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 5.2; }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 20px; }
.donut__value { font: 800 20px/1 var(--font-display); color: var(--tw-text); letter-spacing: -.02em; }
.donut__label { margin-top: 4px; font-size: 11px; color: var(--tw-muted); font-weight: 600; }
.legend { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; flex: 1; min-width: 0; font-size: 13px; }
.legend li { display: flex; align-items: center; gap: 8px; animation: fadeUp .4s var(--ease-out) both; }
.legend__sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend__label { flex: 1; min-width: 0; color: var(--tw-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend__pct { color: var(--tw-muted); font-weight: 700; font-variant-numeric: tabular-nums; }

/* estimate */
.estimate {
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(242, 106, 31, .16), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border-color: rgba(255, 140, 66, .28);
}
.estimate__top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 10px; }
.estimate__top .blk__title { margin-bottom: 0 !important; flex: 1 1 210px; }
.conf { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; color: var(--tw-cream-hi); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.conf__dots { display: inline-flex; gap: 3px; }
.conf__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.conf__dots i.on { background: var(--tw-orange-hi); box-shadow: 0 0 6px rgba(255, 140, 66, .8); }
.conf--alta .conf__dots i.on { background: var(--tw-success); box-shadow: 0 0 6px rgba(61, 220, 151, .8); }
.gauge { position: relative; max-width: 320px; margin: 10px auto 0; }
.gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge__track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 10; stroke-linecap: round; }
.gauge__ticks { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 1; }
.gauge__range { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray 1.3s var(--ease-out), stroke-dashoffset 1.3s var(--ease-out); filter: drop-shadow(0 0 6px rgba(255, 140, 66, .55)); }
.gauge__knob { fill: var(--tw-cream-hi); stroke: var(--tw-ink); stroke-width: 2.5; }
.gauge__scale { font: 700 7.5px var(--font-body); fill: rgba(184, 172, 216, .8); }
.gauge__readout { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; }
.gauge__from { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tw-muted); }
.gauge__range-txt { display: block; margin-top: 2px; font: 800 clamp(20px, 5.4vw, 26px)/1.05 var(--font-display); letter-spacing: -.02em; color: var(--tw-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gauge__range-txt .sep { color: var(--tw-orange-hi); margin: 0 .2em; }
.estimate__period { text-align: center; }
.gauge__period { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--tw-cream); background: rgba(248, 203, 140, .1); }
.estimate .blk__note { text-align: center; }

/* timeline */
.tl { list-style: none; position: relative; display: grid; gap: 0; }
.tl__step { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 12px; padding-bottom: 14px; animation: fadeUp .5s var(--ease-out) both; }
.tl__step:last-child { padding-bottom: 0; }
.tl__step::before { content: ""; position: absolute; left: 13.5px; top: 28px; bottom: 0; width: 1.5px; background: linear-gradient(180deg, rgba(255, 140, 66, .6), rgba(142, 104, 255, .35)); }
.tl__step:last-child::before { display: none; }
.tl__dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 var(--font-display); color: var(--tw-ink); background: var(--grad-brand); box-shadow: 0 0 0 4px rgba(242, 106, 31, .14); }
.tl__step:last-child .tl__dot { background: linear-gradient(135deg, var(--tw-violet-hi), var(--tw-violet)); color: #fff; box-shadow: 0 0 0 4px rgba(108, 63, 224, .2); }
.tl__label { font-weight: 700; font-size: 14px; color: var(--tw-text); padding-top: 4px; }
.tl__detail { grid-column: 2 / 4; font-size: 12.5px; color: var(--tw-muted); line-height: 1.45; margin-top: 2px; }
.tl__dur { align-self: start; margin-top: 3px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; color: var(--tw-cream); background: rgba(248, 203, 140, .1); border: 1px solid rgba(248, 203, 140, .2); }

/* checklist */
.chk { list-style: none; display: grid; gap: 8px; }
.chk li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--tw-text); animation: fadeUp .45s var(--ease-out) both; }
.chk__box { width: 22px; height: 22px; border-radius: 7px; flex: none; display: grid; place-items: center; border: 1.5px solid rgba(184, 172, 216, .45); color: transparent; font-size: 14px; }
.chk li.is-done .chk__box { background: var(--tw-success); border-color: var(--tw-success); color: var(--tw-ink); animation: pop .45s var(--ease-spring) both; }
/* niente barrato: le checklist elencano anche benefici "inclusi" (done:true), che barrati sembrerebbero esclusi */
.chk li.is-done .chk__label { color: rgba(247, 242, 255, .88); }
.chk li:not(.is-done) .chk__label { font-weight: 600; }

/* profile */
.profile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; background: radial-gradient(90% 90% at 0% 0%, rgba(108, 63, 224, .22), transparent 60%), rgba(255, 255, 255, .045); }
.profile__avatar { position: relative; width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font: 800 22px/1 var(--font-display); letter-spacing: -.02em; color: var(--tw-ink); background: linear-gradient(140deg, var(--tw-cream-hi), var(--tw-orange-hi) 55%, var(--tw-orange)); box-shadow: 0 12px 30px -10px rgba(242, 106, 31, .8); }
.profile__avatar::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--tw-violet) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/12px no-repeat; border: 2px solid #1b1038; }
.profile__name { font: 800 18px/1.15 var(--font-display); color: var(--tw-text); letter-spacing: -.01em; }
.profile__role { margin-top: 3px !important; font-size: 13px; font-weight: 700; color: var(--tw-orange-hi); }
.profile__bio { margin-top: 8px !important; font-size: 13.5px; line-height: 1.55; color: rgba(247, 242, 255, .82); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; list-style: none; }
.badges li { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--tw-cream-hi); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); animation: chipIn .4s var(--ease-out) both; }

/* lead summary */
.lead-sum__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.lead-sum__top .blk__title { margin: 0 !important; flex: 1 1 190px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-badge--draft { color: var(--tw-violet-hi); background: rgba(108, 63, 224, .16); border: 1px solid rgba(142, 104, 255, .35); }
.status-badge--confirm { color: var(--tw-warn); background: rgba(255, 181, 71, .12); border: 1px solid rgba(255, 181, 71, .35); }
.status-badge--sent { color: var(--tw-success); background: rgba(61, 220, 151, .12); border: 1px solid rgba(61, 220, 151, .35); }
.lead-sum--sent { border-color: rgba(61, 220, 151, .35); background: radial-gradient(100% 80% at 100% 0%, rgba(61, 220, 151, .12), transparent 60%), rgba(255, 255, 255, .045); }
.lead-sum dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); }
.lead-sum dt, .lead-sum dd { padding: 8px 12px; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.lead-sum dt { color: var(--tw-muted); font-weight: 600; background: rgba(255, 255, 255, .03); }
.lead-sum dd { color: var(--tw-text); font-weight: 700; overflow-wrap: anywhere; }
.lead-sum dt:nth-last-of-type(1), .lead-sum dd:last-of-type { border-bottom: 0; }

/* actions */
.actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; background: none; border: 0; }
.actions .btn { animation: chipIn .45s var(--ease-out) both; }

/* notice */
.notice { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; padding: 11px 14px; }
.notice__icon { width: 24px; height: 24px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 15px; }
.notice__text strong { font-weight: 800; }
.notice--info { background: rgba(108, 63, 224, .12); border-color: rgba(142, 104, 255, .32); color: #E4DBFF; }
.notice--info .notice__icon { color: var(--tw-violet-hi); background: rgba(142, 104, 255, .18); }
.notice--success { background: rgba(61, 220, 151, .1); border-color: rgba(61, 220, 151, .32); color: #D5FBEA; }
.notice--success .notice__icon { color: var(--tw-success); background: rgba(61, 220, 151, .16); }
.notice--warn { background: rgba(255, 181, 71, .1); border-color: rgba(255, 181, 71, .35); color: #FFEBCB; }
.notice--warn .notice__icon { color: var(--tw-warn); background: rgba(255, 181, 71, .16); }

/* cta */
.cta {
  overflow: hidden;
  padding: 18px;
  border-color: rgba(255, 140, 66, .4);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(242, 106, 31, .38), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(108, 63, 224, .55), transparent 55%),
    #1a0f33;
  box-shadow: 0 20px 50px -24px rgba(242, 106, 31, .8);
}
.cta::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 227, 184, .25), transparent);
  animation: haloPulse 5s ease-in-out infinite;
  pointer-events: none;
}
.cta__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--tw-cream); }
.cta__title { margin-top: 6px !important; font: 800 21px/1.15 var(--font-display); letter-spacing: -.02em; color: #fff; }
.cta__text { margin-top: 6px !important; font-size: 14px; color: rgba(247, 242, 255, .85); line-height: 1.5; max-width: 46ch; }
.cta .btn { margin-top: 14px; position: relative; z-index: 1; }

/* partner (progetti di Antonio, con colore del marchio) */
.partner {
  --pa: var(--tw-orange-hi); --pa-rgb: 255, 140, 66;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(var(--pa-rgb), .16), transparent 60%), rgba(255, 255, 255, .045);
  border-color: rgba(var(--pa-rgb), .32);
}
.partner--hostwebo { --pa: #6CB8FF; --pa-rgb: 108, 184, 255; }
.partner--mailamber { --pa: #FFB547; --pa-rgb: 255, 181, 71; }
.partner--webam { --pa: #3DDC97; --pa-rgb: 61, 220, 151; }
.partner__head { display: flex; align-items: center; gap: 12px; }
.partner__logo { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; font: 800 21px/1 var(--font-display); color: var(--tw-ink); background: linear-gradient(140deg, #fff, var(--pa) 62%); box-shadow: 0 10px 24px -12px rgba(var(--pa-rgb), .9); }
.partner__id { min-width: 0; }
.partner__name { display: block; font: 800 17px/1.15 var(--font-display); color: var(--tw-text); letter-spacing: -.01em; }
.partner__by { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--tw-muted); }
.partner__plan { position: relative; padding: 12px 14px; border-radius: 14px; background: rgba(var(--pa-rgb), .09); border: 1px solid rgba(var(--pa-rgb), .28); }
.partner__plan.is-recommended { border-color: var(--pa); box-shadow: 0 0 0 3px rgba(var(--pa-rgb), .12), 0 14px 30px -18px rgba(var(--pa-rgb), .9); }
.partner__ribbon { position: absolute; top: -10px; right: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tw-ink); background: var(--pa); }
.partner__ribbon .ico { font-size: 11px; fill: currentColor; stroke-width: 1.2; }
.partner__title { font-weight: 800; font-size: 14.5px; line-height: 1.35; color: var(--tw-text); }
.partner__plan.is-recommended .partner__title { padding-right: 96px; }
.partner__price { margin-top: 3px !important; font: 800 22px/1.1 var(--font-display); letter-spacing: -.01em; color: var(--pa); font-variant-numeric: tabular-nums; }
.partner__text { font-size: 13.5px; line-height: 1.55; color: rgba(247, 242, 255, .86); }
.partner__hl, .account__list { list-style: none; display: grid; gap: 7px; }
.partner__hl li, .account__list li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; animation: fadeUp .4s var(--ease-out) both; }
.partner__tick { width: 18px; height: 18px; border-radius: 6px; flex: none; display: grid; place-items: center; margin-top: 1px; font-size: 12px; color: var(--tw-ink); background: var(--pa, var(--tw-success)); }
.partner__tick .ico { stroke-width: 2.6; }
.partner__cta { justify-self: start; }
.partner .btn--primary { background: linear-gradient(135deg, #fff -20%, var(--pa) 70%); box-shadow: 0 10px 28px -12px rgba(var(--pa-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .45); }

/* libri: copertine tipografiche generate in CSS */
.books { padding: 14px 0 4px; }
.books .blk__title { padding-inline: 14px; }
.books__row { list-style: none; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 14px; padding: 4px 14px 12px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .16) transparent; overscroll-behavior-x: contain; }
.books__item { flex: none; width: 132px; scroll-snap-align: start; animation: fadeUp .45s var(--ease-out) both; }
.book { display: block; color: inherit; text-decoration: none; border-radius: 10px; }
.book__cover {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  aspect-ratio: 2 / 3; padding: 10px 10px 10px 15px;
  border-radius: 3px 10px 10px 3px; overflow: hidden;
  color: #fff;
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .95), inset 4px 0 0 rgba(0, 0, 0, .22), inset 5px 0 0 rgba(255, 255, 255, .14);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.book__cover::before { content: ""; position: absolute; z-index: -1; right: -30%; bottom: -18%; width: 95%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .28), transparent); }
.book__cover::after { content: ""; position: absolute; z-index: -1; left: 15px; right: 10px; bottom: 30px; height: 2px; border-radius: 2px; background: currentColor; opacity: .35; }
a.book:hover .book__cover, a.book:focus-visible .book__cover { transform: translateY(-4px) rotate(-1.2deg); box-shadow: 0 22px 36px -16px rgba(0, 0, 0, .95), inset 4px 0 0 rgba(0, 0, 0, .22), inset 5px 0 0 rgba(255, 255, 255, .14); }
.book__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 4px; }
.book__series { max-width: 100%; padding: 3px 6px; border-radius: 999px; font-size: 8.5px; font-weight: 800; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; background: rgba(0, 0, 0, .28); }
.book__lang { flex: none; padding: 3px 5px; border-radius: 5px; font-size: 8.5px; font-weight: 800; color: var(--tw-ink); background: #fff; }
.book__title { font: 800 14.5px/1.08 var(--font-display); letter-spacing: -.015em; text-wrap: balance; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.book__author { font-size: 8.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .88; }
.book__cap { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--tw-muted); transition: color .2s; }
.book__cap .ico { font-size: 12px; }
a.book:hover .book__cap { color: var(--tw-cream-hi); }
.book__cover--0 { background: linear-gradient(160deg, #FFA261, #F26A1F 45%, #6C3FE0); }
.book__cover--1 { background: linear-gradient(160deg, #A58BFF, #6C3FE0 50%, #241450); }
.book__cover--2 { background: linear-gradient(160deg, #FFF1DC, #F8CB8C 50%, #F2894A); color: var(--tw-ink); }
.book__cover--2 .book__series { background: rgba(29, 19, 54, .12); }
.book__cover--3 { background: linear-gradient(160deg, #2E1D5C, #140B2A 70%); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .95), inset 4px 0 0 var(--tw-orange-hi), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.book__cover--4 { background: linear-gradient(160deg, #62E8B0, #1E9C73 50%, #173A57); }
.book__cover--5 { background: linear-gradient(160deg, #FF9AAA, #B4456E 50%, #2A1442); }

/* app */
.apps__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.app-tile { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px 12px; padding: 12px; border-radius: 16px; background: linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .09); animation: blkIn .5s var(--ease-out) both; }
.app-tile__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--tw-ink); background: var(--grad-brand); box-shadow: 0 10px 22px -12px rgba(242, 106, 31, .9); }
.app-tile--mail .app-tile__icon { background: linear-gradient(140deg, #FFE3B8, #FFB547); }
.app-tile--game .app-tile__icon { background: linear-gradient(140deg, #B9A4FF, #6C3FE0); color: #fff; }
.app-tile--ai .app-tile__icon { background: linear-gradient(140deg, #9BF2CB, #3DDC97); }
.app-tile__body { min-width: 0; }
.app-tile__name { display: block; font: 700 15px/1.2 var(--font-display); color: var(--tw-text); }
.app-tile__text { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--tw-muted); }
.apps__link { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--tw-cream-hi); text-decoration: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); transition: background .2s, border-color .2s; }
.apps__link:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .26); }
.apps__link .ico { font-size: 13px; }

/* link */
.links__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.link-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--tw-text); text-decoration: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s, transform .25s var(--ease-out); }
.link-chip:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 140, 66, .5); transform: translateY(-1px); }
.link-chip__icon { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--tw-orange-hi); background: rgba(242, 106, 31, .16); }
.link-chip__ext { font-size: 13px; color: var(--tw-muted); }

/* recensioni */
.reviews {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 16px;
  background: radial-gradient(100% 120% at 0% 0%, rgba(61, 220, 151, .14), transparent 60%), rgba(255, 255, 255, .045);
  border-color: rgba(61, 220, 151, .3);
}
.reviews__score { font: 800 42px/1 var(--font-display); letter-spacing: -.03em; color: var(--tw-text); font-variant-numeric: tabular-nums; }
.stars { position: relative; display: inline-flex; font-size: 19px; line-height: 0; }
.stars__base, .stars__fill { display: flex; gap: 2px; }
.stars__base .ico { color: rgba(255, 255, 255, .22); fill: currentColor; stroke: none; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.stars__fill .ico { color: var(--tw-success); fill: currentColor; stroke: none; }
.reviews__label { margin-top: 6px !important; font-size: 13px; color: var(--tw-muted); }
.reviews__label strong { color: var(--tw-text); font-weight: 800; }
.reviews__link { grid-column: 1 / -1; justify-self: start; }

/* moduli nella chat: gate, codice, contatto, area clienti */
.gate, .otp {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(108, 63, 224, .22), transparent 60%), rgba(255, 255, 255, .05);
  border-color: rgba(142, 104, 255, .36);
}
.gate__head { display: flex; align-items: center; gap: 10px; }
.gate__icon { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 18px; color: var(--tw-violet-hi); background: rgba(142, 104, 255, .18); }
.gate__title { font: 800 17px/1.2 var(--font-display); letter-spacing: -.01em; color: var(--tw-text); }
.gate__text { font-size: 14px; line-height: 1.5; color: rgba(247, 242, 255, .86); }
.gate__text a { color: var(--tw-cream-hi); font-weight: 700; }
.gate__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field__label { font-size: 12.5px; font-weight: 700; color: var(--tw-cream-hi); }
.field__input {
  width: 100%; height: 44px; padding: 0 13px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(8, 4, 20, .55); color: var(--tw-text);
  font: 500 15px/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field__input--area { height: auto; min-height: 88px; padding: 10px 13px; resize: vertical; }
.field__input::placeholder { color: rgba(184, 172, 216, .6); }
.field__input:focus { outline: none; border-color: rgba(255, 140, 66, .7); box-shadow: 0 0 0 3px rgba(242, 106, 31, .18); background: rgba(8, 4, 20, .75); }
.field__input[aria-invalid="true"] { border-color: var(--tw-danger); }
.field__input:disabled { opacity: .6; }
.field__err { font-size: 12.5px; font-weight: 600; color: #FF9B8F; }
.field__hint { font-size: 12px; color: var(--tw-muted); }
.field--check { gap: 6px; }
.check { position: relative; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; line-height: 1.45; color: rgba(247, 242, 255, .86); }
.check__box { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.check__ui { width: 22px; height: 22px; flex: none; border-radius: 7px; display: grid; place-items: center; font-size: 14px; color: transparent; border: 1.5px solid rgba(184, 172, 216, .55); transition: background .2s, border-color .2s, color .2s; }
.check__ui .ico { stroke-width: 2.6; }
.check__box:checked + .check__ui { color: var(--tw-ink); background: var(--tw-orange-hi); border-color: var(--tw-orange-hi); }
.check__box:focus-visible + .check__ui { outline: 2px solid var(--tw-orange-hi); outline-offset: 2px; }
.check__box[aria-invalid="true"] + .check__ui { border-color: var(--tw-danger); }
.field__link { justify-self: start; margin-left: 32px; font-size: 12.5px; font-weight: 700; color: var(--tw-cream); text-underline-offset: 2px; }
.field__link:hover { color: var(--tw-cream-hi); }

.otp-input { display: flex; gap: 8px; }
.otp-input__box {
  flex: 1 1 0; min-width: 0; max-width: 54px; height: 56px; padding: 0;
  text-align: center; font: 800 24px/1 var(--font-display); color: var(--tw-text);
  border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(8, 4, 20, .62);
  caret-color: var(--tw-orange-hi);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-spring);
}
.otp-input__box:focus { outline: none; border-color: var(--tw-orange-hi); box-shadow: 0 0 0 4px rgba(242, 106, 31, .2); transform: translateY(-1px); }
.otp-input__box:disabled { opacity: .55; }
.otp-input.is-full .otp-input__box { border-color: rgba(61, 220, 151, .65); }
.otp-input.is-invalid .otp-input__box { border-color: var(--tw-danger); animation: shake .42s var(--ease-out); }
.otp__email { font-size: 13.5px; color: var(--tw-muted); }
.otp__email strong { color: var(--tw-cream-hi); font-weight: 800; overflow-wrap: anywhere; }
.otp__status { min-height: 1.4em; font-size: 13px; font-weight: 600; color: var(--tw-cream); }
.otp__status:empty { min-height: 0; }
.otp__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.otp__hint { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--tw-muted); }
.otp__hint .ico { margin-top: 2px; font-size: 15px; color: var(--tw-violet-hi); }
.gate.is-stale, .otp.is-stale, .account.is-stale { opacity: .75; }
.contact-form.is-sent { border-color: rgba(61, 220, 151, .4); }
.contact-form.is-sent .otp__status { color: var(--tw-success); }

.account {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px; overflow: hidden;
  border-color: rgba(61, 220, 151, .35);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(61, 220, 151, .16), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(108, 63, 224, .42), transparent 55%),
    #1a0f33;
}
.account__title { font: 800 20px/1.15 var(--font-display); letter-spacing: -.02em; color: #fff; }
.account__text { font-size: 14px; line-height: 1.5; color: rgba(247, 242, 255, .85); }
.account .partner__tick { background: var(--tw-success); }
.account__btn { justify-self: start; margin-top: 4px; }

/* stati */
.is-static, .is-static * { animation: none !important; transition: none !important; }
.is-settled .blk, .is-settled .card, .is-settled .w, .is-settled .tbl tbody tr, .is-settled .tl__step, .is-settled .chk li,
.is-settled .chk__box, .is-settled .badges li, .is-settled .legend li, .is-settled .stat, .is-settled .actions .btn,
.is-settled .books__item, .is-settled .app-tile, .is-settled .partner__hl li, .is-settled .account__list li { animation: none !important; }
.is-settled .bar__fill, .is-settled .donut__seg, .is-settled .gauge__range { transition: none !important; }

@media (max-width: 679px) {
  .md { font-size: 14.5px; padding: 11px 13px; }
  .tblk { padding: 12px 10px; }
  .tbl { min-width: 0; font-size: 12.5px; }
  .tbl th, .tbl td { padding: 8px 7px; }
  .tbl thead th, .tbl tbody th { white-space: normal; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
  .stats:has(> .stat:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 10px 10px 9px; }
  .stat__value { font-size: 22px; }
  .donut { flex-direction: column; align-items: stretch; }
  .donut__fig { margin: 0 auto; }
  .profile { grid-template-columns: 1fr; }
  .otp-input { gap: 6px; }
  .otp-input__box { height: 52px; font-size: 22px; }
  .reviews__score { font-size: 36px; }
}

@keyframes blkIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes chipIn { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes wordIn { from { opacity: 0; filter: blur(5px); } to { opacity: 1; filter: blur(0); } }
@keyframes pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
@keyframes haloPulse { 0%, 100% { opacity: .85; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.06); } }
@keyframes caret { to { visibility: hidden; } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

@media (prefers-reduced-motion: reduce) {
  .blk, .blk *, .md, .md * { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .md.is-streaming > :last-child::after { animation: none; }
}
@media (forced-colors: active) {
  .stat__value { color: CanvasText; background: none; }
  .btn--primary { border: 1px solid ButtonText; }
}
