:root {
  color-scheme: light;
  --bg: #eef6ff;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --line: #cfe0f6;
  --text: #102033;
  --muted: #5f7188;
  --primary: #0b66d8;
  --primary-strong: #084eaa;
  --primary-soft: #e5f1ff;
  --accent: #18a0fb;
  --accent-strong: #0068d9;
  --success: #087f5b;
  --warning: #b45309;
  --danger: #b42318;
  --shadow: 0 18px 45px rgba(8, 78, 170, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff, #fbfcfe 52%, #f6f9fd),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 44px;
}

.icon-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--primary-strong);
  box-shadow: none;
  font-size: 15px;
  line-height: 1;
}

.icon-button:hover {
  background: var(--primary-soft);
}

button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(11, 102, 216, 0.18);
}

button:hover {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

button.secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--primary-strong);
  box-shadow: none;
}

button.secondary:hover {
  background: var(--primary-soft);
}

.google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--primary-strong);
  box-shadow: none;
}

.google-button:hover {
  background: var(--primary-soft);
}

.google-button span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--text);
}

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(24, 160, 251, 0.16);
  outline: none;
}

.app-shell {
  width: min(100%, calc(100vw - 32px));
  max-width: 1560px;
  margin: 0 auto;
  padding: 28px 0 36px;
}

.hero-page {
  position: relative;
  display: grid;
  gap: 36px;
  isolation: isolate;
}

.hero-page::before,
.hero-page::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero-page::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 120px;
  background:
    radial-gradient(circle at 30% 30%, rgba(37, 211, 102, 0.16), transparent 34%),
    radial-gradient(circle at 68% 34%, rgba(11, 102, 216, 0.14), transparent 30%),
    radial-gradient(circle at 50% 72%, rgba(124, 92, 255, 0.12), transparent 28%),
    radial-gradient(circle at 46% 48%, rgba(246, 196, 0, 0.12), transparent 22%);
  filter: blur(10px);
}

.hero-page::after {
  width: 300px;
  height: 300px;
  left: -100px;
  top: 360px;
  background:
    radial-gradient(circle at 35% 35%, rgba(11, 102, 216, 0.12), transparent 38%),
    radial-gradient(circle at 68% 60%, rgba(37, 211, 102, 0.12), transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(246, 196, 0, 0.1), transparent 24%);
  filter: blur(10px);
}

.hero-page .hero-grid {
  position: relative;
}

.hero-page .hero-grid::before {
  content: "";
  position: absolute;
  inset: 120px 6% auto auto;
  width: min(54vw, 680px);
  height: 240px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.7), transparent 26%),
    linear-gradient(90deg, rgba(37, 211, 102, 0.16), rgba(11, 102, 216, 0.14), rgba(124, 92, 255, 0.16), rgba(246, 196, 0, 0.11));
  filter: blur(8px);
  opacity: 0.82;
  z-index: -1;
  pointer-events: none;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}

.hero-logo {
  color: var(--primary);
  flex-direction: row;
  align-items: center;
  gap: 10px;
  max-width: min(760px, 54vw);
  flex: 1 1 auto;
  min-width: 0;
}

.hero-logo img {
  height: 42px;
}

.hero-logo-text {
  color: #1b6f4b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: 100%;
  display: block;
}

.hero-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}

.hero-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.hero-nav a:hover {
  color: var(--primary);
}

.hero-nav .nav-link {
  color: var(--primary-strong);
}

.hero-nav .nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  background: #1d8f4f;
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-height: 620px;
  padding: clamp(32px, 4vw, 56px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.12), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.08), transparent 20%),
    linear-gradient(135deg, #218a45 0%, #1e7e3f 48%, #166934 100%);
  box-shadow: 0 24px 54px rgba(14, 74, 36, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 12%, transparent 12% 38%, rgba(255, 255, 255, 0.05) 38% 40%, transparent 40% 68%, rgba(255, 255, 255, 0.04) 68% 70%, transparent 70%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 12%, transparent 12% 38%, rgba(255, 255, 255, 0.03) 38% 40%, transparent 40% 68%, rgba(255, 255, 255, 0.03) 68% 70%, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  isolation: isolate;
  order: 2;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-visual::before {
  width: 360px;
  height: 360px;
  right: 34px;
  top: 48px;
  background:
    radial-gradient(circle at 30% 30%, rgba(37, 211, 102, 0.22), transparent 44%),
    radial-gradient(circle at 70% 70%, rgba(11, 102, 216, 0.18), transparent 40%),
    radial-gradient(circle at 58% 26%, rgba(246, 196, 0, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(37, 211, 102, 0.16), rgba(11, 102, 216, 0.1), rgba(124, 92, 255, 0.08));
  filter: blur(8px);
  opacity: 0.92;
}

.hero-visual::after {
  width: 220px;
  height: 220px;
  left: 0;
  bottom: 58px;
  background:
    radial-gradient(circle at 30% 30%, rgba(11, 102, 216, 0.16), transparent 56%),
    radial-gradient(circle at 68% 68%, rgba(246, 196, 0, 0.14), transparent 42%);
  filter: blur(6px);
  opacity: 0.8;
}

.hero-orb {
  position: absolute;
  left: 18px;
  top: 70px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 28%, rgba(220, 248, 224, 0.9), rgba(220, 248, 224, 0.3) 42%, transparent 68%),
    radial-gradient(circle at 74% 28%, rgba(255, 196, 0, 0.16), transparent 34%),
    radial-gradient(circle at 60% 74%, rgba(11, 102, 216, 0.12), transparent 32%);
  opacity: 0.95;
}

.hero-dashboard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  width: min(620px, 100%);
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(8, 78, 170, 0.12);
  overflow: hidden;
}

.whatsapp-mock {
  position: relative;
  z-index: 1;
  width: min(240px, 100%);
  border: 1px solid rgba(64, 224, 145, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(37, 211, 102, 0.28), transparent 28%),
    radial-gradient(circle at bottom left, rgba(11, 102, 216, 0.28), transparent 32%),
    radial-gradient(circle at center left, rgba(124, 92, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #111f28 0%, #0a1218 100%);
  box-shadow: 0 24px 52px rgba(8, 78, 170, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
}

.phone-frame {
  position: relative;
  width: min(282px, 88%);
  padding: 8px;
  border: 7px solid #0a0f14;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(19, 27, 40, 0.98), rgba(9, 16, 23, 0.98)),
    radial-gradient(circle at top left, rgba(37, 211, 102, 0.18), transparent 38%),
    radial-gradient(circle at bottom right, rgba(11, 102, 216, 0.14), transparent 36%);
  box-shadow: 0 28px 58px rgba(5, 13, 26, 0.26), 0 0 0 1px rgba(124, 92, 255, 0.08) inset;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 86px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: #0a0f14;
  z-index: 3;
}

.phone-topbar,
.phone-bottom-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 52px);
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.phone-topbar {
  top: 12px;
}

.phone-topbar span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.phone-bottom-bar {
  bottom: 10px;
  gap: 10px;
}

.phone-bottom-bar span {
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.38);
}

.whatsapp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 10px;
  background:
    radial-gradient(circle at top right, rgba(37, 211, 102, 0.14), transparent 26%),
    linear-gradient(90deg, #1f2c34 0%, #223842 55%, #1b2a32 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.whatsapp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #25d366, #0b66d8);
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.22);
}

.whatsapp-header strong {
  display: block;
  font-size: 13px;
}

.whatsapp-header span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.whatsapp-body {
  padding: 9px 10px 12px;
  display: grid;
  gap: 6px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at center right, rgba(37, 211, 102, 0.12), transparent 26%),
    linear-gradient(180deg, #0b141a, #111b21);
}

.chat-row {
  display: flex;
}

.chat-row.bot {
  justify-content: flex-start;
}

.chat-row.user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: min(420px, 82%);
  padding: 8px 10px;
  border-radius: 14px;
  color: #e9edef;
  font-size: 11px;
  line-height: 1.35;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
  display: grid;
  gap: 5px;
}

.chat-row.bot .chat-bubble {
  background: linear-gradient(135deg, #23313b, #1b252d);
  border-top-left-radius: 6px;
}

.chat-row.user .chat-bubble {
  background: linear-gradient(135deg, #25d366, #0b66d8);
  border-top-right-radius: 6px;
  color: #ffffff;
}

.chat-time {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.72;
}

.chat-text {
  display: block;
}

.chat-menu {
  display: grid;
  gap: 5px;
  padding: 4px 0 0;
}

.chat-menu span,
.chat-actions {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  color: #d7f5df;
}

.chat-menu span {
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(37, 211, 102, 0.18), rgba(11, 102, 216, 0.12));
}

.chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  background: linear-gradient(90deg, rgba(37, 211, 102, 0.12), rgba(11, 102, 216, 0.12));
}

.chat-actions span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 700;
}

.chat-actions button {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #27b3ff 58%, #7c5cff);
  color: #ffffff;
  font-weight: 800;
  font-size: 10px;
  box-shadow: 0 10px 18px rgba(37, 211, 102, 0.24);
}

.showcase-section {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px 18px;
  border: 1px solid rgba(11, 102, 216, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(37, 211, 102, 0.1), transparent 32%),
    radial-gradient(circle at bottom left, rgba(246, 196, 0, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 252, 255, 0.98));
  box-shadow: 0 18px 40px rgba(10, 31, 58, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #25d366, #0b66d8 58%, #7c5cff);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(11, 102, 216, 0.2);
}

.feature-card h2 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.feature-card:nth-child(1) .feature-icon {
  background: linear-gradient(135deg, #25d366, #14b8a6 62%, #0b66d8);
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #0b66d8, #7c5cff 62%, #25d366);
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #7c5cff, #25d366 62%, #0b66d8);
}

.value-prop-section {
  margin-top: 28px;
  display: grid;
  gap: 20px;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.08;
}

.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(11, 102, 216, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.98));
  box-shadow: 0 18px 42px rgba(10, 31, 58, 0.08);
}

.value-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.value-card-body {
  padding: 18px 18px 22px;
  display: grid;
  gap: 10px;
}

.value-card-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.value-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.showcase-copy {
  display: grid;
  gap: 16px;
}

.showcase-copy h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  margin: 0;
}

.showcase-points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text);
  line-height: 1.5;
}

.showcase-visual {
  display: flex;
  justify-content: center;
}

.dashboard-showcase {
  width: min(100%, 760px);
}

.hero-sidebar {
  padding: 18px 12px;
  background: #f5fbf7;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 10px;
  align-content: start;
}

.hero-brand {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.hero-side-item {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-side-item.active {
  background: #dff2e3;
  color: var(--success);
}

.hero-screen {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.hero-screen-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.hero-screen-header strong {
  font-size: 16px;
}

.hero-screen-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-metric-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
}

.hero-metric-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(8, 78, 170, 0.08);
}

.hero-metric-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-metric-card strong {
  font-size: 18px;
  color: var(--text);
}

.hero-metric-card-wide strong {
  font-size: 20px;
}

.hero-chart {
  height: 124px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(11, 102, 216, 0.12), rgba(24, 160, 251, 0.05)),
    repeating-linear-gradient(180deg, rgba(16, 32, 51, 0.05), rgba(16, 32, 51, 0.05) 1px, transparent 1px, transparent 24px);
  position: relative;
  overflow: hidden;
}

.hero-chart::after {
  content: "";
  position: absolute;
  inset: 24px 18px 30px;
  border-radius: 999px;
  border: 3px solid transparent;
  border-top-color: #1d8f4f;
  border-right-color: #1d8f4f;
  transform: rotate(-8deg);
}

.hero-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero-table div {
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16, 32, 51, 0.08), rgba(16, 32, 51, 0.03));
}

.hero-floating {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(16, 32, 51, 0.14);
}

.hero-floating-top {
  right: 0;
  top: 12px;
  width: 200px;
  background: linear-gradient(180deg, #f3d11b, #e7bc10);
}

.hero-floating-top span,
.hero-floating-left span {
  color: #3d3d3d;
  font-size: 12px;
  font-weight: 700;
}

.hero-floating-top strong,
.hero-floating-left strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}

.hero-floating-top button {
  min-height: 38px;
  border-radius: 10px;
  background: #ffffff;
  color: #2a2a2a;
  box-shadow: 0 8px 16px rgba(16, 32, 51, 0.12);
}

.hero-floating-left {
  left: 0;
  bottom: 68px;
  width: 190px;
}

.auth-strip {
  display: grid;
  place-items: center;
}

.hero-auth-panel {
  width: min(760px, 100%);
}

.register-shell {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.register-page {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.register-logo {
  justify-self: center;
  margin-bottom: 2px;
  font-size: 24px;
}

.register-logo img {
  height: 72px;
}

.register-toplink a {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.register-toplink a:hover {
  text-decoration: underline;
}

.register-card {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(8, 78, 170, 0.12);
}

.register-card h1 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.register-form-panel {
  margin-top: 18px;
  border-radius: 16px;
}

@media (max-width: 640px) {
  .register-logo img {
    height: 58px;
  }
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
}

.site-logo img {
  width: auto;
  height: 132px;
  display: block;
}

.site-logo-text {
  line-height: 1;
  font-size: 0.65em;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-strong);
  background: #ffffff;
}

.menu-link:hover {
  background: var(--primary-soft);
}

.menu-link.signin-link {
  background: linear-gradient(180deg, var(--accent), var(--primary));
  color: #ffffff;
  border-color: transparent;
}

.menu-link.signin-link:hover {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 56px 52px 34px;
  border-radius: 0;
  border: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.05), transparent 20%),
    linear-gradient(135deg, #1f8a47 0%, #207f42 48%, #166934 100%);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: 28px 48px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 18px;
  align-content: start;
  padding-right: 24px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 52px;
}

.footer-logo-text {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 600;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.22);
  text-decoration: none;
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.footer-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.site-footer h3 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.dashboard-footer {
  margin-top: 36px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

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

.hidden {
  display: none !important;
}

.auth-panel {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 390px);
  align-items: start;
  gap: 32px;
  padding: 22px 0 10px;
}

.auth-panel > div:first-child {
  padding: 20px 0 0;
  max-width: 640px;
}

.landing-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  color: #ffffff;
  position: relative;
  z-index: 1;
  order: 1;
}

.landing-copy .eyebrow,
.landing-copy .lede {
  color: rgba(255, 255, 255, 0.88);
}

.landing-copy h1 {
  color: #ffffff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.trust-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.14));
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(10, 31, 58, 0.12);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.trust-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 700;
}

.benefits-section,
.steps-section {
  margin-top: 12px;
}

.benefits-section h2,
.steps-section h2 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.2;
}

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

.benefit-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(8, 78, 170, 0.08);
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.step-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.step-card span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.auth-column {
  position: sticky;
  top: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 18px;
}

.lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-showcase {
  display: none;
}

.hero-chat-card {
  width: min(540px, 100%);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px rgba(8, 78, 170, 0.18);
}

.hero-chat-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--primary-strong);
}

.hero-chat-header strong {
  font-size: 16px;
}

.hero-chat-header span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.hero-chat-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.hero-chat-bubble.incoming {
  background: #eef5ff;
  border: 1px solid #d5e4ff;
  color: #1d3557;
}

.hero-chat-bubble.outgoing {
  margin-left: auto;
  background: #dcf8e7;
  border: 1px solid #b7e8cd;
  color: #154734;
}

.value-section {
  display: none;
}

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

.value-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(8, 78, 170, 0.12);
}

.value-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.value-card h3 {
  margin: 10px 12px 6px;
  font-size: 18px;
}

.value-card p {
  margin: 0 12px 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.comparison-section {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(11, 102, 216, 0.10);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(11, 102, 216, 0.10), transparent 34%),
    radial-gradient(circle at bottom right, rgba(37, 211, 102, 0.07), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.98));
  box-shadow: 0 18px 42px rgba(10, 31, 58, 0.06);
}

.comparison-section h2 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.15;
}

.comparison-section .table-wrap {
  overflow-x: visible;
  display: block;
}

.comparison-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(11, 102, 216, 0.10);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 16px;
  text-align: left;
  border-bottom: 1px solid #d8e5fb;
  font-size: 15px;
  line-height: 1.45;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.comparison-table thead th {
  background: linear-gradient(180deg, #dbeafe 0%, #d3e6fd 100%);
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 15px;
}

.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody td:first-child {
  font-weight: 800;
  color: var(--text);
  width: 28%;
}

.form-panel,
.panel,
.stats-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-top: 4px solid var(--primary);
  position: static;
  border-radius: 16px;
}

.auth-intro {
  margin: 0 0 10px;
  color: var(--primary-strong);
  font-size: 18px;
  font-weight: 800;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.auth-switch-row {
  margin: -4px 0 0;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.link-button {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 800;
  box-shadow: none;
}

.link-button:hover {
  background: transparent;
  color: var(--primary-strong);
  text-decoration: underline;
}

.message {
  min-height: 22px;
  margin: 0;
  color: var(--danger);
  font-size: 14px;
  line-height: 1.5;
}

.message.success {
  color: var(--success);
}

.field-error {
  display: block;
  margin-top: 6px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
}

.dashboard {
  display: grid;
  gap: 22px;
}

.dashboard,
.register-shell #dashboardView {
  --dash-green: #1f8a47;
  --dash-green-strong: #166934;
  --dash-green-soft: #e7f5ed;
  --dash-green-line: #c6e6cf;
}

.dashboard-layout {
  display: grid;
  gap: 18px;
}

.dashboard-rail {
  display: grid;
  gap: 14px;
}

.dashboard-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.rail-card {
  padding: 20px;
  border: 1px solid var(--dash-green-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 248, 239, 0.98));
  box-shadow: 0 16px 32px rgba(31, 138, 71, 0.08);
}

.rail-card h2 {
  margin: 6px 0 8px;
  font-size: 24px;
  line-height: 1.1;
}

.rail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.topbar,
.workspace-bar,
.panel-header,
.account-strip,
.inline-form {
  display: flex;
  align-items: end;
  gap: 12px;
}

.topbar {
  justify-content: space-between;
  align-items: center;
}

.topbar h1 {
  margin-bottom: 0;
  font-size: 36px;
}

.dashboard .topbar,
.register-shell #dashboardView .topbar {
  padding: 24px 26px;
  border: 1px solid color-mix(in srgb, var(--dash-green) 32%, #ffffff);
  border-radius: 26px;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(135deg, var(--dash-green-strong), var(--dash-green) 56%, #27b3ff);
  box-shadow: 0 18px 38px rgba(31, 138, 71, 0.18);
  color: #ffffff;
}

.dashboard .topbar h1,
.register-shell #dashboardView .topbar h1 {
  color: #ffffff;
}

.dashboard .topbar .eyebrow,
.dashboard .topbar .account-strip,
.dashboard .topbar .account-strip span,
.register-shell #dashboardView .topbar .eyebrow,
.register-shell #dashboardView .topbar .account-strip,
.register-shell #dashboardView .topbar .account-strip span {
  color: rgba(255, 255, 255, 0.9);
}

.dashboard .topbar .secondary,
.register-shell #dashboardView .topbar .secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: none;
}

.dashboard .topbar .secondary:hover,
.register-shell #dashboardView .topbar .secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.account-strip {
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.workspace-bar {
  justify-content: space-between;
  align-items: end;
  padding: 18px 18px 16px;
  border: 1px solid var(--dash-green-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f6fbf7);
  box-shadow: 0 14px 28px rgba(31, 138, 71, 0.08);
}

.funds-visibility {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#availableFundsText {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--dash-green-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--dash-green-strong);
}

.icon-toggle {
  min-height: 38px;
  min-width: 40px;
  padding: 0 10px;
  font-size: 16px;
  line-height: 1;
}

.wallet-history-link {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wallet-history-summary {
  margin-bottom: 18px;
}

.wallet-entry.out .badge {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 30%, var(--line));
  background: color-mix(in srgb, var(--danger) 8%, #fff);
}

.wallet-entry.in .badge {
  color: var(--success);
  border-color: color-mix(in srgb, var(--success) 30%, var(--line));
  background: color-mix(in srgb, var(--success) 8%, #fff);
}

.onboarding-panel {
  display: grid;
  gap: 6px;
}

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

.workspace-bar label {
  min-width: min(100%, 320px);
}

.workspace-name-header {
  margin: -6px 0 0;
  padding: 11px 14px;
  border: 1px solid var(--dash-green-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--dash-green-strong);
  font-size: 13px;
  font-weight: 800;
}

.inline-form input {
  width: min(280px, 42vw);
}

.inline-form.compact input {
  width: 180px;
}

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

.admin-small-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-small-grid article {
  padding: 12px 14px;
}

.admin-small-grid span {
  font-size: 12px;
  margin-bottom: 6px;
}

.admin-small-grid strong {
  font-size: 18px;
  line-height: 1.1;
}

#collectionOverviewPanel .stats-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#collectionOverviewPanel .stats-grid strong {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

#collectionOverviewPanel .stats-grid span {
  font-size: 12px;
}

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

.stats-grid article {
  padding: 18px;
  border-top: 3px solid var(--dash-green);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
  box-shadow: 0 12px 28px rgba(31, 138, 71, 0.08);
}

.stats-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stats-grid strong {
  font-size: 24px;
}

.recent-transactions-panel {
  margin-top: 14px;
}

.funds-total {
  margin: 0;
  color: #0b7a4a;
  font-weight: 800;
  font-size: 14px;
}

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

.analytics-card {
  padding: 16px;
  border: 1px solid var(--dash-green-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 138, 71, 0.08);
}

.analytics-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.analytics-chart-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.analytics-donut {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(var(--donut));
  position: relative;
}

.analytics-donut::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: #ffffff;
}

.analytics-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.analytics-legend li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.analytics-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot-color);
}

.analytics-notes {
  margin-top: 10px;
  display: grid;
  gap: 4px;
}

.analytics-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 18px;
  align-items: start;
}

#collectionGroupPanel.layout-grid,
#collectionBusinessPanel.layout-grid {
  grid-template-columns: 1fr;
}

.panel {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
  box-shadow: 0 12px 28px rgba(31, 138, 71, 0.06);
}

.modal-dialog {
  width: min(960px, calc(100vw - 28px));
  max-height: calc(100vh - 48px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}

.modal-dialog::backdrop {
  background: rgba(16, 32, 51, 0.42);
}

.modal-panel {
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--dash-green-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(31, 138, 71, 0.12);
}

.modal-panel > .panel-header {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: -20px -20px 0;
  padding: 16px 20px 10px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

#businessOrderDialog .modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 24px);
}

#businessOrderDialog {
  width: min(1100px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 24px);
  margin: auto;
}

#businessOrderDialog .modal-panel > .panel-header {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 44px 0 10px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

#businessOrderDialog .modal-panel > .panel-header h2 {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

#businessOrderDialog .modal-panel > .panel-header button {
  position: absolute;
  right: 12px;
  top: 12px;
  flex: 0 0 auto;
  white-space: nowrap;
  z-index: 8;
}

#adminBusinessDialog .modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 24px);
}

#adminBusinessDialog {
  width: min(1100px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 24px);
  margin: auto;
}

#adminBusinessDialog .modal-panel > .panel-header {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 44px 0 10px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

#adminBusinessDialog .modal-panel > .panel-header h2 {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

#adminBusinessDialog .modal-panel > .panel-header button {
  position: absolute;
  right: 12px;
  top: 12px;
  flex: 0 0 auto;
  white-space: nowrap;
  z-index: 8;
}

.business-order-stats {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

#collectionBusinessPanel .business-order-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#collectionBusinessPanel .business-order-stats strong {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

#collectionBusinessPanel .business-order-stats span {
  font-size: 12px;
}

@media (max-width: 1200px) {
  #collectionBusinessPanel .business-order-stats {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  #collectionOverviewPanel .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

#businessOrderDialog .stats-grid article {
  padding: 12px;
}

#businessOrderDialog .stats-grid strong {
  font-size: 18px;
}

#businessOrderDialog .stats-grid span {
  margin-bottom: 6px;
  font-size: 12px;
}

#adminBusinessDialog .stats-grid article {
  padding: 12px;
}

#adminBusinessDialog .stats-grid strong {
  font-size: 18px;
}

#adminBusinessDialog .stats-grid span {
  margin-bottom: 6px;
  font-size: 12px;
}

#businessOrderDialog .meta {
  gap: 6px;
}

#businessOrderDialog .dialog-subtitle {
  margin-top: 0;
  margin-bottom: 8px;
  padding-top: 2px;
}

#adminBusinessDialog .meta {
  gap: 6px;
}

#adminBusinessDialog .dialog-subtitle {
  margin-top: 0;
  margin-bottom: 8px;
  padding-top: 2px;
}

#businessOrderDialog .data-table {
  table-layout: fixed;
}

#businessOrderDialog .data-table th,
#businessOrderDialog .data-table td {
  overflow-wrap: anywhere;
}

#businessOrderDialog .table-wrap {
  overflow-x: auto;
}

#adminBusinessDialog .data-table {
  table-layout: fixed;
}

#adminBusinessDialog .data-table th,
#adminBusinessDialog .data-table td {
  overflow-wrap: anywhere;
}

#adminBusinessDialog .table-wrap {
  overflow-x: auto;
}

.dialog-subtitle {
  margin-top: -6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.panel-header {
  justify-content: space-between;
  align-items: start;
  margin-bottom: 16px;
}

.stack {
  display: grid;
  gap: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid button {
  align-self: end;
}

.full-span {
  grid-column: 1 / -1;
}

.list {
  display: grid;
  gap: 10px;
}

.list-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, var(--surface-soft));
}

.clickable-item {
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.clickable-item:hover,
.clickable-item:focus {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(11, 102, 216, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.clickable-item.selected {
  border-color: var(--primary);
  background: #ffffff;
}

.list-item header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.list-item h3 {
  margin: 0;
  font-size: 16px;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.badge {
  align-self: start;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.verification-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.verification-badge.verified {
  background: #dff7ed;
  color: var(--success);
}

.verification-badge.unverified {
  background: #fff4df;
  color: var(--warning);
}

.compact-list {
  margin-top: 12px;
}

.compact-stats {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 16px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(140px, 0.7fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.filter-search {
  min-width: 220px;
}

.filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.section-title h3 {
  margin: 0;
  font-size: 16px;
}

.section-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.transaction-section {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.detail-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.detail-copy {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.detail-copy strong {
  font-size: 13px;
}

.detail-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pagination-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.table-wrap {
  display: grid;
  gap: 10px;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.data-table th,
.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.data-table th {
  color: var(--muted);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover,
.selected-row {
  background: var(--surface-soft);
}

.data-table td strong,
.data-table td span {
  display: block;
}

.data-table td span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.data-table td .paystack-charge {
  color: var(--warning);
  font-weight: 800;
}

.transaction-table {
  min-width: 1180px;
}

.collection-transaction-table {
  min-width: 760px;
}

.user-table {
  min-width: 1120px;
}

.dispute-table {
  min-width: 1040px;
}

.user-workspace-table {
  min-width: 820px;
}

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

.profile-grid > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.profile-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-grid strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.table-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-tabs button.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.admin-panel {
  display: grid;
  gap: 18px;
}

.empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-soft);
}

@media (min-width: 1200px) {
  .app-shell {
    width: min(100%, calc(100vw - 48px));
    padding-top: 24px;
  }

  .dashboard {
    gap: 18px;
  }

  .topbar {
    padding: 24px 26px;
    border: 1px solid color-mix(in srgb, var(--primary) 42%, #ffffff);
    border-radius: 26px;
    background:
      radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
      linear-gradient(135deg, var(--primary-strong), var(--primary) 58%, #0f7ae5);
    box-shadow: 0 18px 38px rgba(11, 102, 216, 0.18);
    color: #ffffff;
  }

  .topbar h1 {
    font-size: 34px;
    letter-spacing: -0.03em;
    color: #ffffff;
  }

  .topbar .eyebrow,
  .topbar .account-strip,
  .topbar .account-strip span {
    color: rgba(255, 255, 255, 0.9);
  }

  .topbar .secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    box-shadow: none;
  }

  .topbar .secondary:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  .hero-topbar,
  .workspace-bar,
  .topbar,
  .panel,
  .analytics-card,
  .register-card,
  .modal-panel {
    backdrop-filter: blur(8px);
  }

  .workspace-bar {
    padding: 20px 22px;
    border: 1px solid color-mix(in srgb, var(--dash-green) 28%, #ffffff);
    border-radius: 24px;
    background:
      radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.12), transparent 26%),
      linear-gradient(135deg, #ffffff, #f4fbf6 58%, #e6f5ea);
    box-shadow: 0 18px 34px rgba(31, 138, 71, 0.09);
  }

  .dashboard-layout {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    align-items: start;
  }

  .dashboard-rail {
    position: sticky;
    top: 24px;
    align-self: start;
  }

  .dashboard-main {
    min-width: 0;
  }

  .workspace-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .workspace-bar label {
    min-width: 0;
  }

  .workspace-summary {
    display: grid;
    gap: 10px;
  }

  .workspace-summary .account-strip {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .workspace-summary .account-strip #availableFundsText {
    flex: 1 1 100%;
  }

  .admin-tabs {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--dash-green) 18%, var(--dash-green-line));
    border-radius: 20px;
    background:
      radial-gradient(circle at 15% 20%, rgba(31, 138, 71, 0.08), transparent 24%),
      linear-gradient(180deg, #ffffff, #f8fcf9);
    box-shadow: 0 16px 32px rgba(31, 138, 71, 0.08);
  }

  .admin-tabs button {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding-inline: 16px;
  }

  .admin-tabs button.secondary {
    background: color-mix(in srgb, var(--dash-green-soft) 72%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--dash-green) 16%, var(--dash-green-line));
    color: var(--dash-green-strong);
    box-shadow: none;
  }

  .admin-tabs button.active,
  .admin-tabs button.secondary.active {
    background: linear-gradient(135deg, var(--dash-green), #27b3ff);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 12px 22px rgba(31, 138, 71, 0.18);
  }

  .dashboard-rail .workspace-bar .eyebrow,
  .dashboard-rail .workspace-bar label,
  .dashboard-rail .workspace-bar .account-strip,
  .dashboard-rail .workspace-bar #availableFundsText {
    color: var(--text);
  }

  .dashboard-rail .workspace-bar .secondary {
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--dash-green) 16%, var(--dash-green-line));
    color: var(--dash-green-strong);
  }

  .dashboard-rail .workspace-bar .secondary:hover {
    background: var(--dash-green-soft);
  }

  .dashboard-main .panel {
    border: 1px solid color-mix(in srgb, var(--dash-green) 10%, var(--dash-green-line));
    box-shadow: 0 16px 34px rgba(31, 138, 71, 0.07);
  }

  .stats-grid article,
  .panel,
  .analytics-card,
  .register-card,
  .value-card {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  .stats-grid article:hover,
  .panel:hover,
  .analytics-card:hover,
  .register-card:hover,
  .value-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(8, 78, 170, 0.1);
  }

  .admin-tabs {
    gap: 8px;
  }

  .admin-tabs button,
  .menu-link,
  .secondary,
  .button,
  .nav-button {
    border-radius: 999px;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
  }

  .hero-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-orb {
    right: 20px;
    top: 24px;
    width: 250px;
    height: 250px;
  }

  .hero-dashboard,
  .whatsapp-mock,
  .phone-frame {
    width: 100%;
  }

  .phone-frame {
    max-width: 320px;
  }

  .whatsapp-mock {
    max-width: 280px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .value-prop-grid {
    grid-template-columns: 1fr;
  }

  .comparison-section .table-wrap {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 820px;
  }

  .showcase-section {
    grid-template-columns: 1fr;
  }

  .site-menu {
    width: 100%;
    justify-content: flex-start;
  }

  .auth-panel,
  .layout-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .dashboard-rail {
    position: static;
  }

  .auth-intro,
  .auth-column {
    position: static;
  }

  .workspace-bar,
  .topbar,
  .panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-form,
  .account-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-form input,
  .inline-form.compact input {
    width: 100%;
  }

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

  .filter-bar {
    grid-template-columns: 1fr;
  }

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

  .analytics-chart-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .business-order-stats {
    grid-template-columns: 1fr;
  }

  .pagination-bar {
    align-items: stretch;
    flex-direction: column;
  }

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

  .button-row {
    grid-template-columns: 1fr;
  }

  .hero-metric-row,
  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .comparison-section h2 {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer h3 {
    font-size: 22px;
  }
}

@media (max-width: 700px) {
  .site-logo { font-size: 24px; }
  .site-logo img { height: 108px; }

  .site-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-link {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  #businessOrderDialog {
    position: fixed;
    inset: 8px;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 0;
  }

  #businessOrderDialog .modal-panel {
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 12px;
  }

  #businessOrderDialog .modal-panel > .panel-header {
    padding: 44px 0 8px;
  }

  #businessOrderDialog .modal-panel > .panel-header h2 {
    font-size: 22px;
    line-height: 1.2;
  }

  #businessOrderDialog .modal-panel > .panel-header button {
    right: 8px;
    top: 8px;
  }

  #businessOrderDialog .business-order-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #businessOrderDialog .stats-grid article {
    min-width: 0;
  }

  #adminBusinessDialog {
    position: fixed;
    inset: 8px;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 0;
  }

  #adminBusinessDialog .modal-panel {
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 12px;
  }

  #adminBusinessDialog .modal-panel > .panel-header {
    padding: 44px 0 8px;
  }

  #adminBusinessDialog .modal-panel > .panel-header h2 {
    font-size: 22px;
    line-height: 1.2;
  }

  #adminBusinessDialog .modal-panel > .panel-header button {
    right: 8px;
    top: 8px;
  }

  #adminBusinessDialog .business-order-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #adminBusinessDialog .stats-grid article {
    min-width: 0;
  }
}
