:root {
  --ink: #0f1b2d;
  --ink-2: #44516a;
  --muted: #8a94a6;
  --line: rgba(15, 27, 45, .08);
  --card: rgba(255, 255, 255, .74);
  --card-solid: #fff;
  --navy: #10213f;
  --navy-2: #1b3160;
  --accent: #c5f06a;
  --blue: #5b7cfa;
  --rose: #f08fa5;
  --amber: #f5b14c;
  --green: #3fb67b;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 10px 30px -12px rgba(16, 33, 63, .22);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: linear-gradient(180deg, #d9e2ee 0%, #e8edf5 34%, #f3f6fa 70%, #f7f9fc 100%) fixed;
  overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#app { max-width: 520px; margin: 0 auto; min-height: 100dvh; position: relative; }
.page { padding: calc(var(--safe-t) + 18px) 18px calc(120px + var(--safe-b)); animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.hello { font-size: 15px; color: var(--ink-2); line-height: 1.35; }
.hello b { color: var(--ink); font-weight: 700; font-size: 19px; display: block; letter-spacing: -.01em; }
.top-actions { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px; background: var(--card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: transparent; transition: background .2s; }
.icon-btn:active { background: rgba(15, 27, 45, .06); }
.icon-btn svg { width: 20px; height: 20px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--navy-2), var(--blue)); flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 18px; }
.back-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.back-btn svg { width: 20px; height: 20px; }
.title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.title-row h1 { font-size: 24px; letter-spacing: -.02em; font-weight: 700; flex: 1; }

.coach-banner { display: flex; align-items: center; gap: 10px; margin: -4px 0 14px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; }
.coach-banner b { font-weight: 600; flex: 1; }
.coach-banner a { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 600; }

/* ---------- typography ---------- */
.display { font-size: 34px; line-height: 1.05; letter-spacing: -.03em; font-weight: 300; }
.display b { font-weight: 700; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 2px 12px; }
.section-head h2 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.section-head a, .section-head button { font-size: 14px; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- cards ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 18px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .7); }
.card + .card { margin-top: 12px; }
.card.dark { background: linear-gradient(150deg, #13254a 0%, #0d1a33 100%); color: #fff; border-color: rgba(255, 255, 255, .06); }
.card.dark .muted, .card.dark .tiny { color: rgba(255, 255, 255, .6); }
.stack > * + * { margin-top: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* ---------- week strip ---------- */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day-pill { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); font-size: 13px; color: var(--ink-2); transition: all .25s; }
.day-pill .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }
.day-pill.rest .num { background: rgba(255, 255, 255, .5); color: var(--muted); }
.day-pill.today { border-color: var(--navy); }
.day-pill.on { background: var(--navy); color: rgba(255, 255, 255, .75); box-shadow: 0 10px 20px -10px rgba(16, 33, 63, .8); }
.day-pill.on .num { background: rgba(255, 255, 255, .16); color: #fff; }
.day-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.day-pill .dot.done { background: var(--green); }
.day-pill.on .dot.done { background: var(--accent); }

/* ---------- hero (photo) cards ---------- */
.hero { position: relative; border-radius: 32px; overflow: hidden; min-height: 280px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; box-shadow: 0 24px 40px -22px rgba(16, 33, 63, .7); isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 26, 48, .15) 0%, rgba(14, 26, 48, .35) 45%, rgba(10, 20, 38, .88) 100%); }
.hero .label { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.hero h3 { font-size: 30px; line-height: 1.08; letter-spacing: -.025em; font-weight: 600; margin: 8px 0 12px; }
.glass { background: rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .22); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.chip svg { width: 15px; height: 15px; }
.chip.soft { background: rgba(15, 27, 45, .06); color: var(--ink-2); }
.chip.navy { background: var(--navy); color: #fff; }
.chip.lime { background: var(--accent); color: var(--navy); }
.chip.tag { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-cta { display: flex; gap: 10px; margin-top: 14px; }
.swipe { flex: 1; display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; font-size: 15px; }
.swipe .knob { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: linear-gradient(180deg, #fff, #eef2f8); }
.swipe .knob svg { width: 20px; height: 20px; }
.next-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0 22px; border-radius: 999px; font-weight: 500; }

.scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 2px 18px 8px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.tile { position: relative; flex: 0 0 172px; height: 210px; border-radius: 26px; overflow: hidden; scroll-snap-align: start; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; isolation: isolate; box-shadow: var(--shadow); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 38, .05), rgba(10, 20, 38, .2) 50%, rgba(10, 20, 38, .85)); }
.tile .chip { font-size: 11.5px; padding: 5px 9px; }
.tile b { font-size: 16px; font-weight: 600; padding: 0 6px 6px; line-height: 1.2; }

.feature { position: relative; border-radius: 26px; overflow: hidden; min-height: 150px; color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; box-shadow: var(--shadow); }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 38, 0) 20%, rgba(10, 20, 38, .82)); }
.feature b { font-size: 16px; font-weight: 600; }
.feature span { font-size: 12.5px; opacity: .8; }

/* ---------- rings & stats ---------- */
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.ring { position: relative; width: 66px; height: 66px; margin: 0 auto 6px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.ring-label { font-size: 12px; opacity: .7; }
.stat { padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .6); }
.card.dark .stat { background: rgba(255, 255, 255, .07); }
.stat .v { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.stat .v small { font-size: 13px; font-weight: 500; opacity: .6; margin-left: 2px; }
.stat .k { font-size: 12px; color: var(--muted); margin-top: 2px; }
.delta-up { color: var(--green); } .delta-down { color: var(--rose); }

/* ---------- lists ---------- */
.row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .title { font-weight: 600; font-size: 15px; }
.row .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.row .end { text-align: right; font-size: 13px; color: var(--ink-2); }
.chev { width: 18px; height: 18px; color: var(--muted); flex: none; }
.menu-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.menu-item + .menu-item { margin-top: 10px; }
.menu-item .ic { width: 44px; height: 44px; border-radius: 16px; display: grid; place-items: center; background: rgba(91, 124, 250, .12); color: var(--blue); flex: none; }
.menu-item .ic svg { width: 22px; height: 22px; }
.menu-item .grow { flex: 1; }
.menu-item b { display: block; font-weight: 600; }
.menu-item span { font-size: 13px; color: var(--muted); }

/* exercise cards */
.ex { padding: 16px; }
.ex-head { display: flex; gap: 12px; align-items: flex-start; }
.ex-num { width: 34px; height: 34px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.ex-name { font-weight: 600; font-size: 16px; line-height: 1.25; }
.ex-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 6px; }
.ex-meta div { background: rgba(15, 27, 45, .04); border-radius: 14px; padding: 8px 6px; text-align: center; }
.ex-meta b { display: block; font-size: 14px; }
.ex-meta span { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sets { margin-top: 10px; }
.set-row { display: grid; grid-template-columns: 34px 1fr 1fr 26px; gap: 8px; align-items: center; margin-top: 8px; }
.set-row .n { font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; }
.set-row input { width: 100%; text-align: center; padding: 11px 6px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 16px; }
.set-row input:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.set-row .ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(63, 182, 123, .15); color: var(--green); opacity: 0; transition: opacity .2s; }
.set-row .ok.on { opacity: 1; }
.set-row .ok svg { width: 13px; height: 13px; }
.last-time { font-size: 12.5px; color: var(--ink-2); background: rgba(197, 240, 106, .35); border-radius: 12px; padding: 7px 10px; margin-top: 10px; }

/* meals */
.meal { padding: 0; overflow: hidden; }
.meal summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; }
.meal summary::-webkit-details-marker { display: none; }
.meal summary .grow { flex: 1; }
.meal summary b { font-weight: 600; font-size: 16px; }
.meal .items { padding: 0 18px 14px; }
.meal .item { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.meal .item span:last-child { color: var(--muted); white-space: nowrap; font-size: 12.5px; }
.macro-bar { display: flex; gap: 4px; height: 6px; border-radius: 999px; overflow: hidden; margin-top: 8px; background: rgba(15, 27, 45, .06); }
.macro-bar i { display: block; height: 100%; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); gap: 4px; }
.seg button { padding: 11px 10px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all .2s; }
.seg button.on { background: var(--navy); color: #fff; }

/* forms */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0 4px 6px; }
.input, .field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .9); font-size: 16px; }
.field textarea { min-height: 92px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.scale button { padding: 11px 0; border-radius: 14px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); font-weight: 600; }
.scale button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opts button { padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.opts button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.toggle { position: relative; width: 52px; height: 32px; border-radius: 999px; background: rgba(15, 27, 45, .15); transition: background .2s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .2s; }
.toggle.on { background: var(--green); }
.toggle.on::after { transform: translateX(20px); }
.form-group { margin-top: 18px; }
.form-group > h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin: 0 4px 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; background: var(--navy); color: #fff; box-shadow: 0 14px 24px -14px rgba(16, 33, 63, .9); transition: transform .15s, opacity .2s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; }
.btn.block { width: 100%; }
.btn.light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn.ghost { background: transparent; color: var(--ink-2); box-shadow: none; }
.btn.danger { background: #fff; color: #c2334d; box-shadow: var(--shadow); }
.btn.sm { padding: 10px 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
.sticky-save { position: sticky; bottom: calc(96px + var(--safe-b)); margin-top: 18px; z-index: 5; }

/* editors */
.ed-item { padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); margin-bottom: 10px; }
.ed-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ed-grid label { display: block; }
.ed-grid label span { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin: 0 2px 4px; text-transform: uppercase; letter-spacing: .04em; }
.ed-grid input, .ed-grid select, .ed-grid textarea { width: 100%; padding: 10px 11px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 15px; }
.ed-grid textarea { min-height: 64px; resize: vertical; }
.s1 { grid-column: span 1; } .s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; }
.ed-tools { display: flex; gap: 6px; justify-content: flex-end; margin-top: 10px; }
.ed-tools button { padding: 7px 12px; border-radius: 999px; background: rgba(15, 27, 45, .05); font-size: 13px; font-weight: 600; }
.ed-tools button.del { color: #c2334d; }
.ed-group { padding: 14px; border-radius: 26px; background: rgba(255, 255, 255, .45); border: 1px dashed rgba(15, 27, 45, .15); margin-bottom: 14px; }

/* charts */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-size: 10px; fill: var(--muted); font-family: inherit; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* timeline */
.tl { position: relative; padding-left: 22px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: rgba(15, 27, 45, .1); border-radius: 2px; }
.tl-item { position: relative; margin-bottom: 12px; }
.tl-item::before { content: ""; position: absolute; left: -20px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tl-item.now::before { background: var(--accent); border-color: var(--navy); }

/* bottom nav */
.nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + var(--safe-b)); z-index: 20; display: flex; gap: 6px; padding: 7px; border-radius: 999px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 18px 40px -14px rgba(16, 33, 63, .45); border: 1px solid rgba(255, 255, 255, .8); }
.nav a { height: 52px; min-width: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-2); padding: 0 15px; transition: all .25s; background: rgba(255, 255, 255, .7); }
.nav a svg { width: 21px; height: 21px; }
.nav a span { display: none; font-size: 14px; font-weight: 600; }
.nav a.on { background: var(--navy); color: #fff; padding: 0 18px; }
.nav a.on span { display: inline; }

/* login */
.login { min-height: 100dvh; position: relative; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--safe-t) + 26px) 22px calc(26px + var(--safe-b)); isolation: isolate; overflow: hidden; }
.login > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.login::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(160, 182, 214, .25) 0%, rgba(30, 50, 86, .35) 38%, rgba(9, 18, 36, .92) 78%); }
.login .display { font-size: 40px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.login p.lead { margin-top: 14px; font-size: 15px; line-height: 1.5; opacity: .86; max-width: 340px; }
.login form { margin-top: 24px; }
.login input { width: 100%; padding: 17px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .14); color: #fff; font-size: 16px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); margin-bottom: 10px; }
.login input::placeholder { color: rgba(255, 255, 255, .7); }
.login input:focus { outline: 2px solid rgba(255, 255, 255, .7); }
.login .btn { background: #eef2f8; color: var(--navy); width: 100%; margin-top: 6px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; }
.logo svg { width: 40px; height: 40px; }
.error { color: #ffb3c1; font-size: 14px; margin: 6px 4px 0; min-height: 20px; }
.page .error { color: #c2334d; }

/* sheet / toast */
.sheet-bg { position: fixed; inset: 0; background: rgba(10, 20, 38, .45); z-index: 40; animation: fade .2s; backdrop-filter: blur(2px); }
.sheet { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px; z-index: 41; background: #f6f8fb; border-radius: 30px 30px 0 0; padding: 10px 20px calc(24px + var(--safe-b)); max-height: 88dvh; overflow-y: auto; animation: up .28s cubic-bezier(.2, .8, .2, 1); }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(15, 27, 45, .15); margin: 0 auto 16px; }
.sheet h2 { font-size: 21px; margin-bottom: 6px; letter-spacing: -.01em; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translate(-50%, 100%); } }
.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translateX(-50%); z-index: 60; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); animation: rise .25s; max-width: 90vw; }
.steps-list { counter-reset: s; padding: 0; margin: 12px 0 0; list-style: none; }
.steps-list li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 15px; line-height: 1.45; }
.steps-list li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.pw-box { font-family: ui-monospace, Menlo, monospace; font-size: 18px; padding: 14px; border-radius: 16px; background: #fff; border: 1px dashed var(--blue); text-align: center; margin: 12px 0; user-select: all; }
.empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.page-hero { position: relative; margin: calc(-18px - var(--safe-t)) -18px 16px; height: 300px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--safe-t) + 18px) 18px 22px; isolation: isolate; border-radius: 0 0 36px 36px; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 38, .3), rgba(10, 20, 38, .1) 40%, rgba(10, 20, 38, .85)); }
.page-hero h1 { font-size: 32px; letter-spacing: -.025em; font-weight: 600; line-height: 1.1; }
.page-hero .back-btn { background: rgba(255, 255, 255, .2); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.hero-top { display: flex; justify-content: space-between; align-items: center; }
.prose { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; padding: 6px 4px; }
.table td { padding: 9px 4px; border-top: 1px solid var(--line); }
.table td.r, .table th.r { text-align: right; }
@media (min-width: 560px) {
  body { padding: 18px 0; }
  #app { border-radius: 40px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(16, 33, 63, .35); min-height: calc(100dvh - 36px); background: linear-gradient(180deg, #d9e2ee 0%, #e8edf5 34%, #f3f6fa 70%, #f7f9fc 100%); }
  .login { min-height: calc(100dvh - 36px); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.coach-banner svg { width: 18px; height: 18px; flex: none; }
.coach-banner b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coach-banner a { white-space: nowrap; }
.hero .label > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-btn { white-space: nowrap; color: #fff; }
.next-btn svg { width: 16px; height: 16px; }
.section-head .chev { width: 20px; height: 20px; }
.swipe { white-space: nowrap; min-width: 0; }
.hero-cta .next-btn { flex: none; padding: 0 18px; }
