/* ── Страница статуса — таблица аудита, адаптация legion-content-audit.html ── */
.status-page {
  position: relative; z-index: 1;
  width: 100%; max-width: 980px; margin: 0 auto;
  padding: 48px 20px 64px;
}
.status-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--muted); text-decoration: none; margin-bottom: 22px;
  transition: color .15s;
}
.status-back:hover { color: var(--void); }

.status-head { margin-bottom: 24px; }
.status-eyebrow { font-family: 'Consolas', 'Courier New', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fel); margin-bottom: 8px; }
.status-h1 { font-family: 'Warcraft', Georgia, serif; font-size: 30px; letter-spacing: .01em; color: var(--text); margin-bottom: 10px; }
.status-sub { color: var(--muted); font-size: 13px; max-width: 700px; line-height: 1.6; margin-bottom: 4px; }
.status-sub code { font-family: 'Consolas', 'Courier New', monospace; background: var(--surface2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; }
.status-snapshot { font-size: 11.5px; color: var(--muted); opacity: .8; }

.stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 12px 16px; min-width: 108px; flex: 1 1 108px; }
.stat .n { font-family: 'Consolas', 'Courier New', monospace; font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.1; color: var(--text); }
.stat .l { font-size: 11px; color: var(--muted); margin-top: 3px; }
.stat.done .n { color: var(--fel); }
.stat.progress .n { color: #c9a030; }

.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11.5px; color: var(--muted); margin-top: 14px; }
.legend .item { display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--fel); }
.dot.fixed { background: var(--void); }
.dot.issue { background: var(--err); }
.dot.unknown { background: var(--muted); opacity: .5; }

.expansion { margin-bottom: 28px; }
.expansion-head { font-family: 'Warcraft', Georgia, serif; font-size: 17px; font-weight: normal; color: var(--fel-lt); margin: 0 0 10px; display: flex; align-items: baseline; gap: 8px; }
.expansion-head .count { font-size: 11px; color: var(--muted); font-weight: 400; font-family: 'Consolas', 'Courier New', monospace; }
.subhead { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--label); margin: 16px 0 8px; }
.subhead:first-of-type { margin-top: 0; }
.size-chip { font-family: 'Consolas', 'Courier New', monospace; font-size: 10px; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; margin-left: 6px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 3px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
thead th { text-align: left; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 11px 13px; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody td { padding: 10px 13px; border-bottom: 1px solid var(--border); font-size: 13px; vertical-align: middle; }
tbody tr.row { cursor: pointer; }
tbody tr.row:hover { background: var(--surface2); }
tbody tr:last-child td { border-bottom: none; }
.dname { font-weight: 600; color: var(--text); }
.dname .en { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.map { font-family: 'Consolas', 'Courier New', monospace; font-size: 11.5px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; white-space: nowrap; color: var(--text); }
.pill .dot { width: 7px; height: 7px; }
.pill.unknown { color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; font-weight: 700; border: 1px solid transparent; }
.badge.done { color: var(--fel-lt); background: rgba(126,217,87,.14); border-color: rgba(126,217,87,.35); }
.badge.progress { color: #e8c669; background: rgba(201,160,48,.14); border-color: rgba(201,160,48,.35); }
.badge.pending { color: var(--muted); background: transparent; border-color: var(--border); }
tr.detail td { background: var(--surface2); padding: 13px 13px 15px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
tr.detail .notes { color: var(--text); margin-bottom: 6px; }
tr.detail .meta { font-family: 'Consolas', 'Courier New', monospace; font-size: 11px; }
tr.detail .commit { display: inline-block; background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; margin-right: 6px; font-family: 'Consolas', 'Courier New', monospace; }
.caret { display: inline-block; width: 14px; color: var(--muted); transition: transform .15s; }
tr.row[aria-expanded="true"] .caret { transform: rotate(90deg); }

.status-footnote { margin-top: 20px; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
