:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-soft: #f8fafb;
  --ink: #17201d;
  --muted: #66716d;
  --muted-2: #8a9490;
  --line: #e1e6e3;
  --line-strong: #ced6d2;
  --green: #146b4f;
  --green-2: #0d8560;
  --green-soft: #e7f3ee;
  --amber: #aa6b13;
  --amber-soft: #fbf1df;
  --red: #b13d3d;
  --red-soft: #fbeaea;
  --blue: #286f9b;
  --blue-soft: #e9f2f7;
  --shadow: 0 8px 28px rgba(24, 39, 33, .08);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
body { font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 236px; z-index: 20; display: flex; flex-direction: column; color: #e9f0ed; background: #17231f; border-right: 1px solid #25342e; }
.brand { height: 72px; padding: 0 20px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid rgba(255,255,255,.07); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; color: white; background: var(--green-2); }
.brand-mark svg { width: 19px; }
.brand strong, .brand span { display: block; letter-spacing: 0; }
.brand strong { font-size: 16px; }
.brand span { margin-top: 2px; font-size: 10px; text-transform: uppercase; color: #82948d; letter-spacing: .08em; }
nav { padding: 16px 12px; flex: 1; overflow: auto; }
.nav-label { padding: 15px 10px 7px; font-size: 10px; color: #708078; text-transform: uppercase; letter-spacing: .1em; }
.nav-item { width: 100%; min-height: 40px; margin: 2px 0; padding: 0 11px; border: 0; border-radius: 6px; display: flex; align-items: center; gap: 11px; color: #aebbb6; background: transparent; text-align: left; transition: .15s ease; }
.nav-item:hover { color: white; background: rgba(255,255,255,.055); }
.nav-item.active { color: white; background: #285341; }
.nav-item svg { width: 17px; height: 17px; }
.nav-item .nav-badge { margin-left: auto; min-width: 20px; padding: 2px 6px; border-radius: 10px; text-align: center; font-size: 10px; color: #d8e7e0; background: rgba(255,255,255,.1); }
.sidebar-foot { padding: 12px; border-top: 1px solid rgba(255,255,255,.07); }
.service-state { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 4px; color: #b8c5c0; }
.service-state strong, .service-state small, .profile strong, .profile small { display: block; }
.service-state strong { font-size: 12px; font-weight: 600; }
.service-state small { font-size: 10px; color: #73837c; margin-top: 2px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #53c994; box-shadow: 0 0 0 4px rgba(83,201,148,.12); }
.profile { width: 100%; padding: 9px; border: 0; border-radius: 6px; display: flex; align-items: center; gap: 9px; color: #d8e1de; background: transparent; text-align: left; }
.profile:hover { background: rgba(255,255,255,.055); }
.profile > span:nth-child(2) { min-width: 0; flex: 1; }
.profile strong { font-size: 12px; }
.profile small { color: #788981; font-size: 10px; margin-top: 2px; }
.profile svg { width: 15px; color: #71827a; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: white; background: #39745d; font-size: 12px; }
.workspace { grid-column: 2; min-width: 0; }
.topbar { height: 64px; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 12px; }
.breadcrumb svg { width: 13px; }
.breadcrumb strong { color: var(--ink); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 7px; }
.live-indicator { margin-right: 8px; color: var(--muted); font-size: 11px; }
.live-indicator span { width: 6px; height: 6px; margin-right: 5px; display: inline-block; border-radius: 50%; background: #36aa79; }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 6px; display: inline-grid; place-items: center; color: var(--muted); background: var(--surface); }
.icon-button:hover { color: var(--ink); border-color: var(--line-strong); background: var(--surface-soft); }
.icon-button svg { width: 16px; height: 16px; }
.mobile-only { display: none; }
main { padding: 25px 28px 48px; max-width: 1680px; margin: 0 auto; outline: none; }
.page-head { min-height: 54px; margin-bottom: 21px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.page-head h1 { margin: 0 0 5px; font-size: 22px; line-height: 1.25; letter-spacing: 0; }
.page-head p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.page-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.button { min-height: 36px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #32403b; background: white; font-weight: 600; font-size: 12px; white-space: nowrap; }
.button:hover { border-color: #aebbb6; background: #f8faf9; }
.button svg { width: 15px; height: 15px; }
.button.primary { color: white; border-color: var(--green); background: var(--green); }
.button.primary:hover { background: #0d5b42; }
.button.danger { color: var(--red); border-color: #e5bcbc; background: #fffafa; }
.button.ghost { border-color: transparent; background: transparent; }
.button.small { min-height: 30px; padding: 0 9px; font-size: 11px; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.metric { min-height: 126px; padding: 20px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.metric-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-soft); color: var(--green); }
.metric-icon svg { width: 15px; }
.metric-value { margin: 10px 0 6px; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; font-weight: 700; }
.metric-foot { color: var(--muted-2); font-size: 10px; }
.metric-foot strong { color: var(--green); }
.dashboard-grid { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .9fr); gap: 18px; }
.panel { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.panel-head { min-height: 54px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.panel-title h2 { margin: 0; font-size: 13px; letter-spacing: 0; }
.panel-title p { margin: 3px 0 0; color: var(--muted-2); font-size: 10px; }
.panel-body { padding: 17px; }
.chart { height: 222px; display: flex; flex-direction: column; }
.chart-legend { display: flex; gap: 17px; justify-content: flex-end; font-size: 10px; color: var(--muted); }
.chart-legend span::before { content: ''; width: 7px; height: 7px; margin-right: 5px; border-radius: 2px; display: inline-block; background: var(--green); }
.chart-legend span:last-child::before { background: #c5d0cb; }
.bars { flex: 1; margin-top: 16px; display: flex; align-items: flex-end; gap: 8px; border-bottom: 1px solid var(--line); background-image: linear-gradient(to bottom, transparent 24%, #edf0ee 25%, transparent 26%, transparent 49%, #edf0ee 50%, transparent 51%, transparent 74%, #edf0ee 75%, transparent 76%); }
.bar-group { min-width: 12px; flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; position: relative; }
.bar { width: min(11px, 38%); min-height: 3px; border-radius: 2px 2px 0 0; background: var(--green); transition: height .3s; }
.bar.cost { background: #c5d0cb; }
.bar-label { position: absolute; bottom: -20px; color: var(--muted-2); font-size: 9px; white-space: nowrap; }
.feed { padding: 4px 17px; }
.feed-item { min-height: 63px; padding: 11px 0; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid #edf0ee; }
.feed-item:last-child { border-bottom: 0; }
.feed-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; color: var(--green); background: var(--green-soft); }
.feed-icon svg { width: 14px; }
.feed-item strong, .feed-item small { display: block; }
.feed-item strong { font-size: 11px; font-weight: 600; }
.feed-item small { margin-top: 3px; color: var(--muted-2); font-size: 9px; }
.feed-value { text-align: right; font-variant-numeric: tabular-nums; }
.feed-value strong { font-size: 11px; }
.feed-value small { color: var(--muted-2); }
.section-space { margin-top: 18px; }
.table-toolbar { padding: 13px 15px; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.search { width: min(320px, 100%); position: relative; }
.search svg { width: 14px; position: absolute; left: 10px; top: 10px; color: var(--muted-2); }
.search input { width: 100%; height: 34px; padding: 0 10px 0 32px; border: 1px solid var(--line); border-radius: 6px; outline: none; background: var(--surface-soft); font-size: 11px; }
.search input:focus { border-color: #82ad9c; box-shadow: 0 0 0 3px rgba(20,107,79,.08); background: white; }
.toolbar-filters { display: flex; align-items: center; gap: 7px; }
.select { height: 34px; padding: 0 28px 0 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: white; font-size: 11px; }
.table-wrap { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { height: 39px; padding: 0 15px; color: var(--muted-2); background: #fafbfb; border-bottom: 1px solid var(--line); text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
td { height: 57px; padding: 0 15px; border-bottom: 1px solid #edf0ee; color: #35413d; font-size: 11px; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfc; }
.person { display: flex; align-items: center; gap: 9px; }
.person .avatar { color: var(--green); background: var(--green-soft); font-weight: 700; }
.person strong, .person small { display: block; }
.person strong { font-size: 11px; color: var(--ink); }
.person small { margin-top: 2px; color: var(--muted-2); font-size: 9px; }
.status { padding: 3px 7px; display: inline-flex; align-items: center; gap: 5px; border-radius: 10px; font-size: 9px; font-weight: 600; }
.status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.active, .status.success, .status.unused { color: var(--green); background: var(--green-soft); }
.status.disabled, .status.failed { color: var(--red); background: var(--red-soft); }
.status.redeemed { color: var(--muted); background: #eef1ef; }
.mono { font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.number { font-variant-numeric: tabular-nums; }
.balance { color: var(--green); font-weight: 700; }
.row-actions { display: flex; align-items: center; gap: 4px; }
.row-action { width: 29px; height: 29px; border: 0; border-radius: 5px; display: grid; place-items: center; color: var(--muted); background: transparent; }
.row-action:hover { color: var(--ink); background: #edf1ef; }
.row-action svg { width: 14px; }
.empty { padding: 48px 20px; color: var(--muted); text-align: center; }
.empty-icon { width: 42px; height: 42px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 8px; color: var(--muted-2); background: var(--surface-soft); }
.empty-icon svg { width: 20px; }
.empty strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 12px; }
.empty span { font-size: 10px; }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.model-card { min-height: 238px; padding: 17px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.model-card-head { display: flex; justify-content: space-between; gap: 10px; }
.model-ident { display: flex; gap: 10px; }
.model-logo { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 7px; color: white; background: #273b34; }
.model-logo svg { width: 18px; }
.model-ident strong, .model-ident small { display: block; }
.model-ident strong { margin-top: 2px; font-size: 12px; }
.model-ident small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.model-slug { margin: 16px 0 14px; padding: 8px 9px; border-radius: 5px; color: #4a5752; background: var(--surface-soft); font-family: Consolas, monospace; font-size: 10px; }
.pricing-rates { min-height: 30px; margin: -4px 0 13px; padding: 0 8px; display: flex; align-items: center; gap: 7px; border-left: 3px solid var(--green); color: var(--muted); background: var(--green-soft); font-size: 9px; }
.pricing-rates strong { color: var(--green); font-size: 11px; }
.pricing-rates svg { width: 12px; }
.pricing-rates small { margin-left: auto; color: var(--green); }
.model-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.model-stat { border-right: 1px solid var(--line); }
.model-stat:last-child { border-right: 0; padding-left: 10px; }
.model-stat:nth-child(2) { padding-left: 10px; }
.model-stat span, .model-stat strong { display: block; }
.model-stat span { color: var(--muted-2); font-size: 8px; text-transform: uppercase; }
.model-stat strong { margin-top: 4px; font-size: 11px; }
.model-card-foot { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; }
.toggle { width: 32px; height: 18px; padding: 2px; border: 0; border-radius: 9px; background: #c6ceca; }
.toggle::after { content: ''; width: 14px; height: 14px; display: block; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.toggle.on { background: var(--green); }
.toggle.on::after { transform: translateX(14px); }
.code-box { padding: 14px; border: 1px solid var(--line); border-radius: 6px; color: #d7e5df; background: #18241f; overflow: auto; font-family: Consolas, monospace; font-size: 11px; line-height: 1.7; white-space: pre; }
.setup-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; }
.setup-nav { align-self: start; border: 1px solid var(--line); border-radius: 8px; background: white; overflow: hidden; }
.setup-step { width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 9px; color: var(--muted); background: white; text-align: left; font-size: 11px; }
.setup-step:last-child { border-bottom: 0; }
.setup-step.active { color: var(--green); background: var(--green-soft); font-weight: 600; }
.step-num { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; font-size: 9px; }
.setup-content { padding: 23px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.setup-content h2 { margin: 0 0 6px; font-size: 16px; }
.setup-content > p { margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.config-list { margin: 0 0 20px; border-top: 1px solid var(--line); }
.config-row { min-height: 51px; display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.config-row label { color: var(--muted); font-size: 10px; }
.config-row code { overflow: hidden; text-overflow: ellipsis; font-family: Consolas, monospace; font-size: 10px; }
.security-note { padding: 11px 13px; display: flex; gap: 9px; border-left: 3px solid var(--amber); color: #795a2f; background: var(--amber-soft); font-size: 10px; line-height: 1.6; }
.security-note svg { width: 15px; flex: 0 0 auto; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; padding: 24px; display: grid; place-items: center; background: rgba(15, 24, 20, .42); backdrop-filter: blur(2px); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(510px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: 8px; background: white; box-shadow: var(--shadow); }
.modal.wide { width: min(700px, 100%); }
.modal-head { min-height: 59px; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 15px; }
.modal-body { padding: 19px; }
.modal-foot { padding: 13px 19px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); background: #fafbfb; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { margin-bottom: 6px; display: block; color: #4f5c57; font-size: 10px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 6px; outline: none; color: var(--ink); background: white; font-size: 11px; }
.field textarea { min-height: 74px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #79a994; box-shadow: 0 0 0 3px rgba(20,107,79,.08); }
.field small { margin-top: 5px; display: block; color: var(--muted-2); font-size: 9px; line-height: 1.5; }
.payment-settings-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: start; }
.payment-status-card { padding: 22px; }
.payment-status-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; color: var(--amber); background: var(--amber-soft); }
.payment-status-icon.enabled { color: var(--green); background: var(--green-soft); }
.payment-status-icon svg { width: 21px; }
.payment-status-card h2 { margin: 17px 0 6px; font-size: 16px; }
.payment-status-card > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.payment-checks { margin-top: 20px; border-top: 1px solid var(--line); }
.payment-checks div { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); font-size: 10px; }
.payment-checks span { color: var(--muted); }
.payment-checks strong { font-size: 10px; }
.payment-form-panel { padding: 22px; }
.enable-payment-field { min-height: 58px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--green-soft); }
.enable-payment-field label { margin: 0 0 3px; color: var(--green); font-size: 11px; }
.enable-payment-field small { margin: 0; }
.enable-payment-field input { width: 18px; min-height: 18px; flex: 0 0 auto; accent-color: var(--green); }
.setting-copy { min-height: 38px; padding-left: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 1px solid var(--line-strong); border-radius: 6px; background: #fafbfb; }
.setting-copy code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.setting-copy .row-action { border: 0; }
.settings-form-foot { margin: 20px -22px -22px; padding: 14px 22px; display: flex; justify-content: flex-end; border-top: 1px solid var(--line); background: #fafbfb; }
.result-secret { padding: 12px; margin-top: 10px; border: 1px dashed #91aa9f; border-radius: 6px; background: var(--green-soft); }
.result-secret label { display: block; margin-bottom: 7px; color: var(--green); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.secret-line { display: flex; gap: 7px; align-items: center; }
.secret-line code { min-width: 0; flex: 1; padding: 8px; border-radius: 5px; overflow: auto; color: #173c2e; background: white; font-size: 10px; white-space: nowrap; }
.secret-list { max-height: 260px; overflow: auto; }
.secret-list code { display: block; padding: 7px 8px; border-bottom: 1px solid #d7e6df; font-size: 10px; }
.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; gap: 8px; }
.toast { min-width: 250px; max-width: 360px; padding: 12px 14px; display: flex; align-items: center; gap: 9px; border: 1px solid #c9d9d2; border-radius: 7px; color: #234739; background: white; box-shadow: var(--shadow); font-size: 11px; animation: toast-in .2s ease; }
.toast.error { color: #7c2d2d; border-color: #e8caca; }
.toast svg { width: 15px; flex: 0 0 auto; }
.skeleton { min-height: 126px; border-radius: 8px; background: linear-gradient(90deg, #edf0ee 25%, #f7f8f7 37%, #edf0ee 63%); background-size: 400% 100%; animation: shimmer 1.2s infinite; }
.profit-positive { color: var(--green); }
.profit-negative { color: var(--red); }
.split-stat { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 8px; background: white; overflow: hidden; }
.split-stat > div { padding: 18px; border-right: 1px solid var(--line); }
.split-stat > div:last-child { border-right: 0; }
.split-stat span, .split-stat strong { display: block; }
.split-stat span { color: var(--muted); font-size: 10px; }
.split-stat strong { margin-top: 8px; font-size: 20px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 1050px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-scrim { display: none; position: fixed; inset: 0; z-index: 19; background: rgba(0,0,0,.35); }
  .sidebar-scrim.open { display: block; }
  .workspace { width: 100%; }
  .mobile-only { display: inline-grid; }
  .topbar { padding: 0 14px; }
  .breadcrumb span, .breadcrumb svg, .live-indicator { display: none; }
  main { padding: 19px 14px 35px; }
  .page-head { display: block; }
  .page-actions { margin-top: 14px; justify-content: flex-start; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .model-grid { grid-template-columns: 1fr; }
  .table-toolbar { align-items: stretch; flex-direction: column; }
  .search { width: 100%; }
  .setup-layout { grid-template-columns: 1fr; }
  .setup-nav { display: grid; grid-template-columns: repeat(4, 1fr); }
  .setup-step { padding: 9px 6px; justify-content: center; border-bottom: 0; border-right: 1px solid var(--line); font-size: 0; }
  .setup-step:last-child { border-right: 0; }
  .config-row { grid-template-columns: 1fr auto; padding: 10px 0; }
  .config-row label { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .payment-settings-layout { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .modal-backdrop { padding: 12px; }
  .split-stat { grid-template-columns: 1fr; }
  .split-stat > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .split-stat > div:last-child { border-bottom: 0; }
}
