/* Eye on Heart — light, clinical. Neutrals + one accent (ECG-paper red). */
:root {
  --ground: #f6f7f9;
  --surface: #ffffff;
  --ink: #111926;
  --ink-2: #4a5465;
  --ink-3: #6b7587;
  --line: #dde2ea;
  --line-strong: #bfc7d3;
  --accent: #b3261e;
  --accent-ink: #8f1d17;
  --paper-minor: #f6dcda;
  --paper-major: #eab4af;
  --ok: #1c6b48;
  --wait: #86560a;
  --bad: #b3261e;
  --radius: 6px;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 15px/1.55 var(--font); font-variant-numeric: tabular-nums; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 650; letter-spacing: -.02em; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 13px; }

/* ---- top bar ---- */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { max-width: 1160px; margin: 0 auto; padding: 0 20px; height: 56px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; color: var(--ink); font-size: 16px; }
.brand svg { display: block; }
.nav { display: flex; gap: 4px; height: 100%; }
.nav a { display: flex; align-items: center; padding: 0 12px; text-decoration: none; color: var(--ink-2); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.coins { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 99px; text-decoration: none; font-weight: 650; background: var(--surface); }
.coins small { font-weight: 500; color: var(--ink-2); font-size: 12.5px; }
.who { font-size: 13px; color: var(--ink-2); text-align: right; line-height: 1.25; }
.who { text-decoration: none; }
.who:hover b { text-decoration: underline; text-underline-offset: 3px; }
.who b { display: block; color: var(--ink); font-weight: 600; }
.demo-bar { background: #fff4d6; color: #5b4300; text-align: center; font-size: 13px; padding: 5px 12px; border-bottom: 1px solid #ecd48a; }

/* ---- page ---- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 32px 20px 72px; }
.wrap-narrow { max-width: 760px; }
.page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-h h1 { font-size: 1.7rem; letter-spacing: -.02em; }
.page-h p { margin-top: 4px; color: var(--ink-2); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.panel-pad { padding: 22px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---- controls ---- */
.btn { font: inherit; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.btn:hover { background: #eef1f5; border-color: var(--ink-3); color: var(--ink); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #26324a; border-color: #26324a; color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn[disabled], .btn[aria-disabled=true] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-sm { min-height: 32px; padding: 0 11px; font-size: 13.5px; }
.btn-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); font-weight: 500; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field > label, .lbl { font-weight: 600; font-size: 13.5px; }
.hint { font-size: 13px; color: var(--ink-2); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], select, textarea {
  font: inherit; color: var(--ink); width: 100%; min-height: 42px; padding: 8px 12px; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius); }
select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234a5465' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
textarea { resize: vertical; line-height: 1.55; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
::placeholder { color: var(--ink-3); }
.err { color: var(--bad); font-size: 13.5px; min-height: 20px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }

/* ---- status ---- */
.st { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st.ok { color: var(--ok); } .st.wait { color: var(--wait); } .st.bad { color: var(--bad); }
.st.run::before { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---- tables ---- */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 600; font-size: 13px; color: var(--ink-2); padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fbfbfc; }
td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #f8f9fb; }
td.r, th.r { text-align: right; }
.plus { color: var(--ok); font-weight: 650; } .minus { color: var(--bad); font-weight: 650; }
.empty { padding: 56px 20px; text-align: center; color: var(--ink-2); }
.empty h3 { color: var(--ink); margin-bottom: 6px; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }

/* ---- upload ---- */
.drop { border: 1.5px dashed var(--line-strong); border-radius: 8px; padding: 34px 20px; text-align: center; background: #fbfbfc; cursor: pointer; transition: border-color .15s, background .15s; display: block; }
.drop:hover, .drop.over { border-color: var(--ink); background: #f3f5f8; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.drop b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.picked { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px 14px; background: var(--surface); }
.cost { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 6px 0 20px; }
.two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mini-list li:last-child { border: 0; }
.mini-list a { font-weight: 600; text-decoration: none; }

/* ---- progress steps (report page) ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 4px 0 24px; list-style: none; padding: 0; }
.steps li { position: relative; padding-top: 22px; font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.steps li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: var(--line); }
.steps li::after { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); }
.steps li.done { color: var(--ink); } .steps li.done::before { background: var(--ink); } .steps li.done::after { background: var(--ink); border-color: var(--ink); }
.steps li.now { color: var(--ink); font-weight: 650; } .steps li.now::after { border-color: var(--accent); background: var(--accent); }

/* ---- source viewer + analysis (report + review) ---- */
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.pane { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.pane + .pane { border-left: 1px solid var(--line); }
.pane-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #fbfbfc; font-weight: 600; min-height: 48px; }
.pane-b { padding: 0; overflow: auto; flex: 1; }
.wrap-wide { max-width: 1680px; }
body.wide .top-in { max-width: 1680px; }
.split-tall { height: calc(100vh - 300px); min-height: 560px; }
.pane-b.v { overflow: hidden; }
.vscroll.grabbing { cursor: grabbing; user-select: none; }
.vimg { -webkit-user-drag: none; user-select: none; }
.vscroll { cursor: grab; height: 100%; overflow: auto; background: #e7eaef; padding: 16px; }
.vwrap { margin: 0 auto; position: relative; }
.vimg { display: block; max-width: none; transform-origin: top left; background: #fff; box-shadow: 0 1px 2px rgba(17,25,38,.12), 0 6px 16px rgba(17,25,38,.08); }
.vframe { width: 100%; height: 100%; min-height: 60vh; border: 0; background: #fff; display: block; }
.zv { min-width: 44px; text-align: center; align-self: center; }
.tools { display: flex; gap: 4px; align-items: center; }
.viewer { background: #e7eaef; display: grid; place-items: start center; padding: 16px; min-height: 100%; }
.viewer img, .viewer svg { max-width: none; transform-origin: top center; background: #fff; box-shadow: 0 1px 2px rgba(17,25,38,.12), 0 6px 16px rgba(17,25,38,.08); transition: transform .2s var(--ease); }
.viewer iframe { width: 100%; height: 100%; min-height: 70vh; border: 0; background: #fff; }
.tools { display: flex; gap: 4px; }
.tools button { min-width: 32px; }
.analysis { padding: 18px 20px 28px; display: grid; gap: 16px; }
.sec label { display: block; font-weight: 650; margin-bottom: 5px; font-size: 14px; }
.sec textarea { min-height: 64px; overflow: hidden; font-size: 14.5px; }
.sec.ro p { white-space: pre-wrap; }
.review-page { overflow: hidden; display: flex; flex-direction: column; height: calc(100dvh - 57px - var(--demo, 0px)); }
.review-page .split { flex: 1; min-height: 0; border-radius: 0; border-left: 0; border-right: 0; }
.review-bar { display: flex; align-items: center; gap: 14px; padding: 10px 20px; background: var(--surface); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.review-foot { display: flex; align-items: center; gap: 12px; padding: 10px 20px; background: var(--surface); border-top: 1px solid var(--line); flex-wrap: wrap; }
.draft-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-ink); }
.draft-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---- tabs / dialog ---- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--ink-2); font-weight: 550; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
dialog { border: 1px solid var(--line-strong); border-radius: 10px; padding: 0; width: min(480px, calc(100vw - 32px)); color: var(--ink); box-shadow: 0 2px 4px rgba(17,25,38,.08), 0 24px 60px rgba(17,25,38,.2); }
dialog::backdrop { background: rgba(17, 25, 38, .45); }
dialog form { padding: 24px; }
dialog h2 { font-size: 1.25rem; margin-bottom: 18px; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.seg label { margin: 0; font-weight: 600; padding: 9px 16px; cursor: pointer; border-right: 1px solid var(--line-strong); }
.seg label:last-child { border: 0; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { background: var(--ink); color: #fff; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -4px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 8px; font-weight: 550; z-index: 100; box-shadow: 0 8px 24px rgba(17,25,38,.3); animation: up .3s var(--ease); }
.toast.bad { background: var(--bad); }
@keyframes up { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ---- landing ---- */
.pub-top { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero { max-width: 1160px; margin: 0 auto; padding: 72px 20px 80px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); margin: 20px 0 30px; max-width: 34ch; line-height: 1.5; }
.hero h1 em { font-style: normal; color: var(--accent); }
.bench { border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); overflow: hidden; box-shadow: 0 1px 2px rgba(17,25,38,.06), 0 18px 40px rgba(17,25,38,.08); }
.bench-bar { display: flex; justify-content: space-between; padding: 9px 14px; border-bottom: 1px solid var(--line); background: #fbfbfc; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.bench-in { display: grid; grid-template-columns: 1.15fr 1fr; }
.bench-l { border-right: 1px solid var(--line); background: #fff; }
.bench-l svg { display: block; width: 100%; height: auto; }
.bench-r { padding: 14px 16px; font-size: 12.5px; line-height: 1.5; display: grid; gap: 10px; align-content: start; }
.bench-r b { display: block; font-size: 12px; }
.bench-r p { color: var(--ink-2); }
.bench-foot { display: flex; gap: 18px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; background: #fbfbfc; }
.bench-foot span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.bench-foot span.on { color: var(--ink); }
.bench-foot span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bench-foot span.ok { color: var(--ok); }
.draw { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.6s var(--ease) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .draw { animation: none; stroke-dashoffset: 0; } .st.run::before { animation: none; } * { transition: none !important; } }
.band { border-top: 1px solid var(--line); background: var(--surface); }
.band.alt { background: var(--ground); }
.sect { max-width: 1160px; margin: 0 auto; padding: 72px 20px; }
.sect > h2 { max-width: 20ch; margin-bottom: 40px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; position: relative; }
.flow li { position: relative; padding-top: 34px; }
.flow li::before { content: ""; position: absolute; top: 7px; left: 0; right: -28px; height: 2px; background: var(--ink); }
.flow li:last-child::before { right: 0; background: linear-gradient(90deg, var(--ink), var(--ink)); }
.flow li::after { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink); }
.flow li:last-child::after { background: var(--accent); border-color: var(--accent); }
.flow h3 { margin-bottom: 6px; }
.flow p { color: var(--ink-2); max-width: 28ch; }
.types { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; margin: 0; }
.types div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.types dt { font-weight: 700; } .types dd { margin: 0; color: var(--ink-2); }
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.models > div { border-top: 3px solid var(--ink); padding-top: 18px; }
.models h3 { font-size: 1.25rem; margin-bottom: 8px; } .models p { color: var(--ink-2); max-width: 44ch; }
.coin-line { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.coin-line strong { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.03em; line-height: 1; }
.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 28px 20px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--ink-2); font-size: 13.5px; }
.foot-in p { max-width: 62ch; }

/* ---- login ---- */
.login { min-height: calc(100vh - 57px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.login-form { display: grid; place-items: center; padding: 40px 24px; }
.login-form > div { width: min(380px, 100%); }
.login-form h1 { font-size: 2rem; margin-bottom: 8px; }
.login-art { border-left: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.login-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.login-art p { position: relative; margin: 0 40px 44px; max-width: 30ch; font-size: 1.35rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; background: #fff; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 8px; }

/* ---- settings ---- */
.asset { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.asset-prev { height: 90px; border: 1px dashed var(--line-strong); border-radius: 8px; display: grid; place-items: center; background: #fbfbfc; overflow: hidden; color: var(--ink-3); font-size: 13px; }
.asset-prev img { max-width: 100%; max-height: 100%; }

@media (max-width: 900px) {
  .hero, .login, .two, .models { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; gap: 36px; } .login-art { display: none; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 36px; } .flow li::before { right: -28px; }
  .types { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; } .pane + .pane { border-left: 0; border-top: 1px solid var(--line); }
  .review-page { height: auto; } .viewer iframe { min-height: 50vh; } .split-tall { height: auto; } .vscroll { height: 65vh; }
  .nav { overflow-x: auto; } .top-in { gap: 12px; } .who { display: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 14px; } .asset { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; } .flow li::before { right: 0; }
  .bench-in { grid-template-columns: 1fr; } .bench-l { border-right: 0; border-bottom: 1px solid var(--line); }
  .types div { grid-template-columns: 80px 1fr; } .brand span { display: none; }
}
.two > * { min-width: 0; }
.pt { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 8px; padding: 0 16px; background: #fbfbfc; }
.pt summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.pt-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 16px; padding-top: 4px; }
.pt-grid .field:nth-child(1) { grid-column: 1 / -1; }
.notice { background: #fff4d6; color: #5b4300; border: 1px solid #ecd48a; border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; }
.notice a { color: inherit; font-weight: 600; }
.nav a { white-space: nowrap; }
[hidden] { display: none !important; }

/* ---- phones ---- */
@media (max-width: 900px) {
  .top { position: static; }
  .top-in { flex-wrap: wrap; height: auto; padding: 10px 16px 0; gap: 8px 12px; }
  .top-r { margin-left: auto; }
  .nav { order: 3; width: 100%; height: 44px; margin: 0 -8px; overflow-x: auto; scrollbar-width: none; }
  .nav a { white-space: nowrap; }
  .btn { white-space: nowrap; }
  .tabs { overflow-x: auto; scrollbar-width: none; }
  .tabs a { white-space: nowrap; }
  .wrap { padding: 20px 16px 56px; }
  .page-h h1 { font-size: 1.4rem; }
  .review-page { overflow: visible; }
  .review-foot { position: sticky; bottom: 0; z-index: 5; box-shadow: 0 -4px 12px rgba(17,25,38,.06); }
  .vscroll { height: 55vh; }
  .row > .grow { flex-basis: 100%; max-width: none !important; }
  .row > div:has(select) { flex: 1 1 140px; }
}
@media (max-width: 700px) {
  .rs thead { display: none; }
  .rs, .rs tbody { display: block; }
  .rs tr { display: block; padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .rs tbody tr:last-child { border-bottom: 0; }
  .rs tbody tr:hover td { background: none; }
  .rs td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 5px 0; border: 0; text-align: right; }
  .rs td::before { content: attr(data-label); color: var(--ink-2); font-size: 13px; font-weight: 600; text-align: left; flex: none; }
  .rs td[data-label=""] { justify-content: flex-end; }
  .rs td[data-label=""]::before { content: none; }
  .rs td[colspan] { display: block; }
  .rs td > .row { flex-wrap: wrap !important; }
  .pager { flex-wrap: wrap; gap: 8px; }
  .asset-prev { width: 100% !important; }
}
