.billing-renewed { --billing-line: #d6dfdf; --billing-green: #256248; }
.billing-renewed .bill-container { max-width: 1460px !important; }
.billing-renewed .bill-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 0 28px; margin: 0; border: 0; }
.billing-renewed .bill-hero h1 { font-size: 28px; line-height: 1.3; }
.billing-renewed .bill-eyebrow { color: #45675a; font-size: 11px; margin: 0 0 8px; }
.billing-renewed .bill-hero .lead { font-size: 14px; margin: 8px 0 0; max-width: 620px; }
.billing-renewed .bill-hero-actions { gap: 8px; max-width: 390px; flex-wrap: wrap; justify-content: flex-end; }
.billing-renewed .bill-hero-actions .btn { font-size: 12px; min-height: 36px; }
.billing-renewed .bill-overview { margin: 0 0 30px; }
.billing-command { display: grid; grid-template-columns: minmax(290px,.95fr) minmax(0,1.65fr); border: 1px solid var(--billing-line); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 5px 18px #172d2710; }
.billing-pass { position: relative; background: #273331; color: #fff; padding: 26px; display: flex; flex-direction: column; isolation: isolate; }
.billing-pass::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 6px; background: repeating-linear-gradient(0deg,#a3bda633 0 2px,transparent 2px 8px); z-index: -1; }
.billing-pass-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 16px; }
.billing-pass-brand img { border: 1px solid #8fa49c; border-radius: 50%; padding: 2px; background: #fff; }
.billing-pass-brand small { display: block; color: #bbcec5; font-size: 10px; margin-top: 1px; }
.billing-pass-mark { margin-left: auto; color: #d3dcc5; font-size: 12px; border: 1px solid #657b70; border-radius: 3px; padding: 4px 7px; }
.billing-renewed .billing-pass .bill-stat { background: none; border: 0; padding: 0; min-height: 0; box-shadow: none; }
.billing-renewed .billing-pass .bill-stat-label { color: #baccc1; font-size: 11px; }
.billing-renewed .billing-pass #stat-plan { color: #fff; font-size: 30px; line-height: 1.25; margin: 8px 0; }
.billing-renewed .billing-pass .bill-stat-note { color: #c6d5ce; font-size: 12px; line-height: 1.6; }
.billing-pass-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 20px; padding-top: 20px; border-top: 1px solid #607269; }
.billing-renewed .billing-pass-details .bill-stat-value { font-size: 15px; color: #fff; line-height: 1.5; text-transform: capitalize; margin: 5px 0; }
.billing-pass-link { display: flex; align-items: center; justify-content: space-between; color: #e6f2eb; text-decoration: none; font-size: 13px; padding-top: 15px; border-top: 1px solid #607269; margin-top: auto; }
.billing-pass-link:hover { color: #fff; text-decoration: underline; }
.billing-usage { padding: 28px; display: flex; flex-direction: column; min-width: 0; }
.billing-usage-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.billing-usage-head h2 { font-size: 20px; }
.billing-usage-head > span { font-size: 11px; color: #526b5e; white-space: nowrap; border: 1px solid #d9e5dd; padding: 5px 8px; border-radius: 4px; background: #f5f9f6; }
.billing-usage-numbers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 30px 0 24px; }
.billing-renewed .billing-usage-numbers .bill-stat { border: 0; border-left: 1px solid #dce5df; background: none; border-radius: 0; min-height: 110px; padding: 0 16px; box-shadow: none; }
.billing-renewed .billing-usage-numbers .bill-stat:first-child { border-left: 0; padding-left: 0; }
.billing-renewed .billing-usage-numbers .bill-stat:last-child { padding-right: 0; }
.billing-renewed .billing-usage-numbers .bill-stat-label { font-size: 11px; color: #5a7064; }
.billing-renewed .billing-usage-numbers .bill-stat-value { font-size: 26px; margin: 10px 0 8px; line-height: 1.2; color: #243b31; overflow-wrap: anywhere; }
.billing-renewed .billing-usage-numbers .bill-stat-note { font-size: 12px; line-height: 1.6; color: #5f6f65; }
.billing-capacity { margin-top: auto; border-top: 1px solid #dde5df; padding-top: 18px; }
.billing-capacity > div { display: flex; justify-content: space-between; gap: 18px; font-size: 12px; color: #53695d; margin-bottom: 12px; }
.billing-capacity strong { color: #244e3b; }
.billing-capacity progress { appearance: none; border: 0; border-radius: 3px; width: 100%; height: 8px; overflow: hidden; display: block; background: #e9efeb; }
.billing-capacity progress::-webkit-progress-bar { background: #e9efeb; }
.billing-capacity progress::-webkit-progress-value { background: #3c7960; transition: width .3s; }
.billing-capacity progress::-moz-progress-bar { background: #3c7960; }
.billing-capacity p { font-size: 12px; line-height: 1.6; margin: 10px 0 0; color: #5c7064; }
.billing-tabs { display: flex; gap: 28px; align-items: stretch; border-bottom: 1px solid #c9d6d1; margin: 0 0 26px; }
.billing-tabs button { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 10px 2px; color: #596b60; background: none; border: 0; border-bottom: 3px solid transparent; font-size: 14px; }
.billing-tabs button[aria-selected=true] { color: #224f3a; border-bottom-color: #2f6b4d; font-weight: 600; }
.billing-tabs button span { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; padding: 1px 5px; background: #e6efe9; border: 1px solid #cfdfd5; border-radius: 4px; font-size: 12px; }
.billing-renewed .bill-workspace { display: block; }
.billing-renewed .bill-panel { border: 0; box-shadow: none; background: none; padding: 0; margin: 0; }
.billing-renewed .bill-panel-head { padding: 0 0 20px; align-items: center; }
.billing-renewed .bill-panel-kicker { display: block; font-size: 11px; color: #4e6e5f; margin-bottom: 6px; }
.billing-renewed .bill-panel h2 { font-size: 22px; }
.billing-renewed .bill-panel-intro { font-size: 14px; max-width: 650px; margin-top: 7px; }
.billing-renewed #btn-new-key { color: #fff; background: #214f80; border-color: #214f80; padding: 9px 14px; }
.billing-renewed .bill-key-list { padding: 0; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.billing-renewed .bill-key-card { position: relative; display: flex; flex-direction: column; align-items: stretch; border: 1px solid #d2ded8; border-radius: 6px; background: #fff; box-shadow: 0 2px 6px #172b2010; padding: 22px; min-width: 0; transition: border-color .2s,box-shadow .2s; }
.billing-renewed .bill-key-card:hover { border-color: #85a598; box-shadow: 0 4px 14px #173b2715; }
.billing-renewed .bill-key-card::before { content: ''; position: absolute; left: 0; top: 20px; width: 3px; height: 27px; background: #507b66; }
.billing-renewed .bill-key-row { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 12px; margin: 0; align-items: baseline; }
.billing-renewed .bill-key-row dt { font-size: 11px; color: #607166; text-transform: uppercase; }
.billing-renewed .bill-key-row dd { font-size: 12px; color: #304138; overflow-wrap: anywhere; min-width: 0; margin: 0; }
.billing-renewed .bill-key-row dd.mono { font-size: 13px; color: #203f30; }
.billing-renewed .bill-key-actions { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid #e5ebe7; display: flex; justify-content: flex-end; width: 100%; }
.billing-renewed .bill-key-actions .btn { font-size: 12px; min-height: 34px; padding: 5px 10px; }
.billing-renewed .status-pill { border-radius: 4px; font-size: 11px; padding: 3px 7px; }
.billing-renewed .bill-plan-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 0; }
.billing-renewed .bill-plan-card { --plan-accent: #507b66; display: flex; flex-direction: column; align-items: stretch; min-width: 0; position: relative; padding: 25px; border: 1px solid #d3dfd8; border-top: 3px solid var(--plan-accent); border-radius: 6px; background: #fff; box-shadow: 0 3px 8px #152e1e08; transition: transform .2s,box-shadow .2s; }
.billing-renewed .bill-plan-card:nth-child(2) { --plan-accent: #4776a2; }
.billing-renewed .bill-plan-card:nth-child(3) { --plan-accent: #987337; }
.billing-renewed .bill-plan-card:nth-child(4) { --plan-accent: #535f69; }
.billing-renewed .bill-plan-card:nth-child(5) { --plan-accent: #313b36; }
.billing-renewed .bill-plan-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #18342514; }
.billing-renewed .bill-plan-card.is-current { background: #f0f7f2; border-color: #adc8b7; border-top-color: var(--plan-accent); }
.billing-renewed .bill-plan-top { display: block; }
.billing-renewed .bill-plan-top h3 { font-size: 16px; margin: 0 0 18px; }
.billing-renewed .bill-plan-price { color: #22372b; font-size: 28px; line-height: 1.2; margin: 0 0 18px; text-align: left; }
.billing-renewed .bill-plan-price span { display: block; margin-top: 8px; font-size: 12px; font-weight: 400; color: #5f7166; overflow-wrap: anywhere; }
.billing-renewed .bill-plan-blurb { font-size: 13px; min-height: 42px; margin: 0 0 18px; }
.billing-renewed .bill-plan-features { padding: 0; margin: 0 0 22px; list-style: none; }
.billing-renewed .bill-plan-features li { border-top: 1px solid #dce6df; padding: 10px 0; font-size: 12px; line-height: 1.5; color: #405a49; }
.billing-renewed .bill-plan-features li::before { display: none; }
.billing-renewed .bill-plan-foot { margin-top: auto; padding: 0; }
.billing-renewed .bill-plan-foot .btn { width: 100%; min-height: 38px; font-size: 13px; }
.billing-renewed .bill-empty { grid-column: 1/-1; margin: 0; padding: 24px; border: 1px dashed #b8cbc0; border-radius: 5px; background: #f6faf7; color: #456151; }
.billing-renewed .billing-rates { display: grid; grid-template-columns: minmax(200px,.8fr) minmax(0,1.5fr); gap: 35px; margin-top: 32px; padding-top: 28px; border-top: 1px solid #ccd9d1; }
.billing-renewed .bill-tier-list { display: block; padding: 0; border: 1px solid #cfded4; border-radius: 5px; overflow: hidden; background: #fff; }
.billing-renewed .bill-tier-row { border: 0; border-bottom: 1px solid #dce6df; border-radius: 0; background: transparent; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; min-height: 51px; }
.billing-renewed .bill-tier-row:nth-child(even) { background: #f2f7f3; }
.billing-renewed .bill-tier-row:last-child { border-bottom: 0; }
.billing-renewed .bill-tier-row strong { font-size: 14px; color: #254c35; white-space: nowrap; }
.billing-renewed .bill-feature-strip { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 40px; margin: 36px 0 0; border: 0; border-top: 1px solid #b8cbbf; padding: 30px 0; background: none; border-radius: 0; }
.billing-renewed .bill-feature-copy h2 { font-size: 22px; max-width: 350px; }
.billing-renewed .bill-feature-copy p { font-size: 13px; line-height: 1.7; color: #586e60; margin: 9px 0 14px; max-width: 430px; }
.billing-docs-link { font-size: 13px; text-decoration: none; display: inline-flex; gap: 16px; align-items: center; }
.billing-renewed .bill-feature-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-left: 1px solid #cfddd3; padding-left: 26px; }
.billing-renewed .bill-feature-grid article { border: 0; border-bottom: 1px solid #d7e2db; border-radius: 0; background: none; padding: 12px 0; display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 20px; }
.billing-renewed .bill-feature-grid article:last-child { border: 0; }
.billing-renewed .bill-feature-grid strong { font-size: 13px; color: #344e3e; }
.billing-renewed .bill-feature-grid span { font-size: 13px; color: #596d61; line-height: 1.7; }
.billing-renewed .terms-gate { border: 1px solid #d6c7a4; border-left: 4px solid #9c7c3a; background: #fcf9f1; border-radius: 5px; padding: 22px; margin-bottom: 25px; }
.billing-renewed .terms-gate .bill-panel-body { padding: 0; }
.billing-renewed .bill-key-reveal { background: #eaf3ee; border: 1px solid #adcbb9; border-left: 4px solid #2d6d4c; padding: 22px; margin-bottom: 25px; box-shadow: none; border-radius: 5px; }
.billing-renewed .bill-key-reveal code { color: #194e31; overflow-wrap: anywhere; word-break: break-all; }
.billing-renewed #page-status { margin: 0 0 20px; }
.billing-renewed .bill-plan-card { gap: 0; }
.billing-renewed .bill-plan-card.is-current { box-shadow: none; }
.billing-renewed .bill-plan-foot { border-top: 0; }
.billing-renewed .bill-key-row { flex: 0 0 auto; }
.billing-renewed .bill-key-actions { margin-top: auto; padding-top: 12px; }
.billing-renewed .bill-key-card { gap: 18px; }
.billing-renewed .billing-pass-details { align-items: start; }
.billing-renewed .bill-feature-strip { box-shadow: none; }
.billing-renewed .bill-tier-list { align-self: start; }
.billing-renewed .bill-tier-list > .bill-empty { border: 0; }
.billing-renewed [role=tabpanel] { animation: billing-enter .2s ease-out; }
@keyframes billing-enter { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 1250px) {
  .billing-command { grid-template-columns: minmax(260px,.95fr) minmax(0,1.2fr); }
  .billing-usage { padding: 24px; }
  .billing-usage-head { display: block; }
  .billing-usage-head > span { display: inline-block; margin-top: 12px; }
  .billing-renewed .billing-usage-numbers .bill-stat { padding-inline: 10px; }
  .billing-renewed .billing-usage-numbers .bill-stat-value { font-size: 22px; }
  .billing-renewed .bill-key-list,.billing-renewed .bill-plan-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .billing-renewed .bill-hero { align-items: flex-start; }
  .billing-renewed .bill-hero-actions { max-width: 280px; }
  .billing-renewed .bill-feature-grid article { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 1000px) {
  .billing-command { grid-template-columns: 1fr; }
  .billing-pass { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px 26px; }
  .billing-pass-brand { grid-column: 1/-1; margin-bottom: 10px; }
  .billing-pass-details { margin: 0; border: 0; padding: 0; align-items: center; }
  .billing-pass-link { grid-column: 1/-1; margin-top: 10px; }
  .billing-usage-head { display: flex; }
  .billing-usage-head > span { margin: 0; }
  .billing-renewed .bill-hero { display: block; }
  .billing-renewed .bill-hero-actions { margin-top: 18px; max-width: none; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .billing-renewed .bill-hero h1 { font-size: 25px; }
  .billing-renewed .bill-hero .lead { font-size: 13px; }
  .billing-renewed .bill-hero-actions { gap: 7px; }
  .billing-renewed .bill-hero-actions .btn { font-size: 11px; padding: 8px 10px; width: auto; }
  .billing-pass { display: flex; padding: 22px; gap: 0; }
  .billing-pass-brand { margin-bottom: 20px; }
  .billing-pass-details { margin: 20px 0 0; padding: 17px 0; border-top: 1px solid #607269; gap: 18px; }
  .billing-renewed .billing-pass #stat-plan { font-size: 27px; }
  .billing-pass-link { margin-top: 0; }
  .billing-usage { padding: 22px 19px; }
  .billing-usage-head { flex-wrap: wrap; gap: 10px; }
  .billing-usage-head h2 { font-size: 18px; }
  .billing-usage-numbers { grid-template-columns: 1fr 1fr; margin: 24px 0 16px; gap: 20px 0; }
  .billing-renewed .billing-usage-numbers .bill-stat { min-height: 75px; padding: 0 12px; }
  .billing-renewed .billing-usage-numbers .bill-stat:last-child { grid-column: 1/-1; border-left: 0; border-top: 1px solid #e0e7e2; padding: 16px 0 0; min-height: 65px; }
  .billing-renewed .billing-usage-numbers .bill-stat-value { font-size: 24px; }
  .billing-tabs { gap: 20px; margin-bottom: 24px; }
  .billing-tabs button { font-size: 13px; }
  .billing-renewed .bill-key-list,.billing-renewed .bill-plan-list { grid-template-columns: 1fr; }
  .billing-renewed .bill-panel-head { gap: 16px; align-items: flex-start; flex-wrap: wrap; }
  .billing-renewed .bill-panel h2 { font-size: 20px; }
  .billing-renewed .bill-panel-intro { font-size: 13px; }
  .billing-renewed .bill-plan-card { padding: 23px; }
  .billing-renewed .bill-plan-price { font-size: 26px; }
  .billing-renewed .billing-rates { grid-template-columns: 1fr; gap: 0; }
  .billing-renewed .bill-tier-row { font-size: 12px; gap: 15px; padding: 14px; }
  .billing-renewed .bill-feature-strip { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .billing-renewed .bill-feature-grid { border-left: 0; padding: 0; }
  .billing-renewed .bill-feature-grid article { grid-template-columns: 1fr; gap: 4px; }
  .billing-renewed .bill-feature-copy h2 { font-size: 20px; }
  .billing-renewed .bill-key-reveal,.billing-renewed .terms-gate { padding: 18px; }
  .billing-renewed .terms-check { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .billing-renewed [role=tabpanel] { animation: none; }
  .billing-renewed .bill-plan-card,.billing-renewed .bill-key-card,.billing-capacity progress::-webkit-progress-value { transition: none; }
}
