/* FWNet — identidade visual (Manual de Identidade Visual FWNET), a mesma da Central de chamados.
   Azul #006380 · Verde #00CD61 · Cinza #666666 · Fonte Geom Graphic → Montserrat na web
   Tema: grafite do escudo do logo no menu, superfícies claras e o degradê azul → verde do logo como destaque.
   Severidades do Zabbix ajustadas à paleta: informação no azul da marca, depois âmbar → laranja → vermelho → vinho. */
:root {
  --brand: #006380;
  --brand-700: #00536B;
  --brand-900: #0B2733;
  --brand-soft: #E6F2F5;
  --green: #00CD61;
  --green-soft: #DFF8EA;
  --green-ink: #00803E;
  --gray: #666666;
  --graphite: #0E1B23;
  --graphite-2: #13262F;
  --gradient: linear-gradient(90deg, #006380 0%, #00CD61 100%);
  --gradient-diag: linear-gradient(135deg, #00718F 0%, #00A77A 60%, #00CD61 100%);
  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --ink: #16242C;
  --muted: #5F6C75;
  --line: #E2E8EC;
  --line-soft: #EEF2F4;
  --warn: #8A5E00;
  --warn-bg: #FFF4D6;
  --danger: #B3372E;
  --danger-bg: #FDECEA;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 27, 35, .04), 0 8px 24px -8px rgba(14, 27, 35, .10);
  --shadow-hover: 0 2px 4px rgba(14, 27, 35, .05), 0 14px 32px -10px rgba(14, 27, 35, .18);
  --focus: 0 0 0 3px rgba(0, 205, 97, .35);

  --sev-0: #8A99A1;  /* não classificada */
  --sev-1: #2C8FB5;  /* informação */
  --sev-2: #D9A300;  /* atenção */
  --sev-3: #E8772E;  /* média */
  --sev-4: #D64541;  /* alta */
  --sev-5: #9B1C2E;  /* desastre */
  --up: #00B356;
  --down: #D64541;
  --unknown: #A9B6BC;
  --maint: #D9A300;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(1100px 380px at 85% -140px, rgba(0, 205, 97, .07), transparent 70%),
    radial-gradient(900px 360px at 30% -160px, rgba(0, 99, 128, .07), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
svg { flex: none; }

/* ---------- Estrutura ---------- */
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }

.sidebar {
  background:
    radial-gradient(420px 260px at 0% 0%, rgba(0, 99, 128, .45), transparent 70%),
    radial-gradient(360px 240px at 100% 100%, rgba(0, 205, 97, .14), transparent 70%),
    linear-gradient(180deg, var(--graphite-2) 0%, var(--graphite) 100%);
  border-right: 1px solid rgba(255, 255, 255, .06);
  color: #fff; display: flex; flex-direction: column;
  padding: 26px 18px 22px; position: sticky; top: 0; height: 100vh;
}
.sidebar__logo { display: block; padding: 0 10px; }
.sidebar__logo img { width: 100%; max-width: 176px; display: block; }
.sidebar__product {
  padding: 8px 10px 22px; font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255, 255, 255, .7);
}

/* Só rola na vertical (menu longo em tela baixa); nomes grandes de unidade quebram linha em vez de criar rolagem lateral. */
.nav { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; }
.nav a { min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
.nav a svg { flex: none; }
.nav a {
  display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .72); text-decoration: none;
  padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 14px; position: relative;
  transition: background .15s, color .15s;
}
.nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav a.active {
  background: linear-gradient(90deg, rgba(0, 205, 97, .20) 0%, rgba(0, 205, 97, .04) 100%);
  color: #fff; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(0, 205, 97, .18);
}
.nav a.active::before { content: ""; position: absolute; left: -6px; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--green); }
.nav a.active svg { color: var(--green); }
.nav svg { width: 18px; height: 18px; }
.nav__group { margin: 16px 12px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8FF0BC; }

.sidebar__footer { margin-top: auto; flex: none; border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 8px 0; font-size: 13px; }
.me { display: flex; gap: 10px; align-items: center; }
.me__name { font-weight: 600; overflow-wrap: anywhere; }
.me__profile { color: rgba(255, 255, 255, .65); font-size: 12px; overflow-wrap: anywhere; }
.sidebar__logout-form { margin: 0; }
.sidebar__logout {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: #8FF0BC; font-weight: 600;
  background: none; border: 0; padding: 0; font: inherit; font-size: 13px; cursor: pointer;
}
.sidebar__logout svg { width: 14px; height: 14px; }
.sidebar__logout:hover { color: #fff; }

.main { padding: 30px 40px 56px; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 28px; color: var(--brand-900); letter-spacing: -.02em; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 4px; }
.head-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.head-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.updated { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.updated.is-stale { color: var(--danger); }

.demo-banner {
  background: var(--warn-bg); color: var(--warn); border: 1px solid #F1DC9B;
  border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}

/* ---------- Componentes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: filter .15s, background .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: linear-gradient(135deg, #006380 0%, #007F79 55%, #008A63 100%); color: #fff; box-shadow: 0 6px 16px -6px rgba(0, 99, 128, .55); }
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--accent { background: var(--green); color: var(--graphite); box-shadow: 0 8px 20px -8px rgba(0, 205, 97, .7); }
.btn--accent:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--brand-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 6px 14px; font-size: 13px; }
.btn--sm svg { width: 14px; height: 14px; }
.btn--lg { padding: 13px 26px; font-size: 15px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none; display: inline-grid; place-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: linear-gradient(135deg, #E3F1F5 0%, #DDF7E9 100%); color: var(--brand);
}
.avatar--light { background: linear-gradient(135deg, #006380 0%, #00A86B 100%); color: #fff; }

.muted { color: var(--muted); font-weight: 400; }
.nowrap { white-space: nowrap; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .92em; background: var(--line-soft); padding: 1px 6px; border-radius: 5px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); text-decoration: none;
}
a.chip:hover { background: #CFE6EE; }

.tabs {
  display: inline-flex; gap: 2px; flex-wrap: wrap; padding: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); max-width: 100%;
}
.tabs__item {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none; transition: background .15s, color .15s; white-space: nowrap;
}
.tabs__item:hover { color: var(--brand-900); background: var(--line-soft); }
.tabs__item.active { background: var(--graphite); color: #fff; }

.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.toolbar__search { position: relative; flex: 0 1 280px; }
.toolbar__search svg { position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.toolbar__search .input { padding: 8px 12px 8px 38px; }
.panel__title { font-size: 15px; color: var(--brand-900); }

.input, .select {
  font: inherit; font-size: 14px; color: var(--ink); width: 100%; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.select { width: auto; max-width: 100%; cursor: pointer; }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700;
  padding: 11px 16px; background: #F9FBFC; border-bottom: 1px solid var(--line-soft); white-space: nowrap;
}
table.data td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr[data-href] { cursor: pointer; }
table.data tbody tr:hover { background: #F7FBFC; }
table.data tr.is-muted { opacity: .65; }
.row-title { font-weight: 600; color: var(--ink); text-decoration: none; }
a.row-title:hover { color: var(--brand); text-decoration: underline; }
.cell-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cell-sub.err { color: var(--danger); display: block; }
.mono-cell { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--muted); }
.count { color: var(--muted); font-size: 13px; }
.only-mobile { display: none; }
.empty { padding: 44px 18px; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 10px; }
.empty svg { width: 34px; height: 34px; color: #B7C5CA; }
.empty a { font-weight: 600; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--line-soft); color: var(--muted); }
.tag svg { width: 12px; height: 12px; }
.tag--ack { background: var(--green-soft); color: var(--green-ink); }

.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert--error { background: var(--danger-bg); color: var(--danger); border: 1px solid #F3C4BF; }
.alert--info { background: var(--brand-soft); color: var(--brand-900); border: 1px solid #BFDCE5; }
.alert svg { width: 18px; height: 18px; margin-top: 1px; }

.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.back svg { width: 15px; height: 15px; }
.back:hover { color: var(--brand); }

.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 26px 0 12px; }
.section-head .section-title { margin: 0; }
.section-title { font-size: 16px; color: var(--brand-900); margin: 26px 0 12px; }
.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 22px; }
.split--wide { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
.split--solo { grid-template-columns: minmax(0, 1fr); }
.central--solo { grid-template-columns: minmax(0, 1fr); }

/* ---------- Status e severidade ---------- */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--unknown); flex: none; font-style: normal; }
.dot--up { background: var(--up); box-shadow: 0 0 0 3px rgba(0, 179, 86, .15); }
.dot--down { background: var(--down); box-shadow: 0 0 0 3px rgba(214, 69, 65, .18); animation: pulse 1.6s ease-in-out infinite; }
.dot--maint { background: var(--maint); }
.dot--unknown { background: var(--unknown); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(214, 69, 65, .05); } }
@media (prefers-reduced-motion: reduce) { .dot--down { animation: none; } }

.host-name { display: inline-flex; align-items: center; gap: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--line-soft); color: var(--muted); }
.status--up { background: var(--green-soft); color: var(--green-ink); }
.status--down { background: var(--danger-bg); color: var(--danger); }
.status--maint { background: var(--warn-bg); color: var(--warn); }

.sev {
  --c: var(--sev-0);
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; white-space: nowrap;
  padding: 3px 10px 3px 8px; border-radius: 999px;
  color: color-mix(in srgb, var(--c) 78%, #000); background: color-mix(in srgb, var(--c) 14%, #fff);
}
.sev::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.sev--1 { --c: var(--sev-1); } .sev--2 { --c: var(--sev-2); } .sev--3 { --c: var(--sev-3); }
.sev--4 { --c: var(--sev-4); } .sev--5 { --c: var(--sev-5); }
.sev--5 { color: #fff; background: var(--sev-5); }
.sev--5::before { background: #fff; }
.sev-bg--0 { background: var(--sev-0); } .sev-bg--1 { background: var(--sev-1); } .sev-bg--2 { background: var(--sev-2); }
.sev-bg--3 { background: var(--sev-3); } .sev-bg--4 { background: var(--sev-4); } .sev-bg--5 { background: var(--sev-5); }
.ok-mark { color: var(--green-ink); display: inline-flex; }
.ok-mark svg { width: 18px; height: 18px; }

.sevstrip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.sevstrip__item {
  --c: var(--sev-0);
  display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); color: var(--ink); box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
a.sevstrip__item:hover { transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.sevstrip__item strong { font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--c) 80%, #000); }
.sevstrip__item span { font-size: 12px; color: var(--muted); font-weight: 600; }
.sevstrip__item.is-zero { opacity: .55; box-shadow: none; }
.sevstrip__item.is-zero strong { color: var(--muted); }
.sevstrip__item--1 { --c: var(--sev-1); } .sevstrip__item--2 { --c: var(--sev-2); } .sevstrip__item--3 { --c: var(--sev-3); }
.sevstrip__item--4 { --c: var(--sev-4); } .sevstrip__item--5 { --c: var(--sev-5); }

/* ---------- Indicadores ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.kpi { padding: 16px 18px 14px; display: grid; gap: 2px; position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gradient); opacity: .9; }
.kpi__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpi__value { font-size: 28px; font-weight: 700; color: var(--brand-900); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi__sub { font-size: 12.5px; color: var(--muted); }
.kpi--ok::before { background: var(--up); }
.kpi--warn::before { background: var(--sev-2); }
.kpi--warn .kpi__value { color: var(--warn); }
.kpi--bad::before { background: var(--sev-4); }
.kpi--bad .kpi__value { color: var(--danger); }

.meter { display: inline-grid; grid-template-columns: 70px auto; align-items: center; gap: 8px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.meter > span { height: 6px; border-radius: 6px; background: var(--line-soft); position: relative; overflow: hidden; }
.meter > span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 6px; background: var(--gradient); }
.meter--warn > span::after { background: var(--sev-2); }
.meter--bad > span::after { background: var(--sev-4); }
.meter em { font-style: normal; color: var(--muted); }

/* ---------- Cartões de cliente ---------- */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.client-card { display: grid; gap: 14px; padding: 18px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.client-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: #C9DCE2; }
.client-card--bad { border-color: #F3C4BF; }
.client-card__head { display: flex; align-items: center; gap: 12px; }
.client-card__icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--gradient-diag); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 6px 14px -6px rgba(0, 120, 110, .6);
}
.client-card__name { display: grid; min-width: 0; flex: 1; }
.client-card__name strong { color: var(--brand-900); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-card__name .muted { font-size: 12.5px; }
.client-card__stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.client-card__stats span { display: inline-flex; align-items: center; gap: 7px; }
.client-card__foot { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.health { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.health--ok { background: var(--green-soft); color: var(--green-ink); }
.health--warn { background: var(--warn-bg); color: var(--warn); }
.health--bad { background: var(--danger-bg); color: var(--danger); }
.sevbar { display: flex; gap: 2px; height: 8px; border-radius: 8px; overflow: hidden; background: var(--line-soft); }
.sevbar__ok { flex: 1; background: linear-gradient(90deg, rgba(0, 179, 86, .35), rgba(0, 205, 97, .55)); }

/* ---------- Gráficos ---------- */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chart-panel { padding: 16px 18px 10px; min-width: 0; }
.chart-panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.chart-panel__head h3 { font-size: 14px; color: var(--brand-900); }
.chart-panel__close { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 2px; border-radius: 6px; display: inline-flex; }
.chart-panel__close:hover { color: var(--danger); background: var(--danger-bg); }
.chart-panel__close svg { width: 16px; height: 16px; }
.chart-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 10px; height: 3px; border-radius: 2px; display: inline-block; }
.chart-legend b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.chart { position: relative; height: 210px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: var(--line-soft); }
.chart .axis text { fill: var(--muted); font-size: 11px; font-family: inherit; font-variant-numeric: tabular-nums; }
.chart .cursor { stroke: var(--brand-900); stroke-dasharray: 3 3; opacity: .45; }
.chart.is-loading::after {
  content: "Carregando…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px;
  background: rgba(255, 255, 255, .6);
}
.chart__empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; text-align: center; padding: 0 20px; }
.chart__tip {
  position: absolute; pointer-events: none; z-index: 5; min-width: 150px; padding: 8px 11px; border-radius: 10px;
  background: var(--graphite); color: #fff; font-size: 12px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); transform: translate(-50%, -100%);
}
.chart__tip time { display: block; color: rgba(255, 255, 255, .7); margin-bottom: 4px; }
.chart__tip div { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.chart__tip i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.chart__tip b { margin-left: auto; padding-left: 10px; font-variant-numeric: tabular-nums; }

.items-card { margin-top: 22px; }

/* ---------- Lista de hosts ---------- */
.hostfilters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 14px; }
.hostfilters .toolbar__search { flex: 1 1 320px; }
.hostfilters .select { min-width: 190px; }
.btn--link { background: none; color: var(--muted); padding-inline: 6px; }
.btn--link:hover { color: var(--brand); }
.kindtabs { margin-bottom: 14px; }
.kinddot { width: 8px; height: 8px; border-radius: 50%; background: var(--k); display: inline-block; }
a.sort { color: inherit; text-decoration: none; }
a.sort:hover { color: var(--brand); }
.state { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.state--down { color: var(--danger); }
.state--high { color: color-mix(in srgb, var(--sev-4) 85%, #000); }
.state--warn { color: color-mix(in srgb, var(--sev-3) 80%, #000); }
.state--maint { color: var(--warn); }
.state--ok, .state--info { color: var(--green-ink); }
.actions-col { width: 1%; text-align: right; }
.row-actions { display: inline-flex; gap: 4px; justify-content: flex-end; }
.icon-action {
  width: 32px; height: 32px; border-radius: 9px; display: inline-grid; place-items: center; color: var(--muted);
  border: 1px solid var(--line); background: #fff; transition: color .15s, border-color .15s, background .15s;
}
.icon-action:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.icon-action svg { width: 16px; height: 16px; }
a.sev { text-decoration: none; }
.hosts-table .row-title, .meter em { white-space: nowrap; }
.hosts-table .meter { grid-template-columns: 56px auto; }

/* ---------- Dashboards: barra de escolha do host ---------- */
.dashbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; margin-bottom: 22px; position: relative; z-index: 10; }
.dashbar__nav { display: flex; gap: 6px; }
.dashbar__rotate { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); margin-left: auto; }
.dashbar__rotate label { display: inline-flex; align-items: center; gap: 6px; }
.dashbar__rotate svg { width: 14px; height: 14px; }
.dashbar__rotate .select { padding: 7px 12px; font-size: 13px; }
.dashbar__countdown { font-weight: 500; font-variant-numeric: tabular-nums; }

.picker { position: relative; flex: 1 1 340px; max-width: 520px; }
.picker__button {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.picker__button:hover, .picker__button[aria-expanded="true"] { border-color: var(--brand); box-shadow: var(--focus); }
.picker__button > svg { width: 16px; height: 16px; color: var(--muted); }
.picker__value { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.picker__value strong { color: var(--brand-900); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker__value small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker__chevron { transform: rotate(90deg); transition: transform .15s; }
.picker__button[aria-expanded="true"] .picker__chevron { transform: rotate(-90deg); }
.picker__panel {
  position: absolute; left: 0; top: calc(100% + 6px); width: max(100%, 440px); max-width: calc(100vw - 32px); z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -10px rgba(0, 61, 79, .28); padding: 10px;
}
.picker__search { margin-bottom: 8px; }
.picker__list { max-height: min(60vh, 460px); overflow-y: auto; }
.picker__group-name { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); padding: 10px 10px 4px; }
.picker__option {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 9px; text-decoration: none; color: var(--ink); font-size: 14px;
}
.picker__option span { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker__option small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.picker__option:hover, .picker__option.is-active { background: var(--brand-soft); }
.picker__option.is-current span { color: var(--brand); }
.picker__empty { padding: 14px 10px; color: var(--muted); font-size: 13px; }

/* ---------- Grade de hosts (Central e Dashboards) ---------- */
.tilegroup + .tilegroup { margin-top: 22px; }
.tilegroup__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.tilegroup__head h3 { font-size: 15px; color: var(--brand-900); }
.htiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.htile {
  --c: var(--up);
  display: grid; gap: 6px; padding: 12px 14px 10px; border-radius: 12px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.htile:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.htile--down { --c: var(--down); background: color-mix(in srgb, var(--down) 7%, #fff); }
.htile--high { --c: var(--sev-4); background: color-mix(in srgb, var(--sev-4) 5%, #fff); }
.htile--warn { --c: var(--sev-3); }
.htile--info { --c: var(--sev-1); }
.htile--maint { --c: var(--maint); }
.htile--unknown { --c: var(--unknown); }
.htile__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.htile__top strong { font-size: 13.5px; color: var(--brand-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.htile__top .sev { padding: 1px 8px 1px 6px; }
.htile__sub { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.htile__bars { display: grid; gap: 4px; }
.htile__state { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 80%, #000); }
.minibar { display: grid; grid-template-columns: 30px 1fr 34px; align-items: center; gap: 6px; font-size: 10.5px; }
.minibar b { color: var(--muted); font-weight: 700; }
.minibar i { height: 5px; border-radius: 5px; background: var(--line-soft); position: relative; overflow: hidden; }
.minibar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--gradient); border-radius: 5px; }
.minibar--warn i::after { background: var(--sev-2); }
.minibar--bad i::after { background: var(--sev-4); }
.minibar em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }

.plist { list-style: none; margin: 0; padding: 6px; display: grid; gap: 4px; max-height: 70vh; overflow-y: auto; }
.plist__item a {
  --c: var(--sev-0);
  display: grid; gap: 3px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink);
  border-left: 3px solid var(--c); background: #FAFCFD;
}
.plist__item a:hover { background: var(--brand-soft); }
.plist__item--1 a { --c: var(--sev-1); } .plist__item--2 a { --c: var(--sev-2); } .plist__item--3 a { --c: var(--sev-3); }
.plist__item--4 a { --c: var(--sev-4); } .plist__item--5 a { --c: var(--sev-5); }
.plist__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plist__head time { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.plist strong { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.plist__sub { font-size: 12px; color: var(--muted); }
body.tv .plist__item a { background: rgba(255, 255, 255, .03); color: #fff; }
body.tv .plist__head time, body.tv .plist__sub { color: rgba(255, 255, 255, .55); }

.central { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 20px; align-items: start; margin-top: 20px; }
.central__problems { position: sticky; top: 20px; }
.kpis--central { margin-top: 16px; }
.clock { font-size: 22px; font-weight: 700; color: var(--brand-900); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tabs__count { font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--line-soft); color: var(--ink); border-radius: 999px; padding: 1px 8px; }
.tabs__item.active .tabs__count { background: var(--green); color: var(--graphite); }

/* TV: grade e gráficos em fundo escuro */
body.tv .clock { color: #fff; font-size: 30px; }
body.tv .htile { background: var(--graphite-2); border-color: rgba(255, 255, 255, .08); border-top-color: var(--c); box-shadow: none; color: #fff; }
body.tv .htile--down { background: color-mix(in srgb, var(--down) 22%, var(--graphite-2)); }
body.tv .htile--high { background: color-mix(in srgb, var(--sev-4) 14%, var(--graphite-2)); }
body.tv .htile__top strong, body.tv .tilegroup__head h3, body.tv .minibar em { color: #fff; }
body.tv .htile__state { color: color-mix(in srgb, var(--c) 70%, #fff); }
body.tv .minibar i { background: rgba(255, 255, 255, .1); }
body.tv .kpi__value, body.tv .panel__title, body.tv .chart-panel__head h3, body.tv .picker__value strong { color: #fff; }
body.tv .kpi__label, body.tv .kpi__sub, body.tv .chart-legend { color: rgba(255, 255, 255, .6); }
body.tv .chart-legend b { color: #fff; }
body.tv .chart .grid line { stroke: rgba(255, 255, 255, .07); }
body.tv .chart .axis text { fill: rgba(255, 255, 255, .5); }
body.tv .picker__button, body.tv .select { background: var(--graphite-2); color: #fff; border-color: rgba(255, 255, 255, .15); }
body.tv .facts dt { color: rgba(255, 255, 255, .5); }
body.tv .facts dd, body.tv .page-head .head-meta .muted { color: #E8F1F4; }
body.tv .toolbar, body.tv table.data th { border-color: rgba(255, 255, 255, .08); }
body.tv .dashbar__rotate { color: rgba(255, 255, 255, .6); }
body.tv .input { background: var(--graphite); color: #fff; border-color: rgba(255, 255, 255, .15); }
body.tv .kind { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- Nomes longos: quebram em até 2 linhas em vez de cortar (nome completo no title) ---------- */
.client-card__name strong, .htile__top strong, .wcell__name {
  white-space: normal; overflow-wrap: anywhere; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.client-card__head { align-items: flex-start; }
.htile__top { align-items: flex-start; }
.htile__top .dot { margin-top: 4px; }

/* ---------- Central: mosaico de clientes ---------- */
.central__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pagelabel { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--line-soft); border-radius: 999px; padding: 2px 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; align-content: start; }
.wcell {
  --c: var(--up);
  display: grid; gap: 6px; align-content: start; padding: 12px 14px; min-height: 104px; border-radius: 12px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c); box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.wcell:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.wcell--warn { --c: var(--sev-3); }
.wcell--bad { --c: var(--sev-4); background: color-mix(in srgb, var(--sev-4) 5%, #fff); }
.wcell__name { font-size: 14px; font-weight: 700; color: var(--brand-900); }
.wcell__meta { font-size: 12px; color: var(--muted); }
.wcell__meta b { font-weight: 700; }
.wcell__sev { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.wcell__sev .sev { padding: 1px 8px 1px 6px; }
.ok-text { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--green-ink); }
.ok-text svg { width: 14px; height: 14px; }
body.tv .wcell { background: var(--graphite-2); border-color: rgba(255, 255, 255, .08); border-left-color: var(--c); box-shadow: none; color: #fff; }
body.tv .wcell--bad { background: color-mix(in srgb, var(--sev-4) 16%, var(--graphite-2)); }
body.tv .wcell__name { color: #fff; }
body.tv .wcell__meta { color: rgba(255, 255, 255, .6); }
body.tv .ok-text { color: #6FE3A6; }
body.tv .pagelabel { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- TV: a página ocupa exatamente a tela; o que não cabe vira páginas (site.js) ---------- */
[data-tv-pages] { position: relative; }
body.fit .app { height: 100vh; }
body.fit .main { height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: 14px 22px 12px; }
body.fit .page-head { margin-bottom: 8px; flex: none; align-items: center; }
body.fit .page-head h1 { font-size: 28px; }
body.fit .page-head p, body.fit .back { display: none; }
body.fit .filters, body.fit .alert { flex: none; }
body.fit #live-central { flex: 1; min-height: 0; display: flex; flex-direction: column; }
body.fit .kpis--central { flex: none; margin-top: 10px; }
body.fit .kpi { padding: 10px 16px 8px; }
body.fit .kpi__value { font-size: 30px; }
body.fit .central { flex: 1; min-height: 0; margin-top: 12px; grid-template-rows: minmax(0, 1fr); align-items: stretch; }
body.fit .central__hosts { min-height: 0; display: flex; flex-direction: column; }
body.fit .central__hosts > .tilegroup { flex: 1; min-height: 0; display: flex; flex-direction: column; }
body.fit .central__hosts [data-tv-pages] { flex: 1; min-height: 0; overflow: hidden; align-content: start; }
body.fit .central__bar { flex: none; }
body.fit .central__problems { position: static; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
body.fit .central__problems .plist { flex: 1; min-height: 0; max-height: none; overflow: hidden; align-content: start; }

/* ---------- Tipo do host e seções próprias de cada tipo ---------- */
.kind {
  --k: var(--brand);
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; white-space: nowrap;
  padding: 3px 10px; border-radius: 999px; color: var(--k); background: color-mix(in srgb, var(--k) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--k) 25%, #fff);
}
.kind--sm { font-size: 11px; padding: 1px 8px; margin-left: 8px; vertical-align: middle; }
.kind--windows { --k: #0067B8; }
.kind--linux { --k: #7A5A00; }
.kind--fortigate { --k: #C8102E; }
.kind--switch { --k: #00803E; }
.kind--accesspoint { --k: #6A3FB0; }
.kind--network { --k: #3F5057; }
.kind--firewall { --k: #C8102E; }
.kind--dvr { --k: #8A4B08; }
.kind--printer { --k: #2C6E8F; }
.kind--ups { --k: #A06A00; }
.kind--router { --k: #5B4A9E; }
.kind--link { --k: #00718F; }
.kind--accesscontrol { --k: #7A3E62; }
.kind--server { --k: #0067B8; }

/* ---------- Período personalizado dos gráficos ---------- */
.tabs__item svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.period-custom { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; padding: 14px 16px; margin: -4px 0 16px; }
.period-custom[hidden] { display: none; }
.period-custom .field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand-900); }
.period-custom__error { font-size: 13px; align-self: center; }
.period-custom__hint { flex-basis: 100%; margin: 0; }

/* ---------- Botão "Atualizar agora" (ao lado do "Atualizado às") ---------- */
.refresh-btn {
  width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--muted); transition: color .15s, border-color .15s, background .15s;
}
.refresh-btn:hover, .refresh-btn:focus-visible { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); outline: none; }
.refresh-btn svg { width: 15px; height: 15px; }
.refresh-btn.is-spinning svg { animation: spin .8s linear infinite; }
.refresh-btn:disabled { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .refresh-btn.is-spinning svg { animation: none; } }

/* ---------- Incidentes (Visão geral e painel da unidade) ---------- */
.incidents { overflow: hidden; }
.incidents--ok { border-left: 5px solid var(--up); }
.incidents--bad { border-left: 5px solid var(--down); }
.incidents__ok, .incidents__head { display: flex; gap: 14px; align-items: center; padding: 16px 18px; }
.incidents--bad .incidents__head { background: var(--danger-bg); border-bottom: 1px solid #F3C4BF; }
.incidents h2 { font-size: 16px; margin: 0; color: var(--brand-900); }
.incidents p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.incidents__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.incidents--ok .incidents__icon { background: var(--green-soft); color: var(--green-ink); }
.incidents--bad .incidents__icon { background: #fff; color: var(--danger); }
.incidents__icon svg { width: 22px; height: 22px; }
.incidents__list { list-style: none; margin: 0; padding: 0; }
.incidents__list li { display: flex; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); }
.incidents__list li:last-child { border-bottom: 0; }
.incidents__what { display: grid; gap: 2px; min-width: 0; flex: 1; }
.incidents__what .kind--sm { margin-left: 0; }
.incidents__since { font-size: 13px; font-weight: 600; color: var(--danger); white-space: nowrap; }
@media (max-width: 620px) { .incidents__list li { flex-wrap: wrap; } .incidents__since { flex-basis: 100%; padding-left: 21px; } }
body.tv .incidents--bad .incidents__head { background: rgba(214, 69, 65, .15); border-color: rgba(214, 69, 65, .3); }
body.tv .incidents h2 { color: #fff; }

/* ---------- Equipamentos por tipo (painel do cliente) ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cat {
  --k: var(--brand);
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink);
  border-top: 3px solid var(--k); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.cat.is-active { border-color: var(--k); box-shadow: inset 0 0 0 1px var(--k), var(--shadow-hover); background: color-mix(in srgb, var(--k) 5%, #fff); }
.cat__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  color: var(--k); background: color-mix(in srgb, var(--k) 12%, #fff);
}
.cat__icon svg { width: 22px; height: 22px; }
.cat__body { display: grid; min-width: 0; }
.cat__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cat__value { font-size: 26px; font-weight: 700; color: var(--brand-900); line-height: 1.15; font-variant-numeric: tabular-nums; }
.cat__sub { font-size: 12px; color: var(--muted); display: flex; gap: 4px; flex-wrap: wrap; }
.cat--bad { border-top-color: var(--down); }
.cat--servidores { --k: #0067B8; }
.cat--firewalls { --k: #C8102E; }
.cat--switches { --k: #00803E; }
.cat--access-points { --k: #6A3FB0; }
.cat--dvrs { --k: #8A4B08; }
.cat--impressoras { --k: #2C6E8F; }
.cat--nobreaks { --k: #A06A00; }
.cat--roteadores { --k: #5B4A9E; }
.cat--links { --k: #00718F; }
.cat--controle-de-acesso { --k: #7A3E62; }
.cat--rede, .cat--outros { --k: #3F5057; }

/* ---------- LDAP e cadastro de cliente ---------- */
.ldapform { display: grid; gap: 16px; }
.ldapform > * { min-width: 0; } /* a tabela de mapeamentos rola dentro do card, sem alargar a página */
.ldapmap__checks { display: grid; gap: 2px; max-height: 118px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; min-width: 200px; background: #fff; }
.ldapmap__checks label { display: flex; gap: 6px; align-items: center; font-size: 13px; white-space: nowrap; }
.ldapmap__checks input { accent-color: var(--brand); }
.ldapmap__checks label:has(input:checked) { font-weight: 700; color: var(--brand-900); }
form.ldapform > .card, .ldapform > section { margin: 0; }
section.card > .ldapform { padding: 4px 18px 18px; gap: 12px; }
.ldapform__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 16px; padding: 14px 18px; }
.ldapform__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 16px; }
.ldapform .field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand-900); }
.ldapform .field[hidden], .ldapform [hidden] { display: none; }
.ldapform__wide { grid-column: 1 / -1; }
.ldapform__check { align-self: end; padding-bottom: 10px; }
.ldapform__sub { font-size: 13.5px; color: var(--brand-900); margin: 10px 18px 8px; }
.ldapform__hint { margin: 6px 18px 14px; }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; width: fit-content; }
.segmented label { padding: 7px 14px; cursor: pointer; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.segmented label + label { border-left: 1px solid var(--line); }
.segmented label:has(input:checked) { background: var(--brand-soft); color: var(--brand); }
.segmented input { accent-color: var(--brand); }
table.ldapmap td { vertical-align: top; padding: 8px 12px; }
table.ldapmap .input, table.ldapmap .select { width: 100%; min-width: 160px; }
.ldapmap__groups { min-height: 72px; }
.ldaptest__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 0 18px 18px; }
.ldapserver { margin-bottom: 16px; }
.ldapserver__facts { padding-top: 0; }
.ldapserver__facts dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 18px; }
.onboard { padding: 18px; gap: 0; }
.onboard__step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.onboard__num { width: 30px; height: 30px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 700; display: grid; place-items: center; }
.onboard__body h2 { font-size: 15px; color: var(--brand-900); margin: 4px 0 4px; }
.onboard__body .ldapform__grid { padding: 8px 0 4px; }
.onboard__actions { padding-top: 16px; }
.steps { margin: 6px 0; padding-left: 18px; }
.unitpick { display: grid; gap: 8px; margin-top: 8px; }
.unitpick__list { max-height: 240px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; }
.unitpick__list table.data td { padding: 6px 12px; }
.unitpick__list label { font-size: 13px; font-weight: 500; cursor: pointer; }
.unitpick__list tr:has(input:checked) { background: var(--brand-soft); }
.unitpick__list tr:has(input:checked) label { font-weight: 700; color: var(--brand-900); }
.unitpick__new { margin-top: 10px; max-width: 520px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.kind.cat-chip { margin: 2px 4px 2px 0; }
.cat-chip svg { width: 14px; height: 14px; }
.access-shared { margin: 10px 2px 0; }
.access-gap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
.inline-form { display: inline; margin: 0; }

/* ---------- Visão do host (administradores) ---------- */
.hostview { margin-top: 22px; border-top: 3px solid var(--brand); }
.hostview__form { padding: 4px 18px 18px; display: grid; gap: 14px; }
.hostview__form .hint b { color: var(--brand-900); }
.hostview__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 14px; align-items: end; }
.hostview__fields .field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand-900); }
.hostview__fields .select { width: 100%; }
.hostview__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tag--manual { background: var(--warn-bg); color: var(--warn); }
.panelpick { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px 16px; margin: 0; min-width: 0; }
.panelpick legend { font-weight: 700; font-size: 14px; color: var(--brand-900); padding: 0 6px; }
.panelpick__mode { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; font-size: 13.5px; font-weight: 600; }
.panelpick__mode .hint { flex-basis: 100%; }
.panelpick__topics { display: grid; gap: 10px; transition: opacity .15s; }
.panelpick__topics.is-default { opacity: .55; }
.ptopic { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ptopic > summary {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 14px; cursor: pointer; list-style: none;
  border-left: 4px solid var(--brand); border-radius: 12px;
}
.ptopic > summary::-webkit-details-marker { display: none; }
.ptopic[open] > summary { border-bottom: 1px solid var(--line-soft); border-radius: 12px 12px 0 0; }
.ptopic__title { font-weight: 700; font-size: 14px; color: var(--brand-900); text-transform: uppercase; letter-spacing: .06em; }
.ptopic__title::before { content: "▸ "; color: var(--muted); }
.ptopic[open] .ptopic__title::before { content: "▾ "; }
.ptopic__count { font-size: 12px; font-weight: 700; color: var(--green-ink); align-self: center; white-space: nowrap; }
.ptopic__desc { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.ptopic--empty > summary { border-left-color: var(--line); }
.ptopic--empty .ptopic__title, .ptopic--empty .ptopic__count { color: var(--muted); }
.ptopic__body { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2px 12px; padding: 10px 12px 12px; }
.ptopic__body > .panelpick__missing { grid-column: 1 / -1; }
.ptopic__body .panelopt__text { display: block; }
.ptopic__body .panelopt__text small { display: block; }
.panelopt__text em {
  font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  background: var(--line-soft); border-radius: 999px; padding: 1px 6px; margin-left: 6px; white-space: nowrap; vertical-align: 1px;
}
.panelopt { display: flex; gap: 8px; align-items: flex-start; padding: 5px 6px; border-radius: 8px; font-size: 13px; cursor: pointer; }
.panelopt:hover { background: var(--line-soft); }
.panelopt input { margin-top: 2px; accent-color: var(--brand); flex: none; }
.panelopt__text { display: grid; gap: 1px; }
.panelopt small { color: var(--danger); font-size: 11.5px; line-height: 1.35; }
.panelopt.is-off { cursor: not-allowed; color: var(--muted); }
.panelopt.is-off:hover { background: transparent; }
.alert--warn { background: var(--warn-bg); color: var(--warn); border: 1px solid #F1DB9A; }
.btn--xs { padding: 3px 10px; font-size: 12px; border-radius: 8px; }
.btn--xs svg { width: 13px; height: 13px; }
div.panelopt.is-off { cursor: default; }
.panelopt.is-off label { cursor: pointer; color: var(--ink); }
.panelopt.is-pending { background: var(--warn-bg); }
.panelopt small.gap { color: var(--warn); font-weight: 600; margin-top: 2px; }
.gap__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hosttpl { margin: 0 18px 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 10px; }
.hosttpl__head { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: baseline; }
.hosttpl__head h3 { font-size: 14px; color: var(--brand-900); margin: 0; }
.hosttpl__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hosttpl__list li { display: inline-flex; align-items: center; gap: 4px; }
.hosttpl__add { display: flex; gap: 8px; flex-wrap: wrap; }
.hosttpl__add .select { flex: 1 1 320px; min-width: 0; }
.panelpick__missing { margin-top: 6px; }
.panelpick__missing summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 4px 6px; border-radius: 8px; }
.panelpick__missing summary:hover { color: var(--brand); }
.panelpick__missing[open] summary { margin-bottom: 2px; }
@media (max-width: 620px) { .ptopic > summary { grid-template-columns: 1fr; } .ptopic__count { white-space: normal; } }
@media (max-width: 760px) { .hostview__fields { grid-template-columns: 1fr; } }

/* ---------- Painel frontal do switch ---------- */
.faceplate { margin-top: 20px; overflow: hidden; }
.faceplate__legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); font-weight: 600; }
.faceplate__legend span { display: inline-flex; align-items: center; gap: 6px; }
.port-key { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.port-key--up { background: var(--up); }
.port-key--err { background: var(--sev-2); }
.port-key--down { background: #3A4A52; }
.faceplate__body {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; margin: 16px 18px 6px; padding: 14px 16px;
  background: linear-gradient(180deg, #1B2B33 0%, #13232A 100%); border-radius: 12px; overflow-x: auto;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35);
}
.portgroup { display: grid; gap: 6px; }
.portgroup__name { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-family: ui-monospace, Consolas, monospace; }
/* Como no equipamento: ímpares em cima, pares embaixo. */
.portgroup__ports { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 38px; gap: 6px; }
.port {
  width: 38px; height: 38px; border-radius: 6px 6px 3px 3px; border: 1px solid rgba(255, 255, 255, .08); padding: 0 0 7px;
  display: grid; place-content: center; justify-items: center; gap: 0; font: inherit; cursor: default;
  background: #33444C; color: rgba(255, 255, 255, .55); position: relative;
}
button.port { cursor: pointer; }
button.port:hover, button.port:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff; }
.port::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 14px; height: 2px; margin-left: -7px; border-radius: 2px; background: rgba(0, 0, 0, .3); }
.port__num { font-size: 12px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.port__speed { font-size: 9px; font-weight: 600; line-height: 1; opacity: .85; min-height: 9px; }
.port--up { background: var(--up); color: #fff; border-color: rgba(255, 255, 255, .25); box-shadow: 0 0 10px -2px rgba(0, 205, 97, .7); }
.port--err { background: var(--sev-2); color: #2B1E00; border-color: rgba(255, 255, 255, .3); box-shadow: 0 0 10px -2px rgba(217, 163, 0, .8); }
.port--unknown { background: #4B5A61; }
.faceplate__labels { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 8px 18px 2px; }
.faceplate__labels-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.portlabel { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--line-soft); }
.portlabel b { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--brand-900); }
.faceplate__hint { margin: 8px 18px 14px; font-size: 12px; color: var(--muted); }

.sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 22px; align-items: start; }
.sections:empty { display: none; }
.section--wide { grid-column: 1 / -1; }
.table-wrap--scroll { max-height: 440px; overflow-y: auto; }
.table-wrap--scroll thead th { position: sticky; top: 0; z-index: 1; }
table.data tr.is-alert { background: var(--danger-bg); }
table.data tr.is-alert:hover { background: #FBE1DE; }
.alert--inset { margin: 12px 16px 4px; }
.meter--wide { grid-template-columns: 120px auto; }
.mono-strong { font-family: ui-monospace, Consolas, monospace; font-weight: 600; }
.text-bad { color: var(--danger); font-weight: 600; }
.text-warn { color: var(--warn); font-weight: 600; }

.facts { padding: 6px 22px; overflow: hidden; }
.facts::before { content: ""; display: block; height: 4px; margin: -6px -22px 6px; background: var(--gradient); }
.facts dl { margin: 0; }
.facts dl > div { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

.filters { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.filters__client { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.filters__client .select { min-width: 240px; }

/* ---------- Login ---------- */
.public {
  min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background:
    radial-gradient(700px 480px at 100% 0%, rgba(0, 205, 97, .22), transparent 65%),
    radial-gradient(800px 560px at 0% 100%, rgba(0, 99, 128, .55), transparent 65%),
    linear-gradient(160deg, var(--graphite-2) 0%, var(--graphite) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.public::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("/img/fundo.png") center / cover no-repeat; opacity: .10; mix-blend-mode: screen; }
.public__box { width: 100%; max-width: 420px; text-align: center; position: relative; }
.public__box img.logo { width: 230px; max-width: 75%; margin: 0 auto 30px; display: block; }
.public__card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 30px 28px;
  backdrop-filter: blur(10px); text-align: left; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.public__card h1 { font-size: 22px; margin-bottom: 4px; }
.public__card p { color: rgba(255, 255, 255, .8); margin: 0 0 22px; font-size: 14px; }
.public__card .btn { width: 100%; }
.public__form { display: grid; gap: 14px; }
.field > label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.public__form label { color: #CFF8E0; }
.field-validation-error { color: #FFC2BB; font-size: 12.5px; display: block; margin-top: 4px; }
.public__hint { margin-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .78); line-height: 1.7; }
.public__hint code { background: rgba(255, 255, 255, .14); color: #fff; }
.public__foot { margin-top: 28px; font-size: 11px; color: rgba(255, 255, 255, .55); letter-spacing: .3em; text-transform: uppercase; }
.public .alert--info { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .2); }

/* ---------- Modo TV (NOC): sem menu, fundo grafite, letras maiores ---------- */
body.tv { background: var(--graphite); color: #E8F1F4; font-size: 16px; }
body.tv .app { grid-template-columns: 1fr; }
body.tv .sidebar, body.tv .demo-banner { display: none; }
body.tv .main { padding: 24px 32px; }
body.tv .page-head h1 { color: #fff; font-size: 34px; }
body.tv .page-head p, body.tv .updated { color: rgba(255, 255, 255, .6); }
body.tv .card, body.tv .sevstrip__item, body.tv .tabs { background: var(--graphite-2); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
body.tv table.data th { background: transparent; color: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .08); }
body.tv table.data td { border-color: rgba(255, 255, 255, .06); font-size: 16px; }
body.tv table.data tbody tr:hover { background: rgba(255, 255, 255, .03); }
body.tv .row-title { color: #fff; }
body.tv .sevstrip__item strong { color: #fff; }
body.tv .sevstrip__item span, body.tv .cell-sub, body.tv .count, body.tv .muted { color: rgba(255, 255, 255, .6); }
body.tv .pager { border-color: rgba(255, 255, 255, .08); }
body.tv .tabs__item { color: rgba(255, 255, 255, .7); }
body.tv .tabs__item.active { background: var(--green); color: var(--graphite); }
body.tv .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .2); }
body.tv .filters__client { color: rgba(255, 255, 255, .6); }
body.tv .empty strong { color: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .split, .split--wide { grid-template-columns: 1fr; }
  .panels, .sections, .central { grid-template-columns: 1fr; }
  .central__problems { position: static; }
  .sevstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .app > * { min-width: 0; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; }
  .sidebar__logo { padding: 0; }
  .sidebar__logo img { width: 110px; }
  .sidebar__product, .nav__group, .me { display: none; }
  .nav { flex-direction: row; flex-wrap: wrap; order: 4; width: 100%; overflow: visible; gap: 4px; flex: none; margin: 0; padding: 0; }
  .nav a { padding: 7px 12px; white-space: nowrap; overflow-wrap: normal; }
  .sidebar__footer { order: 3; margin: 0 0 0 auto; border: 0; padding: 0; }
  .sidebar__logout { margin: 0; }
  .main { padding: 22px 16px 40px; }
}
@media (max-width: 620px) {
  .sevstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar__search { flex: 1 1 100%; }
  .filters__client .select { min-width: 0; flex: 1; }
  .dashbar__rotate { margin-left: 0; }
  .picker__panel { width: 100%; }
  table.data th:not(.keep), table.data td:not(.keep) { display: none; }
  .only-mobile { display: inline; }
  .kpi__value { font-size: 24px; }
}

/* ---------- Formulários (relatório) ---------- */
.field { min-width: 0; }
.field > label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--brand-900); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.select--full { width: 100%; }
.hint { font-size: 12.5px; color: var(--muted); margin: 0; }
.check-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.check-inline input { accent-color: var(--brand); width: 16px; height: 16px; }
.choice { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.choice__item { position: relative; cursor: pointer; }
.choice__item input { position: absolute; opacity: 0; pointer-events: none; }
.choice__item span {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-weight: 600; font-size: 14px; color: var(--brand-900); background: #fff; transition: all .15s;
}
.choice__item span small { flex-basis: 100%; font-weight: 500; font-size: 12px; color: var(--muted); }
.choice__item span b { margin-left: auto; font-size: 12px; background: var(--line-soft); color: var(--ink); border-radius: 999px; padding: 1px 9px; }
.choice__item:hover span { border-color: var(--brand); }
.choice__item input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.choice__item input:focus-visible + span { box-shadow: var(--focus); }
table.data .select-cell { width: 42px; padding-right: 0; }
table.data .select-cell label { display: grid; place-items: center; margin: -12px -6px -12px -16px; padding: 12px 6px 12px 16px; cursor: pointer; }
table.data .select-cell input { width: 17px; height: 17px; margin: 0; accent-color: var(--brand); cursor: pointer; }
table.data tbody tr.selected { background: var(--brand-soft); }
.bulkbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; margin: 0 0 12px; border-radius: 12px;
  background: var(--brand-900); color: #fff; font-size: 14px; position: sticky; top: 10px; z-index: 5; box-shadow: var(--shadow-hover);
}
.bulkbar strong { font-size: 16px; }
.bulkbar .btn--link { color: rgba(255, 255, 255, .75); }
.bulkbar .btn--link:hover { color: #fff; }

.report-form__grid { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: 20px; align-items: start; }
.report-form__options { padding: 20px 22px; display: grid; gap: 14px; position: sticky; top: 20px; }
.report-form__options .panel__title { margin-top: 6px; }
.report-form__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.report-form__bulk { display: flex; gap: 8px; padding: 10px 16px 0; }
.table-wrap--tall { max-height: 70vh; }
.report-form.is-all [data-when-selected] { opacity: .45; pointer-events: none; }
.btn.is-busy { opacity: .75; pointer-events: none; }

/* ---------- Documento do relatório (tela e PDF) ---------- */
.report-body { background: #E9EEF1; }
.report-body--pdf { background: #fff; }
.report-toolbar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 20px;
  background: var(--graphite); color: #fff; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4);
}
.report-toolbar__hint { flex: 1; font-size: 13px; color: rgba(255, 255, 255, .7); }
.report-toolbar .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.rdoc {
  max-width: 210mm; margin: 24px auto 60px; background: #fff; padding: 14mm 12mm 12mm; color: var(--ink); font-size: 11.5px; line-height: 1.45;
  box-shadow: 0 20px 50px -20px rgba(14, 27, 35, .35); -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.report-body--pdf .rdoc { max-width: none; margin: 0; padding: 0; box-shadow: none; }
.rcover { display: grid; gap: 14px; margin-bottom: 18px; }
.rcover__brand { display: flex; align-items: center; justify-content: space-between; }
.rcover__logo { height: 38px; }
.rcover__tag { font-size: 9.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--brand); }
.rcover__band { height: 6px; border-radius: 6px; background: var(--gradient); }
.rcover__title h1 { font-size: 24px; color: var(--brand-900); letter-spacing: -.02em; margin-top: 2px; }
.rcover__title p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.rmeta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.rmeta > div { padding: 8px 12px; border-right: 1px solid var(--line); background: #FAFCFD; }
.rmeta > div:last-child { border-right: 0; }
.rmeta dt { font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rmeta dd { margin: 2px 0 0; font-weight: 600; font-size: 11px; color: var(--brand-900); }
.rsection { margin-top: 10px; }
.rsection__title, .rhost__head h2 { font-size: 16px; color: var(--brand-900); margin: 0 0 10px; }
.rkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-bottom: 10px; }
.rkpi { border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 10px; padding: 8px 10px; display: grid; gap: 1px; break-inside: avoid; }
.rkpi span { font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rkpi strong { font-size: 18px; color: var(--brand-900); font-variant-numeric: tabular-nums; }
.rkpi em { font-style: normal; font-size: 9.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rkpi--ok { border-top-color: var(--up); }
.rkpi--warn { border-top-color: var(--sev-2); }
.rkpi--warn strong { color: var(--warn); }
.rkpi--bad { border-top-color: var(--sev-4); }
.rkpi--bad strong { color: var(--danger); }
.rsev { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.rtable { width: 100%; border-collapse: collapse; font-size: 10.5px; margin-bottom: 6px; }
.rtable th { text-align: left; font-size: 8.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--brand-900); padding: 6px 8px; }
.rtable th:first-child { border-radius: 6px 0 0 0; }
.rtable th:last-child { border-radius: 0 6px 0 0; }
.rtable td { padding: 5px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.rtable tbody tr:nth-child(even) td { background: #F8FAFB; }
.rtable tr { break-inside: avoid; }
.rtable .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rtable--compact td { padding: 4px 8px; }
.rtable .sev { font-size: 9.5px; padding: 1px 7px 1px 5px; }
.rmuted { color: var(--muted); font-size: 9.5px; }
.rbad { color: var(--danger); font-weight: 700; }
.rnote { font-size: 9.5px; color: var(--muted); margin: 4px 0 0; }
.rok { display: flex; align-items: center; gap: 6px; color: var(--green-ink); font-weight: 600; margin: 0 0 6px; }
.rok svg { width: 14px; height: 14px; }
.rhost { break-before: page; page-break-before: always; padding-top: 4px; }
.rhost__head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 3px solid transparent; border-image: var(--gradient) 1; padding-bottom: 8px; margin-bottom: 12px; }
.rhost__head h2 { font-size: 20px; margin: 0; }
.rhost__meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.rsub { font-size: 12.5px; color: var(--brand-900); margin: 14px 0 8px; }
.rcharts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rchart { margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px 4px; break-inside: avoid; }
.rchart figcaption { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; flex-wrap: wrap; margin-bottom: 2px; }
.rchart figcaption strong { font-size: 11px; color: var(--brand-900); }
.rchart__legend { display: flex; gap: 8px; flex-wrap: wrap; font-size: 9px; color: var(--muted); }
.rchart__legend span { display: inline-flex; align-items: center; gap: 4px; }
.rchart__legend i { width: 9px; height: 3px; border-radius: 2px; display: inline-block; }
.rchart__legend b { color: var(--ink); font-weight: 600; }
.rchart__svg { display: block; width: 100%; height: auto; font-family: Montserrat, "Segoe UI", Arial, sans-serif; }
.rchart__empty { padding: 30px 0; text-align: center; color: var(--muted); font-size: 10.5px; }
.rkeep { break-inside: avoid; page-break-inside: avoid; }
.rsub { break-after: avoid; page-break-after: avoid; }
.rtable td:first-child strong { white-space: nowrap; }
.rfoot { margin-top: 18px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 9px; color: var(--muted); text-align: center; }

@page { size: A4; margin: 12mm 11mm 14mm; }
@media print {
  .no-print, .sidebar, .demo-banner { display: none !important; }
  .report-body { background: #fff; }
  .rdoc { max-width: none; margin: 0; padding: 0; box-shadow: none; }
}
@media (max-width: 1180px) {
  .report-form__grid { grid-template-columns: 1fr; }
  .report-form__options { position: static; }
}
@media (max-width: 760px) {
  .rdoc { margin: 0; padding: 16px; }
  .rmeta, .rcharts { grid-template-columns: 1fr 1fr; }
}
/* ---------- Relatórios: abas e histórico ---------- */
.report-tabs { margin-bottom: 18px; }
.report-tabs svg { width: 15px; height: 15px; }
.toolbar__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tabs--sm { padding: 3px; box-shadow: none; }
.tabs--sm .tabs__item { padding: 5px 12px; font-size: 13px; }
.inline-form { display: inline; margin: 0; }
button.icon-action { cursor: pointer; padding: 0; font: inherit; }
.icon-action--danger:hover { color: var(--danger); border-color: var(--danger); background: var(--danger-bg); }
/* ---------- Monitoramento avançado (ao vivo) ---------- */
.livepick { padding: 14px 18px; margin-bottom: 16px; }
.livepick .field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand-900); max-width: 520px; }
.live { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.livebar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 14px 18px; }
.livebar__state { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.livebar__interval { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand-900); }
.livebar__interval .select { width: auto; }
.livebar__actions { display: inline-flex; gap: 8px; }
.livebar__selected { margin-left: auto; font-size: 13px; }
.livebar__note { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--warn-ink, #8a5a00); background: var(--warn-bg, #fff6e0); padding: 8px 12px; border-radius: 8px; }
.livedot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); display: inline-block; }
.livedot--running { background: var(--green); box-shadow: 0 0 0 0 rgba(0, 205, 97, .6); animation: livepulse 1.6s infinite; }
.livedot--paused { background: #E0A100; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(0, 205, 97, .55); } 70% { box-shadow: 0 0 0 9px rgba(0, 205, 97, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 205, 97, 0); } }
@media (prefers-reduced-motion: reduce) { .livedot--running { animation: none; } }
.livecharts .livecharts__empty { grid-column: 1 / -1; }
.livecharts .chart { height: 180px; }
.livecharts .chart svg { overflow: hidden; } /* janela móvel: nada desenha fora do gráfico */
.livetable { max-height: 560px; }
.livecats { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); }
.livecat { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-soft); background: #fff; color: var(--brand-900);
  font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.livecat:hover { border-color: var(--brand); }
.livecat.is-active { background: var(--brand-900); border-color: var(--brand-900); color: #fff; }
.livecat__n { font-weight: 500; opacity: .7; font-variant-numeric: tabular-nums; }
.livecat__sel { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
.livetable tr.livegroup th { position: sticky; top: 38px; z-index: 1; background: var(--line-soft); color: var(--brand-900); text-align: left;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 8px 18px; }
.livetable tr.is-selected td { background: var(--green-soft); }
.livetable tr.is-changed td { animation: liveflash 1.8s ease-out; }
@keyframes liveflash { from { background: rgba(0, 205, 97, .28); } to { background: transparent; } }
.livetable .delta--up { color: var(--green-ink); font-weight: 600; }
.livetable .delta--down { color: var(--danger); font-weight: 600; }
.livetable input:disabled { cursor: not-allowed; opacity: .35; }
@media (max-width: 900px) { .livebar__selected { margin-left: 0; } }

/* ---------- Histórico de quedas ---------- */
.outages { margin-top: 16px; }
.outages .toolbar { align-items: flex-start; }
.tabs--sm .tabs__item { padding: 6px 12px; font-size: 13px; }
.outages__summary { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-end; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.outages__stat { display: grid; gap: 2px; }
.outages__stat strong { font-size: 22px; color: var(--brand-900); font-variant-numeric: tabular-nums; line-height: 1.1; }
.outages__stat span { font-size: 12px; color: var(--muted); }
.outages__stat.is-ok strong { color: var(--green-ink); }
.outages__stat.is-bad strong { color: var(--danger); }
.outages__note { flex-basis: 100%; }
.outages__none { display: flex; align-items: center; gap: 10px; padding: 16px 18px; color: var(--green-ink); font-weight: 500; }
.outages__none svg { width: 18px; height: 18px; flex: none; }
.outages__empty { padding: 16px 18px; margin: 0; }
.outages__table tr.is-ongoing td { background: var(--danger-bg); }
.outages__more { padding: 10px 18px; margin: 0; }

/* ---------- Configuração: seções ---------- */
.confignav { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; padding: 6px; background: var(--card, #fff); border: 1px solid var(--line-soft); border-radius: 14px; }
.confignav__item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.confignav__item svg { width: 16px; height: 16px; }
.confignav__item:hover { background: var(--line-soft); color: var(--brand-900); }
.confignav__item.active { background: var(--brand-900); color: #fff; }
.navbadge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }

/* Formulários das seções */
.formgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 18px; padding: 14px 18px; }
.formgrid .field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand-900); align-content: start; }
.field--check { display: flex !important; align-items: center; gap: 8px; align-self: end; padding-bottom: 10px; }
.field--check input, .rolegroups input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--brand); }
.formactions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 18px 16px; }
.monthly-form > .btn, .mailform__body > .btn { margin: 0 18px 16px; }
.monthly-form .hint, .monthly-hint { padding: 0 18px; }
.monthly-save { padding-top: 14px; }
.monthly-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; }
.monthly-step { display: flex; gap: 12px; align-items: center; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.monthly-step svg { width: 22px; height: 22px; flex: none; color: var(--muted); }
.monthly-step span { display: grid; gap: 2px; }
.monthly-step small { color: var(--muted); font-size: 12px; }
.monthly-step.is-done svg { color: var(--green-ink); }
.monthly-form, .mailform, .mailtest, #destinatarios { margin-bottom: 16px; }
.mailform__body { display: grid; gap: 4px; }
.mailform__provider { border: 0; margin: 0; padding: 14px 18px 0; display: flex; gap: 18px; flex-wrap: wrap; }
.mailform__provider legend { font-size: 13px; font-weight: 600; color: var(--brand-900); padding: 0; margin-bottom: 6px; }
.radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.radio input { accent-color: var(--brand); width: 16px; height: 16px; }
.mailform:has(#prov-graph:checked) .mail-smtp, .mailform:has(#prov-smtp:checked) .mail-graph { display: none; }
.mailform .hint { padding: 0 18px; }
.mailhelp { margin: 0 18px 12px; padding: 12px 14px; background: var(--line-soft); border-radius: 10px; font-size: 13px; }
.mailhelp summary { cursor: pointer; font-weight: 600; color: var(--brand-900); }
.mailhelp ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.mailhelp code { display: inline-block; margin-top: 4px; white-space: normal; overflow-wrap: anywhere; font-size: 12px; }
.mailtest__body { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; padding: 14px 18px; }
.mailtest__body .field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand-900); min-width: 260px; }
.tag--bad { background: var(--danger-bg); color: var(--danger); }
tr.is-failed td { background: var(--danger-bg); }

/* Auditoria */
.auditfilter { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; padding: 14px 18px; margin-bottom: 16px; }
.auditfilter .field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand-900); }
.auditfilter__search { flex: 1 1 240px; }
.audittable { max-height: 640px; }
.audit__detail { font-size: 13px; color: var(--muted); max-width: 520px; overflow-wrap: anywhere; }

/* Aviso de proxies fora do ar */
.proxyalert { margin-bottom: 16px; border-left: 4px solid var(--danger); }
.proxyalert--warn { border-left-color: #E0A100; }
.proxyalert__head { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px 8px; }
.proxyalert__head h2 { font-size: 16px; margin: 0 0 2px; }
.proxyalert__head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.proxyalert__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--danger-bg); color: var(--danger); flex: none; }
.proxyalert--warn .proxyalert__icon { background: #FFF6E0; color: #8A5A00; }
.proxyalert__icon svg { width: 18px; height: 18px; }
.proxyalert__list { list-style: none; margin: 0; padding: 4px 18px 14px; display: grid; gap: 10px; }
.proxyalert__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.proxyalert__list li > div:nth-child(2) { display: grid; }
.proxyalert__clients { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
@media (max-width: 700px) { .proxyalert__list li { grid-template-columns: auto minmax(0, 1fr); } .proxyalert__clients { grid-column: 2; justify-content: flex-start; } }
.rolegroups { margin-bottom: 16px; }

.mailform__body > .btn { justify-self: start; }

/* ---------- Capacidade ---------- */
.capacity { margin-top: 16px; }
.capacity .toolbar { align-items: flex-start; }
.capacity__empty { padding: 16px 18px; margin: 0; }
.capacity__list { list-style: none; margin: 0; padding: 6px 18px 12px; display: grid; gap: 10px; }
.capacity__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--line-soft); }
.capacity__item--bad { background: var(--danger-bg); }
.capacity__item--warn { background: #FFF6E0; }
.capacity__icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--brand-900); }
.capacity__item--bad .capacity__icon { color: var(--danger); }
.capacity__item--warn .capacity__icon { color: #8A5A00; }
.capacity__icon svg { width: 18px; height: 18px; }
.capacity__what { display: grid; gap: 2px; min-width: 0; }
.capacity__what .cell-sub { display: block; }
.capacity__level { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.capacity__item--bad .capacity__level { color: var(--danger); }
.capacity__item--warn .capacity__level { color: #8A5A00; }
.capacity__more { margin: 0 18px 10px; font-size: 13px; }
.capacity__more summary { cursor: pointer; color: var(--brand-900); font-weight: 600; }
.capacity__list--quiet { padding: 8px 0 0; }
.capacity__note { padding: 0 18px 14px; margin: 0; }
.tag--warn { background: #FFF6E0; color: #8A5A00; }
@media (max-width: 700px) { .capacity__item { grid-template-columns: auto minmax(0, 1fr); } .capacity__level { grid-column: 2; } }

/* Comparativo do relatório */
.rgood { color: var(--green-ink); font-weight: 700; }
.rsame { color: var(--muted); }
.rsubtitle { font-size: 12px; color: var(--brand-900); margin: 12px 0 6px; }
.rcompare td:first-child { font-weight: 600; }

/* ---------- Monitoramento avançado: vários hosts ---------- */
.livepick { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: end; }
.livepick .field { flex: 1 1 320px; }
.livepick__chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 2 1 320px; }
.hostchip { display: inline-flex; align-items: center; gap: 2px; padding: 4px 4px 4px 12px; border-radius: 999px; background: var(--brand-900); color: #fff; font-size: 13px; font-weight: 600; }
.hostchip a { color: inherit; text-decoration: none; }
.hostchip__remove { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 15px; line-height: 1; opacity: .75; }
.hostchip__remove:hover { opacity: 1; background: rgba(255, 255, 255, .18); }
.livebar__export { display: inline-flex; gap: 8px; }
.livesummary .num, table.data .num { text-align: right; font-variant-numeric: tabular-nums; }
.livecharts-all { display: grid; gap: 18px; }
.livehostcharts { display: grid; gap: 10px; }
.livehostcharts__title { font-size: 15px; color: var(--brand-900); margin: 0; display: flex; align-items: center; gap: 8px; }
.livehostcharts__title::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--brand); }
.livehost details > summary { list-style: none; cursor: pointer; }
.livehost details > summary::-webkit-details-marker { display: none; }
.livehost__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.livehost__head::before { content: "▾"; color: var(--muted); font-size: 12px; transition: transform .15s; }
.livehost details:not([open]) .livehost__head::before { transform: rotate(-90deg); }
.livehost details:not([open]) .livehost__head { border-bottom: 0; }
.livehost__title { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--brand-900); }
.livehost__title svg { width: 18px; height: 18px; }
.livehost__meta { font-size: 13px; }
.livehost__head .btn--link { margin-left: auto; }
.livehost__tools { border-bottom: 1px solid var(--line-soft); }
.livehost__tools .livecats { border-bottom: 0; padding: 0; flex: 1 1 400px; }
.liveprint { display: none; }

/* Exportar PDF: só o que interessa (cabeçalho, resumo e gráficos), em A4. */
@media print {
  body.liveprinting .sidebar, body.liveprinting .demo-banner, body.liveprinting .page-head, body.liveprinting .livepick,
  body.liveprinting .livebar, body.liveprinting .livehost, body.liveprinting .alert, body.liveprinting .livecharts__empty { display: none !important; }
  body.liveprinting .app { display: block; }
  body.liveprinting .main { padding: 0; }
  body.liveprinting .liveprint { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-size: 12px; }
  body.liveprinting .liveprint img { height: 28px; }
  body.liveprinting .liveprint span { color: #5F6C75; }
  body.liveprinting .livecharts { grid-template-columns: 1fr 1fr; }
  body.liveprinting .chart-panel, body.liveprinting .livesummary { break-inside: avoid; box-shadow: none; border: 1px solid #DDE3E6; }
  body.liveprinting .table-wrap { max-height: none; overflow: visible; }
}

.livesummary td.num { white-space: nowrap; }

.monthly-flash { margin: 12px 18px 0; }

/* ---------- Meus alertas ---------- */
.alertform__who, .alertform > .card { margin-bottom: 16px; }
.alertform__hint { padding: 0 18px; }
.alertunit { border-top: 1px solid var(--line-soft); }
.alertunit__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px 6px; cursor: pointer; font-size: 14px; color: var(--brand-900); }
.alertunit__head input, .alertunit input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--brand); }
.alertunit__hosts { padding: 0 18px 12px 45px; }
.alertunit__hosts summary { cursor: pointer; font-size: 13px; color: var(--muted); font-weight: 600; padding: 4px 0 8px; }
.alertform__actions { padding: 0; }

/* ---------- Entrada (mesmo padrão da Central de chamados): marca à esquerda, formulário à direita ---------- */
.auth-body { margin: 0; background: #FFFFFF; }
.auth { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); min-height: 100vh; }
.auth__brand {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 40px;
  background: linear-gradient(180deg, #03313D 0%, #04485A 38%, #0A6A74 70%, #0E8A6E 100%);
}
.auth__waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth__brandtext { position: relative; max-width: 380px; color: #fff; }
.auth__wordmark { font-size: 36px; letter-spacing: .5px; font-weight: 300; line-height: 1; margin-bottom: 14px; }
.auth__wordmark b { font-weight: 700; }
.auth__brandtext p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.auth__panel { display: grid; place-items: center; padding: 40px 24px; background: #FFFFFF; }
.auth__box { width: 100%; max-width: 300px; }
.auth__logo { display: block; width: 182px; margin: 0 0 30px; }

.auth .public__card { background: transparent; border: 0; box-shadow: none; padding: 0; color: var(--ink); text-align: left; backdrop-filter: none; }
.auth .public__card h1 { font-size: 18px; color: var(--ink); margin: 0 0 16px; }
.auth .public__card p { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.auth .public__form { gap: 14px; }
.auth .public__form label { color: var(--ink); font-size: 11.5px; font-weight: 600; }
.auth .public__form .input { background: #EAF1FA; border: 1px solid #CFDCE8; color: var(--ink); height: 32px; font-size: 13px; border-radius: 6px; }
.auth .public__form .input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 99, 128, .15); background: #fff; }
.auth .public__card .btn { width: 100%; height: 34px; margin-top: 6px; background: var(--brand); color: #fff; border: 0; border-radius: 6px;
  font-size: 13px; font-weight: 600; box-shadow: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.auth .public__card .btn:hover { background: var(--brand-700); }
.auth .public__card .btn svg { width: 15px; height: 15px; }
.auth .alert { margin: 0 0 16px; font-size: 12px; padding: 11px 13px; border-radius: 8px; }
.auth .alert--info { background: var(--brand-soft); color: var(--ink); border: 1px solid #CFE3EA; }
.auth .alert--error { background: var(--danger-bg); color: var(--danger); border: 1px solid #F5C9C5; }
.auth .public__hint { margin-top: 20px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.auth .public__hint code { background: var(--line-soft); color: var(--ink); }
.auth .field-validation-error { color: var(--danger); font-size: 12px; }

/* Celular e janela estreita: só o formulário, com uma faixa da marca no topo. */
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth__brand { min-height: 120px; padding: 20px 24px; }
  .auth__brandtext p { display: none; }
  .auth__wordmark { font-size: 26px; margin: 0; }
  .auth__panel { place-items: start center; padding-top: 36px; }
}

/* Tipos de alerta */
.alerttypes .input--sm { width: 90px; height: 32px; }
.alerttypes__pick { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; }
.alerttypes__pick label { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; cursor: pointer; }
.alerttypes__pick label.is-off { opacity: .45; cursor: not-allowed; }
.alerttypes__pick input, .alerttypes__mine input, .alerttypes input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--brand); }
.alerttypes__mine { border: 0; margin: 0; padding: 0 18px 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.alerttypes__mine legend { font-size: 13px; font-weight: 600; color: var(--brand-900); margin-bottom: 8px; padding: 0; }
.alerttypes__mine label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
