/* 官网与客户中心共用的样式表。
   浅色主题、无构建链、无外链字体或图标，编译进二进制，离线可用。
   容器只保留一种边框语言：1px 实线 + 4px 圆角，避免卡片堆叠。 */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --line: #e2e6ec;
  --line-2: #ccd3dd;
  --ink: #15181d;
  --muted: #565f6c;
  --faint: #646d7a;
  --accent: #1e3a8a;
  --accent-soft: #eef2f9;
  --ok: #0b7a4b;
  --ok-soft: #e8f6ef;
  --warn: #94500a;
  --warn-soft: #fdf3e4;
  --danger: #a8231a;
  --danger-soft: #fdecea;
  --radius: 4px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 14px/1.6 var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* 内容少的页面（登录、404）也要把页脚压到底部，避免半屏空白。 */
body.site { display: flex; flex-direction: column; min-height: 100vh; }
body.site main { flex: 1 0 auto; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.2px; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol, dl, dd { margin: 0; padding: 0; }
img, svg { vertical-align: middle; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.hidden { display: none !important; }
.strong { font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.nowrap { white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 40;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- 站点头部 */

.site-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.head-inner { display: flex; align-items: center; gap: 28px; height: 58px; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: -0.2px; }
.brand i { display: block; font-style: normal; font-size: 11.5px; color: var(--faint); line-height: 1.3; }
.brand svg { flex: 0 0 auto; }

.site-nav { display: flex; gap: 22px; flex: 1 1 auto; min-width: 0; }
.site-nav a {
  color: var(--muted); font-size: 13.5px; padding: 6px 0; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }

.head-auth { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.head-auth .who { font-size: 12.5px; color: var(--faint); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- 按钮 */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--surface); color: var(--ink);
  font-size: 13.5px; line-height: 1; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #f7f8fa; text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 500; }
.btn.primary:hover { background: #1a41bd; border-color: #1a41bd; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--accent); padding: 0 6px; }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: default; }
.btn.danger { color: var(--danger); border-color: #e6c7c4; }

/* ---------------------------------------------------------------- 徽标 */

.tag {
  display: inline-block; padding: 0 7px; border-radius: 3px;
  font-size: 11.5px; line-height: 19px; white-space: nowrap;
  border: 1px solid transparent; font-variant-numeric: tabular-nums;
}
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.danger { background: var(--danger-soft); color: var(--danger); }
.tag.info { background: var(--accent-soft); color: var(--accent); }
.tag.mute { background: #f1f3f6; color: var(--muted); }
.tag.line { border-color: var(--line); color: var(--muted); background: var(--surface); }

/* ---------------------------------------------------------------- 表格 */

.tbl-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl caption { text-align: left; padding: 11px 14px; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line); }
.tbl th, .tbl td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl thead th {
  background: var(--surface-2);
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  white-space: nowrap;
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #fafbfd; }
.tbl .strong { font-weight: 600; }
.tbl .sub { color: var(--faint); font-size: 12.5px; }
.tbl .empty { color: var(--muted); text-align: center; padding: 26px 14px; }
.tbl-box .tbl + .tbl-foot { border-top: 1px solid var(--line); }
.tbl-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 14px; font-size: 12.5px; color: var(--faint); background: var(--surface-2);
}

/* ---------------------------------------------------------------- 区块 */

.section { padding: 34px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 14px; flex-wrap: wrap; }
.section-head h1 { font-size: 22px; }
.section-head h2 { font-size: 18px; }
.section-head p { font-size: 13px; color: var(--muted); }
.section-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* ---------------------------------------------------------------- 首屏 */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 44px;
  padding: 44px 0 38px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: 30px; line-height: 1.3; font-weight: 650; margin-bottom: 14px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent, #1e3a8a); margin-bottom: 10px;
}
.lede { font-size: 14.5px; line-height: 1.75; color: var(--muted); max-width: 54ch; }
.cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 22px 0 20px; }
.cta .hint { font-size: 12.5px; color: var(--faint); }
.facts {
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 20px; font-size: 13px; padding-top: 16px; border-top: 1px solid var(--line);
}
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel-head {
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.panel-head span { font-weight: 400; font-size: 12.5px; color: var(--faint); }
.panel .tbl th, .panel .tbl td { padding: 8px 14px; }
.panel .tbl thead th { background: transparent; }
.panel .tbl td:first-child { white-space: nowrap; width: 80px; }

/* 资源类型对照：三列，前两列窄 */
.compare { table-layout: fixed; }
.compare th:first-child, .compare td:first-child { width: 22%; color: var(--muted); }
.compare td { vertical-align: top; }

/* ---------------------------------------------------------------- 商品块 */

.prod-block {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); margin-bottom: 14px;
}
.prod-block-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 13px 14px; border-bottom: 1px solid var(--line);
}
.prod-block-head h2 { font-size: 15px; }
.prod-block-head .meta { margin-top: 5px; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.prod-block-head .desc { margin-top: 6px; font-size: 13px; color: var(--muted); max-width: 74ch; }
.prod-block-head .act { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }

/* 筛选条 */
.filters {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); margin-bottom: 16px;
}
.tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.tabs a, .tabs button {
  padding: 4px 10px; border-radius: 3px; font-size: 13px; color: var(--muted); text-decoration: none;
  border: 1px solid transparent; background: none; line-height: 1.5;
}
.tabs a:hover, .tabs button:hover { background: #f4f5f7; color: var(--ink); text-decoration: none; }
.tabs a.on, .tabs button.on { background: var(--ink); color: #fff; }
.filters .grow { flex: 1 1 auto; }
.filters form { display: flex; align-items: center; gap: 8px; }
.filters label { font-size: 12.5px; color: var(--muted); }

select, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"] {
  height: 32px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--surface); min-width: 0;
}
select:hover, input:hover { border-color: #b9c1cd; }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }

/* ---------------------------------------------------------------- 状态块 */

.state {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 30px 18px; text-align: center; color: var(--muted); font-size: 13.5px;
}
.state strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.state .state-act { margin-top: 14px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.state.err { background: var(--danger-soft); border-color: #f0cfcb; color: var(--danger); }
.state.err strong { color: var(--danger); }
.skeleton { display: grid; gap: 8px; padding: 4px 0; }
.skeleton i { display: block; height: 11px; border-radius: 3px; background: #eceff4; animation: pulse 1.4s ease-in-out infinite; }
.skeleton i:nth-child(odd) { width: 62%; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

/* ---------------------------------------------------------------- 进度条 */

.bar { height: 6px; border-radius: 3px; background: #eceef2; overflow: hidden; min-width: 70px; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.bar > i.low { background: var(--danger); }
.bar > i.mid { background: var(--warn); }

/* ---------------------------------------------------------------- 商品详情 */

.crumb { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--faint); padding: 16px 0 0; flex-wrap: wrap; }
.crumb a { color: var(--muted); }
.crumb span { color: var(--line-2); }

.prod-head { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; padding: 18px 0 26px; align-items: start; }
.prod-head h1 { font-size: 24px; margin-bottom: 8px; }
.prod-head .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.prod-head .desc { font-size: 13.5px; color: var(--muted); max-width: 70ch; }

.kv { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 13px; }
.kv-head { padding: 9px 13px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.kv dl { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 7px 12px; padding: 11px 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }

.steps { counter-reset: step; }
.steps li { list-style: none; display: grid; grid-template-columns: 24px minmax(0, 1fr) 34%; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.steps li:last-child { border-bottom: 0; }
.steps b { font-weight: 600; }
.steps .idx { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 11.5px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.steps .out { color: var(--muted); font-size: 13px; }

.qa { border-top: 1px solid var(--line); }
.qa > div { display: grid; grid-template-columns: 30% minmax(0, 1fr); gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.qa dt { font-weight: 600; }
.qa dd { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- 登录注册 */

.auth-wrap { max-width: 404px; margin: 46px auto 72px; padding: 0 24px; }
.auth-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; }
.auth-panel h1 { font-size: 19px; margin-bottom: 6px; }
.auth-panel .sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; height: 36px; }
.field .hint { font-size: 12.5px; color: var(--faint); margin-top: 5px; }
.auth-foot { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }

.alert {
  border: 1px solid #f0cfcb; background: var(--danger-soft); color: var(--danger);
  padding: 9px 12px; border-radius: var(--radius); font-size: 13px; margin-bottom: 14px;
}
.alert.ok { border-color: #bfe3d0; background: var(--ok-soft); color: var(--ok); }
.alert.warn { border-color: #efd9b8; background: var(--warn-soft); color: var(--warn); }

/* ---------------------------------------------------------------- 下单面板 */

.order-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 16px; }
.order-panel .panel-body { padding: 14px; }
.order-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.order-row .field { margin-bottom: 0; }
.order-row .field input { width: 90px; }
.order-row .field select { height: 36px; }
.order-sum { margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; }
.order-sum b { font-size: 18px; font-weight: 600; display: block; }
.order-sum span { font-size: 12.5px; color: var(--faint); }

/* ---------------------------------------------------------------- 客户中心 */

.portal { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 100vh; }
.pside { background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.pside .brand { padding: 15px 18px 13px; border-bottom: 1px solid var(--line); }
.pnav { padding: 10px 0; display: flex; flex-direction: column; }
.pnav a {
  padding: 8px 18px; font-size: 13.5px; color: var(--muted); text-decoration: none;
  border-left: 2px solid transparent;
}
.pnav a:hover { background: #f7f8fa; color: var(--ink); text-decoration: none; }
.pnav a.on { background: var(--accent-soft); border-left-color: var(--accent); color: var(--ink); font-weight: 600; }
.pnav .sep { height: 1px; background: var(--line); margin: 10px 18px; }
.pside-foot { margin-top: auto; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--faint); }

.pmain { min-width: 0; display: flex; flex-direction: column; }
.ptop {
  height: 54px; flex: 0 0 54px; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 0 24px; background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.ptop h1 { font-size: 15px; }
.ptop-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--faint); }
.pcontent { padding: 20px 24px 56px; max-width: 1080px; width: 100%; }

.metrics { display: flex; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 18px; }
.metric { flex: 1 1 0; padding: 12px 16px; border-right: 1px solid var(--line); min-width: 0; }
.metric:last-child { border-right: 0; }
.metric .k { font-size: 12px; color: var(--muted); margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric .v { font-size: 20px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.metric .s { font-size: 12px; color: var(--faint); margin-top: 3px; }
.metric.warn .v { color: var(--warn); }
.metric.danger .v { color: var(--danger); }

.block { margin-bottom: 18px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; flex-wrap: wrap; }
.block-head h2 { font-size: 14.5px; }
.block-head .note { font-size: 12.5px; color: var(--muted); }

.ent-row { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ent-row:last-child { border-bottom: 0; }
.ent-row .line1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; }
.ent-row .line2 { font-size: 12.5px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.ent-bar { align-self: center; }
.ent-bar .pct { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; font-variant-numeric: tabular-nums; }

.detail-panel { background: var(--surface-2); }
.detail-panel td { background: var(--surface-2); }
.tbl td.detail-cell { padding: 12px 14px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.detail-grid h3 { font-size: 12.5px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }

.cred { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 12px; max-width: 660px; }
.cred .cred-warn { background: var(--warn-soft); color: var(--warn); padding: 9px 13px; font-size: 12.5px; border-bottom: 1px solid #efd9b8; }
.cred .cred-body { padding: 12px 13px; }
.cred dl { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 8px 12px; font-size: 13px; align-items: center; }
.cred dt { color: var(--muted); }
.cred dd { margin: 0; font-family: var(--mono); font-size: 12.5px; word-break: break-all; }

.toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius);
  font-size: 13px; max-width: 380px; box-shadow: 0 8px 24px rgba(16, 24, 40, 0.18);
}
.toast.err { background: var(--danger); }

/* ---------------------------------------------------------------- 页脚 */

.site-foot { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0 34px; font-size: 13px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; }
.foot-grid h2 { font-size: 12.5px; color: var(--faint); font-weight: 500; margin-bottom: 9px; }
.foot-grid ul { list-style: none; display: grid; gap: 6px; }
.foot-grid a { color: var(--muted); }
.foot-grid a:hover { color: var(--ink); }
.foot-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 30px; }
  .hero h1 { font-size: 26px; }
  .prod-head { grid-template-columns: 1fr; gap: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 820px) {
  .portal { grid-template-columns: 1fr; }
  .pside { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .pside .brand { padding: 12px 16px 10px; }
  .pnav { flex-direction: row; padding: 0 8px; overflow: visible; }
  .pnav a { flex: 0 0 auto; padding: 9px 10px; border-left: 0; border-bottom: 2px solid transparent; font-size: 13px; }
  .pnav a.on { border-left: 0; border-bottom-color: var(--accent); background: transparent; }
  .pnav .sep, .pnav .extra, .pside-foot { display: none; }
  .ptop { padding: 0 16px; position: static; height: 48px; flex: 0 0 48px; }
  /* 标题在左侧导航里已经高亮，这里不再重复一遍。 */
  .ptop h1 { display: none; }
  .ptop-meta { margin-left: auto; }
  .pcontent { padding: 16px 16px 44px; }
  .ent-row { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  /* 登录后头部空间不够，邮箱文本让位给按钮，账号信息在客户中心里看。 */
  .head-auth .who { display: none; }
  .head-inner { justify-content: space-between; gap: 12px; height: 54px; }
  .wrap { padding: 0 16px; }
  .section { padding: 26px 0; }
  .hero h1 { font-size: 23px; }
  .lede { font-size: 14px; }
  .compare th:first-child, .compare td:first-child { width: 30%; }
}

@media (max-width: 720px) {
  .metrics { flex-wrap: wrap; }
  .metric { flex: 1 1 50%; border-bottom: 1px solid var(--line); }
  .metric:nth-child(2n) { border-right: 0; }
  .metric:last-child { border-bottom: 0; }
  .tbl-foot { flex-wrap: wrap; gap: 4px; }

  .stack { display: block; }
  .stack thead { display: none; }
  .stack tbody, .stack tr, .stack td { display: block; width: 100%; }
  .stack tbody tr { padding: 8px 14px 10px; border-bottom: 1px solid var(--line); }
  .stack tbody tr:last-child { border-bottom: 0; }
  .stack td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 3px 0; border: 0; text-align: left;
  }
  .stack td::before {
    content: attr(data-label);
    color: var(--muted); font-size: 12.5px; flex: 0 0 auto; font-weight: 400;
  }
  .stack td.num { text-align: right; }
  .stack td.empty { display: block; text-align: center; padding: 22px 0; }
  .stack td.empty::before { content: none; }
  .stack td.full { display: block; }
  .stack td.full::before { display: block; margin-bottom: 4px; }
  .stack .detail-panel { padding: 0; }
  .stack .detail-panel > td { padding: 10px 14px; }

  .steps li { grid-template-columns: 24px minmax(0, 1fr); }
  .steps .out { grid-column: 2; color: var(--muted); }
  .qa > div { grid-template-columns: 1fr; gap: 6px; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .auth-wrap { margin: 28px auto 48px; }
  .tbl th, .tbl td { padding: 9px 12px; }
  .cred dl { grid-template-columns: 96px minmax(0, 1fr); }
  .cred dl .copy { grid-column: 2; justify-self: start; }
  .order-sum { margin-left: 0; text-align: left; width: 100%; }
}


.brand-wordmark{display:block;width:140px;height:auto}
@media(max-width:650px){.brand-wordmark{width:112px}}

.brand .brand-symbol{width:35px;height:auto}.brand .brand-wordmark{width:140px;height:auto}
@media(max-width:650px){.brand .brand-symbol{width:25px}.brand .brand-wordmark{width:100px}}
