/* MyPashew — client web portal. Builds on ../assets/backoffice/ui.css.
   White, black, gold. Flat 20px cards, pill buttons, generous whitespace.
   Mobile first; left sidebar from 960px. */

:root {
  --sidebar-w: 264px;
  --card-r: 20px;
  --tabbar-h: 64px;
}

body { min-height: 100vh; min-height: 100dvh; background: #FFF; }

/* Flat cards (no shadow) */
.card {
  box-shadow: none; border: 1px solid var(--hairline);
  border-radius: var(--card-r); padding: 24px;
}
.card-flat { border-radius: var(--card-r); }
.card h2 { font-size: 18px; }
.card-head { margin-bottom: 16px; }
.group-sub { margin: 4px 0 16px; }

.btn-pill { border-radius: 999px; }
.btn-sm.btn-pill { padding: 0 16px; }
.btn .icon { flex: none; }
.btn-link.danger-link { color: var(--red); text-decoration: none; font-weight: 600; }
.btn-link.danger-link:hover { text-decoration: underline; }
.link-strong { color: var(--gold-text); font-weight: 600; text-decoration: none; }
.link-strong:hover { text-decoration: underline; color: var(--gold-text); }
.link-btn { background: none; border: 0; padding: 0; font: inherit;
  color: var(--gold-text); font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.center { text-align: center; }
.icon { display: inline-block; vertical-align: middle; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 999px; border: 0; background: transparent; color: var(--text);
  cursor: pointer;
}
.icon-btn:hover { background: var(--subtle); }
:focus-visible { box-shadow: var(--focus); outline: 2px solid transparent; }
#page-h1:focus { outline: none; box-shadow: none; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-text); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; display: inline-grid;
  place-items: center; color: transparent; overflow: hidden;
  background: var(--gold) url("../images/pashew-store-logo.png") center / 152% no-repeat;
  font-weight: 800; font-size: 17px; flex: none;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.brand-mark.lg { width: 44px; height: 44px; border-radius: 13px; font-size: 22px; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #000; color: #FFF; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #FFF; }

/* -------------------------------------------------------------- signed out */

.solo { max-width: 480px; margin: 0 auto; padding: 32px 16px 48px; }
.solo > * + * { margin-top: 20px; }
.solo-brand { display: flex; align-items: center; gap: 10px; }
.status-card { text-align: center; padding: 36px 24px; }
.status-card h1, .status-card h2 { margin-bottom: 8px; }
.status-icon {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-size: 24px; font-weight: 700;
  background: #000; color: var(--gold);
}
.status-icon.sm { width: 44px; height: 44px; margin: 0; font-size: 20px; flex: none; }
.status-actions { margin-top: 20px; display: flex; justify-content: center;
  gap: 10px; flex-wrap: wrap; }

.card > label { display: block; font-weight: 600; font-size: 14px;
  margin: 18px 0 6px; }
.phone-row { display: flex; align-items: stretch; gap: 8px; }
.phone-prefix { display: inline-flex; align-items: center; padding: 0 14px;
  border-radius: var(--r-sm); background: var(--subtle); font-weight: 600;
  border: 1px solid var(--hairline); }
.phone-row input { flex: 1; min-width: 0; }
#code { letter-spacing: .4em; font-size: 22px; text-align: center; }
.form-actions { margin-top: 20px; }
.form-actions .btn { width: 100%; min-height: 50px; }
.form-actions.left .btn { width: auto; }
.form-actions + .muted.small { margin-top: 14px; }
.field-error:empty { display: none; }
.field-error { margin-top: 6px; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li + li { margin-top: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px;
  height: 16px; border-radius: 50%; background: var(--gold-tint);
  box-shadow: inset 0 0 0 5px var(--gold-tint), inset 0 0 0 8px var(--gold);
}
.small-list li { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------- sign-in (split screen) */

.auth { min-height: 100vh; min-height: 100dvh; display: flex;
  flex-direction: column; background: #FFF; outline: none; }
.auth-hero { position: relative; min-height: 38vh; min-height: 38dvh;
  overflow: hidden; background: #000; color: #FFF; display: flex;
  align-items: flex-end; }
.auth-photo { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; }
/* Flat darkening (no gradients) so the white text reads on any photo. */
.auth-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .52); }
.auth-hero-content { position: relative; padding: 24px 20px 44px;
  max-width: 560px; }
.auth-logo { display: block; width: 52px; height: 52px; border-radius: 14px;
  background: url("../images/pashew-store-logo.png") center / 152% no-repeat;
  margin-bottom: 14px; }
.auth-hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -.02em;
  color: #FFF; line-height: 1.05; }
.auth-sub { margin-top: 8px; font-size: 15.5px; color: rgba(255, 255, 255, .86);
  max-width: 420px; }
.auth-checks { list-style: none; margin: 18px 0 0; padding: 0;
  display: none; }
.auth-checks li { display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 15.5px; }
.auth-checks li + li { margin-top: 12px; }
.auth-check { width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--gold); color: #000; display: grid; place-items: center; }
.auth-check .icon { stroke-width: 2.6; }

.auth-panel { position: relative; flex: 1 1 auto; background: #FFF;
  margin-top: -22px; border-radius: 22px 22px 0 0; padding: 20px 20px 24px;
  display: flex; flex-direction: column; }
.auth-top { display: flex; justify-content: flex-end; }
.auth-back { font-size: 13.5px; color: var(--muted); text-decoration: none;
  font-weight: 500; padding: 6px 0; }
.auth-back:hover { color: var(--gold-text); }
.auth-form-wrap { width: 100%; max-width: 400px; margin: 8px auto 0; }
.auth-form h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 6px; }
.auth-form > .muted { font-size: 15px; }
.auth-form > label { display: block; font-weight: 600; font-size: 14px;
  margin: 24px 0 8px; }
.auth-form input[type=tel], .auth-form input[type=text] {
  min-height: 54px; border-radius: 12px; font-size: 17px; background: #FFF;
  border: 1.5px solid rgba(0, 0, 0, .14);
}
.auth-form input:focus { border-color: var(--gold); box-shadow: var(--focus); }
.auth-form .phone-prefix { min-height: 54px; border-radius: 12px;
  background: var(--subtle); border: 1.5px solid rgba(0, 0, 0, .08);
  font-size: 16px; }
.auth-form .form-actions .btn { min-height: 54px; font-size: 16px; }
.auth-links { margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-foot { margin-top: auto; padding-top: 36px; text-align: center;
  font-size: 13px; color: var(--muted); }
.auth-copy { margin-top: 6px; font-size: 12px; color: var(--faint); }

.auth-form-wrap.enter { animation: auth-in .38s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes auth-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-form-wrap.enter { animation: none; }
}

@media (min-width: 900px) {
  .auth { flex-direction: row; }
  .auth-hero { flex: 0 0 50%; min-height: 100vh; min-height: 100dvh;
    position: sticky; top: 0; height: 100vh; height: 100dvh; }
  .auth-hero-content { padding: 56px; max-width: 620px; }
  .auth-logo { width: 64px; height: 64px; border-radius: 17px;
    margin-bottom: 22px; }
  .auth-hero h1 { font-size: 60px; }
  .auth-sub { font-size: 19px; margin-top: 12px; max-width: 460px; }
  .auth-checks { display: block; margin-top: 30px; }
  .auth-panel { flex: 1 1 50%; margin: 0; border-radius: 0;
    padding: 28px 40px 32px; }
  .auth-form-wrap { margin: auto; padding: 24px 0; }
  .auth-foot { margin-top: 0; padding-top: 24px; }
}

/* ------------------------------------------------------------------ shell */

.shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40; width: min(84vw, var(--sidebar-w));
  background: #FFF; border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; padding: 20px 14px;
  transform: translateX(-102%); transition: transform .22s ease;
  overflow-y: auto;
}
.drawer-open .sidebar { transform: none; }
.scrim { display: none; }
.drawer-open .scrim { display: block; position: fixed; inset: 0; z-index: 30;
  background: rgba(0, 0, 0, .32); }
.sidebar-brand { display: flex; align-items: center; gap: 10px;
  padding: 4px 8px 22px; }
.sidebar-brand .drawer-close { margin-left: auto; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-link {
  display: flex; align-items: center; gap: 12px; width: 100%;
  min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0;
  background: none; color: var(--text); text-decoration: none;
  font: inherit; font-weight: 500; font-size: 15px; cursor: pointer;
  text-align: left;
}
.nav-link:hover { background: var(--subtle); color: var(--text); }
.nav-link.active { background: #000; color: #FFF; font-weight: 600; }
.nav-link.active .icon { color: var(--gold); }
.sidebar-foot { margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--hairline); display: flex; flex-direction: column;
  gap: 2px; }

.mtop {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center;
  gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 8px 8px 16px;
  background: #FFF; border-bottom: 1px solid var(--hairline);
}
.mtop-brand { display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-right: auto; }

.content {
  padding: 20px 16px calc(var(--tabbar-h) + 32px + env(safe-area-inset-bottom));
  outline: none; max-width: 1120px;
}
.content > * + * { margin-top: 20px; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #FFF; border-top: 1px solid var(--hairline);
}
.signed-out .tabbar { display: none; }
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; border: 0; background: none; font: inherit; font-size: 11.5px;
  font-weight: 600; color: var(--muted); text-decoration: none; cursor: pointer;
  min-width: 0;
}
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; padding: 0 2px; }
.tab.active { color: #000; }
.tab.active .icon { color: #000; background: var(--gold); border-radius: 999px;
  padding: 2px 12px; box-sizing: content-box; }
.tab:focus-visible { border-radius: 12px; }

@media (min-width: 960px) {
  .sidebar { transform: none; width: var(--sidebar-w); transition: none; }
  .sidebar .drawer-close, .scrim, .drawer-open .scrim { display: none; }
  .mtop, .tabbar { display: none; }
  .main-col { margin-left: var(--sidebar-w); }
  .content { padding: 40px 48px 64px; }
}

/* ------------------------------------------------------------- page head */

.page-head { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: 26px; }
.page-head-text p { margin-top: 4px; }
.page-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 960px) {
  .page-head h1 { font-size: 32px; }
}

/* ------------------------------------------------------------------ grids */

.grid-home, .grid-2 { display: grid; gap: 20px; }
.col-main, .col-side { display: flex; flex-direction: column; gap: 20px;
  min-width: 0; }
@media (min-width: 1100px) {
  .grid-home { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
    align-items: start; }
}
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; }
}
.narrow { max-width: 560px; }

/* ------------------------------------------------------------------ home */

.send-now { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.big-money { font-size: 32px; font-weight: 700; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; line-height: 1.15; }
.big-money.in, .tx-amount.in, .ticket-amount.in { color: var(--green); }
.usage { margin-bottom: 16px; }
.usage-label { font-weight: 600; font-size: 14px; }
.bar { height: 8px; border-radius: 999px; background: var(--subtle);
  margin-top: 6px; overflow: hidden; border: 1px solid var(--hairline); }
.bar > span { display: block; height: 100%; background: var(--gold);
  border-radius: 999px; }

.side-h { font-size: 15px; margin-bottom: 10px; }
.attention { list-style: none; margin: 0; padding: 0; display: flex;
  flex-direction: column; gap: 8px; }
.attention-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: var(--card-r); background: var(--gold-tint);
  text-decoration: none; color: var(--text);
}
.attention-item:hover { background: rgba(255, 215, 0, .28); color: var(--text); }
.att-icon { width: 36px; height: 36px; border-radius: 50%; background: #000;
  color: var(--gold); display: grid; place-items: center; flex: none; }
.att-title { display: block; font-weight: 600; }
.att-body { display: block; font-size: 13px; color: var(--muted); }
.all-good { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.ok-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; flex: none; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick {
  display: flex; align-items: center; gap: 10px; padding: 14px;
  border: 1px solid var(--hairline); border-radius: 16px; text-decoration: none;
  color: var(--text); font-weight: 600; font-size: 14px;
}
.quick:hover { background: var(--subtle); color: var(--text); }
.quick .icon { color: var(--gold-text); flex: none; }

/* ------------------------------------------------------------ transactions */

.list-card { padding: 8px 8px; }
.list-card .empty { padding: 40px 16px; }
.tx-list, .req-list, .acct-list, .device-list, .notif-list, .pending-list {
  list-style: none; margin: 0; padding: 0;
}
.tx-row {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 12px; border: 0; background: none; font: inherit; color: inherit;
  text-align: left; cursor: pointer; border-radius: 14px;
}
.tx-row:hover { background: var(--subtle); }
.card > .tx-list { margin: 0 -12px; }
.tx-icon { width: 40px; height: 40px; border-radius: 50%; display: grid;
  place-items: center; flex: none; background: var(--subtle); color: var(--text); }
.tx-icon.in { background: var(--green-tint); color: var(--green); }
.tx-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.tx-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }
.tx-sub { font-size: 13px; color: var(--muted); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.tx-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  flex: none; }
.tx-amount { font-weight: 700; font-variant-numeric: tabular-nums;
  white-space: nowrap; }
.group + .group { margin-top: 8px; }
.group-h { font-size: 12.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); padding: 14px 12px 6px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-field { min-width: 150px; flex: 1 1 150px; }
.filter-field.grow { flex: 2 1 240px; }
.filters select, .filters input { min-height: 44px; border-radius: 999px;
  padding: 8px 16px; }
.seg { display: inline-flex; background: var(--subtle); border-radius: 999px;
  padding: 4px; border: 1px solid var(--hairline); flex: none; }
.seg-btn { border: 0; background: none; font: inherit; font-weight: 600;
  font-size: 14px; padding: 0 16px; min-height: 36px; border-radius: 999px;
  cursor: pointer; color: var(--muted); }
.seg-btn[aria-pressed=true] { background: #000; color: #FFF; }
@media (max-width: 600px) {
  .seg { width: 100%; }
  .seg-btn { flex: 1; }
}

.detail-amount { display: flex; flex-direction: column; align-items: flex-start;
  gap: 8px; margin-bottom: 20px; }

/* --------------------------------------------------------------- requests */

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--hairline); }
.tab-btn { border: 0; background: none; font: inherit; font-weight: 600;
  padding: 12px 6px; margin-right: 14px; color: var(--muted); cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
  display: inline-flex; align-items: center; gap: 8px; }
.tab-btn[aria-selected=true] { color: #000; border-bottom-color: var(--gold); }
.tab-count, .count-badge { background: #000; color: var(--gold); font-size: 12px;
  border-radius: 999px; padding: 1px 8px; font-weight: 700; }
.count-badge { margin-left: 8px; vertical-align: 2px; }
.req-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px;
  padding: 14px 12px; align-items: center; }
.req-row + .req-row { border-top: 1px solid var(--hairline); }
.req-who { font-weight: 600; }
.req-sub { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.req-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.req-amount { font-weight: 700; font-variant-numeric: tabular-nums; }
.req-actions { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .req-row { grid-template-columns: 1fr auto auto; }
  .req-actions { grid-column: auto; }
}
.note-app { display: flex; align-items: center; gap: 8px; }

/* --------------------------------------------------------------- accounts */

.explain { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  border-radius: var(--card-r); background: var(--subtle); }
.explain-icon { width: 36px; height: 36px; border-radius: 50%; background: #000;
  color: var(--gold); display: grid; place-items: center; flex: none; }
.explain-title { font-weight: 700; margin-bottom: 2px; }
.explain p:not(.explain-title) { color: var(--muted); font-size: 14px; }
.acct-groups { display: grid; gap: 20px; }
@media (min-width: 1100px) {
  .acct-groups { grid-template-columns: 1fr 1fr; align-items: start; }
}
.acct, .device { display: flex; align-items: center; gap: 14px; padding: 14px 0;
  flex-wrap: wrap; }
.acct + .acct, .device + .device { border-top: 1px solid var(--hairline); }
.acct-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--subtle);
  display: grid; place-items: center; flex: none; }
.acct-main { flex: 1 1 160px; min-width: 0; }
.acct-title { font-weight: 600; display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; overflow-wrap: anywhere; }
.acct-sub { font-size: 13px; color: var(--muted); }
.acct-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.add-actions { margin-top: 16px; gap: 8px; }
.pending-card { border-color: rgba(138, 110, 0, .35); background: #FFFDF2; }
.pending-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0;
  flex-wrap: wrap; }
.pending-list li + li { border-top: 1px solid var(--hairline); }
.pend-title { display: block; font-weight: 600; }
.pending-list .spinner { color: var(--gold-text); }

.approve { text-align: center; align-items: center; }
.approve .dialog-actions { align-self: stretch; justify-content: center; }
.phone-glyph { width: 64px; height: 64px; border-radius: 50%; background: #000;
  color: var(--gold); display: grid; place-items: center; }
.approve-summary { font-weight: 600; background: var(--subtle);
  border-radius: 12px; padding: 10px 14px; }
.approve-summary:empty { display: none; }
.approve-status { display: flex; gap: 8px; align-items: center;
  justify-content: center; font-weight: 600; }
.approve-status.ok { color: var(--green); }
.approve-status.no { color: var(--red); }
.dialog-actions.wrap { flex-wrap: wrap; }
.dialog { border-radius: var(--card-r); }
.dialog .btn { border-radius: 999px; }

/* --------------------------------------------------- verification + limits */

.kyc-list { list-style: none; margin: 0; padding: 0; }
.kyc-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.kyc-item + .kyc-item { border-top: 1px solid var(--hairline); }
.kyc-dot { width: 24px; height: 24px; border-radius: 50%; flex: none;
  border: 2px solid rgba(0, 0, 0, .18); display: grid; place-items: center;
  margin-top: 1px; }
.kyc-item.ok .kyc-dot { background: var(--gold); border-color: var(--gold); }
.kyc-label { display: block; font-weight: 600; }
.kyc-sub { display: block; font-size: 13px; color: var(--muted); }
.block-banner { display: flex; align-items: flex-start; gap: 10px;
  margin-top: 16px; line-height: 1.45; justify-content: flex-start; }
.block-banner .icon { flex: none; margin-top: 1px; }
.block-banner strong { display: block; margin-bottom: 2px; }
.path { font-weight: 700; margin-top: 6px; }
.ladder { list-style: none; margin: 0; padding: 0; }
.rung { display: flex; gap: 16px; padding: 14px 0; align-items: flex-start; }
.rung + .rung { border-top: 1px solid var(--hairline); }
.rung-n { width: 34px; height: 34px; border-radius: 50%; display: grid;
  place-items: center; font-weight: 700; flex: none;
  border: 2px solid rgba(0, 0, 0, .15); }
.rung.past .rung-n { background: var(--gold-tint); border-color: transparent;
  color: var(--gold-text); }
.rung.current .rung-n { background: var(--gold); border-color: var(--gold); }
.rung-title { font-weight: 700; display: flex; gap: 8px; align-items: center;
  flex-wrap: wrap; }
.rung-lines { font-variant-numeric: tabular-nums; }
.tier3-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-top: 16px; padding: 18px 20px; border-radius: 16px;
  background: var(--subtle); }

/* ------------------------------------------- business limits (Tier 3) */

.t3-narrow { max-width: 680px; display: flex; flex-direction: column;
  gap: 20px; }
.t3-grid { display: grid; gap: 20px; }
.t3-main, .t3-side { min-width: 0; }
@media (min-width: 1100px) {
  .t3-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
    align-items: start; }
  .t3-main { grid-row: 1; grid-column: 1; }
  .t3-side { grid-column: 2; position: sticky; top: 24px; }
}

.t3-status h2 { font-size: 22px; }
.t3-status p { max-width: 460px; margin: 0 auto; }
.t3-status .path { margin-top: 0; }
.t3-status.ok .status-icon { background: var(--gold); color: #000; }
.t3-status.ok .status-icon .icon { stroke-width: 2.6; }
.t3-status.wait .status-icon { background: var(--gold-tint);
  color: var(--gold-text); }
.t3-status.no .status-icon { background: var(--red-tint); color: var(--red); }

.t3-intro h2 { font-size: 20px; margin: 6px 0 6px; }
.t3-intro .eyebrow { display: inline-block; }
.t3-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 18px; }
.t3-fact { background: var(--subtle); border-radius: 16px; padding: 14px 16px; }
.t3-fact-value { font-size: 16px; font-weight: 700;
  font-variant-numeric: tabular-nums; }
.t3-fact-label { color: var(--muted); font-size: 13px; }
.t3-need-h { font-size: 15px; margin: 22px 0 12px; }
.t3-privacy { display: flex; gap: 12px; align-items: flex-start;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hairline);
  font-size: 13.5px; color: var(--muted); }
.t3-privacy-icon { flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: #000; color: var(--gold); display: grid; place-items: center; }

.t3-fields { display: grid; gap: 16px; }
.t3-fields .field + .field { margin-top: 0; }
@media (min-width: 700px) {
  .t3-fields { grid-template-columns: 1fr 1fr; }
  .t3-fields .field.wide { grid-column: 1 / -1; }
}
.t3-rule { margin: 24px 0; }
.t3-docs-hint { margin: 4px 0 14px; }
.t3-docs { margin-top: 18px; }
.t3-err .banner { margin-top: 16px; }
.t3-actions .btn { min-height: 52px; font-size: 16px; }
@media (min-width: 700px) {
  .t3-actions .btn { width: auto; padding: 0 32px; }
}
.t3-kv { padding: 4px 0; gap: 16px; }
.t3-kv-v { font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* Review timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px;
  height: 20px; border-radius: 50%; background: #FFF;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .15);
}
.timeline li::after {
  content: ""; position: absolute; left: 9px; top: 26px; bottom: 2px;
  width: 2px; background: var(--hairline);
}
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--gold); box-shadow: none; }
.timeline li.done::after { background: var(--gold); }
.timeline li.current::before { box-shadow: inset 0 0 0 6px var(--gold); }
.timeline .t-title { font-weight: 600; }
.timeline .t-sub { color: var(--muted); font-size: 13.5px; }
.timeline li.upcoming .t-title { color: var(--faint); }

.quote { background: var(--subtle); border-radius: 16px; padding: 16px 18px;
  white-space: pre-wrap; overflow-wrap: anywhere; }
.quote-label { font-size: 12px; font-weight: 700; color: var(--gold-text);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }

/* File picker */
.doc-slot { border: 1px solid var(--hairline); border-radius: 16px;
  padding: 14px 16px; }
.doc-slot + .doc-slot { margin-top: 10px; }
.doc-slot-head { display: flex; align-items: center; justify-content:
  space-between; gap: 12px; }
.doc-slot-head .btn { flex: none; }
.doc-slot-title { font-weight: 600; font-size: 14.5px; }
.doc-slot-hint { color: var(--muted); font-size: 13px; }
.doc-slot-hint:empty { display: none; }
.doc-slot.invalid { border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0;
  pointer-events: none; }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list:not(:empty) { margin-top: 10px; }
.file-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  background: var(--subtle); border-radius: 12px; font-size: 13.5px; }
.file-item + .file-item { margin-top: 6px; }
.file-badge { flex: none; font-size: 11px; font-weight: 700;
  padding: 2px 6px; border-radius: 6px; background: var(--gold-tint);
  color: var(--gold-text); text-transform: uppercase; }
.file-name { flex: 1 1 auto; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.file-size { color: var(--muted); flex: none; }
.file-remove { flex: none; background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--red); font-weight: 600; padding: 4px 6px;
  border-radius: 8px; }

/* --------------------------------------------------------------- security */

.notif { display: flex; gap: 12px; padding: 14px 0; }
.notif + .notif { border-top: 1px solid var(--hairline); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 8px;
  flex: none; background: transparent; }
.notif.unseen .notif-dot { background: var(--gold-text); }
.notif-title { font-weight: 600; }
.notif.unseen .notif-title { font-weight: 700; }
.notif-body { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.tips h2 { font-size: 17px; margin-bottom: 14px; }
.tips .checklist li { font-size: 14px; }
.tips > p { margin-top: 18px; }

.phone-big { display: flex; gap: 10px; align-items: center; font-size: 20px;
  font-weight: 700; margin-bottom: 8px; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- statement */

.statement { border: 1px solid var(--hairline); border-radius: var(--card-r);
  padding: 28px; background: #FFF; }
.doc-head { display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; padding-bottom: 20px; border-bottom: 2px solid #000; }
.doc-brand { display: flex; gap: 14px; align-items: flex-start; }
.doc-company { font-weight: 700; font-size: 15px; max-width: 360px; }
.doc-title { text-align: right; }
.doc-period { font-size: 22px; font-weight: 700; }
.doc-meta { padding: 20px 0; }
.doc-totals { display: grid; grid-template-columns: repeat(auto-fit,
  minmax(160px, 1fr)); gap: 12px; margin-bottom: 24px; }
.total { background: var(--subtle); border-radius: 16px; padding: 14px 16px; }
.total-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.total-value { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.total.in .total-value { color: var(--green); }
.doc-table-wrap { overflow-x: auto; }
.doc-table th { position: static; }
.doc-table tfoot th, .doc-table tfoot td { font-weight: 700;
  border-top: 2px solid #000; padding: 12px 14px; text-transform: none;
  font-size: 13.5px; color: var(--text); letter-spacing: 0; }
.doc-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--hairline);
  font-size: 12.5px; color: var(--muted); }
.doc-foot p + p { margin-top: 6px; }
@media (max-width: 600px) {
  .statement { padding: 18px; }
  .doc-title { text-align: left; }
  .kv { grid-template-columns: minmax(100px, 40%) 1fr; }
}

/* ---------------------------------------------------------------- receipt */

.receipt-wrap { max-width: 480px; }
/* The ticket: three pieces with half-circle notches at the seams and a torn
   bottom edge (masks), lifted with a soft shadow — same as the app. */
.ticket { --notch: 10px; --tooth: 8px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .10)) drop-shadow(0 6px 14px rgba(0, 0, 0, .10)); }
.tk-seg { background: #FFF; position: relative; }
.tk-first { border-radius: 22px 22px 0 0; overflow: hidden;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat; }
.tk-mid {
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top left / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top right / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom left / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom right / 51% 51% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top left / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top right / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom left / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom right / 51% 51% no-repeat; }
.tk-last { padding-bottom: var(--tooth);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top left / 51% 24px no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top right / 51% 24px no-repeat,
    linear-gradient(#000 0 0) 0 24px / 100% calc(100% - 24px - var(--tooth) + 1px) no-repeat,
    conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / 17px var(--tooth) repeat-x;
  mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top left / 51% 24px no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top right / 51% 24px no-repeat,
    linear-gradient(#000 0 0) 0 24px / 100% calc(100% - 24px - var(--tooth) + 1px) no-repeat,
    conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / 17px var(--tooth) repeat-x; }
.ticket-band { background: #000; color: #FFF; display: flex; align-items: center;
  gap: 12px; padding: 18px 20px; }
.ticket-mark { width: 40px; height: 40px; object-fit: contain; flex: none; }
.ticket-name { font-weight: 700; letter-spacing: .2em; font-size: 15px; }
.ticket-kind { color: var(--gold); font-weight: 600; letter-spacing: .15em;
  font-size: 11px; text-transform: uppercase; margin-top: 2px; }
.ticket-no { margin-left: auto; color: rgba(255, 255, 255, .75); font-size: 12px;
  font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ticket-top { position: relative; padding: 22px 22px 20px; isolation: isolate; }
.ticket-top .eyebrow { color: var(--muted); letter-spacing: .1em; font-weight: 600; }
.guilloche { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  fill: none; stroke: rgba(255, 215, 0, .16); stroke-width: .7;
  vector-effect: non-scaling-stroke; }
.ticket-who { font-size: 22px; font-weight: 700; margin: 4px 0 16px;
  padding-right: 96px; overflow-wrap: anywhere; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ticket-amount { font-size: 38px; font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; margin-bottom: 10px; line-height: 1.1; }
.ticket-amount.out { color: var(--red); }
.seal { position: absolute; right: 14px; top: 14px; width: 92px; height: 92px;
  transform: rotate(-12.6deg); stroke: rgba(138, 110, 0, .85);
  fill: var(--gold-text); color: var(--gold-text); }
.seal text { stroke: none; fill: var(--gold-text); }
.seal g { stroke: var(--gold-text); }
.ticket-cut { height: 0; border-top: 1.5px dashed var(--hairline); margin: 0 22px; }
.ticket-body { padding: 10px 22px 12px; }
.ticket-body .kv { grid-template-columns: minmax(96px, 40%) 1fr; row-gap: 0; }
.ticket-body .kv dt, .ticket-body .kv dd { padding: 9px 0; margin: 0; }
.ticket-body .kv dt { text-transform: uppercase; font-size: 11px;
  letter-spacing: .07em; color: var(--muted); }
.ticket-body .kv dd { text-align: right; font-weight: 600; font-size: 14px; }
.ticket-ref { font-variant-numeric: tabular-nums; letter-spacing: .03em;
  white-space: nowrap; }
.ticket-foot { padding: 14px 22px 26px; }
.ticket-verify { display: flex; align-items: center; gap: 14px; }
.ticket-verify .grow { flex: 1; min-width: 0; }
.ticket-verify p { margin: 6px 0 0; }
.ticket-qr { padding: 6px; border: 1px solid var(--hairline); border-radius: 10px;
  line-height: 0; flex: none; }
.verified { display: flex; align-items: center; gap: 6px; font-weight: 700;
  font-size: 16px; }
.verified .icon { color: var(--gold-text); }
.ticket-legal { margin: 22px 0 0; font-size: 11px; color: var(--faint);
  text-align: center; line-height: 1.5; }

.qr-card h2 { margin-bottom: 4px; }
.qr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.qr-actions .btn { gap: 8px; }
.qr-status { margin: 12px 0 0; min-height: 1em; }
.qr-status:empty { display: none; }
.qr-stage { position: relative; margin-top: 16px; border-radius: 16px;
  overflow: hidden; background: #000; aspect-ratio: 1 / 1; max-width: 360px; }
.qr-stage[hidden] { display: none; }
.qr-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.qr-frame { position: absolute; inset: 18%; border: 3px solid var(--gold);
  border-radius: 18px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .35); }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--faint);
  font-size: 13px; margin: 4px 0; }
.or-line::before, .or-line::after { content: ""; flex: 1;
  border-top: 1px solid var(--hairline); }
.verify-result.ok .status-icon { background: var(--gold); color: #000; }
.verify-result.no .status-icon { background: var(--red-tint); color: var(--red); }
.verify-result h2 { margin-bottom: 2px; }

/* ------------------------------------------------------------------ misc */

.kv dd { font-weight: 500; }
.toasts { bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .toasts { bottom: 24px; } }

@media (prefers-reduced-motion: reduce) {
  .sidebar { transition: none; }
}

/* ================================================================ refresh
   A warm, quiet canvas with white cards floating on it; type and spacing do
   the work instead of icons. */

:root { --canvas: #F6F5F1; --ink-2: #3D3D3D; --stone: #EFEDE6; }
body:not(.signed-out) { background: var(--canvas); }

.card {
  background: #FFF; border-color: rgba(0, 0, 0, .05);
  box-shadow: 0 1px 2px rgba(16, 16, 16, .04), 0 10px 28px -16px rgba(16, 16, 16, .10);
}
.page-head h1 { letter-spacing: -.025em; font-weight: 700; }
.page-head-text p { color: var(--muted); }

/* Sidebar sits on the canvas; the active page is a lifted white pill. */
.sidebar { background: var(--canvas); border-right: 0; }
@media (max-width: 959px) { .sidebar { background: #FFF; } }
.nav-link { color: var(--ink-2); }
.nav-link:hover { background: rgba(0, 0, 0, .04); color: var(--text); }
.nav-link.active { background: #FFF; color: var(--text); font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 14px -8px rgba(0, 0, 0, .14); }
.nav-link.active .icon { color: var(--gold-text); }
.sidebar-foot { border-top-color: rgba(0, 0, 0, .06); }
.mtop { background: rgba(246, 245, 241, .88); border-bottom-color: transparent;
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.tabbar { background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.tab.active .icon { background: var(--gold-tint); color: var(--text); }

/* Sign-in hero: a plain list, no check bubbles. */
.auth-checks { max-width: 380px; }
.auth-checks li { display: block; padding: 13px 0; font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, .2); }
.auth-checks li + li { margin-top: 0; }
.idle-note { margin-bottom: 20px; justify-content: flex-start; line-height: 1.45; }

/* Status: a quiet beacon dot instead of letters in black circles. */
.status-icon { width: 14px; height: 14px; margin: 6px auto 24px; font-size: 0;
  color: transparent; background: var(--gold-text);
  box-shadow: 0 0 0 7px var(--gold-tint); }
.status-icon > * { display: none; }
.status-icon.sm { width: 12px; height: 12px; margin: 0 10px 0 6px; }
.status-brand { display: block; margin: 0 auto 18px; }
.t3-status.ok .status-icon, .verify-result.ok .status-icon {
  background: var(--green); box-shadow: 0 0 0 7px var(--green-tint); }
.t3-status.wait .status-icon { background: var(--gold);
  box-shadow: 0 0 0 7px var(--gold-tint); }
.t3-status.no .status-icon, .verify-result.no .status-icon {
  background: var(--red); box-shadow: 0 0 0 7px var(--red-tint); }

/* ------------------------------------------------------------ tier card */

.limits-box { container-type: inline-size; }
.limits-wrap { display: grid; gap: 24px; }
.usage .small { white-space: nowrap; }
.limits-card { max-width: 400px; width: 100%; perspective: 1000px; }
.limits-side { min-width: 0; }
.limits-per { margin: 2px 0 12px; }
@container (min-width: 700px) {
  .limits-wrap { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    align-items: center; gap: 36px; }
}

.tcard {
  position: relative; aspect-ratio: 1.586; border-radius: 20px; overflow: hidden;
  container-type: inline-size; color: #0A0A0A; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10), 0 1px 3px rgba(0, 0, 0, .06);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.tcard.lit { transition: transform .1s linear, box-shadow .3s;
  box-shadow: 0 20px 38px -6px rgba(0, 0, 0, .16), 0 2px 4px rgba(0, 0, 0, .06); }
.tcard-t0, .tcard-t1 { background: linear-gradient(135deg, #FFFFFF, #E9E9EC); }
.tcard-t2 { background: linear-gradient(135deg, #FFF8DC, #F3D77A); }
.tcard-t3 { background: linear-gradient(135deg, #F4F6F8, #DDE1E6); }
.tcard-pattern { position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke-width: .8; z-index: -1; }
.tcard-t0 .tcard-pattern, .tcard-t1 .tcard-pattern { stroke: rgba(0, 0, 0, .08); }
.tcard-t2 .tcard-pattern { stroke: rgba(184, 134, 11, .25); }
.tcard-t3 .tcard-pattern { stroke: rgba(184, 134, 11, .20); }
.tcard-sheen { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%); }
.tcard-sheen::after { content: ""; position: absolute; inset: 0; opacity: 0;
  transition: opacity .4s;
  background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%),
    rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 46%); }
.tcard.lit .tcard-sheen::after { opacity: 1; }
.tcard-body { position: absolute; inset: 0; padding: 5.5cqw 6cqw;
  display: flex; flex-direction: column; }
.tcard-top { display: flex; align-items: center; gap: 2.4cqw; }
.tcard-logo { width: 12cqw; height: 12cqw; object-fit: contain; margin: -2cqw -1.4cqw -2cqw -1.6cqw; }
.tcard-brand { font-size: 5.2cqw; font-weight: 700; letter-spacing: -.01em; }
.tcard-tier { margin-left: auto; display: flex; flex-direction: column;
  align-items: flex-end; line-height: 1.3; }
.tcard-tier-n { font-size: 3.35cqw; font-weight: 700; letter-spacing: .13em; }
.tcard-tier-name { font-size: 3cqw; font-weight: 600; letter-spacing: .11em;
  color: var(--ink-2); }
.tcard-mid { margin: auto 0; display: flex; align-items: center; gap: 3cqw; }
.tcard-chip { width: 12cqw; height: 9cqw; border-radius: 1.8cqw;
  background: linear-gradient(135deg, #FFE680, #D4A520);
  box-shadow: inset 0 0 0 .6px rgba(0, 0, 0, .22);
  fill: none; stroke: rgba(0, 0, 0, .26); stroke-width: .8; }
.tcard-wave { width: 6.7cqw; height: 6.7cqw; fill: none; stroke: var(--ink-2);
  stroke-width: 1.6; stroke-linecap: round; }
.tcard-label { font-size: 2.9cqw; font-weight: 600; letter-spacing: .12em;
  color: var(--ink-2); }
.tcard-amount { font-size: 7.9cqw; font-weight: 700; letter-spacing: .01em;
  font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; }
.tcard-bottom { display: flex; align-items: flex-end; gap: 2.4cqw; margin-top: 1.8cqw; }
.tcard-holder { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-size: 3.65cqw; font-weight: 600; letter-spacing: .13em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.tcard-per { font-size: 3.2cqw; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .tcard { transition: none; } }

/* ------------------------------------------------------- home side cards */

.side-card { padding: 20px 22px 6px; }
.side-h { font-size: 15px; margin-bottom: 2px; }
.attention { gap: 0; }
.attention-item { position: relative; background: none; border-radius: 0;
  padding: 14px 0 14px 20px; }
.attention li + li .attention-item { border-top: 1px solid var(--hairline); }
.attention-item::before { content: ""; position: absolute; left: 1px; top: 21px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-tint); }
.attention-item:hover { background: none; }
.attention-item:hover .att-title { color: var(--gold-text); }
.attention-item .icon { color: var(--faint); flex: none; }
.all-good { display: block; padding: 8px 0 16px; color: var(--muted); font-size: 14px; }
.quick-links { display: block; list-style: none; margin: 0; padding: 0; }
.quick { border: 0; border-radius: 0; padding: 13px 0; justify-content: space-between;
  font-weight: 500; font-size: 14.5px; }
.quick-links li + li .quick { border-top: 1px solid var(--hairline); }
.quick:hover { background: none; color: var(--gold-text); }
.quick .icon { color: var(--faint); }

/* People are initials; accounts and devices are short text badges. */
.tx-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid;
  place-items: center; flex: none; font-size: 13.5px; font-weight: 700;
  letter-spacing: .02em; background: var(--stone); color: var(--ink-2); }
.tx-avatar.in { background: #FFF4C2; color: var(--gold-text); }
.acct-badge { min-width: 46px; height: 32px; padding: 0 8px; border-radius: 9px;
  display: inline-grid; place-items: center; flex: none; font-size: 11px;
  font-weight: 800; letter-spacing: .07em; background: var(--stone); color: #2A2A2A; }
.acct-badge.acct-card { background: #0A0A0A; color: var(--gold); }
.explain { background: #FFF; border: 1px solid rgba(0, 0, 0, .05); }

/* "Approve on your phone": a small phone with a pulse, not an icon. */
.phone-glyph { display: block; width: 44px; height: 72px; border-radius: 12px;
  background: #0A0A0A; padding: 4px; margin: 4px auto 6px; }
.phone-screen { display: block; position: relative; width: 100%; height: 100%;
  border-radius: 8px; background: linear-gradient(160deg, #2C2C2C, #111); }
.phone-screen::after { content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 12px; margin: -6px; border-radius: 50%;
  background: var(--gold); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse {
  from { box-shadow: 0 0 0 0 rgba(255, 215, 0, .55); }
  to { box-shadow: 0 0 0 14px rgba(255, 215, 0, 0); }
}
@media (prefers-reduced-motion: reduce) { .phone-screen::after { animation: none; } }

/* Auto sign-out warning with a draining ring. */
.idle-dialog { width: min(92vw, 400px); text-align: center; }
.idle-dialog .dialog-body { align-items: center; }
.idle-dialog .dialog-actions { align-self: stretch; justify-content: center; }
.idle-ring { width: 64px; height: 64px; border-radius: 50%; display: grid;
  place-items: center; transition: background .9s linear;
  background: conic-gradient(var(--gold) calc(var(--left, 1) * 360deg), var(--stone) 0); }
.idle-ring-fill { width: 52px; height: 52px; border-radius: 50%; background: #FFF; }

/* ----------------------------------------------------------------- print */

@media print {
  @page { margin: 14mm; }
  body, body:not(.signed-out) { background: #FFF; font-size: 12px; }
  .card { box-shadow: none; }
  .sidebar, .mtop, .tabbar, .scrim, .skip-link, .no-print, .toasts,
  .page-head-actions, .page-head p { display: none !important; }
  .main-col { margin: 0 !important; }
  .content { padding: 0 !important; max-width: none; }
  .page-head { display: none; }
  .statement { border: 0; padding: 0; }
  .receipt-wrap { max-width: 420px; margin: 0 auto; }
  .ticket-band, .brand-mark, .ticket-mark, .total, .pill, .seal, .tk-seg,
  .bar > span { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .doc-table tr { break-inside: avoid; }
  a { text-decoration: none; color: inherit; }
}
