:root {
  --bg: #f3f5fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-soft: rgba(245, 247, 255, 0.92);
  --line: rgba(106, 125, 167, 0.18);
  --line-strong: rgba(74, 96, 142, 0.32);
  --text: #18233f;
  --muted: #66718f;
  --primary: #ff6a3d;
  --primary-strong: #ff3d77;
  --primary-soft: rgba(255, 106, 61, 0.12);
  --secondary: #6d3eff;
  --danger: #d23c68;
  --danger-soft: #fff1f5;
  --success: #168a63;
  --shadow: 0 22px 70px rgba(32, 43, 82, 0.10);
  --shadow-strong: 0 28px 90px rgba(26, 31, 58, 0.16);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 106, 61, 0.16), transparent 22%),
    radial-gradient(circle at 92% 14%, rgba(109, 62, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #f8faff 0, #eef1fb 220px, var(--bg) 100%);
}

body:not(.landing-body) {
  --header-offset: 108px;
}

body.no-scroll {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(16, 21, 43, 0.88), rgba(28, 35, 69, 0.82));
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 48px rgba(8, 12, 29, 0.18);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
  color: #f9fbff;
}

.brand h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: rgba(230, 235, 255, 0.72);
  font-size: 0.94rem;
}

.menu-toggle {
  width: 52px;
  height: 52px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  flex: 0 0 auto;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.header-context {
  display: grid;
  gap: 3px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 214, 170, 0.30);
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 106, 61, 0.96), rgba(255, 61, 119, 0.92));
  box-shadow: 0 18px 40px rgba(255, 61, 119, 0.22);
  text-align: right;
  flex: 0 0 auto;
}

.header-context-label {
  color: rgba(255, 244, 230, 0.86);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-context strong {
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.header-context small {
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
}

.nav-shell {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(360px, calc(100vw - 28px));
  height: 100vh;
  padding: 22px 16px 22px 20px;
  background:
    radial-gradient(circle at top right, rgba(255, 106, 61, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(16, 18, 34, 0.985), rgba(20, 24, 46, 0.985));
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 18px 0 50px rgba(0, 0, 0, 0.34);
  z-index: 200;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-18px);
  transition: opacity 0.24s ease, transform 0.28s ease, visibility 0.28s ease;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

.nav-shell::-webkit-scrollbar {
  width: 10px;
}

.nav-shell::-webkit-scrollbar-track {
  background: #14182e;
}

.nav-shell::-webkit-scrollbar-thumb {
  background: #14182e;
  border-radius: 999px;
}

.nav-shell {
  scrollbar-color: #14182e #14182e;
  scrollbar-width: thin;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.nav-shell-inner {
  display: grid;
  gap: 22px;
}

.nav-shell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.nav-shell-brand {
  display: grid;
  gap: 6px;
  color: #f7f7f7;
}

.nav-shell-brand strong {
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.nav-shell-brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.nav-close {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.nav-close:hover {
  background: rgba(255, 255, 255, 0.10);
}

.main-nav {
  display: grid;
  gap: 10px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.10);
  transform: translateX(3px);
}

.main-nav a.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 40px rgba(255, 61, 119, 0.22);
}

.logout-form {
  margin: 0;
}

.logout-form .btn {
  width: 100%;
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.10);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

body.js-nav.menu-open .nav-shell {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

body.js-nav.menu-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.js-nav.menu-open .nav-shell,
body.js-nav.menu-open .nav-shell * {
  pointer-events: auto;
}

.page-container {
  width: min(1320px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding: var(--header-offset, 136px) 0 34px;
  display: grid;
  gap: 20px;
}

.section-head,
.card,
.auth-card,
.modal-card,
.form-grid,
.form-row,
.inline-grid,
.table-wrap,
.purchase-footer,
.modal-actions {
  min-width: 0;
  max-width: 100%;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: -0.05em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 64ch;
}

.section-head {
  padding: 8px 4px 2px;
}

.section-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.auth-shell {
  min-height: 82vh;
  display: grid;
  place-items: center;
  padding: 0 12px;
}

.auth-card,
.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: visible;
}

.auth-card {
  width: min(460px, 100%);
}

.sub-card {
  background: var(--surface-soft);
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.44);
}

.card > h3,
.auth-card > h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cards-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.metric {
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.metric::after {
  content: "";
  position: absolute;
  inset: auto -22px -28px auto;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(109, 62, 255, 0.12), transparent 70%);
}

.metric span {
  color: var(--muted);
  font-size: 0.92rem;
}

.metric strong {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.metric small {
  color: var(--muted);
}

.form-grid,
.inline-grid,
.form-row {
  display: grid;
  gap: 12px;
}

.form-row {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
}

.inline-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
}

.autocomplete-shell {
  position: relative;
  z-index: 25;
}

.autocomplete-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 44px rgba(31, 41, 75, 0.16);
  max-height: 240px;
  overflow-y: auto;
}

.autocomplete-option {
  border: 0;
  border-radius: 14px;
  padding: 11px 12px;
  text-align: left;
  cursor: pointer;
  background: rgba(244, 247, 255, 0.92);
  color: var(--text);
  font: inherit;
  font-weight: 700;
}

.autocomplete-option:hover {
  background: rgba(255, 106, 61, 0.10);
}

.field {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field.grow-2 {
  grid-column: span 6;
}

.field.mode-field {
  grid-column: span 4;
}

.field.action-field {
  justify-content: flex-end;
}

.toggle-field {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}

.toggle-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

label {
  font-size: 0.92rem;
  color: #52607f;
  font-weight: 700;
}

input,
select,
button,
textarea {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px 15px;
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input::placeholder,
select,
textarea::placeholder {
  color: #8a93ac;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 106, 61, 0.45);
  box-shadow: 0 0 0 5px rgba(255, 106, 61, 0.12);
}

.btn {
  width: auto;
  cursor: pointer;
  border: 1px solid var(--line);
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0, rgba(241, 244, 255, 0.96) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  max-width: 100%;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(45, 57, 105, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(45, 57, 105, 0.12);
}

.action-field .btn {
  width: 100%;
}

.btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.btn-light {
  background: rgba(255, 255, 255, 0.96);
}

.btn-danger {
  color: #b3194b;
  background: linear-gradient(180deg, #fff5f8 0, #ffeef3 100%);
  border-color: rgba(210, 60, 104, 0.18);
}

.btn-whatsapp {
  color: #0c6a4d;
  background: linear-gradient(180deg, #ecfff6 0, #dff7ec 100%);
  border-color: rgba(22, 138, 99, 0.18);
}

.btn-whatsapp::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' d='M19.11 17.35c-.27-.14-1.6-.79-1.85-.88-.25-.09-.43-.14-.61.14-.18.27-.7.88-.86 1.06-.16.18-.31.2-.58.07-.27-.14-1.13-.42-2.15-1.34-.8-.71-1.34-1.59-1.5-1.86-.16-.27-.02-.41.12-.54.12-.12.27-.31.41-.47.14-.16.18-.27.27-.45.09-.18.05-.34-.02-.47-.07-.14-.61-1.47-.84-2.01-.22-.53-.45-.46-.61-.47h-.52c-.18 0-.47.07-.71.34-.25.27-.95.93-.95 2.26 0 1.34.97 2.63 1.11 2.81.14.18 1.91 2.92 4.63 4.09.65.28 1.15.45 1.54.58.65.21 1.24.18 1.71.11.52-.08 1.6-.65 1.83-1.27.23-.62.23-1.15.16-1.27-.07-.11-.25-.18-.52-.32Z'/%3E%3Cpath fill='black' d='M27.19 4.8A15.88 15.88 0 0 0 16.04.03C7.26.03.13 7.15.13 15.93c0 2.8.73 5.53 2.11 7.93L0 32l8.33-2.18a15.85 15.85 0 0 0 7.71 1.98h.01c8.78 0 15.91-7.13 15.91-15.91 0-4.25-1.65-8.24-4.77-11.09Zm-11.15 24.3h-.01a13.2 13.2 0 0 1-6.72-1.84l-.48-.29-4.94 1.29 1.32-4.81-.31-.49a13.2 13.2 0 0 1-2.03-7.03c0-7.29 5.93-13.23 13.22-13.23 3.52 0 6.82 1.37 9.3 3.84a13.08 13.08 0 0 1 3.88 9.38c0 7.29-5.94 13.23-13.23 13.23Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn-sm {
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 0.88rem;
  min-height: 38px;
}

.alert {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(32, 43, 82, 0.06);
}

.alert-success {
  color: var(--success);
  background: #ecfff6;
  border-color: #c7f0dd;
}

.alert-error {
  color: var(--danger);
  background: #fff2f6;
  border-color: #ffd2dc;
}

.table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  max-width: 100%;
  border-radius: 22px;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.5);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(106, 125, 167, 0.12);
  text-align: left;
  vertical-align: middle;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
}

th {
  color: #41506f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(245, 247, 255, 0.92);
}

tbody tr:hover td {
  background: rgba(255, 106, 61, 0.04);
}

.inline-form {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.inline-form.inline-form-compact {
  display: inline-flex;
}

.inline-form.inline-form-compact button {
  width: auto;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.table-actions .btn,
.table-actions .inline-form {
  margin: 0;
}

.search-row {
  margin-bottom: 4px;
}

.purchase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.purchase-total {
  font-size: 1.08rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-x: hidden;
  background: rgba(14, 18, 35, 0.52);
}

.modal-card {
  width: min(760px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  padding: 24px;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.modal-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.modal-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
}

.plan-pill {
  display: inline-grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 106, 61, 0.12), rgba(109, 62, 255, 0.08));
  border: 1px solid rgba(255, 106, 61, 0.14);
}

.plan-pill span,
.muted {
  color: var(--muted);
  font-size: 0.82rem;
}

.hidden {
  display: none !important;
}

.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-actions-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.btn-action {
  min-height: 74px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 700;
  justify-content: flex-start;
  padding: 18px 20px;
  box-shadow: 0 20px 40px rgba(39, 49, 91, 0.12);
}

.btn-action-inline {
  min-height: 58px;
  padding: 14px 18px;
  border-radius: 20px;
  justify-content: center;
}

.btn-action:hover {
  transform: translateY(-2px);
}

.highlight-card {
  position: relative;
  overflow: hidden;
}

.seller-billing-card {
  width: min(920px, 100%);
  display: grid;
  gap: 18px;
}

.billing-body {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 106, 61, 0.20), transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(109, 62, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #f9fbff 0, #eef2ff 48%, #f3f5fb 100%);
}

.billing-body .page-container {
  width: min(1180px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  padding-top: 26px;
}

.seller-billing-card-modern {
  width: min(1120px, 100%);
  padding: 30px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 106, 61, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 251, 255, 0.92));
  box-shadow: 0 34px 90px rgba(30, 41, 77, 0.14);
}

.seller-billing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.seller-billing-kicker {
  margin-bottom: 16px;
  background: rgba(255, 106, 61, 0.1);
  color: var(--primary-strong);
}

.seller-billing-hero-copy {
  display: grid;
  gap: 14px;
}

.seller-billing-hero-copy h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 14ch;
}

.seller-billing-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 62ch;
}

.seller-billing-highlight,
.seller-billing-side-note {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 40px rgba(37, 47, 92, 0.08);
}

.seller-billing-highlight {
  display: inline-grid;
  width: fit-content;
  gap: 6px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(255, 106, 61, 0.96), rgba(255, 61, 119, 0.92));
  color: #fff;
}

.seller-billing-highlight strong {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.seller-billing-highlight span {
  color: rgba(255, 244, 240, 0.9);
  font-weight: 700;
}

.seller-billing-side-note {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(109, 62, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(18, 24, 48, 0.96), rgba(26, 33, 63, 0.94));
  color: #fff;
}

.seller-billing-side-note span {
  color: rgba(255, 202, 184, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seller-billing-side-note strong {
  font-size: 1.32rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.seller-billing-side-note small {
  color: rgba(231, 236, 255, 0.76);
  font-size: 0.94rem;
  line-height: 1.5;
}

.seller-billing-metrics {
  gap: 14px;
}

.seller-billing-metric {
  background: rgba(255, 255, 255, 0.78);
}

.seller-billing-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.seller-billing-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 42px rgba(33, 43, 83, 0.08);
}

.seller-billing-panel-info {
  background:
    radial-gradient(circle at top right, rgba(109, 62, 255, 0.10), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 249, 255, 0.82));
}

.seller-billing-panel-payment {
  background:
    radial-gradient(circle at top right, rgba(255, 106, 61, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 251, 255, 0.86));
}

.seller-billing-amount-banner {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 106, 61, 0.12), rgba(255, 61, 119, 0.08));
  border: 1px solid rgba(255, 106, 61, 0.16);
}

.seller-billing-amount-banner span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seller-billing-amount-banner strong {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.seller-billing-amount-banner small {
  color: var(--muted);
  font-size: 0.92rem;
}

.seller-billing-pix-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.seller-billing-pix-card,
.seller-billing-pix-details {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.seller-billing-pix-card {
  justify-items: center;
  text-align: center;
}

.seller-billing-pix-qr {
  display: block;
  width: min(100%, 280px);
  border-radius: 20px;
  border: 1px solid rgba(83, 95, 137, 0.12);
  background: #fff;
  padding: 12px;
}

.seller-billing-pix-card strong,
.seller-billing-pix-detail strong {
  font-size: 1rem;
}

.seller-billing-pix-card span,
.seller-billing-pix-detail span {
  color: var(--muted);
}

.seller-billing-pix-detail {
  display: grid;
  gap: 6px;
}

.seller-billing-pix-detail textarea {
  min-height: 132px;
  resize: none;
  font-size: 0.92rem;
  line-height: 1.5;
}

.seller-billing-head {
  display: grid;
  gap: 6px;
}

.seller-billing-head h3 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.seller-billing-steps {
  display: grid;
  gap: 14px;
}

.seller-billing-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.seller-billing-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
}

.seller-billing-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.seller-billing-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.seller-billing-brick-shell {
  position: relative;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 255, 0.9));
  min-height: 320px;
}

.seller-billing-loading {
  position: absolute;
  inset: 18px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  border-radius: 20px;
  background: rgba(246, 248, 255, 0.92);
  border: 1px solid rgba(210, 219, 245, 0.68);
  z-index: 2;
}

.seller-billing-loading strong {
  font-size: 1rem;
}

.seller-billing-loading span {
  color: var(--muted);
  max-width: 28ch;
}

.seller-billing-loading-dot {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 4px solid rgba(255, 106, 61, 0.14);
  border-top-color: var(--primary-strong);
  animation: billing-spin 0.9s linear infinite;
}

#cardPaymentBrick_container {
  min-height: 280px;
}

.seller-billing-footer {
  margin-top: 0;
}

@keyframes billing-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.metrics-panel {
  gap: 18px;
}

.metrics-panel-head {
  margin-bottom: 0;
}

.metrics-toggle {
  display: none;
}

.metrics-grid {
  margin-top: 0;
}

.due-soon-card {
  background: linear-gradient(180deg, rgba(255, 248, 232, 0.96), rgba(255, 255, 255, 0.92));
  border-color: rgba(239, 173, 64, 0.24);
}

.due-soon-card h3 {
  color: #b76700;
}

.overdue-card {
  background: linear-gradient(180deg, rgba(255, 240, 245, 0.96), rgba(255, 255, 255, 0.92));
  border-color: rgba(210, 60, 104, 0.22);
}

.overdue-card h3 {
  color: #b3194b;
}

.btn-block {
  width: 100%;
}

.landing-body {
  background:
    radial-gradient(circle at 12% 12%, rgba(15, 118, 110, 0.25), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.48), transparent 20%),
    linear-gradient(145deg, #062b2a 0%, #0d4f4b 42%, #e7efed 42%, #eef4f2 100%);
}

.landing-body .page-container {
  width: min(1320px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  padding: 28px 0 40px;
}

.landing-shell {
  min-height: calc(100vh - 56px);
  display: grid;
  align-items: center;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 430px);
  gap: 24px;
  align-items: stretch;
}

.landing-copy {
  padding: 34px;
  border-radius: 32px;
  color: #f6fbfa;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(5, 37, 35, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(3, 24, 23, 0.34);
  backdrop-filter: blur(18px);
}

.landing-kicker,
.landing-access-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-kicker {
  background: rgba(155, 245, 222, 0.14);
  color: #b7f3e8;
}

.landing-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 11ch;
}

.landing-copy > p {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgba(237, 246, 244, 0.88);
  font-size: 1.06rem;
}

.landing-proof {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 210, 122, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(255, 119, 61, 0.95) 0%, rgba(219, 39, 119, 0.92) 50%, rgba(109, 40, 217, 0.9) 100%);
  border: 1px solid rgba(255, 214, 170, 0.34);
  box-shadow: 0 24px 56px rgba(74, 16, 73, 0.28);
}

.landing-proof-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 244, 230, 0.18);
  border: 1px solid rgba(255, 236, 214, 0.34);
  color: #fff5ea;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-proof strong {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.3;
  color: #fff8f5;
  letter-spacing: -0.03em;
}

.landing-proof-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 102px;
  padding: 10px 16px;
  border-radius: 20px;
  background: rgba(255, 248, 243, 0.18);
  border: 1px solid rgba(255, 235, 220, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.landing-proof p {
  margin: 0;
  color: rgba(255, 245, 240, 0.92);
  font-size: 0.98rem;
  line-height: 1.5;
}

.landing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.landing-chips span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e9f7f4;
  font-size: 0.94rem;
}

.landing-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.landing-panel {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-panel.accent {
  background: linear-gradient(135deg, rgba(136, 255, 223, 0.16), rgba(255, 255, 255, 0.08));
}

.landing-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.landing-panel p {
  margin: 0;
  color: rgba(237, 246, 244, 0.84);
  line-height: 1.5;
}

.landing-access {
  display: grid;
  gap: 16px;
}

.landing-cta {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 28px;
  text-decoration: none;
  color: #f7fffd;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.24), transparent 26%),
    linear-gradient(135deg, #14b889 0%, #0f766e 48%, #083c39 100%);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 22px 50px rgba(6, 51, 48, 0.28);
  overflow: hidden;
}

.landing-cta::after {
  content: "";
  position: absolute;
  inset: auto -30px -36px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

.landing-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(6, 51, 48, 0.34);
}

.landing-cta-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-cta strong {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.landing-cta small {
  position: relative;
  z-index: 1;
  color: rgba(247,255,253,0.88);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 32ch;
}

.landing-access-card {
  align-self: center;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 80px rgba(7, 28, 27, 0.18);
}

.landing-access-label {
  background: #e7f6f3;
  color: var(--primary-strong);
}

.landing-access-card h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.landing-access-card p {
  margin: 10px 0 20px;
  color: var(--muted);
}

.landing-form {
  gap: 14px;
}

.landing-access-footer {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.landing-access-footer a {
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: none;
}

.landing-access-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 1180px) {
  .cards-grid-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .cards-grid,
  .cards-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field {
    grid-column: span 6;
  }

  .field.grow-2,
  .field.mode-field {
    grid-column: span 12;
  }

  .dashboard-actions,
  .dashboard-actions-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .landing-hero {
    grid-template-columns: 1fr;
  }

  .landing-copy h1 {
    max-width: 100%;
  }

  .seller-billing-hero,
  .seller-billing-layout,
  .seller-billing-pix-layout {
    grid-template-columns: 1fr;
  }

  .seller-billing-hero-copy h2 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  body:not(.landing-body) {
    --header-offset: 102px;
  }

  .app-header {
    padding: 14px 12px;
  }

  .header-context {
    display: none;
  }

  .nav-shell {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    padding: 18px 16px 22px;
    border-right: 0;
    transform: translateY(-14px);
    z-index: 210;
  }

  .nav-shell-inner {
    display: grid;
    gap: 18px;
  }

  body.js-nav.menu-open .nav-shell {
    transform: translateY(0);
  }

  body.menu-open {
    overflow: hidden;
  }

  .main-nav a {
    text-align: center;
  }

  .page-container {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    padding: 102px 0 26px;
  }

  .card,
  .auth-card,
  .modal-card {
    padding: 16px;
    border-radius: 20px;
  }

  .cards-grid,
  .cards-grid-2,
  .cards-grid-4,
  .cards-grid-6,
  .dashboard-actions-4 {
    grid-template-columns: 1fr;
  }

  .dashboard-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metrics-toggle {
    display: inline-flex;
  }

  .metrics-grid {
    display: none;
  }

  .metrics-grid.metrics-grid-open {
    display: grid;
  }

  .field,
  .field.grow-2,
  .field.mode-field {
    grid-column: span 12;
  }

  .inline-grid {
    grid-template-columns: 1fr;
  }

  .purchase-footer {
    align-items: stretch;
  }

  .purchase-footer .btn {
    width: 100%;
  }

  .btn-action {
    min-height: 58px;
    padding: 14px 14px;
    border-radius: 18px;
    font-size: 0.94rem;
  }

  .btn-action-inline {
    width: 100%;
  }

  table {
    min-width: 560px;
  }

  .landing-body .page-container {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    padding: 16px 0 28px;
  }

  .landing-copy,
  .landing-access-card {
    padding: 22px;
    border-radius: 24px;
  }

  .landing-proof {
    padding: 16px 18px;
    border-radius: 20px;
  }

  .landing-proof strong {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .billing-body .page-container {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    padding-top: 18px;
  }

  .seller-billing-card-modern {
    padding: 18px;
    border-radius: 24px;
  }

  .seller-billing-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .seller-billing-highlight {
    width: 100%;
  }

  .landing-panels {
    grid-template-columns: 1fr;
  }

  .landing-copy h1 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .brand h1 {
    font-size: 2rem;
  }

  .brand small {
    font-size: 0.9rem;
  }

  input,
  select,
  button,
  textarea {
    font-size: 16px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .app-header {
    padding: 12px;
  }

  .header-top {
    gap: 12px;
  }

  .brand {
    text-align: left;
  }

  .page-container {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    padding: 98px 0 22px;
  }

  .card,
  .auth-card,
  .modal-card {
    padding: 14px;
    border-radius: 18px;
  }

  .table-actions {
    flex-wrap: wrap;
  }

  .table-actions .btn,
  .table-actions .inline-form {
    flex: 0 1 auto;
  }

  .dashboard-actions {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-panel-head .btn {
    width: 100%;
  }

  table {
    min-width: 500px;
  }

  .landing-shell {
    min-height: auto;
  }

  .landing-copy,
  .landing-access-card {
    padding: 18px;
    border-radius: 22px;
  }

  .landing-proof strong {
    font-size: 1rem;
  }

  .landing-proof-number {
    min-width: 88px;
    padding: 9px 14px;
    border-radius: 18px;
    font-size: 1.55rem;
  }

  .seller-billing-brick-shell {
    padding: 14px;
    min-height: 280px;
  }

  .seller-billing-loading {
    inset: 14px;
    padding: 18px;
  }

  .landing-chips span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .landing-cta {
    padding: 18px;
    border-radius: 24px;
  }
}

@media (max-width: 520px) {
  .landing-cta {
    padding: 18px;
    border-radius: 22px;
  }
}

.landing-cta-stack {
  display: grid;
  gap: 14px;
}

.landing-cta {
  align-content: start;
}

.landing-cta-secondary {
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(15,118,110,0.14), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(233,248,245,0.98) 100%);
  border-color: rgba(15,118,110,0.16);
  box-shadow: 0 18px 44px rgba(8, 61, 57, 0.12);
}

.landing-cta-secondary .landing-cta-kicker {
  background: rgba(15,118,110,0.08);
  border-color: rgba(15,118,110,0.12);
  color: var(--primary-strong);
}

.landing-cta-secondary small {
  color: var(--muted);
}
.metric-trial {
  background: linear-gradient(135deg, rgba(255, 246, 213, 0.96), rgba(255, 251, 236, 0.98));
  border-color: rgba(220, 176, 71, 0.34);
}

.trial-panel {
  border-color: rgba(220, 176, 71, 0.28);
  background: linear-gradient(180deg, rgba(255, 251, 236, 0.95), rgba(255, 255, 255, 0.92));
}

.trial-row {
  background: rgba(255, 248, 223, 0.72);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-badge-trial {
  background: #fff2c4;
  color: #8a5b00;
  border: 1px solid rgba(181, 129, 0, 0.2);
}

.status-badge-open {
  background: #eef4ff;
  color: #3557b7;
  border: 1px solid rgba(53, 87, 183, 0.16);
}

.status-badge-paid {
  background: #ecfff6;
  color: #168a63;
  border: 1px solid rgba(22, 138, 99, 0.18);
}

.status-badge-overdue {
  background: #fff2f6;
  color: #c12d5e;
  border: 1px solid rgba(193, 45, 94, 0.18);
}



