/**
 * VetBill — light palette (body.vetbill).
 * Typography: Inter only — neutral, minimal, readable (no display condensed face).
 */

body.vetbill {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
  --vb-page: #e9f3fa;
  --vb-page-2: #dceef9;
  --vb-surface: #ffffff;
  --vb-surface-2: #f3f9fd;
  --vb-text: #0f172a;
  --vb-muted: #475569;
  --vb-faint: #64748b;
  --vb-accent: #0ea5e9;
  --vb-accent-deep: #0284c7;
  --vb-accent-soft: rgba(14, 165, 233, 0.12);
  --vb-border: rgba(15, 23, 42, 0.08);
  --vb-border-strong: rgba(15, 23, 42, 0.12);
  --vb-shadow: 0 22px 60px rgba(15, 76, 117, 0.08);
  --vb-shadow-sm: 0 8px 28px rgba(15, 76, 117, 0.06);
  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

body.vetbill .vetbill-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ——— Landing ——— */
body.vetbill.landing {
  --bg: var(--vb-page);
  --bg-elevated: var(--vb-surface);
  --bg-hover: var(--vb-surface-2);
  --border: var(--vb-border);
  --border-strong: var(--vb-border-strong);
  --text: var(--vb-text);
  --text-muted: var(--vb-muted);
  --text-faint: var(--vb-faint);
  --accent: var(--vb-accent-deep);
  --accent-hover: var(--vb-accent);
  --accent-2: var(--vb-muted);
  --shadow: var(--vb-shadow);
}

body.vetbill.landing::before {
  background:
    radial-gradient(ellipse 90% 65% at 15% -8%, rgba(56, 189, 248, 0.22), transparent 48%),
    radial-gradient(ellipse 70% 50% at 88% 12%, rgba(14, 165, 233, 0.14), transparent 45%),
    linear-gradient(180deg, #eef6fc 0%, #e4f0f9 48%, #dfeef8 100%);
}

body.vetbill.landing .skip-link {
  background: var(--vb-accent-deep);
  color: #fff;
}

body.vetbill.landing .landing-header-wrap {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--vb-border);
  backdrop-filter: blur(14px);
}

body.vetbill.landing .landing-nav-primary a {
  color: var(--vb-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

body.vetbill.landing .landing-nav-primary a:hover {
  color: var(--vb-text);
}

body.vetbill.landing .landing-nav-login {
  color: var(--vb-muted);
}

body.vetbill.landing .btn-nav-primary {
  background: linear-gradient(135deg, var(--vb-accent) 0%, var(--vb-accent-deep) 100%);
  color: #fff !important;
  border: none;
  box-shadow: var(--vb-shadow-sm);
}

body.vetbill.landing .btn-nav-primary:hover {
  filter: brightness(1.05);
}

body.vetbill.landing .law-logo {
  color: var(--vb-text);
  font-weight: 600;
  letter-spacing: -0.015em;
}

body.vetbill.landing .law-logo span {
  color: var(--vb-accent-deep);
}

body.vetbill.landing .landing-kicker {
  color: var(--vb-accent-deep);
  letter-spacing: 0.06em;
}

body.vetbill.landing .vetbill-kicker-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.vetbill.landing .landing-kicker-dot {
  background: var(--vb-accent);
}

body.vetbill.landing .landing-hero-title {
  color: var(--vb-text);
  max-width: min(32ch, 100%);
}

body.vetbill.landing .vetbill-hero-display {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.022em;
  max-width: min(36ch, 100%);
}

@media (min-width: 640px) {
  body.vetbill.landing .vetbill-hero-break {
    display: block;
  }
}

body.vetbill.landing .vetbill-hero-lede {
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 1.65;
  max-width: 40rem;
  font-weight: 400;
}

body.vetbill.landing .landing-lede {
  color: var(--vb-muted);
}

body.vetbill.landing .landing-trust {
  border-top-color: var(--vb-border-strong);
}

body.vetbill.landing .landing-trust-mark {
  background: linear-gradient(90deg, var(--vb-accent-soft), transparent);
  height: 2px;
}

body.vetbill.landing .landing-trust-note {
  color: var(--vb-faint);
}

body.vetbill.landing .btn-outline {
  border-color: var(--vb-border-strong);
  color: var(--vb-text);
  background: rgba(255, 255, 255, 0.55);
}

body.vetbill.landing .btn-outline:hover {
  background: var(--vb-surface);
  border-color: var(--vb-accent);
  color: var(--vb-accent-deep);
}

body.vetbill.landing .btn-primary {
  background: linear-gradient(135deg, var(--vb-accent) 0%, var(--vb-accent-deep) 100%);
  color: #fff !important;
  border: none;
  box-shadow: var(--vb-shadow-sm);
}

body.vetbill.landing .btn-primary:hover {
  filter: brightness(1.06);
}

body.vetbill.landing .auth-card {
  background: var(--vb-surface);
  border-color: var(--vb-border);
  box-shadow: var(--vb-shadow);
}

body.vetbill.landing .auth-tabs {
  background: var(--vb-surface-2);
  border-color: var(--vb-border);
}

body.vetbill.landing .auth-tab[aria-selected="true"] {
  background: #fff;
  color: var(--vb-text);
  box-shadow: var(--vb-shadow-sm);
}

body.vetbill.landing .auth-tab {
  color: var(--vb-muted);
}

body.vetbill.landing .field label {
  color: var(--vb-muted);
}

body.vetbill.landing .field input {
  background: #fff;
  border-color: var(--vb-border-strong);
  color: var(--vb-text);
}

body.vetbill.landing .muted-hint {
  color: var(--vb-faint);
}

body.vetbill.landing .btn-google {
  background: #fff;
  border-color: var(--vb-border-strong);
  color: var(--vb-text);
}

body.vetbill.landing .landing-tier-band {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14) 0%, rgba(14, 165, 233, 0.08) 100%);
  border-top: 1px solid var(--vb-border);
  border-bottom: 1px solid var(--vb-border);
}

body.vetbill.landing .landing-tier-label {
  color: var(--vb-accent-deep);
}

body.vetbill.landing .landing-tier-price-line {
  color: var(--vb-text);
}

body.vetbill.landing .landing-tier-meta {
  color: var(--vb-muted);
}

body.vetbill.landing .landing-section--surface {
  background: rgba(255, 255, 255, 0.42);
}

body.vetbill.landing .landing-eyebrow {
  color: var(--vb-accent-deep);
}

body.vetbill.landing .vetbill-eyebrow-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.95;
}

body.vetbill.landing .landing-section-title {
  color: var(--vb-text);
}

body.vetbill.landing .vetbill-section-display {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: min(30ch, 100%);
}

body.vetbill.landing .vetbill-section-lede-wide {
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

body.vetbill.landing .vetbill-section-lede-tight {
  max-width: 34rem;
}

body.vetbill.landing .landing-section-lede {
  color: var(--vb-muted);
}

body.vetbill.landing .practice-card,
body.vetbill.landing .svc-card {
  background: var(--vb-surface);
  border-color: var(--vb-border);
  box-shadow: var(--vb-shadow-sm);
}

body.vetbill.landing .practice-card-title,
body.vetbill.landing .svc-card-title {
  color: var(--vb-text);
}

body.vetbill.landing .practice-card p,
body.vetbill.landing .svc-card p {
  color: var(--vb-muted);
}

body.vetbill.landing .proof-card {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
}

body.vetbill.landing .proof-metric {
  color: var(--vb-accent-deep);
}

body.vetbill.landing .landing-roadmap {
  background: var(--vb-surface);
  border-color: var(--vb-border);
}

body.vetbill.landing .landing-cta-band {
  background: linear-gradient(135deg, var(--vb-accent-deep) 0%, #0369a1 100%);
}

body.vetbill.landing .landing-footer-wide {
  border-top: 1px solid var(--vb-border);
  background: rgba(255, 255, 255, 0.55);
}

body.vetbill.landing .landing-footer-heading {
  color: var(--vb-text);
}

body.vetbill.landing .landing-footer-links a {
  color: var(--vb-muted);
}

body.vetbill.landing .landing-footer-links a:hover {
  color: var(--vb-accent-deep);
}

body.vetbill.landing .landing-footer-bar {
  color: var(--vb-faint);
}

/* VetBill-only landing sections */
body.vetbill.landing .vetbill-section--soft {
  background: rgba(255, 255, 255, 0.55) !important;
}

body.vetbill.landing .vetbill-bento {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  body.vetbill.landing .vetbill-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  body.vetbill.landing .vetbill-bento__card--wide {
    grid-column: 1 / -1;
  }
}

body.vetbill.landing .vetbill-bento__card {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--vb-shadow-sm);
}

body.vetbill.landing .vetbill-bento__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--vb-text);
  letter-spacing: -0.015em;
}

body.vetbill.landing .vetbill-bento__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--vb-muted);
}

body.vetbill.landing .vetbill-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 520px;
}

body.vetbill.landing .vetbill-steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

body.vetbill.landing .vetbill-steps__n {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--vb-accent-deep);
  background: var(--vb-accent-soft);
  border: 1px solid var(--vb-border);
}

body.vetbill.landing .vetbill-steps__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--vb-text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

body.vetbill.landing .vetbill-steps__body span {
  font-size: 14px;
  color: var(--vb-muted);
  line-height: 1.55;
}

body.vetbill.landing .vetbill-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

body.vetbill.landing .vetbill-metric {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--vb-shadow-sm);
}

body.vetbill.landing .vetbill-metric__val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: var(--vb-accent-deep);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

body.vetbill.landing .vetbill-metric__cap {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--vb-muted);
  line-height: 1.4;
}

body.vetbill.landing .vetbill-trust-list {
  margin: 28px 0 0;
  padding-left: 1.2rem;
  color: var(--vb-muted);
  font-size: 14px;
  line-height: 1.65;
}

body.vetbill.landing .vetbill-trust-list li + li {
  margin-top: 8px;
}

body.vetbill.landing .vetbill-split .landing-checklist li {
  color: var(--vb-muted);
}

body.vetbill.landing .vetbill-aside-card {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--vb-shadow-sm);
  align-self: start;
}

body.vetbill.landing .vetbill-aside-card__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--vb-text);
  letter-spacing: -0.01em;
}

body.vetbill.landing .vetbill-aside-card__cite {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--vb-faint);
  font-style: normal;
}

body.vetbill.landing .vetbill-cta-band .landing-cta-text {
  opacity: 0.94;
}

body.vetbill.landing .vetbill-footer .law-logo {
  color: var(--vb-text);
}

/* ——— Dashboard + paywall ——— */
body.vetbill.dashboard {
  --bg: var(--vb-page);
  --bg-elevated: var(--vb-surface);
  --bg-hover: var(--vb-surface-2);
  --border: var(--vb-border);
  --border-strong: var(--vb-border-strong);
  --text: var(--vb-text);
  --text-muted: var(--vb-muted);
  --text-faint: var(--vb-faint);
  --accent: var(--vb-accent-deep);
  --accent-hover: var(--vb-accent);
}

body.vetbill.dashboard::before {
  background:
    radial-gradient(ellipse 80% 55% at 10% -10%, rgba(56, 189, 248, 0.2), transparent 50%),
    linear-gradient(180deg, var(--vb-page) 0%, var(--vb-page-2) 100%);
}

body.vetbill .dash-sidebar {
  background: rgba(255, 255, 255, 0.82);
  border-right-color: var(--vb-border);
  backdrop-filter: blur(12px);
}

body.vetbill .dash-nav a {
  color: var(--vb-muted);
}

body.vetbill .dash-nav a:hover {
  background: var(--vb-accent-soft);
  color: var(--vb-text);
}

body.vetbill .dash-nav a.active {
  background: rgba(14, 165, 233, 0.14);
  color: var(--vb-accent-deep);
  border-left-color: var(--vb-accent);
}

body.vetbill .dash-user {
  background: var(--vb-surface);
  border-color: var(--vb-border);
}

body.vetbill .dash-user-avatar--placeholder {
  background: var(--vb-accent-soft);
  color: var(--vb-accent-deep);
}

body.vetbill .dash-user-email {
  color: var(--vb-faint);
}

body.vetbill .dash-user .btn-logout {
  background: linear-gradient(135deg, var(--vb-accent) 0%, var(--vb-accent-deep) 100%);
  color: #fff;
  border: none;
}

body.vetbill .dash-user .btn-logout:hover {
  filter: brightness(1.06);
}

body.vetbill .dash-top {
  border-bottom-color: var(--vb-border);
}

body.vetbill .dash-top h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--vb-text);
}

body.vetbill .dash-top p,
body.vetbill .dash-panel-lede {
  color: var(--vb-muted);
}

body.vetbill .dash-panel,
body.vetbill .stat-card {
  background: var(--vb-surface);
  border-color: var(--vb-border);
  box-shadow: var(--vb-shadow-sm);
}

body.vetbill .dash-panel h2 {
  color: var(--vb-accent-deep);
}

body.vetbill .stat-card:hover {
  border-color: rgba(14, 165, 233, 0.35);
}

body.vetbill .profile-form .field label,
body.vetbill .dash-settings-dl dt {
  color: var(--vb-muted);
}

body.vetbill .profile-form input,
body.vetbill .dash-settings input,
body.vetbill .dash-settings textarea {
  background: #fff;
  border-color: var(--vb-border-strong);
  color: var(--vb-text);
}

body.vetbill .admin-table-wrap {
  border-color: var(--vb-border);
}

body.vetbill .admin-table th {
  background: var(--vb-surface-2);
  color: var(--vb-muted);
}

body.vetbill .admin-table td {
  border-color: var(--vb-border);
  color: var(--vb-text);
}

body.vetbill .admin-table tbody tr:hover td {
  background: rgba(14, 165, 233, 0.06);
}

body.vetbill .alert-success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

body.vetbill .alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.22);
}

body.vetbill .btn-primary {
  background: linear-gradient(135deg, var(--vb-accent) 0%, var(--vb-accent-deep) 100%);
  color: #fff !important;
  border: none;
}

body.vetbill .btn-outline {
  border-color: var(--vb-border-strong);
  color: var(--vb-text);
  background: transparent;
}

body.vetbill .btn-outline:hover {
  background: var(--vb-accent-soft);
  border-color: var(--vb-accent);
}

/* Paywall */
body.vetbill.paywall .paywall-shell {
  background: var(--vb-page);
}

body.vetbill.paywall .paywall-header {
  border-bottom-color: var(--vb-border);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
}

body.vetbill.paywall .paywall-intro .paywall-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--vb-text);
}

body.vetbill.paywall .paywall-intro .paywall-lede,
body.vetbill.paywall .paywall-intro-list li {
  color: var(--vb-muted);
}

body.vetbill.paywall .paywall-checkout-card {
  background: var(--vb-surface);
  border-color: var(--vb-border);
  box-shadow: var(--vb-shadow);
}

body.vetbill.paywall .paywall-price-badge {
  color: var(--vb-accent-deep);
}

body.vetbill .vetbill-dash-lede {
  color: var(--vb-muted);
}

body.vetbill .vetbill-dash-flash {
  margin-bottom: 18px;
}

body.vetbill .vetbill-dash-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 22px;
}

body.vetbill .vetbill-stat-card {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  box-shadow: var(--vb-shadow-sm);
}

body.vetbill .vetbill-stat-card__label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vb-faint);
}

body.vetbill .vetbill-stat-card__value {
  margin: 10px 0 4px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--vb-text);
  line-height: 1.05;
}

body.vetbill .vetbill-stat-card__hint {
  margin: 0;
  font-size: 13px;
  color: var(--vb-muted);
  line-height: 1.45;
}

body.vetbill .vetbill-dash-roadmap {
  margin-bottom: 22px;
}

body.vetbill .vetbill-subpanel-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--vb-accent-deep);
  margin: 0 0 10px;
  font-size: 1rem;
}

body.vetbill .vetbill-roadmap-lede {
  margin: 0 0 16px;
  max-width: 52rem;
}

body.vetbill .vetbill-roadmap-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.vetbill .vetbill-roadmap-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--vb-border);
  background: var(--vb-surface-2);
  min-width: 140px;
}

body.vetbill .vetbill-roadmap-pill strong {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--vb-muted);
  font-weight: 600;
}

body.vetbill .vetbill-roadmap-pill span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--vb-text);
}

body.vetbill .vetbill-dash-split {
  display: grid;
  gap: 18px;
}

@media (min-width: 960px) {
  body.vetbill .vetbill-dash-split {
    grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
    align-items: start;
  }
}

body.vetbill .vetbill-reminder-form-panel textarea {
  resize: vertical;
  min-height: 120px;
}

body.vetbill .vetbill-form-hint {
  margin: 0 0 16px;
}

body.vetbill .vetbill-reminder-form .form-footer {
  margin-top: 10px;
}

body.vetbill .vetbill-reminder-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

body.vetbill .vetbill-reminder-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

body.vetbill .vetbill-reminder-table th,
body.vetbill .vetbill-reminder-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--vb-border);
  vertical-align: top;
}

body.vetbill .vetbill-reminder-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vb-muted);
  font-weight: 600;
}

body.vetbill .vetbill-reminder-detail-row td {
  padding-top: 0;
  border-bottom: 1px solid var(--vb-border-strong);
  background: rgba(14, 165, 233, 0.04);
}

body.vetbill .vetbill-reminder-body-preview {
  margin: 0;
  color: var(--vb-muted);
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

body.vetbill .vetbill-reminder-link {
  margin: 8px 0 0;
  font-size: 13px;
}

body.vetbill .vetbill-reminder-actions {
  white-space: nowrap;
}

body.vetbill .vetbill-inline-form {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 6px;
}

body.vetbill .vetbill-btn-cancel {
  border-color: rgba(185, 28, 28, 0.35);
  color: #b91c1c;
}

body.vetbill .vetbill-btn-cancel:hover {
  background: rgba(185, 28, 28, 0.06);
}

body.vetbill .vetbill-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body.vetbill .vetbill-pill--scheduled {
  background: rgba(14, 165, 233, 0.14);
  color: var(--vb-accent-deep);
}

body.vetbill .vetbill-pill--sent {
  background: rgba(34, 197, 94, 0.14);
  color: #166534;
}

body.vetbill .vetbill-pill--cancelled {
  background: rgba(100, 116, 139, 0.14);
  color: var(--vb-muted);
}

body.vetbill .vetbill-dash-checklist {
  color: var(--vb-muted);
}

body.vetbill .vetbill-invoice-page__header .vetbill-invoice-page__lede {
  max-width: 38rem;
}

body.vetbill .vetbill-invoice-card {
  border-radius: 14px;
  padding: 22px 24px 24px;
}

body.vetbill .vetbill-stripe-connect-panel.vetbill-invoice-card {
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.09) 0%, var(--vb-surface) 42%, var(--vb-surface) 100%);
  border: 1px solid rgba(14, 165, 233, 0.22);
}

body.vetbill .vetbill-invoice-card__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--vb-accent-deep);
}

body.vetbill .vetbill-invoice-card__text {
  margin: 0;
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.55;
  color: var(--vb-muted);
}

body.vetbill .vetbill-invoice-sheet .vetbill-invoice-card__text {
  max-width: none;
  margin-top: 14px;
  font-size: 14px;
}

body.vetbill .vetbill-invoice-card__text--success {
  color: var(--vb-text);
}

body.vetbill .vetbill-invoice-card__meta {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--vb-text);
}

body.vetbill .vetbill-invoice-card__meta-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vb-muted);
  margin-bottom: 4px;
}

body.vetbill .vetbill-invoice-primary-btn {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

body.vetbill .vetbill-stripe-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 14px;
}

body.vetbill .vetbill-stripe-disconnect-form {
  display: inline;
  margin: 0;
}

body.vetbill .vetbill-invoice-form {
  display: grid;
  gap: 1.15rem;
  margin-top: 16px;
  max-width: 26rem;
}

body.vetbill .vetbill-invoice-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--vb-muted);
  margin-bottom: 6px;
}

body.vetbill .vetbill-invoice-field__optional {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(100, 116, 139, 0.95);
  font-size: 0.92em;
}

body.vetbill .vetbill-invoice-field input,
body.vetbill .vetbill-invoice-field textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--vb-border-strong);
  padding: 11px 14px;
  font-size: 16px;
  line-height: 1.35;
  background: #fff;
  color: var(--vb-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.vetbill .vetbill-invoice-field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

body.vetbill .vetbill-invoice-field input::placeholder,
body.vetbill .vetbill-invoice-field textarea::placeholder {
  color: rgba(100, 116, 139, 0.85);
}

body.vetbill .vetbill-invoice-field input:focus,
body.vetbill .vetbill-invoice-field textarea:focus {
  outline: none;
  border-color: var(--vb-accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

body.vetbill .vetbill-invoice-form-footer {
  padding-top: 4px;
}

body.vetbill .vetbill-invoice-form .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ——— Simple invoice sheet (Stripe Checkout on connected account) ——— */
body.vetbill .vetbill-invoice-preview-wrap {
  margin-top: 28px;
}

body.vetbill .vetbill-invoice-sheet {
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  padding: 28px 30px 22px;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

body.vetbill .vetbill-invoice-sheet__logo {
  display: block;
  max-height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 16px;
}

body.vetbill .vetbill-invoice-sheet__clinic {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--vb-text, #0f172a);
}

body.vetbill .vetbill-invoice-sheet__title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.vetbill .vetbill-invoice-sheet__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin: 0 0 22px;
  padding: 0;
}

body.vetbill .vetbill-invoice-sheet__meta > div {
  margin: 0;
}

body.vetbill .vetbill-invoice-sheet__meta dt {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vb-muted);
  font-weight: 600;
}

body.vetbill .vetbill-invoice-sheet__meta dd {
  margin: 2px 0 0;
  font-size: 14px;
}

body.vetbill .vetbill-invoice-sheet__block {
  margin-bottom: 18px;
}

body.vetbill .vetbill-invoice-sheet__label {
  margin: 0 0 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vb-muted);
  font-weight: 600;
}

body.vetbill .vetbill-invoice-sheet__strong {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

body.vetbill .vetbill-invoice-sheet__amount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--vb-border);
  border-bottom: 1px solid var(--vb-border);
}

body.vetbill .vetbill-invoice-sheet__amount {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.vetbill .vetbill-invoice-sheet__memo {
  margin-top: 18px;
}

body.vetbill .vetbill-invoice-sheet__memo p:last-child {
  margin-bottom: 0;
}

body.vetbill .vetbill-invoice-sheet__fineprint {
  margin: 20px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--vb-muted);
}

body.vetbill .vetbill-invoice-share-hint {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
  max-width: 40rem;
}

body.vetbill .vetbill-invoice-recorded-paid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 18px 0 0;
  font-size: 13px;
}

body.vetbill .vetbill-invoice-recorded-paid__note {
  color: var(--vb-muted);
  flex: 1 1 12rem;
}

body.vetbill .vetbill-invoice-sheet__paid-line {
  margin: 12px 0 0;
  font-size: 12px;
}

body.vetbill .vetbill-invoice-sheet__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
}

body.vetbill .vetbill-invoice-sheet__actions-print {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
}

body.vetbill .print-only {
  display: none !important;
}

@media print {
  body.vetbill.vetbill-page-invoices aside.dash-sidebar {
    display: none !important;
  }

  body.vetbill.vetbill-page-invoices main.dash-main {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
  }

  body.vetbill.vetbill-page-invoices .vetbill-dash-top,
  body.vetbill.vetbill-page-invoices .vetbill-dash-flash,
  body.vetbill.vetbill-page-invoices .vetbill-stripe-connect-panel,
  body.vetbill.vetbill-page-invoices .vetbill-invoice-defaults,
  body.vetbill.vetbill-page-invoices .vetbill-invoice-build {
    display: none !important;
  }

  body.vetbill .vetbill-invoice-preview-wrap {
    margin-top: 0;
  }

  body.vetbill .vetbill-invoice-sheet {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-width: none;
    margin: 0;
  }

  body.vetbill .no-print {
    display: none !important;
  }

  body.vetbill .print-only {
    display: block !important;
  }
}
