:root {
  color-scheme: light;
  --ink: #102f49;
  --muted: #617b91;
  --primary: #176fb5;
  --primary-dark: #0b568f;
  --primary-soft: #e9f4fd;
  --line: #d7e7f4;
  --surface: #ffffff;
  --canvas: #f4f8fc;
  --danger: #c13c50;
  --success: #14805e;
  --warning: #a8650a;
  --shadow: 0 18px 54px rgba(20, 78, 124, 0.12);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html [hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 78% 0, #e9f4ff 0, transparent 34%), var(--canvas); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.platform-shell { min-height: 100vh; display: grid; grid-template-columns: 232px minmax(0, 1fr); }
.platform-nav { position: sticky; top: 0; height: 100vh; padding: 22px 16px; background: rgba(255,255,255,.92); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; backdrop-filter: blur(18px); }
.platform-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; font-size: 19px; }
.platform-brand img { width: 42px; height: 42px; }
.platform-nav-links { display: grid; gap: 8px; }
.platform-nav-links a { min-height: 45px; padding: 7px 10px; border-radius: 13px; color: #49677f; text-decoration: none; font-weight: 750; display: flex; align-items: center; gap: 10px; transition: background .16s ease, color .16s ease, transform .16s ease; }
.platform-nav-links a > span { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; border: 1px solid #d5e6f3; border-radius: 9px; background: #f7fbff; color: #47708e; font-size: 12px; font-weight: 900; }
.platform-nav-links a:hover, .platform-nav-links a.active { background: var(--primary-soft); color: var(--primary-dark); transform: translateX(2px); }
.platform-nav-links a.active > span { border-color: #7fb8e1; background: linear-gradient(145deg, #2584c9, #0f619f); color: #fff; box-shadow: 0 6px 14px rgba(23,111,181,.2); }
.platform-nav-foot { margin-top: auto; display: grid; gap: 10px; }
.platform-main { min-width: 0; padding: 32px clamp(20px, 3.2vw, 48px) 64px; }
.portal-main { width: 100%; max-width: 1480px; margin-inline: auto; }
.portal-body { background: #f7f9fb; }
.portal-body .platform-shell { grid-template-columns: 248px minmax(0, 1fr); }
.portal-body .platform-nav { padding: 24px 18px; gap: 18px; background: #fff; backdrop-filter: none; }
.portal-account-label { display: grid; gap: 3px; padding: 8px 10px 16px; border-bottom: 1px solid #edf1f4; }
.portal-account-label strong { color: #172f43; font-size: 16px; overflow-wrap: anywhere; }
.portal-account-label span { color: #8595a3; font-size: 12px; }
.portal-body .platform-nav-links { gap: 5px; }
.portal-body .platform-nav-links a { min-height: 46px; border-radius: 10px; color: #314b60; }
.portal-body .platform-nav-links a > span { width: 25px; height: 25px; flex-basis: 25px; border: 0; background: transparent; color: #526a7c; }
.portal-body .platform-nav-links a:hover,
.portal-body .platform-nav-links a.active { background: #eef2f5; color: #102f49; transform: none; }
.portal-body .platform-nav-links a.active > span { border: 0; background: transparent; color: #176fb5; box-shadow: none; }
.simple-portal { max-width: 1240px; padding-top: 42px; }
.simple-portal .portal-page-head { margin-bottom: 30px; }
.simple-portal .portal-page-head h1 { font-size: clamp(30px, 4vw, 42px); }
.simple-portal .card { border-color: #e1e8ee; border-radius: 18px; box-shadow: none; }
.simple-portal .metric { min-height: 112px; }
.simple-portal .plan-card { border-color: #e1e8ee; background: #fff; }
.simple-portal .security-panel { background: #fbfcfd; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; }
.page-head p { margin: 0; color: var(--muted); line-height: 1.7; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card { background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 10px 32px rgba(27, 88, 134, 0.055); }
.card + .card { margin-top: 18px; }
.card h2, .card h3 { margin: 0 0 16px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric { min-height: 122px; display: flex; flex-direction: column; justify-content: space-between; }
.metric span { color: var(--muted); font-weight: 700; }
.metric strong { font-size: 31px; color: var(--primary-dark); letter-spacing: -.04em; }
.portal-metrics { margin-bottom: 18px; }
.button { appearance: none; border: 0; border-radius: 12px; padding: 11px 17px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; background: var(--primary); color: white; transition: transform .16s ease, background .16s ease; }
.button:hover { background: var(--primary-dark); transform: translateY(-1px); }
.button.secondary { background: #fff; color: var(--primary-dark); border: 1px solid var(--line); }
.button.danger { background: #fff0f2; color: var(--danger); border: 1px solid #f4cdd3; }
.button.small { padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 750; color: #365a74; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #cddfeb; border-radius: 13px; background: #fbfdff; color: var(--ink); padding: 12px 14px; outline: none; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #5ba3d7; box-shadow: 0 0 0 4px #dfefff; }
.field-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.muted { color: var(--muted); }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); border: 1px dashed #c8dce9; border-radius: 16px; }
.list { display: grid; gap: 12px; }
.list-item { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.list-item-main { min-width: 0; }
.list-item h3 { margin: 0 0 6px; font-size: 16px; }
.list-item p { margin: 0; color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 800; white-space: nowrap; background: #edf3f8; color: #516a7e; }
.badge.new, .badge.online { background: #e3f7ef; color: var(--success); }
.badge.in_progress { background: #e7f2ff; color: var(--primary-dark); }
.badge.waiting_user { background: #fff3dc; color: var(--warning); }
.badge.urgent { background: #ffeaed; color: var(--danger); }
.badge.offline, .badge.closed { background: #f0f3f5; color: #768896; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td { padding: 14px 15px; border-bottom: 1px solid #e8f0f6; text-align: left; vertical-align: top; }
th { color: #5d7486; background: #f7fbfe; font-size: 13px; }
tr:last-child td { border-bottom: 0; }
.link-button { border: 0; background: none; padding: 0; color: var(--primary); font-weight: 800; cursor: pointer; }
.dialog { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(10, 35, 55, .44); backdrop-filter: blur(6px); }
.dialog[hidden] { display: none; }
.dialog-card { width: min(720px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.message-thread { display: grid; gap: 12px; margin: 18px 0; }
.message { padding: 14px 16px; border-radius: 15px; background: #f3f7fa; line-height: 1.65; white-space: pre-wrap; }
.message.support, .message.admin { background: var(--primary-soft); border-left: 3px solid var(--primary); }
.message.internal { background: #fff4dc; border-left: 3px solid #d99319; }
.message small { display: block; color: var(--muted); margin-top: 6px; }
.notice { border-radius: 13px; padding: 12px 14px; background: #e9f5fd; color: #275c82; line-height: 1.6; }
.notice.error { background: #fff0f2; color: var(--danger); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 99; max-width: 360px; padding: 13px 16px; border-radius: 13px; background: #123d5c; color: #fff; box-shadow: var(--shadow); }
.toast.error { background: #a63143; }
.toast[hidden] { display: none; }
.login-page { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr); }
.login-visual { position: relative; overflow: hidden; padding: clamp(32px, 7vw, 90px); display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, #0c5b98, #177bc0 55%, #70b9e8); color: white; }
.login-visual::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; right: -160px; bottom: -230px; background: rgba(255,255,255,.16); }
.login-logo { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 850; }
.login-logo img { width: 54px; height: 54px; filter: drop-shadow(0 10px 22px rgba(0,0,0,.16)); }
.login-copy { position: relative; z-index: 1; max-width: 560px; }
.login-copy h1 { font-size: clamp(38px, 5vw, 66px); margin: 0 0 20px; line-height: 1.08; letter-spacing: -0.05em; }
.login-copy p { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.84); }
.login-panel { display: grid; place-items: center; padding: 28px; background: #f7fbfe; }
.login-card { width: min(470px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(26px, 5vw, 42px); box-shadow: var(--shadow); }
.login-card h2 { margin: 7px 0 8px; font-size: 30px; }
.login-card > p { margin: 0 0 26px; color: var(--muted); line-height: 1.7; }
.eyebrow { display: block; color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: -8px 0 22px; border-radius: 14px; background: #edf5fc; }
.auth-tabs button { border: 0; border-radius: 10px; padding: 10px 8px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.auth-tabs button.active { background: #fff; color: var(--primary-dark); box-shadow: 0 4px 14px rgba(11,79,138,.1); }
.auth-help { justify-self: center; font-size: 14px; }
.code-row { display: grid; grid-template-columns: 1fr 142px; gap: 10px; }
.consent-check { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px; color: var(--muted); font-size: 13px; line-height: 1.65; cursor: pointer; }
.consent-check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--primary); }
.consent-check a { margin: 0 2px; color: var(--primary); font-weight: 750; }
.consent-check a:hover { text-decoration: underline; }
.login-foot { margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.password-control { position: relative; }
.password-control input { padding-right: 66px; }
.password-toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); min-width: 48px; height: 34px; padding: 0 8px; border: 0; border-radius: 9px; background: #edf5fb; color: var(--primary-dark); cursor: pointer; font-size: 12px; font-weight: 800; }
.password-guidance { display: flex; flex-wrap: wrap; gap: 7px; }
.password-guidance span { padding: 5px 9px; border-radius: 999px; background: #edf5fb; color: #587186; font-size: 12px; font-weight: 750; }
.device-tile { position: relative; }
.device-status-dot { width: 10px; height: 10px; border-radius: 50%; background: #94a7b5; display: inline-block; margin-right: 7px; }
.device-status-dot.online { background: #1fa87a; box-shadow: 0 0 0 4px #dff6ed; }
.mobile-shell { min-height: 100vh; max-width: 720px; margin: 0 auto; padding: 20px 16px 100px; }
.mobile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.mobile-brand { display: flex; align-items: center; gap: 10px; font-weight: 850; }
.mobile-brand img { width: 40px; height: 40px; }
.mobile-tabs { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(480px, calc(100% - 28px)); display: grid; grid-template-columns: repeat(3, 1fr); padding: 7px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(14px); z-index: 20; }
.mobile-tabs button { border: 0; border-radius: 12px; padding: 10px 6px; color: var(--muted); background: transparent; font-weight: 750; }
.mobile-tabs button.active { background: var(--primary-soft); color: var(--primary-dark); }
.mobile-section[hidden] { display: none; }
.pairing-result {
  margin: 18px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(156px, 220px);
  align-items: center;
  gap: 24px;
  padding: 20px;
  border: 1px solid #b8d9ef;
  border-radius: 18px;
  background: linear-gradient(145deg, #f6fbff, #edf7ff);
}
.pairing-result[hidden] { display: none; }
.pairing-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13px; font-weight: 750; }
.pair-code-value { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(26px, 6vw, 38px); letter-spacing: .14em; font-weight: 900; color: var(--primary-dark); }
.pairing-expiry { margin: 9px 0 0; line-height: 1.6; }
.pairing-qr { display: block; width: 100%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 15px; padding: 9px; background: #fff; }
.section-anchor { scroll-margin-top: 24px; }
.section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-title h2 { margin-bottom: 6px; }
.section-title p { margin: 0; line-height: 1.65; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 15px; }
.plan-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, #fff, #f7fbff); display: flex; flex-direction: column; gap: 12px; }
.plan-card.current { border-color: #78b8e7; box-shadow: inset 0 0 0 1px #a9d3f1, 0 10px 28px rgba(23, 111, 181, .09); }
.plan-card h3, .plan-card p { margin: 0; }
.plan-card .button { margin-top: auto; }
.plan-head { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-saving { color: var(--success); font-size: 11px; font-weight: 800; text-align: right; }
.plan-price-row { display: flex; align-items: baseline; gap: 5px; }
.plan-price { color: var(--primary-dark); font-size: 30px; letter-spacing: -.04em; }
.plan-allowance { padding: 12px 13px; border-radius: 13px; background: #edf6fd; display: grid; gap: 3px; }
.plan-allowance strong { color: var(--primary-dark); font-size: 18px; }
.plan-allowance span { font-size: 12px; }
.feature-list { margin: 0 0 12px; padding-left: 20px; color: var(--muted); line-height: 1.8; }
.gateway-box { margin-bottom: 16px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--primary-soft); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gateway-box > div { min-width: 0; display: grid; gap: 6px; }
.gateway-box span { color: var(--muted); font-size: 13px; font-weight: 750; }
.gateway-box code, .secret-reveal code { overflow-wrap: anywhere; color: var(--primary-dark); }
.compact-form { margin-bottom: 16px; }
.secret-reveal { margin: 14px 0; padding: 15px; border: 1px solid #9bcbed; border-radius: 15px; background: #f0f8ff; display: grid; gap: 10px; }
.secret-reveal[hidden] { display: none; }
.spaced-list { margin-top: 18px; }
.admin-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-span { grid-column: 1 / -1; }
.check-field { min-height: 48px; display: flex; align-items: center; gap: 10px; color: #365a74; font-weight: 750; }
.check-field input { width: 18px; height: 18px; accent-color: var(--primary); }
.security-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.security-panel { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #f9fcff; }
.account-security-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.security-summary { min-width: 0; min-height: 102px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg,#fbfdff,#f3f9fe); display: flex; align-items: center; gap: 12px; }
.security-summary > div { min-width: 0; display: grid; gap: 3px; }
.security-summary small { color: var(--muted); font-weight: 750; }
.security-summary strong { color: var(--primary-dark); font-size: 17px; overflow-wrap: anywhere; }
.security-summary p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.security-summary .button { margin-left: auto; }
.summary-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg,#2c8bcf,#1266a4); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 8px 18px rgba(23,111,181,.18); }
.profile-preference-grid { align-items: start; }
.membership-explainer { margin-bottom: 18px; padding: 14px 16px; border: 1px solid #badcf2; border-radius: 15px; background: linear-gradient(145deg,#f5fbff,#eaf6ff); display: grid; gap: 7px; color: #496a82; font-size: 13px; line-height: 1.55; }
.membership-explainer strong { color: var(--primary-dark); }
.password-dialog-card { width: min(520px, 100%); display: grid; gap: 16px; }
.password-dialog-card .dialog-head { margin-bottom: 0; }
.security-panel h3, .danger-zone h3, .subsection-title h3 { margin: 0 0 5px; }
.subsection-title { margin-top: 26px; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding: 18px 20px; border: 1px solid #f2cbd2; border-radius: 16px; background: #fff7f8; }
.mobile-status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 750; }
.mobile-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #91a4b2; }
.mobile-status.online::before { background: var(--success); box-shadow: 0 0 0 4px #dff6ed; }
.command-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.command-button { min-height: 74px; text-align: left; justify-content: flex-start; background: #fff; color: var(--primary-dark); border: 1px solid var(--line); }
.command-button:hover { color: white; }
.device-summary { margin: 14px 0 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: #f8fcff; color: var(--muted); font-size: 13px; line-height: 1.65; }
.device-summary strong { color: var(--primary-dark); }
.console-log { min-height: 200px; max-height: 380px; overflow: auto; padding: 15px; border-radius: 15px; background: #0d2538; color: #d8eefd; font: 13px/1.65 Consolas, "Microsoft YaHei UI", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.payment-dialog-card { width: min(680px, 100%); }
.payment-options { display: grid; gap: 18px; }
.payment-provider-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.payment-provider-buttons .button { min-height: 54px; }
.payment-checkout { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); align-items: center; gap: 26px; }
.payment-checkout[hidden] { display: none; }
.payment-checkout img { width: 100%; aspect-ratio: 1; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.payment-checkout-copy { min-width: 0; display: grid; align-content: center; justify-items: start; gap: 11px; }
.payment-checkout-copy h3, .payment-checkout-copy p { margin: 0; }
.payment-checkout-copy h3 { font-size: 30px; color: var(--primary-dark); }

@media (max-width: 900px) {
  .platform-shell { grid-template-columns: 1fr; }
  .portal-body .platform-shell { grid-template-columns: 1fr; }
  .platform-nav { position: static; height: auto; padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; gap: 14px; }
  .platform-nav-links { display: flex; overflow: auto; }
  .platform-nav-links a { white-space: nowrap; }
  .platform-nav-foot { margin: 0 0 0 auto; }
  .platform-nav-foot .button.secondary { padding-inline: 12px; }
  .portal-account-label { display: none; }
  .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-page { grid-template-columns: 1fr; }
  .login-visual { min-height: 260px; padding: 28px; }
  .login-copy h1 { font-size: 38px; }
  .login-copy p { margin-bottom: 0; }
}

@media (max-width: 640px) {
  .platform-main { padding: 24px 14px 48px; }
  .page-head { display: grid; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .plan-grid, .admin-form-grid, .command-grid, .security-grid, .account-security-strip { grid-template-columns: 1fr; }
  .danger-zone { align-items: flex-start; flex-direction: column; }
  .section-title, .gateway-box { flex-direction: column; }
  .card { border-radius: 18px; padding: 18px; }
  .list-item { align-items: flex-start; flex-direction: column; }
  .code-row, .field-row { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-panel { min-height: 100vh; min-height: 100dvh; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .login-card { padding: 26px 20px; border-radius: 20px; }
  .login-card .button { min-height: 46px; }
  .consent-check { font-size: 12px; }
  .platform-brand span { display: none; }
  .platform-nav { align-items: flex-start; }
  .platform-nav-links { width: 100%; order: 3; padding-bottom: 2px; }
  .platform-nav-links a { min-width: max-content; }
  .platform-nav-foot { margin-left: auto; }
  .platform-nav-foot #logoutButton { min-height: 40px; padding: 8px 12px; font-size: 13px; }
  .payment-provider-buttons, .payment-checkout { grid-template-columns: 1fr; }
  .payment-checkout img { width: min(260px, 100%); margin: 0 auto; }
  .pairing-result { grid-template-columns: 1fr; text-align: center; }
  .pairing-qr { width: min(220px, 100%); margin: 0 auto; }
}
