/* Емулятор Windows · Edvault — вигляд у стилі Windows 11 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
small { font-size: max(11.5px, .86em); }
:root {
  --font: 'Segoe UI Variable Text', 'Segoe UI', 'Inter', system-ui, sans-serif;
  --mono: 'Cascadia Mono', 'Consolas', 'JetBrains Mono', monospace;
  --accent: #0067c0; --accent2: #005fb8; --sel: #cce4f7; --sel-b: #99c9ef; --hover: rgba(0,0,0,.045);
  --text: #1b1b1b; --text2: #5d5d5d; --line: #e5e5e5; --win: #f9f9f9; --panel: #f3f3f3;
  --shadow: 0 8px 32px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.12);
}
html, body { height: 100%; overflow: hidden; }
body { font: 14px/1.35 var(--font); color: var(--text); background: #0a3d8f; user-select: none; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: default; }
[hidden] { display: none !important; }
.grow { flex: 1; }
svg { flex: none; display: block; }
/* фокус із клавіатури — чорна рамка з білим краєм, як у Windows 11 */
:where(button, a, [tabindex], select, summary, input[type=checkbox], input[type=radio], input[type=range]):focus-visible { outline: 2px solid #1b1b1b; outline-offset: 1px; box-shadow: 0 0 0 3px #fff; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
code { font: 600 .92em var(--mono); background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; }

/* ── робочий стіл ── */
#desk { position: fixed; inset: 0 0 48px 0; overflow: hidden; isolation: isolate; background: #0b4bb8 url(bloom.jpg) center / cover no-repeat; }
#icons { position: absolute; inset: 0; padding: 8px 4px; display: grid; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 98px); grid-auto-columns: 86px; gap: 2px 4px; align-content: start; outline: none; }
.dk { width: 82px; height: 96px; padding: 6px 3px 4px; border-radius: 5px; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 1px solid transparent; }
.dk .ico { filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.dk span { font-size: 12.5px; line-height: 1.25; color: #fff; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 4px rgba(0,0,0,.5); overflow-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dk:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); }
.dk.sel { background: rgba(255,255,255,.26); border-color: rgba(255,255,255,.4); }
.dk.sel span { -webkit-line-clamp: 6; }
.dk.cut, .dk.hid { opacity: .55; }
.dk.drop-on { background: rgba(255,255,255,.35); border-color: #fff; }
.dk .ren-inp { width: 80px; resize: none; font-size: 12.5px; text-align: center; padding: 1px 3px; border: 1px solid #0067c0; outline: none; background: #fff; color: #000; border-radius: 2px; overflow: hidden; }

/* ── вікна ── */
.win { position: absolute; display: flex; flex-direction: column; background: var(--win); border-radius: 8px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.18); overflow: hidden; animation: winIn .14s ease-out; min-width: 0; }
@keyframes winIn { from { opacity: 0; transform: scale(.97); } }
.win.closing { animation: winOut .12s ease-in forwards; pointer-events: none; }
@keyframes winOut { to { opacity: 0; transform: scale(.96); } }
.win:not(.active) { box-shadow: 0 4px 18px rgba(0,0,0,.16); }
.win:not(.active) .win-title { color: #8a8a8a; }
.win.min { display: none; }
.win.max { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; border: 0; }
.win.max .rz { display: none; }
.win.moving { transition: none; }
.win-title { flex: none; height: 34px; display: flex; align-items: center; gap: 9px; padding-left: 12px; background: var(--panel); font-size: 12.5px; }
.win-ico { display: flex; }
.win-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wb { width: 46px; height: 34px; display: flex; align-items: center; justify-content: center; color: inherit; }
.wb:hover { background: rgba(0,0,0,.06); }
.wb.close:hover { background: #c42b1c; color: #fff; }
.win-body { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }
.rz { position: absolute; z-index: 5; touch-action: none; }
.win-title { touch-action: none; }
.rz-n, .rz-s { left: 8px; right: 8px; height: 6px; cursor: ns-resize; } .rz-n { top: -2px; } .rz-s { bottom: -2px; }
.rz-e, .rz-w { top: 8px; bottom: 8px; width: 6px; cursor: ew-resize; } .rz-e { right: -2px; } .rz-w { left: -2px; }
.rz-ne, .rz-nw, .rz-se, .rz-sw { width: 12px; height: 12px; }
.rz-ne { top: -2px; right: -2px; cursor: nesw-resize; } .rz-sw { bottom: -2px; left: -2px; cursor: nesw-resize; }
.rz-nw { top: -2px; left: -2px; cursor: nwse-resize; } .rz-se { bottom: -2px; right: -2px; cursor: nwse-resize; }

/* ── Провідник ── */
.ex { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--win); }
.ex-cmd { flex: none; display: flex; align-items: center; gap: 2px; padding: 6px 10px; background: var(--panel); border-bottom: 1px solid var(--line); min-height: 46px; flex-wrap: wrap; }
.cb { height: 34px; min-width: 34px; padding: 0 8px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--text); white-space: nowrap; }
.cb:hover:not(:disabled) { background: rgba(0,0,0,.055); }
.cb:active:not(:disabled) { background: rgba(0,0,0,.09); }
.cb:disabled { opacity: .38; }
.cb.lbl span { font-size: 13px; }
.cb.new { padding: 0 10px; }
.cb-sep { width: 1px; height: 22px; background: #d5d5d5; margin: 0 6px; }
.ex-nav { flex: none; display: flex; align-items: center; gap: 2px; padding: 6px 10px; border-bottom: 1px solid var(--line); background: var(--win); }
.nb { width: 32px; height: 32px; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: var(--text); }
.nb:hover:not(:disabled) { background: var(--hover); }
.nb:disabled { opacity: .35; }
.ex-addr { flex: 1; min-width: 0; height: 32px; margin: 0 6px; border: 1px solid #d9d9d9; border-radius: 5px; background: #fff; display: flex; align-items: center; cursor: text; }
.crumbs { display: flex; align-items: center; min-width: 0; overflow: hidden; padding-left: 6px; gap: 0; }
.cr-ico { display: flex; margin-right: 4px; }
.cr { height: 26px; padding: 0 6px; border-radius: 4px; white-space: nowrap; font-size: 13px; }
.cr:hover { background: var(--hover); }
.cr-sep { display: flex; color: #8a8a8a; }
.addr-inp { flex: 1; height: 30px; border: 0; outline: none; padding: 0 10px; font-size: 13px; background: transparent; user-select: text; }
.ex-search { width: 230px; height: 32px; border: 1px solid #d9d9d9; border-radius: 5px; background: #fff; display: flex; align-items: center; gap: 6px; padding: 0 10px; color: #6b6b6b; }
.ex-search input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 13px; color: var(--text); background: transparent; user-select: text; }
.ex-search:focus-within, .ex-addr:focus-within { border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.ex-main { flex: 1; min-height: 0; display: flex; }
.ex-side { flex: none; width: 210px; overflow-y: auto; padding: 6px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 1px; }
.sd { height: 30px; display: flex; align-items: center; gap: 9px; padding-right: 8px; border-radius: 5px; text-align: left; font-size: 13px; white-space: nowrap; }
.sd span { overflow: hidden; text-overflow: ellipsis; }
.sd:hover { background: var(--hover); }
.sd.on { background: rgba(0,0,0,.07); font-weight: 600; }
.sd.drop-on { background: var(--sel); outline: 1px solid var(--sel-b); }
.sd-sep { height: 1px; background: var(--line); margin: 5px 6px; flex: none; }
.ex-view { flex: 1; min-width: 0; overflow: auto; padding: 8px 10px; outline: none; background: #fff; }
.ex-status { flex: none; height: 26px; display: flex; align-items: center; padding: 0 14px; font-size: 12px; color: var(--text2); border-top: 1px solid var(--line); background: var(--win); }
.ex-status .sep { margin: 0 8px; color: #9a9a9a; }
.empty { color: #616161; text-align: center; padding: 30px 10px; font-size: 13px; }
/* значки */
.grid { display: grid; grid-template-columns: repeat(auto-fill, 108px); gap: 4px; align-content: start; }
.grid .it { width: 108px; padding: 6px 4px 6px; border-radius: 5px; border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.grid .it .lb { font-size: 12.5px; line-height: 1.25; text-align: center; overflow-wrap: break-word; word-break: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid .it.sel .lb { -webkit-line-clamp: 5; }
.grid .ren-inp { width: 104px; text-align: center; }
.it:hover { background: #e5f3fd; }
.it.sel { background: var(--sel); border-color: var(--sel-b); }
.it.cut, .it.hid { opacity: .5; }
.it.drop-on { background: var(--sel); border-color: var(--accent); }
.ren-inp { resize: none; font-size: 12.5px; padding: 1px 3px; border: 1px solid var(--accent); outline: none; background: #fff; border-radius: 2px; overflow: hidden; user-select: text; line-height: 1.3; }
/* таблиця */
.det { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.det th { position: sticky; top: -8px; background: #fff; text-align: left; font-weight: 400; color: #4d4d4d; padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; z-index: 1; }
.det th[data-sort]:hover { background: var(--hover); }
.det th.num, .det td.num { text-align: right; }
.det td { padding: 0 10px; height: 30px; white-space: nowrap; color: #4d4d4d; border-top: 1px solid transparent; border-bottom: 1px solid transparent; }
.det td.nm { color: var(--text); display: flex; align-items: center; gap: 8px; height: 30px; max-width: 420px; }
.det td.nm span { overflow: hidden; text-overflow: ellipsis; }
.det tr.it:hover td { background: #e5f3fd; }
.det tr.it.sel td { background: var(--sel); }
.det tr.it.sel td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.det .ren-inp { width: 260px; height: 24px; }
/* Цей ПК */
.ex-view.pc { padding: 14px 18px; }
.grp { font-size: 13px; font-weight: 600; color: #333; margin: 6px 0 8px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; margin-bottom: 14px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 6px; border: 1px solid transparent; }
.tile:hover { background: #e5f3fd; border-color: #cce4f7; }
.tile span { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.tile b { font-weight: 500; font-size: 13.5px; }
.tile small { color: #6b6b6b; font-size: 12px; }
.bar { height: 6px; border-radius: 3px; background: #e6e6e6; overflow: hidden; display: block; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }

/* ── Командний рядок ── */
.con { flex: 1; min-height: 0; overflow-y: auto; background: #0c0c0c; color: #cccccc; font: 14px/1.4 var(--mono); padding: 8px 10px 14px; user-select: text; cursor: text; --caret: #cccccc; }
.con-out { white-space: pre-wrap; word-break: normal; overflow-wrap: anywhere; font: inherit; margin: 0; }
.con-line { display: flex; white-space: pre; }
.con-pr { white-space: pre; }
.con-in { flex: 1; min-width: 40px; border: 0; outline: none; background: transparent; color: inherit; font: inherit; padding: 0; caret-color: var(--caret); caret-shape: block; }
.con::-webkit-scrollbar { width: 12px; } .con::-webkit-scrollbar-thumb { background: #4a4a4a; border: 3px solid #0c0c0c; border-radius: 6px; }

/* ── Блокнот ── */
.np { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; container-type: inline-size; }
.np-menu { flex: none; display: flex; gap: 2px; padding: 4px 6px; background: var(--panel); border-bottom: 1px solid var(--line); }
.np-menu button { height: 30px; padding: 0 11px; border-radius: 5px; font-size: 13px; }
.np-menu button:hover { background: rgba(0,0,0,.06); }
.np-text { flex: 1; min-height: 0; resize: none; border: 0; outline: none; padding: 10px 14px; font: 15px/1.5 var(--mono); color: #1b1b1b; user-select: text; tab-size: 4; }
.np-text.nowrap { white-space: pre; overflow-x: auto; }
.np-status { flex: none; height: 26px; display: flex; align-items: center; gap: 0; overflow: hidden; font-size: 12px; color: var(--text2); background: var(--panel); border-top: 1px solid var(--line); }
.np-status span { padding: 0 14px; border-left: 1px solid #ddd; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* вузьке вікно: другорядне (масштаб, кінці рядків, кодування) ховається першим */
.np-status span:nth-child(n+3) { flex-shrink: 4; }
@container (max-width: 560px) { .np-status span:nth-child(n+3) { display: none; } }
@container (max-width: 300px) { .np-status span:nth-child(2) { display: none; } }
.np-status span:first-child { border-left: 0; margin-right: auto; }

/* ── панель завдань ── */
#taskbar { position: fixed; left: 0; right: 0; bottom: 0; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(238,240,244,.88); backdrop-filter: blur(24px) saturate(1.6); border-top: 1px solid rgba(255,255,255,.6); z-index: 9000; }
.tb-mid { display: flex; align-items: center; gap: 4px; }
#tbApps { display: flex; gap: 4px; }
.tb-btn, .tb-app { position: relative; width: 40px; height: 40px; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: #1b1b1b; transition: background .1s; }
.tb-btn:hover, .tb-app:hover, .tb-btn.on { background: rgba(255,255,255,.7); }
.tb-app:active { transform: scale(.94); }
.tb-app.run::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 6px; height: 3px; margin-left: -3px; border-radius: 2px; background: #8a8a8a; transition: width .15s, margin .15s; }
.tb-app.act { background: rgba(255,255,255,.75); }
.tb-app.act::after { width: 16px; margin-left: -8px; background: var(--accent); }
.tb-app .cnt { position: absolute; top: 3px; right: 3px; min-width: 14px; height: 14px; border-radius: 7px; background: #5d5d5d; color: #fff; font: 700 9.5px/14px var(--font); font-style: normal; }
.tb-right { position: absolute; right: 8px; top: 0; bottom: 0; display: flex; align-items: center; gap: 4px; font-size: 12px; }
.tray { display: flex; gap: 8px; padding: 0 8px; height: 40px; align-items: center; border-radius: 5px; }
.tb-lang { padding: 0 6px; height: 40px; display: flex; align-items: center; border-radius: 5px; }
.tb-clock { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; height: 40px; padding: 0 8px; border-radius: 5px; line-height: 1.3; }
.tb-clock b { font-weight: 400; }
.tb-clock b, .tb-clock small { font-size: 12px; }
.tray:hover, .tb-lang:hover, .tb-clock:hover { background: rgba(255,255,255,.7); }

/* ── меню «Пуск» ── */
#start { position: fixed; left: 50%; bottom: 56px; width: 600px; height: min(640px, calc(100vh - 80px)); margin-left: -300px; z-index: 9500; display: flex; flex-direction: column; background: rgba(242,244,248,.94); backdrop-filter: blur(30px) saturate(1.6); border: 1px solid rgba(0,0,0,.14); border-radius: 8px; box-shadow: var(--shadow); animation: stIn .16s ease-out; overflow: hidden; }
@keyframes stIn { from { opacity: 0; transform: translateY(16px); } }
.st-search { margin: 24px 30px 6px; height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #fff; border: 1px solid #d9d9d9; border-radius: 18px; color: #6b6b6b; }
.st-search:focus-within { border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.st-search input { flex: 1; border: 0; outline: none; background: transparent; font-size: 13.5px; color: var(--text); user-select: text; }
.st-body { flex: 1; overflow-y: auto; padding: 8px 30px 14px; }
.st-body h4 { font-size: 13.5px; font-weight: 600; margin: 14px 4px 10px; }
.st-pins { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.st-pin { height: 84px; border-radius: 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; font-size: 12px; text-align: center; padding: 0 2px; }
.st-pin span { line-height: 1.2; }
.st-pin:hover, .st-r:hover { background: rgba(255,255,255,.75); }
.st-rec, .st-res { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.st-res { grid-template-columns: 1fr; }
.st-r { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 5px; text-align: left; min-width: 0; }
.st-r span { display: flex; flex-direction: column; min-width: 0; }
.st-r b { font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-r small { font-size: 11.5px; color: #4d4d4d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-r.first { background: rgba(255,255,255,.75); }
.st-none { font-size: 13px; color: #4d4d4d; padding: 4px 4px; line-height: 1.5; }
.st-foot { flex: none; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 44px; background: rgba(230,233,238,.85); border-top: 1px solid rgba(0,0,0,.08); }
.st-user { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.av { width: 32px; height: 32px; border-radius: 50%; background: #b8d6f4; color: #0b4a8a; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ── діалоги ── */
.dlg-back { position: fixed; inset: 0; z-index: 9800; background: rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; }
.dlg { width: 440px; max-width: calc(100vw - 40px); background: #fff; border-radius: 8px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.2); overflow: hidden; animation: winIn .14s ease-out; display: flex; flex-direction: column; }
.dlg.wide { width: 500px; }
.dlg-title { height: 34px; display: flex; align-items: center; justify-content: space-between; padding-left: 14px; font-size: 12.5px; background: #fff; }
.dlg-body { display: flex; gap: 16px; padding: 10px 24px 22px; align-items: flex-start; user-select: text; }
.dlg-ico { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; color: #fff; margin-top: 2px; }
.dlg-ico svg { width: 20px; height: 20px; }
.dlg-ico.warn { background: #f7b500; color: #3b2a00; } .dlg-ico.error { background: #c42b1c; } .dlg-ico.question, .dlg-ico.info { background: var(--accent); }
.dlg-text { flex: 1; min-width: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.dlg-text p + p { margin-top: 8px; }
.help-l { margin: 10px 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px; background: var(--panel); border-top: 1px solid var(--line); flex-wrap: wrap; }
.btn { min-width: 96px; height: 32px; padding: 0 14px; border-radius: 5px; border: 1px solid #d0d0d0; border-bottom-color: #bcbcbc; background: #fdfdfd; font-size: 13.5px; }
.btn:hover { background: #f5f5f5; }
.btn.primary { background: var(--accent); border-color: var(--accent2); color: #fff; }
.btn.primary:hover { background: #1975c5; }
.btn:focus-visible { outline: 2px solid #000; outline-offset: 1px; }
/* властивості */
.props { width: 100%; }
.pr-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.pr-head b { font-weight: 500; overflow-wrap: anywhere; }
.props table { width: 100%; font-size: 13px; border-collapse: collapse; }
.props th { text-align: left; font-weight: 400; color: #4d4d4d; padding: 4px 10px 4px 0; white-space: nowrap; vertical-align: top; width: 1%; }
.props td { padding: 4px 0; overflow-wrap: anywhere; }
.props tr.sep td { border-top: 1px solid var(--line); padding: 4px 0 0; }
.props label { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; }
.props .sw { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.sw.used { background: var(--accent); } .sw.free { background: #e6e6e6; }
.pie { width: 110px; height: 110px; border-radius: 50%; margin: 12px auto 0; background: conic-gradient(var(--accent) var(--deg), #e6e6e6 0); }
/* вікно вибору файлу */
.fdlg { width: 720px; height: 470px; max-height: calc(100vh - 40px); }
.fd-nav { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-bottom: 1px solid var(--line); }
.fd-path { flex: 1; height: 30px; display: flex; align-items: center; padding: 0 10px; border: 1px solid #d9d9d9; border-radius: 5px; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fd-main { flex: 1; min-height: 0; display: flex; }
.fd-side { width: 180px; flex: none; border-right: 1px solid var(--line); padding: 6px; display: flex; flex-direction: column; gap: 1px; overflow-y: auto; }
.fd-side button { height: 30px; display: flex; align-items: center; gap: 9px; padding: 0 8px; border-radius: 5px; font-size: 13px; text-align: left; }
.fd-side button:hover { background: var(--hover); }
.fd-list { flex: 1; overflow-y: auto; padding: 6px; outline: none; }
.fd-it { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 8px; border-radius: 4px; font-size: 13px; border: 1px solid transparent; }
.fd-it span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-it small { color: #616161; font-size: 12px; }
.fd-it:hover { background: #e5f3fd; }
.fd-it.sel { background: var(--sel); border-color: var(--sel-b); }
.fd-it.dim { opacity: .55; }
.fd-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--panel); border-top: 1px solid var(--line); flex-wrap: wrap; }
.fd-foot label { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; min-width: 280px; }
.fd-name { flex: 1; height: 30px; border: 1px solid #d0d0d0; border-radius: 4px; padding: 0 8px; outline: none; user-select: text; min-width: 0; }
.fd-name:focus { border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.fd-type { font-size: 12.5px; color: #555; }

/* ── контекстне меню ── */
.cm-root { position: fixed; z-index: 9900; }
.cm { min-width: 230px; padding: 4px; background: rgba(249,249,249,.97); backdrop-filter: blur(20px); border: 1px solid rgba(0,0,0,.14); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.18); animation: cmIn .1s ease-out; }
@keyframes cmIn { from { opacity: 0; transform: translateY(-4px); } }
.cm-it { position: relative; width: 100%; height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 8px; border-radius: 4px; font-size: 13px; text-align: left; white-space: nowrap; }
.cm-it:hover:not(.off) { background: rgba(0,0,0,.055); }
.cm-it.off { opacity: .4; }
.cm-ic { width: 18px; display: flex; justify-content: center; color: #333; }
.cm-t { flex: 1; }
.cm-k { color: #616161; font-size: 12px; margin-left: 18px; }
.cm-sep { display: block; height: 1px; background: #e2e2e2; margin: 4px 6px; }
.cm-it .cm { display: none; position: absolute; left: calc(100% + 2px); top: -5px; }
.cm-it .cm.left { left: auto; right: calc(100% + 2px); }
.cm-it .cm.upward { top: auto; bottom: -5px; }
.cm-it.has-sub:hover > .cm { display: block; }

/* ── дрібниці ── */
#toast { position: fixed; right: 14px; bottom: 62px; z-index: 9950; padding: 12px 16px; background: rgba(249,249,249,.97); border: 1px solid rgba(0,0,0,.12); border-radius: 8px; box-shadow: var(--shadow); font-size: 13px; transform: translateX(calc(100% + 40px)); opacity: 0; transition: transform .25s, opacity .25s; pointer-events: none; max-width: 320px; }
#toast.on { transform: none; opacity: 1; }
.tip { position: fixed; z-index: 9990; max-width: 290px; padding: 8px 10px; background: #fff; border: 1px solid #c6c6c6; border-radius: 5px; box-shadow: 0 4px 12px rgba(0,0,0,.15); font-size: 12.5px; line-height: 1.4; }
#boot { position: fixed; inset: 0; z-index: 10000; background: #0a2e6e; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: 0; transition: opacity .35s; pointer-events: none; font-size: 18px; }
#boot.on { opacity: 1; pointer-events: auto; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-thumb { background: #c2c2c2; border: 4px solid transparent; background-clip: padding-box; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background-color: #9a9a9a; }
.con-line.busy { height: 0; opacity: 0; overflow: hidden; }

/* ═════════ Брандмауер: спільне ═════════ */
.link { color: #0067c0; text-align: left; font-size: 13px; line-height: 1.4; padding: 2px 0; display: inline-flex; align-items: flex-start; gap: 5px; cursor: pointer; }
.link:hover { text-decoration: underline; color: #003e92; }
.muted { color: #5d5d5d; font-size: 13px; line-height: 1.45; }
.inp { height: 30px; border: 1px solid #d0d0d0; border-bottom-color: #8a8a8a; border-radius: 4px; padding: 0 8px; background: #fff; outline: none; font-size: 13px; min-width: 0; user-select: text; }
textarea.inp { height: auto; padding: 6px 8px; resize: vertical; line-height: 1.4; }
select.inp { padding: 0 4px; }
select.inp[size] { height: auto; padding: 2px; }
.inp:focus { border-color: var(--accent); box-shadow: inset 0 -1px 0 var(--accent); }
.inp:disabled { background: #f4f4f4; color: #8a8a8a; border-color: #e0e0e0; }
.btn:disabled { opacity: .45; background: #fdfdfd; }
.btn.primary:disabled { background: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.chk, .rad { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.4; padding: 3px 0; }
.chk input, .rad input { flex: none; margin-top: 2px; width: 15px; height: 15px; accent-color: var(--accent); }
.chk.big, .rad.big { padding: 6px 0; }
.chk.big b, .rad.big b { display: block; font-weight: 600; }
.chk.big small, .rad.big small { display: block; color: #5d5d5d; font-size: 12.5px; margin-top: 1px; }
.sub { margin-left: 23px; }
.hint { margin-top: 10px; font-size: 12.5px; }
.note { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; background: #eaf3fc; border: 1px solid #c4dcf3; border-radius: 4px; font-size: 12.5px; line-height: 1.4; margin-bottom: 10px; color: #1b3a5c; }
.note svg { margin-top: 1px; color: var(--accent); }
.fld { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-top: 10px; white-space: nowrap; }
.fld .inp { flex: 1; }
.fld.col { flex-direction: column; align-items: stretch; gap: 4px; }
.pick-list { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow-y: auto; border: 1px solid #e0e0e0; border-radius: 4px; padding: 4px; margin: 8px 0 4px; }
.pick { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 4px; font-size: 13px; }
.pick:hover { background: #f0f6fc; }
.pick input { accent-color: var(--accent); }
.pick span { display: flex; flex-direction: column; min-width: 0; }
.pick small { color: #6b6b6b; font-size: 12px; overflow-wrap: anywhere; }
.mi { flex: none; }

/* модальні вікна з вкладками */
.mdl { width: 520px; max-height: calc(100vh - 40px); }
.mdl-body { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 18px 16px; font-size: 13px; user-select: text; }
.mdl-body > p { margin-bottom: 6px; line-height: 1.45; }
.mdl .dlg-foot { padding: 12px 18px; }
.mdl .dlg-foot .btn { min-width: 88px; }
.mdl.small { width: 470px; }
.mdl.saveas, .mdl.addapp { width: 520px; }
.tabs { display: flex; flex-wrap: wrap; gap: 2px 0; border-bottom: 1px solid #d0d0d0; margin: 6px 0 12px; }
.tab { height: 30px; padding: 0 11px; font-size: 12.5px; border: 1px solid transparent; border-bottom: 0; border-radius: 4px 4px 0 0; margin-bottom: -1px; color: #333; white-space: nowrap; }
.tab:hover { background: #f1f5f9; }
.tab.on { background: #fff; border-color: #d0d0d0; color: #000; font-weight: 600; box-shadow: 0 1px 0 #fff; }
.tab.warnd::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #d13438; margin-left: 6px; vertical-align: 1px; }
.mdl fieldset { border: 1px solid #dcdcdc; border-radius: 5px; padding: 6px 12px 10px; margin-bottom: 10px; min-width: 0; }
.mdl legend { padding: 0 5px; font-size: 12.5px; color: #0f4f8f; font-weight: 600; }
.pg { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 12px; align-items: center; margin: 4px 0 6px; }
.pg > label { white-space: nowrap; }
.pg textarea { align-self: stretch; }
.wz-row { display: flex; gap: 8px; align-items: center; margin: 4px 0; }
.wz-row .inp { flex: 1; }
.empty-list { height: 64px; border: 1px solid #e0e0e0; border-radius: 4px; background: #fafafa; margin: 4px 0 6px 23px; }
.addr-box { display: flex; gap: 8px; margin: 4px 0 2px 23px; }
.addr-box select { flex: 1; min-height: 76px; }
.addr-btns { display: flex; flex-direction: column; gap: 6px; width: 170px; }
.addr-btns .btn { min-width: 0; }
.fp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 13px; line-height: 1.4; }
.mdl.rprops { width: 640px; height: min(640px, calc(100vh - 40px)); }
.mdl.rprops.small { width: 500px; height: auto; }
.mdl.icmp { width: 440px; }
.icmp-list { margin: 4px 0 0 23px; padding: 6px 10px; border: 1px solid #e0e0e0; border-radius: 4px; }

/* майстер */
.mdl.wiz { width: 760px; height: min(560px, calc(100vh - 40px)); }
.wiz .mdl-body { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.wz-head { flex: none; padding: 12px 20px 12px; border-bottom: 1px solid #e3e3e3; background: #fff; display: flex; flex-direction: column; gap: 3px; }
.wz-head b { font-size: 15px; font-weight: 600; }
.wz-head small { color: #5d5d5d; font-size: 12.5px; }
.wz-main { flex: 1; min-height: 0; display: flex; }
.wz-steps { flex: none; width: 190px; padding: 12px 10px 12px 18px; background: #f6f8fa; border-right: 1px solid #e3e3e3; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.wz-steps h5 { font-size: 12.5px; font-weight: 600; margin-bottom: 2px; }
.wz-steps span { position: relative; padding-left: 14px; color: #6b6b6b; line-height: 1.35; }
.wz-steps span::before { content: ''; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #b9c4cf; }
.wz-steps span.done { color: #333; }
.wz-steps span.done::before { background: #13a10e; }
.wz-steps span.on { color: #0f4f8f; font-weight: 600; }
.wz-steps span.on::before { background: var(--accent); }
.wz-body { flex: 1; min-width: 0; overflow-y: auto; padding: 14px 22px 18px; }
.wz-body > p { margin: 2px 0 6px; }
.wz-body select.sub { width: calc(100% - 23px); margin-bottom: 4px; }
.wz-body input.sub { width: calc(100% - 23px); }
.wz-body .wz-row.sub { width: calc(100% - 23px); }
.wz-grid { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 9px 14px; align-items: center; }
.wz-grid > span { display: flex; align-items: center; gap: 8px; }
.wz-addr { margin-bottom: 10px; }
.wz-addr .inp { width: calc(100% - 23px); margin-left: 23px; }
.tbl-wrap.pre { max-height: 250px; border: 1px solid #e0e0e0; border-radius: 4px; }

/* UAC */
.uac-back { position: fixed; inset: 0; z-index: 9990; background: rgba(10,20,40,.45); display: flex; align-items: center; justify-content: center; animation: uacIn .15s ease-out; }
.uac-back.out { opacity: 0; transition: opacity .15s; }
@keyframes uacIn { from { opacity: 0; } }
.uac { width: 470px; background: #fff; border-radius: 8px; box-shadow: 0 16px 48px rgba(0,0,0,.4); overflow: hidden; user-select: text; }
.uac.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.uac header { background: #2b579a; color: #fff; padding: 10px 18px; font-size: 12.5px; }
.uac-body { padding: 14px 22px 8px; }
.uac h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: 14px; }
.uac-app { display: flex; gap: 12px; align-items: center; }
.uac-app b { display: block; font-size: 14px; font-weight: 600; }
.uac-app span { font-size: 12.5px; color: #4d4d4d; }
.uac-more { color: var(--accent); font-size: 12.5px; margin: 10px 0 2px; }
.uac-more:hover { text-decoration: underline; }
.uac-info { font-size: 12px; color: #4d4d4d; line-height: 1.5; overflow-wrap: anywhere; padding: 4px 0; }
.uac-body > p { font-size: 13px; margin: 10px 0; }
.uac-cred { display: flex; gap: 12px; align-items: flex-start; }
.uac-av { width: 46px; height: 46px; flex: none; border-radius: 50%; background: #dfe8f3; color: #2b579a; display: flex; align-items: center; justify-content: center; }
.uac-in { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.uac-in input { height: 32px; border: 1px solid #c8c8c8; border-bottom-color: #868686; border-radius: 4px; padding: 0 10px; outline: none; font-size: 13.5px; }
.uac-in input:focus { border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.uac-err { color: #c42b1c; font-size: 12.5px; }
.uac footer { display: flex; gap: 8px; padding: 14px 22px 16px; background: #f3f3f3; margin-top: 12px; }
.uac footer .btn { flex: 1; }

/* значок у треї */
.tb-shield { position: relative; width: 32px; height: 40px; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: #1b1b1b; }
.tb-shield:hover { background: rgba(255,255,255,.7); }
.tb-shield .dot { position: absolute; right: 6px; bottom: 11px; width: 8px; height: 8px; border-radius: 50%; background: #d13438; border: 1.5px solid #fff; }
.tb-shield.bad { color: #a4262c; }

/* ═════════ Безпека Windows ═════════ */
.sec { height: 100%; display: flex; background: #f3f3f3; }
.sec-nav { flex: none; width: 290px; padding: 6px 6px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; transition: width .15s; }
.sec.slim .sec-nav { width: 52px; }
.sec.slim .sn span { display: none; }
.sn { min-height: 38px; display: flex; align-items: center; gap: 14px; padding: 4px 12px; border-radius: 5px; text-align: left; font-size: 13.5px; line-height: 1.3; position: relative; }
.sn:hover:not(:disabled) { background: rgba(0,0,0,.05); }
.sn:disabled { opacity: .35; }
.sn.on { background: rgba(0,0,0,.06); }
.sn.on::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--accent); }
.sn.back { width: 40px; padding: 0 12px; }
.sec-main { flex: 1; min-width: 0; overflow-y: auto; padding: 26px 40px 30px; background: #fafafa; border-left: 1px solid #e8e8e8; user-select: text; }
.sec-main h1 { font-size: 26px; font-weight: 600; margin-bottom: 6px; line-height: 1.25; }
.sec-main h3 { font-size: 15px; font-weight: 600; margin: 22px 0 6px; }
.lead { color: #4d4d4d; font-size: 13.5px; line-height: 1.5; max-width: 640px; }
.sec-h { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.sec-h > svg { margin-top: 4px; color: #1b1b1b; }
.tiles-s { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 22px; }
.tile-s { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 16px 16px; background: #fff; border: 1px solid #e6e6e6; border-radius: 7px; text-align: left; min-height: 150px; }
.tile-s:hover { border-color: #cfcfcf; background: #fdfdfd; }
.tile-s b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.tile-s small { font-size: 12.5px; color: #5d5d5d; line-height: 1.4; }
.tile-s.bad small { color: #a4262c; }
.tile-s .btn { margin-top: 6px; min-width: 0; height: 30px; }
.ts-ic { position: relative; color: #1b1b1b; margin-bottom: 4px; }
.ts-ic i { position: absolute; right: -6px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; border: 1.5px solid #fff; }
.ts-ic i.ok { background: #13a10e; }
.ts-ic i.x { background: #d13438; }
.ts-ic i svg { stroke-width: 3; }
.nets { display: flex; flex-direction: column; gap: 4px; max-width: 720px; }
.net-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; text-align: left; }
.net-row:hover { background: #fdfdfd; border-color: #d4d4d4; }
.net-row > span:not(.btn) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.net-row b { font-size: 14px; font-weight: 600; }
.net-row small { font-size: 12.5px; color: #5d5d5d; }
.net-row small.bad, .bad { color: #a4262c; }
.net-row .btn { min-width: 0; height: 30px; }
.sec-links { display: flex; flex-direction: column; gap: 6px; margin-top: 22px; align-items: flex-start; }
.sec-aside { margin-top: 28px; max-width: 640px; padding: 14px 16px; border-radius: 6px; background: #eef4fb; border: 1px solid #d7e5f4; }
.sec-aside h4 { font-size: 13.5px; margin-bottom: 4px; }
.sec-aside p { font-size: 13px; line-height: 1.5; color: #333; }
.sec-backlink { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #4d4d4d; margin-bottom: 14px; padding: 4px 8px 4px 4px; border-radius: 4px; }
.sec-backlink:hover { background: rgba(0,0,0,.05); }
.net-act { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.sw-row { display: flex; align-items: center; gap: 12px; margin: 10px 0; font-size: 13.5px; }
.sw-row b { font-weight: 400; }
.toggle { width: 40px; height: 20px; border-radius: 10px; border: 1px solid #5d5d5d; background: #fff; position: relative; flex: none; cursor: pointer; transition: background .12s; }
.toggle i { position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #5d5d5d; transition: left .12s; }
.toggle.on { background: var(--accent); border-color: var(--accent); }
.toggle.on i { left: 23px; background: #fff; }
.toggle:hover { filter: brightness(.96); }
.warn-s { display: flex; gap: 8px; align-items: flex-start; max-width: 640px; padding: 10px 12px; background: #fde7e9; border-radius: 5px; color: #6b1014; font-size: 13px; line-height: 1.45; margin: 6px 0; }
.warn-s svg { color: #c42b1c; margin-top: 1px; }
.all-ok { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; max-width: 520px; }
.all-ok > svg { color: #13a10e; }
.all-ok span { display: flex; flex-direction: column; font-size: 13.5px; }
.all-ok small { font-size: 12.5px; color: #5d5d5d; }
.trouble { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; max-width: 680px; }
.tr { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: #fff; border: 1px solid #e6e6e6; border-radius: 5px; font-size: 13px; line-height: 1.45; }
.tr.ok svg { color: #13a10e; } .tr.bad { border-color: #f1bbbc; background: #fff7f7; } .tr.bad svg { color: #c42b1c; }
.tr svg { margin-top: 1px; }
.tr-sum { font-weight: 600; font-size: 13.5px; margin-top: 4px; }

/* ═════════ Панель керування ═════════ */
.cpl { height: 100%; display: flex; flex-direction: column; background: #fff; }
.cpl-bar { flex: none; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-bottom: 1px solid var(--line); background: var(--win); }
.cpl-path { flex: 1; min-width: 0; height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid #d9d9d9; border-radius: 5px; background: #fff; font-size: 13px; white-space: nowrap; overflow: hidden; }
.cpl-path svg.ui-ico { color: #8a8a8a; }
.cpl-path b { font-weight: 400; }
.cpl-main { flex: 1; min-height: 0; display: flex; }
.cpl-side { flex: none; width: 250px; padding: 16px 14px 16px 18px; background: linear-gradient(#e9f0f8, #f7f9fc); border-right: 1px solid #dde6f0; display: flex; flex-direction: column; gap: 9px; overflow-y: auto; }
.cpl-side .link { font-size: 12.5px; }
.uac-sh { flex: none; color: #2b579a; margin-top: 1px; display: inline-flex; }
.cpl-see { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.cpl-see b { font-weight: 600; color: #333; }
.cpl-body { flex: 1; min-width: 0; overflow-y: auto; padding: 18px 26px 22px; user-select: text; }
.cpl-body h2 { font-size: 17px; font-weight: 400; color: #1e3287; margin-bottom: 8px; line-height: 1.35; }
.cpl-body > .muted { margin-bottom: 10px; max-width: 720px; }
.cpl-net { margin-top: 12px; border: 1px solid #d3dbe5; border-radius: 4px; overflow: hidden; }
.cn-head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: linear-gradient(#f4fbf3, #e3f2e0); border-left: 6px solid #13a10e; text-align: left; font-size: 13.5px; }
.cpl-net.off .cn-head { background: linear-gradient(#fdf3f3, #f8dedf); border-left-color: #c42b1c; }
.cn-head > svg:first-child { color: #13a10e; }
.cpl-net.off .cn-head > svg:first-child { color: #c42b1c; }
.cn-head b { flex: 1; font-weight: 600; }
.cn-head span { color: #4d4d4d; font-size: 12.5px; }
.cn-body { padding: 10px 14px 12px; font-size: 13px; }
.cn-body > p { color: #4d4d4d; margin-bottom: 8px; }
.cn-body table { border-collapse: collapse; width: 100%; }
.cn-body th { text-align: left; font-weight: 400; color: #4d4d4d; width: 260px; padding: 5px 14px 5px 0; vertical-align: top; }
.cn-body td { padding: 5px 0; line-height: 1.4; }
.cn-body td svg { display: inline-block; vertical-align: -3px; }
.cpl-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.allow-box { border: 1px solid #d3dbe5; border-radius: 4px; padding: 10px 12px; margin-top: 6px; max-width: 760px; }
.ab-t { font-size: 13px; font-weight: 600; }
.allow-tbl { margin-top: 6px; max-height: 280px; overflow-y: auto; border: 1px solid #e0e0e0; }
.allow-tbl table { width: 100%; border-collapse: collapse; font-size: 13px; }
.allow-tbl th { position: sticky; top: 0; background: #f6f6f6; font-weight: 400; text-align: left; padding: 5px 8px; border-bottom: 1px solid #e0e0e0; white-space: nowrap; }
.allow-tbl th + th, .allow-tbl td + td { text-align: center; width: 140px; }
.allow-tbl td { padding: 3px 8px; }
.allow-tbl td label { display: flex; align-items: center; gap: 8px; }
.allow-tbl input { accent-color: var(--accent); }
.allow-tbl tr:hover td { background: #f0f6fc; }
.allow-tbl tr.sel td { background: var(--sel); }
.cpl-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; max-width: 760px; }
.cpl-set { border: 0; margin: 16px 0 6px; max-width: 720px; }
.cpl-set legend { font-size: 14px; color: #1e3287; margin-bottom: 6px; }
.cpl-set .rad { align-items: center; }
.cpl-set .rad input { margin-top: 0; }
.cpl-set .chk.sub { margin-left: 46px; }
.sh { display: inline-flex; width: 22px; height: 22px; border-radius: 4px; align-items: center; justify-content: center; color: #fff; flex: none; }
.sh.ok { background: #13a10e; } .sh.bad { background: #c42b1c; color: #fff; }

/* ═════════ wf.msc (консоль MMC) ═════════ */
.mmc { height: 100%; display: flex; flex-direction: column; background: #fff; outline: none; font-size: 12.5px; }
.mmc-menu { flex: none; display: flex; padding: 2px 4px; background: #fff; border-bottom: 1px solid #ececec; }
.mmc-menu button { height: 26px; padding: 0 9px; border-radius: 3px; font-size: 12.5px; }
.mmc-menu button:hover { background: #e5f1fb; }
.mmc-tools { flex: none; display: flex; align-items: center; gap: 1px; padding: 3px 6px; border-bottom: 1px solid #dcdcdc; background: #f7f7f7; }
.mmc-tools .nb { width: 28px; height: 26px; }
.mmc-tools .sep { width: 1px; height: 18px; background: #d0d0d0; margin: 0 4px; }
.mmc-main { flex: 1; min-height: 0; display: flex; }
.mmc-tree { flex: none; width: 290px; overflow: auto; padding: 4px 0; border-right: 1px solid #dcdcdc; }
.no-tree .mmc-tree { display: none; }
.no-act .mmc-act { display: none; }
.tn { display: flex; align-items: center; gap: 5px; height: 24px; padding-left: calc(4px + var(--l) * 16px); padding-right: 8px; white-space: nowrap; cursor: default; }
.tn:hover { background: #e5f1fb; }
.tn.on { background: #cce8ff; }
.tn span { overflow: hidden; text-overflow: ellipsis; }
.tw { width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #555; }
.mmc-center { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mmc-ch { flex: none; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-bottom: 1px solid #dcdcdc; background: linear-gradient(#fbfbfb, #eef1f4); white-space: nowrap; overflow: hidden; }
.mmc-ch b { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.mmc-cb { flex: 1; min-height: 0; overflow: auto; user-select: text; }
.mmc-cb.tbl { display: flex; flex-direction: column; overflow: hidden; }
.mmc-cb.tbl > .tbl-wrap { flex: 1; min-height: 0; }
.mmc-filter { flex: none; display: flex; align-items: center; gap: 8px; padding: 5px 10px; background: #fff8dc; border-bottom: 1px solid #ecdca3; }
.mmc-filter span { flex: 1; }
.tbl-wrap { overflow: auto; }
table.rules { border-collapse: separate; border-spacing: 0; table-layout: fixed; min-width: 100%; font-size: 12.5px; user-select: none; }
table.rules th { position: sticky; top: 0; z-index: 1; background: #fff; border-bottom: 1px solid #dcdcdc; border-right: 1px solid #ececec; font-weight: 400; text-align: left; padding: 0 8px; height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #333; }
table.rules th[data-sort]:hover { background: #e5f1fb; }
table.rules th svg { display: inline-block; vertical-align: -1px; margin-left: 4px; }
table.rules td { padding: 0 8px; height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid transparent; }
table.rules td .mi { display: inline-block; vertical-align: -3px; margin-right: 6px; }
table.rules tbody tr:hover td { background: #e5f3fd; }
table.rules tr.sel td { background: #cce8ff; }
table.rules tr.dis td { color: #6b6b6b; }
.mmc-empty { padding: 18px 14px; color: #5d5d5d; font-size: 12.5px; line-height: 1.5; }
.mmc-act { flex: none; width: 250px; overflow-y: auto; border-left: 1px solid #dcdcdc; background: #fff; }
.mmc-act h4 { height: 30px; display: flex; align-items: center; padding: 0 10px; font-size: 13px; font-weight: 600; border-bottom: 1px solid #dcdcdc; background: linear-gradient(#fbfbfb, #eef1f4); }
.ma-sec h5 { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 10px; font-size: 12.5px; font-weight: 600; background: #e8eef5; border-bottom: 1px solid #d8e0ea; line-height: 1.3; overflow-wrap: anywhere; }
.ma-sec h5 svg { flex: none; }
.ma { width: 100%; display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 14px; min-height: 26px; text-align: left; font-size: 12.5px; line-height: 1.3; }
.ma:hover:not(:disabled) { background: #e5f1fb; }
.ma:disabled { opacity: .4; }
.ma svg { flex: none; }
.mi-s { width: 15px; flex: none; }
.ma-sep { display: block; height: 1px; background: #ececec; margin: 3px 10px; }
.mmc-status { flex: none; height: 22px; display: flex; align-items: center; padding: 0 10px; border-top: 1px solid #dcdcdc; background: #f3f3f3; font-size: 12px; color: #4d4d4d; }
.ov { padding: 12px 14px; display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.ov-box { border: 1px solid #d8e0ea; border-radius: 4px; padding: 0 14px 12px; }
.ov-box h3 { margin: 0 -14px 8px; padding: 6px 14px; background: #e8eef5; border-bottom: 1px solid #d8e0ea; font-size: 13px; font-weight: 600; }
.ov-box h4 { font-size: 12.5px; font-weight: 600; margin: 10px 0 4px; display: flex; align-items: center; gap: 8px; }
.ov-box h4 .act { font-weight: 400; font-size: 11.5px; padding: 1px 7px; border-radius: 9px; background: #dff6dd; color: #0e700e; }
.ov-box ul { list-style: none; display: flex; flex-direction: column; gap: 3px; margin-bottom: 4px; }
.ov-box li { display: flex; align-items: center; gap: 8px; line-height: 1.4; }
.ov-box p { line-height: 1.5; margin-bottom: 6px; color: #333; }
.ov-box .link { display: flex; font-size: 12.5px; margin: 2px 0; }
table.kv { border-collapse: collapse; margin: 2px 0 6px; }
table.kv th { text-align: left; font-weight: 400; color: #4d4d4d; padding: 3px 14px 3px 0; white-space: nowrap; }
table.kv td { padding: 3px 0; }
table.ev { width: 100%; border-collapse: collapse; margin: 4px 0 8px; font-size: 12.5px; }
table.ev th { text-align: left; font-weight: 400; color: #4d4d4d; padding: 4px 8px 4px 0; border-bottom: 1px solid #e0e0e0; white-space: nowrap; }
table.ev td { padding: 3px 8px 3px 0; border-bottom: 1px solid #f2f2f2; white-space: nowrap; }
table.ev td.ok svg, table.ev td.bad svg { display: inline-block; vertical-align: -3px; margin-right: 6px; }
table.ev td.ok { color: #0e700e; }
.hint code, .muted code { white-space: nowrap; }
.dlg-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
table.kv td .link { padding: 0; }
.path-ro { padding: 6px 8px; background: #f4f4f4; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 12.5px; overflow-wrap: anywhere; color: #4d4d4d; }
table.rules.auto { table-layout: auto; }
table.rules.auto td, table.rules.auto th { overflow: visible; text-overflow: clip; }
table.rules.auto td:first-child { min-width: 280px; }

/* ═════════ Пошук у Провіднику ═════════ */
.ex-sbar { flex: none; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 6px 12px; background: #f0f6fc; border-bottom: 1px solid #d7e5f4; font-size: 12.5px; color: #333; }
.ex-sbar > svg { color: var(--accent); }
.sf-t { font-weight: 600; margin-right: 6px; white-space: nowrap; }
.sf { height: 28px; display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; border: 1px solid #cfd8e3; border-radius: 14px; background: #fff; font-size: 12.5px; white-space: nowrap; }
.sf:hover { background: #f7f9fb; }
.sf.on { border-color: var(--accent); background: #e5f1fb; }
.sf b { font-weight: 600; }
.sf input { accent-color: var(--accent); }
.lb-path { font-size: 11px; color: #6b6b6b; text-align: center; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.det td.fold { color: #5d5d5d; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.det mark, .grid mark { background: #fff1a8; color: inherit; border-radius: 2px; }
.in-text { color: #6b6b6b; font-size: 11.5px; }

/* ═════════ Властивості файлу ═════════ */
.mdl.fprops { width: 540px; height: min(600px, calc(100vh - 40px)); }
.fprops .pr-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.pr-name { flex: 1; }
.pr-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.pr-t th { text-align: left; font-weight: 400; color: #4d4d4d; padding: 4px 12px 4px 0; white-space: nowrap; vertical-align: top; width: 1%; }
.pr-t td { padding: 4px 0; overflow-wrap: anywhere; }
.pr-t tr.sep td { border-top: 1px solid var(--line); padding: 3px 0 0; }
.pr-attr { display: flex; flex-direction: column; gap: 2px; }
.pr-sys { font-size: 12px; color: #8a5a00; }
.pr-path { overflow-wrap: anywhere; }
.pr-share { display: flex; align-items: center; gap: 12px; margin: 6px 0; }
.pr-share div { display: flex; flex-direction: column; }
.pr-share small { color: #5d5d5d; }
.pr-lab { margin: 10px 0 4px; }
.pr-users { border: 1px solid #d0d0d0; border-radius: 4px; padding: 3px; display: flex; flex-direction: column; max-height: 120px; overflow-y: auto; }
.pr-u { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 3px; text-align: left; font-size: 12.5px; }
.pr-u span { overflow-wrap: anywhere; }
.pr-u:hover { background: #f0f6fc; }
.pr-u.on { background: var(--sel); }
.pr-perm { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 4px; border: 1px solid #e0e0e0; }
.pr-perm th { text-align: left; font-weight: 600; background: #f6f6f6; padding: 5px 8px; border-bottom: 1px solid #e0e0e0; }
.pr-perm th + th, .pr-perm td + td { text-align: center; width: 90px; }
.pr-perm td { padding: 3px 8px; }
.pr-perm td svg { display: inline-block; color: #4d4d4d; }
.pr-det { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pr-det th { text-align: left; font-weight: 400; color: #4d4d4d; border-bottom: 1px solid #e0e0e0; padding: 4px 6px; }
.pr-det td { padding: 3px 6px; overflow-wrap: anywhere; vertical-align: top; }
.pr-det td:first-child { width: 42%; color: #4d4d4d; }
.pr-det tr.grp td { font-weight: 600; color: #0f4f8f; padding-top: 8px; border-bottom: 1px solid #e8eef5; }
.empty-list.big { height: 160px; display: flex; align-items: center; justify-content: center; margin-left: 0; color: #6b6b6b; font-size: 12.5px; }

/* ═════════ Параметри ═════════ */
.st-app { height: 100%; display: flex; background: #f3f3f3; }
.sa-side { flex: none; width: 250px; padding: 14px 8px; display: flex; flex-direction: column; gap: 4px; }
.sa-user { display: flex; align-items: center; gap: 12px; padding: 6px 10px 16px; }
.sa-user span:last-child { display: flex; flex-direction: column; font-size: 13px; min-width: 0; }
.sa-user small { white-space: nowrap; }
.sa-user small { color: #5d5d5d; font-size: 12px; }
.av.big { width: 52px; height: 52px; font-size: 20px; }
.sa-n { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-radius: 5px; font-size: 13.5px; position: relative; }
.sa-n.on { background: rgba(0,0,0,.06); }
.sa-n.on::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 2px; background: var(--accent); }
.sa-main { flex: 1; min-width: 0; overflow-y: auto; padding: 18px 34px 26px; background: #f9f9f9; user-select: text; }
.sa-crumb { font-size: 26px; font-weight: 600; margin-bottom: 14px; }
.sa-crumb span { color: #8a8a8a; font-weight: 400; margin: 0 4px; }
.sa-crumb b { font-weight: 600; }
.sa-pc { display: flex; align-items: center; gap: 16px; padding: 16px; background: #fff; border: 1px solid #e6e6e6; border-radius: 7px; max-width: 640px; }
.sa-pc div { display: flex; flex-direction: column; }
.sa-pc b { font-size: 16px; font-weight: 600; }
.sa-pc small { color: #5d5d5d; font-size: 12.5px; }
.sa-lead { max-width: 640px; color: #4d4d4d; font-size: 13.5px; line-height: 1.5; margin: 16px 0; }
.sa-main h3 { font-size: 14px; font-weight: 600; margin: 18px 0 8px; }
.sa-card { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; max-width: 640px; margin-bottom: 4px; }
.sa-card > svg { color: #333; }
.sa-card div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sa-card b { font-size: 13.5px; font-weight: 400; }
.sa-card small { color: #5d5d5d; font-size: 12.5px; line-height: 1.4; }
.sa-card .btn { min-width: 140px; }
.mdl.reset-dlg { width: 500px; }
.reset-dlg h3 { font-size: 18px; font-weight: 600; margin: 4px 0 8px; }
.reset-l { list-style: none; display: flex; flex-direction: column; gap: 5px; margin: 6px 0 12px; }
.reset-l li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.reset-l svg { color: #c42b1c; margin-top: 2px; }
#resetting { position: fixed; inset: 0; z-index: 10001; background: #0a2e6e; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-size: 18px; }
#resetting .pc { font-size: 14px; opacity: .8; }
#bsod { position: fixed; inset: 0; z-index: 10002; background: #0063b1; color: #fff; display: flex; align-items: center; padding: 0 10vw; user-select: none; }
#bsod > div { max-width: 820px; display: flex; flex-direction: column; gap: 18px; font-size: 20px; line-height: 1.45; }
#bsod .sad { font-size: 110px; line-height: 1; }
#bsod .code { font-size: 14px; }
#bsod .why { font-size: 14px; background: rgba(255,255,255,.12); padding: 10px 14px; border-radius: 6px; }
body.no-shell #icons, body.no-shell #taskbar { visibility: hidden; }

/* ═════════ Диспетчер завдань ═════════ */
.tm { height: 100%; display: flex; flex-direction: column; background: #f3f3f3; }
.tm-top { flex: none; display: flex; justify-content: center; padding: 8px 12px; }
.tm-search { width: min(520px, 100%); height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #fff; border: 1px solid #d9d9d9; border-radius: 6px; color: #6b6b6b; }
.tm-search input { flex: 1; border: 0; outline: none; font-size: 13px; color: var(--text); background: transparent; min-width: 0; user-select: text; }
.tm-search:focus-within { border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.tm-main { flex: 1; min-height: 0; display: flex; }
.tm-nav { flex: none; width: 210px; padding: 4px 6px; display: flex; flex-direction: column; gap: 2px; }
.tm-n { height: 38px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 5px; text-align: left; font-size: 13px; position: relative; }
.tm-n:hover { background: rgba(0,0,0,.045); }
.tm-n.on { background: rgba(0,0,0,.07); }
.tm-n.on::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--accent); }
.tm-body { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; border-top-left-radius: 8px; border: 1px solid #e5e5e5; border-right: 0; border-bottom: 0; }
.tm-h { flex: none; display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-bottom: 1px solid #ececec; min-height: 52px; }
.tm-h h2 { font-size: 16px; font-weight: 600; }
.tm-b { height: 32px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border-radius: 5px; font-size: 13px; white-space: nowrap; }
.tm-b:hover:not(:disabled) { background: rgba(0,0,0,.05); }
.tm-b:disabled { opacity: .38; }
.tm-c { flex: 1; min-height: 0; overflow: auto; outline: none; }
.tm-t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tm-t th { position: sticky; top: 0; z-index: 1; background: #fff; font-weight: 400; color: #4d4d4d; text-align: left; padding: 4px 10px; border-bottom: 1px solid #e5e5e5; white-space: nowrap; vertical-align: bottom; }
.tm-t th[data-sort]:hover { background: #f3f3f3; }
.tm-t th.sorted { color: #000; }
.tm-t th b { display: block; font-size: 15px; font-weight: 600; color: #1b1b1b; }
.tm-t th.num, .tm-t td.num { text-align: right; }
.tm-t th.st, .tm-t td.st { width: 70px; }
.tm-t td { padding: 0 10px; height: 30px; white-space: nowrap; border-bottom: 1px solid #f4f4f4; }
.tm-t td.nm { min-width: 260px; }
.tm-t td.nm > .tm-ic, .tm-t td.nm > .tm-av { display: inline-flex; vertical-align: middle; vertical-align: middle; margin-right: 10px; }
.tm-t td.nm.sub { padding-left: 48px; }
.tm-t.compact td.nm { min-width: 0; }
.tm-t td.dsc { max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
.tm-t td.grp { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.tm-ic { width: 18px; display: flex; justify-content: center; color: #555; }
.tm-t tbody tr:hover td { background-color: #f5f9fd; }
.tm-t tr.sel td { background-color: #cce4f7 !important; }
.tm-t tr.grp td { font-weight: 600; height: 32px; color: #1b1b1b; background: #fff; }
.tm-t tr.grp td svg { display: inline-block; vertical-align: -1px; margin-right: 6px; }
.tm-t td.nm > svg { display: inline-block; vertical-align: -1px; margin-right: 6px; }
.tm-t td.off { color: #8a8a8a; }
.tm-t td.run { color: #0e700e; }
.tm-t.det td.nm { min-width: 180px; }
.tm-av { display: inline-flex; vertical-align: middle; width: 22px; height: 22px; border-radius: 50%; background: #b8d6f4; color: #0b4a8a; font-size: 11px; font-weight: 700; align-items: center; justify-content: center; margin-right: 8px; }
.tm-note { font-size: 12.5px; color: #4d4d4d; line-height: 1.5; padding: 10px 14px; background: #f7f9fb; border-bottom: 1px solid #ececec; }
.tm-empty { padding: 20px; color: #6b6b6b; font-size: 13px; }
.pf { height: 100%; display: flex; }
.pf-list { flex: none; width: 230px; padding: 8px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid #ececec; overflow-y: auto; }
.pf-it { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 6px; text-align: left; border: 1px solid transparent; }
.pf-it:hover { background: #f5f5f5; }
.pf-it.on { background: #e5f1fb; border-color: #b9d6f1; }
.pf-it > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.pf-it b { font-size: 13px; font-weight: 600; }
.pf-it small { font-size: 11.5px; color: #5d5d5d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-sp { flex: none; width: 64px; height: 38px; border: 1px solid #c9d6e2; background: #fff; }
.pf-main { flex: 1; min-width: 0; padding: 14px 20px; overflow-y: auto; user-select: text; }
.pf-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pf-h h3 { font-size: 24px; font-weight: 600; }
.pf-h span { font-size: 13px; color: #4d4d4d; }
.pf-cap { display: flex; justify-content: space-between; font-size: 11.5px; color: #6b6b6b; margin: 8px 0 3px; }
.pf-big { height: 220px; border: 1px solid #b9d6f1; background: #fff; }
svg.sp { display: block; }
svg.sp .g { stroke: #e4edf6; stroke-width: 1; vector-effect: non-scaling-stroke; }
svg.sp .l { fill: none; stroke: #1a73c8; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
svg.sp .f { fill: rgba(26,115,200,.12); }
svg.sp.mem .l { stroke: #8e44ad; } svg.sp.mem .f { fill: rgba(142,68,173,.12); }
svg.sp.diskC .l, svg.sp.diskD .l { stroke: #2f8f2f; } svg.sp.diskC .f, svg.sp.diskD .f { fill: rgba(47,143,47,.12); }
svg.sp.net .l { stroke: #c0661a; } svg.sp.net .f { fill: rgba(192,102,26,.12); }
.pf-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 14px; }
.pf-live { display: grid; grid-template-columns: repeat(3, minmax(110px, auto)); gap: 10px 22px; }
.pf-live div { display: flex; flex-direction: column; }
.pf-live small { font-size: 12px; color: #5d5d5d; }
.pf-live b { font-size: 18px; font-weight: 400; }
.pf-stats table { font-size: 12.5px; border-collapse: collapse; }
.pf-stats th { text-align: left; font-weight: 400; color: #5d5d5d; padding: 2px 14px 2px 0; white-space: nowrap; }
.run-h { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 8px; }
.run-h p { line-height: 1.45; }

/* ═════════ Браузер ═════════ */
.bw { height: 100%; display: flex; flex-direction: column; background: #fff; outline: none; position: relative; }
.bw-tabs { flex: none; display: flex; align-items: flex-end; gap: 2px; padding: 6px 8px 0; background: #e8ebef; min-width: 0; }
.bw-tl { display: flex; gap: 2px; min-width: 0; flex: 0 1 auto; overflow: hidden; }
.bw-tab { position: relative; flex: 0 1 270px; min-width: 70px; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 12px; border-radius: 8px 8px 0 0; font-size: 12.5px; cursor: default; color: #333; }
.bw-tab:hover { background: rgba(255,255,255,.55); }
.bw-tab.on { background: #fff; color: #000; }
.bw-tab span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-x { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #555; }
.bw-x:hover { background: rgba(0,0,0,.1); }
.bw-new { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 2px; color: #333; }
.bw-new:hover { background: rgba(0,0,0,.08); }
.bw-spin { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid #c9d8ea; border-top-color: #1a73c8; animation: spin .7s linear infinite; }
.bw-bar { flex: none; display: flex; align-items: center; gap: 2px; padding: 5px 8px; border-bottom: 1px solid #e3e3e3; }
.bw-addr { flex: 1; min-width: 0; height: 34px; display: flex; align-items: center; gap: 4px; margin: 0 6px; padding: 0 4px 0 6px; background: #f1f3f5; border: 1px solid transparent; border-radius: 17px; }
.bw-addr:focus-within { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.bw-in { flex: 1; min-width: 0; height: 30px; border: 0; outline: none; background: transparent; font-size: 13.5px; user-select: text; }
.bw-sec { height: 26px; display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 13px; font-size: 12.5px; color: #4d4d4d; white-space: nowrap; }
.bw-sec:hover { background: rgba(0,0,0,.07); }
.bw-sec.http { color: #5d5d5d; }
.bw-sec.danger { color: #c42b1c; font-weight: 600; }
.bw-star { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #5d5d5d; }
.bw-star:hover { background: rgba(0,0,0,.07); }
.bw-star.on svg { fill: #1a73c8; stroke: #1a73c8; }
.bw-dl { position: relative; }
.bw-dot { position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: #1a73c8; }
.bw-marks { flex: none; display: flex; align-items: center; gap: 2px; padding: 3px 8px; border-bottom: 1px solid #e3e3e3; min-height: 32px; overflow: hidden; }
.bm { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 13px; font-size: 12.5px; color: #333; text-decoration: none; white-space: nowrap; }
.bm:hover { background: rgba(0,0,0,.06); }
.bm-empty { font-size: 12px; color: #6b6b6b; padding: 0 6px; }
.bw-progress { flex: none; height: 2px; overflow: hidden; }
.bw-progress.on i { display: block; height: 100%; width: 40%; background: #1a73c8; animation: bwload .9s ease-in-out infinite; }
@keyframes bwload { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.bw-view { flex: 1; min-height: 0; position: relative; }
.bw-page { position: absolute; inset: 0; overflow: auto; user-select: text; font-size: 14px; }
.bw-page a { color: #1a5fb4; }
.bw-fly { position: absolute; right: 54px; top: 92px; width: 360px; max-height: 360px; overflow-y: auto; background: #fff; border: 1px solid #d6d6d6; border-radius: 8px; box-shadow: var(--shadow); z-index: 5; }
.bw-fly header { display: flex; align-items: center; gap: 4px; padding: 8px 8px 6px 14px; border-bottom: 1px solid #eee; }
.bw-fly header b { flex: 1; font-size: 14px; font-weight: 600; }
.fl-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-bottom: 1px solid #f2f2f2; }
.fl-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fl-row b { font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; }
.fl-row small { font-size: 11.5px; color: #5d5d5d; }
.fl-bar { display: block; height: 4px; border-radius: 2px; background: #e3e9f0; overflow: hidden; }
.fl-bar i { display: block; height: 100%; background: #1a73c8; transition: width .12s; }
/* нова вкладка й внутрішні сторінки */
.nt { min-height: 100%; display: flex; flex-direction: column; align-items: center; padding: 70px 20px 30px; background: linear-gradient(#f4f8fd, #fff 60%); }
.nt-logo { display: flex; align-items: center; gap: 14px; font-size: 30px; font-weight: 600; color: #1b1b1b; }
.nt-search { width: min(580px, 100%); height: 46px; margin-top: 26px; display: flex; align-items: center; gap: 10px; padding: 0 18px; background: #fff; border: 1px solid #d6dde6; border-radius: 23px; box-shadow: 0 2px 8px rgba(0,0,0,.06); color: #6b6b6b; }
.nt-search:focus-within { border-color: #1a73c8; }
.nt-search input { flex: 1; border: 0; outline: none; font-size: 15px; background: transparent; color: #1b1b1b; }
.nt-tiles { display: grid; grid-template-columns: repeat(4, 112px); gap: 12px; margin-top: 30px; }
.nt-t { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 10px; border-radius: 10px; text-decoration: none; color: #333 !important; }
.nt-t:hover { background: rgba(0,0,0,.05); }
.nt-t > span { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid #e3e3e3; display: flex; align-items: center; justify-content: center; }
.nt-t small { font-size: 12.5px; text-align: center; }
.nt-tip { display: flex; align-items: center; gap: 8px; margin-top: 30px; font-size: 13px; color: #4d4d4d; }
.ip { max-width: 860px; margin: 0 auto; padding: 26px 30px; }
.ip h1 { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 600; margin-bottom: 14px; }
.ip h3 { font-size: 13.5px; font-weight: 600; margin: 18px 0 6px; color: #4d4d4d; }
.ip-bar { display: flex; margin-bottom: 6px; }
.ip-list { border: 1px solid #e6e6e6; border-radius: 8px; overflow: hidden; }
.ip-row { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-bottom: 1px solid #f2f2f2; font-size: 13px; }
.ip-row small { width: 44px; color: #6b6b6b; }
.ip-row a { flex: 0 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.ip-url { flex: 1; color: #6b6b6b; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ip-empty { color: #6b6b6b; font-size: 13.5px; padding: 20px 0; }
.dl-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #f2f2f2; }
.dl-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dl-row b { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.dl-row small { color: #5d5d5d; font-size: 12px; }
.dl-row .btn { min-width: 0; }
/* помилки */
.err { max-width: 620px; margin: 0 auto; padding: 70px 30px 30px; color: #3c4043; font-size: 14px; line-height: 1.55; }
.err-ic { color: #5f6368; margin-bottom: 20px; }
.err h1 { font-size: 24px; font-weight: 500; color: #202124; margin-bottom: 12px; line-height: 1.3; }
.err p { margin-bottom: 8px; }
.err ul { margin: 0 0 14px 22px; display: flex; flex-direction: column; gap: 4px; }
.err-code { font-size: 12px; color: #70757a; text-transform: uppercase; margin: 14px 0 22px !important; }
/* сайти */
.site { min-height: 100%; display: flex; flex-direction: column; background: #fff; color: #1f2328; font-size: 14.5px; line-height: 1.55; }
.site-h { flex: none; display: flex; align-items: center; gap: 24px; padding: 12px 28px; border-bottom: 3px solid var(--sc); background: #fff; flex-wrap: wrap; }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1f2328 !important; font-size: 18px; }
.site-h nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-h nav a { color: #1f2328 !important; text-decoration: none; font-size: 14px; }
.site-h nav a:hover { color: var(--sc) !important; }
.site-m { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 22px 28px 30px; }
.site-f { flex: none; padding: 14px 28px; font-size: 12.5px; color: #6b6b6b; border-top: 1px solid #eee; text-align: center; }
.site-t { font-size: 24px; font-weight: 700; margin: 4px 0 14px; line-height: 1.3; }
.site-p { color: #4d4d4d; margin-bottom: 14px; }
.hero { padding: 30px 28px; border-radius: 12px; background: var(--sc); color: #fff; margin-bottom: 22px; }
.hero h1 { font-size: 28px; line-height: 1.25; margin-bottom: 6px; }
.ann { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.ann > div { padding: 14px 16px; border: 1px solid #e3e3e3; border-left: 4px solid var(--sc); border-radius: 8px; }
.site-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.site-tbl th, .site-tbl td { border: 1px solid #e0e0e0; padding: 8px 10px; text-align: left; }
.site-tbl thead th { background: #f6f8f6; }
.site-tbl td.hl { background: #e9f6e9; font-weight: 600; }
.site-2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; align-items: start; }
.site-form { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid #e3e3e3; border-radius: 10px; }
.site-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.site-form .btn { align-self: flex-start; }
.form-err { color: #c42b1c; font-size: 13px; }
.form-ok { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; border-radius: 10px; background: #e9f6e9; color: #0e5a0e; }
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.news-c { display: flex; flex-direction: column; gap: 4px; padding: 0 0 14px; border: 1px solid #e3e3e3; border-radius: 10px; overflow: hidden; text-decoration: none; color: #1f2328 !important; }
.news-c:hover { border-color: #c9c9c9; }
.news-img, .art-img { display: flex; align-items: center; justify-content: center; height: 120px; background: #fbeeee; color: var(--sc); margin-bottom: 6px; }
.news-c small, .news-c b, .news-c > span:last-child { padding: 0 14px; }
.news-c small { color: #6b6b6b; font-size: 12px; }
.news-c b { font-size: 16px; line-height: 1.35; }
.news-c > span:last-child { font-size: 13px; color: #4d4d4d; }
.art { max-width: 720px; }
.art h1 { font-size: 28px; line-height: 1.25; margin-bottom: 14px; }
.art-d { color: #6b6b6b; font-size: 13px; }
.art-img { border-radius: 10px; height: 180px; margin: 6px 0 16px; }
.art p { margin-bottom: 12px; }
.art h3 { margin: 14px 0 4px; }
.warn-box, .ok-box { padding: 12px 14px; border-radius: 8px; }
.warn-box { background: #fde7e9; color: #6b1014; } .ok-box { background: #e9f6e9; color: #0e5a0e; }
.files { display: flex; flex-direction: column; gap: 8px; }
.file-r { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #e3e3e3; border-radius: 10px; color: var(--sc); }
.file-r > div { flex: 1; min-width: 0; display: flex; flex-direction: column; color: #1f2328; }
.file-r b { overflow-wrap: anywhere; }
.file-r small { color: #6b6b6b; font-size: 12.5px; }
.file-r.danger { border-color: #f1bbbc; background: #fff7f7; color: #c42b1c; }
.file-r .btn { min-width: 0; }
.wx-f { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wx-f label { display: flex; align-items: center; gap: 8px; }
.wx { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: 12px; }
.wx-d { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-radius: 12px; background: #eef8fb; text-align: center; }
.wx-d big { font-size: 26px; font-weight: 700; }
.wx-d small { color: #5d5d5d; }
.wx-i.sun { color: #e8a200; } .wx-i.cloud { color: #6b7d8f; } .wx-i.rain { color: #0078d4; }
.terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.terms a { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid #e3e3e3; border-radius: 10px; text-decoration: none; color: #1f2328 !important; }
.terms a:hover { border-color: var(--sc); }
.terms span { font-size: 13px; color: #4d4d4d; }
.srch.home { align-items: center; justify-content: center; }
.srch-big { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 20px; width: 100%; }
.srch-big h1 { font-size: 34px; }
.srch-f { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border: 1px solid #d6dde6; border-radius: 21px; background: #fff; color: #6b6b6b; width: min(560px, 100%); }
.srch-f.big { height: 48px; border-radius: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.srch-f:focus-within { border-color: #1a73c8; }
.srch-f input { flex: 1; border: 0; outline: none; font-size: 15px; background: transparent; color: #1b1b1b; min-width: 0; }
.srch-sug { font-size: 13px; color: #5d5d5d; text-align: center; }
.srch-h { display: flex; align-items: center; gap: 24px; padding: 14px 28px; border-bottom: 1px solid #e6e6e6; flex-wrap: wrap; }
.srch-m { max-width: 720px; padding: 14px 28px 30px 150px; }
.srch-n { font-size: 13px; color: #6b6b6b; margin-bottom: 14px; }
.srch-r { margin-bottom: 22px; }
.srch-r small { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #4d4d4d; }
.srch-r a { display: block; font-size: 18px; margin: 2px 0; text-decoration: none; }
.srch-r a:hover { text-decoration: underline; }
.srch-r p { font-size: 13.5px; color: #4d5156; }
.srch-none p { margin-bottom: 8px; }
.danger-pg { min-height: 100%; background: #b3261e; color: #fff; display: flex; align-items: center; justify-content: center; padding: 40px; }
.danger-pg > div { max-width: 600px; display: flex; flex-direction: column; gap: 12px; }
.danger-pg h1 { font-size: 30px; }
.danger-b { display: flex; align-items: center; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.danger-pg .btn.primary { background: #fff; color: #b3261e; border-color: #fff; }
.danger-pg .link { color: #ffd8d4; }
.phish { min-height: 100%; background: repeating-linear-gradient(45deg, #ffeb3b 0 30px, #ffd600 30px 60px); display: flex; flex-direction: column; align-items: center; padding: 40px 20px; gap: 14px; text-align: center; }
.phish h1 { font-size: 30px; color: #d50000; line-height: 1.2; }
.ph-t { font-size: 18px; }
.ph-f { display: flex; flex-direction: column; gap: 10px; width: min(380px, 100%); background: #fff; padding: 20px; border-radius: 12px; text-align: left; }
.ph-f label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.ph-f .btn { background: #d50000; border-color: #d50000; height: 42px; font-size: 16px; font-weight: 700; }
.trap { max-width: 640px; margin: 0 auto; padding: 50px 30px; color: #1f2328; }
.trap > svg { color: #107c10; }
.trap h1 { font-size: 28px; margin: 10px 0; }
.trap ul { margin: 10px 0 14px 22px; display: flex; flex-direction: column; gap: 4px; }

/* ═════════ Роутер «Домовик» ═════════ */
.rt { --rc: #0b6e75; min-height: 100%; display: flex; flex-direction: column; background: #eef2f5; color: #1f2a33; font-size: 13.5px; position: relative; }
.rt-top { flex: none; display: flex; align-items: center; gap: 6px; padding: 0 18px; height: 54px; background: #13323b; color: #e6f2f4; }
.rt-brand { display: flex; align-items: center; gap: 10px; }
.rt-brand b { font-size: 18px; letter-spacing: .3px; }
.rt-brand span { font-size: 12.5px; color: #9fc3c9; }
.rt-fw { font-size: 12px; color: #9fc3c9; margin-right: 8px; }
.rt-tb { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 5px; color: #e6f2f4 !important; text-decoration: none; font-size: 13px; }
.rt-tb:hover { background: rgba(255,255,255,.1); }
.rt-body { flex: 1; display: flex; align-items: stretch; min-height: 0; }
.rt-menu { flex: none; width: 220px; background: #fff; border-right: 1px solid #dde4ea; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.rt-menu a { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-radius: 6px; color: #2c3e4a !important; text-decoration: none; }
.rt-menu a:hover { background: #f0f5f7; }
.rt-menu a.on { background: #e1f1f2; color: var(--rc) !important; font-weight: 600; }
.rt-main { flex: 1; min-width: 0; padding: 20px 26px 34px; }
.rt-help { flex: none; width: 250px; padding: 20px 18px; background: #f7fafb; border-left: 1px solid #dde4ea; font-size: 13px; line-height: 1.55; color: #3b4b56; }
.rt-help h4 { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--rc); margin-bottom: 6px; }
.rt-h1 { font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.rt-card { background: #fff; border: 1px solid #dde4ea; border-radius: 10px; padding: 14px 18px 16px; margin-bottom: 14px; }
.rt-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rt-card h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.rt-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.rt-card dt { color: #5d6b75; }
.rt-card dd { overflow-wrap: anywhere; display: flex; align-items: center; gap: 6px; }
dd.ok, .rt-ok { color: #0e7a3a; } dd.off { color: #8a8a8a; } dd.bad { color: #c42b1c; font-weight: 600; }
.rt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.rt-grid .rt-card { margin: 0; }
.rt-map { display: flex; align-items: center; justify-content: center; gap: 0; background: #fff; border: 1px solid #dde4ea; border-radius: 10px; padding: 22px 14px; margin-bottom: 14px; }
.rt-node { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 150px; text-align: center; color: #3b4b56; }
.rt-node.main { color: var(--rc); }
.rt-node small { color: #5d6b75; }
.rt-link-l { flex: 0 1 120px; height: 3px; background: #c7d3dc; border-radius: 2px; }
.rt-link-l.ok { background: #2fb36a; }
.rt-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 14px; align-items: start; padding: 7px 0; }
.rt-l { padding-top: 7px; color: #3b4b56; }
.rt-ctl { display: flex; flex-direction: column; gap: 4px; min-width: 0; max-width: 460px; }
.rt-in { height: 34px; border: 1px solid #c3ced8; border-radius: 6px; padding: 0 10px; background: #fff; font-size: 13.5px; outline: none; width: 100%; user-select: text; color: #1f2a33; }
textarea.rt-in { height: auto; padding: 8px 10px; resize: vertical; }
.rt-in:focus { border-color: var(--rc); box-shadow: 0 0 0 2px rgba(11,110,117,.18); }
.rt-in:disabled { background: #f2f5f7; color: #8a98a3; }
.rt-in.bad { border-color: #c42b1c; box-shadow: 0 0 0 2px rgba(196,43,28,.15); }
.rt-hint { color: #5d6b75; font-size: 12.5px; line-height: 1.45; }
.rt-err { color: #c42b1c; font-size: 12.5px; font-weight: 600; }
.rt-pass { display: flex; position: relative; }
.rt-pass .rt-in { padding-right: 38px; }
.rt-eye { position: absolute; right: 4px; top: 4px; width: 28px; height: 26px; display: flex; align-items: center; justify-content: center; color: #5d6b75; border-radius: 4px; }
.rt-eye:hover { background: #eef2f5; }
.rt-sw { display: inline-flex; align-items: center; gap: 10px; padding-top: 6px; cursor: pointer; }
.rt-sw input { position: absolute; opacity: 0; pointer-events: none; }
.rt-sw i { position: relative; flex: none; width: 40px; height: 22px; border-radius: 11px; background: #c3ced8; transition: background .15s; }
.rt-sw i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.rt-sw input:checked + i { background: var(--rc); }
.rt-sw input:checked + i::after { left: 21px; }
.rt-sw input:focus-visible + i { outline: 2px solid #000; outline-offset: 2px; }
.rt-sw.sm { padding: 0; }
.rt-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.rt-btn { height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 18px; border-radius: 6px; border: 1px solid #c3ced8; background: #fff; color: #1f2a33 !important; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.rt-btn:hover:not(:disabled) { background: #f2f6f8; }
.rt-btn:disabled { opacity: .5; }
.rt-btn.primary { background: var(--rc); border-color: var(--rc); color: #fff !important; }
.rt-btn.primary:hover:not(:disabled) { background: #095c62; }
.rt-btn.danger { border-color: #c42b1c; color: #c42b1c !important; }
.rt-btn.big { height: 42px; font-size: 15px; width: 100%; }
.rt-link { color: var(--rc) !important; font-size: 13px; text-decoration: none; }
.rt-link:hover { text-decoration: underline; }
.rt-ib { width: 30px; height: 30px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; color: #5d6b75; }
.rt-ib:hover { background: #fde7e9; color: #c42b1c; }
.rt-p { color: #3b4b56; line-height: 1.55; margin-bottom: 10px; max-width: 680px; }
.rt-note { display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border-radius: 8px; background: #e7f2f8; color: #1b4a66; font-size: 13px; line-height: 1.45; margin: 6px 0 10px; }
.rt-note svg, .rt-warn svg { flex: none; margin-top: 2px; }
.rt-warn { display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border-radius: 8px; background: #fff4e5; color: #6b4300; font-size: 13px; line-height: 1.45; margin: 6px 0 10px; }
.rt-flash { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 8px; background: #e3f6ea; color: #0e5a2e; margin-bottom: 12px; font-weight: 600; }
.rt-flash.bad { background: #fde7e9; color: #8a1c13; }
.rt-tabs { display: flex; gap: 4px; border-bottom: 1px solid #d3dce3; margin-bottom: 14px; flex-wrap: wrap; }
.rt-tabs a { padding: 8px 14px; color: #3b4b56 !important; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.rt-tabs a:hover { color: var(--rc) !important; }
.rt-tabs a.on { color: var(--rc) !important; border-bottom-color: var(--rc); font-weight: 600; }
.rt-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.rt-t th { text-align: left; font-weight: 600; color: #5d6b75; padding: 7px 8px; border-bottom: 1px solid #dde4ea; white-space: nowrap; }
.rt-t td { padding: 7px 8px; border-bottom: 1px solid #eef2f5; vertical-align: middle; }
.rt-none { color: #56636d; padding: 10px 0; }
.rt-t td.rt-none { text-align: center; }
.rt-dev svg, .rt-dev .rt-tag { vertical-align: middle; }
.rt-dev svg { display: inline-block; margin-right: 8px; }
.rt-dev .rt-tag { margin-left: 8px; }
.rt-dev svg { color: var(--rc); }
.rt-tag { font-size: 11px; padding: 1px 7px; border-radius: 9px; background: #e1f1f2; color: var(--rc); }
.rt-checks { gap: 6px; padding-top: 6px; }
.rt-chk { display: flex; align-items: center; gap: 8px; }
.rt-chk input { accent-color: var(--rc); width: 15px; height: 15px; }
.rt-chk small { color: #56636d; }
.rt-meter { display: flex; align-items: center; gap: 10px; }
.rt-meter i { display: block; height: 5px; border-radius: 3px; background: #c42b1c; width: 0; transition: width .15s; max-width: 200px; }
.rt-meter[data-s="2"] i { background: #e8a200; } .rt-meter[data-s="3"] i, .rt-meter[data-s="4"] i { background: #0e7a3a; }
.rt-meter b { font-size: 12px; font-weight: 600; color: #5d6b75; white-space: nowrap; }
.rt-mini { display: inline-block; width: 90px; height: 6px; border-radius: 3px; background: #e3e9ee; overflow: hidden; }
.rt-mini i { display: block; height: 100%; background: var(--rc); }
.rt-code { font: 600 14px var(--mono); padding: 3px 8px; background: #eef2f5; border-radius: 4px; }
.rt-wps { margin-top: 10px; display: flex; align-items: center; gap: 8px; color: var(--rc); }
.rt-profs { display: flex; flex-direction: column; gap: 8px; }
.rt-prof { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #e3e9ee; border-radius: 8px; }
.rt-prof > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.rt-prof small { color: #5d6b75; }
.rt-prof.paused { background: #fff8ec; }
.rt-av { width: 38px; height: 38px; border-radius: 50%; background: #e1f1f2; color: var(--rc); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex: none; }
.rt-log { display: flex; flex-direction: column; max-height: 360px; overflow-y: auto; font-size: 12.5px; }
.rt-log div { display: grid; grid-template-columns: 150px 150px 1fr; gap: 10px; padding: 5px 0; border-bottom: 1px solid #eef2f5; }
.rt-log small { color: #56636d; }
.rt-diag { display: flex; gap: 8px; margin-bottom: 10px; }
.rt-diag select { width: 110px; } .rt-diag input { max-width: 280px; }
.rt-pre { background: #13232a; color: #c8e6ea; font: 12.5px/1.5 var(--mono); padding: 12px; border-radius: 8px; min-height: 110px; white-space: pre-wrap; user-select: text; }
.rt-files { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.rt-upd { padding: 12px 14px; border: 1px solid #cde5e7; border-radius: 8px; background: #f3fafa; margin-top: 8px; }
.rt-upd ul { margin: 6px 0 8px 20px; }
.rt-bar { height: 8px; border-radius: 4px; background: #dfe7ec; overflow: hidden; width: min(420px, 100%); margin: 10px 0; }
.rt-bar i { display: block; height: 100%; width: 0; background: var(--rc); transition: width .4s; }
.rt-spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #cde0e3; border-top-color: var(--rc); animation: spin .7s linear infinite; vertical-align: -2px; margin-right: 6px; }
.rt-sum { border-collapse: collapse; margin-bottom: 10px; }
.rt-sum th { text-align: left; font-weight: 400; color: #5d6b75; padding: 6px 24px 6px 0; }
.rt-sum td { font-weight: 600; overflow-wrap: anywhere; }
.rt-ov { position: absolute; inset: 0; background: rgba(19,50,59,.35); display: flex; align-items: flex-start; justify-content: center; padding-top: 120px; z-index: 3; }
.rt-dlg { width: min(440px, 90%); background: #fff; border-radius: 10px; padding: 18px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.rt-dlg p { line-height: 1.5; margin-bottom: 14px; }
/* вхід */
.rt-login { align-items: center; justify-content: flex-start; padding: 50px 20px; background: linear-gradient(#13323b 0 220px, #eef2f5 220px); }
.rt-lc { width: min(400px, 100%); background: #fff; border-radius: 14px; padding: 28px 30px 22px; box-shadow: 0 10px 30px rgba(0,0,0,.15); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--rc); }
.rt-lc h1 { font-size: 26px; color: #13323b; }
.rt-model { color: #5d6b75; margin-bottom: 8px; }
.rt-lf { width: 100%; display: flex; flex-direction: column; gap: 12px; color: #1f2a33; }
.rt-lf label { display: flex; flex-direction: column; gap: 5px; }
.rt-lerr { color: #c42b1c; font-weight: 600; font-size: 13px; }
.rt-forgot { width: 100%; color: #1f2a33; font-size: 13px; line-height: 1.5; border-top: 1px solid #e3e9ee; padding-top: 12px; margin-top: 6px; }
.rt-back { margin: 12px 0; padding: 14px 12px 10px; background: #2b3540; border-radius: 10px; }
.rt-ports { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.rt-ports span { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #c9d4dd; font-size: 11px; }
.rt-ports span i { width: 26px; height: 20px; background: #161c22; border: 2px solid #4a5866; border-radius: 3px; }
.rt-ports span.wan i { border-color: #2d7fd0; }
.rt-ports .pwr i { width: 16px; height: 16px; border-radius: 50%; }
.rt-reset { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #ffc2b8; font-size: 11px; font-weight: 700; }
.rt-reset i { width: 14px; height: 14px; border-radius: 50%; background: #c42b1c; border: 3px solid #5a1d17; box-shadow: 0 0 0 2px #2b3540, 0 0 0 3px #555; }
.rt-reset.down i { transform: scale(.85); background: #8a1c13; }
.rt-hold { height: 5px; border-radius: 3px; background: #46525e; margin-top: 10px; overflow: hidden; }
.rt-hold i { display: block; height: 100%; width: 0; background: #ff7a66; }
.rt-sticker { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: #f6f6f0; border: 1px dashed #b9b9a8; border-radius: 6px; font: 12px var(--mono); color: #3c3c30; }
.rt-sticker b { font-family: var(--font); }
.rt-boot { align-items: center; padding-top: 90px; gap: 10px; color: var(--rc); text-align: center; }
.rt-boot h1 { font-size: 20px; color: #13323b; }
/* майстер */
.rt-wiz { flex: 1; display: flex; justify-content: center; padding: 26px 20px; }
.rt-wc { width: min(820px, 100%); display: flex; gap: 22px; align-items: flex-start; }
.rt-steps { flex: none; width: 220px; list-style: none; background: #fff; border: 1px solid #dde4ea; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.rt-steps li { display: flex; align-items: center; gap: 10px; padding: 6px 4px; color: #56636d; }
.rt-steps i { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #c3ced8; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 700; }
.rt-steps li.on { color: var(--rc); font-weight: 600; } .rt-steps li.on i { border-color: var(--rc); background: var(--rc); color: #fff; }
.rt-steps li.done i { border-color: #2fb36a; background: #2fb36a; color: #fff; }
.rt-form { min-width: 0; }
.rt-wc > .rt-form { flex: 1; background: #fff; border: 1px solid #dde4ea; border-radius: 10px; padding: 18px 22px 18px; }
.rt-wc h2 { font-size: 19px; margin-bottom: 10px; }
.rt-wc .rt-row { grid-template-columns: 180px minmax(0, 1fr); }
.rt-types { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.rt-type { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #dde4ea; border-radius: 8px; }
.rt-type:has(input:checked) { border-color: var(--rc); background: #f0f8f8; }
.rt-type input { margin-top: 3px; accent-color: var(--rc); }
.rt-type span { display: flex; flex-direction: column; }
.rt-type small { color: #5d6b75; }
.rt-detected { color: #0e7a3a; margin: 8px 0; display: flex; align-items: center; gap: 6px; }
.rt-apply { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: #fff; border: 1px solid #dde4ea; border-radius: 10px; padding: 30px; width: min(520px, 100%); color: var(--rc); align-self: flex-start; }
.rt-apply h2 { color: #13323b; }
.rt-apply p { color: #3b4b56; line-height: 1.5; }
.tm-t.det td:last-child { white-space: normal; min-width: 200px; line-height: 1.35; padding-top: 4px; padding-bottom: 4px; }
.tm-t.det { min-width: 100%; width: auto; }
.tm-t.det td.nm { display: table-cell; min-width: 0; height: auto; }
.tm-t.det td { height: auto; padding-top: 6px; padding-bottom: 6px; }
.tm-t.det td:last-child { min-width: 140px; }
.tm-t.det { width: 100%; }
.tm-t.det th, .tm-t.det td { padding-left: 8px; padding-right: 8px; }

/* ═════════ Антивірус ═════════ */
.av-ok { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; max-width: 640px; }
.av-ok > svg { color: #13a10e; margin-top: 2px; }
.av-ok div { display: flex; flex-direction: column; gap: 4px; }
.av-ok small { color: #4d4d4d; font-size: 12.5px; line-height: 1.55; }
.av-acts { display: flex; align-items: center; gap: 12px; margin: 12px 0 4px; flex-wrap: wrap; }
.av-scan { padding: 14px 16px; background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; max-width: 640px; }
.av-bar { height: 4px; border-radius: 2px; background: #e3e9f0; overflow: hidden; margin: 10px 0; }
.av-bar i { display: block; height: 100%; background: var(--accent); transition: width .15s; }
.av-cur { font-size: 12px; color: #5d5d5d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 6px 0 10px; font-family: var(--mono); }
.av-bad { display: flex; align-items: center; gap: 8px; color: #a4262c; font-size: 13.5px; margin: 4px 0 8px; }
.av-threats { max-width: 720px; }
.av-list { display: flex; flex-direction: column; gap: 8px; max-width: 720px; margin-top: 8px; }
.av-th { padding: 12px 14px; background: #fff; border: 1px solid #f1bbbc; border-left: 4px solid #c42b1c; border-radius: 6px; }
.av-thh { display: flex; align-items: center; gap: 12px; }
.av-thh > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.av-thh b { overflow-wrap: anywhere; }
.av-thh small { color: #5d5d5d; font-size: 12px; }
.av-thh select { width: 210px; flex: none; }
.av-what { font-size: 13px; line-height: 1.5; margin: 8px 0 6px; color: #333; }
.av-path { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.av-lv { flex: none; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.av-lv.sev { background: #fde7e9; color: #a4262c; } .av-lv.high { background: #fff1e5; color: #9a4a00; } .av-lv.mid { background: #fff8db; color: #7a5b00; } .av-lv.low { background: #eef2f6; color: #44546a; }
.av-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; }
.av-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.av-row small { color: #5d5d5d; font-size: 12px; overflow-wrap: anywhere; }
.av-row .btn { min-width: 0; }
.av-opts { display: flex; flex-direction: column; gap: 6px; max-width: 680px; margin: 10px 0 16px; }
.av-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; }
.av-opt:has(input:checked) { border-color: var(--accent); background: #f3f8fd; }
.av-opt input { margin-top: 3px; accent-color: var(--accent); }
.av-opt span { display: flex; flex-direction: column; gap: 2px; }
.av-opt small { color: #4d4d4d; font-size: 12.5px; line-height: 1.45; }
.av-hist { display: flex; flex-direction: column; gap: 6px; max-width: 720px; margin-top: 12px; }
.av-hc { background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; }
.av-hh { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-align: left; }
.av-hh > div { flex: 1; display: flex; flex-direction: column; }
.av-hh small { color: #5d5d5d; font-size: 12px; }
.av-hh:hover { background: #fafafa; }
.av-hb { padding: 4px 16px 14px 44px; font-size: 13px; line-height: 1.5; border-top: 1px solid #f0f0f0; }
.av-hb p { margin-top: 6px; }
.av-sw { max-width: 640px; margin: 18px 0 6px; }
.av-sw > b { font-size: 14px; font-weight: 600; }
.av-sw .muted { margin: 2px 0 2px; }
#avoffline { position: fixed; inset: 0; z-index: 10002; background: #0c0c0c; color: #e6e6e6; display: flex; align-items: center; justify-content: center; }
#avoffline > div { width: min(560px, 90vw); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
#avoffline h1 { font-size: 22px; font-weight: 600; }
#avoffline .av-bar { background: #333; height: 6px; }
.sec-main h3 { display: flex; align-items: center; gap: 8px; }

.mdl.small { width: 540px; }

.rt-main > .rt-form > .rt-actions, .rt-main > .rt-form .rt-card + .rt-actions { margin-bottom: 22px; }
.rt-wc .rt-actions { margin-top: 16px; }
.rt-menu { width: 236px; }
.rt-card [data-fw] { margin-top: 12px; }
.rt-card dl + .rt-btn, .rt-card .rt-p + .rt-btn { margin-top: 4px; }
.rt-t td, .rt-t th { white-space: nowrap; }
.rt-tag { white-space: nowrap; }
.rt-card:has(> .rt-t), .rt-card:has(.rt-t) { overflow-x: auto; }
.bw-page { container-type: inline-size; }
@container (max-width: 1240px) { .rt-help { display: none; } }
@container (max-width: 900px) { .rt-menu { width: 200px; } .rt-row { grid-template-columns: 170px minmax(0, 1fr); } }

/* ═════════ Мережа ═════════ */
.tb-net { position: relative; width: 32px; padding: 0; justify-content: center; color: #1b1b1b; }
.tb-net.on { background: rgba(255,255,255,.7); }
.tb-vol { padding: 0 8px; }
.warn-dot { position: absolute; right: 4px; bottom: 9px; width: 11px; height: 11px; border-radius: 50%; background: #f7b500; color: #3b2a00; font: 700 9px/11px var(--font); font-style: normal; text-align: center; border: 1px solid #fff; }
.nfly { position: fixed; bottom: 56px; width: 360px; max-height: calc(100vh - 72px); overflow-y: auto; z-index: 9600; padding: 14px; background: rgba(242,244,248,.97); backdrop-filter: blur(30px) saturate(1.6); border: 1px solid rgba(0,0,0,.14); border-radius: 8px; box-shadow: var(--shadow); animation: stIn .14s ease-out; font-size: 13px; }
.nf-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.nf-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 12px; border-radius: 6px; background: #fff; border: 1px solid #e0e0e0; text-align: left; min-width: 0; }
.nf-tile span { font-weight: 600; }
.nf-tile small { color: #5d5d5d; font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.nf-tile:hover { background: #f6f6f6; }
.nf-tile.on { background: var(--accent); border-color: var(--accent2); color: #fff; }
.nf-tile.on small { color: rgba(255,255,255,.85); }
button.nf-tile.on:hover { background: #1975c5; }
.nf-now { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 6px; background: #fff; border: 1px solid #e6e6e6; margin-bottom: 12px; }
.nf-now span { display: flex; flex-direction: column; min-width: 0; }
.nf-now small { color: #5d5d5d; font-size: 12px; }
.nf-now.is-ok > svg { color: #0f7b0f; } .nf-now.is-bad > svg { color: #a4262c; }
.nfly h4 { font-size: 12.5px; font-weight: 600; color: #444; margin: 0 0 6px 2px; }
.nf-list { display: flex; flex-direction: column; gap: 2px; }
.nf-w { border-radius: 6px; }
.nf-w.sel, .nf-w.cur { background: rgba(255,255,255,.85); }
.nf-wh { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; text-align: left; }
.nf-wh:hover { background: rgba(0,0,0,.04); }
.nf-wh > span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.nf-wh b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-w.cur .nf-wh b { font-weight: 600; }
.nf-wh small { color: #5d5d5d; font-size: 12px; }
.nf-wh > .ui-ico:last-child { color: #6b6b6b; flex: none; }
.nf-act { display: flex; justify-content: flex-end; gap: 8px; padding: 2px 10px 10px 40px; }
.nf-act.col { flex-direction: column; align-items: stretch; }
.nf-act .inp { width: 100%; }
.nf-row { display: flex; gap: 8px; justify-content: flex-end; }
.nf-row .btn, .nf-act .btn { min-width: 0; }
.nf-err { color: #a4262c; font-size: 12.5px; line-height: 1.4; }
.nf-warn { color: #6b4c00; font-size: 12px; line-height: 1.4; background: #fff4ce; border-radius: 4px; padding: 6px 8px; }
.nf-off { color: #5d5d5d; padding: 6px 2px 4px; line-height: 1.45; }
.nfly footer { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid rgba(0,0,0,.08); margin-top: 12px; padding-top: 8px; }
.nf-link { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 5px; color: #003e92; text-align: left; }
.nf-link:hover { background: rgba(0,0,0,.05); }
.wbars { flex: none; }

.ncpa { height: 100%; display: flex; flex-direction: column; background: #fff; }
.nc-bar { padding: 8px 12px; border-bottom: 1px solid #e6e6e6; background: #f9f9f9; font-size: 12.5px; }
.nc-path { display: flex; align-items: center; gap: 6px; color: #444; }
.nc-path i { font-style: normal; color: #6b6b6b; }
.nc-tools { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px 8px; border-bottom: 1px solid #ececec; }
.nc-t { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 4px; font-size: 12.5px; white-space: nowrap; }
.nc-t:hover:not(:disabled) { background: var(--hover); }
.nc-t:disabled { opacity: .45; }
.nc-items { flex: 1; overflow: auto; padding: 12px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; outline: none; }
.nc-it { width: 300px; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid transparent; border-radius: 4px; text-align: left; }
.nc-it:hover { background: #e5f3ff; }
.nc-it.on { background: var(--sel); border-color: var(--sel-b); }
.nc-ic { position: relative; flex: none; display: flex; }
.nc-it.disabled .nc-ic svg { filter: grayscale(1); opacity: .55; }
.nc-x { position: absolute; right: -2px; bottom: 0; width: 17px; height: 17px; border-radius: 50%; background: #c42b1c; color: #fff; font: 700 13px/16px var(--font); font-style: normal; text-align: center; border: 1.5px solid #fff; }
.nc-x.off { background: #8a8a8a; }
.nc-x.off::after { content: ''; position: absolute; left: 3px; top: 6.5px; width: 8px; height: 2px; background: #fff; }
.nc-tx { display: flex; flex-direction: column; min-width: 0; font-size: 12.5px; }
.nc-tx b { font-weight: 600; font-size: 13px; }
.nc-tx small { color: #5d5d5d; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-foot { padding: 4px 12px; font-size: 12px; color: #5d5d5d; border-top: 1px solid #ececec; }

.ns-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 4px 0 10px; }
.ns-dl dt { color: #444; } .ns-dl dd { margin: 0; }
.ns-act { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; gap: 4px 12px; padding: 4px 0; }
.ns-act > svg { grid-row: 1; grid-column: 2; color: #2b88d8; }
.ns-act i { font-style: normal; color: #444; grid-column: 2; }
.ns-act span { color: #444; }
.ns-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ns-btns .btn { min-width: 0; }
.ns-msg { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; margin: 8px 0; }
.ns-msg > svg { flex: none; color: var(--accent); margin-top: 2px; }
.ns-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 6px 0; }
.ns-tbl th { text-align: left; font-weight: 600; padding: 5px 8px; border-bottom: 1px solid #ddd; background: #f6f6f6; }
.ns-tbl td { padding: 4px 8px; border-bottom: 1px solid #f0f0f0; overflow-wrap: anywhere; }
.ns-tbl td:first-child { white-space: nowrap; color: #444; }
.ap-dev { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #e0e0e0; border-radius: 5px; margin: 6px 0 10px; }
.ap-dev span { display: flex; flex-direction: column; }
.ap-dev small { color: #5d5d5d; font-size: 12px; }
.ap-dev b { font-weight: 400; }
.ap-list { border: 1px solid #d0d0d0; border-radius: 4px; padding: 3px; margin: 4px 0 8px; }
.ap-it { width: 100%; display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 6px; border-radius: 3px; text-align: left; font-size: 12.5px; }
.ap-it input { width: 14px; height: 14px; margin: 0; accent-color: var(--accent); }
.ap-it.sel { background: var(--sel); }
.ap-it:not([data-k]) { cursor: default; }
.ap-btns { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.ap-desc { color: #444; line-height: 1.45; }
.mdl.v4 { width: 520px; }
.v4 fieldset .rad { margin: 2px 0; }
.v4-g { margin: 6px 0 2px 23px; grid-template-columns: 170px minmax(0, 1fr); align-items: start; }
.v4-g > label { padding-top: 6px; }
.v4-f { display: flex; flex-direction: column; gap: 3px; }
.v4-f .inp { width: 170px; font-family: var(--mono); font-size: 12.5px; }
.v4-f .inp.bad { border-color: #c42b1c; box-shadow: inset 0 -1px 0 #c42b1c; }
.v4-err { color: #a4262c; font-size: 12px; line-height: 1.35; }
.v4-net { color: #444; }
.v4-tip { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 5px; background: #eef4fb; border: 1px solid #d7e5f4; font-size: 12.5px; line-height: 1.5; }
.v4-tip > svg { flex: none; margin-top: 2px; color: var(--accent); }
.dg-wait { display: flex; align-items: center; gap: 12px; padding: 22px 4px; }
.dg-wait .spin { border-color: rgba(0,103,192,.2); border-top-color: var(--accent); width: 24px; height: 24px; }
.dg-h { font-size: 16px; font-weight: 600; margin: 6px 0 10px; }
.dg-l { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.dg-l li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.dg-l li > svg { flex: none; margin-top: 2px; }
.dg-l li.ok > svg { color: #0f7b0f; } .dg-l li.bad > svg { color: #c42b1c; }
.dg-fix { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 12px; background: #f6f9fd; border: 1px solid #d7e5f4; border-radius: 5px; line-height: 1.45; }
.dg-note { color: #444; line-height: 1.45; }
.sa-pc.net .sn-ic { display: flex; }
.sa-pc.net > div { flex: 1; min-width: 0; }
.sa-pc.net small + small { margin-top: 2px; }
.sa-pc.net.is-bad > div > b { color: #a4262c; }
.sa-card .sw-row { margin: 0; gap: 10px; font-size: 13px; color: #444; }
.av.huge { width: 64px; height: 64px; font-size: 26px; flex: none; }
.sa-tag { font-size: 12.5px; padding: 4px 10px; border-radius: 12px; background: #eaeaea; color: #444; white-space: nowrap; }
.sa-hint { color: #444; line-height: 1.5; margin-top: 8px; font-size: 12.5px; }
button.st-user { height: 40px; padding: 0 12px; margin-left: -12px; border-radius: 5px; }
button.st-user:hover { background: rgba(0,0,0,.05); }

/* ═════════ Екран блокування та вхід (Windows 11) ═════════ */
.lk { position: fixed; inset: 0; z-index: 9995; color: #fff; overflow: hidden; user-select: none; background: #0b4bb8 url(bloom.jpg) center / cover no-repeat; font-family: 'Segoe UI Variable Display', 'Segoe UI', 'Inter', system-ui, sans-serif; }
/* акриловий шар під формою входу */
.lk::before { content: ''; position: absolute; inset: 0; background: #0b2f78 url(bloom-blur.jpg) center / cover no-repeat; opacity: 0; transition: opacity .3s; }
.lk.up::before { opacity: 1; }
.lk > * { position: absolute; z-index: 1; }
.lk-face { inset: 0; z-index: 2; background: inherit; transition: transform .35s cubic-bezier(.2,.8,.25,1), opacity .35s; }
.lk.up .lk-face { transform: translateY(-100%); opacity: 0; }
.lk-clock { position: absolute; left: 0; right: 0; top: 9.5vh; display: flex; flex-direction: column; align-items: center; text-shadow: 0 1px 16px rgba(0,0,0,.18); animation: lkIn .4s ease-out; }
.lk-time { font-size: 128px; font-weight: 600; line-height: 1; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.lk-date { font-size: 22px; font-weight: 500; margin-top: 10px; }
.lk-date::first-letter { text-transform: uppercase; }
.lk-sign { inset: 0; }
.lk-in, .lk-wait { position: absolute; inset: 0 0 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: lkIn .3s ease-out .08s both; }
.lk-in[hidden], .lk-wait[hidden], .lk-face[hidden], .lk-users[hidden], .lk-fields[hidden], .lk-msg[hidden] { display: none; }
.lk-avsvg { flex: none; display: block; border-radius: 50%; }
.lk-in > .lk-avsvg, .lk-wait > .lk-avsvg { filter: drop-shadow(0 6px 24px rgba(0,0,0,.18)); }
.lk-name { font-size: 28px; font-weight: 600; margin: 18px 0 20px; text-shadow: 0 1px 8px rgba(0,0,0,.15); }
.lk-fields, .lk-msg { width: 296px; display: flex; flex-direction: column; align-items: center; }
.lk-box { position: relative; width: 100%; height: 34px; margin-bottom: 10px; display: flex; border-radius: 4px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(0,0,0,.45); transition: background .1s; }
.lk-box:hover { background: rgba(255,255,255,.8); }
.lk-box:focus-within { background: #fff; border-color: #fff; border-bottom: 2px solid var(--accent); }
.lk-box input { flex: 1; min-width: 0; height: 100%; padding: 0 11px; border: 0; background: transparent; color: #1b1b1b; font: 14px var(--font); outline: none; user-select: text; }
.lk-box input::placeholder { color: #5f5f5f; }
.lk-box.pw input { padding-right: 4px; }
.lk-eye, .lk-go { flex: none; width: 30px; height: 26px; margin: 3px 3px 0 0; border-radius: 3px; display: flex; align-items: center; justify-content: center; color: #404040; }
.lk-eye:hover, .lk-go:hover { background: rgba(0,0,0,.06); }
.lk-go { background: rgba(0,0,0,.05); }
.lk-eye[hidden] { display: none; }
.lk-caps { width: 100%; margin: -4px 0 8px; padding: 6px 10px; font-size: 12.5px; color: #1b1b1b; background: rgba(255,255,255,.88); border-radius: 4px; }
.lk-caps[hidden], .lk-help[hidden] { display: none; }
.lk-to { font-size: 13px; opacity: .9; margin: 4px 0 14px; }
.lk-forgot { color: #fff; font-size: 14px; padding: 4px 8px; border-radius: 4px; }
.lk-forgot:hover { text-decoration: underline; }
.lk-help { margin-top: 12px; text-align: center; font-size: 13px; line-height: 1.5; padding: 10px 14px; border-radius: 6px; background: rgba(0,0,0,.28); }
.lk-msg { gap: 22px; }
.lk-err { font-size: 15px; line-height: 1.45; text-align: center; }
.lk-ok { min-width: 132px; height: 34px; padding: 0 20px; border-radius: 4px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 14px; }
.lk-ok:hover { background: rgba(255,255,255,.28); }
.lk-ok:focus-visible, .lk-forgot:focus-visible, .lk-u:focus-visible, .lk-ic:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lk-wait .lk-name { margin-bottom: 26px; }
.lk-wtext { font-size: 20px; margin-top: 18px; }
/* кільце з точок */
.lk-dots { position: relative; width: 36px; height: 36px; }
.lk-dots i { position: absolute; inset: 0; animation: lkOrbit 2.6s infinite; }
.lk-dots i::before { content: ''; position: absolute; left: 50%; top: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #fff; }
.lk-dots i:nth-child(2) { animation-delay: .12s; } .lk-dots i:nth-child(3) { animation-delay: .24s; } .lk-dots i:nth-child(4) { animation-delay: .36s; } .lk-dots i:nth-child(5) { animation-delay: .48s; }
@keyframes lkOrbit { 0% { transform: rotate(180deg); opacity: 0; } 8% { opacity: 1; } 30% { transform: rotate(320deg); } 60% { transform: rotate(460deg); } 85% { transform: rotate(620deg); opacity: 1; } 100% { transform: rotate(720deg); opacity: 0; } }
.lk-users { position: absolute; left: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 4px; animation: lkIn .3s ease-out both; }
.lk-u { display: flex; align-items: center; gap: 12px; height: 48px; min-width: 210px; padding: 0 14px 0 8px; border-radius: 5px; color: #fff; font-size: 14px; text-align: left; }
.lk-u:hover { background: rgba(255,255,255,.1); }
.lk-u.on { background: rgba(255,255,255,.17); }
.lk-corner { right: 22px; bottom: 22px; z-index: 3; display: flex; gap: 4px; }
.lk-ic { width: 40px; height: 40px; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: #fff; }
.lk-ic:hover { background: rgba(255,255,255,.14); }
.lk-black { inset: 0; z-index: 5; background: #000; display: flex; align-items: center; justify-content: center; }
.lk-black[hidden], .lk-on[hidden] { display: none; }
.lk-on { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 26px; border-radius: 10px; color: #9a9a9a; font-size: 14px; }
.lk-on svg { width: 44px; height: 44px; }
.lk-on:hover { color: #fff; background: rgba(255,255,255,.06); }
.cm-root.lk-menu .cm { background: rgba(32,32,32,.94); color: #fff; border-color: rgba(255,255,255,.12); }
.cm-root.lk-menu .cm-it:hover { background: rgba(255,255,255,.1); }
.cm-root.lk-menu .cm-it.off { color: rgba(255,255,255,.45); }
.lk.big .lk-name { font-size: 34px; } .lk.big .lk-box input, .lk.big .lk-forgot, .lk.big .lk-to, .lk.big .lk-err { font-size: 17px; } .lk.big .lk-box { height: 40px; }
.lk.hc { background: #000; } .lk.hc::before, .lk.hc .lk-face { background: #000; } .lk.hc .lk-box { background: #000; border: 2px solid #fff; } .lk.hc .lk-box input { color: #fff; } .lk.hc .lk-box input::placeholder { color: #ffff00; } .lk.hc .lk-eye, .lk.hc .lk-go { color: #fff; }
@keyframes lkIn { from { opacity: 0; transform: translateY(10px); } }
.cm-root.lk-menu .cm-ic { color: #fff; }
/* текст попереджень роутера — одним абзацом, значок окремо */
.rt-warn, .rt-note { display: block; position: relative; padding-left: 36px; }
.rt-warn > svg:first-child, .rt-note > svg:first-child { position: absolute; left: 12px; top: 11px; margin: 0; }
/* вузькі екрани: панель завдань не налазить сама на себе */
@media (max-width: 760px) {
  #taskbar { justify-content: flex-start; padding-left: 6px; }
  .tray, .tb-lang { display: none; }
  .tb-mid, #tbApps { gap: 2px; }
  .tb-btn, .tb-app { width: 36px; }
}
@media (max-width: 640px) { #start { left: 8px; right: 8px; width: auto; margin-left: 0; } .st-pins { grid-template-columns: repeat(4, minmax(0, 1fr)); } .st-pin { font-size: 11px; min-width: 0; } .st-pin span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; } }

.sa-user > span { min-width: 0; }
.sa-user b, .sa-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ═════════ Телефон: емулятор недоступний (вікно без кнопки закриття) ═════════ */
.small-screen { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 24px 18px; overflow-y: auto;
  background: linear-gradient(rgba(8, 28, 72, .3), rgba(8, 28, 72, .3)), #0b4bb8 url(bloom-blur.jpg) center / cover no-repeat; touch-action: manipulation; }
.small-screen[hidden] { display: none; }
html.phone, html.phone body { overflow: hidden; }
.ss-card { position: relative; width: 100%; max-width: 380px; margin: auto; background: rgba(249, 249, 249, .96); color: #1b1b1b; border-radius: 14px; border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 24px 60px rgba(0,0,0,.35); padding: 26px 22px 22px; text-align: center; font-family: "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, sans-serif; }
.ss-ico { display: flex; justify-content: center; align-items: flex-end; gap: 10px; color: #0067c0; margin-bottom: 14px; }
.ss-card h1 { margin: 0 0 10px; font-size: 21px; font-weight: 600; line-height: 1.25; }
.ss-card p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: #3d3d3d; }
.ss-hint { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin-top: 16px; padding: 12px 14px; background: #eef4fb; border-radius: 10px; font-size: 13.5px; line-height: 1.45; color: #1b3a5c; }
.ss-hint svg { flex: none; margin-top: 1px; color: #0067c0; }
.ss-logo { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 12.5px; color: #6b6b6b; }
@media (orientation: landscape) and (max-height: 500px) {
  .ss-card { max-width: 560px; display: grid; grid-template-columns: auto 1fr; gap: 0 20px; text-align: left; padding: 20px 22px; }
  .ss-ico { grid-row: span 4; margin: 0; align-items: center; }
  .ss-card h1 { font-size: 19px; }
  .ss-hint { margin-top: 8px; } .ss-logo { justify-content: flex-start; margin-top: 10px; }
}
