.beta-navigation { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.beta-navigation .button { min-height: 42px; padding: 10px 18px; font-size: 12px; border-radius: 10px; color: #0b1726; }
.beta-navigation [data-nav-action=register] { color: #fff; background: #0e7c8a; border-color: #0e7c8a; }
.demo-preview { max-width: 1120px; margin: 32px auto; padding: 28px; background: #fff; border: 1px solid #d6e3e6; border-radius: 20px; }
.demo-preview h2 { font-size: 28px; letter-spacing: -.04em; }
.demo-preview p { color: #5b6b78; line-height: 1.7; }
.demo-rows { margin-top: 24px; max-height: 400px; overflow: hidden; pointer-events: none; user-select: none; }
.demo-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; padding: 16px; border-top: 1px solid #e3e9eb; filter: blur(5px); animation: demo-arrive .3s ease-out; }
.plans-dialog { width: min(1060px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 36px; border: 1px solid #d6e3e6; border-radius: 24px; color: #0b1726; background: #f2f7f8; overflow: auto; }
.plans-dialog::backdrop { background: #0b172670; backdrop-filter: blur(5px); }
.plans-dialog .eyebrow { color: #0e7c8a; font-size: 10px; letter-spacing: .1em; }
.plans-dialog h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.05em; line-height: 1.15; margin: 14px 38px 16px 0; }
.plans-dialog > p { max-width: 730px; line-height: 1.7; color: #5b6b78; }
.plans-dialog > #close-plans { float: right; min-height: 36px; min-width: 36px; color: #0b1726; background: #fff; }
.plans-choice { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 26px 0; font-size: 12px; font-weight: 650; }
.plans-choice select { max-width: 100%; min-height: 46px; padding: 12px 40px 12px 16px; border: 1px solid #b5cdd1; border-radius: 10px; background-color: #fff; color: #0b1726; font: inherit; }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-card { display: flex; flex-direction: column; padding: 24px 20px; border: 1px solid #ccdee1; border-radius: 18px; background: #fff; }
.plan-type { align-self: flex-start; padding: 6px 9px; color: #0b1726; background: #c9ff3e; border-radius: 6px; font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.plan-card h3 { font-size: 21px; letter-spacing: -.035em; margin: 20px 0 0; }
.plan-card .plan-price { color: #0b1726; font-size: 43px; font-weight: 750; line-height: 1.2; letter-spacing: -.05em; margin: 22px 0 0; }
.plan-period { margin-left: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0; color: #5b6b78; white-space: nowrap; }
.plan-card .plan-tax { font-size: 11px; margin: 7px 0 20px; }
.plan-card p { font-size: 12px; color: #5b6b78; line-height: 1.7; }
.plan-description { border-top: 1px solid #e1eaec; padding-top: 18px; margin: 0; }
.plan-features { list-style: none; padding: 0; margin: 18px 0 24px; font-size: 11px; color: #344d5b; display: grid; gap: 12px; line-height: 1.6; }
.plan-features li { padding-left: 18px; position: relative; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: #0e7c8a; font-weight: 700; }
.plan-card .button { width: 100%; min-height: 46px; font-size: 12px; justify-content: center; border-radius: 10px; margin-top: auto; background: #0e7c8a; border-color: #0e7c8a; }
.plan-card .button:hover { background: #095d68; border-color: #095d68; }
.plans-dialog .plans-terms { font-size: 11px; margin-top: 22px; }
.plans-dialog .plans-beta { font-size: 11px; padding: 12px 14px; border: 1px solid #d6e3e6; border-radius: 10px; background: #fff; max-width: none; }
.demo-message { min-height: 20px; font-size: 12px; }
.plans-dialog > .text-button { font-size: 12px; }
.plans-dialog button:focus-visible, .beta-navigation button:focus-visible { outline: 3px solid #0e7c8a; outline-offset: 3px; }
@keyframes demo-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
#beta-wallet { max-width: 1120px; margin: 24px auto; padding: 24px; border: 1px solid #d6e3e6; border-radius: 20px; background: #fff; color: #0b1726; }
#beta-wallet h2 { font-size: 24px; letter-spacing: -.04em; }
#beta-wallet p { line-height: 1.7; color: #5b6b78; }
#beta-wallet button { min-height: 44px; padding: 10px 14px; margin: 4px; border: 1px solid #b9ced2; border-radius: 10px; background: #f2f7f8; color: #0b1726; font: inherit; cursor: pointer; }
#beta-wallet summary { padding: 14px 0; cursor: pointer; }
#beta-wallet ol { max-height: 300px; overflow: auto; padding-left: 24px; }
#beta-wallet li { padding: 7px 0; overflow-wrap: anywhere; }
#beta-wallet button:focus-visible, #beta-wallet summary:focus-visible { outline: 3px solid #0e7c8a; outline-offset: 3px; }
@media(max-width:700px) {
  .site-header:has(.beta-navigation) { height: auto; min-height: 78px; flex-wrap: wrap; }
  .beta-navigation { margin-left: auto; gap: 6px; }
  .beta-navigation .button { padding: 8px 12px; min-height: 40px; font-size: 11px; }
  .plans-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 24px 20px; border-radius: 18px; }
  .plans-dialog h2 { font-size: 30px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 24px; }
  .plan-card h3 { font-size: 24px; }
  .plan-card .plan-price { font-size: 44px; }
  .plan-features, .plan-card p { font-size: 12px; }
  .demo-preview { padding: 20px; margin: 24px 18px; }
  .demo-row { font-size: 12px; gap: 8px; }
  .plans-choice { display: grid; }
  .plans-choice select { width: 100%; }
  #beta-wallet { margin: 20px 18px; padding: 20px; }
}
@media(prefers-reduced-motion:reduce) { .demo-row { animation: none; } }
.plans-dialog .plans-identity { max-width: none; padding: 12px 16px; border-left: 3px solid #0e7c8a; background: #e1f1f2; color: #244753; font-size: 12px; overflow-wrap: anywhere; }
.plans-dialog .plans-availability { max-width: none; padding: 14px 16px; color: #6e4b18; background: #fff4dc; border: 1px solid #e9d3a4; border-radius: 10px; font-size: 12px; }
.plan-card .button:disabled { white-space: normal; line-height: 1.5; opacity: 1; color: #52636c; background: #e8eef0; border-color: #d6e0e3; cursor: default; }

/* Account entry and plan selection share the transactional UI hierarchy. */
.beta-navigation .button { min-height:44px; font-size:14px; border-radius:8px; color:#142b32; border-color:#7b8f97; background:#fff; }
.beta-navigation [data-nav-action=plans] { background:transparent; border-color:transparent; }
.beta-navigation [data-nav-action=register] { background:#096773; border-color:#096773; color:#fff; }
.beta-navigation .button:hover { background:#edf4f4; }
.beta-navigation [data-nav-action=register]:hover { background:#07545e; }
.beta-navigation [hidden] { display:none; }
.plans-dialog { border-radius:12px; border-color:#c7d3d8; color:#142b32; }
.plans-dialog h2 { font-size:28px; letter-spacing:-.03em; }
.plans-dialog > p { font-size:16px; color:#50616a; }
.plans-dialog > #close-plans { min-width:44px; min-height:44px; }
.plans-choice,.plans-dialog .plans-terms,.plans-dialog .plans-beta,.plans-dialog > .text-button,.plans-dialog .plans-identity,.plans-dialog .plans-availability,.demo-message { font-size:14px; }
.plan-card { border-radius:10px; border-color:#c7d3d8; }
.plan-type { background:#e8f2f3; color:#096773; font-size:14px; }
.plan-period,.plan-card .plan-tax,.plan-card p,.plan-features,.plan-card .button { font-size:14px; }
.plan-card .plan-price { font-size:36px; color:#142b32; }
.plan-card .button { background:#096773; border-color:#096773; border-radius:8px; }
@media(max-width:700px) {
  .beta-navigation { gap:8px; }
  .beta-navigation .button { min-height:44px; padding:10px 12px; font-size:14px; }
  .plans-dialog h2 { font-size:24px; }
  .plan-features,.plan-card p { font-size:14px; }
}
@media(max-width:480px) {
  .site-header:has(.beta-navigation) { row-gap:12px; }
  .beta-navigation { width:100%; margin-left:0; justify-content:flex-end; }
}

.auth-view .beta-navigation { display:none; }
/* Essential field boundary stays visible without decorative backdrop effects. */
.plans-choice select { border-color:#7b8f97; font-size:16px; }
.plans-dialog::backdrop { background:#142b3280; backdrop-filter:none; }

.auth-view .site-footer {
  font-size: 14px;
  line-height: 1.5;
}
