:root {
  --ink: #18252a;
  --muted: #66757b;
  --line: #dce5e6;
  --paper: #f4f7f8;
  --panel: #ffffff;
  --accent: #0f7771;
  --accent-dark: #095b58;
  --accent-soft: #e0f2ef;
  --gold: #c58221;
  --gold-soft: #fff1d8;
  --danger: #a9423b;
  --danger-soft: #fce7e4;
  --shadow: 0 16px 34px rgba(24, 37, 42, .07);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-header { height: 76px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.82); }
.header-inner, .footer-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 760; letter-spacing: .02em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; color: white; background: var(--accent); border-radius: 9px; }
.brand-mark .icon { width: 18px; height: 18px; }
.main-nav { display: flex; align-items: center; gap: 25px; color: var(--muted); font-size: 14px; }
.main-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); border-color: var(--accent); }
.inline-form { display: inline; }
.nav-button { padding: 8px 0; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; }
.nav-button:hover { color: var(--ink); border-color: var(--accent); }
.nav-cta { padding: 9px 15px !important; border: 1px solid var(--accent) !important; color: var(--accent) !important; border-radius: 6px; }
.page-shell { min-height: calc(100vh - 136px); padding: 58px 0 90px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-inner { min-height: 60px; gap: 16px; }
.icon { width: 16px; height: 16px; vertical-align: -3px; stroke-width: 2; }
.button, .text-link, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: .16s ease; }
.button { min-height: 43px; padding: 0 17px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 700; }
.button:disabled { cursor: not-allowed; opacity: .45; }
.button-primary { color: white; background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { color: var(--accent-dark); border-color: #b7d8d4; background: var(--accent-soft); }
.button-secondary:hover { border-color: var(--accent); background: #d2ebe7; }
.button-quiet { color: var(--danger); border-color: #efc7c3; background: white; }
.button-quiet:hover { background: var(--danger-soft); }
.button-full { width: 100%; }
.button-small { min-height: 34px; padding: 0 12px; font-size: 12px; }
.text-link { color: var(--accent-dark); font-size: 13px; font-weight: 750; }
.text-link:hover { color: var(--ink); }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.back-link:hover { color: var(--accent-dark); }
.page-intro { margin-bottom: 54px; }
.compact-intro { max-width: 720px; margin-bottom: 42px; }
.intro-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 13px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow .icon { width: 14px; height: 14px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 14px; font-size: 58px; line-height: 1.06; letter-spacing: 0; }
h2 { margin-bottom: 10px; font-size: 25px; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 20px; }
.lede { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.intro-aside { display: flex; align-items: center; gap: 9px; padding-bottom: 9px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.signal-dot { width: 9px; height: 9px; border-radius: 50%; background: #2b9b6e; box-shadow: 0 0 0 5px #dcf2e7; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 42px 0 18px; }
.section-heading h2 { margin: 0; }
.section-kicker { margin-bottom: 7px; color: var(--muted); letter-spacing: .12em; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-grid-wide { max-width: 1040px; }
.plan-card { display: flex; min-height: 342px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.plan-card-featured { border-color: #8ccdc6; box-shadow: 0 18px 38px rgba(15, 119, 113, .13); }
.plan-topline, .plan-meta, .detail-heading, .admin-plan-row, .filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.plan-index { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.plan-duration, .plan-meta span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.plan-duration .icon, .plan-meta .icon { width: 14px; height: 14px; }
.plan-card h2, .plan-card h3 { margin-top: 26px; }
.plan-card p { min-height: 47px; margin-bottom: 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: auto 0 18px; }
.plan-price strong { font-size: 30px; letter-spacing: 0; }
.plan-price span { color: var(--muted); font-size: 12px; }
.plan-meta { justify-content: flex-start; flex-wrap: wrap; min-height: 23px; margin-bottom: 21px; }
.notice-band { display: flex; align-items: center; gap: 14px; margin-top: 48px; padding: 18px 20px; border-top: 1px solid #cce2df; border-bottom: 1px solid #cce2df; background: #eef8f6; }
.notice-icon { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; color: var(--accent-dark); border-radius: 50%; background: #d4eeea; }
.notice-band p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.notice-band .text-link { margin-left: auto; white-space: nowrap; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.download-card { display: flex; min-height: 286px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.download-card h2 { margin: 0 0 7px; font-size: 22px; }
.download-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.download-card .section-kicker { margin-bottom: 8px; }
.download-icon { display: grid; width: 42px; height: 42px; margin-bottom: 26px; place-items: center; color: #216ea3; border-radius: 7px; background: #e5f2fb; }
.download-icon .icon { width: 21px; height: 21px; }
.download-icon.android { color: #467f35; background: #ebf4e6; }
.download-icon.apple { color: #52555c; background: #eef0f2; }
.download-icon.mac { color: #755b26; background: #f7f0df; }
.download-card > .button, .download-actions { margin-top: auto; }
.download-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.download-actions .button { min-width: 0; padding: 0 10px; font-size: 13px; }
.download-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.download-step { display: flex; gap: 13px; padding: 23px 20px; }
.download-step + .download-step { border-left: 1px solid var(--line); }
.download-step > span { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; color: var(--accent-dark); border-radius: 50%; background: var(--accent-soft); font-size: 12px; font-weight: 800; }
.download-step strong { display: block; margin-bottom: 5px; font-size: 14px; }
.download-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); gap: 80px; align-items: center; max-width: 930px; margin: 45px auto 0; }
.auth-copy h1 { font-size: 50px; }
.form-panel, .detail-panel, .side-panel { padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.stack-form { display: grid; gap: 16px; }
.stack-form label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
.stack-form label small { color: var(--muted); font-size: 11px; font-weight: 500; }
.stack-form input:not([type="checkbox"]):not([type="file"]), .stack-form textarea, .stack-form select, .stack-form input[type="file"] { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cfdadc; border-radius: 5px; color: var(--ink); background: #fbfcfc; outline: none; }
.stack-form textarea { min-height: 82px; resize: vertical; }
.stack-form input:focus, .stack-form textarea:focus, .stack-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #dcefeb; }
.stack-form input[type="file"] { padding: 9px; font-size: 12px; }
.form-error { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 17px; padding: 11px 12px; color: var(--danger); border: 1px solid #f0c9c5; border-radius: 5px; background: var(--danger-soft); font-size: 13px; line-height: 1.45; }
.form-footnote { margin: 19px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.form-footnote a { color: var(--accent-dark); font-weight: 700; }
.optional, .required { color: var(--muted); font-size: 11px; font-weight: 500; }
.required { color: var(--danger); }
.flash { display: flex; align-items: center; gap: 9px; margin-bottom: 27px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.flash-success { color: #166244; border-color: #b8dfcf; background: #e9f7f0; }
.flash-warning { color: #865d16; border-color: #ecd7a9; background: var(--gold-soft); }
.flash-error { color: var(--danger); border-color: #efc7c3; background: var(--danger-soft); }
.order-layout, .detail-layout, .admin-plan-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); gap: 24px; align-items: start; }
.selected-plan { min-height: 280px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.selected-plan h2 { margin-top: 28px; font-size: 34px; }
.selected-plan p { max-width: 450px; color: var(--muted); line-height: 1.7; }
.selected-price { display: flex; align-items: baseline; gap: 10px; margin-top: 44px; }
.selected-price strong { font-size: 38px; letter-spacing: 0; }
.selected-price span { color: var(--muted); font-size: 13px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 48px; }
.admin-metrics { grid-template-columns: repeat(4, 1fr); }
.metric { position: relative; min-height: 116px; padding: 20px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.metric span { display: block; color: var(--muted); font-size: 12px; }
.metric strong { display: block; margin-top: 12px; font-size: 28px; letter-spacing: 0; }
.metric > .icon { position: absolute; right: 18px; top: 19px; color: var(--accent); }
.metric-attention { border-color: #ead4aa; background: #fffaf0; }
.metric-attention > .icon { color: var(--gold); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); box-shadow: var(--shadow); }
.data-table { width: 100%; min-width: 700px; border-collapse: collapse; text-align: left; }
.data-table th { padding: 13px 17px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.data-table td { padding: 16px 17px; border-bottom: 1px solid #edf1f1; color: #344349; font-size: 13px; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td strong, .data-table td small { display: block; }
.data-table td strong { color: var(--ink); font-size: 13px; }
.data-table td small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.table-empty { padding: 40px !important; color: var(--muted) !important; text-align: center; }
.status { display: inline-flex; min-height: 25px; align-items: center; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status-pending { color: #8a6118; background: var(--gold-soft); }
.status-approved { color: #14644d; background: #e3f5ed; }
.status-rejected, .status-expired { color: #98443d; background: var(--danger-soft); }
.muted { color: var(--muted); font-size: 12px; }
.icon-button { width: 33px; height: 33px; border: 1px solid #c6dcda; border-radius: 5px; color: var(--accent-dark); background: white; }
.icon-button:hover { background: var(--accent-soft); }
.empty-state { padding: 62px 20px; border: 1px dashed #bfd0d1; border-radius: 7px; color: var(--muted); text-align: center; }
.empty-state h1, .empty-state h3 { margin-bottom: 9px; color: var(--ink); font-size: 25px; }
.empty-state p { margin-bottom: 21px; font-size: 13px; }
.empty-icon { display: grid; width: 45px; height: 45px; margin: 0 auto 16px; place-items: center; color: var(--accent-dark); border-radius: 50%; background: var(--accent-soft); }
.empty-icon .icon { width: 21px; height: 21px; }
.filter-bar { justify-content: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.filter { padding: 8px 12px; color: var(--muted); border: 1px solid transparent; border-radius: 5px; font-size: 12px; }
.filter:hover, .filter.active { color: var(--accent-dark); border-color: #b7d8d4; background: var(--accent-soft); }
.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quick-links a { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.quick-links a:hover { border-color: #9fc8c4; box-shadow: var(--shadow); }
.quick-icon { grid-row: 1 / span 2; display: grid; width: 36px; height: 36px; place-items: center; color: var(--accent-dark); border-radius: 6px; background: var(--accent-soft); }
.quick-links strong { align-self: end; font-size: 14px; }
.quick-links a > span:last-child { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; color: var(--muted); font-size: 11px; }
.detail-layout { grid-template-columns: minmax(0, 1fr) 350px; }
.detail-main, .detail-side { display: grid; gap: 18px; }
.detail-heading { align-items: flex-start; margin-bottom: 24px; }
.detail-heading h2 { margin: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 19px; }
.detail-grid span, .admin-note > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.detail-grid strong { font-size: 15px; }
.admin-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.admin-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.proof-image { display: block; width: 100%; max-height: 420px; object-fit: contain; border: 1px solid var(--line); background: #f7f9f9; }
.side-panel h2 { margin: 8px 0; font-size: 20px; }
.side-panel > p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.config-snippet { margin-top: 16px; padding: 14px 15px; border: 1px solid #cfe1df; border-radius: 6px; background: #f8fbfb; }
.config-snippet span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.config-snippet code { display: block; color: var(--ink); font-family: Consolas, "SFMono-Regular", monospace; font-size: 12px; line-height: 1.5; white-space: pre-wrap; word-break: break-all; }
.reject-form { margin-top: 11px; }
.admin-plan-layout { grid-template-columns: 330px minmax(0, 1fr); }
.admin-plan-list { display: grid; gap: 10px; }
.admin-plan-row { align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.admin-plan-row h3 { margin: 8px 0 5px; font-size: 16px; }
.admin-plan-row p { max-width: 420px; margin: 0; color: var(--muted); font-size: 12px; }
.admin-plan-price { display: grid; gap: 4px; margin-left: auto; padding: 0 20px; text-align: right; white-space: nowrap; }
.admin-plan-price strong { font-size: 20px; }
.admin-plan-price span { color: var(--muted); font-size: 11px; }
.admin-plan-row details { position: relative; flex: 0 0 auto; }
.admin-plan-row summary { color: var(--accent-dark); cursor: pointer; font-size: 12px; font-weight: 700; }
.admin-plan-row details[open] { position: absolute; z-index: 2; right: 48px; width: min(360px, calc(100vw - 60px)); padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: white; box-shadow: var(--shadow); }
.compact-form { gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.settings-group { display: grid; gap: 14px; margin: 4px 0 0; padding: 15px; border: 1px solid #d7e5e3; border-radius: 6px; background: #f8fbfb; }
.settings-group legend { padding: 0 6px; color: var(--ink); font-size: 13px; font-weight: 800; }
.checkbox-row { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 9px !important; }
.checkbox-row input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.check-label { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 8px !important; font-weight: 600 !important; }
.check-label input { width: 16px; height: 16px; accent-color: var(--accent); }
.role-dot { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #a9b5b8; }
.role-dot.admin { background: var(--gold); }
.notification-link { position: relative; display: inline-flex; align-items: center; gap: 5px; }
.notification-link b { display: grid; min-width: 17px; height: 17px; padding: 0 4px; place-items: center; color: white; border-radius: 99px; background: var(--danger); font-size: 10px; line-height: 1; }
.notification-list { display: grid; border-top: 1px solid var(--line); }
.notification-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 6px; border-bottom: 1px solid var(--line); }
.notification-item:hover { background: rgba(224, 242, 239, .45); }
.notification-item.unread { background: #f0faf8; }
.notification-icon { display: grid; width: 34px; height: 34px; place-items: center; color: var(--accent-dark); border-radius: 6px; background: var(--accent-soft); }
.notification-item strong, .notification-item small { display: block; }
.notification-item strong { margin-bottom: 5px; font-size: 14px; }
.notification-item small, .notification-item time { color: var(--muted); font-size: 12px; line-height: 1.45; }
.notification-item time { white-space: nowrap; }
.tag { display: inline-flex; margin-left: 4px; padding: 2px 5px; color: var(--accent-dark); border-radius: 4px; background: var(--accent-soft); font-size: 10px; font-weight: 800; vertical-align: 1px; }
.table-actions { white-space: nowrap; }
.service-note, .payment-instructions { display: flex; gap: 9px; margin-top: 22px; padding: 13px 14px; color: var(--accent-dark); border: 1px solid #c8e2dd; border-radius: 6px; background: #f0faf8; font-size: 12px; line-height: 1.5; }
.payment-instructions { display: block; margin-top: 0; }
.payment-instructions > span { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; }
.payment-instructions p { margin: 7px 0 0; color: var(--muted); }
.field-hint { margin: -2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.payment-qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 2px 0; }
.payment-qr-grid figure { margin: 0; padding: 12px; border: 1px solid #d7e5e3; border-radius: 6px; background: #f8fbfb; text-align: center; }
.payment-qr-grid img { display: block; width: 100%; max-width: 170px; aspect-ratio: 1; margin: 0 auto 9px; object-fit: contain; background: white; }
.payment-qr-grid figcaption { color: var(--ink); font-size: 12px; font-weight: 750; }
.node-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.node-card { padding: 21px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.node-card h2 { margin-bottom: 3px; font-size: 21px; }
.node-meta { display: grid; gap: 8px; margin: 17px 0; color: var(--muted); font-size: 12px; }
.node-meta span { display: inline-flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.capacity-line { display: grid; gap: 7px; margin-top: 13px; color: var(--muted); font-size: 11px; }
.capacity-line > span { display: flex; justify-content: space-between; gap: 8px; }
.capacity-line strong { color: var(--ink); font-weight: 700; }
.usage-bar { height: 7px; overflow: hidden; border-radius: 99px; background: #e7eeee; }
.usage-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.usage-bar i.traffic { background: var(--gold); }
.node-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.node-recommended { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-dark); font-size: 11px; font-weight: 750; }
.promo-row code, .data-table code { color: var(--accent-dark); font-family: Consolas, "SFMono-Regular", monospace; font-size: 12px; }
.promo-value { color: var(--gold); font-size: 14px; font-weight: 800; }
.integration-list { display: grid; gap: 10px; margin-top: 20px; }
.integration-list span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.integration-list span:last-child { border-bottom: 0; }
.integration-list b { color: var(--accent-dark); font-size: 11px; }
.log-detail { max-width: 350px; word-break: break-word; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 850px) {
  .shell { width: min(100% - 30px, 680px); }
  .site-header { height: auto; }
  .header-inner { min-height: 70px; align-items: flex-start; padding: 16px 0 12px; gap: 14px; }
  .main-nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px 15px; }
  .page-shell { padding-top: 35px; }
  h1, .auth-copy h1 { font-size: 48px; }
  .intro-split, .auth-layout, .order-layout, .detail-layout, .admin-plan-layout { grid-template-columns: 1fr; display: grid; gap: 26px; }
  .intro-aside { padding: 0; }
  .plan-grid, .quick-links, .node-grid, .download-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 0; }
  .metric-row, .admin-metrics { grid-template-columns: repeat(2, 1fr); margin-bottom: 34px; }
  .detail-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 24px); }
  .header-inner { display: block; }
  .main-nav { justify-content: flex-start; margin-top: 14px; }
  h1, .auth-copy h1 { font-size: 37px; }
  .page-shell { padding-bottom: 55px; }
  .section-heading { align-items: flex-start; }
  .notice-band { align-items: flex-start; flex-wrap: wrap; }
  .notice-band .text-link { margin-left: 45px; }
  .metric-row, .admin-metrics, .detail-side, .download-steps { grid-template-columns: 1fr; }
  .download-step + .download-step { border-top: 1px solid var(--line); border-left: 0; }
  .form-panel, .detail-panel, .side-panel { padding: 20px; }
  .admin-plan-row { display: grid; grid-template-columns: 1fr auto; }
  .admin-plan-price { padding: 0; }
  .admin-plan-row details { grid-column: 1 / -1; margin-top: 15px; }
  .admin-plan-row details[open] { position: static; width: 100%; padding: 14px 0 0; border: 0; box-shadow: none; }
  .notification-item { grid-template-columns: 34px minmax(0, 1fr); }
  .notification-item time { grid-column: 2; }
  .node-actions { align-items: flex-start; flex-direction: column; }
  .payment-qr-grid { grid-template-columns: 1fr; }
}
