/* The merchant console's second version ("商户中心"): light mint, deep green.
   No scripts, no inline styles, no fonts loaded (CSP default-src 'none'). */
:root {
  --bg: #f2f9f5; --bg-2: #e9f6ef; --side: #f9fcfa; --card: #fff; --line: #e2ece6; --line-2: #d4e3da;
  --fg: #141d24; --fg-2: #344049; --muted: #6a757e; --faint: #9aa4ab;
  --green: #12a03c; --green-2: #0d8a32; --green-text: #109a3a; --green-soft: #e1f5e7; --mint: #edf7f1; --mint-2: #f4faf6;
  --blue: #1f63d6; --blue-soft: #e5effc; --orange: #b4560c; --orange-2: #f29a1e; --orange-soft: #fdf0dd;
  --red: #d23030; --red-soft: #fde7e7; --grey-soft: #eef1f3;
  --radius: 14px; --shadow: 0 1px 2px rgba(20, 40, 30, .04), 0 4px 18px rgba(20, 60, 40, .05);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--fg); background: linear-gradient(160deg, #f7fbf9 0%, var(--bg) 45%, var(--bg-2) 100%) fixed; min-height: 100vh; }
a { color: var(--green-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 34px; line-height: 1.2; font-weight: 700; margin: 0; letter-spacing: .01em; }
h2 { font-size: 21px; font-weight: 700; margin: 0 0 14px; }
h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
p { margin: 0 0 10px; }
small, .small { font-size: 13px; }
code { font-family: var(--mono); font-size: 13px; word-break: break-all; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.strong { font-weight: 700; }
.nw { white-space: nowrap; }
.center { text-align: center; }
.right { text-align: right; }
.grow { flex: 1; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -4px; }

.envbar { background: #f79009; color: #fff; text-align: center; font-size: 13px; padding: 3px 12px; }

/* The shell: the sidebar, the top bar, the page. */
.shell { display: flex; min-height: 100vh; }
.side { width: 260px; flex: none; background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 14px 12px 22px;
  position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 14px; padding: 2px 12px 26px; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand .word { font-size: 29px; font-weight: 800; color: var(--green); letter-spacing: .01em; line-height: 1; }
.brand .sub { font-size: 15px; color: var(--fg-2); padding-left: 14px; border-left: 1px solid var(--line-2); line-height: 1.2; }
.nav { display: flex; flex-direction: column; gap: 8px; }
.nav a { display: flex; align-items: center; gap: 18px; padding: 12px 18px; border-radius: 10px; color: var(--fg); font-size: 18px; font-weight: 500; }
.nav a .i { width: 26px; height: 26px; color: #2b3b48; stroke-width: 1.7; }
.nav a:hover { background: var(--mint); text-decoration: none; }
.nav a.on { background: var(--green-soft); color: var(--green-text); font-weight: 600; }
.nav a.on .i { color: var(--green-text); }
.nav.foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; }
.body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 32px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .55); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(6px); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .i { width: 18px; height: 18px; }
.menu .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green-text); display: grid; place-items: center; }
.menu .avatar .i { width: 24px; height: 24px; }
.menu .who { display: flex; flex-direction: column; line-height: 1.2; }
.menu .who small { color: var(--muted); font-weight: 400; }
.pop { position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 14px; z-index: 30; display: flex; flex-direction: column; gap: 4px; }
.menu.right .pop { left: auto; right: 0; }
.pop a, .pop .linkish { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--fg); font-size: 15px; }
.pop a:hover, .pop .linkish:hover { background: var(--mint); text-decoration: none; }
.pop form { margin: 0; }
.pop-h { font-size: 13px; color: var(--muted); margin: 0; }
main { padding: 26px 32px 48px; max-width: 1340px; width: 100%; }

/* Page heads, crumbs, tabs. */
.head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 6px 0 22px; flex-wrap: wrap; }
.head .sub { color: var(--muted); font-size: 18px; margin: 6px 0 0; }
.head-side { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.head .back { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 17px; font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 16px; font-size: 17px; }
.chip b { font-weight: 600; }
.asof { color: var(--muted); padding-left: 18px; border-left: 1px solid var(--line-2); font-size: 16px; }
.crumbs { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 16px; margin-bottom: 4px; }
.crumbs a { color: var(--green-text); }
.crumbs .i { width: 16px; height: 16px; }
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin: -6px 0 26px; overflow-x: auto; }
.tabs a { padding: 10px 18px 12px; font-size: 19px; color: var(--fg-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a:hover { text-decoration: none; color: var(--fg); }
.tabs a.on { color: var(--green-text); border-bottom-color: var(--green); font-weight: 600; }

/* Cards. */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 22px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-h h2 { margin: 0; }
.card-h .muted { margin: 6px 0 0; }
h2.ic { display: flex; align-items: center; gap: 12px; }
h2.ic .i { width: 30px; height: 30px; color: var(--green); }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.more .i { width: 18px; height: 18px; }
.more.off { color: var(--faint); font-weight: 500; }
.empty { color: var(--muted); text-align: center; padding: 22px 0 !important; }
.hint { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.foot-note { color: var(--muted); font-size: 13px; margin: 10px 0 0; text-align: center; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 4px; }
.grid3 .card { margin-bottom: 22px; }
.grid-todo { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; }
.stat { padding: 26px 28px; }
.stat-h { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.stat-h .i { width: 30px; height: 30px; color: var(--green); }
.big { display: flex; align-items: baseline; gap: 10px; padding-left: 44px; }
.big .num { font-size: 38px; font-weight: 800; letter-spacing: .01em; line-height: 1.15; }
.big .unit { font-size: 20px; color: var(--muted); }
.stat-f { display: inline-flex; align-items: center; gap: 4px; padding-left: 44px; color: var(--muted); font-size: 17px; margin-top: 8px; }
.stat-f.link { color: var(--green-text); font-weight: 600; }
.stat-f .i { width: 18px; height: 18px; }
.unit { color: var(--muted); font-weight: 400; }

.alert { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-radius: 12px; font-size: 16px; flex-wrap: wrap; }
.alert .i { width: 26px; height: 26px; }
.alert.warn { background: var(--orange-soft); }
.alert.warn > .i { color: var(--orange-2); }
.alert.warn b { color: #8a3e05; }
.alert.info, .alert.ok { background: var(--mint); color: var(--fg-2); }
.alert.info > .i, .alert.ok > .i { color: var(--green); width: 20px; height: 20px; }
.alert .alert-t { color: var(--fg-2); padding-left: 14px; border-left: 1px solid #f1d5ac; flex: 1; }
.alert > a { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.alert.big { padding: 16px 20px; margin-top: 18px; }
.alert.big b { flex: 1; font-size: 18px; }
.alert-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.quick { display: flex; flex-direction: column; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; }
.quick-links a { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.quick-links a + a { border-left: 1px solid var(--line-2); }
.quick-links .i { width: 24px; height: 24px; }

/* Buttons and fields. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; padding: 11px 26px; font: inherit; font-size: 17px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none !important; }
.btn .i { width: 22px; height: 22px; }
.btn.primary { background: var(--green); color: #fff; box-shadow: 0 2px 6px rgba(18, 160, 60, .25); }
.btn.primary:hover { background: var(--green-2); }
.btn.outline { background: #fff; color: var(--green-text); border-color: var(--green); }
.btn.outline:hover { background: var(--mint-2); }
.btn.soft { background: var(--grey-soft); color: var(--fg-2); }
.btn.danger { background: var(--red); color: #fff; }
.btn.wide { width: 100%; padding: 14px 20px; font-size: 19px; }
.btn.sm { padding: 8px 16px; font-size: 15px; }
.btn.off, .btn:disabled { background: #e7ecea !important; color: #9aa6a0 !important; border-color: #e1e7e4 !important; box-shadow: none !important; cursor: not-allowed; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--green-text); cursor: pointer; }
.linkish.small { font-size: 14px; margin-left: 10px; }
.danger-text { color: var(--red); }
.danger-link { display: block; text-align: center; color: var(--red); font-size: 19px; font-weight: 600; margin: 26px 0 6px; }
form.inline { display: inline; }
.filters .frow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.filters.bar { padding: 18px 22px; }
.filters.bar .frow { margin: 0; }
.fl { color: var(--fg-2); font-size: 17px; }
.sep { width: 1px; height: 26px; background: var(--line-2); }
.field { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; min-height: 46px; position: relative; }
.field:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(18, 160, 60, .12); }
.field .i { color: var(--fg-2); }
.field input, .field select, textarea { border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--fg); min-width: 0; padding: 10px 0; width: 100%; }
.field.date input { width: 150px; font-variant-numeric: tabular-nums; }
.field.sel select { appearance: none; -webkit-appearance: none; padding-right: 26px; min-width: 120px; cursor: pointer; }
.field.sel > .i:last-child { position: absolute; right: 12px; pointer-events: none; }
.field.store select { min-width: 160px; }
.field.search { flex: 0 1 470px; min-width: 240px; }
.field.big-in input { font-size: 30px; font-weight: 700; }
.field .suffix { color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line-2); }
.field.ro, fieldset:disabled .field { background: #f1f4f3; }
.field.suffixed input { width: 100%; }
textarea { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset:disabled, fieldset:disabled * { cursor: not-allowed; }
legend { padding: 0; }
.frm { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 10px 24px; margin-bottom: 18px; }
.frm > label, .frm > legend { font-size: 17px; font-weight: 600; float: left; }
.frm .field { width: 100%; }
.lbl { display: block; color: var(--muted); font-size: 15px; margin: 14px 0 8px; }
.req { color: var(--red); font-style: normal; }
.check { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 10px 0; }
.check input, .radio input { width: 20px; height: 20px; accent-color: var(--green); }
.radios { display: flex; gap: 12px; flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 16px; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--green); background: var(--mint); color: var(--green-text); font-weight: 600; }
.form-acts { display: flex; gap: 14px; justify-content: flex-end; align-items: center; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.form-acts.left { justify-content: flex-start; border-top: 0; padding-top: 0; }
.form-acts.right { border-top: 0; }
.form-acts.split { justify-content: space-between; }
.form-acts.split > span:last-child { display: flex; gap: 14px; flex-wrap: wrap; }

/* Tables. */
.tbl { overflow-x: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th { text-align: left; font-weight: 500; color: var(--fg-2); background: var(--mint); padding: 13px 20px; font-size: 16px; white-space: nowrap; }
th:first-child { border-radius: 10px 0 0 10px; }
th:last-child { border-radius: 0 10px 10px 0; }
td { padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 17px; vertical-align: middle; }
td.n, th.n { text-align: right; }
td.act, th.act { text-align: center; white-space: nowrap; }
td.act a { font-weight: 600; display: inline-flex; align-items: center; gap: 2px; }
td.act .i { width: 18px; height: 18px; }
td .unit { font-size: 14px; }
tr.dim td { color: var(--faint); }
tr.sel td { background: var(--mint-2); }
.tag { background: var(--grey-soft); border-radius: 6px; padding: 1px 6px; color: var(--fg-2); }

/* Pills. */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 8px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.pill .i { width: 18px; height: 18px; stroke-width: 2.2; }
.s-paid, .s-online, .s-active, .s-ok { background: var(--green-soft); color: var(--green-text); }
.s-seen, .s-checking, .s-pending, .s-claimed { background: var(--blue-soft); color: var(--blue); }
.s-processing { background: var(--orange-soft); color: #7a3a07; }
.s-processing .i { display: none; }
.s-partial, .s-closed { background: var(--orange-soft); color: var(--orange); }
.s-partial .i, .s-closed .i { color: var(--orange-2); }
.s-problem, .s-failed { background: var(--red-soft); color: var(--red); }
.s-waiting, .s-expired, .s-offline, .s-revoked, .s-off { background: var(--grey-soft); color: var(--muted); }
/* USD withdrawals (v2.ustate.) and bank accounts (v2.bstate.). */
.s-verified { background: var(--green-soft); color: var(--green-text); }
.s-requested { background: var(--blue-soft); color: var(--blue); }
.s-approved { background: var(--orange-soft); color: #7a3a07; }
.s-rejected { background: var(--red-soft); color: var(--red); }
.s-cancelled, .s-disabled { background: var(--grey-soft); color: var(--muted); }

.pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.pg { display: inline-grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--fg-2); background: #fff; }
.pg:hover { text-decoration: none; border-color: var(--green); }
.pg.on { border-color: var(--green); color: var(--green-text); background: var(--mint); font-weight: 700; }
.pg.off { color: var(--faint); }

.flash { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; margin: 0 0 18px; font-size: 16px; }
.flash.bad { background: var(--red-soft); color: #9b1c1c; }
.flash.ok { background: var(--green-soft); color: #0a6e2a; }
.na { display: flex; gap: 12px; align-items: flex-start; background: #fff8eb; border: 1px dashed #f0c27a; color: #6b4410; border-radius: 12px; padding: 12px 16px;
  margin: 0 0 18px; font-size: 15px; }
.na .i { color: var(--orange-2); margin-top: 1px; }
.na strong { color: #8a4a06; margin-right: 4px; }
/* The ops console's own rules, after the second design's shared ones (package v2ui, base.css: tokens, shell, heads,
   cards, buttons, fields, tables, pills, flash), served together as /static/ops.css. The merchant portal's v2 look,
   with its tokens and names; a few of its own rules copied as they are (marked), and the console's own parts.
   No scripts but the monitor's, no inline styles, no fonts loaded (CSP default-src 'none'). */

/* Tokens: the portal's, a shade darker where text or a button's words sit on them (WCAG AA, 4.5:1). The network class
   (package netclass): testnet amber, mainnet red. */
:root { --green: #0b8230; --green-2: #096b27; --green-text: #0b7a2c; --orange: #96470a; --red: #b42323; --muted: #5f6a73;
  --env: #f79009; --env-fg: #1f1300; --bar: #b9d2c3; --focus: rgba(11, 130, 48, .55); }
body[data-class=mainnet] { --env: #d92d20; --env-fg: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, textarea:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field input:focus-visible, .field select:focus-visible { outline: 0; }
textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(18, 160, 60, .12); }
[hidden] { display: none !important; }

/* The shell: the class bar, Sulafat's mark, the sidebar's badges, the top bar (the network, the languages, the operator). */
.envbar { background: var(--env); color: var(--env-fg); padding: 4px 16px; }
.envbar strong { letter-spacing: .06em; margin-right: 4px; }
.netbadge { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 8px; background: var(--env); color: var(--env-fg); font-size: 13px; font-weight: 800;
  letter-spacing: .08em; white-space: nowrap; line-height: 1.5; }
.mark { display: block; width: 34px; height: 34px; flex: none; }
.brand { gap: 10px; padding: 2px 8px 26px; }
.brand .sub { padding-left: 10px; font-size: 14px; min-width: 0; }
.side .brand .word { font-size: 26px; }
.side .mark { width: 30px; height: 30px; }
.nav a { gap: 12px; padding: 12px 12px; font-size: 17px; }
.nav a .badge { margin-left: auto; min-width: 26px; padding: 0 8px; border-radius: 13px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; text-align: center;
  line-height: 24px; }
.top-l, .top-r { display: flex; align-items: center; gap: 16px; min-width: 0; }
.top-app { color: var(--fg-2); font-size: 16px; font-weight: 600; white-space: nowrap; }
.langs { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-size: 15px; }
.langs > .i { width: 18px; height: 18px; margin-right: 4px; }
.langs .lang { padding: 4px 8px; border-radius: 8px; color: var(--fg-2); white-space: nowrap; }
.langs a.lang:hover { background: var(--mint); text-decoration: none; }
.langs .lang.on { color: var(--green-text); background: var(--green-soft); font-weight: 700; }
.menu .avatar { font-weight: 700; font-size: 18px; }
.menu .who small { font-size: 13px; }
.head h1 + * { margin-top: 0; }
.head .crumbs + h1 { margin-top: 2px; }

/* Copied from portal/web/v2/v2.css (its own part), as they are: the details' rows, the hero's big number, the steps. */
.hero { text-align: center; padding: 24px 32px 26px; }
.huge { display: flex; justify-content: center; align-items: baseline; gap: 12px; margin: 14px 0 4px; }
.huge .num, .huge.num { font-size: 58px; font-weight: 800; line-height: 1.1; letter-spacing: .01em; }
.huge .unit { font-size: 22px; }
.huge.left { justify-content: flex-start; }
.hero-l { font-size: 20px; color: var(--fg-2); margin: 0 0 4px; }
.hero-f { color: var(--muted); font-size: 16px; margin: 0; }
.info-card { padding: 14px 18px 18px; }
.rows { display: grid; grid-template-columns: 250px 1fr; margin: 0; }
.rows dt, .rows dd { padding: 10px 6px 10px 20px; border-bottom: 1px solid var(--line); margin: 0; font-size: 17px; }
.rows dt { color: var(--fg-2); }
.rows dd { font-weight: 500; }
.tz { display: flex; justify-content: flex-end; align-items: center; gap: 6px; color: var(--muted); margin: 8px 6px 0; font-size: 15px; }
.steps { display: flex; justify-content: center; align-items: center; gap: 0; list-style: none; padding: 0; margin: -6px 0 22px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 19px; color: var(--fg-2); }
.steps li + li::before { content: ""; width: 80px; height: 2px; background: var(--line-2); margin: 0 22px; }
.steps li.done + li::before, .steps li.done + li.done::before { background: var(--green); }
.steps .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--line-2); color: #fff; font-weight: 700; background: #fff; }
.steps .dot .i { width: 22px; height: 22px; stroke-width: 2.6; }
.steps li.done .dot { background: var(--green-soft); border-color: var(--green-soft); color: var(--green-text); }
.steps li.on { color: var(--green-text); font-weight: 700; }
.steps li.on .dot { background: var(--green); border-color: var(--green); }
.steps li.wait { color: var(--orange); font-weight: 700; }
.steps li.wait .dot { background: #fff; border-color: var(--orange-2); color: var(--orange-2); }
.steps li.bad { color: var(--red); font-weight: 700; }
.steps li.bad .dot { background: var(--red); border-color: var(--red); }
.line-top { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
.narrow-card { max-width: 760px; }

/* The console's pieces, in the design's terms. */
.rows dd { min-width: 0; overflow-wrap: anywhere; }
.rows dd code { font-size: 15px; }
.rows.flush dt, .rows.flush dd { padding-left: 6px; }
.lead { color: var(--muted); font-size: 17px; margin: -8px 0 20px; max-width: 90ch; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid2 .card { margin-bottom: 22px; }
.grid3 > *, .grid2 > * { min-width: 0; }
.stat .big .num { font-variant-numeric: tabular-nums; }
.fpair { display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
.fpair .field { min-width: 0; max-width: 100%; }
.filters .field.sel select { max-width: 300px; }
.filters .frow.last { margin-bottom: 6px; }
.row-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 8px; }
.row-form .field.grow { flex: 1 1 260px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0 0; }
.m-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px 32px; flex-wrap: wrap; }
.m-id { flex: 1 1 420px; min-width: 0; }
.m-action { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 340px; margin: 0; }
.m-action .hint { text-align: right; margin: 0; }
.links { display: flex; gap: 8px 24px; flex-wrap: wrap; margin: 16px 0 0 20px; }
.u-actions { display: inline-flex; gap: 8px; }
.u-actions form { margin: 0; }
.rate { font-size: 30px; font-weight: 800; color: var(--green-text); font-variant-numeric: tabular-nums; line-height: 1.1; }
.rate-in input { width: 90px; }
.frm textarea, .m-embed textarea, .act-card textarea { width: 100%; font-family: var(--mono); font-size: 14px; }
.act-card .frm { grid-template-columns: 170px minmax(0, 1fr); }
.act-card + .act-card { margin-top: -6px; }
.danger-zone { border-color: #f3c4c4; }
.danger-zone h2 { color: var(--red); }
.head-side .pill { font-size: 17px; padding: 6px 14px; }
.chip.small { font-size: 15px; padding: 6px 12px; }
.alert.bad { background: var(--red-soft); color: #7d1a1a; }
.alert.bad > .i { color: var(--red); }
.alert.big { padding: 16px 20px; margin: 0 0 22px; align-items: flex-start; }
.alert.big b { font-size: 18px; }
.alert.big p { margin: 4px 0 0; }
.alert.inset { margin: 0 0 18px; }
.flash .i { flex: none; }
.msg { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; margin: 0; }
.msg .i { color: var(--green); margin-top: 2px; }
.tag { display: inline-block; font-size: 13px; white-space: nowrap; }
.tag.warn { background: var(--orange-soft); color: var(--orange); }
.tag.bad { background: var(--red-soft); color: var(--red); }
.amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
.amt .unit { font-size: 13px; color: var(--muted); }
.amt.zero, .amt.zero .unit { color: var(--muted); font-weight: 400; }
.big-amt { font-size: 30px; font-weight: 800; }
.big-amt .unit { font-size: 18px; font-weight: 400; }
code.muted { color: var(--muted); }
tr.dim td { color: var(--muted); }
.links.flush { margin: 14px 0 0; }
.state-line { margin: 0 0 6px; }
.m-rows { flex: 1 1 420px; min-width: 0; align-self: center; }
.m-id .huge { margin: 10px 0 2px; }
.m-id .huge .unit { font-size: 22px; }
.bank-line { display: flex; align-items: center; gap: 18px; background: var(--mint-2); border-radius: 12px; padding: 14px 20px; margin: 8px 0 10px; font-size: 17px; }
.bank-line > .i { width: 40px; height: 40px; color: var(--green); }
.legs { margin-top: 16px; }
.count { display: inline-grid; place-items: center; min-width: 30px; padding: 0 8px; border-radius: 15px; background: var(--grey-soft); color: var(--fg-2); font-size: 15px; line-height: 28px; }
.hint.lead-in { margin: -6px 0 14px; }
.tabs .badge, .count.hot { display: inline-block; min-width: 24px; margin-left: 6px; padding: 0 7px; border-radius: 12px; background: var(--red); color: #fff; font-size: 13px;
  font-weight: 700; line-height: 22px; text-align: center; vertical-align: 2px; }
.hero .alert { justify-content: center; margin: 16px auto 0; max-width: 640px; }

/* Tables: the design's, closer set (the console's have more columns). */
table.dense th { padding: 11px 14px; font-size: 14px; }
table.dense td { padding: 12px 14px; font-size: 15px; }
table.dense .pill { font-size: 14px; padding: 3px 10px; }
table.dense .pill .i { width: 16px; height: 16px; }
td.nw { white-space: nowrap; }
/* Tabs that wrap onto another line instead of scrolling (the order queues). */
.tabs.wrap { flex-wrap: wrap; overflow-x: visible; gap: 0 4px; }
.tabs.wrap a { padding: 8px 14px 10px; font-size: 17px; }
/* A withdrawal's dealers side by side: closer cells, the route over two lines, the button whole. */
table.offers th, table.offers td { padding-left: 8px; padding-right: 8px; }
/* Headers that may wrap (long column names). */
table.th-wrap th { white-space: normal; vertical-align: bottom; }
table.offers td.act { text-align: right; }
table.offers td.act .btn { white-space: normal; line-height: 1.25; max-width: 9em; padding: 7px 12px; }

/* State pills: the console's states besides the portal's (base.css), in the same colours. */
.s-confirmed, .s-held { background: var(--green-soft); color: var(--green-text); }
.s-released { background: var(--grey-soft); color: var(--muted); }
.s-reverted, .s-dropped, .s-frozen { background: var(--red-soft); color: var(--red); }
.s-revoked { background: var(--grey-soft); color: var(--fg-2); }
.s-partial, .s-closed, .s-processing, .s-approved { color: var(--orange); }

/* Signing in: one card on the design's background. */
body.auth { display: flex; flex-direction: column; }
.auth-main { width: 100%; max-width: 500px; margin: 0 auto; padding: 48px 16px 32px; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.auth-brand .mark { width: 40px; height: 40px; }
.auth-brand .word { font-size: 29px; font-weight: 800; color: var(--green); line-height: 1; }
.auth-brand .sub { font-size: 15px; color: var(--fg-2); padding: 0 12px; border-left: 1px solid var(--line-2); }
.auth-card { padding: 30px 32px; }
.auth-card h1 { font-size: 28px; margin-bottom: 12px; }
.auth-card .flash { margin-top: 14px; }
.auth-form .lbl { color: var(--fg-2); font-weight: 600; }
.field.full { display: flex; width: 100%; }
.auth-form .btn.wide { margin-top: 24px; }
.auth-card .hint { margin-top: 16px; }
.auth-alt { margin-top: 18px; text-align: center; }
.auth-alt .linkish, .pop .linkish { display: inline-flex; align-items: center; gap: 8px; }
.auth-main footer { display: flex; justify-content: center; margin-top: 18px; }
.code-in input { font-size: 24px; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.qr { margin: 8px 0 16px; text-align: center; }
.qr svg { display: block; margin: 0 auto; max-width: 100%; height: auto; background: #fff; padding: 10px; border-radius: 12px; border: 1px solid var(--line); }
.qr figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
code.key { font-size: 16px; letter-spacing: 1px; }
.keyline { overflow-wrap: anywhere; }
.disclose { margin: 0 0 6px; }
.disclose summary { cursor: pointer; color: var(--green-text); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; list-style: none; }
.disclose summary::-webkit-details-marker { display: none; }
.disclose[open] summary .i { transform: rotate(180deg); }
code.once { display: block; padding: 12px 14px; background: var(--mint); border-radius: 10px; font-size: 22px; text-align: center; user-select: all; letter-spacing: .5px; }

/* The realtime monitor (monitor.html): the overall health, then the panels as cards; each health a pill with its icon and
   words, each reason with its sign (never colour alone). */
.mon-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: -8px 0 18px; }
.mon-bar .lead { margin: 0; }
.mon-tools { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.mon-tools label { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); font-size: 15px; }
.mon-tools .field { min-height: 38px; padding: 0 10px; }
.mon-tools .field.sel select { min-width: 80px; font-size: 15px; padding: 6px 22px 6px 0; }
.mon-tools .field.sel > .i:last-child { right: 8px; }
.mon-title { display: inline-flex; align-items: center; gap: 12px; }
.mon-title .word { font-size: 26px; font-weight: 800; color: var(--green); line-height: 1; }
.mon-title .sub { font-size: 20px; font-weight: 700; padding: 0 12px; border-left: 1px solid var(--line-2); }
.stale { display: flex; gap: 10px; align-items: center; margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: var(--red-soft); color: #7d1a1a; font-weight: 700; }
.stale .i { color: var(--red); }
.mon-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 20px; margin: 0 0 20px; background: var(--card); border: 1px solid var(--line);
  border-left: 6px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow); }
.mon-head[data-h=attention] { border-left-color: var(--orange-2); }
.mon-head[data-h=alarm] { border-left-color: var(--red); }
.mon-head .hp { font-size: 18px; padding: 6px 16px; }
.mon-head .hp .i { width: 20px; height: 20px; }
.mon-asof { color: var(--muted); font-size: 15px; }
.mon-ok { color: var(--green-text); font-weight: 600; }
.mon-reasons, .preasons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mon-reasons { flex: 1 1 100%; }
.mon-reasons li, .preasons li { font-size: 15px; color: var(--fg-2); overflow-wrap: anywhere; }
.mon-reasons li b { color: var(--fg); }
.mon-reasons li::before, .preasons li::before { content: "✓ "; font-weight: 800; color: var(--green-text); }
.mon-reasons li[data-h=attention]::before, .preasons li[data-h=attention]::before { content: "! "; color: var(--orange); }
.mon-reasons li[data-h=alarm]::before, .preasons li[data-h=alarm]::before { content: "✕ "; color: var(--red); }
.mon-reasons li.more { color: var(--muted); }
.mon-reasons li.more::before { content: ""; }
.hp { background: var(--green-soft); color: var(--green-text); }
.hp[data-h=attention] { background: var(--orange-soft); color: var(--orange); }
.hp[data-h=attention] .i { color: var(--orange-2); }
.hp[data-h=alarm] { background: var(--red-soft); color: var(--red); }
.mon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.mon-grid > .col { display: contents; }
.panel { min-width: 0; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 22px 20px; }
.panel[data-h=attention] { border-top-color: var(--orange-2); }
.panel[data-h=alarm] { border-top-color: var(--red); }
.p-overview { order: 1; grid-column: span 2; }
.p-trend { order: 2; }
.p-link { order: 3; }
.p-merchants { order: 4; grid-column: span 2; }
.p-stream { order: 5; grid-column: span 2; }
.p-payouts { order: 6; }
.p-cashiers { order: 7; }
.p-anomalies { order: 8; grid-column: span 2; }
.p-dealers { order: 9; }
.ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.ph h2 { margin: 0; font-size: 19px; }
.ph .pill { font-size: 14px; padding: 3px 10px; }
.ph .pill .i { width: 16px; height: 16px; }
.preasons { margin: 0 0 12px; }
.pfail { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--red-soft); color: #7d1a1a; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px 22px; }
.kpis.small { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); margin: 0 0 14px; }
.kpi { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi.wide { grid-column: span 2; }
.kpi .k { color: var(--fg-2); font-size: 14px; font-weight: 600; }
.kpi .v { font-size: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi .v.big { font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: .01em; }
.kpi .v.warn { color: var(--orange); }
.kpi .v.bad { color: var(--red); }
.kpi .v.ok { color: var(--green-text); }
.kpi .s { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.sums { display: inline-flex; flex-direction: column; gap: 2px; }
.sum { white-space: nowrap; }
.kpi .sum .amt { font-size: 22px; font-weight: 800; }
.sum .unit small { color: var(--muted); font-size: 12px; }
.cnt { color: var(--muted); font-size: 13px; }
td .sums { align-items: flex-end; }
.panel .tbl { margin: 0 0 6px; }
.panel table.dense th { padding: 9px 12px; font-size: 13.5px; }
.panel table.dense td { padding: 9px 12px; font-size: 14.5px; }
tr.flag td { background: var(--orange-soft) !important; }
.flags { color: var(--orange); font-weight: 700; font-size: 13px; white-space: nowrap; }
b.bad { color: var(--red); }
.panel p.more { display: block; margin: 6px 0 0; color: var(--muted); font-size: 14px; font-weight: 500; }
.panel .hint { margin: 10px 0 0; font-size: 13px; }
dl.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; font-size: 15px; }
dl.kv dt { color: var(--fg-2); }
dl.kv dd { margin: 0; min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
dl.kv .tag { margin: 0 2px 2px 0; white-space: normal; max-width: 100%; }
.trend-wrap { width: 100%; }
svg.trend { display: block; width: 100%; height: auto; }
svg.trend .base { stroke: var(--line-2); }
svg.trend .b-orders { fill: var(--bar); }
svg.trend .b-pay { fill: var(--green); }
svg.trend text { font: 11px system-ui, -apple-system, "Segoe UI", sans-serif; fill: var(--muted); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 6px 0 10px; font-size: 13px; color: var(--fg-2); }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sw-orders { background: var(--bar); }
.sw-pay { background: var(--green); }
table.assets td.sp { width: 45%; }
svg.spark { display: block; width: 100%; height: 22px; }
svg.spark rect { fill: var(--green); }

/* The wallboard: the same type and parts, dark (a deep green night), three columns filling 1920×1080, no page scroll. */
body.wall {
  --bg: #07110c; --bg-2: #0a1610; --card: #0e1b15; --line: #1d3127; --line-2: #2a4336;
  --fg: #eef6f1; --fg-2: #c9d8cf; --muted: #95a89d; --faint: #6c7f74;
  --green: #34c46a; --green-2: #2aa458; --green-text: #5fe08f; --green-soft: #0f2e1d; --mint: #11231a; --mint-2: #0f1f17;
  --blue: #7ab0ff; --blue-soft: #10223f; --orange: #fbbf5a; --orange-2: #f5a524; --orange-soft: #2d2009;
  --red: #ff8076; --red-soft: #35130f; --grey-soft: #18241e; --bar: #3a5747;
  --shadow: none; color-scheme: dark;
  background: var(--bg); height: 100vh; overflow: hidden; font-size: 16px; border-top: 4px solid var(--env);
}
body.wall .wall-main { max-width: none; height: calc(100vh - 4px); padding: 10px 16px 12px; display: flex; flex-direction: column; overflow: hidden; }
body.wall .monitor { flex: 1; display: flex; flex-direction: column; min-height: 0; }
body.wall .mon-bar { margin: 0 0 8px; }
body.wall .mon-title .sub { color: var(--fg); }
body.wall .field, body.wall .btn.outline { background: transparent; }
body.wall .btn.outline { color: var(--green-text); border-color: var(--line-2); }
body.wall select option { background: var(--card); color: var(--fg); }
body.wall .panels { flex: 1; display: flex; flex-direction: column; min-height: 0; }
body.wall .stale { color: #ffd2cd; margin: 0 0 8px; padding: 5px 14px; font-size: 15px; }
body.wall .pfail { color: #ffd2cd; }
body.wall .mon-head { margin: 0 0 10px; padding: 8px 16px; flex-wrap: nowrap; }
body.wall .mon-head .hp { font-size: 20px; }
body.wall .mon-asof { font-size: 16px; white-space: nowrap; }
body.wall .mon-reasons { flex: 1 1 auto; flex-direction: row; flex-wrap: wrap; gap: 2px 24px; }
body.wall .mon-reasons li { font-size: 16px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.wall .mon-grid { flex: 1; min-height: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
body.wall .mon-grid > .col { display: flex; flex-direction: column; gap: 12px; min-height: 0; min-width: 0; }
body.wall .panel { order: 0; grid-column: auto; min-height: 0; overflow: hidden; padding: 9px 14px 10px; border-top-width: 3px; }
body.wall .p-merchants, body.wall .p-stream { flex: 1 1 auto; }
body.wall .ph { margin: 0 0 6px; }
body.wall .ph h2 { font-size: 18px; }
body.wall .ph .pill { font-size: 14px; }
body.wall .preasons, body.wall .hide-wall, body.wall .panel .hint { display: none; }
body.wall .p-overview .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; }
body.wall .kpi.wide { grid-column: auto; }
body.wall .kpis.small { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 4px 12px; margin: 0 0 6px; }
body.wall .kpis.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
body.wall .kpi .k { font-size: 13px; }
body.wall .kpi .v { font-size: 16px; }
body.wall .kpi .v.big { font-size: 30px; line-height: 1.1; }
body.wall .kpi .sum .amt { font-size: 17px; }
body.wall .kpi .s { font-size: 13px; }
body.wall .panel table.dense th { font-size: 12.5px; padding: 6px 8px; }
body.wall .panel table.dense th { white-space: normal; vertical-align: bottom; line-height: 1.2; }
body.wall .p-merchants table.dense td:first-child { max-width: 18em; }
body.wall .panel table.dense td { font-size: 15px; padding: 4px 8px; white-space: nowrap; max-width: 14em; overflow: hidden; text-overflow: ellipsis; }
body.wall .panel table.dense .pill { font-size: 13px; padding: 2px 8px; }
body.wall .tbl { overflow: hidden; }
body.wall .panel table.dense th:last-child, body.wall .panel table.dense td:last-child { padding-right: 0; }
body.wall .panel p.more { font-size: 14px; margin-top: 4px; }
body.wall dl.kv { font-size: 15px; gap: 2px 16px; }
body.wall .legend { margin: 2px 0 4px; }
body.wall svg.trend { max-height: 100px; }
body.wall .sum .unit small { color: var(--muted); }

/* Narrow windows: as the portal's (its rules for the shell, copied as they are), then the console's. */
@media (max-width: 1100px) {
  .grid3 { grid-template-columns: 1fr 1fr; }
  .mon-grid { grid-template-columns: minmax(0, 1fr); }
  .mon-grid .panel { grid-column: auto; }
  .kpi.wide { grid-column: auto; }
  .kpis { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .rows { grid-template-columns: 200px 1fr; }
  table.assets td.sp { width: 35%; }
  .top-app { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .shell { flex-direction: column; }
  .side { width: 100%; height: auto; position: static; flex-direction: row; align-items: center; padding: 10px 12px; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line);
    overflow-x: auto; }
  .brand { padding: 0 10px 0 4px; gap: 8px; }
  .brand .word, .side .brand .word { font-size: 22px; }
  .brand .sub { display: none; }
  .nav { flex-direction: row; gap: 2px; }
  .nav a { padding: 8px 10px; font-size: 14px; gap: 6px; white-space: nowrap; }
  .nav a .i { width: 20px; height: 20px; }
  .top { padding: 0 16px; position: static; }
  .menu summary { font-size: 15px; }
  .menu .avatar { width: 34px; height: 34px; }
  .menu .who small { display: none; }
  main { padding: 18px 16px 40px; }
  h1 { font-size: 26px; }
  .grid3 { grid-template-columns: 1fr; }
  .card { padding: 18px 16px; }
  .big, .stat-f { padding-left: 0; }
  .big .num { font-size: 30px; }
  .huge .num, .huge.num { font-size: 40px; }
  .rows { grid-template-columns: 120px 1fr; }
  .rows dt, .rows dd { padding: 9px 6px; font-size: 15px; }
  .frm, .act-card .frm { grid-template-columns: 1fr; }
  .field.search { flex-basis: 100%; }
  .field.date input { width: 130px; }
  .steps li + li::before { width: 24px; margin: 0 8px; }
  .steps li { font-size: 15px; }
  .steps { flex-direction: column; align-items: flex-start; gap: 8px; margin: 0 0 18px; }
  .steps li + li::before { display: none; }
  .steps .dot { width: 30px; height: 30px; }
  th, td { padding: 11px 12px; font-size: 15px; }
  .alert .alert-t { border: 0; padding: 0; }

  .mark, .side .mark { width: 28px; height: 28px; }
  .nav a .badge { min-width: 22px; line-height: 20px; font-size: 12px; padding: 0 6px; }
  .top { height: auto; min-height: 54px; flex-wrap: wrap; gap: 6px 12px; padding: 8px 16px; }
  .top-r { gap: 8px; }
  .menu .who { display: none; }
  .langs { font-size: 14px; }
  .langs > .i { display: none; }
  .langs .lang { padding: 4px 6px; }
  .grid2 { grid-template-columns: 1fr; }
  .m-action { align-items: flex-start; max-width: none; }
  .m-action .hint { text-align: left; }
  .links { margin-left: 0; }
  .head-side .pill { font-size: 15px; }
  .lead { margin-top: -4px; }
  .hero { padding: 18px 16px; }
  .auth-main { padding-top: 28px; }
  .auth-card { padding: 22px 18px; }
  .hide-sm { display: none; }
  table.dense th, table.dense td { padding: 9px 10px; font-size: 14px; }
  .mon-bar { margin-top: -4px; }
  .mon-head { padding: 12px 14px; }
  .panel { padding: 14px 14px 16px; }
  .kpis, .kpis.small { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
  .kpi .v.big { font-size: 28px; }
  .kpi .sum .amt { font-size: 18px; }
  .panel table.dense th, .panel table.dense td { padding: 7px 8px; font-size: 13.5px; }
  .kpi .sum { white-space: normal; }
  .rows dd .more { white-space: normal; }
  .mon-title { flex-wrap: wrap; }
  dl.kv { grid-template-columns: minmax(0, 1fr); gap: 0; }
  dl.kv dt { margin-top: 8px; font-size: 13px; }
}
/* The wallboard on a small screen or window: one column, scrolling. */
@media (max-width: 1100px), (max-height: 700px) {
  body.wall { height: auto; overflow: auto; }
  body.wall .wall-main { height: auto; overflow: visible; }
  body.wall .mon-head { flex-wrap: wrap; }
  body.wall .mon-grid { grid-template-columns: minmax(0, 1fr); }
  body.wall .panel { overflow: visible; }
  body.wall .tbl { overflow-x: auto; }
}
