:root {
  color-scheme: light;
  --blue: #1769ff;
  --blue-dark: #0d4fcb;
  --blue-soft: #eef4ff;
  --ink: #172033;
  --text: #4f596b;
  --muted: #8b95a7;
  --line: #e5eaf1;
  --line-soft: #f0f3f7;
  --fill: #f6f8fb;
  --surface: #fff;
  --success: #00875a;
  --success-soft: #eaf8f2;
  --warning: #d46b08;
  --warning-soft: #fff5e8;
  --danger: #c93737;
  --danger-soft: #fff0f0;
  --content: 1180px;
  --header: 60px;
  --shadow: 0 12px 32px rgba(21, 36, 68, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 14px/1.6 system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, input, textarea, select { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }

.app-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 3px 12px rgba(18, 32, 58, .035);
  backdrop-filter: blur(12px);
}
.nav-shell { display: flex; height: 100%; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; font-weight: 700; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; width: 30px; height: 30px; border-radius: 3px; color: #fff; background: var(--blue); font-size: 15px; place-items: center; }
.brand-logo { display: block; width: auto; max-width: 150px; height: 34px; object-fit: contain; }
.nav { display: flex; flex: 1; align-items: center; gap: 27px; }
.nav a { color: #343b48; font-size: 13px; }
.nav a:hover { color: var(--blue); }
.account { display: flex; align-items: center; gap: 13px; color: var(--text); font-size: 13px; }
.account form { margin: 0; }
.link-button, .text-action { padding: 0; border: 0; color: var(--blue); background: transparent; cursor: pointer; }
.link-button:hover, .text-action:hover { color: var(--blue-dark); text-decoration: underline; }

.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 3px;
  color: #fff;
  background: var(--blue);
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.button:hover { color: #fff; border-color: var(--blue-dark); background: var(--blue-dark); box-shadow: 0 10px 24px rgba(23, 105, 255, .15); transform: translateY(-1px); }
.button-secondary { color: var(--blue); border-color: #bfd2f5; background: #fff; }
.button-secondary:hover { color: var(--blue); border-color: var(--blue); background: #f6f9ff; }
.button-small { min-height: 34px; padding: 0 13px; }
.full-button { width: 100%; }

.main-content { min-height: calc(100vh - 126px); padding-top: 32px; padding-bottom: 60px; }
.app-footer { min-height: 66px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); background: #fff; font-size: 12px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.page-head h1, .auth-heading h1 { margin: 2px 0 7px; font-size: 28px; font-weight: 600; line-height: 1.25; }
.page-head p, .auth-heading p { margin: 0; color: var(--muted); }
.eyebrow { margin: 0 !important; color: var(--blue) !important; font-size: 11px !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.market-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  margin-top: -32px;
  overflow: hidden;
  color: #fff;
  background: #0b1c38 url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=85") center 52% / cover no-repeat;
}
.market-hero::before { position: absolute; inset: 0; background: rgba(7, 22, 48, .76); content: ""; }
.market-hero-inner { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--content)); margin: 0 auto; padding: 62px 0 68px; }
.market-hero-copy { max-width: 680px; }
.market-hero .eyebrow { color: #8db4ff !important; }
.market-hero h1 { max-width: 650px; margin: 12px 0 0; font-size: 52px; font-weight: 560; line-height: 1.16; }
.market-hero p { max-width: 610px; margin: 20px 0 0; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.hero-actions .button-secondary { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.hero-actions .button-secondary:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.16); }
.hero-status { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: rgba(255,255,255,.68); font-size: 12px; }
.hero-status span { display: inline-flex; align-items: center; gap: 7px; }
.hero-status i { width: 7px; height: 7px; border-radius: 50%; background: #20c985; box-shadow: 0 0 0 4px rgba(32,201,133,.14); }

.market-section { padding: 66px 0; }
.market-section.is-soft { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--fill); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading h2 { margin: 6px 0 0; font-size: 29px; font-weight: 600; }
.section-heading p { max-width: 540px; margin: 0; color: var(--muted); line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { display: flex; min-height: 330px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 1px 1px rgba(22,34,58,.01); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.product-card:hover { border-color: #b9cef3; box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card.is-featured { border-top: 3px solid var(--blue); padding-top: 22px; }
.product-main { flex: 1; }
.product-card h2 { margin: 15px 0 7px; font-size: 19px; font-weight: 600; }
.product-card p { margin: 0; color: var(--muted); font-size: 13px; }
.badge { display: inline-flex; padding: 3px 8px; border-radius: 2px; color: var(--blue); background: var(--blue-soft); font-size: 11px; font-weight: 650; }
.badge.is-warm { color: var(--warning); background: var(--warning-soft); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 15px; margin: 21px 0 0; padding: 17px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); color: var(--text); font-size: 12px; }
.spec-list span { display: flex; align-items: center; gap: 7px; }
.spec-list i, .spec-list svg { width: 15px; height: 15px; color: var(--blue); }
.price { display: flex; align-items: baseline; margin: 20px 0 15px; color: var(--ink); }
.price span { margin-right: 2px; color: var(--text); font-size: 14px; }
.price strong { font-size: 31px; font-weight: 600; }
.price small { margin-left: 5px; color: var(--muted); }

.metric-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fff; }
.metric-band div { padding: 25px 27px; border-right: 1px solid var(--line-soft); }
.metric-band div:last-child { border-right: 0; }
.metric-band strong { display: block; color: var(--blue); font-size: 26px; font-weight: 600; }
.metric-band span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.delivery-flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; border-top: 1px solid #ccd9ed; }
.delivery-step { position: relative; min-height: 160px; padding: 35px 26px 20px; border-right: 1px solid var(--line); }
.delivery-step:last-child { border-right: 0; }
.delivery-step b { position: absolute; top: -15px; left: 24px; display: grid; width: 30px; height: 30px; border: 1px solid #c4d4ee; border-radius: 50%; color: var(--blue); background: #fff; font-size: 11px; place-items: center; }
.delivery-step h3 { margin: 0 0 9px; font-size: 15px; font-weight: 600; }
.delivery-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.assurance-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.assurance-copy h2 { margin: 7px 0 14px; font-size: 30px; font-weight: 600; }
.assurance-copy p { margin: 0; color: var(--muted); line-height: 1.85; }
.assurance-list { margin: 26px 0 0; padding: 0; list-style: none; }
.assurance-list li { display: flex; align-items: flex-start; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--text); }
.assurance-list i, .assurance-list svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; color: var(--success); }
.button svg { width: 16px; height: 16px; }
.assurance-console { border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.console-head { display: flex; height: 48px; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 12px; }
.console-head span { display: flex; align-items: center; gap: 7px; color: var(--success); }
.console-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.console-body { display: grid; grid-template-columns: 1fr 1fr; }
.console-body div { min-height: 108px; padding: 20px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.console-body div:nth-child(2n) { border-right: 0; }
.console-body div:nth-last-child(-n+2) { border-bottom: 0; }
.console-body span, .console-body small { display: block; color: var(--muted); }
.console-body strong { display: block; margin: 9px 0 3px; font-size: 18px; }

.auth-wrap { display: flex; min-height: calc(100vh - 190px); align-items: center; justify-content: center; padding: 48px 0; }
.auth-panel { width: 100%; max-width: 480px; padding: 0; background: transparent; }
.auth-heading { margin-bottom: 29px; }
.auth-heading h1 { font-size: 30px; }
.stack-form { display: grid; gap: 20px; }
label { display: block; margin-bottom: 7px; color: #526078; font-size: 13px; font-weight: 600; }
input, textarea, select { width: 100%; border: 1px solid #d5dce8; border-radius: 2px; outline: 0; color: #26344f; background: #fff; }
input { height: 50px; padding: 0 15px; }
textarea { padding: 12px 15px; resize: vertical; }
input:hover, textarea:hover { border-color: #b7c2d4; }
input:focus, textarea:focus, select:focus { border-color: #6b95ef; box-shadow: 0 0 0 4px rgba(36,104,242,.08); }
.auth-foot { margin: 27px 0 0; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--blue); }
.alert { padding: 12px 15px; margin-bottom: 18px; border: 1px solid; border-radius: 4px; }
.alert-success { color: var(--success); border-color: #c8ebdc; background: var(--success-soft); }
.alert-warning { color: var(--warning); border-color: #f0d8b2; background: var(--warning-soft); }
.alert-error { color: var(--danger); border-color: #ffd1d1; background: var(--danger-soft); }
.global-alert { position: fixed; z-index: 2000; top: 76px; left: 50%; width: max-content; max-width: calc(100vw - 32px); margin: 0; padding: 12px 18px; box-shadow: 0 16px 45px rgba(20,38,72,.16); transform: translateX(-50%); }

.table-wrap { overflow: auto; border: 1px solid #dfe4eb; border-radius: 4px; background: #fff; }
table { width: 100%; min-width: 720px; border-collapse: collapse; }
th, td { padding: 13px 15px; border-bottom: 1px solid #edf0f4; text-align: left; vertical-align: middle; }
th { color: #86909c; background: #fafbfc; font-size: 11px; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.status { display: inline-flex; padding: 3px 8px; border-radius: 2px; color: #4e5969; background: #edf0f4; font-size: 11px; font-weight: 600; }
.status-active, .status-completed, .status-delivered, .status-paid { color: var(--success); background: var(--success-soft); }
.status-pending_payment, .status-processing, .status-provisioning { color: var(--warning); background: var(--warning-soft); }
.status-failed, .status-cancelled { color: var(--danger); background: var(--danger-soft); }
.empty, .empty-cell { color: var(--muted); text-align: center; }
.empty { padding: 72px 20px; border: 1px dashed #cbd5e1; background: #fff; }
.empty h1, .empty h2 { margin: 0 0 7px; color: var(--ink); }
.empty .button { margin-top: 18px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 28px; border: 1px solid #dfe4eb; background: #fff; }
.stat { padding: 22px 24px; border-right: 1px solid #edf0f4; }
.stat:last-child { border-right: 0; }
.stat span { display: block; color: #8993a2; font-size: 11px; }
.stat strong { display: block; margin-top: 10px; font-size: 24px; font-weight: 600; }
.stat small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.section-head { margin: 0 0 12px; }
.inline-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.table-link { color: var(--blue); }
.table-link:hover { color: var(--blue-dark); text-decoration: underline; }
.section-head h2, .panel-title h2 { margin: 0; font-size: 17px; font-weight: 600; }
.split-layout { display: grid; grid-template-columns: 360px minmax(0,1fr); gap: 16px; align-items: start; }
.tool-panel { padding: 22px; border: 1px solid #dfe4eb; border-radius: 4px; background: #fff; }
.panel-title { padding-bottom: 15px; margin-bottom: 18px; border-bottom: 1px solid #edf0f4; }
.product-table td strong, .product-table td small { display: block; }
.product-table td small { margin-top: 3px; color: var(--muted); }
.table-secondary { color: var(--muted); font-size: 11px; }

.console-layout { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 16px; align-items: start; }
.quick-panel { padding: 0; overflow: hidden; }
.quick-panel .panel-title { padding: 20px 22px 15px; margin: 0; }
.quick-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 22px; border-top: 1px solid #edf0f4; }
.quick-link:hover { color: var(--ink); background: #f7f9fd; }
.quick-link > span { display: grid; grid-template-columns: 20px 1fr; column-gap: 10px; align-items: center; }
.quick-link > span > i, .quick-link > span > svg { grid-row: span 2; width: 18px; height: 18px; color: var(--blue); }
.quick-link b, .quick-link small { display: block; }
.quick-link b { font-size: 13px; font-weight: 600; }
.quick-link small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.quick-link > svg { width: 15px; height: 15px; color: var(--muted); }

.detail-grid, .account-layout { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); gap: 16px; align-items: start; }
.detail-panel { margin-top: 16px; }
.detail-list { margin: 0; }
.detail-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #edf0f4; }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--muted); font-size: 12px; }
.detail-list dd { margin: 0; color: var(--ink); font-size: 13px; text-align: right; }
.detail-amount { font-size: 21px !important; font-weight: 600; }
.detail-amount small { color: var(--muted); font-size: 11px; font-weight: 400; }
.progress-track { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.progress-step { position: relative; padding: 4px 12px 10px 35px; color: var(--muted); }
.progress-step::before { position: absolute; top: 14px; left: 0; right: 0; height: 1px; background: #dce3ee; content: ""; }
.progress-step:first-child::before { left: 14px; }
.progress-step:last-child::before { right: 50%; }
.progress-step span { position: absolute; z-index: 1; top: 5px; left: 0; display: grid; width: 28px; height: 28px; border: 1px solid #cbd6e7; border-radius: 50%; color: var(--muted); background: #fff; font-size: 10px; place-items: center; }
.progress-step b, .progress-step small { display: block; }
.progress-step b { margin-top: 42px; color: var(--text); font-size: 12px; font-weight: 600; }
.progress-step small { margin-top: 3px; font-size: 10px; }
.progress-step.is-done { color: var(--success); }
.progress-step.is-done::before { background: #a9e0c6; }
.progress-step.is-done span { border-color: var(--success); color: var(--success); background: var(--success-soft); }
.progress-step.is-done b { color: var(--ink); }
.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #edf0f4; }
.resource-grid > div { min-height: 90px; padding: 17px; border-right: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.resource-grid > div:nth-child(3n) { border-right: 0; }
.resource-grid > div:nth-last-child(-n+3) { border-bottom: 0; }
.resource-grid span { display: block; color: var(--muted); font-size: 11px; }
.resource-grid strong { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; }
.credential-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; }
.credential-note svg { width: 16px; height: 16px; flex: 0 0 auto; }
.compact-empty { padding: 35px 20px; border: 0; }
.form-hint { margin-top: 5px; color: var(--muted); font-size: 11px; }
.error-page { max-width: 620px; margin: 70px auto; }
.error-page .eyebrow { margin-bottom: 10px !important; }
.error-page h1 { margin: 0 0 8px; }
.error-page p { margin: 0 0 20px; }

.settings-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 18px; align-items: start; }
.settings-nav { overflow: hidden; border: 1px solid #dfe4eb; border-radius: 4px; background: #fff; }
.settings-nav a { display: block; padding: 15px 17px; border-bottom: 1px solid #edf0f4; }
.settings-nav a:last-child { border-bottom: 0; }
.settings-nav a:hover, .settings-nav a.is-active { color: var(--ink); background: #f5f8ff; }
.settings-nav a.is-active { box-shadow: inset 3px 0 0 var(--blue); }
.settings-nav span, .settings-nav small { display: block; }
.settings-nav span { font-size: 13px; font-weight: 600; }
.settings-nav small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.settings-panel { border: 1px solid #dfe4eb; border-radius: 4px; background: #fff; }
.settings-panel > header { display: flex; min-height: 74px; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid #edf0f4; }
.settings-panel > header h2 { margin: 0; font-size: 17px; font-weight: 600; }
.settings-panel > header p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.settings-panel > header > span { color: var(--muted); font-size: 11px; }
.settings-form { display: block; }
.settings-row { display: grid; grid-template-columns: minmax(190px,.72fr) minmax(260px,1.28fr); gap: 28px; align-items: center; min-height: 82px; padding: 15px 22px; border-bottom: 1px solid #f0f2f5; }
.settings-label label { margin: 0; color: var(--ink); }
.settings-label small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.settings-control select { width: 100%; height: 44px; padding: 0 12px; }
.input-with-state { position: relative; }
.input-with-state input { padding-right: 76px; }
.configured-state { position: absolute; top: 50%; right: 11px; padding: 3px 7px; border-radius: 2px; color: var(--success); background: var(--success-soft); font-size: 10px; transform: translateY(-50%); }
.switch { display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch span { position: relative; width: 38px; height: 21px; border-radius: 12px; background: #c9d0da; transition: .18s; }
.switch span::after { position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); content: ""; transition: .18s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(17px); }
.switch em { color: var(--text); font-size: 12px; font-style: normal; }
.settings-actions { display: flex; min-height: 72px; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 22px; background: #fafbfc; }
.button:disabled { border-color: #aabbe0; background: #aabbe0; cursor: not-allowed; box-shadow: none; transform: none; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric-band, .stat-grid { grid-template-columns: repeat(2,1fr); }
  .metric-band div:nth-child(2) { border-right: 0; }
  .metric-band div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .delivery-flow { grid-template-columns: 1fr 1fr; }
  .delivery-step:nth-child(2) { border-right: 0; }
  .delivery-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .assurance-layout, .split-layout, .settings-layout, .console-layout, .detail-grid, .account-layout { grid-template-columns: 1fr; }
  .settings-nav { display: flex; overflow-x: auto; }
  .settings-nav a { min-width: 150px; border-right: 1px solid #edf0f4; border-bottom: 0; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 24px); }
  .nav-shell { gap: 14px; }
  .nav { display: none; }
  .account { margin-left: auto; }
  .account > span { display: none; }
  .main-content { padding-top: 24px; }
  .market-hero { min-height: 500px; margin-top: -24px; background-position: 63% center; }
  .market-hero-inner { width: calc(100% - 40px); padding: 58px 0; }
  .market-hero h1 { font-size: 36px; }
  .market-hero p { font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-status { align-items: flex-start; flex-direction: column; gap: 11px; }
  .market-section { padding: 50px 0; }
  .section-heading, .page-head { align-items: flex-start; flex-direction: column; }
  .section-heading h2 { font-size: 25px; }
  .product-grid, .metric-band, .stat-grid, .delivery-flow { grid-template-columns: 1fr; }
  .metric-band div, .metric-band div:nth-child(2), .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .metric-band div:last-child, .stat:last-child { border-bottom: 0; }
  .delivery-flow { border-top: 0; }
  .delivery-step, .delivery-step:nth-child(2) { padding: 27px 18px 27px 54px; border-top: 1px solid var(--line); border-right: 0; border-bottom: 0; }
  .delivery-step b { top: 23px; left: 10px; }
  .console-body { grid-template-columns: 1fr; }
  .console-body div, .console-body div:nth-child(2n), .console-body div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .console-body div:last-child { border-bottom: 0; }
  .page-actions { width: 100%; }
  .page-actions .button { flex: 1; }
  .inline-head { align-items: flex-start; }
  .progress-track { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .progress-step::before, .progress-step:first-child::before, .progress-step:last-child::before { display: none; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .resource-grid > div:nth-child(3n) { border-right: 1px solid #edf0f4; }
  .resource-grid > div:nth-child(2n) { border-right: 0; }
  .resource-grid > div:nth-last-child(-n+3) { border-bottom: 1px solid #edf0f4; }
  .resource-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .auth-wrap { align-items: flex-start; padding-top: 42px; }
  .settings-row { grid-template-columns: 1fr; gap: 10px; }
  .settings-actions { align-items: stretch; flex-direction: column-reverse; }
  .settings-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
