:root {
  color-scheme: light;
  --navy: #071c35;
  --navy-soft: #0d2c50;
  --cyan: #00b8d9;
  --cyan-strong: #008eae;
  --ink: #142234;
  --muted: #64748b;
  --line: #d8e1ea;
  --surface: #f3f7fa;
  --card: #ffffff;
  --portal-ambient: #d9f7ff;
  --soft-cyan: #e8f9fc;
  --soft-green: #e9f9ef;
  --green: #127a46;
  --amber: #aa6510;
  --red: #bf3340;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(7, 28, 53, .09);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--surface); }
body { min-width: 320px; margin: 0; color: var(--ink); background: radial-gradient(circle at 85% -20%, var(--portal-ambient) 0, transparent 32rem), var(--surface); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(0, 184, 217, .55); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 30; top: 10px; left: 10px; transform: translateY(-180%); padding: 9px 12px; border-radius: 8px; color: var(--navy); background: #fff; box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }

.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 18px; padding: 12px clamp(18px, 5vw, 72px); color: #fff; background: linear-gradient(112deg, var(--navy), #0a3156); box-shadow: 0 2px 10px rgba(7, 28, 53, .15); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; color: var(--navy); background: var(--cyan); font-weight: 850; font-size: 18px; box-shadow: inset 0 -2px rgba(0,0,0,.08); }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { letter-spacing: .025em; font-size: 17px; }
.brand small { margin-top: 3px; color: #b9d5e8; font-size: 12px; }
.account-menu { display: flex; align-items: center; gap: 12px; min-width: 0; }
.session-label { overflow: hidden; max-width: min(34vw, 260px); color: #d8edf7; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }

main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: clamp(28px, 5vw, 58px) 0 52px; }
.loading-panel { display: flex; align-items: center; justify-content: center; min-height: 180px; gap: 10px; color: var(--muted); }
.loading-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scale(1.6); opacity: .35; } }

.auth-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(28px, 7vw, 94px); align-items: center; min-height: min(680px, calc(100vh - 160px)); }
.auth-intro { padding: clamp(8px, 3vw, 38px) 0; }
.eyebrow { margin: 0 0 7px; color: var(--cyan-strong); letter-spacing: .08em; text-transform: uppercase; font-weight: 750; font-size: 12px; }
h1, h2, h3, h4, p { overflow-wrap: anywhere; }
h1 { max-width: 620px; margin: 0 0 14px; color: var(--navy); font-size: 44px; line-height: 1.1; }
h2 { margin: 0; color: var(--navy); font-size: 26px; line-height: 1.18; }
h3 { margin: 0; color: var(--navy); font-size: 18px; line-height: 1.3; }
h4 { margin: 0; color: var(--navy); font-size: 15px; }
p { margin: 0; }
.auth-intro > p:not(.eyebrow) { max-width: 550px; color: var(--muted); font-size: 18px; }
.plain-list { display: grid; gap: 13px; padding: 0; margin: 30px 0 0; list-style: none; color: #34475d; }
.plain-list li { display: flex; align-items: center; gap: 10px; }
.plain-list span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: var(--cyan-strong); background: var(--soft-cyan); font-weight: 800; font-size: 13px; }

.auth-card, .summary-card, .help-card, .plan-card, .next-step, .service-pass, .recent-service, .environment-note, .preorder-activation { border: 1px solid rgba(216, 225, 234, .95); background: var(--card); box-shadow: var(--shadow); }
.auth-card { padding: clamp(22px, 4vw, 34px); border-radius: var(--radius); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.registration-context-note { margin: -8px 0 20px; padding: 11px 13px; border-radius: 10px; color: #31526a; background: #eef8fc; font-size: 13px; line-height: 1.55; }
.auth-tab { padding: 8px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; font-weight: 700; }
.auth-tab[aria-selected="true"] { border-color: var(--cyan); color: var(--navy); }
.auth-form { display: grid; gap: 9px; }
.auth-form h2 { font-size: 24px; }
.form-hint { margin: -2px 0 11px; color: var(--muted); font-size: 14px; }
label { color: #34475d; font-weight: 700; font-size: 14px; }
input, select, textarea { width: 100%; border: 1px solid #bdcad6; border-radius: 9px; padding: 10px 12px; color: var(--ink); background: #fff; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); }
.form-message { min-height: 24px; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.form-message.error { color: var(--red); }
.form-message.success { color: var(--green); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid transparent; border-radius: 9px; padding: 9px 15px; text-decoration: none; font-weight: 750; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--cyan-strong), var(--cyan)); box-shadow: 0 7px 16px rgba(0, 142, 174, .23); }
.button.secondary { border-color: #9bb5c8; color: var(--navy); background: #fff; }
.site-header .button.secondary { border-color: #77a6c2; color: #effaff; background: transparent; }
.button.tertiary { color: var(--navy); background: transparent; }
.button.compact { min-height: 34px; padding: 6px 11px; font-size: 14px; }
.text-button { padding: 0; border: 0; color: var(--cyan-strong); background: transparent; font-weight: 750; text-align: left; }

.network-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: clamp(22px, 4vw, 33px); border-radius: var(--radius); color: #effbff; background: linear-gradient(118deg, var(--navy), var(--navy-soft)); box-shadow: 0 18px 36px rgba(7, 28, 53, .18); }
.network-banner h2 { max-width: none; margin-bottom: 5px; color: #fff; font-size: 31px; }
.network-banner .eyebrow { color: #78dcef; }
.network-banner p:not(.eyebrow) { color: #c1dce9; }
.network-banner .button.secondary { border-color: #79b5cc; color: #f2fbff; background: rgba(255,255,255,.06); }
.network-icon { width: 46px; height: 46px; border: 2px solid var(--cyan); border-radius: 50%; box-shadow: inset 0 0 0 8px rgba(0, 184, 217, .12); }
.network-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 9px; }

.service-recovery { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 16px; padding: 18px 20px; border: 1px solid #e7c88e; border-radius: 13px; color: #68430f; background: #fff8e9; }
.service-recovery .eyebrow { color: #9a5d10; }
.service-recovery h2 { margin-bottom: 4px; font-size: 20px; }
.service-recovery p:not(.eyebrow) { color: #68430f; }
.service-recovery[data-error-kind="offline"], .service-recovery[data-error-kind="reconnected"] { border-color: #8acddd; color: #16495d; background: var(--soft-cyan); }
.service-recovery[data-error-kind="offline"] .eyebrow, .service-recovery[data-error-kind="reconnected"] .eyebrow { color: #08718a; }
.service-recovery[data-error-kind="offline"] p:not(.eyebrow), .service-recovery[data-error-kind="reconnected"] p:not(.eyebrow) { color: #16495d; }
.service-recovery[data-error-kind="forbidden"] { border-color: #e0a8ae; color: #7d2029; background: #fff1f2; }
.service-recovery[data-error-kind="forbidden"] .eyebrow { color: #a12e3b; }
.service-recovery[data-error-kind="forbidden"] p:not(.eyebrow) { color: #7d2029; }
#service-app[data-core-unavailable="true"] .network-actions [data-view],
#service-app[data-core-unavailable="true"] .service-nav,
#service-app[data-core-unavailable="true"] .view-panel,
#service-app[data-core-unavailable="true"] .environment-note { display: none !important; }

.service-nav { display: flex; gap: 6px; margin: 28px 0; padding-bottom: 1px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.service-nav-item { flex: 0 0 auto; padding: 11px 13px; border: 0; border-bottom: 3px solid transparent; color: var(--muted); background: transparent; font-weight: 700; }
.service-nav-item.active { border-color: var(--cyan); color: var(--navy); }
.view-panel { animation: reveal .18s ease-out; }
@keyframes reveal { from { transform: translateY(4px); opacity: .5; } to { transform: translateY(0); opacity: 1; } }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.quiet { color: var(--muted); font-size: 14px; }

.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.summary-card { min-height: 160px; padding: 20px; border-radius: 13px; }
.summary-label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.summary-card strong { display: block; margin-bottom: 9px; color: var(--navy); font-size: 21px; line-height: 1.25; }
.summary-card p { color: var(--muted); font-size: 14px; }
.overview-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 16px; }
.service-pass { padding: clamp(20px, 3vw, 28px); border-radius: 15px; background: linear-gradient(145deg, #fff 0%, #f7fcfe 100%); }
.service-pass-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.service-pass-heading h3 { margin-bottom: 6px; font-size: 26px; }
.service-pass-heading p, .service-pass-note { color: var(--muted); font-size: 14px; }
.service-state { display: inline-flex; flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; color: var(--amber); background: #fff7e9; font-size: 13px; font-weight: 750; }
.service-state.active { color: var(--green); background: var(--soft-green); }
.service-state.suspended { color: var(--red); background: #fff0f1; }
.service-pass-note { margin-top: 12px; }
.usage-meter { margin-top: 24px; }
.usage-meter-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: var(--muted); font-size: 13px; }
.usage-meter-heading strong { color: var(--navy); font-size: 15px; }
.usage-meter-track { overflow: hidden; height: 8px; border-radius: 999px; background: #dcecf2; }
.usage-meter-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan-strong), var(--cyan)); transition: width .25s ease; }
.service-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.service-facts div { padding-top: 13px; border-top: 1px solid var(--line); }
.service-facts dt { color: var(--muted); font-size: 12px; }
.service-facts dd { margin: 4px 0 0; color: var(--navy); font-weight: 750; }
.next-step { display: flex; align-items: flex-start; justify-content: space-between; flex-direction: column; gap: 24px; margin: 0; padding: 24px; border-radius: 15px; background: linear-gradient(145deg, #ecfbff, #fff); }
.next-step h3 { margin-bottom: 5px; }
.next-step p:not(.eyebrow) { color: var(--muted); }
.next-step .button { width: 100%; }
.recent-service { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr) auto; align-items: center; gap: 20px; margin-top: 16px; padding: 20px 22px; border-radius: 15px; box-shadow: 0 9px 24px rgba(7, 28, 53, .06); }
.recent-service-fact { display: flex; align-items: center; justify-content: space-between; min-width: 0; gap: 14px; padding-left: 20px; border-left: 1px solid var(--line); }
.recent-service-fact strong { display: block; color: var(--navy); }
.recent-service-fact p { margin-top: 3px; color: var(--muted); font-size: 13px; }

.preorder-activation { margin-bottom: 20px; padding: clamp(18px, 3vw, 24px); border-left: 4px solid var(--cyan); border-radius: 14px; box-shadow: 0 10px 26px rgba(7, 28, 53, .06); }
.preorder-activation-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.preorder-activation-heading .quiet { max-width: 520px; text-align: right; }
.activation-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; margin: 21px 0; list-style: none; }
.activation-rail li { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--muted); }
.activation-rail li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 17px; right: 8px; left: 44px; height: 2px; background: var(--line); }
.activation-rail li > span { position: relative; z-index: 1; display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 2px solid var(--line); border-radius: 50%; color: var(--muted); background: #fff; font-weight: 800; font-size: 13px; }
.activation-rail li > div { position: relative; z-index: 1; min-width: 0; padding-right: 10px; background: #fff; }
.activation-rail strong, .activation-rail small { display: block; }
.activation-rail strong { color: var(--muted); font-size: 14px; }
.activation-rail small { margin-top: 1px; font-size: 12px; }
.activation-rail li.complete > span { border-color: var(--green); color: #fff; background: var(--green); }
.activation-rail li.complete strong { color: var(--green); }
.activation-rail li.current > span { border-color: var(--cyan-strong); color: var(--cyan-strong); background: var(--soft-cyan); box-shadow: 0 0 0 5px rgba(0, 184, 217, .1); }
.activation-rail li.current strong { color: var(--navy); }
.activation-rail li.warning > span { border-color: var(--amber); color: var(--amber); background: #fff7e9; }
.activation-rail li.warning strong { color: var(--amber); }
.preorder-activation-list { display: grid; gap: 10px; }
.preorder-candidate { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdfe; }
.preorder-candidate h4 { margin-bottom: 3px; }
.preorder-candidate p { color: var(--muted); font-size: 14px; }
.preorder-candidate .button { min-width: 170px; }
.preorder-candidate-note { margin-top: 7px; color: var(--amber) !important; }
.preorder-reversal-state { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid #cce7df; border-radius: 12px; background: linear-gradient(90deg, #edf9f5 0, #fbfefd 42%); }
.preorder-reversal-state.review { border-color: #f1d6a8; background: linear-gradient(90deg, #fff7e9 0, #fffdf8 42%); }
.preorder-reversal-state h4 { margin: 0 0 3px; }
.preorder-reversal-state p { color: var(--muted); font-size: 13px; }
.preorder-reversal-marker { min-width: 62px; padding: 7px 9px; border-radius: 7px; color: #176b57; background: #d9f1e9; font-size: 12px; font-weight: 800; text-align: center; }
.preorder-reversal-state.review .preorder-reversal-marker { color: #8c5b08; background: #fbe9c8; }
.preorder-reversal-progress { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.preorder-reversal-progress-badge { padding: 3px 7px; border-radius: 999px; color: #516274; background: #e9eef3; font-size: 12px; font-weight: 700; }
.preorder-reversal-progress-badge.confirmed { color: #176b57; background: #d9f1e9; }
.preorder-reversal-progress-badge.attention { color: #8c5b08; background: #fbe9c8; }

.context-picker { display: grid; grid-template-columns: minmax(115px, auto) minmax(220px, 360px) minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 20px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.7); }
.context-picker .quiet { margin: 0; }
.plan-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 15px; }
.plan-card { display: grid; align-content: start; min-height: 185px; gap: 10px; padding: 20px; border-radius: 13px; }
.plan-card strong { color: var(--cyan-strong); font-size: 21px; }
.plan-card p { color: var(--muted); font-size: 14px; }
.plan-card .text-button { margin-top: auto; }
.plan-card .button { width: 100%; margin-top: auto; }
.plan-readiness { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); color: var(--amber) !important; }
.empty-state { grid-column: 1 / -1; margin: 0; padding: 28px; border: 1px dashed #b7c7d5; border-radius: 12px; color: var(--muted); background: #fff; text-align: center; }
.purchase-history, .service-experience, .billing-history { margin-top: 30px; }
.section-subheading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.section-subheading h3 { margin-top: 2px; }
.section-subheading .quiet { max-width: 500px; text-align: right; }
.purchased-plan-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 15px; }
.purchase-card { display: grid; align-content: start; min-height: 172px; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 8px 22px rgba(7, 28, 53, .05); }
.purchase-card p { color: var(--muted); font-size: 14px; }
.purchase-card .purchase-state { display: inline-flex; width: fit-content; padding: 4px 8px; border-radius: 999px; color: var(--green); background: var(--soft-green); font-size: 13px; font-weight: 750; }
.purchase-card .purchase-state.pending { color: var(--amber); background: #fff7e9; }
.purchase-card .purchase-state.inactive { color: var(--red); background: #fff0f1; }
.purchase-card .purchase-period { margin-top: auto; }

.compact-grid { margin-bottom: 20px; }
.compact-grid .summary-card { min-height: 132px; }
.service-experience-list { display: grid; gap: 10px; }
.service-experience-record { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.service-experience-record h4 { margin-bottom: 3px; }
.service-experience-record p { color: var(--muted); font-size: 14px; }
.service-record-state { display: inline-flex; align-items: center; justify-content: center; min-width: 80px; padding: 4px 8px; border-radius: 999px; color: var(--green); background: var(--soft-green); font-size: 13px; font-weight: 750; white-space: nowrap; }
.service-record-state.pending { color: var(--amber); background: #fff7e9; }
.service-record-state.review { color: var(--red); background: #fff0f1; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
table { width: 100%; min-width: 620px; border-collapse: collapse; }
th, td { padding: 13px 16px; border-bottom: 1px solid #edf1f5; text-align: left; vertical-align: top; }
th { color: var(--muted); background: #fbfdfe; font-size: 13px; font-weight: 750; }
tbody tr:last-child td { border-bottom: 0; }
.empty-cell { color: var(--muted); text-align: center; }

.help-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 16px; }
.help-card { padding: 21px; border-radius: 13px; }
.help-card h3 { margin-bottom: 7px; }
.help-card > p { margin-bottom: 17px; color: var(--muted); }
.stack-form { display: grid; gap: 9px; }
.stack-form .button { justify-self: start; margin-top: 4px; }
.announcement-list { display: grid; gap: 13px; }
.announcement { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.announcement:last-child { padding-bottom: 0; border-bottom: 0; }
.announcement h4 { margin-bottom: 5px; }
.announcement p { color: var(--muted); font-size: 14px; }
.announcement a { color: var(--cyan-strong); }
.strong { font-weight: 750; }

.environment-note { margin-top: 28px; border-radius: 13px; padding: 0 18px; box-shadow: none; }
.environment-note summary { padding: 15px 0; color: var(--muted); cursor: pointer; font-weight: 700; }
.environment-note p { padding: 0 0 17px; color: var(--muted); font-size: 14px; }
dialog { width: min(480px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 16px; padding: 25px; color: var(--ink); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(7, 28, 53, .58); backdrop-filter: blur(2px); }
dialog h2 { margin-bottom: 8px; }
dialog p { margin-bottom: 18px; color: var(--muted); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.checkout-plan-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 10px; background: var(--soft-cyan); }
.checkout-plan-summary strong { color: var(--navy); }
.checkout-plan-summary span { color: var(--cyan-strong); font-weight: 750; text-align: right; }
#checkout-continue { width: 100%; }

@media (max-width: 760px) {
  .site-header { min-height: 63px; padding: 10px 16px; }
  .session-label { display: none; }
  main { width: min(100% - 24px, 620px); padding-top: 22px; }
  .auth-layout { grid-template-columns: 1fr; gap: 22px; min-height: auto; }
  .auth-intro { padding: 2px 4px; }
  h1 { font-size: 35px; }
  .network-banner { grid-template-columns: auto minmax(0, 1fr); padding: 20px; }
  .network-actions { grid-column: 1 / -1; width: 100%; }
  .network-actions .button { width: 100%; }
  .service-recovery { align-items: stretch; flex-direction: column; gap: 13px; padding: 18px; }
  .service-recovery .button { width: 100%; }
  .network-icon { width: 39px; height: 39px; }
  .service-nav { gap: 0; margin: 20px 0; }
  .service-nav-item { padding: 10px; font-size: 14px; }
  .section-heading, .section-subheading, .next-step { align-items: flex-start; flex-direction: column; }
  .section-subheading .quiet { text-align: left; }
  .summary-grid, .help-grid { grid-template-columns: 1fr; }
  .overview-layout { grid-template-columns: 1fr; }
  .service-pass-heading { flex-direction: column; gap: 10px; }
  .recent-service { grid-template-columns: 1fr; align-items: start; }
  .recent-service-fact { align-items: flex-start; padding: 15px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .preorder-activation-heading, .preorder-candidate { align-items: stretch; grid-template-columns: 1fr; flex-direction: column; }
  .preorder-activation-heading { display: flex; }
  .preorder-activation-heading .quiet { text-align: left; }
  .activation-rail { grid-template-columns: 1fr; gap: 11px; }
  .activation-rail li:not(:last-child)::after { top: 34px; bottom: -12px; left: 16px; width: 2px; height: auto; }
  .preorder-candidate .button { width: 100%; }
  .service-experience-record { grid-template-columns: 1fr; align-items: start; }
  .summary-card { min-height: 0; }
  .context-picker { grid-template-columns: 1fr; gap: 7px; }
  .next-step .button { width: 100%; }
  .table-wrap table { min-width: 0; table-layout: fixed; }
  .table-wrap th, .table-wrap td { padding: 10px 8px; font-size: 13px; overflow-wrap: anywhere; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .button { width: 100%; }
  .checkout-plan-summary { align-items: flex-start; flex-direction: column; }
  .checkout-plan-summary span { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Type steps down by media query. Viewport-scaled text ignores the user's
   text-size preference, which the accessibility gate forbids. */
@media (max-width: 640px) {
  h1 { font-size: 34px; }
  h2 { font-size: 23px; }
  .network-banner h2 { font-size: 25px; }
  .service-pass-heading h3 { font-size: 23px; }
}

/* The one thing a passenger opens this page to learn, said in one word before
   any explanation. Room is left for the graded verdicts (优/良/差) the product
   will want once the gateway actually measures quality - today it only knows
   whether access was granted, so only 通/断/确认中 are shown. */
.network-verdict { margin: 0 0 4px; font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: 2px; }
.network-verdict--up { color: #5ef2b0; }
.network-verdict--down { color: #ff9a8a; }
.network-verdict--pending { color: #ffd88a; }
