/* ALL IN LAO showcase. Mobile-first; one journey, four stage colours. */
:root {
  --o: #FF6A00; --p: #F5317F; --v: #7B2FF7; --b: #1A9CFF;
  --o-d: #AD4300; --p-d: #BC1560; --v-d: #5A1FC4; --b-d: #0A66B0;
  --o-t: #FFF0E3; --p-t: #FFE9F2; --v-t: #F1E9FF; --b-t: #E5F3FF;
  --ink: #1C1433; --ink-2: #554C6E; --ink-3: #8179A0;
  --line: #EAE5F3; --bg: #FAF8FE; --card: #FFFFFF; --soft: #F3EFFA;
  --ok: #0B7A45; --ok-t: #E3F6EC; --warn: #9A5B00; --warn-t: #FFF3D6;
  --grad: linear-gradient(100deg, var(--o) 0%, var(--p) 36%, var(--v) 70%, var(--b) 100%);
  --grad-deep: linear-gradient(100deg, #EE5A00 0%, #E32270 36%, #7128EA 70%, #1284DF 100%);
  --r-lg: 22px; --r-md: 16px; --r-sm: 10px;
  --sh: 0 1px 2px rgba(60, 30, 120, .06), 0 10px 26px -14px rgba(70, 30, 140, .22);
  --font: "Noto Sans Lao", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --c: var(--v); --c-d: var(--v-d); --c-t: var(--v-t);
}
html[lang="th"] { --font: "Noto Sans Thai", "Noto Sans Lao", system-ui, -apple-system, "Segoe UI", sans-serif; }
.st0 { --c: var(--o); --c-d: var(--o-d); --c-t: var(--o-t); }
.st1 { --c: var(--p); --c-d: var(--p-d); --c-t: var(--p-t); }
.st2 { --c: var(--v); --c-d: var(--v-d); --c-t: var(--v-t); }
.st3 { --c: var(--b); --c-d: var(--b-d); --c-t: var(--b-t); }
.m0 { --m: var(--o); } .m1 { --m: var(--p); } .m2 { --m: var(--v); } .m3 { --m: var(--b); }

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink);
  background: var(--bg); overflow: hidden; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--v); outline-offset: 2px; border-radius: 8px; }
.view:focus { outline: none; }
[hidden] { display: none !important; }

/* ---------- frame ---------- */
.stage { height: 100vh; height: 100dvh; display: flex; justify-content: center; }
.app {
  position: relative; width: 100%; max-width: 480px; height: 100%;
  display: flex; flex-direction: column; background: var(--bg); overflow: hidden;
}
.rail { display: none; }
.view { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 18px 16px 28px; }
.view > * + * { margin-top: 16px; }

.top {
  display: flex; align-items: center; gap: 6px; min-height: 60px; padding: 8px 8px 8px 16px;
  background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); position: relative; z-index: 2;
}
.top-sp { flex: 1; }
.wm { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; font-size: 17px; letter-spacing: .02em; white-space: nowrap; }
.mark { width: 28px; height: 28px; flex: none; }
.mark-lg { width: 44px; height: 44px; }
.top .back { margin-left: -10px; margin-right: -6px; }
.top .back + .wm { min-width: 44px; justify-content: center; }
.top .back + .wm .wm-t { display: none; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.chev { width: 18px; height: 18px; color: var(--ink-3); margin-left: auto; }
.icon-btn {
  width: 44px; height: 44px; flex: none; display: inline-grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-2);
}
.icon-btn:active { background: var(--soft); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--soft); }
.lang button { min-width: 40px; height: 42px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(60, 30, 120, .2); }

/* ---------- bottom tabs + mic ---------- */
.tabs {
  display: grid; grid-template-columns: 1fr 1fr 78px 1fr 1fr; align-items: end; position: relative; z-index: 3;
  background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.tab { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1px; min-height: 54px; padding: 4px 2px; font-size: 11.5px; font-weight: 600; line-height: 1.35; color: var(--ink-2); border-radius: 14px; text-align: center; }
.tab[aria-current="page"] { color: var(--v-d); }
.tab[aria-current="page"] .ic { stroke-width: 2.3; }
.tab-mic { color: var(--ink); }
.mic-btn {
  width: 62px; height: 62px; margin-top: -30px; border-radius: 50%; border: 4px solid #fff; background: var(--grad-deep); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 22px -10px rgba(123, 47, 247, .7); transition: transform .15s ease;
}
.mic-btn .ic { width: 26px; height: 26px; stroke-width: 2.1; }
.mic-btn:active { transform: scale(.94); }
.tabs.is-fab { display: block; position: absolute; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 0; background: none; border: 0; }
.tabs.is-fab .mic-btn { margin: 0; }

/* ---------- shared pieces ---------- */
.h1 { font-size: 24px; line-height: 1.32; font-weight: 800; letter-spacing: -.005em; }
.h2 { font-size: 17px; line-height: 1.4; font-weight: 700; }
.h2-big { font-size: 22px; font-weight: 800; }
.h2-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 26px; }
.h2-row + * { margin-top: 10px; }
.h2-note { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.lead { color: var(--ink-2); font-size: 15.5px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); }
.num {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px;
  background: var(--c-t); color: var(--c-d); font-size: 13px; font-weight: 700; flex: none; line-height: 1;
}
.letter { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--c); color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.p2 { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.ic-wrap { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--c-t); color: var(--c-d); flex: none; }
.ic-wrap.grad { background: var(--grad-deep); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.chip .ic { width: 14px; height: 14px; }
.chip-c { background: var(--c-t); color: var(--c-d); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 20px;
  border: 0; border-radius: 16px; font-weight: 700; font-size: 16px; line-height: 1.3; text-align: center; transition: transform .12s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: default; }
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: var(--grad-deep); color: #fff; box-shadow: 0 12px 22px -14px rgba(123, 47, 247, .8); }
.btn-lg { min-height: 58px; font-size: 18px; padding: 12px 28px; border-radius: 18px; }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-soft { background: var(--c-t); color: var(--c-d); }
.btn-on { background: var(--c); color: #fff; }
.st0 .btn-on { background: var(--o-d); }
.btn-white { background: #fff; color: var(--ink); }
.btn-clear { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 14.5px; border-radius: 13px; }
.btn-row { display: flex; gap: 10px; }
.btn-row-2 > * { flex: 1; }
.link-btn { border: 0; background: none; padding: 10px 6px; min-height: 44px; color: var(--v-d); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.tip { display: flex; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.tip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--o), var(--p), var(--v), var(--b)); }
.tip-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--grad-deep); color: #fff; flex: none; }
.tip-ic .ic { width: 18px; height: 18px; }
.tip b { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.tip p { font-size: 15px; font-weight: 500; }

.sw { box-sizing: content-box; width: 48px; height: 26px; padding: 3px; border: 6px solid transparent; border-width: 6px 0; background-clip: padding-box; border-radius: 999px; background-color: #CFC8DE; flex: none; transition: background-color .18s ease; }
.sw span { display: block; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s ease; }
.sw[aria-checked="true"] { background-color: var(--c); }
.st0 .sw[aria-checked="true"] { background-color: var(--o-d); }
.sw[aria-checked="true"] span { transform: translateX(22px); }

.foot { margin-top: 36px !important; padding-top: 14px; border-top: 1px dashed var(--line); text-align: center; color: var(--ink-2); font-size: 13px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: var(--soft); color: var(--ink-2); font-size: 14px; }
.note .ic { width: 20px; height: 20px; margin-top: 1px; color: var(--c-d); }
.note-strong { background: var(--c-t); color: var(--ink); font-weight: 500; }
.price { text-align: center; font-size: 14px; color: var(--ink-2); font-weight: 600; }

.field-l { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field-box { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md); font-weight: 500; }
.field-box .ic { color: var(--ink-3); }
.field-area { align-items: flex-start; min-height: 84px; }
.segs-row { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.seg.is-on { border-color: var(--c); background: var(--c-t); color: var(--c-d); }
.meter { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: var(--c); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-row li { padding: 12px 8px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-align: center; }
.stat-row b { display: block; font-size: 22px; line-height: 1.2; font-weight: 800; }
.stat-row span { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }

.rows li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.rows li + li { border-top: 1px solid var(--line); }
.rows li > div { flex: 1; min-width: 0; }
.rows b { display: block; font-size: 15.5px; }
.rows span:not(.ic-wrap) { display: block; font-size: 13.5px; color: var(--ink-2); }
.rows-ic .ic-wrap { width: 40px; height: 40px; border-radius: 12px; }

.done { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--ok-t); color: var(--ok); }
.done-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ok); color: #fff; flex: none; }
.done b { display: block; font-size: 16px; }
.done p { font-size: 13.5px; color: #235C40; }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.tag .ic { width: 14px; height: 14px; }
.tag-paid, .tag-done { background: var(--ok-t); color: var(--ok); }
.tag-wait { background: var(--warn-t); color: var(--warn); }
.tag-packing, .tag-shipping { background: var(--b-t); color: var(--b-d); }

.art { display: block; width: 100%; height: 100%; }
.play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(28, 20, 51, .62); color: #fff; display: grid; place-items: center; }
.play .ic { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-left: 2px; }
.shop-logo { width: 56px; height: 56px; flex: none; border-radius: 50%; }

.toast {
  position: absolute; left: 50%; bottom: 104px; z-index: 12; max-width: 86%; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 14.5px; font-weight: 600; text-align: center; opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- landing ---------- */
.hero { padding-top: 10px; }
.hero-h { font-size: clamp(34px, 10.4vw, 44px); line-height: 1.24; font-weight: 800; letter-spacing: -.01em; }
.hero-h span { display: block; width: fit-content; -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.hero-h span:nth-child(1) { background-image: linear-gradient(95deg, #EA5A00, #E0246F); }
.hero-h span:nth-child(2) { background-image: linear-gradient(95deg, #E0246F, #6A24E0); }
.hero-h span:nth-child(3) { background-image: linear-gradient(95deg, #6A24E0, #0B76C9); }
.hero-sub { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.block { margin-top: 44px !important; }
.block > .lead { margin-top: 6px; }

.road { margin-top: 16px; padding: 14px 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); }
.road-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.road-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2s cubic-bezier(.55, .1, .3, 1) .25s forwards; }
.road-node text { font-size: 14px; font-weight: 800; fill: var(--ink); }
.road-node, .road-end, .road-p2 { opacity: 0; animation: pop .3s ease forwards; animation-delay: calc(.35s + var(--i, 12) * .14s); }
.road-p2 { --i: 9; }
.road-p2 text { font-size: 10.5px; font-weight: 700; fill: #fff; }
.road-stage { font-size: 14px; font-weight: 800; }
.road.is-static .road-line { animation: none; stroke-dashoffset: 0; }
.road.is-static .road-node, .road.is-static .road-end, .road.is-static .road-p2 { animation: none; opacity: 1; }
.road-ends { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 0 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.road-ends span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }

.stage-list { display: grid; gap: 12px; margin-top: 14px; }
.stage-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stage-card header { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--c-t); }
.stage-card h3 { font-size: 17px; line-height: 1.35; color: var(--c-d); font-weight: 800; }
.stage-card header p { font-size: 13.5px; color: var(--ink-2); }
.stage-card li + li { border-top: 1px solid var(--line); }
.stage-card li a { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 12px 8px 14px; font-weight: 600; font-size: 15px; }
.stage-card .nm { flex: 1; min-width: 0; }
.stage-card .chev { margin-left: 0; }

.banner { display: block; padding: 18px 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.banner h3 { margin-top: 10px; font-size: 18px; line-height: 1.4; font-weight: 800; }
.banner p { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; }
.banner-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-weight: 700; color: var(--v-d); font-size: 15px; }
.banner-cta .ic { width: 16px; height: 16px; }
.banner-p2 { background: var(--ink); border-color: var(--ink); color: #fff; position: relative; overflow: hidden; }
.banner-p2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--grad); }
.banner-p2 .p2 { background: #fff; color: var(--ink); }
.banner-p2 p { color: #D6D0E6; }
.banner-p2 .banner-cta { color: #fff; }
.duo { display: grid; gap: 12px; }

.users { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.user { padding: 14px 12px; border-radius: var(--r-lg); background: var(--c-t); }
.user .ic-wrap { background: #fff; }
.user h3 { margin-top: 10px; font-size: 16px; line-height: 1.35; font-weight: 800; color: var(--c-d); }
.user p { margin-top: 2px; font-size: 13.5px; color: var(--ink); }

.helpers { display: grid; gap: 10px; margin-top: 14px; }
.helper { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; text-align: left; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.helper h3 { font-size: 16.5px; font-weight: 800; }
.helper p { font-size: 14px; color: var(--ink-2); }
.helper > div { flex: 1; min-width: 0; }
.closing { text-align: center; }
.closing .btn { display: flex; }
.closing .price { margin-top: 12px; }

/* ---------- home ---------- */
.greet p { color: var(--ink-2); font-size: 14.5px; }
.next-card { padding: 16px; border-radius: 26px; background: var(--grad-deep); color: #fff; box-shadow: 0 18px 30px -18px rgba(123, 47, 247, .75); }
.next-top { display: flex; align-items: center; gap: 10px; }
.next-top .ic-wrap { width: 40px; height: 40px; background: rgba(255, 255, 255, .22); color: #fff; }
.next-top b { display: block; font-size: 13px; font-weight: 600; opacity: .95; }
.next-top span { display: block; font-size: 16px; font-weight: 800; line-height: 1.3; }
.next-body { margin-top: 12px; font-size: 19px; line-height: 1.45; font-weight: 700; }
.segs { display: flex; gap: 5px; margin-top: 14px; }
.segs i { flex: 1; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .32); }
.segs i.on { background: #fff; }
.next-prog { margin-top: 6px; font-size: 13px; font-weight: 600; opacity: .95; }
.next-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.next-act .btn { flex: 1 1 auto; min-height: 48px; padding: 8px 14px; font-size: 15.5px; }

.journey { position: relative; padding-left: 30px; margin-top: 10px !important; }
.journey::before { content: ""; position: absolute; left: 9px; top: 14px; bottom: 30px; width: 4px; border-radius: 4px; background: linear-gradient(var(--o), var(--p) 34%, var(--v) 67%, var(--b)); }
.jgroup + .jgroup { margin-top: 20px; }
.jgroup header { position: relative; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.jgroup header .letter { position: absolute; left: -33px; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--bg); box-sizing: content-box; margin: -3px 0 0 -3px; font-size: 13px; }
.jgroup h3 { font-size: 17px; font-weight: 800; color: var(--c-d); }
.jgroup header p { flex-basis: 100%; font-size: 13px; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 104px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .12s ease; }
.tile:active { transform: scale(.98); }
.tile:last-child:nth-child(odd) { grid-column: span 2; flex-direction: row; align-items: center; min-height: 68px; }
.tile-t { display: flex; align-items: flex-start; gap: 6px; font-weight: 700; font-size: 14.5px; line-height: 1.4; }
.tile .num { margin-top: -1px; }
.tile .p2 { position: absolute; top: 10px; right: 10px; }
.store-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-lg); border: 1.5px dashed #CFC6E6; background: #fff; font-weight: 700; font-size: 15px; margin-top: 20px !important; }

/* ---------- system frame ---------- */
.thread { display: flex; align-items: center; position: relative; margin: -4px -4px 8px; }
.thread::before { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--line); }
.td { flex: 1; height: 36px; display: grid; place-items: center; position: relative; }
.td span { display: grid; place-items: center; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid #D9D2EA; font-size: 13px; font-weight: 800; color: #fff; line-height: 1; }
.td.is-past span { background: var(--c); border-color: var(--c); }
.td.is-now span { width: 30px; height: 30px; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c); }
.td.st0.is-now span { background: var(--o-d); box-shadow: 0 0 0 2px var(--o-d); }
.sys-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.stage-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 4px; border-radius: 999px; background: var(--c-t); color: var(--c-d); font-size: 13.5px; font-weight: 700; }
.stage-chip i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.st0 .stage-chip i { background: var(--o-d); }
.sys-of { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.p2-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 14px 6px 10px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.p2-badge .ic { width: 18px; height: 18px; }
.sys-head .h1 { margin-top: 10px; }
.sys-head .lead { margin-top: 4px; }
.sys-body > * + * { margin-top: 14px; }
.sys-body > .h2-row { margin-top: 26px; }
.sys-body > .h2-row + * { margin-top: 10px; }
.sys-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px !important; }
.sn { display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 10px 12px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.sn small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.sn span { flex: 1; min-width: 0; }
.sn-next { text-align: right; background: var(--ink); border-color: var(--ink); color: #fff; }
.sn-next small { color: #CFC8E2; }
.sn .ic { width: 18px; height: 18px; }

/* ---------- 1 ---------- */
.trends { padding: 4px 14px; }
.trends li { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; row-gap: 6px; align-items: center; padding: 12px 0; }
.trends li + li { border-top: 1px solid var(--line); }
.tr-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tr-n { font-weight: 700; font-size: 15.5px; }
.tr-v { font-weight: 800; font-size: 14px; min-width: 22px; text-align: right; }
.ideas { display: grid; gap: 10px; }
.idea { padding: 14px; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); }
.idea.is-on { border-color: var(--c); background: #FFFCF9; }
.idea h3 { margin-top: 8px; font-size: 17px; line-height: 1.4; font-weight: 800; }
.idea p { font-size: 14px; color: var(--ink-2); }
.idea .btn { margin-top: 12px; min-height: 46px; width: 100%; }

/* ---------- 2 ---------- */
.plan li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 52px; }
.plan li + li { border-top: 1px solid var(--line); }
.plan li.is-now { background: var(--c-t); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.day { width: 46px; flex: none; font-weight: 800; font-size: 13.5px; color: var(--c-d); }
.pl-t { flex: 1; min-width: 0; font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.script { padding: 4px 14px; }
.script li { padding: 12px 0; }
.script li + li { border-top: 1px solid var(--line); }
.sc-h { display: flex; justify-content: space-between; align-items: baseline; }
.sc-h b { font-size: 13.5px; color: var(--c-d); }
.sc-h span { font-size: 12.5px; color: var(--ink-2); }
.script p { margin-top: 2px; font-size: 16px; font-weight: 600; line-height: 1.5; }

/* ---------- 3 ---------- */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shots-tall { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.shot { position: relative; padding: 0; border: 3px solid transparent; border-radius: 18px; overflow: hidden; background: var(--soft); }
.shot.is-on { border-color: var(--c); }
.shot-l { position: absolute; left: 8px; bottom: 8px; padding: 1px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 700; }
.shots-tall .shot-l { left: 4px; bottom: 4px; padding: 0 6px; font-size: 11.5px; }
.shot-ok { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; }
.shots-tall .shot-ok { top: 4px; right: 4px; width: 22px; height: 22px; }
.shot-ok .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.media { display: flex; align-items: center; gap: 12px; padding: 10px; }
.media-th { position: relative; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; flex: none; }
.media h3 { font-size: 16px; font-weight: 800; }
.media p { font-size: 14px; color: var(--ink-2); }

/* ---------- 4 ---------- */
.edit-top { display: grid; grid-template-columns: 42% 1fr; gap: 10px; align-items: stretch; }
.phone-prev { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--soft); border: 3px solid var(--ink); }
.prev-logo { position: absolute; top: 8px; left: 8px; }
.prev-logo .shop-logo { width: 26px; height: 26px; display: block; }
.prev-sub { position: absolute; left: 6px; right: 6px; bottom: 12px; padding: 4px 6px; border-radius: 8px; background: rgba(28, 20, 51, .78); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.45; text-align: center; font-family: "Noto Sans Lao", var(--font); }
.checks { padding: 14px 12px; }
.checks h3 { font-size: 14.5px; font-weight: 800; margin-bottom: 8px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 600; line-height: 1.45; }
.checks li + li { margin-top: 10px; }
.checks .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ok-t); color: var(--ok); stroke-width: 2.8; margin-top: 1px; }
.timeline { display: grid; grid-template-columns: 70px minmax(0, 1fr); column-gap: 6px; padding: 10px 0 10px 10px; overflow: hidden; }
.tl-labels { display: grid; grid-template-rows: 18px 34px 46px 34px 34px; row-gap: 6px; align-items: center; }
.tl-labels span { font-size: 12px; font-weight: 700; color: var(--ink-2); line-height: 1.3; }
.tl-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding: 0 10px 6px 0; scrollbar-width: thin; }
.tl-scroll:focus-visible { outline-offset: -3px; }
.tl-inner { min-width: 600px; }
.tl-ruler { display: flex; justify-content: space-between; height: 18px; font-size: 11.5px; color: var(--ink-2); font-weight: 600; }
.tl-body { position: relative; display: grid; grid-template-rows: 34px 46px 34px 34px; row-gap: 6px; margin-top: 6px; }
.playhead { position: absolute; top: -4px; bottom: -4px; left: 42%; width: 2px; background: var(--ink); border-radius: 2px; z-index: 1; }
.playhead::before { content: ""; position: absolute; top: -3px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.tl-lane { min-width: 0; display: flex; gap: 2px; }
.blk { display: grid; place-items: center; min-width: 0; border-radius: 8px; font-size: 12px; font-weight: 700; overflow: hidden; white-space: nowrap; }
.blk0 { background: var(--o-t); color: var(--o-d); } .blk1 { background: var(--p-t); color: var(--p-d); }
.blk2 { background: var(--v-t); color: var(--v-d); } .blk3 { background: var(--b-t); color: var(--b-d); }
.blk-music { flex: 1; background: repeating-linear-gradient(90deg, var(--b-t) 0 6px, #D2EAFF 6px 12px); color: var(--b-d); justify-items: start; padding-left: 8px; }
.blk-music .ic { width: 16px; height: 16px; }
.subchip { display: grid; place-items: center; min-width: 0; padding: 2px 6px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.35; text-align: center; overflow-wrap: anywhere; font-family: "Noto Sans Lao", var(--font); }
.tl-wave { align-items: center; gap: 2px; padding: 0 2px; background: var(--p-t); border-radius: 8px; }
.tl-wave i { flex: 1; min-width: 1px; border-radius: 2px; background: var(--p); }
.tl-hint { margin-top: 6px !important; font-size: 12.5px; color: var(--ink-2); text-align: right; }
.sub-edit { padding: 14px; }
.sub-edit h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.sub-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sub-row span { width: 36px; flex: none; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.sub-row input { flex: 1; min-width: 0; height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; font-family: "Noto Sans Lao", var(--font); }
.sub-row input:focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 3px var(--c-t); }
.sub-edit .btn-row { margin-top: 12px; }

/* ---------- 5 ---------- */
.brand-top { display: flex; align-items: center; gap: 14px; padding: 14px; }
.brand-top h3 { font-size: 20px; font-weight: 800; }
.brand-top p { font-size: 14px; color: var(--ink-2); }
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.swatches li { padding: 8px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.swatches i { display: block; height: 52px; border-radius: 10px; border: 1px solid rgba(0, 0, 0, .06); }
.swatches b { display: block; margin-top: 6px; font-size: 14px; }
.swatches span { font-size: 12.5px; color: var(--ink-2); }
.font-card { padding: 16px; }
.font-big { font-size: 26px; font-weight: 800; line-height: 1.4; color: #3E8E5A; }
.font-small { font-size: 14px; color: var(--ink-2); }
.phrases li { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; min-height: 54px; font-weight: 600; font-size: 15px; }
.phrases li + li { border-top: 1px solid var(--line); }
.phrases li > span { flex: 1; min-width: 0; }

/* ---------- 6 ---------- */
.switch-card { display: flex; align-items: center; gap: 12px; padding: 14px; }
.switch-card > div { flex: 1; }
.switch-card b { display: block; font-size: 16.5px; }
.switch-card span { font-size: 14px; font-weight: 700; color: var(--c-d); }
.switch-card small { display: block; font-size: 13px; color: var(--ink-2); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); padding: 8px 4px; }
.cal li { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 1px; border-radius: 12px; min-width: 0; }
.cal li.is-today { background: var(--c-t); }
.cal-d { font-size: 11px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.cal b { font-size: 16px; line-height: 1.2; }
.cal-t { font-size: 10.5px; color: var(--ink-2); font-weight: 600; }
.cal li.st-posted b { color: var(--ink-3); }
.ch { display: inline-block; padding: 0 7px; border-radius: 999px; font-style: normal; font-size: 11.5px; font-weight: 700; line-height: 1.7; white-space: nowrap; }
.cal .ch { padding: 0 5px; font-size: 10px; }
.ch-fb { background: var(--b-t); color: var(--b-d); }
.ch-tt { background: var(--p-t); color: var(--p-d); }
.ch-more { background: #fff; color: var(--ink-2); border: 1px dashed #BEB4D8; }
.cal-new { padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; line-height: 1.7; }
.new-post { width: 100%; border: 0; text-align: left; }
.new-post > div { flex: 1; min-width: 0; }
.new-post .ic:last-child { width: 18px; height: 18px; }
.queue li.is-new { background: linear-gradient(90deg, var(--c-t), #fff 80%); box-shadow: inset 4px 0 0 var(--c); scroll-margin-top: 12px; }
.new-tag { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 4px; padding: 1px 9px 1px 7px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.new-tag .ic { width: 13px; height: 13px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.queue li { display: flex; gap: 12px; padding: 12px 14px; }
.queue li + li { border-top: 1px solid var(--line); }
.q-when { width: 52px; flex: none; }
.q-when b { display: block; font-size: 13.5px; color: var(--c-d); }
.q-when span { font-size: 14px; font-weight: 700; }
.q-main { flex: 1; min-width: 0; }
.q-main p { font-weight: 600; font-size: 15px; line-height: 1.4; }
.q-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 6px; }
.status { margin-left: auto; font-size: 12.5px; font-weight: 700; padding: 1px 9px; border-radius: 999px; }
.st-posted .status { background: var(--soft); color: var(--ink-2); }
.st-scheduled .status { background: var(--ok-t); color: var(--ok); }
.st-draft .status { background: var(--warn-t); color: var(--warn); }

/* ---------- 7 ---------- */
.chat { padding: 12px; display: grid; gap: 8px; }
.chat-h { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--ink-2); }
.avatar .ic { width: 16px; height: 16px; }
.msg { max-width: 84%; }
.msg p { padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.msg-c { justify-self: start; }
.msg-c p { background: var(--soft); border-bottom-left-radius: 6px; }
.msg-a { justify-self: end; text-align: right; }
.msg-a p { background: var(--c); color: #fff; border-bottom-right-radius: 6px; text-align: left; }
.msg-tag { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 11.5px; font-weight: 600; color: var(--c-d); }
.msg-tag .ic { width: 13px; height: 13px; }
.msg-sys { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 10px; border-radius: 12px; background: var(--warn-t); color: var(--warn); font-size: 13px; font-weight: 600; text-align: center; }
.msg-sys .ic { width: 16px; height: 16px; }

.seg-ch { display: inline-flex; align-items: center; gap: 6px; }
.seg-ch .ic { width: 16px; height: 16px; }
.chb { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; }
.chb .ic { width: 13px; height: 13px; stroke-width: 2.2; }
.chb-wa { background: #DDF4E6; color: #0B7A45; }
.chb-fb { background: var(--b-t); color: var(--b-d); }
.chb-ig { background: var(--p-t); color: var(--p-d); }
.inbox { overflow: hidden; }
.inbox li + li { border-top: 1px solid var(--line); }
.conv { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 12px 14px; border: 0; background: none; text-align: left; }
.conv.is-open { background: var(--c-t); }
.conv:focus-visible { outline-offset: -3px; }
.conv-av { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--ink-2); flex: none; }
.conv-av > .ic { width: 22px; height: 22px; }
.conv-av .chb { position: absolute; right: -5px; bottom: -5px; box-sizing: content-box; border: 2px solid #fff; }
.conv.is-open .conv-av { background: #fff; }
.conv-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.conv-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.conv-top b { font-size: 16px; }
.conv-time { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.conv-msg { font-size: 14.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-unread .conv-msg { color: var(--ink); font-weight: 600; }
.conv-foot { display: flex; align-items: center; gap: 8px; margin-top: 4px; min-width: 0; }
.src { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; padding: 1px 9px 1px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.src .ic { width: 13px; height: 13px; }
.src-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src-line { justify-self: start; }
.unread { display: grid; place-items: center; min-width: 22px; height: 22px; margin-left: auto; padding: 0 6px; border-radius: 999px; background: var(--p-d); color: #fff; font-size: 12.5px; font-weight: 800; flex: none; }
.chat-h > div b { display: block; line-height: 1.3; }
.chat-h > div span { font-size: 12.5px; color: var(--ink-2); }
.draft { padding: 12px; border-radius: 16px; border: 1.5px dashed var(--c); background: var(--c-t); }
.draft-tag { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--c-d); }
.draft-tag .ic { width: 15px; height: 15px; }
.draft-text { margin-top: 6px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.draft .btn-row { margin-top: 12px; flex-wrap: wrap; }
.draft .btn { flex: 1 1 130px; padding: 10px 10px; font-size: 15px; }
.draft .btn-soft { background: #fff; }
.gloss { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; line-height: 1.45; opacity: .85; }
.chat .link-btn { justify-self: end; min-height: 40px; padding: 4px 6px; }
.seg[disabled] { opacity: .45; cursor: default; }
.tile-ch { display: flex; gap: 4px; margin-top: -2px; }

/* ---------- 8 ---------- */
.connect { padding: 16px; text-align: center; }
.connect-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.connect-line { display: flex; align-items: center; gap: 4px; color: var(--c-d); }
.connect-line i { width: 22px; height: 0; border-top: 2px dashed var(--c); }
.connect h3 { margin-top: 12px; font-size: 18px; line-height: 1.4; font-weight: 800; }
.connect p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.connect-state { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pipe li { position: relative; padding: 10px 2px; text-align: center; background: var(--c-t); }
.pipe li:first-child { border-radius: 14px 0 0 14px; } .pipe li:last-child { border-radius: 0 14px 14px 0; }
.pipe b { display: block; font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--c-d); }
.pipe span { font-size: 12px; font-weight: 600; color: var(--ink); }
.orders li { padding: 12px 14px; }
.orders li + li { border-top: 1px solid var(--line); }
.o-top { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.o-top span { color: var(--ink-2); }
.o-total { margin-left: auto; font-size: 15px; white-space: nowrap; }
.orders p { font-size: 15px; font-weight: 600; margin-top: 2px; }
.o-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ---------- 9 ---------- */
.best { display: flex; gap: 12px; padding: 10px; }
.best-th { position: relative; width: 96px; flex: none; border-radius: 14px; overflow: hidden; min-height: 150px; }
.best-th .art { position: absolute; inset: 0; }
.best-main { flex: 1; min-width: 0; padding: 2px 2px 2px 0; }
.best h3 { margin-top: 6px; font-size: 17px; line-height: 1.4; font-weight: 800; }
.best p { font-size: 13.5px; color: var(--ink-2); }
.best-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.best-stats li { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-2); }
.best-stats b { font-size: 16px; color: var(--ink); }
.best-stats .ic { width: 16px; height: 16px; color: var(--c-d); }
.voice-line { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: var(--r-lg); border: 1.5px dashed #C9BDE8; background: #fff; text-align: left; }
.voice-line small { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.voice-line b { display: block; font-size: 15.5px; line-height: 1.45; }
.budget { padding: 14px; }
.budget-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.budget-nums li { padding: 10px 6px; border-radius: 14px; background: var(--soft); text-align: center; }
.budget-nums li:last-child { background: var(--c-t); }
.budget-nums span { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.budget-nums b { display: block; font-size: 20px; line-height: 1.3; font-weight: 800; }
.budget-stop { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.budget-stop > div { flex: 1; }
.budget-stop b { display: block; font-size: 15.5px; line-height: 1.4; }
.budget-stop span { font-size: 13.5px; font-weight: 700; color: var(--c-d); }
.precheck { padding: 12px 14px; }
.precheck-lead { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.precheck-lead .ic { width: 20px; height: 20px; color: var(--c-d); margin-top: 1px; }
.precheck li { display: flex; gap: 10px; padding: 12px 0; }
.precheck li + li { border-top: 1px solid var(--line); }
.precheck li > div { flex: 1; min-width: 0; }
.ck-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none; }
.ck-ic .ic { width: 17px; height: 17px; stroke-width: 2.3; }
.is-ok .ck-ic { background: var(--ok-t); color: var(--ok); }
.is-risk .ck-ic { background: var(--warn-t); color: var(--warn); }
.precheck li p { font-size: 15px; font-weight: 600; line-height: 1.45; }
.ck-state { display: inline-block; margin-top: 3px; font-size: 12.5px; font-weight: 700; }
.is-ok .ck-state { color: var(--ok); } .is-risk .ck-state { color: var(--warn); }
.ck-fix { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
.precheck .btn { margin-top: 8px; }
.adrep { padding: 14px; }
.adrep-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.adrep-nums li { text-align: center; }
.adrep-nums li + li { border-left: 1px solid var(--line); }
.adrep-nums b { display: block; font-size: 21px; line-height: 1.3; font-weight: 800; }
.adrep-nums span { display: block; font-size: 12px; color: var(--ink-2); font-weight: 600; line-height: 1.4; padding: 0 2px; }
.adrep-foot { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* ---------- 10 ---------- */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpis li { padding: 12px 14px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.k-l { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.k-l i { width: 10px; height: 10px; border-radius: 3px; background: var(--m); }
.kpis b { display: block; font-size: 26px; line-height: 1.25; font-weight: 800; }
.k-d { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--ok); }
.k-d .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.chart { padding: 14px; }
.chart figcaption { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.chart-line { display: block; width: 100%; height: auto; font-family: var(--font); }
.chart-line .grid { stroke: var(--line); stroke-width: 1; }
.chart-line .area { fill: var(--m); opacity: .12; }
.chart-line .line { fill: none; stroke: var(--m); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-line .pt { fill: var(--m); stroke: #fff; stroke-width: 2; }
.chart-line .val { font-size: 12px; font-weight: 800; fill: var(--ink); }
.chart-line .axis { font-size: 10.5px; fill: var(--ink-2); font-weight: 600; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; height: 150px; }
.bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; padding: 0; border: 0; background: none; min-width: 0; height: 100%; }
.bar i { display: block; width: 62%; max-width: 26px; border-radius: 4px 4px 0 0; background: var(--m); opacity: .55; transition: opacity .15s ease; }
.bar.is-on i, .bar:hover i { opacity: 1; }
.bar-v { font-size: 12px; font-weight: 800; visibility: hidden; }
.bar.is-on .bar-v, .bar:hover .bar-v { visibility: visible; }
.bar-l { font-size: 10.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; padding-top: 2px; border-top: 1px solid var(--line); width: 100%; text-align: center; }
.fsteps { display: grid; gap: 4px; }
.fs-step { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--soft); }
.fs-step .k-l { font-size: 14px; color: var(--ink); }
.fs-step b { font-size: 18px; font-weight: 800; }
.fs-rate { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 2px 12px; font-size: 12.5px; color: var(--ink-2); }
.fs-rate .ic { width: 16px; height: 16px; }
.fs-track { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.fs-track i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--m); }
.fs-rate b { min-width: 44px; text-align: right; font-size: 13px; color: var(--ink); }
.chart-note { margin-top: 8px; font-size: 12.5px; color: var(--ink-2); }
.donut-row { display: flex; align-items: center; gap: 14px; }
.chart-donut { width: 124px; height: 124px; flex: none; font-family: var(--font); }
.donut-n { font-size: 26px; font-weight: 800; fill: var(--ink); }
.donut-l { font-size: 11px; font-weight: 600; fill: var(--ink-2); }
.legend-list { flex: 1; min-width: 0; }
.legend-list li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; }
.legend-list li + li { border-top: 1px solid var(--line); }
.legend-list i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.legend-list span { flex: 1; min-width: 0; font-weight: 600; }
.legend-list small { width: 34px; text-align: right; color: var(--ink-2); font-size: 12.5px; }
.best-post { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.best-post > div { flex: 1; min-width: 0; }
.best-post small { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.best-post b { display: block; font-size: 15px; line-height: 1.4; }

/* ---------- 11 ---------- */
.example { padding: 12px 14px; border-radius: var(--r-md); border: 2px dashed var(--c); background: var(--c-t); }
.example b { display: flex; align-items: center; gap: 6px; font-size: 16.5px; font-weight: 800; color: var(--c-d); }
.example b .ic { width: 20px; height: 20px; }
.example span { display: block; font-size: 14px; color: var(--ink); margin-top: 2px; }
.tree { position: relative; display: grid; gap: 14px; padding-left: 24px; }
.tree::before { content: ""; position: absolute; left: 8px; top: 22px; bottom: 44px; width: 4px; border-radius: 4px; background: linear-gradient(var(--v), var(--b)); }
.tree-you { display: flex; align-items: center; gap: 10px; margin-left: -24px; font-size: 18px; font-weight: 800; }
.tree-you .ic-wrap { border-radius: 50%; position: relative; z-index: 1; width: 40px; height: 40px; }
.lvl { position: relative; padding: 14px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.lvl::before { content: ""; position: absolute; left: -16px; top: 28px; width: 16px; height: 4px; background: var(--b); border-radius: 0 4px 4px 0; }
.lvl1::before { background: var(--v); }
.lvl header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.lvl header b { font-size: 17px; font-weight: 800; }
.lvl header span { font-size: 14px; color: var(--ink-2); }
.lvl ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lvl li { flex: 1 1 120px; padding: 10px 12px; border-radius: 14px; background: var(--v-t); }
.lvl2 li { background: var(--b-t); }
.lvl strong { display: block; font-size: 30px; line-height: 1.15; font-weight: 800; color: var(--v-d); }
.lvl2 strong { color: var(--b-d); }
.lvl li span { font-size: 13.5px; font-weight: 600; }
.aff-rules { display: grid; gap: 8px; }
.aff-rules li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.aff-rules .ic { color: var(--ok); margin-top: 1px; }
.aff-rules .strong { background: var(--ink); border-color: var(--ink); color: #fff; }
.aff-rules .strong .ic { color: #fff; }
.earn { padding: 14px; }
.earn-note { font-size: 13.5px; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.earn li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.earn li div b { display: block; font-size: 15px; }
.earn li div span { font-size: 13px; color: var(--ink-2); }
.earn li > b { font-size: 18px; }
.earn-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; font-weight: 700; }
.earn-total b { font-size: 28px; font-weight: 800; color: var(--c-d); }
.earn-total small { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.share-card { padding: 14px; }
.share-link { -webkit-user-select: all; user-select: all; display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; background: var(--soft); font-weight: 700; font-size: 15px; word-break: break-all; }
.share-link .ic { color: var(--c-d); }
.share-card .btn-row { margin-top: 10px; }
.share-card .btn { padding: 10px 10px; font-size: 15px; }

/* ---------- 12 ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: var(--r-md); background: var(--c-t); text-align: center; }
.flow li:nth-child(2) { background: var(--c); color: #fff; }
.flow li:nth-child(2) .num { background: #fff; }
.flow b { font-size: 14px; line-height: 1.4; }
.approvals { display: grid; gap: 10px; }
.approvals li { padding: 14px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.ap-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ap-when { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.approvals h3 { margin-top: 8px; font-size: 17px; line-height: 1.4; font-weight: 800; }
.approvals p { font-size: 14px; color: var(--ink-2); }
.approvals .btn-row { margin-top: 12px; }
.ap-state { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 4px 4px 4px 12px; border-radius: 13px; font-size: 14.5px; min-height: 44px; }
.ap-state b { flex: 1; }
.ap-state.ok { background: var(--ok-t); color: var(--ok); }
.ap-state.back { background: var(--warn-t); color: var(--warn); }
.ap-state .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.ap-state .link-btn { color: inherit; }

/* ---------- coach wizard ---------- */
.coach-head { display: flex; align-items: center; gap: 12px; }
.coach-head .h1 { font-size: 21px; }
.segs-wz i { height: 8px; background: var(--line); }
.segs-wz i.on { background: var(--grad-deep); }
.segs-wz i:nth-child(1).on { background: var(--o); } .segs-wz i:nth-child(2).on { background: #FA4E40; }
.segs-wz i:nth-child(3).on { background: var(--p); } .segs-wz i:nth-child(4).on { background: var(--v); } .segs-wz i:nth-child(5).on { background: var(--b); }
.segs-wz i.now { background: var(--ink); }
.wz-step { margin-top: 6px !important; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.wz-card { padding: 16px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.wz-card h2 { font-size: 22px; line-height: 1.35; font-weight: 800; }
.bubble { display: flex; gap: 10px; margin-top: 12px; }
.bubble .ic-wrap { width: 36px; height: 36px; border-radius: 50%; }
.bubble .ic { width: 18px; height: 18px; }
.bubble p { flex: 1; padding: 10px 14px; border-radius: 6px 18px 18px 18px; background: var(--soft); font-size: 15.5px; font-weight: 500; }
.wz-pick { margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.opts { display: grid; gap: 8px; margin-top: 8px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 10px 14px; text-align: left; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 16px; }
.opt.is-on { border-color: var(--v); background: var(--v-t); color: var(--v-d); }
.opt-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #C9C0DD; flex: none; }
.opt.is-on .opt-dot { border-color: var(--v); background: var(--v); color: #fff; }
.opt-dot .ic { width: 14px; height: 14px; stroke-width: 3; }
.wz-open { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 2px 0; border-top: 1px solid var(--line); min-height: 48px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.wz-open .ic:first-child { width: 20px; height: 20px; }
.wz-nav { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.wz-nav .btn-soft { background: var(--soft); color: var(--ink); }
.wz-done { text-align: center; padding: 22px 16px; border-radius: 24px; background: var(--ok-t); }
.done-big { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; }
.done-big .ic { width: 32px; height: 32px; stroke-width: 2.6; }
.wz-done h2 { margin-top: 10px; font-size: 24px; font-weight: 800; color: var(--ok); }
.wz-done p { color: #235C40; font-size: 15px; }
.wz-sum li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.wz-sum li + li { border-top: 1px solid var(--line); }
.wz-sum li > div { flex: 1; min-width: 0; }
.wz-sum span:not(.num) { display: block; font-size: 13px; color: var(--ink-2); }
.wz-sum b { font-size: 15.5px; }
.wz-sum .ic { color: var(--ok); width: 18px; height: 18px; stroke-width: 2.6; }
[data-route="coach"] .view .btn-block + .btn-block { margin-top: 10px; }

/* ---------- tool store ---------- */
.page-head .lead { margin-top: 4px; }
.plugline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 14px 6px 12px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.plugline::before { content: ""; position: absolute; left: 12%; right: 12%; top: 27px; height: 5px; border-radius: 5px; background: var(--grad); }
.plugline li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.plugline .letter { border: 3px solid #fff; box-sizing: content-box; border-radius: 50%; margin: -3px; }
.plugline b { font-size: 12.5px; line-height: 1.35; font-weight: 700; margin-top: 3px; min-height: 2.7em; }
.socket { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; border: 2px dashed var(--c); color: var(--c-d); }
.socket .ic { width: 16px; height: 16px; }
.core { display: flex; align-items: center; gap: 12px; padding: 14px; }
.core > div { flex: 1; }
.core b { display: block; font-size: 16px; }
.core span { font-size: 14px; color: var(--ink-2); }
.roadmap { display: grid; gap: 8px; }
.roadmap li > a, .rm-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); min-height: 64px; }
.roadmap div b { display: block; font-size: 15.5px; }
.roadmap div span { display: block; font-size: 13.5px; color: var(--ink-2); }
.roadmap li div { flex: 1; min-width: 0; }
.rm-tag { flex: none; min-width: 54px; padding: 3px 8px; border-radius: 10px; background: var(--soft); color: var(--ink-2); font-size: 12.5px; font-weight: 800; text-align: center; }
.rm-done .rm-tag { background: var(--ok-t); color: var(--ok); }
.roadmap .rm-now > a { background: var(--ink); border-color: var(--ink); color: #fff; }
.rm-now .rm-tag { background: #fff; color: var(--ink); }
.rm-now div span { color: #D6D0E6; }
.rm-now .chev { color: #fff; }
.rm-next .rm-row { border-style: dashed; border-color: #CFC6E6; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool { display: flex; flex-direction: column; padding: 12px; border-radius: var(--r-lg); background: #fff; border: 1.5px dashed #CFC6E6; }
.tool-top { display: flex; align-items: flex-start; justify-content: space-between; }
.soon { padding: 1px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tool h3 { margin-top: 10px; font-size: 15.5px; line-height: 1.4; font-weight: 800; }
.tool p { font-size: 13px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.plug { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--c-d); line-height: 1.4; }
.tool .btn { margin-top: 10px; padding: 6px 8px; font-size: 13.5px; }
.tool .btn .ic { width: 16px; height: 16px; }

/* ---------- plans ---------- */
.plan-grid { display: grid; gap: 14px; }
.tier { padding: 16px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.tier > header h2 { font-size: 26px; line-height: 1.25; font-weight: 800; }
.tier > header p { font-size: 14.5px; color: var(--ink-2); }
.plan-f { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan-f h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.4; font-weight: 800; }
.plan-f h3 .ic { width: 20px; height: 20px; color: var(--v-d); }
.plan-list { display: grid; gap: 8px; margin-top: 10px; }
.plan-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.plan-list li > .ic:first-child { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ok-t); color: var(--ok); stroke-width: 2.8; margin-top: 1px; }
.plan-list li > span:not(.chb), .plan-list li > a { flex: 1; min-width: 0; }
.kw { margin-top: 12px; padding: 10px 12px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.kw-list li { display: flex; align-items: center; gap: 8px; min-height: 34px; }
.kw-n { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; }
.kw-bar { display: block; width: 64px; height: 8px; border-radius: 999px; background: var(--soft); flex: none; overflow: hidden; }
.kw-bar i { display: block; height: 100%; border-radius: 999px; background: var(--v); }
.kw-hidden { position: relative; margin-top: 2px; }
.kw-hidden .kw-list { filter: blur(4px); opacity: .7; -webkit-user-select: none; user-select: none; }
.kw-blur { display: block; height: 12px; border-radius: 6px; background: #B9AFD3; flex: none; margin-right: auto; max-width: 52%; }
.kw-more { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.kw-more .ic { width: 15px; height: 15px; }
.tier-paid { position: relative; overflow: hidden; background: var(--ink); border-color: var(--ink); color: #fff; padding-top: 22px; }
.tier-paid::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--grad); }
.tier-paid > header p { color: #D6D0E6; }
.tier-paid .plan-list { margin-top: 14px; gap: 10px; }
.tier-paid .plan-list li > .ic:first-child { background: rgba(255, 255, 255, .16); color: #fff; }
.tier-paid .plan-list a { padding: 11px 0; margin: -11px 0; text-decoration: underline; text-underline-offset: 3px; }
.tier-paid .chev { color: #fff; margin-left: 0; margin-top: 2px; }
.plan-price { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 14.5px; font-weight: 700; }
.why { display: grid; gap: 10px; margin-top: 12px !important; }
.why-b { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.why-b h3 { font-size: 16.5px; line-height: 1.4; font-weight: 800; }
.why-b p { font-size: 14.5px; color: var(--ink-2); }
.why-week { display: block; }
.why-week > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat-2 { grid-template-columns: 1fr 1fr; margin-top: 10px; }
.stat-2 li { background: var(--bg); }
.week-clip { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.week-clip .ic-wrap { width: 38px; height: 38px; border-radius: 12px; }
.week-clip .ic-wrap .ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.week-clip > div { flex: 1; min-width: 0; }
.week-clip small { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.week-clip b { display: block; font-size: 15px; line-height: 1.4; }
.plans-card { margin-top: 10px !important; }
.closing .btn-ghost { margin-top: 10px; }

/* ---------- overlays ---------- */
.overlay { position: absolute; inset: 0; z-index: 10; display: flex; align-items: flex-end; background: rgba(28, 20, 51, .5); animation: fade .2s ease; }
.overlay.is-center { align-items: center; justify-content: center; padding: 20px; }
.overlay.is-still, .overlay.is-still .sheet { animation: none; }
.sheet { width: 100%; max-height: 92%; overflow-y: auto; padding: 8px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: #fff; animation: up .28s cubic-bezier(.2, .8, .2, 1); }
.modal { width: 100%; max-width: 400px; padding: 10px 18px 18px; border-radius: 24px; background: #fff; animation: fade .2s ease; }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; }
.sheet-bar h2 { font-size: 18px; font-weight: 800; }
.sheet-bar .icon-btn { margin-right: -8px; }
.listen { text-align: center; padding: 2px 0 10px; }
.orb { position: relative; width: 72px; height: 72px; margin: 10px auto 12px; }
.orb span { position: absolute; inset: 0; border-radius: 50%; background: var(--grad-deep); color: #fff; display: grid; place-items: center; }
.orb span .ic { width: 30px; height: 30px; }
.orb i { position: absolute; inset: 0; border-radius: 50%; background: var(--p); opacity: 0; animation: ring 2.1s ease-out infinite; }
.orb i:nth-child(2) { animation-delay: .7s; background: var(--v); }
.orb i:nth-child(3) { animation-delay: 1.4s; background: var(--b); }
.is-heard .orb i { animation: none; opacity: 0; }
.is-heard .orb span { background: var(--ok); }
.listen-t { font-size: 19px; font-weight: 800; }
.listen-q { font-size: 17px; font-weight: 700; color: var(--v-d); }
.listen-s { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.eq { display: flex; justify-content: center; align-items: center; gap: 4px; height: 26px; margin: 6px 0; }
.eq i { width: 5px; height: 100%; border-radius: 3px; background: var(--v); transform: scaleY(.3); animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { background: var(--o); animation-delay: -.9s; } .eq i:nth-child(2) { background: #FA4E40; animation-delay: -.3s; }
.eq i:nth-child(3) { background: var(--p); animation-delay: -.6s; } .eq i:nth-child(4) { background: #B830BB; animation-delay: -.1s; }
.eq i:nth-child(5) { animation-delay: -.75s; } .eq i:nth-child(6) { background: #4A66FB; animation-delay: -.45s; } .eq i:nth-child(7) { background: var(--b); animation-delay: -.2s; }
.cmds { display: grid; gap: 6px; }
.cmd { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 6px 10px 6px 8px; text-align: left; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: 15px; line-height: 1.4; }
.cmd[disabled] { opacity: .5; }
.cmd > span:nth-child(2) { flex: 1; min-width: 0; }
.cmd .q { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--v-t); color: var(--v-d); flex: none; }
.cmd .q .ic { width: 16px; height: 16px; }
.cmd .chev { margin-left: 0; }
.sheet-note { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--ink-2); }
.about-list { margin: 6px 0 16px; }
.about-list li { position: relative; padding: 9px 0 9px 20px; font-size: 15px; }
.about-list li + li { border-top: 1px solid var(--line); }
.about-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--v); }
.about-list li:first-child { font-weight: 700; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ring { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(2); opacity: 0; } }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* ---------- small phones ---------- */
@media (max-width: 359px) {
  .wm-t { display: none; }
  .view { padding-left: 12px; padding-right: 12px; }
  .tools { grid-template-columns: 1fr; }
}

/* ---------- desktop: phone frame + journey rail ---------- */
@media (min-width: 900px) {
  body { background: radial-gradient(900px 600px at 12% 8%, #FFE9D8 0%, transparent 60%), radial-gradient(900px 700px at 92% 96%, #DCEBFF 0%, transparent 60%), radial-gradient(700px 600px at 80% 10%, #F3E3FF 0%, transparent 60%), #FBF9FF; }
  .stage { align-items: center; gap: 64px; padding: 24px; }
  .app { max-width: 420px; height: min(880px, calc(100vh - 48px)); border-radius: 40px; border: 1px solid #E2DAF1; box-shadow: 0 40px 80px -40px rgba(70, 30, 140, .45), 0 0 0 10px #fff; }
  .rail { display: block; width: 340px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 8px; }
  .rail .wm { font-size: 24px; }
  .rail .mark { width: 40px; height: 40px; }
  .rail-promise { margin-top: 14px; font-size: 26px; line-height: 1.35; font-weight: 800; }
  .rail nav { margin-top: 22px; display: grid; gap: 14px; }
  .rail-g p { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--c-d); font-size: 15px; }
  .rail-g .letter { width: 24px; height: 24px; font-size: 12px; border-radius: 8px; }
  .rail-g ul { margin-top: 4px; }
  .rail-g a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
  .rail-g a:hover { background: rgba(255, 255, 255, .7); }
  .rail-g a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: var(--sh); }
  .rail-more { display: flex; gap: 8px; margin-top: 14px; }
  .rail-more a { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
  .rail-more a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .rail-note { margin-top: 20px; font-size: 12.5px; color: var(--ink-2); }
  .tile:hover, .helper:hover, .banner:hover { border-color: #CFC6E6; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .rail-promise { font-size: 20px; }
  .rail nav { gap: 8px; margin-top: 12px; }
  .rail-g a { padding: 3px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .road-line { stroke-dashoffset: 0; }
  .road-node, .road-end, .road-p2 { opacity: 1; }
  .eq i { transform: scaleY(.7); }
  .eq i:nth-child(odd) { transform: scaleY(.4); }
  .orb i:nth-child(1) { opacity: .18; transform: scale(1.35); }
  .orb i:nth-child(2) { opacity: .1; transform: scale(1.7); }
}
