#v-billing {
  min-height: calc(100vh - 100px);
  color: #eff8f2;
}
#v-billing .billing-shell {
  position: relative;
  isolation: isolate;
  max-width: 1120px;
  min-height: 680px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(133, 255, 194, .10);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 90% 5%, rgba(0, 130, 79, .30), transparent 42%),
    radial-gradient(ellipse at 5% 100%, rgba(0, 88, 55, .22), transparent 46%),
    linear-gradient(135deg, #071a13 0%, #06100d 48%, #081c14 100%);
  box-shadow: 0 28px 80px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.035);
}
#v-billing .billing-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}
#v-billing .billing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
#v-billing .billing-eyebrow,
#v-billing .billing-plan-kicker {
  margin: 0 0 7px;
  color: #83d9ad;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.7px;
}
#v-billing .billing-header h1 {
  margin: 0 0 17px;
  color: #f4fff8;
  font-size: clamp(29px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -1.6px;
}
#v-billing .billing-current-plan {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 12px;
  border: 1px solid rgba(194, 240, 215, .15);
  border-radius: 99px;
  background: rgba(255,255,255,.055);
  color: #d1e7d9;
  font-size: 11px;
  font-weight: 700;
}
#v-billing .billing-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(152, 220, 183, .10);
  border-radius: 99px;
  background: rgba(0,0,0,.48);
}
#v-billing .billing-switch button {
  min-width: 82px;
  min-height: 38px;
  padding: 0 17px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: rgba(236,248,240,.65);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
#v-billing .billing-switch button.is-active {
  background: #183c2d;
  color: #b9f3d2;
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
#v-billing .billing-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  max-width: 930px;
  margin: 0 auto;
}
#v-billing .billing-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(176, 237, 204, .43);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(10,17,14,.97), rgba(5,10,8,.98));
  box-shadow: 0 20px 48px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.035);
}
#v-billing .billing-plan-plus {
  border-color: rgba(142, 240, 188, .57);
  box-shadow: 0 18px 55px rgba(34, 204, 126, .09), inset 0 1px rgba(255,255,255,.05);
}
#v-billing .billing-plan-pro {
  border-color: rgba(176, 201, 185, .28);
  background: linear-gradient(155deg, rgba(13,20,17,.91), rgba(7,12,10,.96));
}
#v-billing .billing-plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
}
#v-billing .billing-plan-top h2 {
  margin: 0;
  color: #f5fff8;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.8px;
}
#v-billing .billing-plan-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(100,235,161,.12);
  color: #a2f1c4;
}
#v-billing .billing-coming-soon {
  padding: 7px 9px;
  border: 1px solid rgba(255, 204, 128, .3);
  border-radius: 99px;
  background: rgba(174, 111, 36, .12);
  color: #f0c78f;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .7px;
  white-space: nowrap;
}
#v-billing .billing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}
#v-billing .billing-price strong {
  color: #a7f3c9;
  font-size: clamp(37px, 5vw, 46px);
  font-weight: 850;
  letter-spacing: -2px;
  line-height: 1;
}
#v-billing .billing-plan-pro .billing-price strong { color: #c4cec7; }
#v-billing .billing-price span,
#v-billing .billing-renewal {
  color: rgba(222,237,227,.62);
  font-size: 12px;
  font-weight: 650;
}
#v-billing .billing-renewal { margin: 7px 0 17px; }
#v-billing .billing-features {
  display: grid;
  gap: 11px;
  margin: 0 0 22px;
  padding: 17px 0 0;
  border-top: 1px solid rgba(205,235,216,.10);
  list-style: none;
}
#v-billing .billing-features li {
  position: relative;
  padding-left: 23px;
  color: rgba(238,247,241,.82);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}
#v-billing .billing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #a2efc2;
  font-size: 15px;
  font-weight: 900;
}
#v-billing .billing-plan-pro .billing-features li { color: rgba(222,232,225,.69); }
#v-billing .billing-plan-pro .billing-features li::before { color: #8fc6a6; }
#v-billing .billing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  padding: 12px 18px;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(100deg, #8df0bb, #66d99d);
  color: #083522;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(75,218,139,.13);
  transition: transform .18s ease, filter .18s ease;
}
#v-billing .billing-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }
#v-billing .billing-cta-disabled {
  background: #234c39;
  color: #8bbba0;
  box-shadow: none;
  cursor: not-allowed;
}
#v-billing .billing-footnote {
  margin: 10px 0 0;
  color: rgba(210,231,217,.45);
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}
#v-billing .billing-usage-panel { max-width: 720px; margin: 22px auto; }
#v-billing .billing-usage-card {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(142,240,188,.38);
  border-radius: 22px;
  background: rgba(5,15,10,.84);
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
#v-billing .billing-usage-card h2 { margin: 0 0 8px; font-size: 25px; }
#v-billing .billing-usage-copy { margin: 0; color: rgba(226,241,231,.66); font-size: 13px; }
#v-billing .billing-usage-numbers { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin:30px 0 12px; }
#v-billing .billing-usage-numbers strong { color:#a7f3c9; font-size:30px; letter-spacing:-1px; }
#v-billing .billing-usage-numbers span, #v-billing .billing-usage-date { color:rgba(226,241,231,.62); font-size:11px; }
#v-billing .billing-usage-track { height:11px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.09); }
#v-billing .billing-usage-track span { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#8df0bb,#3bbd7c); transition:width .25s ease; }
#v-billing .billing-usage-date { margin:12px 0 25px; }
#v-billing .billing-usage-link { color:#a7f3c9; font-size:12px; font-weight:750; text-decoration:none; }
#v-billing [hidden] { display:none !important; }
@media(max-width:720px) {
  #v-billing .billing-shell { min-height:0; padding:20px 14px 26px; border-radius:18px; }
  #v-billing .billing-header { align-items:center; margin-bottom:20px; }
  #v-billing .billing-switch button { min-width:68px; min-height:35px; padding:0 12px; font-size:11px; }
  #v-billing .billing-plans { grid-template-columns:1fr; gap:14px; max-width:460px; }
  #v-billing .billing-plan { padding:22px; border-radius:19px; }
  #v-billing .billing-price strong { font-size:42px; }
}
@media(max-width:390px) {
  #v-billing .billing-header { align-items:flex-start; flex-direction:column; }
  #v-billing .billing-switch { align-self:flex-end; }
}

#v-ai .ai-billing-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #b9f3d2;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}
#v-ai .ai-billing-link:hover { color: #e1ffed; text-decoration: underline; }


/* Billing follows the active Abyss theme instead of a separate green skin. */
#v-billing .billing-shell {
  border-color: var(--edge, var(--line));
  background:
    radial-gradient(ellipse at 92% 0%, color-mix(in srgb, var(--accent2) 16%, transparent), transparent 43%),
    radial-gradient(ellipse at 0% 100%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 48%),
    color-mix(in srgb, var(--bg2) 70%, transparent);
  box-shadow: var(--glass-shadow, 0 24px 70px rgba(0,0,0,.22)), inset 0 1px rgba(255,255,255,.05);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}
#v-billing .billing-eyebrow,
#v-billing .billing-plan-kicker { color: var(--accent2); }
#v-billing .billing-current-plan {
  border-color: var(--line);
  background: var(--glass, rgba(255,255,255,.06));
  color: var(--text);
}
#v-billing .billing-switch { border-color: var(--line); background: color-mix(in srgb, var(--bg) 72%, transparent); }
#v-billing .billing-switch button { color: var(--muted); }
#v-billing .billing-switch button.is-active {
  background: color-mix(in srgb, var(--accent2) 22%, var(--panel));
  color: var(--text);
}
#v-billing .billing-plan,
#v-billing .billing-plan-pro {
  border-color: var(--line);
  background:
    radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--accent2) 9%, transparent), transparent 55%),
    color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: 0 20px 48px rgba(0,0,0,.20), inset 0 1px rgba(255,255,255,.045);
}
#v-billing .billing-plan-plus {
  border-color: color-mix(in srgb, var(--accent2) 55%, var(--line));
  box-shadow: 0 18px 55px color-mix(in srgb, var(--accent2) 10%, transparent), inset 0 1px rgba(255,255,255,.06);
}
#v-billing .billing-plan-top h2,
#v-billing .billing-price strong,
#v-billing .billing-plan-pro .billing-price strong { color: var(--text); }
#v-billing .billing-plan-mark { background: color-mix(in srgb, var(--accent2) 18%, transparent); color: var(--accent2); }
#v-billing .billing-coming-soon {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: color-mix(in srgb, var(--text) 82%, var(--accent));
}
#v-billing .billing-price span,
#v-billing .billing-renewal,
#v-billing .billing-features li,
#v-billing .billing-plan-pro .billing-features li,
#v-billing .billing-footnote,
#v-billing .billing-usage-copy,
#v-billing .billing-usage-numbers span,
#v-billing .billing-usage-date { color: var(--muted); }
#v-billing .billing-features { border-top-color: var(--line); }
#v-billing .billing-features li::before,
#v-billing .billing-plan-pro .billing-features li::before { color: var(--accent2); }
#v-billing .billing-cta {
  background: linear-gradient(110deg, var(--accent2), color-mix(in srgb, var(--accent2) 55%, var(--accent)));
  color: #171522;
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent2) 16%, transparent);
}
#v-billing .billing-cta-disabled {
  background: color-mix(in srgb, var(--panel2) 75%, transparent);
  color: var(--muted);
  box-shadow: none;
}
#v-billing .billing-usage-card {
  border-color: var(--line);
  background: color-mix(in srgb, var(--panel) 90%, transparent);
}
#v-billing .billing-usage-numbers strong,
#v-billing .billing-usage-link,
#v-ai .ai-billing-link { color: var(--accent2); }
#v-billing .billing-usage-track { background: color-mix(in srgb, var(--bg) 70%, transparent); }
#v-billing .billing-usage-track span { background: linear-gradient(90deg, var(--accent2), var(--accent)); }
