/* Secura RMM panel (owner decisions 2026-11-16: radar logo, navy #1f4e8c + sky #4aa3df, Inter, navy top bar,
   mega menu with live summaries, search). No external fonts or CDNs (KVKK); no inline styles (CSP). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-700-normal.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-ext-400-normal.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-ext-600-normal.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-ext-700-normal.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
    --bg: #f4f6f9; --card: #fff; --text: #1d2330; --muted: #677085; --faint: #8a93a6; --line: #e3e7ee; --line2: #eff1f5;
    --dark: #173b6b; --dark2: rgba(255,255,255,.14); --accent: #1f4e8c; --accent-soft: #e3edf8; --sky: #4aa3df; --link: #1f4e8c;
    --ok: #1e7a46; --ok-dot: #1e8a52; --ok-soft: #e7f6ee;
    --warn: #9a6200; --warn-dot: #d99000; --warn-soft: #fff4e0;
    --err: #b42318; --err-dot: #d92d20; --err-soft: #fdecea;
    --orange: #d9622b;
}
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.45 Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
svg.ic { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- top bar ---- */
header.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 20px; background: var(--dark); color: #fff; }
header.top .brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; flex: none; margin-right: 8px; }
header.top .brand:hover { text-decoration: none; }
nav.nav { display: flex; gap: 2px; align-items: stretch; height: 56px; }
.ni { display: flex; align-items: center; }
.ni > .tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px; color: #c6d3e6; font-size: 14px; white-space: nowrap; }
.ni > .tab:hover { color: #fff; text-decoration: none; }
.ni > .tab.cur { background: var(--dark2); color: #fff; font-weight: 600; }
svg.chev { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.5; opacity: .7; }
.cnt { color: #fff; border-radius: 5px; padding: 0 6px; font-size: 11px; font-weight: 600; background: #3a5a86; }
.cnt.t { background: var(--sky); } .cnt.r { background: #e5533d; }
/* mega menu: opens on hover or keyboard focus, closes with Esc (site.js) */
.mega { display: none; position: fixed; top: 56px; left: 0; right: 0; background: #fff; color: var(--text); z-index: 19;
    box-shadow: 0 18px 40px rgba(23,59,107,.22); border-top: 1px solid var(--line); padding: 22px 30px 24px;
    grid-template-columns: 1.25fr 1fr; gap: 30px; }
.mega.narrow { grid-template-columns: minmax(0, 520px); }
.ni:hover > .mega, .ni:focus-within > .mega { display: grid; }
.ni:hover > .tab, .ni:focus-within > .tab { align-self: flex-end; background: #fff; color: var(--dark); border-radius: 9px 9px 0 0; padding-bottom: 18px; }
body.menu-closed .ni:hover > .tab, body.menu-closed .ni:focus-within > .tab { align-self: center; background: none; color: #c6d3e6; border-radius: 8px; padding-bottom: 7px; }
body.menu-closed .ni:hover > .mega, body.menu-closed .ni:focus-within > .mega { display: none; }
.mega .links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mega.narrow .links { grid-template-columns: 1fr; }
.mega h4 { margin: 0 0 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .7px; color: var(--faint); }
.lk { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 9px; margin: 0 -8px 2px; color: var(--text); }
.lk:hover, .lk:focus { background: #f2f7fd; text-decoration: none; outline: none; }
.lk b { display: flex; align-items: center; font-size: 14px; }
.lk small, .al small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.li { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.mega em, .sr em { font-style: normal; font-size: 11px; font-weight: 600; background: #eef1f6; color: #3b4250; border-radius: 9px; padding: 1px 7px; margin-left: 8px; }
.mega em.r { background: var(--err-soft); color: var(--err); }
.live { background: #f6f9fd; border: 1px solid var(--accent-soft); border-radius: 12px; padding: 16px; }
.kps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.kps div { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; }
.kps span { font-size: 11.5px; color: var(--muted); display: block; } .kps b { font-size: 22px; }
.kps .r { color: var(--err); } .kps .w { color: var(--warn); }
.al { display: flex; gap: 11px; align-items: center; padding: 8px 0; border-top: 1px solid var(--accent-soft); color: var(--text); }
.al:hover { text-decoration: none; background: #eef4fb; }
.al .t { margin-left: auto; color: var(--faint); font-size: 12px; white-space: nowrap; }
.al .badge:last-child { margin-left: auto; } .al .grow { flex: 1; }
.calm { color: var(--muted); display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.more { display: inline-block; margin-top: 8px; font-weight: 600; }
svg.vstack { height: 10px; width: 100%; display: block; border-radius: 5px; overflow: hidden; }
svg.vstack.w160 { width: 160px; flex: none; }
svg.sw { width: 10px; height: 10px; flex: none; margin-right: 8px; vertical-align: -1px; }
.srch { margin-left: auto; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 0; border-radius: 8px; padding: 7px 11px;
    color: #c6d3e6; width: 200px; font: inherit; font-size: 13px; cursor: pointer; }
.srch kbd { margin-left: auto; }
kbd { font-family: inherit; font-size: 11px; border: 1px solid rgba(127,140,160,.5); border-radius: 4px; padding: 0 6px; }
form.cust { margin: 0; } form.cust select { width: auto; background: rgba(255,255,255,.12); color: #fff; border: 0; padding: 7px 10px; }
form.cust select option { color: var(--text); }
details.user { position: relative; display: flex; justify-content: flex-end; }
details.user summary { list-style: none; cursor: pointer; }
details.user summary::-webkit-details-marker { display: none; }
details.user .av { background: var(--sky); }
details.user .menu { position: absolute; right: 0; top: 42px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20,23,31,.14); padding: 8px; min-width: 230px; z-index: 30; }
details.user .menu a, details.user .menu button.link { display: block; width: 100%; text-align: left; padding: 7px 10px; border-radius: 6px; color: var(--text); }
details.user .menu a:hover, details.user .menu button.link:hover { background: var(--bg); text-decoration: none; }
details.user .menu form { margin: 0; }
.who-am-i { padding: 6px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.who-am-i span { display: block; color: var(--muted); font-size: 12px; }
button.link { background: none; border: 0; cursor: pointer; font: inherit; padding: 0; color: var(--link); }

/* ---- search ---- */
.search { position: fixed; inset: 0; z-index: 40; background: rgba(15,25,45,.55); }
.search[hidden] { display: none; }
.sbox { position: absolute; top: 80px; left: 50%; width: min(720px, calc(100% - 32px)); transform: translateX(-50%); background: #fff; border-radius: 16px;
    box-shadow: 0 30px 70px rgba(0,0,0,.35); padding: 16px 18px 14px; }
.bigsearch { display: flex; align-items: center; gap: 10px; border: 2px solid var(--sky); border-radius: 11px; padding: 6px 12px; margin: 0; }
.bigsearch input { border: 0; outline: none; font-size: 16px; padding: 6px 0; flex: 1; background: none; }
.bigsearch input:focus { outline: none; border: 0; }
.sres { max-height: 60vh; overflow: auto; }
.sres h4 { margin: 14px 4px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .7px; color: var(--faint); }
.sr { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; color: var(--text); }
.sr:hover, .sr.on { background: var(--accent-soft); text-decoration: none; }
.sr b { font-size: 14px; } .sr small { display: block; color: var(--muted); font-size: 12px; }
.sres .empty { color: var(--muted); padding: 14px 4px; }
.rec { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 4px; }
.rec a { display: inline-flex; gap: 6px; align-items: center; background: var(--bg); border-radius: 8px; padding: 5px 10px; color: #3b4250; }
.hint { margin-top: 14px; border-top: 1px solid #eef0f3; padding-top: 10px; color: var(--faint); font-size: 12px; }

/* ---- page ---- */
main.main { padding: 22px 28px; max-width: 1600px; margin: 0 auto; }
main.narrow { max-width: 420px; margin: 10vh auto 0; padding: 0 16px; }
footer { text-align: center; color: var(--faint); font-size: 12px; padding: 28px 0 8px; }
h1 { font-size: 22px; margin: 0 0 16px; }
h2 { font-size: 15px; margin: 22px 0 10px; }
.ph { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.ph h1 { margin: 0; }
.ph .ml, .ml { margin-left: auto; }
.ph .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ph form { margin: 0; }
.count { background: var(--dark); color: #fff; border-radius: 12px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.crumbs { color: var(--faint); font-size: 13px; margin-bottom: 6px; }
.crumbs a { color: var(--faint); }
.title-sub { display: block; font-weight: 400; font-size: 13px; color: var(--faint); }
.who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.who a { color: var(--text); }
.who .sub { display: block; font-weight: 400; font-size: 12px; color: var(--faint); }

/* ---- avatars ---- */
.av { width: 30px; height: 30px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); }
.av.big { width: 44px; height: 44px; font-size: 15px; }
.av.c0 { background: #2f6db0; } .av.c1 { background: #0e7c86; } .av.c2 { background: #7a5af8; } .av.c3 { background: #d9622b; }
.av.c4 { background: #1e8a52; } .av.c5 { background: #b42318; } .av.c6 { background: #5b6271; }

/* ---- cards ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 16px; }
.card > h1:first-child, .card > h2:first-child { margin-top: 0; }
.cards { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-bottom: 16px; }
.cards > .card { margin-bottom: 0; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.ch { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.ch a { margin-left: auto; font-weight: 400; font-size: 13px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); }
.kpi { padding: 2px 14px; border-left: 1px solid #eceef2; min-width: 0; }
.kpi:first-child { border-left: 0; padding-left: 0; }
.kpi .l { color: var(--muted); font-size: 13px; }
.kpi .n { font-size: 27px; font-weight: 600; margin: 2px 0; line-height: 1.2; }
.kpi .n.err { color: var(--err); } .kpi .n.warn { color: var(--warn); }
.kpi a.n { display: block; color: inherit; }
.d { font-size: 12px; color: var(--faint); }
.up { color: var(--ok-dot); } .dn { color: var(--orange); }
.bars .r { display: grid; grid-template-columns: minmax(150px, 40%) 1fr 70px; align-items: center; gap: 12px; margin: 8px 0; font-size: 13px; }
.bars .r .l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars .r .v { text-align: right; font-weight: 600; white-space: nowrap; }
.bars .empty { color: var(--muted); }
svg.hbar { width: 100%; height: 6px; display: block; }
svg.mbar { width: 70px; height: 6px; display: inline-block; vertical-align: middle; margin-right: 8px; }
svg .track { fill: #eceef2; }
svg .fill.accent { fill: var(--link); } svg .fill.teal { fill: var(--accent); } svg .fill.ok { fill: var(--ok-dot); }
svg .fill.warn { fill: var(--warn-dot); } svg .fill.err { fill: var(--err-dot); } svg .fill.orange { fill: var(--orange); } svg .fill.muted { fill: #b9bfca; }

/* legacy small stat tiles (still used by some pages) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stat .n { font-size: 26px; font-weight: 600; }
.stat .l { color: var(--muted); font-size: 13px; }

/* ---- toolbar ---- */
.filters, .tool { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; }
.filters input[type=search], .tool input[type=search] { max-width: 300px; padding-left: 32px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%2398a0ad' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 10px center; }
.filters select, .tool select { width: auto; }
.filters .muted, .tool .muted { font-size: 13px; }

/* ---- tables ---- */
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
th { font-size: 13px; color: #3b4250; font-weight: 600; background: #f7f8fa; border-bottom: 1px solid var(--line); white-space: nowrap; }
th a.sort { color: inherit; display: flex; align-items: center; gap: 8px; }
th a.sort:hover { text-decoration: none; color: var(--text); }
th .s { margin-left: auto; color: #b4b9c3; font-size: 9px; letter-spacing: -1px; }
th a.on .s { color: var(--accent); }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td, table tr:hover td { background: #fafbfd; }
td.num, th.num { text-align: right; white-space: nowrap; }
td.nowrap { white-space: nowrap; }
td.check, th.check { width: 34px; }
.table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: auto; margin-bottom: 16px; background: var(--card); }
.table-wrap table { border: 0; }
.card table th { background: #fff; }
.card table td, .card table th { padding-left: 4px; padding-right: 4px; }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); vertical-align: middle; }

/* ---- pills ---- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.ok { background: var(--ok-soft); color: var(--ok); } .badge.ok::before { background: var(--ok-dot); }
.badge.warn { background: var(--warn-soft); color: var(--warn); } .badge.warn::before { background: var(--warn-dot); }
.badge.err { background: var(--err-soft); color: var(--err); } .badge.err::before { background: var(--err-dot); }
.badge.off { background: #eef0f3; color: #5b6271; } .badge.off::before { background: #98a2b3; }

/* ---- buttons ---- */
.btn, button.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--accent);
    background: var(--accent); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.07); }
.btn.dark { background: var(--dark); border-color: var(--dark); }
.btn.green { background: #2e6a4f; border-color: #2e6a4f; }
.btn.secondary { background: #fff; color: var(--text); border-color: #d9dce2; }
.btn.danger { background: #fff; color: var(--err); border-color: #f0c4bf; }
.btn.small { padding: 4px 11px; font-size: 13px; border-radius: 7px; }
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn[disabled] { opacity: .45; cursor: default; filter: none; }
form.stack .btn { margin-top: 16px; width: 100%; justify-content: center; }
form.inline { display: inline; margin: 0; }
.act { display: flex; gap: 6px; align-items: center; }

/* ---- segmented tabs ---- */
.tabs { display: inline-flex; border: 1px solid #d9dce2; border-radius: 9px; overflow: hidden; background: #fff; margin-bottom: 14px; flex-wrap: wrap; }
.tabs a { padding: 7px 14px; color: var(--muted); font-weight: 600; font-size: 14px; border-left: 1px solid var(--line2); }
.tabs a:first-child { border-left: 0; }
.tabs a:hover { text-decoration: none; color: var(--text); }
.tabs a.active { background: #eef0f3; color: var(--text); }
.tabs a .n { color: var(--faint); font-weight: 500; margin-left: 4px; }

/* ---- forms ---- */
.flash { padding: 11px 14px; border-radius: 10px; margin-bottom: 16px; }
.flash.ok { background: var(--ok-soft); color: var(--ok); }
.flash.err { background: var(--err-soft); color: var(--err); }
.secret { font-family: ui-monospace, Consolas, monospace; font-size: 16px; background: var(--warn-soft); padding: 10px 14px; border-radius: 8px; word-break: break-all; }
form.stack label { display: block; margin: 12px 0 4px; font-weight: 600; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=date], select {
    width: 100%; padding: 8px 10px; border: 1px solid #d9dce2; border-radius: 8px; font: inherit; background: #fff; color: var(--text);
}
input:focus, select:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
main.narrow .card { padding: 26px; }
main.narrow h1 { display: flex; align-items: center; gap: 10px; }

/* ---- misc ---- */
.muted { color: var(--muted); }
.small { font-size: 12px; }
dl.kv { display: grid; grid-template-columns: 150px 1fr; gap: 7px 16px; margin: 0; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; }
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.row > .card { flex: 1; min-width: 320px; }
.qr img { width: 220px; height: 220px; image-rendering: pixelated; }
meter { width: 100px; height: 10px; vertical-align: middle; }
.bar { height: 6px; background: #eceef2; border-radius: 3px; overflow: hidden; min-width: 80px; }

@media (max-width: 1100px) {
    .cards, .cards.three { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    header.top { position: static; flex-wrap: wrap; height: auto; padding: 8px 12px; }
    nav.nav { flex-wrap: wrap; height: auto; } .mega { display: none !important; }
    .srch { width: auto; } main.main { padding: 16px; }
    .kpis { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
    .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
    dl.kv { grid-template-columns: 1fr; }
}

/* ---- grouped tables (software, operating systems) ---- */
table.grouped tbody.grp tr.sub { display: none; }
table.grouped tbody.grp.open tr.sub, .nojs table.grouped tbody.grp tr.sub { display: table-row; }
table.grouped tr.head td { background: #fff; }
table.grouped tbody.grp.open tr.head td { background: #f6f9fd; }
table.grouped tr.sub td { background: #fbfcfe; font-size: 13px; }
table.grouped tr.sub td:nth-child(2) { padding-left: 22px; }
.tw { width: 28px; } .w30 { width: 28%; }
button.tg { border: 0; background: none; color: var(--faint); cursor: pointer; font-size: 13px; width: 22px; height: 22px; border-radius: 6px; }
button.tg:hover { background: var(--accent-soft); color: var(--accent); }
.mono { font-variant-numeric: tabular-nums; color: #52596a; }
svg.mbar.w90 { width: 90px; }
svg.vstack.big { height: 14px; margin: 4px 0 10px; }
.legend { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.legend > span { display: flex; align-items: center; gap: 4px; } .legend .grow { flex: 1; } .legend b { font-variant-numeric: tabular-nums; }
tr.sel td { background: var(--accent-soft); }
.w50 { width: 50%; }
.big { font-size: 26px; font-weight: 600; margin: 2px 0 6px; } .big small { font-size: 13px; color: var(--muted); font-weight: 500; }
details.hosts summary { cursor: pointer; list-style: none; display: flex; align-items: center; }
details.hosts summary::-webkit-details-marker { display: none; }
details.hosts .hl { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 6px 0 2px 18px; font-size: 12.5px; white-space: normal; }
.osc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.osc .mini { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.legend.small { font-size: 12px; margin-top: 8px; } .w40 { width: 40%; }

/* ---- usage charts: CPU blue, memory orange, received aqua, sent violet (validated for colour blindness) ---- */
:root { --cpu: #2a78d6; --mem: #eb6834; --rx: #1baf7a; --tx: #6250d6; }
svg.chart { width: 100%; height: auto; display: block; margin-bottom: 6px; }
svg.chart .ct { font-size: 13px; font-weight: 600; fill: var(--text); }
svg.chart .ax { font-size: 11px; fill: var(--faint); }
svg.chart .grid { stroke: #e9edf3; } svg.chart .limit { stroke: #b42318; stroke-dasharray: 4 4; opacity: .6; }
svg .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
svg .area { stroke: none; opacity: .13; }
svg .line.cpu { stroke: var(--cpu); } svg .area.cpu { fill: var(--cpu); }
svg .line.mem { stroke: var(--mem); } svg .area.mem { fill: var(--mem); }
svg .line.rx { stroke: var(--rx); } svg .area.rx { fill: var(--rx); }
svg .line.tx { stroke: var(--tx); } svg .area.tx { fill: var(--tx); }
svg .hit { fill: transparent; } svg .hit:hover { fill: rgba(31,78,140,.08); }
svg .fill.cpu { fill: var(--cpu); } svg .fill.mem { fill: var(--mem); } svg .fill.rx { fill: var(--rx); }
svg.hbar.thick { height: 8px; margin: 8px 0 6px; }
svg.spark { width: 100%; height: 44px; display: block; }
td svg.spark { width: 120px; height: 28px; }
.card.cap .big { margin-bottom: 0; } .card.cap .d { min-height: 34px; font-size: 12.5px; color: var(--faint); }
.rows { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--muted); margin-top: 6px; }
.rows span { display: flex; justify-content: space-between; } .rows b { color: var(--text); font-weight: 600; }
.hd { display: flex; align-items: center; gap: 10px; } .hd .ch { margin-bottom: 8px; }
.seg-s { margin-left: auto; display: inline-flex; border: 1px solid #d9dce2; border-radius: 8px; overflow: hidden; }
.seg-s a { padding: 4px 10px; color: var(--muted); font-size: 12.5px; border-left: 1px solid var(--line2); }
.seg-s a:first-child { border-left: 0; } .seg-s a.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; } .seg-s a:hover { text-decoration: none; }
.lg { display: flex; gap: 16px; color: var(--muted); font-size: 12.5px; margin: 0 0 6px; flex-wrap: wrap; }
.lg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg i.cpu { background: var(--cpu); } .lg i.mem { background: var(--mem); } .lg i.rx { background: var(--rx); } .lg i.tx { background: var(--tx); }
.sub2 { margin: 16px 0 8px; font-weight: 600; display: flex; gap: 12px; align-items: center; }
.lgx { font-weight: 400; color: var(--muted); font-size: 12.5px; } .lgx i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: -1px; }
.lgx i.up, svg.strip .up { background: #cdeedd; fill: #cdeedd; } .lgx i.down, svg.strip .down { background: #e8655a; fill: #e8655a; }
.strips { display: grid; grid-template-columns: 160px 1fr; gap: 8px 12px; align-items: center; }
.strips .sl { color: var(--muted); font-size: 12.5px; text-align: right; }
svg.strip { width: 100%; height: 14px; display: block; }
.strip-ax { display: flex; justify-content: space-between; color: var(--faint); font-size: 11.5px; }
/* support dates */
.src { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 600; color: var(--muted); background: #eef1f6; border-radius: 6px; padding: 0 6px; vertical-align: 1px; }
.addform { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; align-items: end; }
.addform label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.addform .btn { justify-self: start; }
.kpi .n.small-n { font-size: 20px; }
td form.act input[type=date] { width: 140px; padding: 4px 6px; } td form.act input[name=note] { width: 140px; padding: 4px 6px; }
/* licences */
svg.lbar { width: 100%; height: 10px; display: block; } svg.lbar .track { fill: #eceef2; } svg.lbar .own { fill: #c9d8ec; }
svg.lbar .use { fill: var(--accent); } svg.lbar .use.over { fill: var(--err-dot); }
.w20 { width: 18%; }
.card.form label { display: block; font-weight: 600; font-size: 13px; color: #3b4250; margin-bottom: 12px; }
.card.form label input, .card.form label select { margin-top: 4px; font-weight: 400; }
.card.form label small { display: block; font-weight: 400; color: var(--faint); margin-top: 3px; }
.card.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card.form .btns { display: flex; gap: 8px; justify-content: flex-end; }
ul.rules { margin: 0 0 12px; padding-left: 18px; color: #3b4250; font-size: 13px; line-height: 1.7; }
form.del { margin-top: 14px; }

/* ---- licences and billing (owner decision 2026-11-16: design A1 for IT admins, C2 for the main admin) ---- */
:root { --brand-orange: #e8833a; --ink: #13233a; }
.btn.orange { background: var(--brand-orange); border-color: var(--brand-orange); color: #fff; }
.btn.block { width: 100%; justify-content: center; }
.btn.big { padding: 13px 18px; font-size: 15px; font-weight: 700; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-orange); }
.bill-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 4px 0 18px; }
.bill-head h1 { margin: 2px 0 0; font-size: 22px; color: var(--ink); }
.bill-head .sub { color: var(--muted); margin-top: 3px; }
.bill-price { background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 12px; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.steps { display: flex; gap: 10px; margin: 0 0 18px; flex-wrap: wrap; }
.steps .st { display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--muted); }
.steps .st b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #eef1f5; font-size: 12px; }
.steps .st.done b { background: var(--ok-dot); color: #fff; }
.steps .st.on { border-color: var(--accent); color: var(--accent); }
.steps .st.on b { background: var(--accent); color: #fff; }
.bill-lay { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.bill-sum { position: sticky; top: 72px; }
.bill-sum .row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.bill-sum .row.sm { font-size: 12px; color: var(--muted); }
.bill-sum .total { display: flex; justify-content: space-between; align-items: flex-end; margin: 14px 0; }
.bill-sum .total b { font-size: 22px; color: var(--ink); }
.bill-sum .hint { text-align: center; font-size: 12px; color: var(--muted); margin-top: 9px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.trust span { border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; font-size: 11px; font-weight: 700; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid #cad3df; border-radius: 8px; overflow: hidden; }
.qty button { width: 38px; height: 40px; border: 0; background: #fff; color: var(--accent); font-size: 18px; font-weight: 700; cursor: pointer; }
.qty input { width: 80px; height: 40px; border: 0; text-align: center; font: 700 16px Inter, sans-serif; }
.qty-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cardbox { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: linear-gradient(180deg, #fff, #fafcfe); }
.fgrid { display: grid; gap: 12px; }
.fgrid.c2 { grid-template-columns: 1fr 1fr; } .fgrid.c3 { grid-template-columns: 1fr 1fr 1fr; }
.fgrid label, .bill-form label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; }
.fgrid input, .fgrid select, .bill-form input, .bill-form select { width: 100%; }
.accept { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; }
.accept input { width: 18px; height: 18px; margin-top: 1px; flex: none; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts .k { font-size: 12px; color: var(--muted); }
.facts .v { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.bill-kpis .kpis { grid-template-columns: repeat(4, 1fr); }
.notice { border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.notice.err { background: var(--err-soft); color: var(--err); }
/* main admin: list and detail */
.inv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.inv-head h1 { margin: 0; font-size: 22px; color: var(--ink); }
.inv-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.inv-filters a { padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; background: #eef1f5; color: var(--muted); }
.inv-filters a.on { background: var(--accent); color: #fff; }
.inv-filters a.req { background: var(--warn-soft); color: var(--warn); } .inv-filters a.bad { background: var(--err-soft); color: var(--err); }
.inv-filters a.done { background: var(--ok-soft); color: var(--ok); }
.inv-split { display: grid; grid-template-columns: minmax(0, 1fr) 430px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.inv-list a.it { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--text); }
.inv-list a.it:hover { background: #f7f9fc; text-decoration: none; }
.inv-list a.it.sel { background: #eef4fb; box-shadow: inset 3px 0 0 var(--brand-orange); }
.inv-list .who { font-weight: 600; color: var(--ink); }
.inv-list .meta { font-size: 12px; color: var(--muted); }
.inv-list .amt { font-weight: 700; color: var(--ink); white-space: nowrap; }
.inv-detail { border-left: 1px solid var(--line); padding: 22px; background: #fbfcfe; min-height: 420px; }
.inv-detail h2 { margin: 4px 0 2px; font-size: 20px; color: var(--ink); }
.inv-detail .facts { grid-template-columns: 1fr 1fr; margin: 16px 0; }
.istep { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.istep i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; flex: none; background: #eef1f5; color: var(--muted); }
.istep.done i { background: var(--ok-soft); color: var(--ok); }
.istep.now i { background: var(--accent); color: #fff; }
.istep.bad i { background: var(--err-soft); color: var(--err); }
.istep small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 1000px) { .bill-lay, .inv-split { grid-template-columns: 1fr; } .bill-sum { position: static; } .inv-detail { border-left: 0; border-top: 1px solid var(--line); } .facts, .fgrid.c3 { grid-template-columns: 1fr 1fr; } }
.cardbox input, .bill-form input, .bill-form select { height: 40px; border: 1px solid #cad3df; border-radius: 8px; padding: 0 12px; font: inherit; background: #fff; }
.cardbox input:focus, .bill-form input:focus, .bill-form select:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.bill-form details > summary, details > summary.small { cursor: pointer; color: var(--accent); font-weight: 600; margin-top: 10px; }

/* Network devices (server 0.20.0) */
ol.howto { margin: 6px 0 4px 18px; padding: 0; }
ol.howto li { margin-bottom: 10px; line-height: 1.55; }
pre.cmd { background: #f3f5f8; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin: 6px 0; font-size: 12.5px; white-space: pre-wrap; word-break: break-all; }
h2.section { margin: 26px 0 6px; font-size: 16px; }
.supply { display: grid; grid-template-columns: minmax(140px, 1fr) 160px 52px; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line2); }
.supply:last-child { border-bottom: 0; }
.warnbox { background: #fff7e6; border: 1px solid #f0d49a; border-radius: 8px; padding: 8px 10px; margin: 4px 0 12px; font-size: 13px; }
.ports td.mon { width: 32px; text-align: center; }
fieldset.snmp { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px 4px; margin: 0 0 12px; }
fieldset.snmp legend { font-weight: 700; font-size: 13px; padding: 0 6px; }

/* Menu option A (server 0.22.0): three-column menus without a live column; the main admin's Platform tab */
.mega.wide { grid-template-columns: minmax(0, 1fr); }
.mega.wide .links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ni > .tab.plat { border: 1px solid rgba(217,98,43,.75); color: #ffd9c6; }
.ni > .tab.plat.cur { background: rgba(217,98,43,.22); color: #fff; }
.ni:hover > .tab.plat, .ni:focus-within > .tab.plat { color: var(--orange); }
.ni > .tab .ic { width: 15px; height: 15px; }
.settabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.settabs a { background: var(--accent-soft); color: var(--accent); border-radius: 20px; padding: 5px 13px; font-size: 13px; font-weight: 600; }
.settabs a:hover { text-decoration: none; filter: brightness(.97); }
.settabs a.on { background: var(--accent); color: #fff; }
.settabs a.doz { background: #fff4ec; color: var(--orange); }
.settabs a.doz.on { background: var(--orange); color: #fff; }
/* Report library (server 0.23.0) */
.replib { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 6px 0 10px; }
.replib .rep { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.replib .rep .act { margin-top: auto; padding-top: 8px; display: flex; gap: 6px; }
