#invoice-page { max-width: 1000px; margin: 0 auto; padding: clamp(10px, 3vw, 36px) 0; }
#invoice-page [hidden] { display: none !important; }
#invoice-page :is(h1,h2,h3,p,dl,dd) { margin: 0; }
#invoice-page :is(.back, dt, footer, #help, #plan) { color: #bec8d5; }
#invoice-page :is(.section-head, dl div, footer) { display: flex; align-items: center; }
#invoice-page .back { font-size: 14px; }
#invoice-page h1 { font-size: clamp(30px,5vw,44px); letter-spacing: -.05em; line-height: 1.12; margin: 12px 0 28px; }
#invoice-page #checkout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px,5vw,64px); align-items: start; }
#invoice-page .summary { padding: clamp(18px,3vw,32px); border-radius: 10px; background: #323b47; }
#invoice-page .section-head, #invoice-page dl div { justify-content: space-between; gap: 14px; }
#invoice-page h2 { font-size: 19px; line-height: 1.3; letter-spacing: -.025em; }
#invoice-page #status { color: #c5d4ff; font-size: 13px; }
#invoice-page #status.active { color: #98e4b0; }
#invoice-page h3 { font-size: 24px; margin: 22px 0 2px; overflow-wrap: anywhere; }
#invoice-page #plan, #invoice-page #number, #invoice-page footer, #invoice-page label, #invoice-page #error { font-size: 14px; }
#invoice-page dl { margin-top: 24px; }
#invoice-page dl div { margin: 6px 0; }
#invoice-page dd { font-variant-numeric: tabular-nums; }
#invoice-page .total { margin-top: 15px; padding-top: 14px; border-top: 1px solid #536070; font-size: 20px; font-weight: 600; }
#invoice-page .total dt { color: inherit; }
#invoice-page footer { flex-wrap: wrap; gap: 3px 12px; margin-top: 18px; }
#invoice-page #number { font-size: 12px; overflow-wrap: anywhere; }
#invoice-page .payment { padding-block: 10px; }
#invoice-page #help { margin: 9px 0 22px; }
#invoice-page label { display: block; font-weight: 600; margin-bottom: 7px; }
#invoice-page input { display: block; width: 100%; max-width: 32rem; background: #1e252f; border: 1px solid #768396; border-radius: 5px; padding: 11px 12px; font: inherit; color: white; }
#invoice-page button, #invoice-page .action { display: inline-block; border: 0; border-radius: 5px; background: #4059bd; color: white; font: inherit; font-weight: 600; cursor: pointer; padding: 10px 16px; }
#invoice-page button { margin-top: 14px; }
#invoice-page button:hover, #invoice-page .action:hover { background: #4965d0; }
#invoice-page button:disabled { opacity: .7; cursor: wait; }
#invoice-page #error { margin: 9px 0 0; color: #ffb1ae; }
#invoice-page .invoice-link { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 20px; padding: 16px 4px; color: inherit; border-bottom: 1px solid #485362; }
#invoice-page .invoice-link:hover { background: #313b49; text-decoration: none; }
#invoice-page .invoice-link strong { overflow-wrap: anywhere; }
#invoice-page .invoice-link small { color: #bbc7d5; }
@media (max-width: 660px) { #invoice-page #checkout { grid-template-columns: 1fr; gap: 18px; } }
