:root {
  --auth-blue: #1D4FFF;
  --auth-blue-deep: #1D4FFF;
  --auth-ink: #0f172a;
  --auth-muted: #64748b;
  --auth-soft: #f5f7fb;
  --auth-line: rgba(15,23,42,0.10);
  --auth-shadow: 0 24px 70px rgba(15,23,42,0.18);
  --auth-font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

body.auth-page,
body.public-page {
  min-height: 100vh;
  margin: 0;
  font-family: var(--auth-font);
  color: var(--auth-ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(29,79,255,0.14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(20,184,166,0.14), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #eef3fb 46%, #f9fafb 100%);
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.auth-frame {
  width: min(1080px, 100%);
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 28px;
  background: rgba(255,255,255,0.78);
  box-shadow: var(--auth-shadow);
  backdrop-filter: blur(20px);
}

.auth-story {
  position: relative;
  padding: 46px;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.22), transparent 24%),
    radial-gradient(circle at 86% 74%, rgba(94,234,212,0.18), transparent 24%),
    linear-gradient(145deg, #111827 0%, #163070 48%, #0f766e 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.auth-story::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  right: -88px;
  bottom: -90px;
  border-radius: 44px;
  background: rgba(255,255,255,0.08);
  transform: rotate(18deg);
}

.auth-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.auth-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--auth-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.16);
}

.auth-brand-text { font-size: 18px; }

.auth-hero {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.auth-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 12px;
  margin-bottom: 18px;
}

.auth-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.auth-hero p {
  margin: 16px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.8;
}

.auth-feature-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.auth-feature {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.auth-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.14);
}

.auth-feature-title { font-size: 13px; font-weight: 700; }
.auth-feature-desc { margin-top: 3px; color: rgba(255,255,255,0.68); font-size: 12px; line-height: 1.55; }

.auth-learn-more {
  position: relative;
  z-index: 1;
  width: fit-content;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font: 600 12px var(--auth-font);
  cursor: pointer;
}

.auth-card-wrap {
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-card h2 {
  margin: 0;
  color: var(--auth-ink);
  font-size: 26px;
  letter-spacing: -0.04em;
}

.auth-card-sub {
  margin: 8px 0 24px;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-tabs {
  display: inline-flex;
  height: 36px;
  padding: 3px;
  border-radius: 999px;
  background: #eef2f7;
  margin-bottom: 18px;
}

.auth-tab {
  border: none;
  border-radius: 999px;
  padding: 0 16px;
  color: #64748b;
  background: transparent;
  font: 600 12px var(--auth-font);
  cursor: pointer;
}

.auth-tab.active {
  color: #fff;
  background: var(--auth-blue);
  box-shadow: 0 8px 18px rgba(29,79,255,0.24);
}

.auth-panel { display: none; }
.auth-panel.active { display: block; }

.auth-field { margin-bottom: 14px; }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.auth-label { color: #334155; font-size: 12px; font-weight: 650; }
.auth-link { border: none; padding: 0; background: transparent; color: var(--auth-blue); font: 600 12px var(--auth-font); cursor: pointer; text-decoration: none; }

.auth-input-wrap { position: relative; }
.auth-input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--auth-line);
  border-radius: 12px;
  padding: 0 13px;
  background: #fff;
  color: var(--auth-ink);
  font: 13px var(--auth-font);
  outline: none;
  transition: border-color .14s, box-shadow .14s;
}
.auth-input:focus { border-color: rgba(29,79,255,0.44); box-shadow: 0 0 0 4px rgba(29,79,255,0.10); }
.auth-input::placeholder { color: #a0aec0; }
.auth-eye-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
}
.auth-eye-btn:hover { background: #f1f5f9; color: #334155; }
.auth-code-row { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 8px; }
.auth-code-btn {
  height: 42px;
  border: 1px solid rgba(29,79,255,0.22);
  border-radius: 12px;
  background: rgba(29,79,255,0.08);
  color: var(--auth-blue);
  font: 650 12px var(--auth-font);
  cursor: pointer;
}
.auth-code-btn:disabled { cursor: not-allowed; opacity: .55; background: #f1f5f9; color: #94a3b8; border-color: var(--auth-line); }
.auth-error { min-height: 16px; color: #dc2626; font-size: 11.5px; margin-top: 6px; }

.auth-strength { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
.auth-strength span { height: 4px; border-radius: 99px; background: #e2e8f0; }
.auth-strength.level-1 span:nth-child(1) { background: #f97316; }
.auth-strength.level-2 span:nth-child(-n+2) { background: #eab308; }
.auth-strength.level-3 span { background: #22c55e; }

.auth-check-row { display: flex; align-items: flex-start; gap: 8px; color: #64748b; font-size: 12px; line-height: 1.55; margin: 4px 0 16px; }
.auth-check-row input { margin-top: 3px; }

.auth-captcha-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  margin: 2px 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(29,79,255,0.10);
  background: rgba(29,79,255,0.06);
  color: #4b5563;
  font-size: 12px;
  line-height: 1.55;
}

.auth-captcha-note-soft {
  background: rgba(15,23,42,0.035);
  border-color: rgba(15,23,42,0.08);
}

.auth-captcha-note-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--auth-blue);
}

.auth-captcha-local {
  padding: 8px 2px 4px;
  text-align: center;
}

.auth-captcha-local-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d4fff;
  background: rgba(29,79,255,0.08);
}

.auth-captcha-local h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #0f172a;
}

.auth-captcha-local p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

.auth-primary {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: var(--auth-blue);
  color: #fff;
  font: 700 13px var(--auth-font);
  cursor: pointer;
  transition: background .14s, transform .12s, opacity .14s;
}
.auth-primary:hover { background: var(--auth-blue-deep); }
.auth-primary:active { transform: translateY(1px); }
.auth-primary:disabled { opacity: .42; cursor: not-allowed; }

.auth-bottom-text { margin-top: 16px; color: #64748b; font-size: 12.5px; text-align: center; }
.auth-third-party { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--auth-line); text-align: center; }
.auth-third-party-title { color: #94a3b8; font-size: 11.5px; margin-bottom: 11px; }
.auth-third-party-row { display: flex; justify-content: center; gap: 10px; }
.auth-social-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--auth-line);
  background: #fff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.auth-social-btn:hover { border-color: rgba(29,79,255,0.24); color: var(--auth-blue); background: #f8fafc; }
.auth-social-btn::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 7px;
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s;
}
.auth-social-btn:hover::after { opacity: 1; }

.auth-stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 22px; }
.auth-step { height: 6px; border-radius: 99px; background: #e2e8f0; }
.auth-step.active { background: var(--auth-blue); }
.auth-step-panel { display: none; }
.auth-step-panel.active { display: block; }

.verify-card {
  width: min(460px, calc(100vw - 40px));
  padding: 42px;
  border-radius: 24px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: var(--auth-shadow);
  text-align: center;
}
.verify-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: rgba(34,197,94,0.10);
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.verify-icon.warn { background: rgba(245,158,11,0.14); color: #d97706; }
.verify-icon.error { background: rgba(239,68,68,0.12); color: #dc2626; }
.verify-card h1 { margin: 0; font-size: 24px; letter-spacing: -0.04em; }
.verify-card p { margin: 10px 0 0; color: var(--auth-muted); font-size: 13px; line-height: 1.6; }
.verify-actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.verify-note { margin-top: 14px; color: #94a3b8; font-size: 12px; line-height: 1.6; }

.public-shell {
  min-height: 100vh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.public-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.public-nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.public-nav-link {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #475569;
  text-decoration: none;
  font: 650 12px var(--auth-font);
  display: inline-flex;
  align-items: center;
}
.public-nav-link.active {
  color: var(--auth-blue);
  background: rgba(29,79,255,0.08);
}
.public-actions { display: flex; gap: 10px; }
.public-btn { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--auth-line); background: #fff; color: #334155; font: 650 12px var(--auth-font); text-decoration: none; display: inline-flex; align-items: center; }
.public-btn.primary { background: var(--auth-blue); color: #fff; border-color: var(--auth-blue); }
.public-hero { position: relative; }
.public-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 20px;
  align-items: stretch;
}
.public-hero-copy,
.public-hero-panel,
.public-section,
.public-footer {
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 26px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 22px 54px rgba(15,23,42,0.08);
  backdrop-filter: blur(18px);
}
.public-hero-copy {
  padding: 34px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.public-hero-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.public-hero-panel-kicker {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.public-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.public-metric-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(29,79,255,0.08), rgba(255,255,255,0.9));
  border: 1px solid rgba(29,79,255,0.10);
}
.public-metric-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
}
.public-metric-card strong {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.4;
}
.public-pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--auth-line); color: var(--auth-blue); font-size: 12px; font-weight: 700; }
.public-hero h1 { margin: 20px 0 0; max-width: 720px; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.08em; }
.public-hero p { margin: 18px 0 0; max-width: 640px; color: #64748b; font-size: 15px; line-height: 1.8; }
.public-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.public-section-list { display: flex; flex-direction: column; gap: 18px; }
.public-section { padding: 28px; }
.public-section-head { max-width: 760px; margin-bottom: 20px; }
.public-section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--auth-blue);
  font-size: 12px;
  font-weight: 700;
}
.public-section h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}
.public-section-head p {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.8;
}
.public-card-grid,
.public-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.public-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.public-info-card,
.public-plan-card,
.public-contact-card,
.public-strip-card,
.public-case-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
}
.public-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(29,79,255,0.10);
  color: var(--auth-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.public-info-card h3,
.public-plan-card h3,
.public-contact-card h3,
.public-strip-card strong,
.public-case-card strong {
  display: block;
  margin: 14px 0 0;
  color: #0f172a;
  font-size: 16px;
}
.public-info-card p,
.public-plan-card p,
.public-contact-card p,
.public-strip-card p,
.public-case-card p {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.8;
}
.public-plan-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(29,79,255,0.08);
  color: var(--auth-blue);
  font-size: 12px;
  font-weight: 700;
}
.public-plan-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #475569;
  font-size: 12.5px;
  line-height: 1.8;
}
.public-strip-grid,
.public-contact-grid,
.public-case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.public-contact-card span {
  display: block;
  margin-top: 12px;
  color: var(--auth-blue);
  font-size: 12px;
  font-weight: 650;
}
.public-footer {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.public-footer-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.public-footer-copy strong { color: #0f172a; font-size: 14px; }
.public-footer-copy span { color: #64748b; font-size: 12px; line-height: 1.7; }
.public-footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.public-footer-links a { color: #475569; text-decoration: none; font: 650 12px var(--auth-font); }

.grovv-support-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 240;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.grovv-support-main {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--auth-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px rgba(29,79,255,0.28);
  cursor: pointer;
}
.grovv-support-main:hover { background: var(--auth-blue-deep); }
.grovv-support-menu { display: none; flex-direction: column; gap: 8px; }
.grovv-support-widget.open .grovv-support-menu { display: flex; }
.grovv-support-item {
  height: 36px;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: #334155;
  font: 650 12px var(--auth-font);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.10);
  cursor: pointer;
}
.grovv-support-item:hover { color: var(--auth-blue); border-color: rgba(29,79,255,0.24); }

.grovv-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1260;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15,23,42,0.42);
}
.grovv-modal-overlay.open { display: flex; }
.grovv-modal {
  width: min(560px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 48px));
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--auth-shadow);
  border: 1px solid rgba(15,23,42,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.grovv-modal.small { width: min(360px, calc(100vw - 32px)); }
.grovv-modal-head { height: 52px; padding: 0 16px; border-bottom: 1px solid rgba(15,23,42,0.08); display: flex; align-items: center; justify-content: space-between; }
.grovv-modal-title { font-size: 15px; font-weight: 750; color: #0f172a; }
.grovv-modal-close { width: 30px; height: 30px; border: none; border-radius: 8px; background: transparent; color: #64748b; cursor: pointer; }
.grovv-modal-close:hover { background: #f1f5f9; color: #0f172a; }
.grovv-modal-body { padding: 16px; overflow: auto; color: #334155; font-size: 13px; line-height: 1.75; }
.grovv-modal-body h1 { margin: 0 0 12px; color: #0f172a; font-size: 20px; }
.grovv-modal-body h2 { margin: 18px 0 8px; color: #0f172a; font-size: 14px; }
.grovv-modal-body p { margin: 0 0 10px; }
.grovv-modal-foot { padding: 12px 16px 16px; border-top: 1px solid rgba(15,23,42,0.08); display: flex; justify-content: flex-end; gap: 8px; }
.grovv-secondary-btn,
.grovv-primary-btn { height: 32px; padding: 0 14px; border-radius: 9px; font: 650 13px var(--auth-font); cursor: pointer; }
.grovv-secondary-btn { border: 1px solid rgba(15,23,42,0.12); background: #fff; color: #475569; }
.grovv-primary-btn { border: none; background: var(--auth-blue); color: #fff; }
.grovv-primary-btn:hover { background: var(--auth-blue-deep); }
.grovv-feedback-meta { display: flex; flex-direction: column; gap: 14px; }
.grovv-feedback-field { display: flex; flex-direction: column; gap: 8px; }
.grovv-feedback-field span { color: #334155; font-size: 12px; font-weight: 700; }
.grovv-feedback-input,
.grovv-feedback-textarea { width: 100%; border: 1px solid rgba(15,23,42,0.12); border-radius: 12px; padding: 10px 12px; font: 13px/1.6 var(--auth-font); outline: none; box-sizing: border-box; background: #fff; }
.grovv-feedback-input { height: 40px; }
.grovv-feedback-textarea { min-height: 120px; resize: vertical; }
.grovv-feedback-input:focus,
.grovv-feedback-textarea:focus { border-color: rgba(29,79,255,0.42); box-shadow: 0 0 0 4px rgba(29,79,255,0.10); }
.grovv-feedback-tip { color: #94a3b8; font-size: 12px; line-height: 1.7; }
.grovv-feedback-upload-wrap {
  border: 1px dashed rgba(15,23,42,0.14);
  border-radius: 14px;
  background: #f8fafc;
  padding: 12px;
}
.grovv-feedback-upload-input {
  display: none;
}
.grovv-feedback-upload-btn {
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(29,79,255,0.16);
  border-radius: 10px;
  background: #fff;
  color: var(--auth-blue);
  font: 650 12px var(--auth-font);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.grovv-feedback-upload-btn:hover {
  border-color: rgba(29,79,255,0.28);
  background: #eef4ff;
}
.grovv-feedback-upload-empty {
  margin-top: 10px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.7;
}
.grovv-feedback-upload-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.grovv-feedback-upload-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
}
.grovv-feedback-upload-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
}
.grovv-feedback-upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.grovv-feedback-upload-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.grovv-feedback-upload-meta strong {
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.grovv-feedback-upload-meta span {
  color: #94a3b8;
  font-size: 11.5px;
}
.grovv-feedback-upload-remove {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.grovv-feedback-upload-remove:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.grovv-qr-box { width: 188px; height: 188px; margin: 8px auto 12px; border-radius: 18px; border: 1px solid rgba(15,23,42,0.10); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.grovv-qr-box-image {
  background:
    radial-gradient(circle at 20% 20%, rgba(29,79,255,0.10), transparent 36%),
    linear-gradient(135deg, #f8fbff 0%, #eef3fb 100%);
}
.grovv-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.grovv-modal-note { color: #64748b; font-size: 12.5px; text-align: center; }

.grovv-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  z-index: 1300;
  min-width: 220px;
  max-width: min(420px, calc(100vw - 32px));
  border-radius: 14px;
  padding: 13px 15px;
  background: rgba(15,23,42,0.92);
  color: #fff;
  box-shadow: 0 18px 42px rgba(15,23,42,0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}
.grovv-toast.open { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.grovv-toast button { height: 26px; border: 1px solid rgba(255,255,255,0.24); border-radius: 999px; background: rgba(255,255,255,0.12); color: #fff; padding: 0 10px; font: 650 12px var(--auth-font); cursor: pointer; }

@media (max-width: 860px) {
  .auth-shell { padding: 18px 14px; }
  .auth-frame { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .auth-story { padding: 30px; min-height: 360px; }
  .auth-card-wrap { padding: 30px 22px 38px; }
  .public-shell { padding: 18px 14px 32px; }
  .public-nav { flex-direction: column; align-items: stretch; }
  .public-nav-links { justify-content: center; }
  .public-actions { justify-content: center; }
  .public-hero-split,
  .public-card-grid,
  .public-plan-grid,
  .public-strip-grid,
  .public-contact-grid,
  .public-case-list { grid-template-columns: 1fr; }
  .public-hero-copy,
  .public-hero-panel,
  .public-section { padding: 22px; }
  .public-hero h1 { font-size: 38px; }
  .public-hero-metrics { grid-template-columns: 1fr; }
  .public-footer { flex-direction: column; align-items: flex-start; }
}

/* Full-height desktop login layout. Other auth pages retain the shared card layout above. */
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) {
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-shell {
  height: 100dvh;
  min-height: 0;
  padding: 0;
  box-sizing: border-box;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 58.25fr) minmax(420px, 41.75fr);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-frame,
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-frame *,
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-frame *::before,
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-frame *::after {
  box-sizing: border-box;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) #grovv-support-widget { display: none; }

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual {
  min-width: 0;
  padding: 34px clamp(34px, 4vw, 72px) 30px;
  color: #18365c;
  background: #eaf5ff;
  display: flex;
  justify-content: space-between;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual::before,
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual::before {
  width: 820px;
  height: 820px;
  left: -430px;
  bottom: -560px;
  border: 1px solid rgba(107, 157, 205, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,0.14), 0 0 0 96px rgba(255,255,255,0.10);
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual::after {
  width: 530px;
  height: 260px;
  top: -176px;
  right: -110px;
  border: 1px solid rgba(107, 157, 205, 0.20);
  border-radius: 50%;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual-brand,
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #16345e;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.login-visual-mark,
.login-card-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1d4fff;
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(29, 79, 255, 0.20);
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual-stage {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  height: min(500px, 52vh);
  margin: auto 0;
}

.login-art-browser {
  position: absolute;
  width: 72%;
  min-width: 470px;
  height: 68%;
  top: 13%;
  left: 7%;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(126, 169, 207, 0.28);
  border-radius: 16px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 24px 50px rgba(62, 112, 155, 0.18);
}

.login-art-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 17px 10px;
  background: #f6fbff;
  border-right: 1px solid #e3eff8;
}

.login-art-sidebar span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7c96b2;
}

.login-art-sidebar span.active { color: #fff; background: #1d4fff; }
.login-art-sidebar svg { width: 16px; height: 16px; }

.login-art-main { min-width: 0; padding: 15px 19px; }
.login-art-browser-top { display: flex; align-items: center; gap: 5px; height: 16px; }
.login-art-browser-top > span { width: 6px; height: 6px; border-radius: 50%; background: #d8e4ee; }
.login-art-browser-top > div { width: 36%; height: 7px; margin-left: 9px; border-radius: 99px; background: #edf3f7; }
.login-art-title-row { display: flex; justify-content: space-between; align-items: center; margin: 13px 0 12px; }
.login-art-title-row b { display: block; color: #18365c; font-size: 15px; }
.login-art-title-row small { display: block; margin-top: 4px; color: #92a5b9; font-size: 9px; }
.login-art-avatar { width: 25px; height: 25px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fbe2d8; color: #d76a45; font-size: 10px; font-weight: 800; }
.login-art-stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.login-art-stat-row > div { min-width: 0; padding: 10px; border-radius: 10px; background: #f8fbfe; }
.login-art-stat-row small { display: block; overflow: hidden; color: #91a4b8; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.login-art-stat-row strong { display: inline-block; margin-top: 6px; color: #254663; font-size: 16px; }
.login-art-stat-row em { display: block; margin-top: 3px; color: #34a875; font-size: 8px; font-style: normal; }
.login-art-list { display: grid; gap: 8px; margin-top: 11px; }
.login-art-list > div { display: grid; grid-template-columns: 25px minmax(0, 1fr) 12px; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid #eff4f7; }
.login-art-list-icon { width: 25px; height: 25px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.login-art-list-icon.coral { color: #de704d; background: #fff0ea; }
.login-art-list-icon.mint { color: #35a77d; background: #e6f8f0; }
.login-art-list-icon svg { width: 12px; height: 12px; }
.login-art-list p { min-width: 0; margin: 0; }
.login-art-list b { display: block; overflow: hidden; color: #35536e; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.login-art-list small { display: block; margin-top: 3px; color: #99aabc; font-size: 8px; }
.login-art-list > div > svg { width: 12px; height: 12px; color: #a7b6c6; }

.login-art-float,
.login-art-chart {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(123, 166, 203, 0.22);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 32px rgba(62, 112, 155, 0.14);
}

.login-art-promo { width: 230px; right: 3%; top: 5%; padding: 17px; border-radius: 14px; }
.login-art-float-top { display: flex; align-items: center; gap: 7px; color: #4b7190; font-size: 10px; }
.login-art-float-top svg { width: 15px; height: 15px; color: #1d4fff; }
.login-art-promo strong { display: block; margin-top: 14px; color: #31506a; font-size: 12px; }
.login-art-progress { height: 5px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: #e9f1f7; }
.login-art-progress i { display: block; width: 72%; height: 100%; border-radius: inherit; background: #1d4fff; }
.login-art-team { right: 1%; bottom: 7%; display: flex; align-items: center; gap: 10px; width: 225px; padding: 13px 15px; border-radius: 14px; }
.login-art-team-avatars { display: flex; padding-left: 8px; }
.login-art-team-avatars span { width: 28px; height: 28px; margin-left: -8px; border: 2px solid #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 9px; font-weight: 800; }
.login-art-team-avatars span:nth-child(1) { background: #f09474; }
.login-art-team-avatars span:nth-child(2) { background: #4d93cf; }
.login-art-team-avatars span:nth-child(3) { background: #6fb792; }
.login-art-team p { margin: 0; }
.login-art-team b { display: block; color: #31506a; font-size: 10px; }
.login-art-team small { display: block; margin-top: 4px; color: #91a5b8; font-size: 9px; }
.login-art-chart { left: 10%; bottom: 2%; width: 180px; height: 128px; border-radius: 14px; background: #f8fcff; }
.login-art-chart img { width: 100%; height: 100%; object-fit: cover; object-position: center 37%; mix-blend-mode: multiply; }

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #5b7894;
  font-size: 12px;
  font-weight: 650;
}

.login-visual-copy span { display: inline-flex; align-items: center; gap: 6px; }
.login-visual-copy svg { width: 16px; height: 16px; color: #1aac77; fill: #1aac77; stroke: #fff; stroke-width: 2.5; }

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-access {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 28px 42px 32px;
  align-items: center;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.login-access-top { position: absolute; top: 28px; right: 42px; }
.login-access-home { color: #94a3b8; font-size: 12px; font-weight: 600; text-decoration: none; }
.login-access-home:hover { color: #1d4fff; }

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card { max-width: 390px; }
.login-card-brand { margin-bottom: 24px; }
.login-card-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card h2 { color: #162b43; font-size: 28px; letter-spacing: 0; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-card-sub { margin: 8px 0 30px; color: #8291a3; font-size: 13px; }

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-tabs {
  width: 100%;
  height: 42px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 0;
  margin: 0 0 24px;
  border-bottom: 1px solid #edf1f5;
  border-radius: 0;
  background: transparent;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-tabs .auth-tab {
  position: relative;
  padding: 0;
  border-radius: 0;
  color: #8493a5;
  font-size: 14px;
  font-weight: 650;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-tabs .auth-tab.active { color: #18365c; background: transparent; box-shadow: none; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-tabs .auth-tab.active::after { content: ''; position: absolute; left: 19%; right: 19%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: #1d4fff; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-field { margin-bottom: 18px; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-label-row { margin-bottom: 8px; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-label { color: #526a82; font-size: 12px; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-input { height: 46px; border-radius: 8px; border-color: #dce5ee; padding: 0 14px; font-size: 13px; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-input:focus { border-color: #1d4fff; box-shadow: 0 0 0 3px rgba(29, 79, 255, 0.10); }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-code-row { grid-template-columns: minmax(0, 1fr) 108px; gap: 0; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-code-row .auth-input { border-radius: 8px 0 0 8px; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-code-btn { height: 46px; border-radius: 0 8px 8px 0; border-color: #dce5ee; border-left: 0; background: #fff; color: #1d4fff; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-eye-btn { right: 9px; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-primary { height: 46px; margin-top: 4px; border-radius: 8px; background: #1d4fff; font-size: 14px; box-shadow: 0 10px 18px rgba(29, 79, 255, 0.18); }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-primary:hover { background: #1642d8; }
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-bottom-text { margin-top: 22px; color: #91a0b1; }

/* The registration form can be taller than short desktop viewports. Keep scrolling inside the right column. */
body.auth-page[data-auth-page="register"] .login-access {
  align-items: flex-start;
  padding-top: 88px;
}

body.auth-page[data-auth-page="register"] .login-card {
  margin: 0 auto 28px;
}

.login-visual-ad {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual.has-custom-ad {
  background: #eaf5ff;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual.has-custom-ad::before,
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual.has-custom-ad::after,
body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual.has-custom-ad > :not(.login-visual-ad) {
  display: none;
}

body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual.has-custom-ad .login-visual-ad {
  display: block;
}

@media (max-width: 1100px) {
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-frame { grid-template-columns: minmax(0, 54fr) minmax(400px, 46fr); }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual { padding-left: 34px; padding-right: 34px; }
  .login-art-browser { left: 2%; }
  .login-art-promo { right: -2%; transform: scale(.88); transform-origin: top right; }
  .login-art-team { right: -4%; transform: scale(.9); transform-origin: bottom right; }
  .login-art-chart { left: 5%; transform: scale(.88); transform-origin: bottom left; }
}

@media (max-width: 860px) {
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) { min-height: 100dvh; overflow: auto; background: #f7faff; }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-shell { min-height: 100dvh; height: auto; padding: 20px; }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-frame { display: block; height: calc(100dvh - 40px); min-height: 0; border: 1px solid #e6edf5; border-radius: 18px; overflow: hidden; }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual { display: none; }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-access { min-height: calc(100dvh - 40px); padding: 32px 24px; }
  .login-access-top { top: 24px; right: 24px; }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card { margin: 42px auto 0; }
  body.auth-page[data-auth-page="register"] .login-frame,
  body.auth-page[data-auth-page="forgot"] .login-frame { height: auto; min-height: calc(100dvh - 40px); overflow: visible; }
  body.auth-page[data-auth-page="register"] .login-access { padding-top: 32px; }
}

@media (max-height: 740px) and (min-width: 861px) {
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual { padding-top: 22px; padding-bottom: 20px; }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-visual-stage { height: min(400px, 49vh); }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card-brand { margin-bottom: 16px; }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-card-sub { margin-bottom: 20px; }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-tabs { margin-bottom: 18px; }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-field { margin-bottom: 12px; }
  body.auth-page:is([data-auth-page="login"], [data-auth-page="register"], [data-auth-page="forgot"]) .login-card .auth-bottom-text { margin-top: 16px; }
}
