/* ==========================================================================
   TechDev Pay · componentes de la plataforma (hereda el sistema de base.css)
   ========================================================================== */

/* ------------------------------------------------------------------ base --- */
.page { padding: 26px 22px 70px; max-width: 1180px; display: flex; flex-direction: column; gap: 20px; }
.app-page { padding-top: 24px; }
.tab-panel { display: flex; flex-direction: column; gap: 20px; animation: panel-in 0.28s ease both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.page-head > div { max-width: 700px; }
.page-head h1 { margin-top: 4px; }
.page-head p { margin: 4px 0 0; }
.section-head { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.inline-form { display: inline-flex; margin: 0; }
.link-btn {
  border: 0; background: none; color: var(--accent-2); font: inherit;
  font-size: 0.78rem; cursor: pointer; padding: 0 2px; text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:hover { color: #b6dbf7; }
.divider { border: 0; height: 1px; background: var(--border); margin: 14px 0; }
.gradient-text {
  background: linear-gradient(100deg, #cfe5f7 10%, var(--accent-2) 48%, #8f9ff0 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.simple-page { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 40px 20px; }
.empty-state { max-width: 460px; text-align: center; padding: 38px 28px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.empty-state__code { font-family: "JetBrains Mono", monospace; font-size: 2.6rem; color: var(--accent-line); letter-spacing: 0.1em; }

/* --------------------------------------------------------------- botones --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn-block { width: 100%; }
.btn-danger { background: rgba(217, 123, 131, 0.12); border: 1px solid rgba(217, 123, 131, 0.32); color: #f0b8bd; }
.btn-danger:hover { background: rgba(217, 123, 131, 0.2); color: #ffdadd; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn.is-busy { pointer-events: none; opacity: 0.7; }
.icon-btn { display: inline-grid; place-items: center; }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- badges --- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px;
  border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035); font-size: 0.66rem;
  color: var(--muted); white-space: nowrap; letter-spacing: 0.01em;
}
.badge::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.badge-muted { color: #a4abb5; }
.badge-ok { color: #9ee0c6; background: rgba(88, 185, 154, 0.1); border-color: rgba(88, 185, 154, 0.26); }
.badge-warn { color: #f0cfa0; background: rgba(211, 161, 95, 0.12); border-color: rgba(211, 161, 95, 0.3); }
.badge-danger { color: #f0b8bd; background: rgba(217, 123, 131, 0.12); border-color: rgba(217, 123, 131, 0.3); }
.badge-accent { color: #cfe5f7; background: rgba(74, 159, 224, 0.12); border-color: var(--accent-line); }

.status-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px;
  border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; color: var(--muted);
  text-transform: uppercase;
}
.status-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06); }
.status-pill--muted { color: #b7bec8; }
.status-pill--warn { color: #f4cf9b; background: rgba(211, 161, 95, 0.12); border-color: rgba(211, 161, 95, 0.34); }
.status-pill--warn .status-pill__dot { animation: pulse-warn 1.8s ease-in-out infinite; }
.status-pill--ok { color: #a5e8cd; background: rgba(88, 185, 154, 0.12); border-color: rgba(88, 185, 154, 0.34); }
.status-pill--danger { color: #f5bcc1; background: rgba(217, 123, 131, 0.12); border-color: rgba(217, 123, 131, 0.34); }
@keyframes pulse-warn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(211, 161, 95, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(211, 161, 95, 0); }
}

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.025);
  color: var(--muted); font: inherit; font-size: 0.78rem; cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { color: #dcedf9; background: rgba(74, 159, 224, 0.14); border-color: var(--accent-line); }
.chip__count { font-family: "JetBrains Mono", monospace; font-size: 0.66rem; opacity: 0.75; }
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- cuenta --- */
.brand-mark--pay { background: linear-gradient(145deg, rgba(74, 159, 224, 0.24), rgba(110, 120, 200, 0.12)); border-color: var(--accent-line); color: #dceefb; }
.account-menu { display: flex; align-items: center; gap: 8px; }
.account-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px;
  border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.025);
  color: var(--text); font-size: 0.8rem; transition: border-color 0.16s ease, background 0.16s ease;
}
.account-chip:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.05); color: var(--text); }
.account-avatar {
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(145deg, rgba(74, 159, 224, 0.35), rgba(110, 120, 200, 0.2));
  border: 1px solid var(--accent-line); font-size: 0.72rem; font-weight: 700; color: #eaf5fd;
}
.account-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar--minimal .topbar-inner { padding-bottom: 12px; }
.topbar--minimal { border-bottom: 1px solid var(--border); }
.topbar--invoice .topbar-inner { max-width: 980px; }
.invoice-title { color: var(--faint); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; margin-left: 6px; }
.invoice-title .mono { color: var(--muted); letter-spacing: 0.1em; }
.admin-title { color: var(--faint); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; margin-left: 4px; }
.topbar .tabs { border-top: 1px solid transparent; }
@media (max-width: 720px) {
  .account-name { display: none; }
  .invoice-title { display: none; }
  .admin-title { display: none; }
}

/* ------------------------------------------------------------- estructura --- */
.card { position: relative; }
.panel-card { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.panel-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.panel-card__head h2 { font-size: 1rem; }
.panel-card__head p { margin: 2px 0 0; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 18px; align-items: start; }
.split-grid--auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat-card {
  padding: 16px; display: flex; flex-direction: column; gap: 4px; min-height: 92px;
  justify-content: center; overflow: hidden;
}
.stat-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 0% 0%, rgba(74, 159, 224, 0.09), transparent 60%);
  pointer-events: none;
}
.stat-card__label { font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--faint); }
.stat-card__value { font-size: 1.42rem; font-weight: 600; letter-spacing: -0.02em; }
.stat-card__value small { font-size: 0.7rem; color: var(--muted); font-weight: 500; margin-left: 4px; }
.stat-row { display: flex; gap: 18px; flex-wrap: wrap; }
.stat-mini { display: flex; flex-direction: column; gap: 2px; }
.stat-mini__value { font-size: 1.2rem; font-weight: 600; }
.stat-mini__label { font-size: 0.68rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; }
.meter { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 0.4s ease; }
.quota-meter { display: flex; flex-direction: column; gap: 6px; min-width: 240px; flex: 1; }
.quota-meter__row { display: flex; justify-content: space-between; gap: 10px; }
.plan-status { display: flex; gap: 22px; align-items: center; justify-content: space-between; padding: 18px; flex-wrap: wrap; }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 74px; padding: 4px 2px; }
.mini-chart__bar { flex: 1; min-width: 8px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, rgba(121, 184, 232, 0.75), rgba(74, 159, 224, 0.18)); min-height: 3px; transition: height 0.4s ease; }
.mini-chart__bar.is-empty { background: rgba(255, 255, 255, 0.06); }
.mini-chart__label { font-size: 0.58rem; color: var(--faint); text-align: center; margin-top: 4px; }
.chart-col { flex: 1; display: flex; flex-direction: column; }

/* ---------------------------------------------------------------- listas --- */
.mini-list { display: flex; flex-direction: column; gap: 8px; }
.mini-row {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 8px; border-radius: 10px; border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.mini-row:hover { background: rgba(255, 255, 255, 0.025); border-color: var(--border); }
.mini-row__avatar {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(74, 159, 224, 0.1); border: 1px solid var(--border); color: #cfe5f7;
  font-size: 0.78rem; font-weight: 700; overflow: hidden;
}
.mini-row__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mini-row__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mini-row__title { font-size: 0.86rem; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-row__meta { font-size: 0.72rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-row__side { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.mini-row__amount { font-size: 0.82rem; font-weight: 600; font-family: "JetBrains Mono", monospace; }
.empty-inline { padding: 18px 14px; text-align: center; color: var(--muted); font-size: 0.82rem; border: 1px dashed var(--border); border-radius: 12px; }

/* -------------------------------------------------------------- servicios --- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.service-card__media { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(120% 120% at 20% 0%, rgba(74, 159, 224, 0.22), transparent 60%), rgba(255, 255, 255, 0.03); display: grid; place-items: center; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__media span { font-size: 1.6rem; font-weight: 700; color: #9cc3de; }
.service-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card__title { font-size: 0.98rem; }
.service-card__desc { font-size: 0.8rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; }
.service-card__price { font-weight: 600; font-size: 0.92rem; }
.code-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px;
  border-radius: 7px; border: 1px solid var(--border-strong); background: rgba(0, 0, 0, 0.3);
  font-family: "JetBrains Mono", monospace; font-size: 0.72rem; letter-spacing: 0.08em;
  color: #cfe5f7; cursor: pointer; transition: border-color 0.16s ease;
}
.code-chip:hover { border-color: var(--accent-line); }
.service-tags { display: flex; gap: 5px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- compras --- */
.purchase-list { display: flex; flex-direction: column; gap: 14px; }
.purchase-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0; overflow: hidden; padding: 0; }
.purchase-card__media { position: relative; background: rgba(255, 255, 255, 0.03); display: grid; place-items: center; min-height: 150px; }
.purchase-card__media img { width: 100%; height: 100%; object-fit: cover; }
.purchase-card__media span { font-size: 1.3rem; font-weight: 700; color: #9cc3de; }
.purchase-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.purchase-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.purchase-card__title { font-size: 1rem; margin: 0; }
.purchase-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 0.75rem; color: var(--muted); }
.purchase-card__amount { font-family: "JetBrains Mono", monospace; font-weight: 600; font-size: 1rem; }
.purchase-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.purchase-card .markdown { font-size: 0.84rem; }

/* ------------------------------------------------------------ formularios --- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field > label, .field > legend { font-size: 0.75rem; font-weight: 600; color: #b3bac3; padding: 0; }
input, select, textarea {
  width: 100%; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.32); color: var(--text); font: inherit; font-size: 0.86rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
textarea { resize: vertical; min-height: 84px; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #565c65; }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(74, 159, 224, 0.45); box-shadow: 0 0 0 3px rgba(74, 159, 224, 0.1); }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--accent); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid--side { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.form-stack { display: flex; flex-direction: column; gap: 12px; }
.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.field-hint { font-size: 0.7rem; color: var(--faint); }
.input-group { position: relative; display: flex; align-items: center; }
.input-group input { padding-right: 40px; }
.input-group .icon-btn { position: absolute; right: 6px; width: 30px; height: 30px; border-radius: 7px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.check-option {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); font-size: 0.8rem;
  cursor: pointer; transition: border-color 0.16s ease, background 0.16s ease;
}
.check-option:hover { border-color: var(--border-strong); }
.check-option input { accent-color: var(--accent); }
.switch { display: inline-flex; align-items: center; gap: 9px; font-size: 0.8rem; color: var(--muted); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track {
  width: 34px; height: 19px; border-radius: 999px; background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border); position: relative; transition: background 0.18s ease;
  flex: none;
}
.switch__track span {
  position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%;
  background: #c3cad3; transition: transform 0.18s ease, background 0.18s ease;
}
.switch input:checked + .switch__track { background: rgba(74, 159, 224, 0.5); border-color: var(--accent-line); }
.switch input:checked + .switch__track span { transform: translateX(15px); background: #eaf5fd; }
.switch input:focus-visible + .switch__track { box-shadow: 0 0 0 3px rgba(74, 159, 224, 0.2); }
.hint-box { padding: 12px 14px; border-radius: 11px; border: 1px dashed var(--border); background: rgba(255, 255, 255, 0.015); }
.hint-box strong { display: block; font-size: 0.82rem; margin-bottom: 3px; }
.hint-box p { margin: 0; }
.alert { display: flex; gap: 9px; align-items: flex-start; padding: 11px 13px; border-radius: 10px; font-size: 0.82rem; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); color: #c7ced7; }
.alert svg { width: 16px; height: 16px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.alert-info { border-color: rgba(74, 159, 224, 0.25); background: rgba(74, 159, 224, 0.07); color: #cfe4f4; }
.alert-warn { border-color: rgba(211, 161, 95, 0.28); background: rgba(211, 161, 95, 0.08); color: #f0d4a8; }
.alert-danger { border-color: rgba(217, 123, 131, 0.3); background: rgba(217, 123, 131, 0.08); color: #f3bcc1; }
.result-box { border: 1px solid var(--accent-line); background: rgba(74, 159, 224, 0.06); border-radius: 11px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.result-box__url { font-family: "JetBrains Mono", monospace; font-size: 0.72rem; word-break: break-all; color: #cfe5f7; }
.progress { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 0.2s linear; }
.progress--lg { height: 10px; }
.image-drop {
  display: grid; place-items: center; gap: 6px; aspect-ratio: 16 / 10; border-radius: 12px;
  border: 1px dashed var(--border-strong); background: rgba(255, 255, 255, 0.02); cursor: pointer;
  overflow: hidden; position: relative; text-align: center; padding: 10px; transition: border-color 0.16s ease;
}
.image-drop:hover { border-color: var(--accent-line); }
.image-drop img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.image-drop__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.image-drop__text { font-size: 0.74rem; color: var(--muted); }
.image-drop.is-dragging { border-color: var(--accent-line); background: rgba(74, 159, 224, 0.08); }

/* ----------------------------------------------------------------- modales --- */
.modal { border: 0; padding: 0; background: transparent; color: var(--text); width: min(940px, calc(100% - 24px)); max-width: none; max-height: calc(100vh - 24px); }
.modal--wide { width: min(1020px, calc(100% - 20px)); }
.modal::backdrop { background: rgba(3, 4, 6, 0.74); backdrop-filter: blur(6px); }
.modal__panel {
  display: flex; flex-direction: column; overflow: hidden; margin: 0; background: #0a0b0d;
  border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: 0 40px 80px -40px #000; max-height: calc(100vh - 24px);
}
.modal__panel--sm { max-width: 480px; margin: 0 auto; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.modal__head h2 { font-size: 1.05rem; margin: 2px 0 0; }
.modal__body { padding: 18px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.modal__foot { padding: 13px 18px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.service-form-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 18px; }
.token-reveal {
  font-family: "JetBrains Mono", monospace; font-size: 0.86rem; padding: 14px; border-radius: 10px;
  background: rgba(74, 159, 224, 0.08); border: 1px solid var(--accent-line); word-break: break-all;
  color: #dcedf9; text-align: center; letter-spacing: 0.04em;
}
.token-value {
  font-family: "JetBrains Mono", monospace; font-size: 0.85rem; padding: 10px 12px; border-radius: 9px;
  border: 1px solid var(--border); background: rgba(0, 0, 0, 0.28); color: #cfe5f7; word-break: break-all;
}
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(2, 3, 5, 0.92); }
.lightbox img { position: absolute; inset: 44px 16px 16px; width: calc(100% - 32px); height: calc(100% - 60px); object-fit: contain; margin: auto; }
.lightbox__close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }

/* ------------------------------------------------------------------ hero --- */
.landing { max-width: 1180px; margin: 0 auto; padding: 0 22px 54px; display: flex; flex-direction: column; gap: 48px; }
.hero { position: relative; padding: 62px 0 18px; max-width: 800px; }
.hero__glow { position: absolute; inset: -40px -120px auto -120px; height: 360px; z-index: -1; background: radial-gradient(60% 60% at 20% 25%, rgba(74, 159, 224, 0.16), transparent 70%), radial-gradient(50% 50% at 80% 10%, rgba(110, 120, 200, 0.1), transparent 70%); filter: blur(8px); pointer-events: none; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.05rem); line-height: 1.08; margin: 14px 0 12px; letter-spacing: -0.035em; font-weight: 650; }
.hero__lead { font-size: 1rem; color: #a8b0ba; max-width: 640px; margin: 0 0 22px; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 22px; font-size: 0.76rem; color: var(--faint); }
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta svg { width: 13px; height: 13px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-size: 0.95rem; }
.feature p { font-size: 0.82rem; margin: 0; }
.feature__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(74, 159, 224, 0.1); border: 1px solid var(--border); }
.feature__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.steps-band { display: flex; flex-direction: column; gap: 18px; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step-card { padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)); display: flex; flex-direction: column; gap: 7px; }
.step-number { font-family: "JetBrains Mono", monospace; font-size: 0.76rem; color: var(--accent-2); letter-spacing: 0.1em; }
.step-card h3 { font-size: 0.95rem; }
.step-card p { margin: 0; font-size: 0.82rem; }
.plans-band { display: flex; flex-direction: column; gap: 20px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.price-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.price-card--featured { border-color: var(--accent-line); box-shadow: 0 0 0 1px rgba(74, 159, 224, 0.12), 0 26px 60px -50px rgba(74, 159, 224, 0.7); }
.price-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-card__head h3 { font-size: 1rem; }
.price-card__price { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; margin: 0; }
.price-card .markdown { font-size: 0.82rem; }
.price-list { list-style: none; margin: 4px 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.8rem; color: #a9b2bc; }
.price-list li { display: flex; align-items: center; gap: 7px; }
.price-list svg { width: 13px; height: 13px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.api-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; padding: 24px; align-items: center; }
.api-band__text { display: flex; flex-direction: column; gap: 8px; }
.api-band__actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 6px; }
.code-preview {
  margin: 0; padding: 16px; border-radius: 12px; background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--border); font-family: "JetBrains Mono", monospace; font-size: 0.7rem;
  line-height: 1.65; color: #b9c9d6; overflow-x: auto; white-space: pre;
}

/* -------------------------------------------------------------- auth --- */
.auth-shell { max-width: 1040px; margin: 0 auto; padding: 44px 22px 70px; display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 44px; align-items: center; }
.auth-side { display: flex; flex-direction: column; gap: 14px; }
.auth-side h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -0.03em; margin: 4px 0; }
.auth-side > p { max-width: 470px; }
.auth-points { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.86rem; color: #aab3bd; }
.auth-points li { display: flex; align-items: center; gap: 9px; }
.auth-points svg { width: 14px; height: 14px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.auth-quote { padding: 16px; margin-top: 8px; max-width: 420px; }
.auth-quote p { font-size: 0.86rem; color: #b7c0c9; margin: 0 0 6px; }
.auth-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.auth-card__head { display: flex; align-items: center; gap: 12px; }
.auth-card__head h1, .auth-card__head h2 { font-size: 1.18rem; margin: 0; }
.auth-card__head p { margin: 2px 0 0; }
.auth-form { display: flex; flex-direction: column; gap: 13px; }
.auth-foot { display: flex; gap: 7px; justify-content: center; align-items: center; padding-top: 4px; border-top: 1px solid var(--border); }
.admin-login-card { width: min(430px, 100%); }
body.auth-body .topbar-actions .btn-primary { display: none; }

/* ---------------------------------------------------------------- factura --- */
.invoice-shell { max-width: 980px; margin: 0 auto; padding: 26px 20px 70px; display: flex; flex-direction: column; gap: 18px; }
.invoice-summary { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; overflow: hidden; padding: 0; }
.invoice-media { position: relative; min-height: 260px; background: radial-gradient(120% 120% at 20% 0%, rgba(74, 159, 224, 0.22), transparent 62%), rgba(255, 255, 255, 0.03); display: grid; place-items: center; overflow: hidden; }
.invoice-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.invoice-media__initials { font-size: 3rem; font-weight: 700; color: #9cc3de; letter-spacing: 0.05em; }
.invoice-media__badge { position: absolute; left: 12px; top: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(5, 6, 8, 0.7); border: 1px solid var(--border-strong); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: #cfe5f7; backdrop-filter: blur(6px); }
.invoice-info { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.invoice-info h1 { font-size: 1.5rem; margin: 0; }
.invoice-amount { font-size: 1.85rem; font-weight: 650; letter-spacing: -0.03em; color: #eaf4fd; }
.invoice-tags { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.invoice-description { font-size: 0.88rem; color: #aeb7c1; max-height: 260px; overflow-y: auto; padding-right: 4px; }
.invoice-customer { display: flex; flex-direction: column; gap: 1px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 0.84rem; }
.invoice-flow { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.flow-progress { display: flex; align-items: center; gap: 8px; max-width: 320px; }
.flow-progress__step { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-family: "JetBrains Mono", monospace; border: 1px solid var(--border); color: var(--faint); background: rgba(255, 255, 255, 0.02); }
.flow-progress__step.is-active { color: #eaf5fd; border-color: var(--accent-line); background: rgba(74, 159, 224, 0.16); }
.flow-progress__step.is-done { color: #a5e8cd; border-color: rgba(88, 185, 154, 0.4); }
.flow-progress__line { flex: 1; height: 1px; background: var(--border); }
.flow-step { display: flex; flex-direction: column; gap: 14px; animation: panel-in 0.24s ease both; }
.flow-step__head h2 { font-size: 1.1rem; margin: 0; }
.flow-step__head p { margin: 3px 0 0; }
.method-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.method-option {
  display: flex; align-items: center; gap: 11px; padding: 13px; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); color: var(--text);
  font: inherit; text-align: left; cursor: pointer; transition: border-color 0.16s ease, background 0.16s ease;
}
.method-option:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.035); }
.method-option.selected { border-color: var(--accent-line); background: rgba(74, 159, 224, 0.09); }
.method-option__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); flex: none; }
.method-option__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.method-option__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.method-option__body strong { font-size: 0.88rem; }
.method-option__body small { font-size: 0.74rem; }
.method-option__check { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; flex: none; }
.method-option__check svg { width: 11px; height: 11px; fill: none; stroke: transparent; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.method-option.selected .method-option__check { background: var(--accent); border-color: var(--accent); }
.method-option.selected .method-option__check svg { stroke: #061019; }
.chosen-method { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border); font-size: 0.84rem; }
.chosen-method__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.chosen-method .link-btn { margin-left: auto; }
.pay-blocks { display: flex; flex-direction: column; gap: 11px; }
.pay-block__title { font-size: 0.92rem; margin: 4px 0 0; }
.pay-block__text { font-size: 0.85rem; color: #aeb7c1; margin: 0; }
.copy-field { display: flex; flex-direction: column; gap: 5px; padding: 11px 12px; border-radius: 11px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.copy-field__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--faint); }
.copy-field__value { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.copy-field__value code { font-size: 0.92rem; letter-spacing: 0.05em; color: #e6f2fb; }
.copy-field__value .mono-strong { font-size: 1rem; letter-spacing: 0.12em; }
.copy-field__holder { font-size: 0.74rem; color: var(--muted); }
.copy-btn {
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: var(--muted);
  border-radius: 7px; font: inherit; font-size: 0.68rem; padding: 4px 9px; cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease; flex: none;
}
.copy-btn:hover { color: var(--text); border-color: var(--accent-line); }
.copy-btn.is-done { color: #a5e8cd; border-color: rgba(88, 185, 154, 0.4); }
.pay-image { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.pay-image img { width: 100%; max-height: 260px; object-fit: contain; border-radius: 10px; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.3); }
.pay-image figcaption { font-size: 0.72rem; color: var(--faint); text-align: center; }
.status-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 8px; }
.status-hero h2 { font-size: 1.25rem; margin: 4px 0 0; }
.status-hero p { max-width: 460px; margin: 0; font-size: 0.86rem; }
.status-hero__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.03); }
.status-hero__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.status-hero--ok .status-hero__icon { border-color: rgba(88, 185, 154, 0.4); background: rgba(88, 185, 154, 0.1); }
.status-hero--ok .status-hero__icon svg { stroke: #a5e8cd; }
.live-note { display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; color: var(--warn); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse-warn 1.6s ease-in-out infinite; }
.status-shot { width: min(320px, 100%); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.3); }
.status-shot img { width: 100%; display: block; max-height: 260px; object-fit: cover; }
.status-actions { justify-content: center; }
.invoice-foot { text-align: center; margin: 0; }
.upload-screen { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.upload-screen::backdrop { background: rgba(3, 4, 6, 0.9); backdrop-filter: blur(10px); }
.upload-screen__inner {
  position: absolute; inset: 0; margin: auto; width: min(880px, calc(100% - 20px)); height: calc(100vh - 20px);
  max-height: 880px; background: #08090b; border: 1px solid var(--border-strong); border-radius: 16px;
  display: flex; flex-direction: column; gap: 14px; padding: 18px; overflow-y: auto;
  box-shadow: 0 40px 90px -40px #000;
}
.upload-screen__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.upload-screen__head h2 { font-size: 1.1rem; margin: 3px 0 0; }
.upload-screen__head p { margin: 3px 0 0; }
.upload-drop {
  position: relative; flex: 1; min-height: 300px; border-radius: 14px; border: 1px dashed var(--border-strong);
  background: rgba(255, 255, 255, 0.02); display: grid; place-items: center; cursor: pointer;
  overflow: hidden; transition: border-color 0.16s ease, background 0.16s ease; text-align: center;
}
.upload-drop:hover, .upload-drop.is-dragging { border-color: var(--accent-line); background: rgba(74, 159, 224, 0.06); }
.upload-drop img { width: 100%; height: 100%; object-fit: contain; max-height: 52vh; }
.upload-drop__empty { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 30px; }
.upload-drop__empty svg { width: 34px; height: 34px; fill: none; stroke: var(--accent-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.upload-drop__empty strong { font-size: 0.95rem; }
.upload-drop__change {
  position: absolute; right: 12px; bottom: 12px; padding: 6px 11px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: rgba(5, 6, 8, 0.8); color: #e6f2fb;
  font: inherit; font-size: 0.74rem; cursor: pointer; backdrop-filter: blur(6px);
}
.upload-meta { display: flex; justify-content: space-between; gap: 10px; }
.upload-error { color: #f0b8bd; font-size: 0.8rem; margin: 0; min-height: 18px; }
.upload-screen__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }

/* ------------------------------------------------------------ documentación --- */
.docs-shell { max-width: 1180px; margin: 0 auto; padding: 26px 22px 70px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.docs-nav { position: sticky; top: 22px; padding: 16px; display: flex; flex-direction: column; gap: 3px; }
.docs-nav a { font-size: 0.8rem; color: var(--muted); padding: 6px 8px; border-radius: 7px; transition: background 0.16s ease, color 0.16s ease; }
.docs-nav a:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.docs-nav .eyebrow { padding: 0 8px 6px; }
.docs-content { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.doc-section { padding: 20px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 24px; }
.doc-section h2 { font-size: 1.1rem; }
.doc-section h3 { font-size: 0.92rem; margin-top: 6px; }
.doc-section p { font-size: 0.87rem; margin: 0; }
.doc-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; font-size: 0.85rem; color: #aeb7c1; }
.doc-list li::marker { color: var(--accent-2); }
.endpoint { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border); align-self: flex-start; }
.endpoint code { font-size: 0.76rem; color: #d6e2ec; }
.method { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; padding: 2px 6px; border-radius: 5px; }
.method--get { color: #9ee0c6; background: rgba(88, 185, 154, 0.14); }
.method--post { color: #cfe4f4; background: rgba(74, 159, 224, 0.18); }
.code-wrap { position: relative; }
.code-wrap .copy-btn { position: absolute; right: 8px; top: 8px; }
.code-block {
  margin: 0; padding: 14px 16px; border-radius: 11px; background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border); font-family: "JetBrains Mono", monospace; font-size: 0.72rem;
  line-height: 1.65; color: #b9c9d6; overflow-x: auto; white-space: pre;
}
code.inline {
  font-family: "JetBrains Mono", monospace; font-size: 0.78em; padding: 1px 5px;
  border-radius: 5px; background: rgba(255, 255, 255, 0.06); color: #d6e6f2;
}
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; min-width: 460px; }
.data-table th { text-align: left; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); padding: 8px 10px; border-bottom: 1px solid var(--border); font-weight: 600; }
.data-table td { padding: 9px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); color: #b3bcc6; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table code { font-size: 0.72rem; color: #d6e2ec; }
.data-table select { padding: 5px 24px 5px 8px; font-size: 0.74rem; }

/* --------------------------------------------------------------- admin --- */
.admin-page { max-width: 1180px; }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, 0.016); }
.admin-item:hover { background: rgba(255, 255, 255, 0.028); }
.admin-item__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(74, 159, 224, 0.1); border: 1px solid var(--border); color: #cfe5f7; font-size: 0.9rem; font-weight: 700; }
.admin-item__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.admin-item__title { font-size: 0.92rem; margin: 0; overflow-wrap: anywhere; }
.admin-item__text { font-size: 0.77rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.admin-item__actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.admin-item__actions .btn { padding: 5px 9px; font-size: 0.72rem; }
.builder { border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.builder__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.builder__head h3 { font-size: 0.92rem; margin: 0; }
.builder__head p { margin: 2px 0 0; }
.builder__tools { display: flex; gap: 5px; flex-wrap: wrap; }
.builder__tools .btn { padding: 4px 8px; font-size: 0.7rem; }
.builder__list { display: flex; flex-direction: column; gap: 8px; }
.block-card { border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 255, 255, 0.02); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.block-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.block-card__type { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.block-card__tools { display: flex; gap: 4px; }
.block-card__tools .icon-btn { width: 24px; height: 24px; border-radius: 6px; }
.block-card__tools .icon-btn svg { width: 13px; height: 13px; }
.block-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.block-fields .field--wide { grid-column: 1 / -1; }
.block-fields input, .block-fields textarea, .block-fields select { padding: 7px 9px; font-size: 0.79rem; }
.block-fields textarea { min-height: 60px; }
.block-fields .field > label { font-size: 0.68rem; }
.block-image-row { display: flex; gap: 8px; align-items: center; }
.block-image-row input[type="text"] { flex: 1; }
.block-preview { max-height: 90px; border-radius: 7px; border: 1px solid var(--border); object-fit: cover; }
.admin-title + .topbar-actions { margin-left: auto; }

/* -------------------------------------------------------------- responsive --- */
@media (max-width: 1000px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-grid, .split-grid--auth { grid-template-columns: 1fr; }
  .feature-grid, .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .api-band { grid-template-columns: 1fr; }
  .docs-shell { grid-template-columns: 1fr; }
  .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .docs-nav .eyebrow { display: none; }
  .auth-shell { grid-template-columns: 1fr; gap: 26px; }
  .auth-side { order: 2; }
  .service-form-grid { grid-template-columns: 1fr; }
  .invoice-summary { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .page { padding: 20px 14px 56px; }
  .topbar-inner { padding: 10px 14px; }
  .feature-grid, .step-grid { grid-template-columns: 1fr; }
  .invoice-summary { grid-template-columns: 1fr; }
  .invoice-media { min-height: 190px; aspect-ratio: 16 / 9; }
  .purchase-card { grid-template-columns: 1fr; }
  .purchase-card__media { min-height: 130px; max-height: 180px; }
  .modal { width: calc(100% - 12px); max-height: calc(100vh - 12px); }
  .modal__panel { max-height: calc(100vh - 12px); }
  .form-grid { grid-template-columns: 1fr; }
  .block-fields { grid-template-columns: 1fr; }
  .upload-screen__inner { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .upload-drop { min-height: 240px; }
  .docs-shell { padding: 18px 14px 56px; }
  .invoice-shell { padding: 18px 14px 56px; }
  .auth-shell { padding: 26px 14px 56px; }
  .landing { padding: 0 14px 40px; gap: 34px; }
  .hero { padding-top: 40px; }
  .stat-card__value { font-size: 1.2rem; }
  .admin-item { grid-template-columns: 36px minmax(0, 1fr); }
  .admin-item__actions { grid-column: 1 / -1; justify-content: flex-start; }
  .builder__tools .btn { padding: 4px 7px; }
}
@media (max-width: 460px) {
  .stat-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .invoice-amount { font-size: 1.55rem; }
  .flow-progress { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tab-panel, .flow-step { animation: none; }
  .status-pill--warn .status-pill__dot, .live-dot { animation: none; }
}
