:root {
  --bg: #14110d;
  --bg-2: #1c1812;
  --panel: #221c14;
  --line: rgba(212, 176, 120, 0.18);
  --gold: #d4b078;
  --gold-2: #f0d7a4;
  --ink: #efe6d6;
  --muted: #a89880;
  --danger: #d36a4e;
  --ok: #8fb56a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); }
body {
  font-family: "Figtree", sans-serif;
  background:
    radial-gradient(1000px 500px at 10% -10%, rgba(212, 176, 120, 0.12), transparent 50%),
    radial-gradient(800px 400px at 100% 0%, rgba(120, 70, 30, 0.16), transparent 45%),
    var(--bg);
}
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9;
}
h1, h2, h3, .brand { font-family: "Fraunces", serif; }
button, input, select, textarea { font: inherit; }
a { color: var(--gold); }

.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 28px; }
.wrap-wide { width: min(1480px, calc(100% - 24px)); }
.notice {
  margin: 28px 0 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 28px; letter-spacing: 0.04em; }
.brand small { display: block; font-family: Figtree, sans-serif; font-size: 12px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.nav button, .ghost, .btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.btn {
  background: var(--gold);
  color: #21180f;
  border-color: var(--gold);
  font-weight: 700;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ghost:hover, .nav button:hover { border-color: var(--gold); color: var(--gold-2); }
.ghost.on { border-color: var(--ok); color: var(--ok); }
.nav a.ghost { text-decoration: none; color: var(--ink); display: inline-block; }
.points {
  border: 1px dashed var(--gold);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--gold-2);
}

.hero, .panel, .card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%), var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero { margin: 36px auto; padding: 36px; max-width: 560px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1.2fr 0.8fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 18px; }
.stat b { display: block; font-family: Fraunces, serif; font-size: 32px; color: var(--gold-2); }
.stat span { color: var(--muted); font-size: 13px; }

label { display: block; color: var(--muted); font-size: 13px; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%;
  background: #16130f;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 11px 12px;
  box-sizing: border-box;
}
input, select { height: 44px; }
input[type="file"] { height: auto; }
textarea { min-height: 140px; resize: vertical; height: auto; }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; min-width: 0; }
.user-filter { margin: 8px 0 4px; align-items: end; }
.search-pick { position: relative; }
.search-pick-list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 240px;
  overflow: auto;
  background: #16130f;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.search-pick-list button {
  display: block;
  width: 100%;
  height: auto;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  padding: 10px 12px;
  cursor: pointer;
}
.search-pick-list button:last-child { border-bottom: 0; }
.search-pick-list button:hover { background: rgba(212,176,120,0.08); }
.msg { min-height: 22px; color: var(--danger); font-size: 13px; margin-top: 8px; }
.ok { color: var(--ok); }
.muted { color: var(--muted); }
.ticket {
  font-family: Fraunces, serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  padding: 14px;
  border: 1px dashed var(--gold);
  border-radius: 12px;
  background: repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(212,176,120,0.05) 8px, rgba(212,176,120,0.05) 16px);
}

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); }
.tag.ok { color: var(--ok); border-color: var(--ok); }
.tag.warn { color: var(--gold); border-color: var(--gold); }
.tag.bad { color: var(--danger); border-color: var(--danger); }
td.neg { color: var(--danger); font-weight: 600; }

.files { display: flex; flex-direction: column; gap: 8px; }
.files span { font-size: 12px; color: var(--muted); }
.file-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
}
.file-card span { color: var(--gold-2); }
.task-fold { margin-top: 12px; width: 100%; }
.report-tail {
  margin-top: 14px;
  border-style: dashed;
}
.mini-fold { margin-top: 6px; width: auto; padding: 4px 10px; font-size: 12px; }
.task-detail-row > td { background: rgba(212, 176, 120, 0.04); }
.task-detail { padding: 6px 2px 10px; min-width: 0; }
.task-detail label { margin-top: 10px; }
.td-prompt { margin: 4px 0 0; max-height: 260px; overflow: auto; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 13px; line-height: 1.7; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, 0.25); }
.td-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.td-imgs a { position: relative; display: block; width: 92px; height: 92px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #000; }
.td-imgs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.td-imgs span { position: absolute; left: 0; right: 0; bottom: 0; font-size: 11px; padding: 2px 6px; background: rgba(0, 0, 0, 0.65); color: #fff; }
.td-media { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.td-media span { font-size: 12px; color: var(--muted); min-width: 52px; }
.td-media audio { height: 34px; flex: 1; min-width: 200px; }
.td-media video { max-width: 100%; width: 320px; max-height: 220px; border-radius: 10px; background: #000; }
.table-wrap { overflow-x: auto; }
.job-table { table-layout: fixed; }
.job-table th:nth-child(1) { width: 72px; }
.job-table th:nth-child(2) { width: 150px; }
.job-table th:nth-child(3) { width: 118px; }
.job-table th:nth-child(4) { width: 26%; }
.job-table th:nth-child(5) { width: 18%; }
.job-table th:nth-child(6) { width: 22%; }
.cell-clip {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  word-break: break-all;
}
.model-assign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 12px;
  margin: 10px 0 14px;
}
.model-assign-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
}
.model-assign-grid input { width: auto; height: auto; }
.acts button { padding: 6px 10px; font-size: 12px; }
table select { width: auto; min-width: 88px; height: auto; padding: 6px 8px; }

.docs { display: grid; grid-template-columns: 200px 1fr; gap: 28px; margin: 28px 0 64px; }
.docs-side { position: sticky; top: 20px; align-self: start; display: flex; flex-direction: column; gap: 10px; }
.docs-side a { color: var(--muted); text-decoration: none; }
.docs-side a:hover { color: var(--gold-2); }
.docs-main h1 { font-size: 36px; margin: 0 0 12px; }
.docs-main h2 { margin: 32px 0 10px; }
.docs-main p, .docs-main li { line-height: 1.7; color: #ddd4c4; }
.docs-main pre {
  background: #100e0b;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  overflow: auto;
}
.docs-main code, .ticket code { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; }
.callout {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  background: rgba(212, 176, 120, 0.06);
  line-height: 1.8;
}
.ghost.on, .nav button.on {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(212, 176, 120, 0.12);
}
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card-head h2 { margin: 0; }
.card-head .muted { margin: 6px 0 10px; }
.card-head .mini-fold { margin-top: 2px; flex: 0 0 auto; }
.report-filter { align-items: end; margin-top: 8px; }
.report-filter .row { flex-wrap: wrap; }
.click-row { cursor: pointer; }
.click-row:hover, .click-row.on { background: rgba(212, 176, 120, 0.08); }
.person-detail {
  margin: 4px 0 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 14, 11, 0.45);
}
.person-detail b { color: var(--gold-2); }
.inner-table { margin-top: 10px; }
.inner-table th:nth-child(2), .inner-table td:nth-child(2),
.inner-table th:nth-child(3), .inner-table td:nth-child(3) { width: 120px; }

.danger-btn {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
}

.au-bench { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 14px; margin: 16px 0 28px; align-items: start; }
.au-side, .au-main, .au-config, .au-script-box, .au-asset, .au-shot {
  background: #10181c;
  border: 1px solid rgba(70, 210, 196, 0.18);
  color: #e7f6f3;
}
.au-side { border-radius: 18px; padding: 12px; min-height: 72vh; display: flex; flex-direction: column; position: sticky; top: 12px; }
.au-side .btn, .au-config .btn { background: #2ec8b8; color: #04221e; border-color: #2ec8b8; }
.au-side-label { margin: 16px 4px 6px; color: #8eb8b2; font-size: 12px; letter-spacing: 0.08em; }
.au-fold-lab { margin-bottom: 4px; }
.au-fold {
  background: transparent; border: 0; color: #8eb8b2; font: inherit; letter-spacing: 0.08em;
  cursor: pointer; padding: 0; text-align: left;
}
.au-fold:hover { color: #2ec8b8; }
.au-h-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.au-h-row .au-h { margin: 0; }
.au-batch-dl { display: flex; gap: 8px; flex-wrap: wrap; }
.au-list { display: flex; flex-direction: column; gap: 8px; overflow: auto; max-height: 42vh; }
.au-proj, .au-ep {
  width: 100%;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(70, 210, 196, 0.16);
  background: #0c1418;
  color: #d7eee9;
  padding: 10px 12px;
  cursor: pointer;
}
.au-proj.on, .au-ep.on { border-color: #2ec8b8; box-shadow: inset 0 0 0 1px #2ec8b8; }
.au-ep { display: flex; flex-direction: column; gap: 2px; }
.au-ep small { color: #8eb8b2; font-size: 12px; }
.au-side-foot { margin-top: auto; padding-top: 12px; }
.au-main { min-width: 0; }
.au-config { border-radius: 18px; padding: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.au-model-sm select { font-size: 13px; }
.au-sidekick { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.au-sidekick .btn { height: 36px; border-radius: 10px; }
.au-primary-runs { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 8px; align-items: stretch; }
.au-primary-runs .btn,
.au-primary-runs .ghost { height: 44px; border-radius: 10px; white-space: nowrap; padding: 0 10px; }
.au-primary-runs .ghost { border-color: rgba(70, 210, 196, 0.28); color: #d7eee9; }
.au-config .au-skill { min-width: 0; }
.au-config .au-skill span { display: block; color: #8eb8b2; font-size: 13px; margin-bottom: 6px; }
.au-config .btn { flex: 0 0 auto; height: 44px; }
.au-status { margin: 12px 2px; color: #b7ddd6; }
.au-actions { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 12px; }
.au-steps, .au-runs { display: grid; gap: 8px; }
.au-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.au-runs { grid-template-columns: 1fr 1fr; width: 100%; max-width: none; }
.au-actions button { height: 40px; border-radius: 10px; white-space: nowrap; }
.au-steps button { background: #143238; border-color: rgba(46, 200, 184, 0.28); color: #e7f6f3; }
.au-steps button:disabled { opacity: 0.35; }
.au-runs .au-run-one { color: #9ff3ea; border-color: rgba(46, 200, 184, 0.55); }
.au-runs .au-refresh { font-size: 15px; }
.au-actions .ghost { border-color: rgba(70, 210, 196, 0.28); color: #d7eee9; }
.au-script-box { border-radius: 18px; padding: 12px 14px; margin: 12px 0; }
.au-script-box summary { cursor: pointer; color: #d7eee9; }
.au-manual-box textarea { min-height: 160px; width: 100%; margin-top: 6px; }
.au-manual-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.au-manual-row .ghost { display: inline-flex; align-items: center; gap: 6px; }
#au-manual-report { margin: 10px 0 0; }
.mb-hero { margin: 4px 0 16px; }
.mb-hero h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: 0.02em; }
.mb-panel { margin-top: 0; }
.mb-panel .btn { cursor: pointer; }
.mb-panel code { color: #9ff3ea; }
.au-batch-dl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.au-dl-busy { border-color: rgba(255, 196, 90, 0.7) !important; color: #ffd27a !important; }
.au-dl-done { border-color: rgba(90, 210, 140, 0.7) !important; color: #9ff3c2 !important; }
.au-dl-bar {
  flex: 1 1 180px; min-width: 160px; max-width: 320px;
  height: 28px; position: relative; border-radius: 8px;
  background: rgba(12, 28, 26, 0.9); border: 1px solid rgba(70, 210, 196, 0.25);
  overflow: hidden; display: flex; align-items: center;
}
.au-dl-bar-inner {
  position: absolute; left: 0; top: 0; bottom: 0; width: 35%;
  background: linear-gradient(90deg, rgba(46, 200, 184, 0.25), rgba(46, 200, 184, 0.55));
  transition: width .25s ease;
}
.au-dl-bar-inner.indeterminate { animation: au-dl-slide 1.1s ease-in-out infinite; }
.au-dl-bar span {
  position: relative; z-index: 1; padding: 0 10px; font-size: 12px; color: #d7eee9;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@keyframes au-dl-slide {
  0% { transform: translateX(-100%); width: 40%; }
  50% { width: 55%; }
  100% { transform: translateX(280%); width: 40%; }
}
.au-h { margin: 18px 0 10px; font-size: 22px; }
.au-assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.au-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.au-asset, .au-shot { border-radius: 16px; overflow: hidden; }
.au-zoom { display: block; width: 100%; padding: 0; border: 0; background: #0b1216; cursor: zoom-in; }
.au-asset img, .au-ph { width: 100%; height: 210px; object-fit: contain; display: flex; align-items: center; justify-content: center; background: #0b1216; color: #8eb8b2; }
.au-lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.82); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; }
.au-lightbox img { max-width: min(1200px, 94vw); max-height: 82vh; object-fit: contain; background: #fff; border-radius: 8px; }
.au-lightbox p { margin: 0; color: #e7f6f3; }
.au-item { display: flex; gap: 6px; align-items: stretch; }
.au-item .au-proj, .au-item .au-ep { flex: 1; min-width: 0; }
.au-x { width: 32px; flex: 0 0 32px; border-radius: 10px; border: 1px solid rgba(211, 106, 78, 0.5); background: transparent; color: #f0b2a2; cursor: pointer; font-size: 18px; line-height: 1; }
.au-asset-body, .au-shot { padding: 10px; }
.au-asset-body b, .au-shot-top b { display: block; }
.au-asset-body span, .au-shot .muted { color: #8eb8b2; font-size: 12px; }
.au-asset textarea { min-height: 72px; margin-top: 8px; }
.au-asset-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.au-shot-editor { margin-top: 12px; border-top: 1px solid #275955; padding-top: 10px; }
.au-shot-editor summary { cursor: pointer; color: #bce6df; }
.au-shot-editor textarea { min-height: 240px; margin-top: 10px; }
.au-reference-picker { display: grid; gap: 6px; max-height: 280px; overflow: auto; }
.au-reference-picker label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 5px; border: 1px solid #275955; border-radius: 8px; }
.au-reference-picker input { width: auto; flex: 0 0 auto; }
.au-reference-picker img { width: 44px; height: 34px; object-fit: cover; border-radius: 4px; }
.au-asset-actions .ghost, .au-shot .ghost { padding: 6px 10px; }
.au-shot-actions, .au-shot-audio { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.au-shot-audio audio { width: 100%; max-height: 36px; }
.au-shot video { width: 100%; max-height: 220px; background: #000; border-radius: 10px; }
.au-shot pre { max-height: 140px; overflow: auto; white-space: pre-wrap; }
.au-setup-card { width: min(760px, 100%); max-height: 88vh; overflow: auto; background: #10181c; color: #e7f6f3; }
#au-log { max-height: 280px; overflow: auto; margin: 8px 0 0; padding: 10px; border-radius: 8px; background: #0b1216; color: #d7eee9; font-size: 13px; line-height: 1.55; white-space: pre-wrap; }

@media (max-width: 1200px) {
  .au-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .au-bench, .au-steps, .au-runs, .au-shots, .au-config, .au-primary-runs { grid-template-columns: 1fr; }
  .au-runs { max-width: none; }
  .au-side { position: static; min-height: 0; }
  .grid-2, .grid-3, .grid-4, .row { grid-template-columns: 1fr; display: grid; }
  .top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .docs { grid-template-columns: 1fr; }
  .docs-side { position: static; flex-direction: row; flex-wrap: wrap; }
}

.report-day-total td { background: rgba(214, 178, 106, 0.08); border-top: 1px solid rgba(214, 178, 106, 0.25); }

/* ---- points card (2026-11-18) ---- */
.mp-card { padding: 22px 24px; }
.mp-card h2 { margin: 0 0 6px; }
.mp-sub { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.mp-filter {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.mp-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.mp-presets .ghost { padding: 7px 16px; border-radius: 999px; font-size: 13px; line-height: 1.2; }
.mp-presets .ghost.on { border-color: var(--ok); color: var(--ok); background: rgba(30, 132, 73, 0.14); }
.mp-field { display: flex; flex-direction: column; gap: 6px; }
.mp-field label { margin: 0; font-size: 12px; color: var(--muted); }
.mp-field input, .mp-field select { height: 36px; }
.mp-field-wide { flex: 1 1 160px; min-width: 150px; }
.mp-actions { display: flex; gap: 8px; margin-left: auto; }
.mp-actions .btn, .mp-actions .ghost { height: 36px; padding: 0 18px; }
.mp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 12px; margin: 18px 0 4px; }
.mp-stat { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: rgba(255, 255, 255, 0.025); }
.mp-stat span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.mp-stat b { font-family: Fraunces, serif; font-size: 24px; line-height: 1.2; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.mp-stat small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.mp-stat.pos b { color: var(--ok); }
.mp-stat.neg b { color: var(--danger); }
.mp-section-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 24px 0 10px; }
.mp-section-title h3 { margin: 0; font-size: 15px; }
.mp-section-title .muted { font-size: 12px; }
.mp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mp-table th { text-align: left; color: var(--muted); font-weight: 500; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mp-table td { padding: 9px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); vertical-align: middle; }
.mp-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.mp-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mp-pos { color: var(--ok); }
.mp-neg { color: var(--danger); }
.mp-empty { color: var(--muted); text-align: center; padding: 24px 0; }
.mp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.mp-pager { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.mp-pager .muted { flex: 1; font-size: 13px; }
@media (max-width: 720px) {
  .mp-actions { margin-left: 0; width: 100%; }
  .mp-actions .btn, .mp-actions .ghost { flex: 1; }
}
