/* ========== Tokens ========== */
:root {
  --bg: #060b1d;
  --bg-2: #0a1230;
  --surface: rgba(148, 176, 255, 0.045);
  --surface-2: rgba(148, 176, 255, 0.08);
  --line: rgba(160, 186, 255, 0.14);
  --line-strong: rgba(160, 186, 255, 0.26);
  --text: #e8edff;
  --text-2: #aab5d6;
  --text-3: #7a86ab;
  --accent: #4cc2ff;
  --accent-2: #2a8cff;
  --accent-ink: #04132b;
  --glow: rgba(46, 110, 255, 0.55);
  --ok: #5ee0a8;
  --warn: #ffc56b;
  --danger: #ff8a8a;

  --serif: "Noto Serif Thai", "Noto Serif", Georgia, serif;
  --sans: "IBM Plex Sans Thai", "Noto Sans Thai", system-ui, sans-serif;

  --radius: 20px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html.js body.is-intro { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ========== Pill / Buttons / Card ========== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(76, 194, 255, 0.06);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 16px/1 var(--sans);
  cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .25s, box-shadow .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  background: linear-gradient(180deg, #6fd0ff, var(--accent) 45%, #33a8f5);
  color: var(--accent-ink);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 10px 30px -8px rgba(76, 194, 255, .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 16px 40px -8px rgba(76, 194, 255, .7); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--accent); background: rgba(76,194,255,.08); }
.btn--sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 40px; font-size: 18px; }

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ========== Live background ========== */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.glow-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden; /* glow can sit off-screen without causing scroll */
  pointer-events: none;
}
.cursor-glow {
  position: absolute;
  left: 0; top: 0;
  width: min(700px, 140vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60, 150, 255, .26), rgba(46, 110, 255, .11) 45%, rgba(46, 110, 255, .03) 70%, transparent);
  transform: translate3d(50vw, 35vh, 0) translate(-50%, -50%);
  will-change: transform;
}

/* ========== Intro ========== */
.intro { display: none; }
html.js .intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 50% at 50% 50%, #0d1a45 0%, var(--bg) 70%);
  transition: opacity .8s ease, visibility .8s, filter .8s ease;
}
.intro.is-done { opacity: 0; visibility: hidden; filter: blur(8px); pointer-events: none; }
.intro__inner { text-align: center; }
.intro__counter {
  display: flex;
  justify-content: center;
  /* Latin serif numerals: Thai font metrics push digits off-centre in the dial window */
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(72px, 18vw, 180px);
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.dial {
  position: relative;
  display: inline-block;
  width: .64em;
  height: 1.12em;
  overflow: hidden;
  /* fade top/bottom like a dial window */
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
/* each digit: old one slides up and out, new one slides up from below */
.digit {
  position: absolute;
  inset: 0;
  line-height: 1.12em;
  text-align: center;
  transition: transform .62s cubic-bezier(.7, 0, .2, 1), opacity .62s ease, filter .62s ease;
}
.digit.is-below { transform: translateY(100%); opacity: 0; filter: blur(4px); }
.digit.is-above { transform: translateY(-100%); opacity: 0; filter: blur(4px); }
.intro__bar {
  width: min(240px, 60vw);
  height: 1px;
  margin: 26px auto 0;
  background: var(--line);
  overflow: hidden;
}
.intro__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 10px var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .62s cubic-bezier(.7, 0, .2, 1);
}
.intro__label {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: .4em;
  text-transform: uppercase;
}

/* ========== Nav ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(6, 11, 29, 0.62);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.nav__inner {
  width: min(1120px, 100% - 32px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: .01em; }
.brand__mark {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
}
.brand__mark::after {
  content: "";
  position: absolute;
  top: -3px; right: -1px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.nav__links { display: flex; gap: 28px; font-size: 15px; color: var(--text-2); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--text); }

section[id] { scroll-margin-top: var(--nav-h); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 96px 0 112px;
  text-align: center;
  isolation: isolate;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(160, 186, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 186, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(70% 65% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(70% 65% at 50% 40%, #000 30%, transparent 80%);
}
.hero__content { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 8vw, 88px);
  /* Thai needs room for upper vowels, tone marks and lower vowels */
  line-height: 1.45;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.hero__title .line { display: block; }
.hero__title .line + .line { margin-top: 0.08em; }
.hero__title .line:last-child {
  background: linear-gradient(90deg, #cfe6ff, var(--accent) 60%, #8fb6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* background-clip: text paints only inside the padding box — pad it so tone
     marks and lower-vowel tails aren't cut, and cancel the padding with
     negative margin so the visual gap stays at 0.08em */
  padding: 0.15em 0;
  margin-top: calc(0.08em - 0.15em);
  margin-bottom: -0.15em;
}
.hero__lead { max-width: 600px; color: var(--text-2); font-size: clamp(16px, 2vw, 18px); font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

/* Hero entrance (JS only) */
html.js [data-hero] {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(28px);
  transition:
    opacity 1s var(--ease-out),
    filter 1s var(--ease-out),
    transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 140ms);
}
html.js .btn--grow[data-hero] { transform: scale(.55); }
html.js body.is-ready [data-hero] { opacity: 1; filter: blur(0); transform: none; }
/* after entrance, restore normal button transitions */
html.js body.is-settled [data-hero] {
  transition: opacity .25s, filter .25s, transform .25s var(--ease-out), background-color .25s, box-shadow .25s, border-color .25s;
  transition-delay: 0s;
}
/* hero replays when scrolled back to: hide fast when out, come down from the top */
html.js body.is-settled .hero.is-out [data-hero] {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(-36px);
  transition: opacity .45s ease, filter .45s ease, transform .45s ease;
  transition-delay: 0s;
}
html.js body.is-settled .hero.is-entering [data-hero] {
  transition: opacity .9s var(--ease-out), filter .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}

/* ========== Sections ========== */
.section { position: relative; padding: 120px 0; }
.section + .section { border-top: 1px solid rgba(160, 186, 255, .06); }
.section__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 56px; }
.section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.45;
  text-wrap: balance;
}
.section__lead { max-width: 560px; color: var(--text-2); font-weight: 300; }

/* Scroll reveal — replays every time (JS toggles .in-view / .from-top)
   Hidden state: fast exit (.45s, no delay) so it is ready to play again. */
html.js .reveal,
html.js .reveal .stagger {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(36px);
  transition: opacity .45s ease, filter .45s ease, transform .45s ease, clip-path .45s ease, border-color .25s;
  transition-delay: 0s;
}
/* left through the top → re-enter by sliding down from above */
html.js .reveal.from-top,
html.js .reveal.from-top .stagger { transform: translateY(-36px); }
/* large boxes "open" from a narrow band in the middle */
html.js .reveal.box,
html.js .reveal .box { clip-path: inset(18% 8% round 20px); }

html.js .reveal.in-view,
html.js .reveal.in-view .stagger {
  opacity: 1;
  filter: none;
  transform: none;
  transition: opacity .9s var(--ease-out), filter .9s var(--ease-out), transform 1s var(--ease-out), clip-path 1.1s var(--ease-out), border-color .25s;
}
html.js .reveal.in-view .stagger { transition-delay: calc(120ms + var(--i, 0) * 130ms); }
html.js .reveal.in-view.box,
html.js .reveal.in-view .box { clip-path: inset(0 round 20px); }
/* boxes that aren't stagger items (the Dashboard) still need the clip transition */
html.js .reveal .box:not(.stagger) { transition: clip-path .45s ease; }
html.js .reveal.in-view .box:not(.stagger) { transition: clip-path 1.1s var(--ease-out); }
/* containers that only stagger children shouldn't themselves move */
html.js .features.reveal, html.js .steps.reveal { opacity: 1; filter: none; transform: none; }

/* ========== Features ========== */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 32px 28px; transition: border-color .3s, transform .3s var(--ease-out); }
.feature:hover { border-color: var(--line-strong); }
.feature__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 30% 20%, rgba(76,194,255,.22), rgba(76,194,255,.04));
  margin-bottom: 22px;
}
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3, .step h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin-bottom: 10px; }
.feature p, .step p { color: var(--text-2); font-weight: 300; font-size: 15.5px; }

/* ========== Dashboard ========== */
.section--dash::before {
  content: "";
  position: absolute;
  inset: 20% 10% auto;
  height: 60%;
  background: radial-gradient(closest-side, rgba(46, 110, 255, .22), transparent);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.dash {
  background: linear-gradient(180deg, rgba(16, 28, 70, .55), rgba(8, 14, 38, .5));
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}
.dash { padding: 22px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255,255,255,.02) inset; }
.dash__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 4px 6px 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.dash__title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dash__title h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.dash__eyebrow { font-size: 12px; color: var(--text-3); letter-spacing: .06em; }
.dash__dot { flex: none; width: 12px; height: 12px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.dash__meta { display: flex; align-items: center; gap: 14px; }
.dash__due { font-size: 13px; color: var(--text-2); padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; }

.avatars { display: flex; }
.avatar {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 11px; font-weight: 600;
  color: #071026;
  border: 2px solid var(--bg-2);
}
.avatars .avatar + .avatar { margin-left: -8px; }
.avatar.sm { width: 24px; height: 24px; font-size: 9.5px; border-width: 0; }
.a1 { background: #8fd3ff; } .a2 { background: #b8a6ff; } .a3 { background: #7de6c0; } .a4 { background: #ffd08a; }

.dash__body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.col {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(4, 8, 24, .45);
  border: 1px solid rgba(160, 186, 255, .08);
  display: flex; flex-direction: column; gap: 10px;
}
.col__head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 6px; font-size: 14px; font-weight: 500; }
.count { margin-left: auto; font-size: 12px; color: var(--text-3); padding: 0 8px; border-radius: 999px; background: rgba(255,255,255,.05); }
.status { width: 8px; height: 8px; border-radius: 50%; }
.s-todo { background: var(--text-3); }
.s-doing { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.s-done { background: var(--ok); box-shadow: 0 0 8px var(--ok); }

.task {
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: rgba(148, 176, 255, .06);
  border: 1px solid var(--line);
  transition: transform .25s var(--ease-out), border-color .25s;
}
.task:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.task h4 { font-size: 14px; font-weight: 500; line-height: 1.5; margin: 8px 0 10px; overflow-wrap: anywhere; }
.task--done h4 { color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(170, 181, 214, .5); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11px; font-weight: 500; padding: 2px 9px; border-radius: 999px; line-height: 1.6; }
.tag--design { color: #c9bcff; background: rgba(184, 166, 255, .14); }
.tag--content { color: #ffd9a0; background: rgba(255, 208, 138, .12); }
.tag--dev { color: #9fdcff; background: rgba(76, 194, 255, .14); }
.tag--urgent { color: #ffb0b0; background: rgba(255, 138, 138, .14); }
.task__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.due { font-size: 12px; color: var(--text-3); }
.due::before { content: "◷ "; }
.due--soon { color: var(--warn); }

.mini-progress { height: 4px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 10px; }
.mini-progress span, .bar span {
  display: block;
  height: 100%;
  width: var(--p);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.progress-panel {
  padding: 18px;
  border-radius: 14px;
  background: rgba(4, 8, 24, .45);
  border: 1px solid rgba(160, 186, 255, .08);
  display: flex; flex-direction: column; gap: 18px;
  min-width: 0;
}
.panel__title { font-size: 14px; font-weight: 500; }
.bar-item__row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.bar-item__row strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar span { box-shadow: 0 0 12px rgba(76, 194, 255, .5); }
.panel__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.panel__stats div { padding: 12px; border-radius: 12px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.panel__stats strong { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.panel__stats span { font-size: 12px; color: var(--text-3); }

/* progress fill animation (JS only) */
html.js .dash .bar span,
html.js .dash .mini-progress span {
  width: 0;
  transition: width .45s ease;
}
html.js .in-view .dash .bar span,
html.js .in-view .dash .mini-progress span { width: var(--p); transition: width 1.6s var(--ease-out) .6s; }

/* ========== Steps ========== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.step { position: relative; padding: 32px 28px; }
.step__num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  padding: 2px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  margin-bottom: 20px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px; right: -21px;
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* ========== CTA ========== */
.section--cta { padding-bottom: 140px; }
.cta {
  position: relative;
  overflow: hidden;
  padding: 72px 32px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 70%; height: 70%;
  transform: translate(-50%, -55%);
  background: radial-gradient(closest-side, rgba(46, 110, 255, .45), transparent);
  filter: blur(30px);
  z-index: -1;
}
.cta .btn { margin-top: 10px; }
.demo-msg {
  width: min(520px, 100%);
  margin-top: 8px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(76, 194, 255, .4);
  background: rgba(76, 194, 255, .08);
  text-align: left;
  animation: msgIn .6s var(--ease-out);
}
.demo-msg strong { display: block; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.demo-msg p { color: var(--text-2); font-size: 15px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ========== Footer ========== */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer p { max-width: 620px; color: var(--text-3); font-size: 14px; }
.footer__copy { font-size: 13px; }

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .dash__body { grid-template-columns: minmax(0, 1fr); }
  .panel__stats { margin-top: 0; }
}
@media (max-width: 760px) {
  :root { --nav-h: 58px; }
  .nav__links { display: none; }
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 40px; }
  .features, .steps, .board { grid-template-columns: minmax(0, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .hero { padding: 72px 0 88px; }
  .hero__actions { flex-direction: column; width: 100%; max-width: 340px; }
  .hero__actions .btn { width: 100%; }
  .dash { padding: 14px; }
  .dash__top { padding: 4px 4px 16px; }
  .cta { padding: 56px 20px; }
  .btn--lg { width: 100%; max-width: 340px; }
}

/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js .intro { display: none; }
  html.js [data-hero],
  html.js .reveal,
  html.js .reveal .stagger { opacity: 1; filter: none; transform: none; }
  html.js .reveal.box, html.js .reveal .box,
  html.js body.is-settled .hero.is-out [data-hero] { clip-path: none; opacity: 1; filter: none; transform: none; }
  html.js .dash .bar span,
  html.js .dash .mini-progress span { width: var(--p); }
}
