/* ─── Upgrade sheet ───────────────────────────────────────────────────────── */

.upsheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000; /* above the mic overlay (10001) and every other sheet */
  background: rgba(60, 34, 24, 0.35);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.upsheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.upsheet {
  width: 100%;
  background: var(--kith-bg-grad, radial-gradient(ellipse at 50% 30%, #FAF7F2 0%, #F0EBE3 100%));
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 40px rgba(60, 34, 24, 0.12);
  padding: 14px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.upsheet-backdrop.open .upsheet {
  transform: translateY(0);
}

.upsheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: var(--kith-border, #E8E4E0);
  margin: 0 auto 20px;
}

.upsheet-eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kith-green, #295E2C);
  margin-bottom: 10px;
}

.upsheet-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--kith-text, #3C2218);
  margin: 0 0 10px;
}

.upsheet-body {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--kith-text-muted, #6E6558);
  margin: 0 auto 24px;
  max-width: 320px;
}

.upsheet-interval {
  display: flex;
  gap: 6px;
  padding: 4px;
  margin: 0 auto 16px;
  max-width: 300px;
  border-radius: 999px;
  background: rgba(60, 34, 24, 0.06);
}
.upsheet-interval-opt {
  flex: 1;
  padding: 8px 0 7px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--kith-text-muted, #6E6558);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.upsheet-interval-opt.selected {
  background: #FFFFFF;
  color: var(--kith-text, #3C2218);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(60, 34, 24, 0.1);
}
.upsheet-interval-name {
  display: block;
  line-height: 1.3;
}
.upsheet-interval-price {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--kith-text-muted, #6E6558);
  min-height: 14px;
}
.upsheet-interval-opt.selected .upsheet-interval-price {
  color: var(--kith-green, #295E2C);
  font-weight: 600;
}
.upsheet-interval-save {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(41, 94, 44, 0.12);
  color: var(--kith-green, #295E2C);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  vertical-align: 1px;
}

.upsheet-cta {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #2D6A4F 0%, #295E2C 50%, #1E4A22 100%);
  color: #FFFFFF;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.upsheet-cta:active {
  transform: scale(0.985);
}

.upsheet-dismiss {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: none;
  background: transparent;
  color: var(--kith-text-dim, #BEB2A6);
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* ─── Keith "uses left" inline indicator ─────────────────────────────────── */

.keith-uses-left {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--kith-text-dim, #BEB2A6);
  text-align: left;
  margin-top: 4px;
}
.keith-uses-left .keith-upgrade-link {
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  font-style: italic;
  color: var(--kith-green, #295E2C);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* ─── Search inline Pro upsell row ───────────────────────────────────────── */

.search-pro-upsell {
  border: none;
  background: transparent;
  padding: 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--kith-text-dim, #BEB2A6);
  cursor: pointer;
}
.search-pro-upsell strong {
  font-weight: 500;
  color: var(--kith-green, #295E2C);
  text-decoration: underline;
  text-underline-offset: 2px;
}
