@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/static/fonts/Poppins-Regular.woff2?v=2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/static/fonts/Poppins-Medium.woff2?v=2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/static/fonts/Poppins-SemiBold.woff2?v=2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/static/fonts/Poppins-Bold.woff2?v=2") format("woff2"); }

:root {
  --ink: #0b0b0c;
  --muted: #6e6e73;
  --canvas: #f5f5f7;
  --card: #fff;
  --line: #e5e5ea;
  --line-strong: #d1d1d6;
  --success: #34c759;
  --success-ink: #1e8e3e;
  --success-soft: #e3f8e8;
  --danger: #d70015;
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
/* En el iPhone dos toques seguidos agrandan la pantalla; en una caja eso estorba. */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--card);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
header h1 { margin: 0; font-size: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; letter-spacing: -0.01em; }
.brand img { display: block; }
.mode-pill {
  padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: 0;
  white-space: nowrap; max-width: 46vw; overflow: hidden; text-overflow: ellipsis;
  background: #111; color: #fff;
}
.mode-pill.helper { background: #fff1d6; color: #8a4b00; border: 1px solid #f3c77a; }
.status { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 500;
}
.pill.ok { background: var(--success-soft); color: var(--success-ink); border-color: transparent; }
.pill.bad { background: #fde7e9; color: var(--danger); border-color: transparent; }
main { max-width: 980px; margin: 0 auto; padding: 20px; display: grid; gap: 16px; }
#app-shell, .panel { display: grid; gap: 16px; min-width: 0; }
main > *, .panel > * { min-width: 0; }
.tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px;
  background: rgba(245, 245, 247, 0.94);
  backdrop-filter: blur(8px);
}
.tab {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 500;
}
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.card { background: var(--card); border-radius: var(--radius); padding: 18px 22px; border: 1px solid var(--line); }
.card h2 { margin: 0 0 12px; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.controls { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
button {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font: 500 0.95rem "Poppins", system-ui, sans-serif;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
button:hover:not(:disabled) { opacity: 0.88; }
button:disabled { background: #b8b8bd; cursor: default; }
.hero-title { margin: 4px 0 6px; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; }
.hero-sub { margin: 0 0 22px; color: var(--muted); font-size: 1.05rem; }
.report-total { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); margin: 8px 0; }
.report-compare { margin: -2px 0 14px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.report-compare.up { color: var(--success); }
.report-compare.down { color: var(--danger, #c0392b); }
.report-compare.hidden { display: none; }
.qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.qr-card { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--card); }
.qr-card h3 { margin: 0 0 8px; }
.qr-card img { width: 220px; height: 220px; }
#qr-amount { margin-left: 8px; padding: 8px; font: inherit; border: 1px solid var(--line-strong); border-radius: 10px; }
a.button-link {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.account { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.account .name { font-size: 0.9rem; color: var(--muted); }
.account .total { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.account .count { font-size: 0.8rem; color: var(--muted); }
button.account { display: block; width: 100%; text-align: left; font: inherit; background: var(--card); cursor: pointer; }
button.account.active { border-color: var(--success); box-shadow: 0 0 0 2px var(--success-soft, rgba(52, 199, 89, .25)); }
.account .share { height: 6px; margin-top: 8px; border-radius: 3px; background: var(--success); }
.empty { color: var(--muted); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
th { color: var(--muted); font-weight: 500; font-size: 0.82rem; }
td.in { color: var(--success-ink); font-weight: 700; }
td.out { color: var(--danger); font-weight: 700; }
tr.fresh { animation: flash 2.5s ease-out; }
@keyframes flash { from { background: var(--success-soft); } to { background: transparent; } }
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 0.78rem; background: var(--canvas); margin-right: 4px; }
.badge.both { background: var(--success-soft); color: var(--success-ink); }
.tx-when { font-weight: 700; color: var(--success-ink); }
.tx-bank { color: var(--muted); }
.tx-collector { display: block; color: var(--ink); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.hc-form { max-width: 420px; margin: 12px auto 0; display: grid; gap: 8px; text-align: left; }
.tx-release { display: block; margin-left: auto; padding: 2px 0; font-size: .78rem; color: #b42318; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.home-paid [data-release] { margin-top: 12px; }
.tx-assign { display: block; margin-left: auto; padding: 2px 0; font-size: .8rem; color: #1d5fd1; text-decoration: underline; text-underline-offset: 2px; }
.tx-assign-select { display: block; margin: 4px 0 0 auto; max-width: 100%; padding: 4px 6px; font: inherit; font-size: .85rem; border: 1px solid var(--line-strong); border-radius: 8px; }
.hc-form .hc-title { font-weight: 700; }
.hc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.hc-form .hc-amount { min-width: 0; font-size: 1.3rem; font-weight: 700; padding: 10px 12px; }
.hc-row button { white-space: nowrap; padding-inline: 16px; }
.hc-form .hc-msg { margin: 0; }
.hc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hc-unclaimed { max-width: 420px; margin: 16px auto 0; text-align: left; }
.hc-unclaimed h3 { margin: 0 0 2px; font-size: 1rem; }
.hc-unclaimed p { margin: 0 0 8px; font-size: .82rem; }
.hc-unclaimed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hc-unclaimed li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #fff7e6; border: 1px solid #f5d79e; }
.hc-unclaimed li small { display: block; color: var(--muted); }
.hc-list li small { color: var(--muted); }
.hc-history { max-width: 420px; margin: 12px auto 0; text-align: left; }
.hc-history summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.hc-history.hidden { display: none; }
.hc-history ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.hc-history li { padding: 6px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: .9rem; }
.hc-history li small { display: block; color: var(--muted); }
.hc-history li.hc-paid small { color: var(--success); }
.hc-history li.hc-expired small { color: var(--danger); }
.helpers-inactive { margin: 14px 0; }
.helpers-inactive summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.helpers-inactive.hidden { display: none; }
.hc-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
textarea { width: 100%; margin: 10px 0; padding: 8px; font: inherit; border: 1px solid var(--line-strong); border-radius: 10px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
select, input[type="email"], input[type="password"] { padding: 8px; font: inherit; border: 1px solid var(--line-strong); border-radius: 10px; }
input, select, textarea { font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
input[type="email"], input[type="password"] { min-width: 240px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ink); }
button.secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); }
button.danger { background: var(--danger); }
button.small { padding: 5px 8px; font-size: 0.8rem; margin: 2px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.form-grid > label { display: grid; gap: 5px; align-content: start; }
.form-grid textarea { margin: 0; }
.form-grid input:not([type="checkbox"]), .form-grid select {
  width: 100%;
  min-width: 0;
  padding: 8px;
  font: inherit;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}
.form-grid fieldset { border: 1px solid var(--line); border-radius: 12px; }
.check-grid { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.admin-tabs { position: static; padding-left: 0; }
.admin-panel { overflow-x: auto; }
.test-result { margin-top: 16px; padding: 14px; border-radius: 12px; background: var(--canvas); }
.test-result pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.section-heading h2, .section-heading h3 { margin: 0 0 6px; }
.section-heading .hint { max-width: 680px; }
.eyebrow { display: block; margin-bottom: 6px; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .08em; }
.email-preview { margin: 12px 0 20px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); }
.email-preview .pill { flex: 0 0 auto; background: var(--ink); color: #fff; border-color: var(--ink); }
.email-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 12px 0; }
.email-facts > div { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.email-facts dt { margin-bottom: 4px; color: var(--muted); font-size: .8rem; }
.email-facts dd { margin: 0; overflow-wrap: anywhere; }
.email-content-details { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.email-content-details summary, .advanced-template summary { cursor: pointer; font-weight: 600; }
.email-body { max-height: 360px; overflow: auto; margin: 10px 0 0; padding: 12px; border-radius: 10px; background: var(--canvas); color: var(--ink); font: .86rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.template-step { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.template-step legend { padding: 0 6px; font-weight: 600; }
.template-step .form-grid { margin: 4px 0 10px; }
.template-step .hint { margin: 8px 0 0; font-size: .88rem; }
.template-wide { grid-column: 1 / -1; }
.form-grid input[type="radio"] { width: auto; }
#wompi-form .check-label { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.template-step .check-label { display: flex; align-items: center; gap: 8px; align-self: end; min-height: 40px; }
.template-safety-row label { display: grid; gap: 5px; }
.template-safety-row .check-label { display: flex; align-items: center; gap: 8px; align-self: end; min-height: 40px; }
.template-actions { margin-top: 2px; }
.advanced-template { padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.advanced-template-fields { margin: 14px 0 0; }
.advanced-template textarea { width: 100%; }
.check-ok { color: var(--success-ink); padding: 3px 0; }
.check-bad { color: var(--danger); padding: 3px 0; }
.status-confirmed { background: var(--success-soft); color: var(--success-ink); }
.status-review, .status-unrecognized { background: #fff4d6; color: #7a5400; }
.status-rejected { background: #fde7e9; color: var(--danger); }
.google-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  color: #3c4043;
  border: 1px solid #dadce0;
  font-weight: 600;
}
.google-button:hover { background: #f8fafd; }
.google-button svg { width: 20px; height: 20px; }
.hidden { display: none !important; }
.banner { background: var(--ink); color: #fff; border-color: var(--ink); }
.hint { color: var(--muted); margin: 0 0 12px; }
.row + .hint { margin-top: 12px; }
.muted { color: var(--muted); font-weight: 400; font-size: 0.9rem; }
.token-box {
  display: block;
  flex: 1;
  min-width: 220px;
  padding: 10px 12px;
  background: var(--canvas);
  border: 1px dashed var(--ink);
  border-radius: 10px;
  font-size: 0.95rem;
  word-break: break-all;
}
.msg { color: var(--muted); }
.msg.error { color: var(--danger); }
.controls label { display: flex; gap: 6px; align-items: center; }

@media (max-width: 640px) {
  .section-heading { flex-direction: column; }
  .section-heading > button { width: 100%; }
  .template-actions button { flex: 1 1 100%; }
}

.report-range { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.report-range label { display: grid; gap: 5px; color: var(--muted); font-size: .85rem; }
.report-range :is(input, select) { padding: 8px 10px; font: inherit; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; font-size: .85rem; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.report-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0; }
.report-stats > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.report-stats dt { color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.report-stats dd { margin: 0; font-size: 1.15rem; font-weight: 600; }
.report-stats > div.hidden { display: none; }
.mov-totals { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 8px 0 14px; }
.report-day { display: grid; gap: 5px; margin-bottom: 12px; color: var(--muted); font-size: .85rem; }
.report-day input { padding: 8px 10px; font: inherit; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; max-width: 220px; }
.report-day-row { cursor: pointer; }
.report-day-row:hover td { background: var(--canvas); }
body.is-helper .report-day-row { cursor: default; }
.day-banks { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; color: var(--muted); font-size: .78rem; }
.day-banks strong { color: var(--ink); font-weight: 600; }
.bar-col { width: 35%; }
.bar { display: block; height: 8px; border-radius: 6px; background: var(--success); }
.row.center { justify-content: center; }
.credit-card { background: var(--ink); color: #fff; border-color: var(--ink); }
.credit-card .eyebrow, .credit-card .hint { color: #b8b8bd; }
.credit-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.credit-balance { margin: 4px 0 0; font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.credit-balance small { font-size: 1rem; font-weight: 500; color: #b8b8bd; letter-spacing: 0; }
.credit-stats { display: flex; gap: 10px; margin: 0; }
.credit-stats > div { min-width: 92px; padding: 10px 14px; border: 1px solid #2c2c2e; border-radius: 12px; }
.credit-stats dt { color: #b8b8bd; font-size: .78rem; margin-bottom: 2px; }
.credit-stats dd { margin: 0; font-size: 1.15rem; font-weight: 600; }
.credit-meter { height: 8px; margin: 16px 0 4px; border-radius: 6px; background: #2c2c2e; overflow: hidden; }
.credit-meter span { display: block; height: 100%; border-radius: 6px; background: var(--success); transition: width .4s; }
.credit-card.low .credit-meter span { background: #ff6b6b; }
.credit-card.low #credit-balance { color: #ff6b6b; }
.credit-card .secondary { background: #fff; color: var(--ink); border-color: #fff; }
.credit-card input { background: #1c1c1e; color: #fff; border-color: #3a3a3c; }
.credit-card .chip { background: transparent; color: #fff; border-color: #3a3a3c; }
.credit-card .chip.active { background: #fff; color: var(--ink); border-color: #fff; }
.credit-buy { margin-top: 16px; padding-top: 16px; border-top: 1px solid #2c2c2e; }
.credit-buy-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.credit-buy-row label { display: grid; gap: 6px; color: #b8b8bd; font-size: .85rem; }
.credit-buy-row input { width: 180px; font-size: 1.1rem; }
.credit-price { margin: 0; font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; }
.credit-price small { display: block; font-size: .8rem; font-weight: 400; color: #b8b8bd; letter-spacing: 0; text-align: right; }
.credit-buy .chips { margin: 10px 0 12px; }
.credit-buy-title { margin: 0 0 10px; font-weight: 600; }
.buy-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); align-items: center; gap: 8px; margin: 14px 0 12px; }
.buy-package em { font-style: normal; font-size: .75rem; font-weight: 600; color: #b8b8bd; text-transform: uppercase; letter-spacing: .04em; }
.buy-package.active em { color: #3a3a3c; }
.buy-package.featured { padding: 22px 12px 18px; border: 2px solid var(--success); }
.buy-package.featured strong { font-size: 1.6rem; }
.buy-package { position: relative; display: grid; gap: 2px; justify-items: start; text-align: left; padding: 14px 12px 12px;
  background: transparent; color: #fff; border: 1px solid #3a3a3c; border-radius: 14px; }
.buy-package strong { font-size: 1.35rem; letter-spacing: -0.02em; }
.buy-package span { font-weight: 600; }
.buy-package small { color: #b8b8bd; font-size: .78rem; }
.buy-package.active { background: #fff; color: var(--ink); border-color: #fff; }
.buy-package.featured.active { border-color: var(--success); }
.buy-package.active small { color: #3a3a3c; }
.buy-tag { position: absolute; top: -9px; right: 10px; padding: 1px 8px; border-radius: 999px;
  background: var(--success); color: #fff; font-size: .7rem; font-weight: 700; }
.buy-package .buy-tag { font-weight: 700; }
#buy-usage { margin: 0 0 12px; }
.pay-method-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 10px; }
.pay-method-head .link-button { color: var(--success); font-weight: 600; text-decoration: underline; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #3a3a3c; border-radius: 14px; }
.pay-method-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #f2f2f7; color: #200020; font-weight: 800; font-size: 1.05rem; }
.pay-method-icon.card { font-size: .7rem; letter-spacing: .02em; }
.pay-method strong { display: block; font-size: 1.05rem; letter-spacing: .04em; }
.pay-method small { color: #b8b8bd; }
.buy-continue { width: 100%; margin-top: 14px; padding: 15px; border-radius: 999px; background: var(--success); color: #0b0b0c; font-size: 1.05rem; font-weight: 700; }
.pay-choices { display: grid; gap: 14px; }
.pay-choices h4 { margin: 0 0 6px; }
.card-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card-form input { width: 100%; }
.card-form .wide { grid-column: 1 / -1; }
.nequi-box .hint a { color: inherit; }
.referral-box .referral-url { display: block; margin: 0 0 10px; padding: 8px 10px; border-radius: 8px;
  background: #1c1c1e; color: #fff; font-size: .85rem; word-break: break-all; }
.referral-box .hint { margin: 10px 0 0; }
.pricing-tiers { display: grid; gap: 10px; }
.pricing-tier { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; align-items: end; }
.pricing-tier small { grid-column: 1 / -1; color: var(--muted); }
.nequi-box { margin-top: 16px; padding: 14px 16px; border: 1px solid #2c2c2e; border-radius: 12px; }
.nequi-box p { margin: 0 0 10px; color: #d1d1d6; }
.nequi-box strong { color: #fff; }
.nequi-box .nequi-note { color: #ff6b6b; }
.nequi-box #nequi-phone { width: 230px; }
.nequi-auto-note { margin: 0 0 12px; color: #d1d1d6; }
.section-gap { margin-top: 28px; }
.forward-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.forward-head h2 { margin: 0 0 6px; font-size: 1.25rem; }
.mail-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.mail-option {
  display: grid; gap: 2px; padding: 14px 12px; border-radius: 14px; text-align: left;
  background: var(--card); color: var(--ink); border: 1.5px solid var(--line);
}
.mail-option.active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.mail-option strong { font-size: 1rem; }
.mail-option small { color: var(--muted); font-size: .8rem; font-weight: 500; }
.mail-option small.ok { color: var(--success-ink); }
.mail-pane { display: grid; gap: 12px; }
.mail-pane.hidden { display: none; }
.mail-pane > .pill { justify-self: start; white-space: normal; }
.mail-pane > .msg:empty { display: none; }
#microsoft-login.secondary { justify-self: center; width: auto; border: 0; background: none; color: var(--danger); }
.install-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; line-height: 1.45; }
.install-steps li::marker { font-weight: 700; color: var(--muted); }
.install-alt { display: grid; gap: 6px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.install-alt .hint { margin: 0; }
.install-title { margin: 0; font-size: 1.1rem; }
#install-card .mail-pane > .hint { margin: 0; }
.install-warn { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: #fff4e5; border: 1px solid #ffd8a8; }
.install-warn.hidden { display: none; }
.install-warn .hint { margin: 0; }
#install-card a.button-link { display: block; text-align: center; }
#install-card a.button-link.secondary { padding: 13px; border-radius: 12px; background: var(--card); color: var(--ink); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.install-done { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--success-soft); color: var(--success-ink); font-weight: 600; }
.install-done.hidden { display: none; }
#install-card a.big-action { text-align: center; }
.ios-share { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: #0a84ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.install-banner { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.install-banner.hidden { display: none; }
.install-banner img { flex: none; border-radius: 11px; }
.install-banner span { flex: 1; min-width: 0; }
.install-banner strong { display: block; font-size: .95rem; }
.install-banner small { display: block; color: var(--muted); font-size: .8rem; }
.install-banner button { flex: none; padding: 9px 14px; border-radius: 999px; font-size: .9rem; }
.recharge-banner { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--danger); }
.recharge-banner.hidden { display: none; }
.recharge-banner span { flex: 1; min-width: 0; }
.recharge-banner strong { display: block; font-size: .95rem; }
.recharge-banner small { display: block; color: var(--muted); font-size: .8rem; }
.recharge-banner button, .recharge-banner .recharge-cta { flex: none; padding: 9px 14px; border-radius: 999px; font-size: .9rem; }
button.recharge-banner { width: 100%; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.recharge-banner strong { color: var(--danger); }
.recharge-banner .recharge-cta { background: var(--danger); color: #fff; font-weight: 600; }
.install-banner .install-x { padding: 6px 8px; background: none; color: var(--muted); border: 0; }
@media (max-width: 420px) {
  .install-banner { display: grid; grid-template-columns: 44px 1fr auto; }
  .install-banner.hidden { display: none; }
  .install-banner #home-install-open { grid-column: 1 / -1; grid-row: 2; padding: 11px; border-radius: 12px; }
}
.mail-start { display: grid; gap: 4px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.mail-start.hidden { display: none; }
.mail-start small { color: var(--muted); }
.mail-start-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mail-start-buttons button { padding: 13px 10px; border-radius: 12px; }
.forward-card summary { cursor: pointer; font-weight: 600; margin: 4px 0 8px; }
.forward-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: fwd; }
.forward-steps li { position: relative; padding: 14px 16px 14px 56px; border: 1px solid var(--line); border-radius: 12px; counter-increment: fwd; }
.forward-steps li::before {
  content: counter(fwd); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600;
}
.forward-steps li.done { border-color: var(--success); background: var(--success-soft); }
.forward-steps li.done::before { content: "✓"; background: var(--success); }
.forward-steps strong { display: block; margin-bottom: 8px; }
.forward-steps .hint { margin: 8px 0; font-size: .9rem; }
.forward-steps .hint.ok, .msg.ok { color: var(--success-ink); font-weight: 600; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.copy-row code, #fwd-code { padding: 8px 10px; border-radius: 8px; background: var(--canvas); border: 1px solid var(--line); font-size: .9rem; word-break: break-all; }
.forward-card.done #forward-steps:not([open]) { margin-bottom: 0; }
.fwd-recent { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; }
.fwd-recent li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.fwd-recent li:first-child { border-top: 0; }
.fwd-recent li span { grid-column: 1; color: var(--muted); font-size: .85rem; }
.fwd-recent li time { grid-row: 1; grid-column: 2; color: var(--muted); font-size: .8rem; }
.fwd-recent li.ok strong { color: var(--success-ink); }
.fwd-recent li.empty { display: block; color: var(--muted); }
.fwd-checklist { list-style: none; counter-reset: fwd; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.fwd-checklist > li { counter-increment: fwd; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .2s, background .2s; }
.fwd-checklist > li.current { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.fwd-checklist > li.done { border-color: var(--success); background: #f1fbf3; }
.fwd-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--line); color: var(--ink); font-weight: 700; }
.fwd-num::before { content: counter(fwd); }
.fwd-checklist > li.current .fwd-num { background: var(--ink); color: #fff; }
.fwd-checklist > li.done .fwd-num { background: var(--success); color: #fff; }
.fwd-checklist > li.done .fwd-num::before { content: "✓"; }
.fwd-item { min-width: 0; }
.fwd-item h3 { margin: 5px 0 10px; font-size: 1.05rem; }
.fwd-item .gmail-mock { margin: 12px 0; }
.fwd-item .tip { margin: 10px 0 0; }
.fwd-item .copy-row code { flex: 1 1 100%; font-size: .82rem; }
.fwd-address-code { font-size: 1.05rem !important; font-weight: 600; }
.fwd-copy-wide { display: block; width: 100%; margin-top: 10px; }
#fwd-all-done { padding: 12px 14px; border-radius: 14px; background: #f1fbf3; border: 1px solid var(--success); }
.big-action { display: block; width: 100%; padding: 16px; font-size: 1.05rem; border-radius: 14px; }
.mini-steps { margin: 14px 0; padding-left: 22px; display: grid; gap: 8px; }
.mini-steps li { line-height: 1.4; }
.tip { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fff7e0; border: 1px solid #f1d98a; font-size: .9rem; }
.waiting { color: var(--muted); font-size: .9rem; }
.waiting::before {
  content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%;
  background: var(--success); vertical-align: middle; animation: wait-pulse 1.2s ease-in-out infinite;
}
@keyframes wait-pulse { 50% { opacity: .25; } }
.fwd-address-big { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--canvas); border: 1px dashed var(--line); }
.fwd-address-big span { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 2px; }
.fwd-address-big code { font-size: 1.15rem; font-weight: 600; word-break: break-all; background: none; border: 0; padding: 0; }
.gmail-mock { margin: 14px 0; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-family: Roboto, Arial, sans-serif; }
.gmail-mock p { margin: 10px 0 6px; font-size: .9rem; color: var(--muted); }
.gmail-mock p:first-child { margin-top: 0; }
.gm-link { color: #0b57d0; font-weight: 500; text-decoration: underline; }
.gm-button { display: inline-block; padding: 6px 16px; border-radius: 18px; border: 1px solid #747775; color: #0b57d0; font-weight: 500; font-size: .9rem; }
.gm-button.blue { background: #0b57d0; border-color: #0b57d0; color: #fff; }
.gm-arrow { color: var(--muted); margin: 0 2px; }
.gm-check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; flex-wrap: wrap; }
.gm-box { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 3px; background: #0b57d0; color: #fff; font-size: .75rem; }
.wizard-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.fwd-done { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fwd-done .hint { margin: 2px 0 0; }
.fwd-done .check-badge { flex: none; width: 44px; height: 44px; margin: 0; font-size: 1.4rem; background: var(--success); color: #fff; }
.fwd-intro { margin: 4px 0 14px; }
.fwd-intro p { margin: 0 0 8px; }
.fwd-video { margin-top: 10px; }
.fwd-video iframe, .fwd-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.sheet:has(#sheet-body > #forward-card) { width: min(640px, 100%); }
.sheet-body .fwd-video.embed { margin: 12px -16px 4px; }
.sheet-body .fwd-video.embed :is(iframe, video) { border-radius: 0; }
.fwd-video-open { display: inline-block; margin: 6px 0 0; font-size: .9rem; }
.sheet-body .fwd-video.embed .fwd-video-open { margin-left: 16px; }
.fwd-senders { margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: var(--canvas); border: 1px solid var(--line); }
.fwd-senders p { margin: 0 0 8px; font-size: .9rem; }
.fwd-senders ol { margin: 10px 0 0; padding-left: 20px; }
.fwd-senders li { margin: 4px 0; }
.profile-form { display: grid; gap: 12px; margin-top: 12px; }
.profile-form label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.profile-form input { width: 100%; }
.fwd-steps { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 16px; }
.fwd-step { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .2s, box-shadow .2s; }
.fwd-step.current { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.fwd-step.done { border-color: var(--success); background: #f6fcf8; }
.fwd-step-badge { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); color: var(--ink); font-size: .85rem; font-weight: 700; border: 1px solid var(--line); }
.fwd-step.done .fwd-step-badge { background: var(--success); color: #fff; border-color: var(--success); content: "✓"; }
.fwd-step-body { flex: 1; min-width: 0; display: grid; gap: 8px; }
.fwd-step-title-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.fwd-step-title-row h3 { margin: 0; font-size: 1.05rem; }
.fwd-pill { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--line); color: var(--muted); }
.fwd-pill.ok { background: #e6f9ed; color: var(--success); }
.fwd-pill.waiting { background: #fff8e1; color: #b78103; }
.fwd-pill.error { background: #fde8e8; color: var(--danger); }
.fwd-box { padding: 12px 14px; background: var(--canvas); border: 1px solid var(--line); border-radius: 12px; margin: 4px 0; }
.fwd-box-label { font-size: .82rem; color: var(--muted); font-weight: 600; display: block; margin-bottom: 6px; }
.fwd-box .copy-row { margin: 0; }
.fwd-state-msg { margin-top: 8px; padding: 10px 14px; border-radius: 10px; font-size: .88rem; font-weight: 500; }
.fwd-state-msg.waiting { background: #fffbeb; color: #92400e; border: 1px solid #fef3c7; }
.fwd-state-msg.ok { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.fwd-state-msg.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.google-connect-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #3c4043; border: 1px solid #dadce0; box-shadow: 0 1px 2px rgba(60,64,67,0.1); font-weight: 600; padding: 12px 16px; border-radius: 10px; cursor: pointer; width: 100%; transition: background-color .15s, border-color .15s; }
.google-connect-btn:hover { background: #f8f9fa; border-color: #c6c9cc; }
.google-connect-btn svg { flex-shrink: 0; }
.fwd-subactions { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.gauto-banner { margin-bottom: 16px; border: 1px solid rgba(12, 115, 82, 0.3); background: rgba(12, 115, 82, 0.04); padding: 16px; border-radius: 14px; }
.gauto-banner-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.gauto-title { display: block; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.fwd-account-badge { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; background: var(--canvas); padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 0.9rem; }
.fwd-actions-row { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.fwd-actions-row > * { flex: 1; margin: 0; }
.fwd-mobile-tip { margin: 12px 0; padding: 12px 14px; background: #f0f7ff; border: 1px solid #c7dfff; border-radius: 12px; font-size: 0.88rem; color: #1e40af; line-height: 1.45; }
.fwd-mobile-tip strong { display: block; margin-bottom: 4px; }
.fwd-diagnostic-box { margin: 12px 0; padding: 12px 14px; border-radius: 12px; font-size: 0.9rem; font-weight: 500; }
.fwd-diagnostic-box.warning { background: #fffbeb; border: 1px solid #fef3c7; color: #92400e; }
.fwd-diagnostic-box.ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.fwd-manual > summary { cursor: pointer; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.fwd-more summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.fwd-more[open] summary { margin-bottom: 8px; }
.qr-card p { margin: 4px 0; }
.qr-card.charge-pending { border-style: dashed; border-color: #e0a100; background: #fffaeb; }
.charge-pending-amount { font-size: 1.15rem; margin: 10px 0 !important; }

.qr-box { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; max-width: 420px; }
.qr-box img { display: block; margin: 8px 0 12px; background: #fff; }
.qr-box input { width: 100%; }
a.button-link.whatsapp { background: #25d366; color: #fff; text-align: center; font-weight: 600; padding: 12px 16px; }
.qr-box > a.button-link.whatsapp { display: block; margin: 10px 0 4px; }
a.button-link.whatsapp.disabled { opacity: .5; pointer-events: none; }

/* Secciones como en la app: Inicio, Movimientos, Cobrar, Ajustes. */
.tabs .tab { display: inline-flex; align-items: center; gap: 8px; }
.tabs .tab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.page-title { margin: 4px 0 0; font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; }
.panel > .muted { margin: -8px 0 0; }
.home-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.home-head .muted { margin: 2px 0 0; }
.home-head .muted::first-letter { text-transform: uppercase; }
.link-button { background: none; color: var(--ink); padding: 4px 0; font-weight: 600; }
.row-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.row-heading h2 { margin: 0; font-size: 1.2rem; font-weight: 600; }

.voice-activate, .home-link {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 18px; border-radius: 20px; font-weight: 400;
}
.voice-activate { background: var(--success); color: #fff; animation: pulse 2s ease-in-out infinite; }
.voice-activate svg { flex: 0 0 34px; width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.voice-activate strong, .home-link strong { display: block; font-size: 1.05rem; font-weight: 600; }
.voice-activate small { display: block; opacity: .9; font-size: .85rem; margin-top: 2px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(52, 199, 89, .25); } }
.home-link { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.home-link span { flex: 1; }
.home-link small { color: var(--muted); font-size: .85rem; }
.home-link b { font-size: 1.6rem; font-weight: 400; color: var(--muted); }
.home-link.low strong { color: var(--danger); }

.confirmed-card { background: var(--success); color: #fff; border-radius: 24px; padding: 22px 20px 16px; text-align: center; }
.check-badge {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 50%; background: #fff; color: var(--success); font-size: 2rem; font-weight: 700;
}
.check-badge.big { width: 110px; height: 110px; font-size: 4rem; margin-bottom: 24px; }
.confirmed-label { margin: 0; font-size: 1rem; font-weight: 600; }
.confirmed-amount { margin: 2px 0 0; font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.confirmed-origin { margin: 2px 0 16px; font-size: .85rem; opacity: .9; }
.says { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #fff; color: var(--ink); text-align: left; }
.says svg { flex: 0 0 30px; width: 30px; height: 30px; fill: none; stroke: var(--success); stroke-width: 2.2; stroke-linecap: round; }
.says small { display: block; font-size: .7rem; color: var(--muted); }
.says strong { display: block; font-size: .95rem; font-weight: 600; }
.waiting-card { display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-radius: 24px; background: var(--ink); color: #fff; }
.waiting-card svg { flex: 0 0 34px; width: 34px; height: 34px; fill: none; stroke: var(--success); stroke-width: 2.2; stroke-linecap: round; }
.waiting-card strong { display: block; font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.waiting-card small { display: block; margin-top: 4px; color: #b8b8bd; font-size: .85rem; }

.total-card { border-radius: 20px; padding: 20px; }
.total-amount { margin: 4px 0 0; font-size: 2.4rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.total-words { margin: 0 0 8px; color: var(--success-ink); font-weight: 500; }

.switch-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); cursor: pointer; }
.switch-card span { flex: 1; order: -1; }
.switch-card strong { display: block; font-weight: 600; }
.switch-card small { color: var(--muted); font-size: .85rem; }
.switch-card input {
  appearance: none; flex: 0 0 52px; width: 52px; height: 32px; margin: 0; border-radius: 999px;
  background: var(--line-strong); position: relative; cursor: pointer; transition: background .2s;
}
.switch-card input::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s;
}
.switch-card input:checked { background: var(--success); }
.switch-card input:checked::after { transform: translateX(20px); }

.pay-list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.pay-list li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.pay-list li:first-child { border-top: 0; }
.pay-check { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--success-soft); color: var(--success-ink); font-weight: 700; }
.pay-text { flex: 1; min-width: 0; }
/* El nombre de quien pagó va completo, en dos líneas si hace falta: así el cajero lo reconoce. */
.pay-text strong { display: block; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.pay-text small { display: block; color: var(--muted); font-size: .78rem; }
.pay-text small.tx-when { color: var(--success-ink); font-weight: 700; }
.pay-side { display: flex; flex-direction: column; align-items: flex-end; }
.pay-amount { font-weight: 700; font-size: 1.05rem; color: var(--success-ink); white-space: nowrap; }
.pay-bank { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.account-bar { margin-bottom: 14px; }
.account-bar-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.account-bar small { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; }
.bar-track { display: block; height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; }

.charge-show-card { max-width: 420px; margin: 0 auto; padding: 24px 16px; border-radius: 24px; background: #fff; border: 1px solid var(--line); text-align: center; }
.charge-show-card h2 { margin: 0 0 12px; font-size: 1.75rem; font-weight: 800; }
.charge-show-card > img { display: block; width: min(100%, 340px); height: auto; aspect-ratio: 1; margin: 0 auto; }
.charge-name { margin: 8px 0 0; font-weight: 700; }
.charge-key { margin: 8px 0 0; font-size: 1.25rem; font-weight: 600; letter-spacing: .02em; word-break: break-all; user-select: all; }
.charge-show-card .muted { margin: 4px 0 0; }
.charge-foot { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.home-qr { display: grid; gap: 10px; }
.home-qr:has(#home-qr-show:empty):has(#home-qr-empty.hidden) { display: none; }
.home-qr .chips { justify-content: center; }
.home-qr .chips:empty { display: none; }
.charge-show-card.compact { padding: 12px 14px; border-radius: 20px; }
.charge-show-card.compact h2 { margin-bottom: 6px; font-size: 1.2rem; }
/* El QR se encoge según la altura del celular para que quepa la casilla del valor. */
.charge-show-card.compact > img { width: min(100%, 250px, max(150px, calc(100dvh - 430px))); }
.charge-line { margin: 6px 0 0; font-size: .95rem; overflow-wrap: anywhere; }
.charge-line b { letter-spacing: .02em; user-select: all; }
.charge-show-card.compact .charge-key { font-size: 1.05rem; }
.charge-show-card.compact .charge-foot { margin-top: 12px; padding-top: 10px; }
.home-paid { max-width: 420px; width: 100%; margin: 0 auto; padding: 40px 20px; cursor: pointer; animation: paid-in .35s ease-out; }
.home-paid .check-badge { width: 84px; height: 84px; font-size: 3rem; }
@keyframes paid-in { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.home-summary { margin: -4px 0 0; color: var(--muted); }
.home-summary strong { color: var(--success-ink); font-size: 1.1rem; }
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 24px 12px; text-align: center; }
.empty-state svg { width: 72px; height: 72px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.empty-state p { margin: 0; }

.arrival {
  position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; background: var(--success); color: #fff; text-align: center; cursor: pointer;
}
.arrival-close { position: absolute; top: 16px; right: 16px; background: transparent; color: #fff; font-size: 1.4rem; }
.arrival-label { margin: 0; font-size: 1.4rem; font-weight: 600; }
.arrival-amount { margin: 4px 0; font-size: clamp(3rem, 16vw, 5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.arrival-origin { margin: 0 0 40px; opacity: .9; }
.arrival .says { width: min(100%, 420px); }

.helper-login { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.helper-login h2 { margin: 0; font-size: 1.05rem; }
.helper-login .hint { margin: 0; }
.helper-login form { display: grid; gap: 10px; }
.helper-login input { width: 100%; padding: 12px; font: inherit; border: 1px solid var(--line-strong); border-radius: 12px; }
.helper-login button { width: 100%; padding: 12px; }
.scan-box { display: grid; gap: 8px; }
.scan-box video { width: 100%; max-height: 320px; border-radius: 12px; background: #000; object-fit: cover; }
.charge-pick { display: grid; gap: 10px; }
.charge-pick-title { font-weight: 600; }
.charge-pick-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
body:not(.is-helper) .helper-only { display: none !important; }
body.is-helper :is(#home-credit, #home-forward, #credit-card, #forward-card, #helpers-card, #charge-card,
  #charge-manage, #charge-add, #sync-now, #sync-history, #microsoft-login, #auto-sync, #microsoft-status, #gmail, .owner-only) {
  display: none !important;
}
body.no-team .team-only { display: none !important; }

/* Panel de tiendas del dueño de Dolval. */
.stores-summary-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}
.stores-metric-item {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.stores-metric-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.stores-metric-item.active {
  border-color: #007aff;
  background: #f0f7ff;
}
.stores-metric-item .metric-num {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}
.stores-metric-item .metric-lbl {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}
.stores-metric-item.highlight-new .metric-num {
  color: #0066cc;
}
.stores-metric-item.highlight-warn .metric-num {
  color: #b76e00;
}

.stores-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.stores-chip {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.stores-chip:hover {
  border-color: var(--line-strong);
  background: var(--canvas);
}
.stores-chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.stores-chip.chip-new.active {
  background: #007aff;
  border-color: #007aff;
}
.stores-chip.chip-warn.active {
  background: #e68500;
  border-color: #e68500;
}

.stores-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.stores-toolbar #stores-search {
  flex: 2;
  min-width: 220px;
  margin: 0;
}
.stores-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 200px;
}
.stores-sort-lbl {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}
.stores-sort-wrap select {
  flex: 1;
  margin: 0;
}

.stores-table td { vertical-align: top; }
.store-row-new {
  background: rgba(0, 122, 255, 0.03);
}
.store-row-new:hover {
  background: rgba(0, 122, 255, 0.06);
}
.store-name-title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.store-sub-info {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.store-sub-info a {
  color: #007aff;
  text-decoration: none;
}
.store-sub-info a:hover {
  text-decoration: underline;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.pill-badge.new {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
.pill-badge.ok {
  background: var(--success-soft);
  color: var(--success-ink);
  border: 1px solid #bbf7d0;
}
.pill-badge.warn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.pill-badge.bad {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.store-missing-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}
.missing-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 1px 6px;
  border-radius: 4px;
  width: fit-content;
}

.store-low-balance {
  color: var(--danger);
  font-weight: 700;
}
.store-suspended td { opacity: .6; }

/* Detalle de tienda: Onboarding checklist */
.onboarding-box {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.onboarding-box.incomplete {
  border-color: #fde68a;
  background: #fffbeb;
}
.onboarding-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.onboarding-head h3 {
  margin: 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.onboarding-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
}
.onboarding-item.done {
  border-color: #dcfce7;
  background: #f0fdf4;
}
.onboarding-item.pending {
  border-color: #fde68a;
  background: #fffdf5;
}
.onboarding-item .item-icon {
  font-size: 1rem;
  line-height: 1.2;
}
.onboarding-item .item-title {
  font-weight: 600;
}
.onboarding-item .item-desc {
  color: var(--muted);
  font-size: 0.74rem;
  margin-top: 2px;
}

.whatsapp-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff !important;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.86rem;
  transition: background 0.15s ease;
}
.whatsapp-action-btn:hover {
  background: #1eb857;
}

#store-detail-card h3 { margin: 20px 0 8px; }
#store-detail-card .report-stats { margin-bottom: 14px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.store-log { list-style: none; margin: 0; padding: 0; }
.store-log li { padding: 8px 0; border-top: 1px solid var(--line); }
.store-log li:first-child { border-top: 0; }
.store-log small { display: block; color: var(--muted); }

/* Inicio: un número grande y la lista. */
.empty-soft { margin: 0; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--muted); text-align: center; }

/* Ajustes como en el iPhone: grupos de filas, cada una abre un panel lateral. */
.set-group { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.set-row {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px;
  background: none; color: var(--ink); border-radius: 0; font-weight: 400; text-align: left;
}
.set-row + .set-row { border-top: 1px solid var(--line); }
.set-row:hover { background: var(--canvas); }
.set-icon { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #fff; }
.set-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.set-icon.green { background: #34c759; }
.set-icon.blue { background: #007aff; }
.set-icon.dark { background: #1c1c1e; }
.set-icon.red { background: #ff3b30; }
.set-icon.orange { background: #ff9500; }
.set-icon.gray { background: #8e8e93; }
.set-label { flex: 1; font-size: 1rem; }
.set-value { color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.set-row b { color: #c7c7cc; font-size: 1.5rem; font-weight: 400; line-height: 1; }
.set-logout { width: 100%; padding: 14px; border-radius: 16px; background: var(--card); color: var(--danger); border: 1px solid var(--line); font-weight: 500; }

.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .35); }
.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(460px, 100%);
  overflow-y: auto; overscroll-behavior: contain; background: var(--canvas);
  box-shadow: -12px 0 40px rgba(0, 0, 0, .15); animation: sheet-in .25s ease-out;
}
@keyframes sheet-in { from { transform: translateX(100%); } to { transform: none; } }
body.sheet-open { overflow: hidden; }
.sheet-head {
  position: sticky; top: 0; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: calc(10px + env(safe-area-inset-top)) 12px 10px; background: rgba(245, 245, 247, .94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.sheet-head h2 { margin: 0; font-size: 1rem; font-weight: 600; }
.sheet-back { justify-self: start; background: none; color: #007aff; padding: 6px 4px; font-weight: 500; }
.sheet-body { padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
.sheet-body > .card { display: grid; gap: 12px; border: 0; background: none; padding: 0; }
.sheet-body > .card > * { margin: 0; }
.sheet-body #voice-card > h2, .sheet-body #helpers-card > h2, .sheet-body #charge-card .section-heading h2,
.sheet-body #forward-card .forward-head .eyebrow, .sheet-body #forward-card .forward-head h2 { display: none; }
.sheet-body #account-card { display: grid; gap: 10px; }
.sheet-body #account-card > :is(button, a) { width: 100%; text-align: center; }
.sheet-body .controls { display: grid; gap: 12px; }
.sheet-body .controls > button { width: 100%; }
.sheet-body .controls > label { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-body .controls > label:has(input[type="checkbox"]) { flex-direction: row-reverse; }
.sheet-body .controls input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--success); }
.sheet-body .credit-card { padding: 20px; border-radius: 20px; background: var(--ink); }

/* Empleados */
.helper-list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.helper-list:empty { display: none; }
.helper-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 16px; }
.helper-list li + li { border-top: 1px solid var(--line); }
.helper-info strong { display: block; }
.helper-info small { color: var(--muted); }
.helper-more { grid-column: 1 / -1; display: flex; gap: 16px; }
.helper-more .link-button { font-size: .85rem; font-weight: 500; color: #007aff; }
.helper-more .danger-text { color: var(--danger); }
.helper-form { display: grid; gap: 12px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.helper-form > label { display: grid; gap: 6px; }
.helper-form .check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.helper-form .check-grid label { display: flex; align-items: center; gap: 8px; }
.helper-form .check-grid input { width: 20px; height: 20px; accent-color: var(--ink); }
.helper-form input:not([type="checkbox"]) { padding: 12px; font: inherit; border: 1px solid var(--line-strong); border-radius: 12px; }
.helper-form fieldset { margin: 0; border: 1px solid var(--line); border-radius: 12px; }
.helper-form .check-line { display: flex; align-items: center; gap: 8px; }
.helper-form .check-line input { width: 20px; height: 20px; accent-color: var(--ink); }
.helper-hours { display: grid; gap: 10px; margin-top: 10px; }
.helper-hours.hidden { display: none; }
.helper-hours .row label { display: grid; gap: 4px; flex: 1; }
.helper-form .days-grid { grid-template-columns: repeat(4, 1fr); }
.off-hours { max-width: 420px; margin: 40px auto; text-align: center; }
.off-hours.hidden { display: none; }
.helper-form button, .qr-box > button, .qr-box > a.button-link { width: 100%; }
.qr-box { display: grid; gap: 10px; max-width: none; background: var(--card); }
.qr-box h3 { margin: 0; }
.qr-box > .hint { margin: 0; }
.qr-box img { justify-self: center; margin: 4px 0; }
.qr-box .token-box { text-align: center; }
.key-label { color: var(--muted); font-size: .85rem; }

@media (min-width: 721px) {
  .tab-extra:not(.hidden) { display: inline-flex; }
}

@media (max-width: 720px) {
  header { padding: 10px 16px; }
  #panel-home .page-title { font-size: 1.35rem; }
  #panel-home .home-head { align-items: center; }
  #panel-home .home-head > div { display: flex; align-items: baseline; gap: 8px; }
  #panel-home .home-head .muted { margin: 0; font-size: .85rem; }
  #panel-home .hc-form { margin-top: 8px; }
  header .status #gmail, header .status #account-pill { display: none; }
  main { padding: 14px 14px calc(88px + env(safe-area-inset-bottom)); }
  .card { padding: 16px; }
  .tabs {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 20;
    flex-wrap: nowrap; justify-content: space-around; gap: 0;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: var(--card); border-top: 1px solid var(--line);
  }
  .tabs .tab {
    flex: 1; flex-direction: column; gap: 2px; padding: 6px 2px; border: 0; border-radius: 14px;
    background: transparent; color: var(--muted); font-size: .7rem;
  }
  .tabs .tab.active { background: transparent; color: var(--ink); font-weight: 600; }
  .tabs .tab.active svg { background: rgba(11, 11, 12, .08); border-radius: 999px; padding: 2px 14px; width: 52px; height: 28px; }
  .tabs .tab-extra { display: none !important; }
  .admin-tabs { position: static; flex-wrap: wrap; justify-content: flex-start; padding: 0; border: 0; background: none; }
  .admin-tabs .tab { flex: 0 0 auto; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: .85rem; padding: 8px 12px; }
  .admin-tabs .tab.active { background: var(--ink); color: #fff; }
  .card > table { display: block; overflow-x: auto; white-space: nowrap; }
  .card > table.tx-table, .tx-table tbody { display: block; overflow: visible; white-space: normal; }
  .tx-table thead { display: none; }
  .tx-table tr {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px;
    padding: 12px 0; border-bottom: 1px solid var(--line);
  }
  .tx-table td { padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
  .tx-table td:nth-child(1) { grid-area: 2 / 1; font-size: .8rem; }
  .tx-table td:nth-child(2) { grid-area: 1 / 2; text-align: right; font-size: 1.05rem; white-space: nowrap; }
  .tx-table td:nth-child(3) { grid-area: 1 / 1; font-weight: 600; }
  .tx-table td:nth-child(4) { grid-area: 2 / 2; text-align: right; font-size: .8rem; white-space: nowrap; }
  .card > table.stores-table, .stores-table tbody { display: block; overflow: visible; white-space: normal; }
  .stores-table thead { display: none; }
  .stores-table tr {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px;
    padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .stores-table td { padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
  .stores-table td:first-child { grid-column: 1 / -1; }
  .stores-table td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: .72rem; }
  input, select, textarea { font-size: 16px !important; }
  .controls { gap: 12px; }
  .controls label { flex: 1 1 100%; justify-content: space-between; }
  .controls select { flex: 1; min-width: 0; max-width: 65%; }
  #account-card > * { flex: 1 1 100%; }
  #account-card .pill { flex: 0 1 auto; }
  .tabs { z-index: 45; }
  .sheet-body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

.net-banner {
  position: sticky; top: 0; z-index: 60;
  padding: 9px 16px; text-align: center; font-size: .85rem; font-weight: 600;
  background: #fff4d6; color: #7a4a00; border-bottom: 1px solid #f3c77a;
}
.net-banner.ok { background: var(--success-soft); color: var(--success-ink); border-color: transparent; }

/* Misma pantalla de entrada que la app Android: símbolo, «dolval» y el lema sobre blanco. */
.splash {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; transition: opacity .25s ease;
}
.splash.leaving { opacity: 0; pointer-events: none; }
.splash img { display: block; }
.splash-name { margin: 20px 0 0; font-size: 36px; line-height: 1; letter-spacing: -0.4px; font-weight: 400; color: var(--ink); }
.splash-tag { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

.push-box {
  display: flex; align-items: center; gap: 12px; margin: 4px 0 14px;
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--canvas);
}
.push-box span { flex: 1; min-width: 0; }
.push-box strong { display: block; font-size: .95rem; }
.push-box small { display: block; color: var(--muted); font-size: .82rem; }
.push-box small.ok { color: var(--success-ink); font-weight: 600; }
.push-box button { flex: none; padding: 9px 16px; border-radius: 999px; }

/* Registro: Conectar con Gmail como camino principal */
.gauto-hero { border: 2px solid var(--success); background: var(--success-soft); padding: 18px; }
.gauto-hero h3 { font-size: 1.25rem; }
.gauto-hero #gauto-connect { width: 100%; font-size: 1.1rem; }
#gauto-finish { margin-top: 8px; }
.fwd-manual:not([open]) > summary { font-size: .9rem; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* Pantalla previa a Google (verificacion OAuth): explica que filtro se crea y por que. */
.consent-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(11, 11, 12, .55); backdrop-filter: blur(4px); overflow-y: auto; }
.consent-card { width: 100%; max-width: 520px; max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--card); border-radius: 20px; padding: 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.consent-card h2 { margin: 4px 0 6px; font-size: 1.3rem; }
.consent-list { margin: 10px 0 14px; padding-left: 20px; display: grid; gap: 8px; font-size: .94rem; }
.consent-senders { display: block; font-size: .8rem; line-height: 1.5; margin: 4px 0 10px; max-height: 120px; overflow-y: auto; word-break: break-word; }
.consent-actions { display: grid; gap: 10px; margin-top: 12px; }
.consent-actions .link-button { justify-self: center; color: var(--muted); }
.manual-steps { margin: 8px 0 12px; padding-left: 20px; display: grid; gap: 10px; font-size: .94rem; }
.legal-links { text-align: center; }
.legal-links a { color: inherit; }
@media (prefers-reduced-motion: no-preference) { .consent-card { animation: consent-in .18s ease-out; } }
@keyframes consent-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Leads / Clientes interesados */
.leads-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0 20px; }
.lead-stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; text-align: center; }
.lead-stat-card.highlight { border-color: var(--success); background: var(--success-soft); }
.lead-stat-num { display: block; font-size: 1.8rem; font-weight: 700; line-height: 1.1; margin-bottom: 4px; }
.lead-stat-label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.leads-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.leads-table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--line); color: var(--muted); font-size: .8rem; text-transform: uppercase; }
.leads-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.leads-table tr:hover td { background: rgba(0,0,0,.015); }
.lead-whatsapp-btn { display: inline-flex; align-items: center; gap: 6px; background: #25D366; color: #fff; font-weight: 600; font-size: .82rem; padding: 6px 12px; border-radius: 999px; text-decoration: none; border: 0; white-space: nowrap; }
.lead-whatsapp-btn:hover { background: #1eb956; color: #fff; }
.lead-status-select { font-size: .82rem; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); }
.lead-status-select.status-new { border-color: #f59e0b; color: #b45309; font-weight: 600; }
.lead-status-select.status-contacted { border-color: #3b82f6; color: #1d4ed8; font-weight: 600; }
.lead-status-select.status-converted { border-color: var(--success); color: var(--success-ink); font-weight: 600; }
.lead-notes-input { width: 100%; font-size: .82rem; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); font-family: inherit; }
.badge-count { background: #dc2626; color: #fff; font-size: .75rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 4px; }
