:root {
  --bg: #0e1014; --panel: #161920; --panel2: #1d2129; --panel3: #252a34; --line: #2b313c; --line2: #384050;
  --text: #e8ebf1; --muted: #a0a8b6; --dim: #6f7787;
  --ok: #3fb950; --ok-2: #2ea043; --ok-bg: rgba(63, 185, 80, .15);
  --bad: #f85149; --bad-2: #da3633; --bad-bg: rgba(248, 81, 73, .15);
  --warn: #d29922; --warn-bg: rgba(210, 153, 34, .15);
  --accent: #58a6ff; --accent-bg: rgba(88, 166, 255, .15);
  --lock: #a371f7; --lock-bg: rgba(163, 113, 247, .15);
  --radius: 10px;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-size: 14px; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
input, select, textarea { font: inherit; color: var(--text); background: var(--panel2); border: 1px solid var(--line2);
  border-radius: 8px; padding: 7px 10px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
kbd { font: 11px/1 ui-monospace, Consolas, monospace; padding: 2px 5px; border-radius: 4px; border: 1px solid var(--line2);
  background: var(--panel3); color: var(--muted); }
a { color: var(--accent); }
.muted { color: var(--muted); } .dim { color: var(--dim); }
[hidden] { display: none !important; }

/* Header -------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 20; height: 54px; display: flex; align-items: center; gap: 22px; padding: 0 18px;
  background: rgba(14, 16, 20, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 15px; white-space: nowrap; }
.logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--ok); color: #fff; font-size: 15px; }
nav { display: flex; gap: 4px; }
nav button { background: none; border: 0; padding: 8px 12px; border-radius: 8px; color: var(--muted); display: flex; gap: 7px; align-items: center; }
nav button:hover { background: var(--panel2); color: var(--text); }
nav button.on { background: var(--panel3); color: var(--text); }
nav b { font-weight: 600; font-size: 12px; min-width: 20px; padding: 1px 6px; border-radius: 10px; background: var(--panel3); color: var(--muted); }
nav button.on b { background: var(--accent-bg); color: var(--accent); }
nav b.alert { background: var(--warn-bg); color: var(--warn); }
.right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line2); background: var(--panel); font-size: 15px; }
.icon:hover { background: var(--panel2); }
.who { color: var(--muted); font-size: 13px; padding-left: 4px; white-space: nowrap; }
.sync { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line2);
  background: var(--panel); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.sync::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.sync.pending::before { background: var(--warn); animation: pulse 1.2s infinite; }
.sync.error { color: var(--bad); border-color: var(--bad); }
.sync.error::before { background: var(--bad); }
.sync.off::before { background: var(--dim); }
@keyframes pulse { 50% { opacity: .3; } }
.banner { padding: 9px 18px; background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid var(--line); font-size: 13px; }
.banner.bad { background: var(--bad-bg); color: var(--bad); }

main { padding: 16px 18px 40px; max-width: 1800px; margin: 0 auto; }

/* Toolbar --------------------------------------------------------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.toolbar .grow { flex: 1; }
.toolbar input[type=search] { width: 230px; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 8px; overflow: hidden; }
.seg button { background: var(--panel); border: 0; padding: 6px 10px; color: var(--muted); }
.seg button + button { border-left: 1px solid var(--line2); }
.seg button.on { background: var(--panel3); color: var(--text); }
.count { color: var(--muted); font-size: 13px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line2);
  background: var(--panel2); font-weight: 550; }
.btn:hover:not(:disabled) { background: var(--panel3); }
.btn.ok { background: var(--ok-2); border-color: var(--ok-2); color: #fff; }
.btn.ok:hover:not(:disabled) { background: var(--ok); }
.btn.bad { background: var(--bad-2); border-color: var(--bad-2); color: #fff; }
.btn.bad:hover:not(:disabled) { background: var(--bad); }
.btn.ghost { background: none; }
.btn.big { padding: 12px 18px; font-size: 15px; justify-content: center; }
.btn kbd { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.25); color: inherit; }

/* Review grid ------------------------------------------------------------------------------ */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  outline: none; transition: border-color .12s, box-shadow .12s; }
.tile.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-bg); }
.tile .media { position: relative; aspect-ratio: 16 / 9; background: #000; cursor: zoom-in; }
.tile video, .tile img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.badges { position: absolute; bottom: 8px; left: 8px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.badge { font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: rgba(0,0,0,.65); color: #dfe4ec; }
.badge.re { background: var(--accent); color: #fff; }
.badge.lock { background: var(--lock); color: #fff; }
.badge.warn { background: var(--warn); color: #111; }
.tile .open { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 7px; border: 0; background: rgba(0,0,0,.6);
  color: #fff; opacity: 0; transition: opacity .12s; }
.tile:hover .open, .tile.sel .open { opacity: 1; }
.tile .meta { padding: 9px 12px 4px; }
.tile .id { font-size: 14px; display: flex; align-items: baseline; gap: 10px; }
.tile .id b { font-weight: 650; white-space: nowrap; }
.tile .id span { flex: 1; min-width: 0; text-align: right; font-weight: 400; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .prev { margin-top: 6px; font-size: 12px; color: var(--accent); background: var(--accent-bg); padding: 5px 8px; border-radius: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px 12px 12px; }
.tile .actions .btn { justify-content: center; padding: 7px 8px; }
.tile .stamp { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.tile .stamp div { padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 16px; letter-spacing: .02em;
  box-shadow: 0 6px 20px rgba(0,0,0,.4); max-width: 85%; text-align: center; }
.tile.done-complete { border-color: var(--ok-2); }
.tile.done-complete .stamp div { background: var(--ok-2); color: #fff; }
.tile.done-incomplete { border-color: var(--bad-2); }
.tile.done-incomplete .stamp div { background: var(--bad-2); color: #fff; }
.tile.done-complete video, .tile.done-incomplete video { opacity: .55; }
.pagebar { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pagebar .grow { flex: 1; }
.chip-tag { display: inline-block; font-size: 11.5px; padding: 1px 7px; border-radius: 10px; background: var(--bad-bg); color: #ffb3ad; margin-right: 4px; }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty h2 { color: var(--text); font-weight: 600; margin: 0 0 8px; font-size: 22px; }
.empty .big { font-size: 46px; margin-bottom: 12px; }
.empty .btn { margin-top: 18px; }

/* Lists (incomplete / complete) ------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.card { display: grid; grid-template-columns: 150px 1fr; gap: 12px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px; cursor: pointer; }
.card:hover { border-color: var(--line2); background: var(--panel2); }
.card .thumb { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 6px; overflow: hidden; }
.card .thumb img, .card .thumb video { width: 100%; height: 100%; object-fit: contain; display: block; }
.card .thumb .badges { bottom: 5px; left: 5px; }
.card .t { font-weight: 650; }
.card .s { color: var(--muted); font-size: 12.5px; margin: 2px 0 6px; }
.card .note { font-size: 13px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .fix { margin-top: 6px; font-size: 12px; }
.fix.ready { color: var(--ok); } .fix.waiting { color: var(--warn); } .fix.manual { color: var(--muted); }

/* Focus view ------------------------------------------------------------------------------- */
.focus { position: fixed; inset: 0; z-index: 50; background: #08090c; display: grid; grid-template-rows: 52px 1fr; }
.focus header { display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.focus header .title { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; overflow: hidden; }
.focus header .title b { font-size: 16px; }
.focus header .title span { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 12px; white-space: nowrap; }
.pill.awaiting_review { background: var(--accent-bg); color: var(--accent); }
.pill.incomplete, .pill.auto_failed { background: var(--bad-bg); color: var(--bad); }
.pill.complete { background: var(--lock-bg); color: var(--lock); }
.pill.checking { background: var(--panel3); color: var(--muted); }
.nav-btn { width: 36px; height: 34px; border-radius: 8px; border: 1px solid var(--line2); background: var(--panel2); font-size: 18px; }
.focus .body { display: grid; grid-template-columns: minmax(0, 1fr) 390px; min-height: 0; }
.stage { display: flex; flex-direction: column; min-height: 0; padding: 12px 14px; gap: 10px; }
.cliptabs { display: flex; gap: 6px; flex-wrap: wrap; }
.cliptabs button { background: var(--panel2); border: 1px solid var(--line2); border-radius: 7px; padding: 5px 11px; color: var(--muted); font-size: 13px; }
.cliptabs button.on { background: var(--accent-bg); border-color: var(--accent); color: var(--accent); }
.videos { flex: 1; min-height: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
.videos.compare { grid-template-columns: 1fr 1fr; }
.videos figure { margin: 0; position: relative; min-height: 0; background: #000; border-radius: 8px; overflow: hidden; display: flex; }
.videos video, .videos img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.videos figcaption { position: absolute; left: 8px; top: 8px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.7); }
.videos figure.prev figcaption { background: rgba(248, 81, 73, .85); }
.sheetview { flex: 1; min-height: 0; overflow: hidden; background: #000; border-radius: 8px; display: flex; }
.sheetview img { width: 100%; height: 100%; object-fit: contain; }
.loading { flex: 1; display: grid; place-items: center; color: var(--muted); }
.controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; }
.controls .play { width: 38px; height: 34px; border-radius: 8px; border: 0; background: var(--panel3); font-size: 15px; }
.controls input[type=range] { flex: 1; min-width: 160px; accent-color: var(--accent); padding: 0; border: 0; background: none; box-shadow: none; }
.controls .time { font: 12.5px ui-monospace, Consolas, monospace; color: var(--muted); min-width: 108px; text-align: center; }
.controls .seg button { padding: 5px 8px; font-size: 12.5px; }
.controls .tbtn { background: var(--panel2); border: 1px solid var(--line2); border-radius: 8px; padding: 5px 9px; font-size: 12.5px; color: var(--muted); }
.controls .tbtn.on { color: var(--accent); border-color: var(--accent); background: var(--accent-bg); }

.panel { border-left: 1px solid var(--line); background: var(--panel); overflow-y: auto; overflow-x: hidden; padding: 14px 16px 30px; }
.panel section { margin-bottom: 18px; }
.panel h3 { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 0 0 8px; font-weight: 650; }
.decide .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feedback .row2 { grid-template-columns: auto minmax(0, 1fr); }
.panel .btn { min-width: 0; }
.panel kbd { white-space: nowrap; }
.lockbox { background: var(--lock-bg); border: 1px solid rgba(163, 113, 247, .35); color: #d6c2ff; border-radius: 10px; padding: 11px 12px; font-size: 13px; line-height: 1.45; margin-bottom: 10px; }
.infobox { background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; padding: 11px 12px; font-size: 13px; line-height: 1.45; margin-bottom: 10px; }
.infobox.bad { background: var(--bad-bg); border-color: rgba(248, 81, 73, .35); }
.infobox.re { background: var(--accent-bg); border-color: rgba(88, 166, 255, .35); }
.feedback { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; padding: 12px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--bad-2); }
.feedback label { font-weight: 600; font-size: 13px; }
.feedback label small { color: var(--muted); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line2); background: var(--panel3); color: var(--text); border-radius: 14px; padding: 4px 10px; font-size: 12.5px; }
.chip:hover { border-color: var(--muted); }
.chip.on { background: var(--bad-2); border-color: var(--bad-2); color: #fff; }
.chip i { font-style: normal; font-size: 10px; margin-left: 5px; padding: 0 4px; border-radius: 4px; background: rgba(63,185,80,.25); color: #8ee39a; }
.chip.on i { background: rgba(0,0,0,.25); color: #fff; }
.chip.add { border-style: dashed; color: var(--muted); background: none; }
.newtag { display: flex; gap: 6px; }
.newtag input { flex: 1; }
.feedback textarea { min-height: 78px; resize: vertical; }
.feedback .row2 { grid-template-columns: auto 1fr; }
.recent { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: 12px; color: var(--muted); }
.recent button { background: none; border: 1px dashed var(--line2); border-radius: 6px; padding: 3px 7px; color: var(--muted); font-size: 12px;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.recent button:hover { color: var(--text); border-color: var(--muted); }
.err { color: var(--bad); font-size: 12.5px; }
.checks-list { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; }
.checks-list div { display: grid; grid-template-columns: 18px 1fr; gap: 6px; align-items: start; }
.checks-list .pass b { color: var(--ok); } .checks-list .fail b { color: var(--bad); } .checks-list .skip b { color: var(--dim); }
.checks-list span { color: var(--muted); } .checks-list span em { color: var(--text); font-style: normal; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; font-size: 12.5px; }
dl.kv dt { color: var(--dim); } dl.kv dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.history { display: flex; flex-direction: column; gap: 8px; }
.ev { font-size: 12.5px; border-left: 3px solid var(--line2); padding: 2px 0 2px 9px; }
.ev.complete { border-color: var(--ok); } .ev.incomplete { border-color: var(--bad); } .ev.unreviewed { border-color: var(--dim); }
.ev .h { color: var(--muted); } .ev .n { margin-top: 2px; }
details.files summary { cursor: pointer; color: var(--muted); font-size: 12.5px; }
details.files ul { margin: 6px 0 0; padding-left: 18px; font-size: 12px; }

/* Overview --------------------------------------------------------------------------------- */
.ov { display: grid; gap: 16px; }
.ov .row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.box h2 { font-size: 14px; margin: 0 0 12px; font-weight: 650; }
.box p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0 0 10px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.stat { background: var(--panel2); border-radius: 8px; padding: 10px 12px; }
.stat .v { font-size: 24px; font-weight: 650; }
.stat .l { color: var(--muted); font-size: 12px; margin-top: 2px; }
.stat.ok .v { color: var(--ok); } .stat.bad .v { color: var(--bad); } .stat.acc .v { color: var(--accent); } .stat.lock .v { color: var(--lock); }
.progress { margin-bottom: 12px; }
.progress .lbl { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.bar { height: 9px; background: var(--panel3); border-radius: 6px; overflow: hidden; }
.bar div { height: 100%; background: var(--ok); border-radius: 6px; min-width: 2px; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; color: var(--dim); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-bottom: 1px solid var(--line); }
table.t td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t td.n { text-align: right; font-variant-numeric: tabular-nums; }
.tagpill { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.tagpill.need { background: var(--warn-bg); color: var(--warn); }
.tagpill.tight { background: var(--bad-bg); color: var(--bad); }
.tagpill.auto { background: var(--ok-bg); color: var(--ok); }
.tagpill.none { background: var(--panel3); color: var(--muted); }
.demo { border-color: rgba(88, 166, 255, .45); }
.demo .btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
pre.log { background: #07080a; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 12px; line-height: 1.45; max-height: 300px;
  overflow: auto; white-space: pre-wrap; color: #c9d1d9; margin: 0; }

/* Modal / toast ----------------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 20px; }
.modal .sheet { background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; width: min(760px, 100%); max-height: 90vh; overflow: auto; padding: 18px 20px; }
.modal h2 { margin: 0 0 12px; font-size: 17px; }
.modal h3 { margin: 16px 0 8px; font-size: 13px; color: var(--muted); }
.keys { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 13px; }
.modal p, .modal li { color: var(--muted); font-size: 13px; line-height: 1.5; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 14px;
  background: var(--panel3); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.45); font-size: 13.5px; max-width: 90vw; }
.toast.bad { border-color: var(--bad); }
.toast button { background: none; border: 1px solid var(--line2); border-radius: 7px; padding: 4px 10px; color: var(--accent); }

@media (max-width: 1100px) {
  .focus .body { grid-template-columns: minmax(0, 1fr) 330px; }
  .feedback .row2 kbd { display: none; }      /* the help (?) lists every shortcut */
  nav button { padding: 8px 8px; }
  .who { display: none; }
}
@media (max-width: 900px) {
  /* Narrow windows: the clip keeps a fixed share of the height, so the decision buttons stay in view. */
  .focus .body { grid-template-columns: 1fr; grid-template-rows: 52vh auto; overflow-y: auto; }
  .stage { min-height: 0; }
  .panel { border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
}
.t .bad { color: var(--bad); }

/* Sign-in page (hosted) ----------------------------------------------------------------------- */
main.login { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
main.login .box { width: min(440px, 100%); }
main.login select { width: 100%; }
main.login .err { color: var(--bad); }

/* Beyond repair, clickable overview, tags ----------------------------------------------------- */
button.stat { text-align: left; border: 1px solid transparent; width: 100%; cursor: pointer; }
button.stat:hover { border-color: var(--line2); background: var(--panel3); }
.stat.warn .v { color: var(--warn); }
.cellbtn { background: none; border: 0; padding: 0 2px; color: var(--accent); font-variant-numeric: tabular-nums; text-decoration: underline dotted; }
.cellbtn:hover { color: var(--text); }
.listhead { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.listhead h2 { margin: 0; font-size: 18px; font-weight: 650; }
.pill.beyond_repair { background: var(--warn-bg); color: var(--warn); }
.ev.beyond_repair { border-color: var(--warn); }
.tile.done-beyond_repair { border-color: var(--warn); }
.tile.done-beyond_repair .stamp div { background: var(--warn); color: #111; }
.tile.done-beyond_repair video { opacity: .55; }
.btn.wide { width: 100%; justify-content: center; margin-top: 10px; }
.infobox.warnbox { background: var(--warn-bg); border-color: rgba(210, 153, 34, .4); }
.feedback.beyond { border-color: var(--warn); }
.feedback.beyond .btn.bad { background: var(--warn); border-color: var(--warn); color: #111; }
.tagadd { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tagadd #ta-label { width: 220px; } .tagadd #ta-desc { flex: 1; min-width: 200px; }
.tagtable input { width: 100%; } .tagtable td { vertical-align: middle; }
.tagtable .tid { font-size: 11px; margin-top: 2px; }
.tagtable td.acts, .box td.acts { white-space: nowrap; text-align: right; }
.tagtable td.acts .btn, .box td.acts .btn { padding: 5px 10px; }
.away { flex: 1; width: 100%; height: 100%; min-height: 120px; display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 6px; padding: 14px; text-align: center; background: var(--panel2); color: var(--muted); font-size: 13px; }
.away b { color: var(--text); }
