.brand { margin: 0; }
.brand span { color: var(--muted); font: 500 13px/1.15 var(--sans); letter-spacing: 0; text-transform: none; }
.table-stage { height: clamp(330px, 65svh, 850px); }
.table-stage canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.table-loading { width: max-content; max-width: calc(100% - 32px); text-align: center; }
.table-controls { padding: 14px clamp(16px, 4vw, 78px) 20px; background: linear-gradient(120deg,#1c251a,#151d16 59%,#182118); }
.table-row { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 14px; }
.table-row label { display: grid; gap: 3px; color: var(--muted); font-size: 13px; }
.table-row select, .table-row button { min-height: 40px; max-width: 100%; padding: 5px 10px; border: 1px solid #676d56; border-radius: 4px; background: #1c251a; color: var(--ink); font: 14px var(--sans); }
.table-row select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.table-row select:disabled, .table-row button:disabled { cursor: default; opacity: .55; }
.table-row button:not(:disabled):hover { border-color: var(--gold); }
#object { width: 16rem; }
#action { width: 12rem; }
#apply:not(:disabled), #reaction:not(:disabled) { color: #1c2015; background: var(--gold); }
.table-controls p { margin: 6px 0 9px; color: var(--muted); font-size: 13px; }
#table-status { min-height: 1.35em; color: var(--gold); margin-bottom: 0; }
@media (max-width: 640px) {
  .table-stage { height: min(100vw, 55svh); min-height: 260px; }
  .table-row { gap: 6px 8px; }
  .table-row label { min-width: 0; }
  .table-actions label { flex: 1 1 9rem; }
  #object, #action { width: 100%; }
}
