/* REA 工作台 — 浅色“反汇编清单”风格：冷灰纸面、墨色文字、钴蓝操作色，状态以左侧地址栏色条表示。 */

:root {
  --paper: #f3f5f7;
  --panel: #ffffff;
  --ink: #18202b;
  --ink-2: #4a5566;
  --ink-3: #6b7685;
  --rule: #d6dce3;
  --rule-soft: #e7ebf0;
  --gutter: #e9edf2;
  --gutter-ink: #3e4a5c;
  --chrome: #1d2633;
  --chrome-ink: #e6ebf2;

  --cobalt: #2346c8;
  --cobalt-hover: #1b379e;
  --cobalt-tint: #e8edfc;
  --teal: #0f6e52;
  --teal-tint: #e2f3eb;
  --amber: #8a5300;
  --amber-tint: #fff2db;
  --vermilion: #b4232a;
  --vermilion-tint: #fdeced;
  --slate: #5b6675;
  --slate-tint: #eceff3;

  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", "Menlo", "Consolas", "Liberation Mono", monospace;

  --r-panel: 8px;
  --r-ctl: 5px;
  --focus: 0 0 0 3px rgba(35, 70, 200, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--cobalt); }
a:hover { color: var(--cobalt-hover); }
code, pre, .mono-num { font-family: var(--mono); }
code { font-size: 0.92em; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
h1 { font-size: 1.5rem; font-weight: 650; }
.muted { color: var(--ink-2); }
.small { font-size: 0.85rem; }
.mono-num { font-variant-numeric: tabular-nums; font-size: 0.9em; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; z-index: 50; }
.skip-link:focus { left: 8px; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--chrome); color: var(--chrome-ink); }
.topbar-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 24px; height: 56px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  background: var(--cobalt); color: #fff; height: 28px; padding: 0 8px; border-radius: 4px;
}
.brand-mark-lg { height: 44px; padding: 0 12px; font-size: 1.25rem; border-radius: 6px; }
.brand-name { font-weight: 600; }
.mainnav { display: flex; gap: 4px; flex: 1; }
.mainnav a {
  color: #b9c3d1; text-decoration: none; padding: 6px 12px; border-radius: var(--r-ctl);
  min-height: 36px; display: inline-flex; align-items: center;
}
.mainnav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.mainnav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.12); }
.logout { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.whoami { color: #b9c3d1; font-size: 0.9rem; }

/* ---------- 布局 ---------- */
.page { max-width: 1440px; margin: 0 auto; padding: 24px; }
.panel {
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-panel);
  padding: 20px;
}
.panel-title { font-size: 1.05rem; font-weight: 650; margin-bottom: 14px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

.dash { display: grid; grid-template-columns: minmax(300px, 360px) 1fr; gap: 20px; align-items: start; }

/* ---------- 按钮与表单 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid transparent;
  font: inherit; font-weight: 550; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn:disabled { cursor: not-allowed; opacity: 0.55; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--cobalt-hover); color: #fff; }
.btn-secondary { background: var(--panel); color: var(--ink); border-color: var(--rule); }
.btn-secondary:hover:not(:disabled) { border-color: var(--ink-3); color: var(--ink); }
.btn-danger { background: var(--panel); color: var(--vermilion); border-color: #e7b7ba; }
.btn-danger:hover:not(:disabled) { background: var(--vermilion); color: #fff; border-color: var(--vermilion); }
.btn-quiet { background: transparent; color: #d6dde7; border-color: rgba(255, 255, 255, 0.22); min-height: 34px; }
.btn-quiet:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.form-stack { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-label { font-weight: 600; font-size: 0.92rem; }
.field-help { color: var(--ink-2); font-size: 0.84rem; }
input[type="text"], input[type="password"], input[type="search"] {
  font: inherit; color: var(--ink); background: var(--panel);
  border: 1px solid #b9c2cd; border-radius: var(--r-ctl); padding: 8px 12px; min-height: 42px; width: 100%;
}
input:focus-visible { border-color: var(--cobalt); }
.inline-field { display: flex; gap: 8px; }
.inline-field input { font-family: var(--mono); }
.form-error { color: var(--vermilion); margin: 8px 0 0; font-size: 0.9rem; }

.alert { padding: 10px 14px; border-radius: var(--r-ctl); border: 1px solid; margin: 0 0 16px; }
.alert-error { background: var(--vermilion-tint); border-color: #f0c2c5; color: #8d1b21; }
.alert-warn { background: var(--amber-tint); border-color: #efd29e; color: #6d4100; }
.alert-info { background: var(--cobalt-tint); border-color: #c5d0f5; color: #1b379e; }

.banner { margin: 0 0 20px; padding: 12px 16px; border-radius: var(--r-ctl); }
.banner-error { background: var(--vermilion-tint); color: #8d1b21; border: 1px solid #f0c2c5; }

/* ---------- 登录 / 改密码 ---------- */
.auth-page { min-height: calc(100vh - 56px); display: grid; place-items: center; padding: 32px 16px; }
body[data-page="login"] .auth-page { min-height: 100vh; }
.auth-card {
  width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--rule);
  border-radius: var(--r-panel); padding: 32px 28px;
}
.auth-card h1 { margin-bottom: 8px; }
.auth-brand { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.auth-brand h1 { font-size: 1.35rem; margin-bottom: 4px; }
.auth-brand p { margin: 0; font-size: 0.9rem; }
.auth-foot { margin: 20px 0 0; font-size: 0.82rem; }

/* ---------- 上传 ---------- */
.upload-form { display: grid; gap: 16px; }
.dropzone {
  display: grid; justify-items: center; gap: 4px; text-align: center; cursor: pointer;
  padding: 28px 16px; border: 1.5px dashed #aab4c1; border-radius: var(--r-panel);
  background: #fafbfc; transition: border-color 150ms ease, background-color 150ms ease;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--cobalt); background: var(--cobalt-tint); }
.dropzone:focus-within { box-shadow: var(--focus); }
.dropzone.has-file { border-style: solid; border-color: var(--cobalt); background: #f6f8fe; }
.dropzone-icon { width: 28px; height: 28px; color: var(--cobalt); }
.dropzone-main { font-weight: 600; }
.dropzone-sub { color: var(--ink-2); font-size: 0.86rem; word-break: break-all; }

.accept-list { margin: 0; display: grid; gap: 6px; font-size: 0.86rem; }
.accept-list div { display: grid; grid-template-columns: 4.2em 1fr; gap: 8px; }
.accept-list dt { color: var(--ink-2); }
.accept-list dd { margin: 0; }
.accept-list code { background: var(--slate-tint); padding: 0 4px; border-radius: 3px; }

.upload-progress { display: flex; align-items: center; gap: 10px; }
.upload-progress progress { flex: 1; height: 8px; appearance: none; border: 0; border-radius: 4px; background: var(--slate-tint); overflow: hidden; }
.upload-progress progress::-webkit-progress-bar { background: var(--slate-tint); }
.upload-progress progress::-webkit-progress-value { background: var(--cobalt); transition: width 150ms linear; }
.upload-progress progress::-moz-progress-bar { background: var(--cobalt); }
.upload-progress span { min-width: 4em; text-align: right; color: var(--ink-2); }

.meter-list { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--rule-soft); display: grid; gap: 6px; font-size: 0.88rem; }
.meter-list div { display: flex; justify-content: space-between; gap: 12px; }
.meter-list dt { color: var(--ink-2); }
.meter-list dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- 任务清单（地址栏 + 状态色条） ---------- */
.listing-panel { padding: 20px 0 8px; }
.listing-panel .panel-head { padding: 0 20px; }
.listing-head, .listing-row {
  display: grid;
  grid-template-columns: 96px minmax(180px, 1fr) 92px 88px 150px 168px;
  align-items: center; column-gap: 16px;
}
.listing-head {
  padding: 6px 20px 6px 0; font-size: 0.8rem; color: var(--ink-3); border-bottom: 1px solid var(--rule);
}
.listing-head span:first-child { padding-left: 20px; }
.listing-rows { list-style: none; margin: 0; padding: 0; }
.listing-row {
  color: inherit; text-decoration: none; padding-right: 20px; min-height: 56px;
  border-bottom: 1px solid var(--rule-soft);
}
.listing-row:hover { background: #f7f9fc; color: inherit; }
.listing-row:focus-visible { border-radius: 0; box-shadow: inset 0 0 0 2px var(--cobalt); }
.gutter {
  align-self: stretch; display: flex; align-items: center;
  font-family: var(--mono); font-size: 0.82rem; color: var(--gutter-ink);
  background: var(--gutter); padding: 0 12px 0 16px; border-left: 4px solid var(--slate);
}
.status-queued .gutter { border-left-color: var(--slate); }
.status-running .gutter { border-left-color: var(--amber); }
.status-succeeded .gutter { border-left-color: var(--teal); }
.status-failed .gutter, .status-timeout .gutter { border-left-color: var(--vermilion); }
.status-cancelled .gutter, .status-interrupted .gutter, .status-none .gutter { border-left-color: #a6afbb; }
.listing-row.is-new .gutter { background: var(--cobalt-tint); }
.cell-name { display: grid; min-width: 0; padding: 8px 0; }
.cell-name .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-name .sub { font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-time { font-size: 0.85rem; font-variant-numeric: tabular-nums; }

.empty { padding: 40px 20px; text-align: center; }
.empty-title { font-weight: 600; margin: 0 0 4px; }
.empty p { margin: 0 0 4px; }

/* ---------- 标签 ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600;
  padding: 2px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.6;
}
.chip-queued { background: var(--slate-tint); color: #3d4757; }
.chip-running { background: var(--amber-tint); color: var(--amber); }
.chip-succeeded { background: var(--teal-tint); color: var(--teal); }
.chip-failed, .chip-timeout { background: var(--vermilion-tint); color: var(--vermilion); }
.chip-cancelled, .chip-interrupted, .chip-none { background: var(--slate-tint); color: var(--slate); }
.chip-running::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  animation: blink 1.2s ease-in-out infinite;
}

.kind-tag {
  display: inline-block; font-family: var(--mono); font-size: 0.78rem; padding: 1px 7px;
  border: 1px solid var(--rule); border-radius: 3px; color: var(--gutter-ink); background: #fafbfc;
}
.kind-javascript { border-color: #d9c98a; background: #fffbea; color: #6e5800; }

/* ---------- 任务详情 ---------- */
.task-head { margin-bottom: 20px; }
.backlink { display: inline-block; font-size: 0.9rem; margin-bottom: 8px; text-decoration: none; }
.backlink::before { content: "‹ "; }
.task-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.task-title { font-size: 1.45rem; overflow-wrap: anywhere; }
.task-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 12px 0 16px; font-size: 0.88rem; }
.task-meta div { display: flex; gap: 8px; min-width: 0; }
.task-meta dt { color: var(--ink-2); }
.task-meta dd { margin: 0; }
.meta-wide { flex-basis: 100%; }
.hash { overflow-wrap: anywhere; font-size: 0.82rem; }
.task-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.task-layout { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
.runs-panel { padding: 20px 0 8px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.runs-panel .panel-title { padding: 0 20px; }
.run-list { list-style: none; margin: 0; padding: 0; }
.run-item {
  width: 100%; display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto auto;
  column-gap: 12px; text-align: left; font: inherit; color: inherit; background: transparent;
  border: 0; border-bottom: 1px solid var(--rule-soft); padding: 0 16px 0 0; cursor: pointer; min-height: 64px;
}
.run-item .gutter { grid-row: 1 / span 2; }
.run-item .run-main { display: grid; padding-top: 10px; min-width: 0; }
.run-item .chip { justify-self: start; margin: 4px 0 10px; grid-column: 2; }
.run-item:hover { background: #f7f9fc; }
.run-item[aria-current="true"] { background: var(--cobalt-tint); }
.run-item[aria-current="true"] .gutter { background: #d9e1fa; }
.run-item:focus-visible { border-radius: 0; box-shadow: inset 0 0 0 2px var(--cobalt); }
.run-action { font-weight: 600; display: flex; gap: 6px; align-items: baseline; min-width: 0; }
.run-target { font-weight: 400; color: var(--cobalt); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.run-meta { font-size: 0.8rem; }

.result-panel { min-width: 0; }
.result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.result-head .panel-title { margin-bottom: 2px; overflow-wrap: anywhere; }
.result-head p { margin: 0; }
.result-tools { display: flex; gap: 8px; flex-wrap: wrap; }

.run-status { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-ctl); border-left: 4px solid var(--slate); background: var(--slate-tint); }
.run-status p { margin: 0; }
.run-status p + p { margin-top: 4px; }
.run-status-running { border-left-color: var(--amber); background: var(--amber-tint); }
.run-status-succeeded { border-left-color: var(--teal); background: var(--teal-tint); }
.run-status-failed, .run-status-timeout { border-left-color: var(--vermilion); background: var(--vermilion-tint); }
.status-line { display: flex; align-items: center; gap: 10px; }
.status-strong { font-weight: 600; overflow-wrap: anywhere; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; animation: blink 1.2s ease-in-out infinite; }

.tabs { display: flex; gap: 2px; margin-top: 20px; border-bottom: 1px solid var(--rule); overflow-x: auto; }
.tabs [role="tab"] {
  font: inherit; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 10px 14px; min-height: 44px; color: var(--ink-2); cursor: pointer; white-space: nowrap;
}
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--cobalt); font-weight: 600; }
.view { padding-top: 16px; }
.view-title { font-size: 0.95rem; margin: 20px 0 4px; }
.view-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.view-toolbar .btn { margin-left: auto; }
.filter-input { max-width: 320px; }

.kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 20px; margin: 0; }
.kv-grid dt { font-size: 0.8rem; color: var(--ink-2); }
.kv-grid dd { margin: 2px 0 0; font-family: var(--mono); font-size: 0.9rem; overflow-wrap: anywhere; }
.kv-grid dd .chip { font-family: var(--sans); }

.field-table { margin: 8px 0 0; border-top: 1px solid var(--rule-soft); }
.field-table div { display: grid; grid-template-columns: minmax(120px, 240px) 1fr; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--rule-soft); }
.field-table dt { min-width: 0; overflow-wrap: anywhere; }
.field-table dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-ctl); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th { text-align: left; font-weight: 600; color: var(--ink-2); background: #f7f9fb; padding: 8px 12px; border-bottom: 1px solid var(--rule); position: sticky; top: 0; }
.data-table td { padding: 6px 12px; border-bottom: 1px solid var(--rule-soft); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.fn-name { font-family: var(--mono); overflow-wrap: anywhere; }
.data-table .path { color: var(--ink-3); font-size: 0.8rem; overflow-wrap: anywhere; }
.cell-action { text-align: right; width: 1%; white-space: nowrap; }

.code {
  margin: 0; padding: 14px 16px; background: #f7f8fa; border: 1px solid var(--rule); border-radius: var(--r-ctl);
  font-size: 0.84rem; line-height: 1.55; overflow: auto; tab-size: 4; color: #1f2733;
}
.code-raw { max-height: 70vh; }
.code-inline { padding: 8px 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-block { margin: 0 0 20px; }
.code-block figcaption { font-size: 0.82rem; color: var(--ink-2); margin-bottom: 6px; }
.code-block .code { max-height: 75vh; }

.decompile-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule-soft); }

.dialog { border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 24px; max-width: 440px; width: calc(100% - 32px); color: var(--ink); }
.dialog::backdrop { background: rgba(24, 32, 43, 0.45); }
.dialog h2 { font-size: 1.15rem; margin-bottom: 8px; }
.dialog p { margin: 0 0 20px; color: var(--ink-2); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- 运行状态页 ---------- */
.health-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.health-head p { margin: 6px 0 0; }
.health-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.health-state { display: flex; align-items: center; gap: 8px; font-weight: 650; margin: 0 0 12px; }
.health-state .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.health-state.is-ok { color: var(--teal); }
.health-state.is-ok .dot { background: var(--teal); }
.health-state.is-bad { color: var(--vermilion); }
.health-state.is-bad .dot { background: var(--vermilion); }
.health-state.is-warn { color: var(--amber); }
.health-state.is-warn .dot { background: var(--amber); }
.check-list { list-style: none; margin: 10px 0; padding: 0; font-size: 0.86rem; display: grid; gap: 4px; }
.check-list li { overflow-wrap: anywhere; padding-left: 14px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; }
.check-list li.is-ok::before { background: var(--teal); }
.check-list li.is-bad::before { background: var(--vermilion); }
.check-list li.is-unknown::before { background: var(--amber); }
meter { width: 100%; height: 10px; margin: 0 0 14px; }

.error-panel { max-width: 560px; margin: 48px auto; text-align: center; padding: 40px 24px; }
.error-code { font-family: var(--mono); font-size: 2.6rem; color: var(--ink-3); margin: 0 0 8px; }
.error-panel h1 { font-size: 1.15rem; margin-bottom: 24px; }

/* ---------- 提示 ---------- */
.toast-region { position: fixed; right: 20px; bottom: 20px; display: grid; gap: 8px; z-index: 40; max-width: min(420px, calc(100vw - 40px)); }
.toast {
  background: var(--chrome); color: #fff; padding: 12px 16px; border-radius: var(--r-ctl);
  border-left: 4px solid var(--cobalt); box-shadow: 0 6px 24px rgba(24, 32, 43, 0.22);
  animation: toast-in 180ms ease-out; transition: opacity 300ms ease, transform 300ms ease;
}
.toast-success { border-left-color: #3fbf8f; }
.toast-error { border-left-color: #f0646b; }
.toast-out { opacity: 0; transform: translateY(6px); }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .listing-head, .listing-row { grid-template-columns: 96px minmax(160px, 1fr) 84px 140px; }
  .listing-head span:nth-child(4), .listing-head span:nth-child(6),
  .cell-size, .cell-time { display: none; }
  .health-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .dash, .task-layout { grid-template-columns: 1fr; }
  .runs-panel { position: static; max-height: none; }
  .health-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page { padding: 16px 12px; }
  .topbar-inner { padding: 0 12px; gap: 12px; height: auto; min-height: 56px; flex-wrap: wrap; }
  .mainnav { order: 3; flex-basis: 100%; overflow-x: auto; padding-bottom: 6px; }
  .whoami { display: none; }
  .panel { padding: 16px; }
  .listing-panel { padding: 16px 0 4px; }
  .listing-head { display: none; }
  .listing-row { grid-template-columns: 80px minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 2px; padding-right: 12px; }
  .listing-row .gutter { grid-row: 1 / span 2; }
  .cell-name { padding-bottom: 0; }
  .cell-kind { display: none; }
  .cell-status { grid-column: 2; padding-bottom: 10px; }
  .field-table div { grid-template-columns: 1fr; gap: 2px; }
  .inline-field { flex-direction: column; }
  .result-tools { width: 100%; }
}

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