body.adm { display: block; overflow-y: auto; height: auto; min-height: 100%; }
.adm-wrap { max-width: 1400px; margin: 0 auto; padding: 20px 28px 60px; }
.adm-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.adm-top h1 { margin: 6px 0 4px; font-size: 22px; }
.adm-top .lead { margin: 0; color: var(--muted); max-width: 760px; }
.back { color: var(--accent); text-decoration: none; font-size: 12px; }
.co-tabs { display: flex; gap: 4px; }
.co-tabs a, .adm-tabs a { padding: 6px 14px; border-radius: 6px; cursor: pointer; color: var(--muted); border: 1px solid transparent; }
.co-tabs a.on { background: var(--panel); border-color: var(--line); color: var(--ink); font-weight: 600; }
.adm-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 18px 0 14px; }
.adm-tabs a { border-radius: 6px 6px 0 0; margin-bottom: -1px; }
.adm-tabs a.on { background: var(--panel); border-color: var(--line); border-bottom-color: var(--panel); color: var(--ink); font-weight: 600; }
.toolbar { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.toolbar input[type=search] { padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; width: 240px; }
table.adm-t { border-collapse: separate; border-spacing: 0; width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.adm-t th, .adm-t td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.adm-t th { font-size: 11px; color: var(--muted); font-weight: 600; background: #fafbfc; position: sticky; top: 0; z-index: 1; }
.adm-t tr:last-child td { border-bottom: none; }
.adm-t td.c, .adm-t th.c { text-align: center; }
.adm-t tr.dim td { color: var(--muted); }
.adm-t .mono { font-family: var(--mono); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 3px; }
.chip-s { font-size: 11px; padding: 1px 7px; border-radius: 10px; background: var(--accent-soft); color: #1849a9; white-space: nowrap; }
.chip-s.warn { background: #fff4d6; color: #6b4e00; }
.chip-s.off { background: #f1f2f4; color: var(--muted); }
.yes { color: var(--pos); font-weight: 700; }
.no { color: #c5cbd6; }
.acts { display: flex; gap: 6px; flex-wrap: nowrap; white-space: nowrap; }
.acts button { padding: 2px 9px; font-size: 12px; }
.st { font-size: 11px; }
.st.ok { color: var(--pos); } .st.wait { color: #8a6100; } .st.none { color: var(--muted); } .st.off { color: var(--neg); }
.pw-box { background: #eefbf2; border: 1px solid #b7e4c4; padding: 12px 16px; border-radius: 8px; margin-bottom: 14px; }
.pw-box code { font-family: var(--mono); font-size: 16px; background: #fff; padding: 2px 8px; border-radius: 4px; border: 1px solid #b7e4c4; }
.sec-box { background: #fff8e6; border: 1px solid #f0d48a; padding: 12px 16px; border-radius: 8px; margin-bottom: 14px; }
.sec-box ol { margin: 4px 0; padding-left: 20px; line-height: 2; }
.sec-box code { font-family: var(--mono); font-size: 15px; background: #fff; padding: 2px 8px; border-radius: 4px; border: 1px solid #f0d48a; letter-spacing: .05em; }
.sec-box input { padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; width: 160px; }
.sec-box .gate-err { margin-left: 8px; }
.sec-box.ok { background: var(--panel); border-color: var(--line); }
.sec-box .chip-s a { cursor: pointer; margin-left: 4px; color: var(--muted); }
.sec-box .sec-link { cursor: pointer; color: var(--accent); margin-left: 8px; font-size: 12px; }
.sec-box > div.st { margin-top: 6px; }
.grp-mods { background: #fafbfc; }
.grp-mods td { padding: 8px 14px 14px; }
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2px 18px; font-size: 12px; }
.mods span.rf { font-family: var(--mono); margin-left: 6px; }
.mods span.rf b { color: var(--pos); } .mods span.rf i { color: #d0d4db; font-style: normal; }
.mods span.rf u { color: #b26b00; text-decoration: none; }
tr.grp { cursor: pointer; } tr.grp:hover td { background: var(--row-hover); }
.note { color: var(--muted); font-size: 12px; margin: 10px 2px; max-width: 900px; }
.matrix th.vert { writing-mode: vertical-rl; text-align: left; padding: 8px 4px; height: 96px; white-space: nowrap; }
.mods span.rf > * { display: inline !important; margin: 0 1px; } .mods > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mods span.rf { display: inline; }
