:root {
  /* Signature Pink Theme — The Cleaning Calculator */
  --bg-page: #FFF5F8;
  --bg-gradient-start: #FFE4EF;
  --bg-gradient-end: #FFF9FB;
  --surface-card: #FFFFFF;
  --surface-soft: #FDF2F8;
  --surface-pill: #FCE7F3;
  --surface-pill-hover: #FBCFE8;

  --pink-primary: #EC4899;
  --pink-primary-hover: #DB2777;
  --pink-primary-active: #BE185D;
  --pink-deep: #9D174D;
  --pink-light: #F472B6;
  --pink-border: #FBCFE8;
  --pink-border-strong: #F472B6;
  --pink-glow: rgba(236, 72, 153, 0.18);
  --pink-shadow: 0 12px 32px -8px rgba(219, 39, 119, 0.12), 0 4px 12px -2px rgba(236, 72, 153, 0.06);

  --text-main: #1F1218;
  --text-secondary: #5C3D4C;
  --text-muted: #8A6577;
  --text-on-pink: #FFFFFF;

  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, var(--bg-gradient-start) 0%, var(--bg-page) 55%, var(--bg-gradient-end) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 14px 48px;
}

body.modal-open {
  overflow: hidden;
}

/* Main App Shell */
.app-shell {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

/* Header Bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 4px 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #FFFFFF;
}

.brand-text {
  min-width: 0;
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--pink-primary-hover);
  display: block;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Top Actions: Sign In + Language */
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.auth-trigger-btn {
  border: 1.5px solid var(--pink-border-strong);
  background: #FFFFFF;
  color: var(--pink-primary-hover);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.1);
  max-width: 140px;
}

.auth-trigger-btn:hover {
  background: var(--surface-pill);
}

.auth-trigger-btn.logged-in {
  background: var(--surface-soft);
  border-color: var(--pink-border);
  color: var(--text-main);
}

.auth-trigger-btn .auth-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  background: var(--surface-pill);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-pill);
  padding: 3px;
  flex-shrink: 0;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.16s ease;
  text-decoration: none;
  line-height: 1;
}

.lang-btn.active {
  background: var(--pink-primary);
  color: var(--text-on-pink);
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.3);
}

/* Calculator Main Card */
.calc-card {
  background: var(--surface-card);
  border: 1.5px solid var(--pink-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--pink-shadow);
  padding: 20px 18px;
  margin-bottom: 16px;
}

/* Live Price Hero Display */
.price-banner {
  background: linear-gradient(135deg, #EC4899 0%, #DB2777 60%, #BE185D 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -4px rgba(219, 39, 119, 0.35);
  position: relative;
  overflow: hidden;
}

.price-banner::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.price-banner-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.95;
  margin-bottom: 4px;
}

.time-badge {
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.price-main-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.price-value {
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.price-breakdown-line {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFE4EF;
  opacity: 0.95;
  letter-spacing: 0.01em;
}

.price-summary-line {
  margin-top: 6px;
  font-size: 0.78rem;
  opacity: 0.9;
  font-weight: 500;
  line-height: 1.35;
}

/* Section Labels */
.field-group {
  margin-bottom: 16px;
}

.field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

/* Segmented Mode Tabs (Rooms / Sq Ft / Hours) */
.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface-soft);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
}

.seg-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 6px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.seg-btn.active {
  background: var(--pink-primary);
  color: var(--text-on-pink);
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.28);
}

/* Steppers & Inputs */
.stepper-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-soft);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.stepper-info {
  display: flex;
  flex-direction: column;
}

.stepper-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.stepper-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stepper-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--pink-border);
  background: #FFFFFF;
  color: var(--pink-primary-hover);
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.14s ease;
  user-select: none;
}

.step-btn:hover {
  background: var(--surface-pill);
  border-color: var(--pink-light);
}

.step-btn:active {
  transform: scale(0.94);
  background: var(--pink-primary);
  color: #FFFFFF;
}

.step-val {
  min-width: 38px;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
}

.sqft-input {
  width: 96px;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  background: #FFFFFF;
  border: 1.5px solid var(--pink-border);
  border-radius: 8px;
  padding: 5px 6px;
}

.sqft-input:focus {
  outline: none;
  border-color: var(--pink-primary);
}

/* Option Pills (Clean Type & Frequency) */
.pill-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.pill-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.option-pill {
  border: 1.5px solid var(--pink-border);
  background: var(--surface-soft);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
}

.option-pill .pill-name {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  word-break: break-word;
}

.option-pill .pill-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--pink-primary-hover);
}

.option-pill.active {
  background: var(--pink-primary);
  border-color: var(--pink-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(236, 72, 153, 0.25);
}

.option-pill.active .pill-tag {
  color: #FFE4EF;
}

.option-pill.disabled-pill {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(40%);
}

/* Add-ons / Extras Chips */
.addons-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.addon-chip {
  border: 1.5px solid var(--pink-border);
  background: var(--surface-soft);
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.14s ease;
}

.addon-chip .addon-price {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--pink-primary-hover);
  background: #FFFFFF;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
}

.addon-chip.active {
  background: var(--pink-primary);
  border-color: var(--pink-primary);
  color: #FFFFFF;
}

.addon-chip.active .addon-price {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.addon-chip.included {
  background: #FCE7F3;
  border-color: var(--pink-light);
  color: var(--pink-deep);
  cursor: default;
}

.addon-chip.included .addon-price {
  background: var(--pink-primary);
  color: #FFFFFF;
  font-weight: 700;
}

.addon-scale-hint {
  font-size: 0.71rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 6px;
  line-height: 1.35;
}

/* Custom Rates Drawer */
.rates-details {
  margin-bottom: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
}

.rates-details summary {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink-primary-hover);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rates-details summary::-webkit-details-marker {
  display: none;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--pink-border);
}

.rate-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rate-field label {
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.rate-field input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--pink-border);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  background: #FFFFFF;
}

/* Primary Action Buttons */
.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 6px;
}

.btn-primary,
.btn-secondary {
  border-radius: var(--radius-md);
  padding: 12px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--pink-primary);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
  background: var(--pink-primary-hover);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--surface-soft);
  color: var(--pink-primary-hover);
  border: 1.5px solid var(--pink-border);
}

.btn-secondary:hover {
  background: var(--surface-pill);
}

.btn-block {
  width: 100%;
}

.link-center {
  background: none;
  border: none;
  color: var(--pink-primary-hover);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  margin-top: 6px;
  padding: 4px;
}

.link-center:hover {
  text-decoration: underline;
}

/* Saved Estimates Section */
.saved-card {
  background: var(--surface-card);
  border: 1.5px solid var(--pink-border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.06);
}

.saved-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.saved-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.clear-btn {
  background: none;
  border: none;
  color: var(--pink-primary-hover);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.saved-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.saved-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--pink-border);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 0.81rem;
  gap: 8px;
}

.saved-item-details {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  flex: 1;
  font-size: inherit;
  font-family: inherit;
  line-height: 1.3;
}

.saved-item-details:hover {
  color: var(--pink-primary-hover);
}

.saved-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.saved-item-price {
  font-weight: 800;
  color: var(--pink-primary-hover);
  font-size: 0.88rem;
  white-space: nowrap;
}

.saved-item-del {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
}

.saved-item-del:hover {
  color: var(--pink-primary-hover);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 18, 24, 0.55);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 200;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: #FFFFFF;
  border: 1.5px solid var(--pink-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 50px rgba(157, 23, 77, 0.25);
  padding: 22px 20px;
  position: relative;
  animation: modalIn 0.18s ease-out;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
}

.modal-card.modal-card-wide {
  max-width: 500px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--pink-border);
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  padding-right: 32px;
}

.modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-soft);
  border: 1px solid var(--pink-border);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 12px;
}

.auth-tab {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
}

.auth-tab.active {
  background: var(--pink-primary);
  color: #FFFFFF;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1.5px solid var(--pink-border);
  border-radius: 10px;
  font-size: 0.86rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--surface-soft);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--pink-primary);
  background: #FFFFFF;
}

.auth-error {
  display: none;
  color: #DC2626;
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
}

.auth-mode-note {
  font-size: 0.71rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.35;
  margin-top: 4px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--pink-border);
}

.btn-social {
  width: 100%;
  border: 1.5px solid var(--pink-border);
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background 0.14s ease;
  font-family: inherit;
}

.btn-social:hover {
  background: var(--surface-soft);
}

/* Professional Quote Document Preview */
.quote-preview-box {
  background: #FFFFFF;
  border: 1.5px solid var(--pink-border);
  border-radius: 14px;
  padding: 16px 14px;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.06);
  max-height: 340px;
  overflow-y: auto;
}

.qdoc {
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.45;
}

.qdoc-head {
  border-bottom: 2px solid var(--pink-primary);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.qdoc-biz {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pink-deep);
  letter-spacing: -0.01em;
}

.qdoc-muted {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.qdoc-meta {
  margin-bottom: 10px;
}

.qdoc-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

.qdoc-client {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.qdoc-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--pink-primary-hover);
  margin: 10px 0 3px;
  text-transform: uppercase;
}

.qdoc-service {
  font-size: 0.84rem;
}

.qdoc-included {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.qdoc-lines {
  margin-top: 10px;
  border-top: 1px solid var(--pink-border);
}

.qdoc-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--surface-pill);
  font-size: 0.8rem;
}

.qdoc-row span:last-child {
  font-weight: 700;
}

.qdoc-discount span:last-child {
  color: #059669;
}

.qdoc-min span:first-child {
  color: var(--pink-primary-hover);
  font-style: italic;
  font-size: 0.74rem;
}

.qdoc-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pink-deep);
  margin-top: 8px;
  padding-top: 4px;
}

.qdoc-time {
  text-align: right;
  font-size: 0.74rem;
}

.qdoc-pay {
  margin-top: 10px;
  padding: 8px 10px;
  background: var(--surface-soft);
  border-radius: 8px;
  font-size: 0.75rem;
  word-break: break-all;
  border: 1px dashed var(--pink-border);
}

.qdoc-pay span {
  font-weight: 700;
  color: var(--pink-deep);
}

.qdoc-note {
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.35;
}

.qdoc-thanks {
  margin-top: 12px;
  text-align: center;
  font-weight: 700;
  color: var(--pink-primary-hover);
  font-size: 0.8rem;
}

/* Quote send buttons grid */
.quote-send-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.quote-send-grid .span-2 {
  grid-column: span 2;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-main);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 300;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 90vw;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* SEO & AEO Knowledge Drawers */
.seo-aeo-section {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-drawer {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.seo-drawer summary {
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.seo-drawer summary::-webkit-details-marker {
  display: none;
}

.seo-drawer summary::after {
  content: "+";
  color: var(--pink-primary);
  font-weight: 800;
  font-size: 1rem;
}

.seo-drawer[open] summary::after {
  content: "−";
}

.seo-drawer-content {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--pink-border);
}

.seo-drawer-content h2,
.seo-drawer-content h3 {
  font-size: 0.86rem;
  color: var(--text-main);
  margin: 8px 0 4px;
}

.seo-drawer-content p,
.seo-drawer-content li {
  margin-bottom: 6px;
}

.seo-drawer-content ul {
  padding-left: 16px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 0.76rem;
}

.price-table th,
.price-table td {
  border: 1px solid var(--pink-border);
  padding: 5px 7px;
  text-align: left;
}

.price-table th {
  background: var(--surface-soft);
  color: var(--text-main);
  font-weight: 700;
}

.app-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-links a {
  color: var(--pink-primary-hover);
  text-decoration: none;
  font-weight: 700;
}

.store-links a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .pill-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .price-value {
    font-size: 2.2rem;
  }
}
