:root {
  --bg: #07070d;
  --bg2: #0e0e1a;
  --card: rgba(255, 255, 255, 0.05);
  --card-hi: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f8;
  --muted: #8b8ba6;
  --dim: #5a5a72;
  --accent: #7c5cff;
  --accent2: #22d3ee;
  --accent3: #f472b6;
  --danger: #ff4d6d;
  --ok: #34d399;
  --warn: #fbbf24;
  --grad: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --grad-warm: linear-gradient(135deg, #ff4d6d 0%, #f59e0b 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tabbar-h: 64px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; padding: 0; height: 100%;
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  -webkit-user-select: none; user-select: none;
  -webkit-text-size-adjust: 100%;
}
body { position: fixed; inset: 0; overflow: hidden; }
button, a, label, input, textarea { touch-action: manipulation; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--text); -webkit-user-select: text; user-select: text; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
svg { display: block; }

/* ---------- Background ---------- */
#bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45; will-change: transform; }
.b1 { width: 380px; height: 380px; background: #5b3dff; top: -120px; left: -120px; }
.b2 { width: 320px; height: 320px; background: #0ea5c6; top: 30%; right: -160px; opacity: 0.3; }
.b3 { width: 300px; height: 300px; background: #c026d3; bottom: -140px; left: 10%; opacity: 0.22; }
.grain {
  position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
#app { position: absolute; inset: 0; z-index: 1; }
/* the view stops at the tab bar: nothing scrolls behind it */
.view {
  position: absolute; top: 0; left: 0; right: 0; bottom: calc(var(--tabbar-h) + var(--safe-b));
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--safe-t) + 18px) 18px 104px;
}
.view::-webkit-scrollbar { display: none; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 6px 2px 18px; }
.page-head h1 { font-size: 32px; line-height: 1.05; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 26px 4px 12px; }
.section-title h3 { font-size: 18px; }
.section-title .link { font-size: 14px; color: var(--accent2); font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; overflow: hidden;
  /* no backdrop-filter here: the background is already blurred and it made scrolling heavy on iPhone */
}
.card + .card { margin-top: 12px; }
.grid2 > .card, .grid3 > .card, .badges > .card { margin-top: 0; }
/* Never transition transform/opacity: GSAP animates those and CSS transitions freeze its tweens mid-way */
.card.tap { transition: background .2s ease; }
.card.tap:active { transform: scale(0.97); background: var(--card-hi); transition: transform .15s ease; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }

/* ---------- Hero / Streak ---------- */
.hero { padding: 26px 18px 22px; text-align: center; }
.orb-wrap { position: relative; width: 250px; height: 250px; margin: 4px auto 12px; }
.orb-wrap svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.orb {
  position: absolute; inset: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b7a6ff 0%, #7c5cff 30%, #3b1fb8 62%, #120a3a 100%);
  box-shadow: 0 0 60px rgba(124, 92, 255, .55), inset 0 0 40px rgba(255,255,255,.08);
}
.orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 70% 80%, rgba(34, 211, 238, .45), transparent 55%);
  mix-blend-mode: screen;
}
.orb-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; }
.streak-num { font-family: var(--display); font-size: 68px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.streak-lbl { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 2px; font-weight: 500; }
.streak-timer { font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 15px; margin-top: 8px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.25); padding: 4px 12px; border-radius: 99px; }
.hero-sub { font-size: 14px; color: var(--muted); }
.brain-bar { margin-top: 18px; text-align: left; }
.bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); box-shadow: 0 0 16px rgba(124,92,255,.6); }

.stat { padding: 14px; text-align: left; }
.stat .v { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.1; }
.stat .l { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat .ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 10px; font-size: 16px; }

/* ---------- Quick actions ---------- */
.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.qa button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); font-size: 12px; color: var(--muted); font-weight: 500; }
.qa button:active { transform: scale(.93); transition: transform .15s; }
.qa .qi { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; }

/* ---------- Tool tiles ---------- */
.tile { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; }
.tile .tile-ico { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; }
.tile h4 { font-size: 17px; margin-top: 14px; }
.tile p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.tile.wide { grid-column: span 2; min-height: 120px; }
.tile .glow { position: absolute; width: 140px; height: 140px; border-radius: 50%; filter: blur(40px); opacity: .35; right: -40px; top: -40px; pointer-events: none; }

/* ---------- Lists ---------- */
.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.list-item + .list-item { border-top: 1px solid var(--border); }
.list-item .li-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; background: rgba(255,255,255,.06); }
.list-item .li-body { flex: 1; min-width: 0; }
.list-item .li-title { font-weight: 600; font-size: 15px; }
.list-item .li-sub { font-size: 13px; color: var(--muted); }
.card.flush { padding: 0; }

.check {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--dim);
  display: grid; place-items: center; flex-shrink: 0; transition: background .25s, border-color .25s, box-shadow .25s;
}
.check svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3.5; fill: none; opacity: 0; transform: scale(.4); transition: all .25s; }
.done .check { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 16px rgba(52,211,153,.5); }
.done .check svg { opacity: 1; transform: scale(1); }
.done .li-title { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 22px; border-radius: 18px; width: 100%;
  font-weight: 600; font-size: 16px; background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(124,92,255,.7);
}
.btn:active { transform: scale(.97); transition: transform .15s; }
.btn.ghost { background: var(--card-hi); box-shadow: none; border: 1px solid var(--border); }
.btn.danger { background: var(--grad-warm); box-shadow: 0 10px 30px -10px rgba(255,77,109,.7); }
.btn.ok { background: linear-gradient(135deg, #10b981, #22d3ee); box-shadow: 0 10px 30px -10px rgba(16,185,129,.6); }
.btn.sm { height: 40px; font-size: 14px; border-radius: 14px; width: auto; padding: 0 16px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--border); font-size: 14px; font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.chip.on { background: rgba(124,92,255,.22); border-color: rgba(124,92,255,.7); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: flex; background: rgba(255,255,255,.05); border-radius: 14px; padding: 4px; gap: 4px; }
.seg button { flex: 1; height: 38px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.seg button.on { background: rgba(255,255,255,.12); color: #fff; }

.field { width: 100%; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 16px; padding: 15px 16px; font-size: 16px; outline: none; transition: border .2s; }
.field:focus { border-color: var(--accent); }
textarea.field { min-height: 110px; resize: none; line-height: 1.5; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.4); }

/* ---------- Tabbar ---------- */
.tabbar {
  position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
  height: calc(var(--tabbar-h) + var(--safe-b)); padding: 0 8px var(--safe-b);
  display: flex; align-items: stretch; justify-content: space-around;
  background: #0b0b15; border-top: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 -12px 30px -12px rgba(0,0,0,.7);
}
.tab { position: relative; z-index: 2; flex: 1; display: flex; justify-content: center; height: var(--tabbar-h); flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 500; color: var(--dim); transition: color .3s; }
.tab svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tab.active { color: #fff; }
.tab-indicator { position: absolute; z-index: 1; top: 8px; height: calc(var(--tabbar-h) - 16px); width: 60px; will-change: transform; border-radius: 18px; background: rgba(124,92,255,.22); box-shadow: inset 0 0 0 1px rgba(124,92,255,.4); left: 0; }

/* ---------- Panic FAB ---------- */
.panic-fab {
  position: fixed; z-index: 21; right: 18px; bottom: calc(var(--safe-b) + var(--tabbar-h) + 16px);
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 30%, #ff8095, #ff2d55 55%, #b3002a);
  box-shadow: 0 10px 30px -5px rgba(255,45,85,.7);
}
.panic-ring { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,45,85,.6); }
.panic-fab.hidden { display: none; }

/* ---------- Sheets ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet {
  position: fixed; z-index: 91; left: 0; right: 0; bottom: 0; max-height: 92%;
  background: #12121f; border-top-left-radius: 30px; border-top-right-radius: 30px;
  border: 1px solid var(--border); border-bottom: 0;
  padding: 10px 20px calc(var(--safe-b) + 24px);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  box-shadow: 0 -20px 60px rgba(0,0,0,.6);
}
.sheet .grab { width: 40px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.2); margin: 0 auto 16px; }
.sheet h2 { font-size: 24px; margin-bottom: 6px; }
.sheet .sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.sheet label.lbl { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Fullscreen experiences ---------- */
.fs {
  position: fixed; inset: 0; z-index: 60; background: #05050a; overflow: hidden;
  display: flex; flex-direction: column;
  padding: calc(var(--safe-t) + 12px) 20px calc(var(--safe-b) + 20px);
}
.fs-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 5; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--border); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.fs-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; z-index: 3; }
.fs-bottom { position: relative; z-index: 5; }

/* Breathing */
.breath-stage { position: relative; width: 290px; height: 290px; display: grid; place-items: center; }
.breath-circle { position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #a5f3fc, #22d3ee 35%, #7c5cff 80%); box-shadow: 0 0 80px rgba(34,211,238,.5); }
.breath-halo { position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 1.5px solid rgba(165,243,252,.35); }
.breath-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff; top: 0; left: 50%; margin-left: -6px; }
.breath-label { font-family: var(--display); font-size: 30px; font-weight: 600; margin-top: 34px; min-height: 40px; }
.breath-count { font-family: var(--display); font-size: 16px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* Light therapy */
.light-layer { position: absolute; inset: 0; }
.light-orb { position: absolute; width: 180px; height: 180px; border-radius: 50%; top: 50%; left: 50%; margin: -90px 0 0 -90px; filter: blur(8px); }
.light-timer { font-family: var(--display); font-size: 56px; font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.light-hint { font-size: 17px; margin-top: 10px; opacity: .85; min-height: 26px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.mode-card { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); text-align: left; width: 100%; transition: background .2s, border-color .2s; }
.mode-card + .mode-card { margin-top: 10px; }
.mode-card.on { border-color: rgba(255,255,255,.4); background: var(--card-hi); }
.mode-swatch { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; }

/* Panic */
.panic-step { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 8px; }
.panic-big { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.panic-sub { font-size: 18px; color: rgba(255,255,255,.75); margin-top: 16px; max-width: 320px; }
.reason-card { background: rgba(255,255,255,.07); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; font-size: 17px; font-weight: 500; width: 100%; text-align: left; }
.reason-card + .reason-card { margin-top: 10px; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.action-grid button { background: rgba(255,255,255,.07); border: 1px solid var(--border); border-radius: 18px; padding: 18px 10px; font-weight: 600; font-size: 15px; }
.action-grid button span { display: block; font-size: 26px; margin-bottom: 6px; }
.dots { display: flex; gap: 6px; justify-content: center; }
.dots i { width: 7px; height: 7px; border-radius: 9px; background: rgba(255,255,255,.2); transition: width .3s, background .3s; }
.dots i.on { width: 22px; background: #fff; }

/* Meditation */
.med-orb { width: 220px; height: 220px; border-radius: 50%; position: relative; }
.med-orb .layer { position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: screen; filter: blur(18px); }
.med-prompt { font-size: 20px; font-weight: 500; max-width: 300px; margin-top: 40px; min-height: 60px; line-height: 1.4; }
.particle { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; pointer-events: none; }

/* Onboarding */
.ob { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; padding: calc(var(--safe-t) + 20px) 22px calc(var(--safe-b) + 22px); overflow: hidden; }
.ob-progress { height: 4px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; position: relative; z-index: 2; }
.ob-progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; }
.ob-body { flex: 1; position: relative; z-index: 2; overflow-y: auto; padding-top: 30px; }
.ob-body h1 { font-size: 34px; line-height: 1.08; }
.ob-body .lead { color: var(--muted); font-size: 17px; margin-top: 12px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 17px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); font-size: 16px; font-weight: 500; text-align: left; transition: background .2s, border-color .2s; }
.opt + .opt { margin-top: 10px; }
.opt.on { background: rgba(124,92,255,.2); border-color: var(--accent); }
.opt .emo { font-size: 22px; }
.ob-foot { position: relative; z-index: 2; padding-top: 14px; }
.sig-pad { width: 100%; height: 180px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.2); touch-action: none; }
.big-logo { width: 110px; height: 110px; margin: 30px auto 30px; }

/* Calendar heatmap */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .d { aspect-ratio: 1; border-radius: 8px; background: rgba(255,255,255,.05); display: grid; place-items: center; font-size: 11px; color: var(--dim); }
.cal .d.clean { background: rgba(52,211,153,.25); color: #a7f3d0; }
.cal .d.check { background: rgba(124,92,255,.35); color: #ddd6fe; }
.cal .d.relapse { background: rgba(255,77,109,.35); color: #fecdd3; }
.cal .d.today { box-shadow: inset 0 0 0 1.5px #fff; }
.cal .h { font-size: 11px; text-align: center; color: var(--dim); font-weight: 600; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 12px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.chart { width: 100%; height: 140px; }
.hbar { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.hbar + .hbar { margin-top: 10px; }
.hbar .n { width: 110px; flex-shrink: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar .bar { flex: 1; height: 8px; }
.hbar .c { width: 26px; text-align: right; font-variant-numeric: tabular-nums; }

.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.badge { text-align: center; padding: 16px 6px; }
.badge .bi { width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: rgba(255,255,255,.05); filter: grayscale(1); opacity: .4; }
.badge.got .bi { filter: none; opacity: 1; background: radial-gradient(circle, rgba(124,92,255,.5), rgba(124,92,255,.08)); box-shadow: 0 0 24px rgba(124,92,255,.4); }
.badge .bt { font-size: 13px; font-weight: 600; }
.badge .bs { font-size: 11px; color: var(--muted); }

/* Habit week grid */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.week button { aspect-ratio: 1; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 11px; color: var(--dim); font-weight: 600; transition: background .2s, color .2s, box-shadow .2s; }
.week button.on { background: var(--grad); color: #fff; box-shadow: 0 4px 14px -4px rgba(124,92,255,.8); }
.week button.today { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }

/* Lessons */
.lesson-body { font-size: 17px; line-height: 1.65; color: #d8d8e4; -webkit-user-select: text; user-select: text; }
.lesson-body p + p { margin-top: 14px; }
.lesson-body h4 { font-size: 19px; margin: 24px 0 8px; color: #fff; }
.lesson-body ul { padding-left: 20px; margin: 10px 0; }
.lesson-body li + li { margin-top: 6px; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: rgba(34,211,238,.14); color: var(--accent2); }
.pill.done { background: rgba(52,211,153,.15); color: var(--ok); }

.quote { font-family: var(--display); font-size: 20px; line-height: 1.35; font-weight: 500; }
.quote-by { margin-top: 10px; font-size: 13px; color: var(--muted); }

.mood-row { display: flex; justify-content: space-between; }
.mood-row button { width: 58px; height: 58px; border-radius: 18px; font-size: 28px; background: var(--card); border: 1px solid var(--border); transition: background .2s, border-color .2s; }
.mood-row button.on { background: rgba(124,92,255,.25); border-color: var(--accent); }

/* Toast */
.toast { position: fixed; z-index: 100; left: 50%; top: calc(var(--safe-t) + 12px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 16px; background: rgba(30,30,48,.92); border: 1px solid var(--border); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.5); }

.confetti { position: fixed; z-index: 120; pointer-events: none; width: 9px; height: 14px; border-radius: 2px; top: 0; left: 0; }

/* iOS-style switch + time input (notifications) */
.switch { position: relative; width: 50px; height: 30px; border-radius: 99px; background: rgba(255,255,255,.14); flex-shrink: 0; transition: background .25s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: left .25s cubic-bezier(.3,1.4,.5,1); }
.switch.on { background: var(--ok); }
.switch.on i { left: 23px; }
.switch.busy { opacity: .5; pointer-events: none; }
.time-in { background: rgba(255,255,255,.08); border: 1px solid var(--border); border-radius: 10px; padding: 6px 8px; font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.time-in:disabled { opacity: .35; }
.list-item.rem { gap: 10px; }
.rem .li-title { white-space: nowrap; }
.rem .li-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rem .time-in { width: 76px; flex-shrink: 0; text-align: center; }
.time-in::-webkit-calendar-picker-indicator { display: none; }

.empty { text-align: center; padding: 26px 10px; color: var(--muted); font-size: 14px; }
.danger-text { color: var(--danger); }
.split { height: 1px; background: var(--border); margin: 16px 0; }
.kbd-safe { height: 40px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Habits ---------- */
.habit { gap: 12px; }
.habit .li-body { cursor: pointer; }
.h-ring { position: relative; width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; }
.h-ring svg { position: absolute; inset: 0; }
.h-emo { font-size: 18px; line-height: 1; }
.h-plus { flex-shrink: 0; min-width: 64px; height: 36px; padding: 0 12px; border-radius: 12px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
  background: rgba(124,92,255,.2); border: 1px solid rgba(124,92,255,.45); color: #fff; transition: background .2s; }
.h-plus:active { transform: scale(.94); transition: transform .1s; }
.h-plus.on { background: rgba(52,211,153,.2); border-color: rgba(52,211,153,.6); }
.h-plus.ghost { background: rgba(255,255,255,.06); border-color: var(--border); }
.h-done .li-title { color: var(--text); }
.h-big { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); }
.h-big span { font-size: 52px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: inline-block; }
.h-big small { font-size: 16px; color: var(--muted); font-family: var(--font); }
.h-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.h-step { flex: 1; min-width: 70px; height: 48px; border-radius: 14px; font-weight: 600; font-size: 15px; background: rgba(255,255,255,.06); border: 1px solid var(--border); transition: background .2s; }
.h-step.pri { background: rgba(124,92,255,.2); border-color: rgba(124,92,255,.45); }
.h-step:active { transform: scale(.95); transition: transform .1s; }
.h-hist { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 110px; }
.h-col { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--dim); font-weight: 600; }
.h-col.today span { color: #fff; }
.h-bar { flex: 1; width: 100%; border-radius: 8px; background: rgba(255,255,255,.05); display: flex; align-items: flex-end; overflow: hidden; }
.h-bar i { display: block; width: 100%; border-radius: 8px; }
.h-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; margin-top: 16px; }
.h-stats div { min-width: 0; }
.h-stats div { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 14px; padding: 10px; text-align: center; }
.h-stats b { display: block; font-family: var(--display); font-size: 16px; }
.h-stats span { font-size: 11px; color: var(--muted); }
.h-manage + .h-manage { margin-top: 10px; }
.week-dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.week-dots i { aspect-ratio: 1; border-radius: 9px; display: grid; place-items: center; }
.week-dots i b { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.75); }
.week-dots i.today { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tpl { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border-radius: 16px; text-align: left; background: var(--card); border: 1px solid var(--border); transition: background .2s, border-color .2s; }
.tpl:active { transform: scale(.96); transition: transform .1s; }
.tpl-e { font-size: 22px; }
.tpl-t { font-weight: 600; font-size: 14px; margin-top: 4px; }
.tpl-s { font-size: 11.5px; color: var(--muted); }
.tpl.have { border-color: rgba(52,211,153,.5); background: rgba(52,211,153,.08); }
.tpl.have .tpl-s { color: var(--ok); }
.h-week { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.h-week + .h-week { margin-top: 14px; }
.h-week-e { font-size: 22px; width: 30px; text-align: center; }
.h-week-b { flex: 1; min-width: 0; font-size: 14px; }
.h-spark { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; height: 26px; align-items: end; margin-top: 6px; }
.h-spark i { display: block; border-radius: 4px; }

/* ---------- Morning recap ---------- */
.rc-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; margin: 8px -20px 0; padding: 0 20px; position: relative; z-index: 3; }
.rc-scroll::-webkit-scrollbar { display: none; }
.rc-score { position: relative; width: 170px; height: 170px; margin: 14px auto 10px; }
.rc-score svg { position: absolute; inset: 0; }
.rc-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rc-num b { font-family: var(--display); font-size: 54px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rc-num span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }
.rc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 6px; }
.rc-stats div { background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 14px; padding: 10px 4px; text-align: center; }
.rc-stats b { display: block; font-family: var(--display); font-size: 18px; }
.rc-stats span { font-size: 11px; color: var(--muted); }
.rc-h { font-size: 17px; margin: 22px 2px 10px; }
.rc-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; font-size: 15px; line-height: 1.35; }
.rc-item + .rc-item { margin-top: 8px; }
.rc-item.good { background: rgba(52,211,153,.09); border: 1px solid rgba(52,211,153,.25); }
.rc-item.bad { background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.25); }
.rc-e { font-size: 20px; width: 26px; text-align: center; flex-shrink: 0; }
.rc-tip { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.3); font-size: 15px; line-height: 1.45; }
.rc-tip + .rc-tip { margin-top: 8px; }
.rc-focus { margin-top: 22px; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, rgba(124,92,255,.3), rgba(34,211,238,.18)); border: 1px solid rgba(124,92,255,.5); font-size: 17px; font-weight: 600; line-height: 1.4; }
.rc-focus .eyebrow { color: rgba(255,255,255,.7); }
.rc-card { width: 100%; display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.rc-mini { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: conic-gradient(var(--c) calc(var(--p, 1) * 100%), rgba(255,255,255,.08) 0); position: relative; }
.rc-mini::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #11111d; }
.rc-mini b { position: relative; font-family: var(--display); font-size: 16px; }

/* ---------- Rewards & recovery ---------- */
.rw-card { width: 100%; display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.rw-card.unlocked, .rw-item.unlocked { border-color: rgba(251,191,36,.55); background: linear-gradient(135deg, rgba(251,191,36,.14), rgba(244,114,182,.08)); }
.rw-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; flex-shrink: 0; background: rgba(255,255,255,.06); }
.rw-big { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; font-size: 70px; margin: 16px auto 18px; background: radial-gradient(circle, rgba(251,191,36,.45), rgba(251,191,36,.04)); box-shadow: 0 0 80px rgba(251,191,36,.45); }
.rw-item + .rw-item { margin-top: 10px; }
.rc-recovery { border-color: rgba(52,211,153,.45); background: linear-gradient(135deg, rgba(52,211,153,.12), rgba(34,211,238,.06)); margin-bottom: 12px; }
.rc-recovery .list-item + .list-item { border-top-color: rgba(255,255,255,.05); }
.rc-count { font-family: var(--display); font-size: 22px; }

/* ---------- App tracking ---------- */
.at-card { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 12px; text-align: left; }
.at-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.at-chip { display: inline-flex; align-items: baseline; gap: 5px; padding: 7px 11px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.at-chip b { font-family: var(--display); font-size: 16px; }
.at-chip small { color: var(--muted); font-size: 12px; }
.at-chip.at { border-color: rgba(251,191,36,.6); background: rgba(251,191,36,.12); }
.at-chip.over { border-color: rgba(255,77,109,.7); background: rgba(255,77,109,.16); }
.at-row { display: flex; gap: 12px; align-items: center; }
.at-row + .at-row { margin-top: 14px; }
.at-e { font-size: 22px; width: 30px; text-align: center; flex-shrink: 0; }
.at-real p { font-size: 15px; line-height: 1.5; }
.at-real p + p { margin-top: 10px; }
.at-hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 60px; align-items: end; }
.at-hours i { display: block; border-radius: 3px; background: var(--accent2); }
.at-set, .at-link { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.at-set + .at-set, .at-link + .at-link { border-top: 1px solid var(--border); }
.at-lim { min-width: 34px; text-align: center; font-family: var(--display); font-size: 18px; font-variant-numeric: tabular-nums; }
.at-steps ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.55; }
.at-steps li + li { margin-top: 8px; }
.h-col span + span { margin-top: -4px; }

/* ---------- Learn ---------- */
.ln-stat { text-align: right; font-family: var(--display); }
.ln-stat b { font-size: 26px; }
.ln-stat span { font-size: 13px; color: var(--muted); }
.ln-boost { background: linear-gradient(135deg, rgba(124,92,255,.35), rgba(236,72,153,.18)); border-color: rgba(124,92,255,.5); }
.ln-boost .quote { margin-top: 8px; font-size: 19px; }
.ln-today { width: 100%; text-align: left; margin-top: 12px; border-color: rgba(34,211,238,.4); }
.ln-today-t { font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.2; margin-top: 4px; letter-spacing: -.01em; }
/* Horizontal rows bleed to the screen edge but keep the 18px page gutter: scroll-padding keeps snapped cards off
   the edge, and the ::after spacer replaces padding-right (Safari ignores end padding in a flex scroll row). */
.ln-paths { display: flex; gap: 10px; overflow-x: auto; margin: 0 -18px; padding: 2px 0 6px 18px; scroll-padding-inline: 18px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.ln-paths::after { content: ""; flex: 0 0 8px; }
.ln-paths::-webkit-scrollbar { display: none; }
.ln-path { flex: 0 0 150px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); transition: background .2s, border-color .2s; }
.ln-path:active { transform: scale(.96); transition: transform .1s; }
.ln-path.complete { border-color: rgba(52,211,153,.5); background: rgba(52,211,153,.08); }
.ln-path b { font-size: 15px; margin-top: 8px; }
.ln-path small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.ln-path .ln-path-n { margin-top: 4px; color: var(--accent2); font-weight: 600; }
.ln-path-ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--accent2) calc(var(--p) * 100%), rgba(255,255,255,.08) 0); }
.ln-path-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #12121f; }
.ln-path-ring span { position: relative; font-size: 20px; }
.ln-filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px 12px; padding: 0 0 4px 18px; scroll-padding-inline: 18px; }
.ln-filters::after { content: ""; flex: 0 0 10px; }
.ln-filters::-webkit-scrollbar { display: none; }
.ln-filters .chip { flex-shrink: 0; }
.ln-item { width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; }
.ln-item.read { opacity: .78; }
.ln-cat { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; background: rgba(255,255,255,.06); flex-shrink: 0; }
.ln-t { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.ln-box { margin-top: 18px; padding: 16px; border-radius: 18px; font-size: 16px; line-height: 1.5; }
.ln-box.take { background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.35); }
.ln-box.act { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); }
.ln-quiz { margin-top: 18px; padding: 16px; border-radius: 18px; background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.35); }
.ln-q { font-weight: 600; font-size: 16px; margin: 4px 0 12px; line-height: 1.4; }
.ln-opt { display: block; width: 100%; text-align: left; padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--border); font-size: 15px; transition: background .2s, border-color .2s; }
.ln-opt + .ln-opt { margin-top: 8px; }
.ln-opt.right { background: rgba(52,211,153,.2); border-color: var(--ok); }
.ln-opt.wrong { background: rgba(255,77,109,.18); border-color: var(--danger); }
.ln-opt:disabled { color: var(--text); }
.ln-why { margin-top: 12px; font-size: 14.5px; line-height: 1.5; min-height: 1px; }
.ln-save { font-size: 24px; padding: 4px 6px; }
.ln-step .li-ico { font-weight: 700; font-size: 14px; }
.ln-step.done .li-ico { background: rgba(52,211,153,.2); color: var(--ok); }

/* Habits grouped by moment of the day */
.h-group { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h-group:not(:first-child) { border-top: 1px solid var(--border); margin-top: 4px; }
.h-group.now { color: #fff; }
.h-group.now b { color: var(--accent2); font-weight: 600; }

/* Risk moments */
.risk-card { border-color: rgba(251,191,36,.45); background: linear-gradient(135deg, rgba(251,191,36,.10), rgba(255,255,255,.03)); margin-bottom: 12px; }
.risk-row { display: flex; gap: 12px; padding: 12px 0; }
.risk-row + .risk-row { border-top: 1px solid var(--border); }
.risk-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-weight: 700; background: rgba(251,191,36,.16); color: var(--warn); }
.h-warn { color: var(--warn); margin-top: 2px; }

/* Automaticity check */
.auto-scale { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.auto-scale button { height: 42px; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--muted); font-weight: 600; }
.auto-scale button.on { background: var(--grad); color: #fff; }
.auto-hist { display: flex; gap: 6px; align-items: flex-end; height: 34px; margin-top: 10px; }
.auto-hist i { flex: 1; max-width: 26px; border-radius: 6px 6px 3px 3px; background: rgba(124,92,255,.6); }

/* Weekly reflections */
.refl { display: grid; gap: 4px; font-size: 14px; line-height: 1.45; }
.refl + .refl { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; }
.refl b { color: var(--muted); font-weight: 600; }

/* Brand */
.wordmark { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .32em; text-transform: uppercase; margin: 6px 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Morning / evening routine */
.rt-card { width: 100%; text-align: left; display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.rt-card.morning { border-color: rgba(251,146,60,.45); background: linear-gradient(135deg, rgba(251,146,60,.14), rgba(124,92,255,.08)); }
.rt-card.evening { border-color: rgba(99,102,241,.5); background: linear-gradient(135deg, rgba(56,72,180,.22), rgba(124,92,255,.08)); }
.rt-card-e { font-size: 32px; }
.rt-card .btn.sm { flex-shrink: 0; pointer-events: none; }
.rt-top { padding: 0 2px; }
.rt-dots { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; max-width: 220px; }
.rt-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); }
.rt-dots i.done { background: var(--ok); }
.rt-dots i.skip { background: rgba(255,255,255,.45); }
.rt-dots i.cur { width: 22px; border-radius: 4px; background: #fff; }
/* The step scrolls when it is long (intro list, notes); the buttons stay pinned at the bottom.
   Auto margins centre short content without clipping the top of long content. */
.rt-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.rt-step { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 12px 4px; -webkit-overflow-scrolling: touch; }
.rt-step::-webkit-scrollbar { display: none; }
.rt-step > :first-child { margin-top: auto; }
.rt-step > :last-child { margin-bottom: auto; }
.rt-emo { font-size: 72px; line-height: 1.1; filter: drop-shadow(0 8px 30px rgba(0,0,0,.4)); }
.rt-title { font-size: 30px; line-height: 1.15; margin: 0; }
.rt-sub { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.5; max-width: 330px; margin: 0; }
.rt-count { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.rt-note { width: 100%; text-align: left; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 14px 16px; line-height: 1.45; }
.rt-note .eyebrow { margin-bottom: 4px; }
.rt-list { width: 100%; text-align: left; display: grid; gap: 2px; margin-top: 6px; }
.rt-list div { display: flex; gap: 10px; align-items: center; padding: 6px 4px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.07); }
.rt-list div.off { opacity: .35; }
.rt-list span { width: 26px; text-align: center; }
.rt-list small { color: rgba(255,255,255,.5); margin-left: auto; }
.rt-list b { color: var(--ok); }
.rt-text { min-height: 110px; text-align: left; }
.rt-moods { width: 100%; max-width: 340px; margin-top: 6px; }
.rt-timer { position: relative; width: 150px; height: 150px; margin: 8px auto 4px; }
.rt-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rt-timer circle { fill: none; stroke-width: 7; }
.rt-timer .bg { stroke: rgba(255,255,255,.12); }
.rt-timer .fg { stroke: #fff; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 0; }
.rt-timer span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 32px; font-variant-numeric: tabular-nums; }
.rt-actions { padding-top: 12px; flex-shrink: 0; }
.rt-edit { gap: 10px; }
.rt-edit.off .li-title, .rt-edit.off span:first-child { opacity: .4; }
.rt-move { display: flex; gap: 4px; }
.rt-move button { width: 30px; height: 30px; border-radius: 10px; background: rgba(255,255,255,.06); color: var(--muted); }
.rt-move button:disabled { opacity: .25; }

/* Focus: starter plan, money line, topic chooser, dopamine pick */
.fp-card { margin-bottom: 12px; }
.fp-step { display: flex; align-items: center; gap: 12px; padding: 10px 0; overflow: hidden; }
.fp-step + .fp-step { border-top: 1px solid var(--border); }
.fp-step .check { flex-shrink: 0; }
.fp-body { flex: 1; min-width: 0; text-align: left; }
.fp-money { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.8); }
.fp-money b { color: var(--ok); }
.fp-topics .opt { align-items: center; }
.fp-pick { margin-top: 12px; text-align: center; font-size: 18px; font-weight: 600; border-color: rgba(124,92,255,.5); }
a.list-item { color: inherit; text-decoration: none; }
.fp-card .li-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-step { padding: 8px 0; }
