:root {
  --ink: #071525;
  --muted: #596a5f;
  --line: #d9e4d6;
  --surface: #ffffff;
  --soft: #f5f9f2;
  --brand: #4f7d2d;
  --brand-dark: #071525;
  --brand-blue: #071525;
  --green: #4f7d2d;
  --leaf: #83a957;
  --gold: #b8832f;
  --danger: #b42318;
}

html {
  scroll-behavior: smooth;
}

body.shelfscout-theme {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbf5 0%, #ffffff 34%, #f3f7f0 100%) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shelfscout-theme a {
  color: inherit;
  text-decoration: none;
}

.shelfscout-site-header,
.shelfscout-theme .site-header,
.shelfscout-theme .glass,
.shelfscout-theme header.sticky,
.shelfscout-theme .header {
  background: rgba(255, 255, 255, .92) !important;
  border-bottom: 1px solid rgba(217, 228, 214, .92) !important;
  backdrop-filter: blur(14px);
  box-shadow: none !important;
}

.shelfscout-nav {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.shelfscout-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink) !important;
  font-weight: 800;
}

.shelfscout-brand-mark,
.shelfscout-theme .logo-mark,
.shelfscout-theme .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-blue), var(--green)) !important;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -.04em;
  box-shadow: 0 10px 24px rgba(79, 125, 45, .2);
  flex: 0 0 auto;
}

.shelfscout-theme .brand img,
.shelfscout-theme header img[src*="logo"],
.shelfscout-logo-img {
  display: inline-block;
  height: 52px;
  width: auto;
  object-fit: contain;
}

.shelfscout-theme .nav-link,
.shelfscout-theme .menu a,
.shelfscout-theme header a:not(.button-primary):not(.button-secondary):not(.btn),
.shelfscout-theme .header a {
  color: #405545;
  font-weight: 700;
}

.shelfscout-theme .nav-link:hover,
.shelfscout-theme .menu a:hover,
.shelfscout-theme header a:hover {
  color: var(--brand);
  text-decoration: none;
}

.shelfscout-theme main,
.shelfscout-theme .container {
  color: var(--ink);
}

.shelfscout-theme .page-hero {
  padding: 4.5rem 1.25rem 2.5rem;
}

.shelfscout-theme .page-hero-inner {
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

.shelfscout-theme .section-kicker {
  color: var(--brand);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.shelfscout-theme .panel,
.shelfscout-theme .card,
.shelfscout-theme .glass-panel,
.shelfscout-theme .qcard,
.shelfscout-theme .final,
.shelfscout-theme form.card,
.shelfscout-theme .modal-content {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(23, 32, 51, .06) !important;
  color: var(--ink) !important;
}

.shelfscout-theme .panel h1,
.shelfscout-theme .panel h2,
.shelfscout-theme .panel h3,
.shelfscout-theme .card h1,
.shelfscout-theme .card h2,
.shelfscout-theme .card h3,
.shelfscout-theme .qcard h2,
.shelfscout-theme .final h2 {
  color: var(--ink) !important;
}

.shelfscout-theme .panel p,
.shelfscout-theme .panel li,
.shelfscout-theme .card p,
.shelfscout-theme .card li,
.shelfscout-theme .final p,
.shelfscout-theme .qcard p {
  color: var(--muted) !important;
}

.shelfscout-theme .panel strong,
.shelfscout-theme .card strong {
  color: var(--ink);
}

.shelfscout-theme .panel h3,
.shelfscout-theme .card h3 {
  border-color: var(--line) !important;
}

.shelfscout-theme .input,
.shelfscout-theme .field,
.shelfscout-theme input,
.shelfscout-theme textarea,
.shelfscout-theme select {
  border-radius: 8px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--ink) !important;
  outline: none;
}

.shelfscout-theme .input:focus,
.shelfscout-theme .field:focus,
.shelfscout-theme input:focus,
.shelfscout-theme textarea:focus,
.shelfscout-theme select:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 4px rgba(79, 125, 45, .14) !important;
}

.shelfscout-theme .btn,
.shelfscout-theme .cta,
.shelfscout-theme button[type="submit"],
.shelfscout-theme .button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px !important;
  border: 0 !important;
  background: var(--brand) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 14px 30px rgba(79, 125, 45, .22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.shelfscout-theme .btn:hover,
.shelfscout-theme .cta:hover,
.shelfscout-theme button[type="submit"]:hover,
.shelfscout-theme .button-primary:hover {
  background: var(--brand-dark) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(7, 21, 37, .2);
  transform: translateY(-1px);
  text-decoration: none;
}

.shelfscout-theme .button-secondary,
.shelfscout-theme button[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--brand-dark) !important;
  font-weight: 800 !important;
}

.shelfscout-theme .warning,
.shelfscout-theme .notice {
  background: #fff8e6 !important;
  border: 1px solid #f3d38b !important;
  color: #7a4a04 !important;
  border-radius: 8px !important;
}

.shelfscout-theme .error,
.shelfscout-theme .status.error {
  background: #fff1f0 !important;
  border: 1px solid #ffccc7 !important;
  color: var(--danger) !important;
  border-radius: 8px !important;
}

.shelfscout-theme .progress-bar {
  background: #e7eee4 !important;
}

.shelfscout-theme .progress-fill {
  background: var(--brand) !important;
}

.shelfscout-theme .option {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
}

.shelfscout-theme .pill,
.shelfscout-theme .badge,
.shelfscout-theme .slot,
.shelfscout-theme .day label.day-toggle {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: #405545 !important;
}

.shelfscout-theme .day input[name="days"]:checked + label.day-toggle,
.shelfscout-theme .slot.selected {
  outline: 2px solid rgba(79, 125, 45, .55) !important;
  background: #edf4e7 !important;
  color: var(--brand-dark) !important;
}

.shelfscout-theme .slots,
.shelfscout-theme .scrollbox,
.shelfscout-theme pre {
  background: #f8fbf5 !important;
  border: 1px solid var(--line) !important;
  color: #405545 !important;
}

.shelfscout-theme .modal-overlay {
  background: rgba(15, 23, 42, .42) !important;
}

.shelfscout-theme .option:hover {
  border-color: rgba(79, 125, 45, .45) !important;
  box-shadow: 0 8px 22px rgba(23, 32, 51, .06);
}

.shelfscout-theme .option span {
  color: #405545 !important;
}

.shelfscout-theme .option input[type="radio"]:checked + span {
  color: var(--brand-dark) !important;
}

.shelfscout-theme footer,
.shelfscout-footer {
  border-top: 1px solid var(--brand-blue) !important;
  background: var(--brand-blue) !important;
  color: #cbd5e1 !important;
  padding: 2rem 1.25rem;
  text-align: center;
}

.shelfscout-theme footer p,
.shelfscout-footer p {
  color: #cbd5e1 !important;
}

.shelfscout-theme .bg-blue-600,
.shelfscout-theme .bg-sky-600,
.shelfscout-theme .bg-emerald-600,
.shelfscout-theme .bg-indigo-600 {
  background-color: var(--brand) !important;
}

.shelfscout-theme .hover\:bg-blue-700:hover,
.shelfscout-theme .hover\:bg-sky-700:hover,
.shelfscout-theme .hover\:bg-emerald-700:hover,
.shelfscout-theme .hover\:bg-indigo-700:hover {
  background-color: var(--brand-dark) !important;
}

.shelfscout-theme .text-blue-600,
.shelfscout-theme .text-sky-600,
.shelfscout-theme .text-emerald-700,
.shelfscout-theme .text-indigo-600 {
  color: var(--brand) !important;
}

.shelfscout-theme .bg-slate-950,
.shelfscout-theme .bg-slate-900 {
  background-color: var(--brand-blue) !important;
}

@media (max-width: 720px) {
  .shelfscout-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .shelfscout-theme header .menu,
  .shelfscout-theme .header nav {
    flex-wrap: wrap;
  }
}
