.adm-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 24px; }
@media (max-width: 860px) { .adm-layout { grid-template-columns: 1fr; } }
.adm-nav { display: grid; gap: 2px; position: sticky; top: 80px; }
.adm-nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.adm-nav a:hover { background: var(--white); text-decoration: none; }
.adm-nav a.active { background: var(--blue-soft); color: var(--blue); }
.adm-nav .sep { height: 1px; background: var(--line); margin: 8px 0; }
.adm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.adm-head h1 { font-size: 24px; margin: 0; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { padding: 6px 12px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); }
.tabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs a:hover { text-decoration: none; }
.health { display: flex; gap: 10px; flex-wrap: wrap; }
.health span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--red-soft); color: #8b1a12; }
.health span.ok { background: var(--green-soft); color: #0b5e37; }
.action-form { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.action-form .row { gap: 8px; }
.action-form input[type=text], .action-form input[type=number] { padding: 8px 10px; font-size: 13px; }
.settings-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.settings-row:last-child { border-bottom: 0; }
.settings-row .k { font-weight: 600; font-size: 14px; }
.settings-row .k small { display: block; font-weight: 400; color: var(--muted); }
.settings-row textarea { font-family: ui-monospace, Menlo, monospace; font-size: 12px; min-height: 60px; }
@media (max-width: 800px) { .settings-row { grid-template-columns: 1fr; } }
.audit td { font-size: 13px; } .audit .json { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--ink-3); word-break: break-all; }
.list-cell .t { font-weight: 600; } .list-cell .s { font-size: 12px; color: var(--muted); }
/* Deal / listing title cells: give them room instead of wrapping one word per line. */
.adm-table-wide td:first-child, .adm-table-wide th:first-child { min-width: 260px; }
