/* ──────────────────────────────────────────────────────────────
   aList — shared design system (lime dark theme)
   Ported from the เลขาแจ๋ว React prototype. Used by all CI3 views.
   ────────────────────────────────────────────────────────────── */

:root {
  --stage: #0a0a08;
  --bg: #0e0e0b;
  --surface: #181712;
  --surface2: #211f18;
  --raised: #15140d;
  --text: #f7f7f2;
  --dim: #a3a297;
  --faint: #6d6c62;
  --border: rgba(255,255,255,0.08);
  --lime: #c9ff00;
  --magenta: #ff68ff;
  --income: #c9ff00;
  --expense: #ff68ff;
  --line-green: #06C755;
  --mono: 'IBM Plex Mono', 'IBM Plex Sans Thai', ui-monospace, monospace;
}

* { margin: 0; box-sizing: border-box; }

html, body {
  font-family: 'IBM Plex Sans Thai', 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--stage);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
::-webkit-scrollbar { width: 0; height: 0; }
button, input, textarea { font-family: inherit; }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; }
.lk-spin { animation: lk-spin .7s linear infinite; }
@keyframes lk-spin { to { transform: rotate(360deg); } }

/* ── App shell: phone-width web app, centered on stage ── */
.app {
  max-width: 440px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}
.app__scroll { padding: 0 20px 130px; }

/* ── Header ── */
.app-header {
  padding: 40px 20px 12px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px;
}
.app-header__eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--faint); margin-bottom: 3px;
}
.app-header__title {
  display: flex; align-items: center; gap: 9px;
}
.app-header__title h1 {
  font-size: 25px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.1;
}
.app-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--lime), var(--magenta));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #0a0a08;
}

/* ── Tier badge ── */
.tier-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  padding: 4px 9px; border-radius: 999px; text-transform: uppercase;
  background: rgba(255,255,255,0.09); color: var(--dim);
}
.tier-badge.pro { background: var(--lime); color: #0a0a08; }

/* ── Card ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
}
.card.raised { box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.card.flush { padding: 0; }
.card.glow { background: var(--raised); position: relative; overflow: hidden; }
.card.glow .glow-orb {
  position: absolute; top: -40px; right: -30px; width: 160px; height: 160px;
  border-radius: 50%; background: var(--lime); opacity: 0.12; filter: blur(8px);
}
.card.glow .glow-inner { position: relative; }

/* ── Column stack ── */
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-sm { display: flex; flex-direction: column; gap: 9px; }

/* ── Section head ── */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 2px 2px 0;
}
.section-head__left { display: flex; align-items: baseline; gap: 8px; }
.section-head__title { font-size: 16px; font-weight: 700; color: var(--text); }
.section-head__en {
  font-size: 11px; color: var(--faint); font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.section-head__all {
  border: none; background: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--lime);
}

/* ── Transaction row ── */
.txn { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.txn:last-child { border-bottom: none; }
.txn__ic {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.txn__ic.in  { background: rgba(201,255,0,0.14); color: var(--lime); }
.txn__ic.out { background: rgba(255,104,255,0.13); color: var(--magenta); }
.txn__body { flex: 1; min-width: 0; }
.txn__body .t { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.txn__body .s { font-size: 12px; color: var(--dim); margin-top: 1px; }
.txn__amt { font-family: var(--mono); font-size: 15px; font-weight: 600; white-space: nowrap; }
.txn__amt.in { color: var(--income); }
.txn__amt.out { color: var(--expense); }

/* ── Mini stat (hero) ── */
.mini-stat { display: flex; align-items: center; gap: 9px; }
.mini-stat__ic {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.07);
}
.mini-stat__label { font-size: 11px; color: var(--dim); font-weight: 600; }
.mini-stat__val { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; }

/* ── Stat card (grid) ── */
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 15px; }
.stat-card.accent { background: var(--lime); }
.stat-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.stat-card__label { font-size: 12px; font-weight: 600; color: var(--dim); }
.stat-card.accent .stat-card__label { color: #0a0a08; }
.stat-card__val { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--text); margin-top: 12px; letter-spacing: -0.5px; }
.stat-card.accent .stat-card__val { color: #0a0a08; }
.stat-card__en { font-size: 10.5px; color: var(--faint); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-top: 2px; }
.stat-card.accent .stat-card__en { color: rgba(10,10,8,0.6); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; }

/* ── Horizontal scroller ── */
.hscroll { display: flex; gap: 11px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 4px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }

/* ── Wallet carousel card ── */
.wallet-card {
  flex: 0 0 auto; width: 150px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 14px;
}
.wallet-card__head { display: flex; align-items: center; gap: 8px; }
.wallet-card__ic { width: 28px; height: 28px; border-radius: 8px; color: #0a0a08; display: flex; align-items: center; justify-content: center; }
.wallet-card__name { font-size: 13px; font-weight: 600; color: var(--text); }
.wallet-card__bal { font-family: var(--mono); font-size: 19px; font-weight: 700; color: var(--text); margin-top: 12px; }
.wallet-card.locked {
  border: 1.5px dashed var(--border); background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; color: var(--dim); text-align: center;
}
.wallet-card.locked .m { color: var(--magenta); }

/* ── Pill (wallet/role selector) ── */
.pill {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--text);
}
.pill.active { border-color: transparent; background: #fff; color: #111; }
.pill__ic { width: 18px; height: 18px; border-radius: 6px; color: #0a0a08; display: flex; align-items: center; justify-content: center; }
.pill__dot { width: 9px; height: 9px; border-radius: 50%; }
.pill.locked { border-style: dashed; background: none; color: var(--dim); }

/* role pill variant uses inline bg color */
.pill.role.active { color: #0a0a08; }

/* ── Segmented control ── */
.segmented { display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: rgba(255,255,255,0.06); }
.segmented button {
  flex: 1; border: none; cursor: pointer; padding: 7px 6px; border-radius: 9px;
  font-size: 13px; font-weight: 600; background: transparent; color: var(--dim); transition: all .15s;
}
.segmented button.on { background: var(--surface2); color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; font-size: 15px; font-weight: 700;
  padding: 13px 18px; border-radius: 14px; transition: transform .1s;
}
.btn:active { transform: scale(0.97); }
.btn.full { width: 100%; }
.btn--primary { background: var(--lime); color: #0a0a08; }
.btn--magenta { background: var(--magenta); color: #0a0a08; }
.btn--dark { background: #fff; color: #111; }
.btn--ghost { background: rgba(255,255,255,0.07); color: var(--text); }
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn[disabled]:active { transform: none; }

/* ── Step button ── */
.step-btn { width: 38px; height: 38px; border-radius: 11px; border: none; cursor: pointer; background: rgba(255,255,255,0.06); color: var(--text); display: flex; align-items: center; justify-content: center; }
.step-btn[disabled] { color: var(--faint); opacity: 0.4; cursor: default; }

/* date control */
.date-ctl { display: flex; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 8px 10px; }
.date-ctl__main { text-align: center; }
.date-ctl__main .a { font-size: 14px; font-weight: 700; color: var(--text); }
.date-ctl__main .b { font-size: 11px; color: var(--faint); }

/* ── Summary cards (wallet) ── */
.sum-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 13px 11px; }
.sum-card__val { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--text); margin-top: 8px; letter-spacing: -0.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sum-card__label { font-size: 11px; color: var(--dim); font-weight: 600; margin-top: 1px; }

/* ── Breakdown bars ── */
.bar-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--expense); }

/* ── Quick actions ── */
.quick-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.quick-action {
  border: 1px solid var(--border); background: var(--surface); cursor: pointer;
  border-radius: 16px; padding: 13px 6px; display: flex; flex-direction: column;
  align-items: center; gap: 7px;
}
.quick-action__ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; }
.quick-action__label { font-size: 12.5px; font-weight: 600; color: var(--text); }

/* ── Event row (dashboard) ── */
.event-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.event-row:last-child { border-bottom: none; }
.event-row__date { width: 42px; text-align: center; flex-shrink: 0; }
.event-row__date .d { font-size: 11px; color: var(--dim); font-weight: 600; }
.event-row__date .n { font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--text); line-height: 1; }
.event-row__date .n.today { color: var(--lime); }
.event-row__bar { width: 3px; align-self: stretch; border-radius: 9px; margin: 2px 0; }
.event-row__body { flex: 1; min-width: 0; }
.event-row__body .t { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-row__body .s { font-size: 12px; color: var(--dim); margin-top: 1px; }

/* ── Calendar ── */
.cal-monthnav { display: flex; align-items: center; justify-content: space-between; }
.cal-monthnav .m { font-size: 20px; font-weight: 700; color: var(--text); }
.cal-monthnav .y { font-size: 12px; color: var(--faint); font-weight: 600; letter-spacing: 0.4px; }
.circ-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.cal-dow { text-align: center; font-size: 11px; font-weight: 700; color: var(--dim); padding: 2px 0; }
.cal-dow.we { color: var(--expense); }
.cal-day {
  aspect-ratio: 1; border: none; cursor: pointer; border-radius: 12px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: transparent;
}
.cal-day .n { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--text); }
.cal-day.today { background: rgba(201,255,0,0.13); }
.cal-day.today .n { color: var(--lime); font-weight: 700; }
.cal-day.sel { background: #fff; }
.cal-day.sel .n { color: #111; font-weight: 700; }
.cal-day__dots { display: flex; gap: 2px; height: 4px; }
.cal-day__dots span { width: 4px; height: 4px; border-radius: 50%; }

/* role lock strip */
.role-lock {
  display: flex; align-items: center; gap: 11px; cursor: pointer; text-align: left; width: 100%;
  border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 12px 14px;
}
.role-lock__avatars { display: flex; }
.role-lock__avatars span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--surface); }
.role-lock__avatars span + span { margin-left: -6px; }
.role-lock__body { flex: 1; }
.role-lock__body .t { font-size: 13.5px; font-weight: 700; color: var(--text); }
.role-lock__body .s { font-size: 11.5px; color: var(--dim); }
.role-lock__tag { font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 999px; background: var(--magenta); color: #0a0a08; }

/* event card (calendar) */
.event-card { display: flex; gap: 13px; align-items: center; cursor: pointer; text-align: left; width: 100%; border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 14px; }
.event-card__bar { width: 4px; align-self: stretch; border-radius: 9px; }
.event-card__time { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--text); width: 44px; }
.event-card__body { flex: 1; min-width: 0; }
.event-card__body .t { font-size: 15px; font-weight: 600; color: var(--text); }
.event-card__body .s { font-size: 12px; color: var(--dim); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.empty-card { text-align: center; color: var(--faint); padding: 22px; }
.empty-card .em-ic { font-size: 24px; opacity: 0.5; display: block; margin-bottom: 8px; }

/* ── Settings ── */
.set-profile { display: flex; align-items: center; gap: 13px; }
.set-profile__av { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--lime), var(--magenta)); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: #0a0a08; flex-shrink: 0; }
.set-profile__name { font-size: 17px; font-weight: 700; color: var(--text); }
.set-profile__line { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12.5px; color: var(--dim); }
.line-chip { width: 15px; height: 15px; border-radius: 5px; background: var(--line-green); display: flex; align-items: center; justify-content: center; }

.tier-pro-card { background: var(--raised); position: relative; overflow: hidden; }
.tier-pro-card .orb { position: absolute; top: -30px; right: -20px; width: 120px; height: 120px; border-radius: 50%; background: var(--lime); opacity: 0.13; filter: blur(8px); }
.tier-up-card { background: var(--lime); position: relative; overflow: hidden; color: #0a0a08; }
.tier-up-card .orb { position: absolute; bottom: -40px; right: -30px; width: 150px; height: 150px; border-radius: 50%; background: var(--magenta); opacity: 0.35; filter: blur(4px); }
.tier-up-card .eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #0a0a08; margin-bottom: 8px; }
.tier-up-card .h { font-size: 20px; font-weight: 800; line-height: 1.25; margin-bottom: 4px; }
.tier-up-card .p { font-size: 13px; color: rgba(10,10,8,0.7); margin-bottom: 16px; }
.tier-up-card .cta { width: 100%; border: none; cursor: pointer; background: #0a0a08; color: #fff; border-radius: 14px; padding: 13px; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }

.set-group__header { font-size: 11.5px; font-weight: 700; color: var(--faint); letter-spacing: 0.8px; text-transform: uppercase; padding: 0 4px 8px; }
.set-row { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-bottom: 1px solid var(--border); }
.set-row:last-child { border-bottom: none; }
.set-row__ic { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #0a0a08; flex-shrink: 0; }
.set-row__label { flex: 1; font-size: 15px; font-weight: 500; color: var(--text); }
.set-row__detail { font-size: 13px; color: var(--dim); }

.signout { width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--expense); border-radius: 16px; padding: 14px; cursor: pointer; font-size: 15px; font-weight: 700; }
.app-foot { text-align: center; font-size: 12px; color: var(--faint); padding: 4px 0 8px; }

/* ── Bottom nav + FAB ── */
.botnav-wrap { position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; padding-bottom: 22px; pointer-events: none; display: flex; justify-content: center; }
.botnav {
  width: 100%; max-width: 412px; margin: 0 14px;
  background: rgba(28,27,22,0.82); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border); border-radius: 26px; padding: 8px 10px;
  display: flex; align-items: center; justify-content: space-around;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4); pointer-events: auto;
}
.botnav__item { flex: 1; max-width: 64px; border: none; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; color: var(--faint); }
.botnav__item .lbl { font-size: 10.5px; font-weight: 600; }
.botnav__item.on { color: var(--lime); }
.botnav__item.on .lbl { color: var(--text); }
.botnav__fab { width: 52px; height: 52px; border-radius: 18px; border: none; cursor: pointer; background: var(--lime); color: #0a0a08; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(201,255,0,0.3); transform: translateY(-2px); }

/* ── Toast ── */
.toast { position: fixed; bottom: 108px; left: 50%; transform: translateX(-50%); z-index: 90; background: #fff; color: #111; padding: 11px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.show { opacity: 1; }
.toast .ic { color: var(--lime); }

/* ── Sheet (bottom sheet) ── */
.sheet-backdrop { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,0); transition: background .25s; pointer-events: none; }
.sheet-backdrop.open { background: rgba(0,0,0,0.45); backdrop-filter: blur(2px); pointer-events: auto; }
.sheet {
  width: 100%; max-width: 440px; background: var(--bg); border-radius: 26px 26px 0 0;
  padding: 10px 20px 30px; transform: translateY(100%); transition: transform .3s cubic-bezier(.32,.72,0,1);
  max-height: 88%; overflow-y: auto; box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}
.sheet-backdrop.open .sheet { transform: translateY(0); }
.sheet__handle { width: 38px; height: 5px; border-radius: 999px; background: var(--border); margin: 0 auto 14px; }
.sheet__title { font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 14px; }

/* add sheet bits */
.amount-display { text-align: center; padding: 8px 0 16px; }
.amount-display .v { font-family: var(--mono); font-size: 44px; font-weight: 700; letter-spacing: -1px; color: var(--faint); }
.amount-display .v.in { color: var(--income); }
.amount-display .v.out { color: var(--expense); }
.cat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.cat-btn { border: 1px solid var(--border); background: var(--surface); cursor: pointer; border-radius: 13px; padding: 9px 2px; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--text); }
.cat-btn .lbl { font-size: 9.5px; font-weight: 600; color: var(--dim); line-height: 1.1; text-align: center; }
.cat-btn.on.in { background: var(--lime); border-color: transparent; }
.cat-btn.on.out { background: var(--magenta); border-color: transparent; }
.cat-btn.on, .cat-btn.on .lbl { color: #0a0a08; }
.keypad { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 12px 0; }
.keypad button { border: none; cursor: pointer; padding: 13px 0; border-radius: 13px; background: rgba(255,255,255,0.05); color: var(--text); font-family: var(--mono); font-size: 20px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.field { width: 100%; box-sizing: border-box; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 13px; padding: 12px 14px; font-size: 14px; outline: none; }
.field:focus { border-color: var(--lime); }
.field-label { font-size: 11.5px; font-weight: 600; color: var(--dim); margin-bottom: 5px; }

/* color + icon pickers (create wallet) */
.swatch-row { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 42px; height: 42px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.swatch.on { border-color: var(--text); }
.icon-row { display: flex; gap: 8px; flex-wrap: wrap; }
.icon-pick { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text); }
.icon-pick.on { background: var(--lime); border-color: transparent; }

/* detail rows (event sheet) */
.detail-row { display: flex; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.detail-row:last-child { border-bottom: none; }
.detail-row .ic { color: var(--dim); width: 18px; margin-top: 2px; }
.detail-row .label { font-size: 11px; color: var(--faint); font-weight: 600; }
.detail-row .value { font-size: 15px; color: var(--text); font-weight: 500; margin-top: 1px; }

/* paywall */
.paywall-hero { text-align: center; }
.paywall-hero__ic { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 14px; background: var(--lime); display: flex; align-items: center; justify-content: center; color: #0a0a08; }
.paywall-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--magenta); margin-bottom: 8px; }
.paywall-hero__title { font-size: 23px; font-weight: 700; color: var(--text); }
.paywall-hero__desc { font-size: 14px; color: var(--dim); margin-top: 6px; line-height: 1.5; padding: 0 10px; }
.benefit { display: flex; align-items: center; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.benefit__ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(201,255,0,0.13); display: flex; align-items: center; justify-content: center; color: var(--lime); }
.benefit__t { font-size: 14.5px; font-weight: 600; color: var(--text); }
.benefit__s { font-size: 12px; color: var(--dim); }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 14px; }
.price-row .p { font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--text); }
.price-row .u { font-size: 14px; color: var(--dim); }
.sheet-later { width: 100%; border: none; background: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--dim); padding: 14px 0 2px; }

/* ── Login ── */
.login { min-height: 100vh; max-width: 440px; margin: 0 auto; background: var(--bg); display: flex; flex-direction: column; padding: 70px 26px 30px; }
.oa-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin: 0 auto 26px; }
.oa-badge .g { width: 22px; height: 22px; border-radius: 7px; background: var(--line-green); display: flex; align-items: center; justify-content: center; }
.oa-badge .a { font-size: 12.5px; font-weight: 600; color: var(--dim); }
.oa-badge .b { font-size: 12.5px; font-weight: 700; color: var(--text); }
.login-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.login-mark { position: relative; width: 96px; height: 96px; margin-bottom: 22px; }
.login-mark .a { position: absolute; inset: 0; border-radius: 28px; background: var(--lime); transform: rotate(-9deg); display: flex; align-items: center; justify-content: center; color: #0a0a08; }
.login-mark .b { position: absolute; right: -10px; bottom: -8px; width: 40px; height: 40px; border-radius: 13px; background: var(--magenta); display: flex; align-items: center; justify-content: center; color: #0a0a08; box-shadow: 0 6px 16px rgba(0,0,0,0.5); }
.login-brand h1 { font-size: 34px; font-weight: 700; letter-spacing: -0.5px; }
.login-brand .tag { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); margin-top: 4px; }
.login-brand p { font-size: 14.5px; color: var(--dim); line-height: 1.55; margin-top: 14px; max-width: 250px; }
.login-feats { display: flex; flex-direction: column; gap: 10px; margin: 30px 0 auto; }
.login-feat { display: flex; align-items: center; gap: 13px; background: var(--surface); border: 1px solid var(--border); border-radius: 15px; padding: 12px 14px; }
.login-feat__ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.login-feat__t { font-size: 14.5px; font-weight: 600; color: var(--text); }
.login-feat__chk { margin-left: auto; color: var(--lime); }
.login-cta { margin-top: 26px; }
.line-btn { width: 100%; border: none; cursor: pointer; background: var(--line-green); color: #fff; border-radius: 15px; padding: 15px; display: flex; align-items: center; justify-content: center; gap: 11px; font-size: 16px; font-weight: 700; box-shadow: 0 8px 22px rgba(6,199,85,0.33); }
.login-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; color: var(--faint); font-size: 12px; }
.login-terms { font-size: 11px; color: var(--faint); text-align: center; line-height: 1.5; margin-top: 12px; }
.login-terms b { color: var(--dim); font-weight: 600; }
