/* SHAKO Owner tools 2026-11-12: library priority + catalog organizer. Uses the panel tokens; RTL-first. */
.ot { display: grid; gap: 16px; min-width: 0; }
.ot .panel { min-width: 0; }
.ot h2 { margin: 0 0 4px; font-size: 1.3rem; }
.ot h3 { margin: 0 0 12px; font-size: 1.05rem; }
.ot-muted { color: var(--muted, #6c6a86); font-size: .85rem; }
.ot-count { margin: 8px 0 0; display: flex; gap: 10px; align-items: center; }
.ot-count strong { font-size: 1.4rem; }
.ot-table { width: 100%; }
.ot-table td { vertical-align: middle; }
.ot-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.ot-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.ot-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.ot-search input[name=q] { flex: 1 1 240px; min-height: 42px; }
.ot-chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--soft, #f4f3fb);
  color: var(--muted, #6c6a86); margin: 2px; }
.ot-chip.ok { background: #e6f6f0; color: #0f7b5f; } .ot-chip.run { background: #eaf2ff; color: #1764d8; }
.ot-chip.wait { background: #f4f3fb; color: #4a4870; } .ot-chip.bad { background: #fdecef; color: #c62f4b; }
.ot-chip.warn { background: #fff4e0; color: #a15c00; }
.ot-state { font-weight: 700; margin-inline-end: 6px; }
.ot-publish { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; padding: 10px 12px;
  border: 1px solid var(--line, #ebe9f4); border-radius: 12px; background: var(--soft, #fbfbfe); }
.ot-publish span { flex: 1 1 220px; }
.ot-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.ot-list li { display: grid; grid-template-columns: 36px minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 8px 10px; border: 1px solid var(--line, #ebe9f4); border-radius: 10px; background: #fff; }
.ot-list li.ot-moved { border-color: var(--brand, #5354df); background: var(--brand-50, #f1f1fe); }
.ot-pos { font-weight: 800; color: var(--brand, #5354df); text-align: center; }
.ot-orig { display: grid; min-width: 0; } .ot-orig small { color: var(--muted, #6c6a86); font-size: .75rem; }
.ot-name { min-height: 38px; min-width: 0; }
.ot-filter { min-height: 40px; flex: 1 1 200px; }
.ot-test { display: grid; gap: 10px; max-width: 520px; }
@media (max-width: 780px) {
  .ot-list li { grid-template-columns: 30px minmax(0, 1fr); }
  .ot-list li .ot-name, .ot-list li .ot-actions { grid-column: 1 / -1; }
  .ot-actions { justify-content: flex-start; }
}
