/* Originally created 2026-12-01. Last updated 2026-12-01. */
.dbx-billing {
  color: #142942;
  font: 1rem/1.5 Inter,Arial,sans-serif;
  max-width: 69rem;
  margin-inline: auto;
  padding: clamp(.85rem,3.5vw,2.75rem);
  display: grid;
  gap: 1.25rem;
  overflow-wrap: anywhere;
}
.dbx-billing :is(h3,h4,p,dl,dd) { margin: 0; }
.dbx-billing h3 { font-size: clamp(1.55rem,3.5vw,2.5rem); line-height: 1.12; letter-spacing: -.045em; }
.dbx-billing h4 { font-size: 1.22rem; line-height: 1.22; letter-spacing: -.025em; }
.dbx-billing p,.dbx-billing small { color: #41516a; }
.dbx-billing small,.dbx-billing .bill-fine { font-size: .9rem; }
.dbx-billing .button { cursor: pointer; text-decoration: none; white-space: normal; }
.dbx-billing .button:disabled { opacity: .65; cursor: wait; }
.dbx-billing [hidden] { display: none !important; }
.dbx-billing :is(button,a,select):focus-visible { outline: 3px solid #2366a9; outline-offset: 2px; }
.bill-intro,.bill-item { display: grid; gap: .45rem; }
.bill-intro p { max-width: 65ch; }
.bill-links,.bill-segment { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.bill-segment { gap: .2rem; width: fit-content; padding: .2rem; background: #edf2f7; border: 1px solid #c8d4e1; border-radius: 9px; }
.bill-segment button { min-height: 2.65rem; border: 0; box-shadow: none; background: transparent; color: #233b59; }
.bill-segment button[aria-pressed=true] { color: white; background: #122a47; }
.bill-offers,.bill-management { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,14.5rem),1fr)); gap: 1rem; }
.bill-offer,.bill-block,.bill-wallet { border: 1px solid #c9d4df; border-radius: .8rem; background: white; }
.bill-offer { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.bill-offer img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
.bill-offer-content,.bill-block { display: grid; align-content: start; gap: .85rem; padding: clamp(.85rem,2vw,1.4rem); min-width: 0; }
.bill-offer-content { flex: 1; grid-template-rows: auto 1fr auto auto auto; }
.bill-price strong { color: #132945; font-size: 1.9rem; line-height: 1.15; letter-spacing: -.05em; }
.bill-price span { font-size: .95rem; }
.bill-row { border-top: 1px solid #d7dfe8; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .85rem; padding: 1rem 0 .15rem; }
.bill-checkout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 1rem; align-items: start; }
.bill-summary { background: #f3f6fa; }
.bill-field { display: grid; gap: .32rem; color: #19324e; font-weight: 600; font-size: .94rem; }
.bill-field select { color: #102344; font: inherit; font-weight: normal; padding: .7rem 2.2rem .7rem .7rem; width: 100%; max-width: 100%; min-width: 0; background-color: white; border: 1px solid #8497ae; border-radius: .4rem; }
.bill-ledger { display: grid; }
.bill-line { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: .85rem; align-items: baseline; padding: .65rem 0; border-bottom: 1px solid #d8e0e9; }
.bill-line dt { color: #40536c; }
.bill-line dd { text-align: right; color: #152e4f; font-weight: 600; }
.bill-message:empty { display: none; }
.dbx-billing .bill-notice,.dbx-billing .bill-error { background: #edf3fa; color: #142b4b; border-inline-start: 4px solid #567998; padding: .7rem 1rem; }
.dbx-billing .bill-error { color: #762827; border-color: #a13a39; background: #fff2ef; }
.bill-wallet { color: #132945; width: min(27rem,calc(100% - 2rem)); max-height: 87dvh; overflow: auto; padding: 1.4rem; box-shadow: 0 20px 70px #10243c38; }
.bill-wallet[open] { display: grid; gap: 1.1rem; }
.bill-wallet::backdrop { background: #10243c65; }
@media(max-width:760px){ .bill-checkout { grid-template-columns: minmax(0,1fr); } }
@media(max-width:400px){ .dbx-billing {padding: .7rem;} .bill-line {gap: .35rem;} .bill-wallet {padding: 1rem;} }
