/* Страницы менеджера коллизий (все, кроме «Коллизий») и общие элементы окна. */
.win-toast { position: absolute; left: 50%; right: auto; bottom: 18px; width: max-content; max-width: 70%; transform: translateX(-50%); z-index: 40; }
.rw-btn.h24 { min-height: 24px; height: 24px; padding: 0 12px; } .rw-sel.h30 { min-height: 30px; height: 30px; }
.mc-pad { padding: 14px; } .mc-pad2 { padding: 10px 12px; } .sct { font-size: 14px; line-height: 18px; font-weight: 600; }
.mc-ct { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; } .mc-ct > b { font-size: 14px; line-height: 18px; font-weight: 600; }
.mc-dash, .mc-cmp, .mc-an { display: flex; flex-direction: column; gap: 10px; height: 100%; } .mc-cmp > :last-child { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.mc-load { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 10px; } .mc-load label .rw-cap { display: block; margin: 0 0 3px 1px; }
.mc-tiles5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; } .mc-tiles4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 5px; }
.mc-metric { padding: 12px 14px; } .mc-metric .ml { display: flex; align-items: center; font-size: 12px; color: var(--muted); } .mc-metric .ml i { width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; }
.mc-metric .mv { margin-top: 4px; font-size: 26px; line-height: 32px; font-weight: 600; } .mc-metric .dtx { margin-top: 2px; font-size: 11px; }
.mc-prog { display: flex; align-items: center; gap: 8px; } .mc-prog .pgl { flex: 1; margin-right: 16px; } .mc-prog .pgh { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.pbar { height: 8px; border-radius: 4px; background: var(--divider); overflow: hidden; } .pbar i { display: block; height: 100%; background: #17B26A; transition: width 400ms; }
.soft { display: flex; flex-direction: column; min-width: 130px; padding: 8px 14px; border: 0; border-radius: 7px; background: var(--panel); font: inherit; text-align: left; } .soft b { margin-top: 2px; font-size: 18px; line-height: 24px; font-weight: 600; } .soft b.big { font-size: 22px; line-height: 28px; }
.soft.old { background: var(--danger-bg); cursor: pointer; } .soft.old:hover { opacity: .85; }
.mc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; min-height: 0; } .mc-two > .rw-card { display: flex; flex-direction: column; min-height: 0; }
.mc-scroll { flex: 1; min-height: 0; overflow: auto; } .rng { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; } .rng-b { width: 40px; min-height: 28px; height: 28px; padding: 0; text-align: center; } .rng .rw-btn { margin-left: 4px; }
.mc-tb { width: 100%; border-collapse: collapse; } .mc-tb th { position: sticky; top: 0; padding: 0 10px; height: 34px; background: var(--panel); border-bottom: 1px solid var(--divider); font-size: 11px; font-weight: 600; color: var(--muted); text-align: left; }
.mc-tb td { height: 32px; padding: 0 10px; border-bottom: 1px solid var(--divider); } .mc-tb tbody tr:hover { background: var(--tint); } .mc-tb tr[data-open] { cursor: pointer; } .mc-tb .c { text-align: center; } .mc-tb td.mu { color: var(--muted); } .mc-none2 { padding: 18px; text-align: center; color: var(--muted); }
.mc-scrollpage { height: 100%; overflow: auto; padding-right: 4px; } .mc-scrollpage .mc-two { flex: none; } .mc-scrollpage .mc-scroll { max-height: 300px; }
.mc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .mc-bar .l, .mc-bar .r { display: flex; align-items: center; gap: 8px; }
.legend { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); font-weight: 400; } .legend i { width: 8px; height: 8px; border-radius: 50%; } .legend i:not(:first-child) { margin-left: 9px; }
.mc-trend { margin-top: 5px; } .chart { display: grid; grid-template-columns: 48px 1fr; height: 275px; } .chart .axis { display: flex; flex-direction: column; justify-content: space-between; padding: 0 8px 20px 0; text-align: right; font-size: 11px; color: var(--muted); }
.plot { position: relative; overflow-x: auto; } .plot .grid { position: absolute; inset: 5px 0 28px 0; display: flex; flex-direction: column; } .plot .grid b { flex: 1; border-top: 1px solid var(--divider); } .plot .grid b:last-child { border-bottom: 1px solid var(--edge); flex: 0 0 0; }
.plot .cols { position: absolute; inset: 5px 0 0 0; display: flex; } .plot .col { display: flex; flex-direction: column; flex: 1 0 96px; max-width: 120px; margin: 0 6px; } .plot .stack { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; } .plot .stack i { display: block; width: 64px; } .plot .stack i:first-child { border-radius: 4px 4px 0 0; }
.plot .col > .rw-cap { height: 28px; text-align: center; padding-top: 8px; }
.mc-sumrow { display: flex; align-items: center; gap: 8px; } .mc-sumrow .soft { padding: 8px 16px; } .sct { display: block; }
.mc-an2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .seg { display: flex; flex-wrap: nowrap; flex: 1; min-width: 0; padding: 3px; border-radius: 8px; background: var(--divider); } .seg button { margin-right: 2px; padding: 6px 9px; white-space: nowrap; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; } .seg button:hover { opacity: .85; } .seg button.cur { background: var(--surface); color: var(--primary-text); border-color: var(--edge); font-weight: 600; }
.mc-tot { display: flex; align-items: baseline; gap: 4px; padding: 7px 14px; white-space: nowrap; } .mc-tot b { margin-right: 16px; } .mc-tot b:last-child { margin-right: 0; }
.mc-anbody { flex: 1; min-height: 0; display: grid; grid-template-rows: 3fr 2fr; gap: 10px; } .mc-anbody > .mc-two { grid-row: 1 / 3; }
.mc-tm { display: flex; flex-direction: column; min-height: 0; } .tmap { position: relative; flex: 1; min-height: 0; } .tl { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.tl .bg { position: absolute; inset: 2px; border-radius: 6px; background: var(--c); transition: filter 120ms; } .tl:hover .bg { filter: brightness(1.08); } .tl .tn { position: absolute; inset: 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px; overflow: hidden; color: #fff; font-weight: 600; text-align: center; } .tl .tn small { font-weight: 400; opacity: .9; margin-top: 2px; }
.mc-tbl { min-height: 0; display: flex; flex-direction: column; padding: 8px; }
.srow { display: grid; grid-template-columns: 170px minmax(0, 280px) 50px; align-items: center; } .srow b { text-align: right; } .srow input[type=range] { width: 100%; accent-color: var(--primary); cursor: pointer; }
.hr { height: 1px; margin: 16px 0 14px; border: 0; background: var(--edge); } .keys { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; } .keys > div { padding: 4px 0; } .keys .rw-cap { display: block; margin: 0 0 3px 1px; } .keys button { width: 100%; }
.mc-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .gap1 { width: 1px; height: 22px; margin: 0 8px; background: var(--edge); }
.logbox { flex: 1; min-height: 240px; max-height: 280px; margin: 0; padding: 8px; overflow: auto; border-radius: 6px; background: var(--panel); font: 11px/16px Consolas, ui-monospace, monospace; white-space: pre-wrap; user-select: text; }
