[hidden] { display: none !important; }
.portal { max-width: 1400px; margin: 0 auto; min-height: 100svh; display: flex; flex-direction: column; }
.portal-label { color: var(--muted); font-size: 13px; }
.portal-intro { flex: 1; padding: clamp(56px, 10vh, 120px) 0; }
.signin-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.portal-intro h1 { max-width: 960px; font-size: clamp(40px, 6vw, 80px); }
.portal-intro > p:not(.section-label) { line-height: 1.7; color: #626862; margin: 24px 0; }
.primary-button, .secondary-button { cursor: pointer; border: 1px solid var(--ink); border-radius: 3px; padding: 15px 22px; font-size: 15px; }
.primary-button { background: var(--ink); color: var(--paper); display: inline-flex; align-items: center; gap: 30px; }
.primary-button:hover { background: #3a464f; }
.secondary-button { background: transparent; color: var(--ink); }
button:disabled { opacity: .6; cursor: wait; }
.portal .small-print { font-size: 13px; line-height: 1.7; color: var(--muted); }
.notice { border: 1px solid #b08055; background: #fff3e5; padding: 16px 20px; margin: 24px 0 0; line-height: 1.5; }
.notice button { margin-left: 16px; background: transparent; border: 0; text-decoration: underline; cursor: pointer; }
.environment { margin: 22px 0 0; color: #4c7194; font-size: 13px; }
.dashboard { flex: 1; padding: 28px 0 56px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.dashboard-heading h1 { font-size: clamp(30px, 4.2vw, 62px); }
.dashboard-heading h1 span { display: inline; overflow-wrap: anywhere; }
.account-details { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px 32px; font-size: 13px; color: var(--muted); }
.account-card { border: 1px solid var(--line); padding: clamp(22px, 3vw, 44px); border-radius: 3px; }
.account-card h2 { font-size: clamp(25px, 2.8vw, 40px); }
.account-card > p:not(.section-label):not(.status) { color: #626862; line-height: 1.7; }
.status { display: inline-block; padding: 7px 12px; background: #e4eaf0; color: #35536c; border-radius: 2px; font-size: 13px; margin: 28px 0 6px; }
.portal footer { margin-top: auto; }
.endpoint-url { grid-column: 1 / -1; grid-row: 2; min-width: 0; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--ink); text-align: left; cursor: copy; overflow-wrap: anywhere; }
.endpoint-url:hover { border-color: var(--ink); }
.endpoint-url:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.endpoint-url code { font-size: 13px; line-height: 1.7; user-select: all; }
@media (max-width: 700px) {
  .portal-label { font-size: 11px; }
  .dashboard { padding: 40px 0; }
  .dashboard-heading { align-items: flex-start; }
  .dashboard-heading .secondary-button { flex-shrink: 0; padding: 10px 12px; }
}
.key-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.key-actions button { font-size: 13px; padding: 12px 14px; }
.account-bar { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; gap: 16px; }
.quiet-button { border: 0; background: transparent; padding: 8px 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.account-nav { display: flex; gap: 28px; margin: 20px 0 36px; border-bottom: 1px solid var(--line); }
.account-nav a { padding: 0 0 15px; color: var(--muted); text-decoration: none; font-size: 15px; border-bottom: 2px solid transparent; }
.account-nav a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.screen-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.screen-heading .section-label { margin-bottom: 12px; }
.screen-heading h1 { font-size: clamp(30px, 3.5vw, 46px); }
.primary-button, .secondary-button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.screen-view { margin-top: 30px; }
.view-intro { line-height: 1.7; color: #626862; margin: 0 0 28px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; }
.invoice-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; white-space: nowrap; }
.invoice-table th { background: #efefea; font-size: 12px; font-weight: 500; color: var(--muted); }
.invoice-table td, .invoice-table th { padding: 20px; border-bottom: 1px solid var(--line); }
.invoice-table tbody tr:last-child td { border-bottom: 0; }
.invoice-table .text-link { font-size: 13px; }
.invoice-table .status { margin: 0; font-size: 12px; }
.status[data-state="awaiting_deployment"], .status[data-state="active"] { background: #e3ece3; color: #32603e; }
.status[data-state="expired"], .status[data-state="cancelled"] { background: #ecece7; color: #626862; }
.status[data-state="review"] { background: #f8ebd8; color: #805820; }
.empty-state { border: 1px solid var(--line); padding: 48px 28px; text-align: center; }
.empty-state h2 { font-size: 30px; }
.empty-state p { color: var(--muted); line-height: 1.7; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.checkout-steps { display: flex; flex-wrap: wrap; gap: 18px 40px; list-style: none; margin: 0 0 32px; padding: 0; font-size: 13px; color: var(--muted); }
.checkout-steps [aria-current="step"] { color: var(--ink); font-weight: 600; }
.checkout-steps a { color: inherit; text-underline-offset: 4px; }
.node-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1060px; }
.plan-option { display: flex; flex-direction: column; align-items: flex-start; }
.plan-option .plan-price { font-size: 32px; color: var(--ink); margin: 20px 0 12px; }
.plan-price > span:last-child { font-size: 14px; color: var(--muted); }
.plan-price > #plan-price { font-size: inherit; color: inherit; }
.plan-features { margin: 12px 0 32px; padding-left: 18px; line-height: 2; font-size: 14px; color: #626862; }
.plan-option .plan-actions { margin-top: auto; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.checkout-layout h2 { font-size: clamp(26px, 2.6vw, 34px); }
.checkout-layout .view-intro { margin-top: 18px; }
.network-field { display: grid; gap: 12px; font-size: 14px; margin: 28px 0 20px; }
#payment-network { min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 3px; padding: 15px 12px; font: inherit; background: var(--paper); color: var(--ink); }
#new-order > .small-print { margin: 0 0 28px; }
.invoice-facts { margin: 28px 0; font-size: 14px; }
.invoice-facts > div { display: flex; justify-content: space-between; gap: 20px; margin: 18px 0; line-height: 1.5; }
.invoice-facts dt { color: var(--muted); }
.invoice-facts dd { margin: 0; text-align: right; }
.order-total { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.order-total strong { font-size: 24px; font-weight: 500; }
.invoice-reference { overflow-wrap: anywhere; }
.invoice-number, .invoice-reference { font-variant-numeric: tabular-nums; }
.back-link { margin-bottom: 24px; }
.invoice-payment > .status { margin: 0 0 20px; }
.invoice-payment > p { line-height: 1.7; }
.invoice-payment > .primary-button, .invoice-payment > .secondary-button { margin-top: 20px; }
.payment-deadline { font-variant-numeric: tabular-nums; font-size: 14px; color: #35536c; }
.payment-qr-wrap { margin: 24px 0; }
.payment-qr { display: block; width: 185px; max-width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 3px; }
.payment-qr-wrap figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.send-instructions .endpoint-url { font-family: monospace; }
.nodes-access { margin-top: 30px; }
.node-list { display: grid; gap: 16px; }
.rpc-node { min-width: 0; border: 1px solid var(--line); border-radius: 3px; padding: clamp(20px, 2.5vw, 30px); }
.node-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.node-heading h2 { font-size: 27px; }
.node-heading .status { margin: 0; flex-shrink: 0; }
.node-details { margin: 12px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.node-connection { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; border: 1px solid var(--line); border-radius: 3px; min-width: 0; }
.node-transport, .node-url, .node-copy { min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; padding: 15px; }
.node-transport { border-right: 1px solid var(--line); font-size: 13px; cursor: pointer; border-radius: 3px 0 0 3px; }
.node-url { text-align: left; cursor: copy; }
.node-url code { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.6; }
.node-copy { border-left: 1px solid var(--line); font-size: 13px; cursor: copy; min-width: 75px; border-radius: 0 3px 3px 0; }
.node-url:hover, .node-copy:hover, .node-transport:hover { background: #efefea; }
.node-url:focus-visible, .node-copy:focus-visible, .node-transport:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.rpc-node .node-action { margin-top: 16px; font-size: 13px; }
.status[data-state="revoked"], .status[data-state="unavailable"] { background: #ecece7; color: #626862; }
.dashboard-plans { margin-top: 48px; }
.plans-heading { margin-bottom: 24px; }
.plans-heading .section-label { margin-bottom: 10px; }
.plans-heading h2 { font-size: 30px; }
.access-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.access-options .account-card { padding: 26px; }
.access-options h3 { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -.035em; }
.access-options .plan-option > .plan-price { display: flex; align-items: baseline; gap: 8px; line-height: 1.2; color: var(--ink); }
.access-options .plan-price span { display: inline; margin: 0; }
.access-options .plan-features { width: 100%; padding-left: 0; margin-bottom: 28px; }
.access-options .plan-actions { align-self: stretch; }
.plan-price > #dashboard-plan-price { font-size: inherit; color: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; }
@media (max-width: 800px) {
  .checkout-layout, .node-plans, .access-options { grid-template-columns: 1fr; }
  .invoice-table td, .invoice-table th { padding: 16px; }
}
@media (max-width: 500px) {
  .node-connection { grid-template-columns: 80px minmax(0, 1fr) auto; }
  .node-transport, .node-url, .node-copy { padding: 13px 10px; }
  .node-copy { min-width: 58px; }
  .node-heading h2 { font-size: 24px; }
  .node-heading .status { font-size: 11px; padding: 7px 9px; }
  .screen-heading { align-items: flex-start; flex-direction: column; }
  .invoice-facts > div { flex-direction: column; gap: 6px; }
  .invoice-facts dd { text-align: left; }
}
