/* Atlas Connect 4.7.45 — identidade visual consolidada. */
:root,
[data-atlas-theme="light"] {
  --atlas-band-bg:linear-gradient(110deg,#dceaff 0%,#e5f0f8 58%,#e1f5f4 100%);
  --atlas-band-border:#b7d3f4;
  --atlas-band-title:#0a2542;
  --atlas-band-text:#3f5972;
  --atlas-band-eyebrow:#0967df;
  --atlas-band-button-bg:rgba(255,255,255,.72);
  --atlas-band-button-border:#82b7f2;
  --atlas-band-button-text:#0c4f99;
  --atlas-band-shadow:0 12px 28px rgba(22,52,83,.09),inset 0 1px 0 rgba(255,255,255,.72);
  --atlas-title-size:1.5rem;
  --atlas-subtitle-size:.875rem;
  --atlas-label-size:.75rem;
  --atlas-button-size:.875rem;
}

/* v4.7.54 — no Doc-IP o tema escuro fica restrito à faixa superior. */
.content-area .dip-page.atlas-doc-ip-light-content {
  --dip-card: #ffffff !important;
  --dip-border: #d5e2ed !important;
  --dip-text: #102b48 !important;
  --dip-muted: #617890 !important;
  color: #102b48 !important;
}

.content-area .dip-page .atlas-standard-hero.dip-head {
  width: 100%;
  margin: 0;
}

[data-atlas-theme="dark"] body.atlas-doc-ip-page .content-area,
body[data-atlas-theme="dark"].atlas-doc-ip-page .content-area,
html[data-bs-theme="dark"] body.atlas-doc-ip-page .content-area,
body.dark-mode.atlas-doc-ip-page .content-area {
  background: #edf4fa !important;
  color: #102b48 !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .dip-tab:not(.active),
html[data-bs-theme="dark"] .content-area .dip-page .dip-tab:not(.active),
body.dark-mode .content-area .dip-page .dip-tab:not(.active),
[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-card,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-card,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-card,
[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-panel,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-panel,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-panel {
  background: #ffffff !important;
  border-color: #d5e2ed !important;
  color: #102b48 !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-card span,
[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-panel label,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-card span,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-panel label,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-card span,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-panel label {
  color: #617890 !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-card b,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-card b,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-card b {
  color: #102b48 !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-panel .form-control,
[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-panel .form-select,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-panel .form-control,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-panel .form-select,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-panel .form-control,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-panel .form-select {
  background: #ffffff !important;
  border-color: #c9d9e7 !important;
  color: #102b48 !important;
  color-scheme: light;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section {
  background: #ffffff !important;
  border-color: #d5e2ed !important;
  color: #102b48 !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-group-head.publico,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-group-head.publico,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-group-head.publico {
  --soft: #eaf4ff !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-group-head.privado,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-group-head.privado,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-group-head.privado {
  --soft: #fff7de !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-group-head.ipv6,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-group-head.ipv6,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-group-head.ipv6 {
  --soft: #e8f8f1 !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-table,
[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-table tbody,
[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-table td,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-table,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-table tbody,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-table td,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-table,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-table tbody,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-table td {
  background: #ffffff !important;
  border-color: #d5e2ed !important;
  color: #102b48 !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-table thead th,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-table thead th,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-table thead th {
  background: #f2f7fb !important;
  color: #526b82 !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-root.dip-publico,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-root.dip-publico,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-root.dip-publico {
  background: #f3f8ff !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-root.dip-privado,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-root.dip-privado,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-root.dip-privado {
  background: #fffaf0 !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-root.dip-ipv6,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-root.dip-ipv6,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-root.dip-ipv6 {
  background: #f1fbf7 !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .dip-controls,
html[data-bs-theme="dark"] .content-area .dip-page .dip-controls,
body.dark-mode .content-area .dip-page .dip-controls,
[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-group-title p,
[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-table td small,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-group-title p,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-table td small,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-group-title p,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-table td small {
  color: #617890 !important;
}

[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-group-title h3,
[data-atlas-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-prefix code,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-group-title h3,
html[data-bs-theme="dark"] .content-area .dip-page .atlas-doc-ip-light-section .dip-prefix code,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-group-title h3,
body.dark-mode .content-area .dip-page .atlas-doc-ip-light-section .dip-prefix code {
  color: #102b48 !important;
}

[data-atlas-theme="dark"],
html[data-bs-theme="dark"],
body.dark-mode {
  --atlas-band-bg:linear-gradient(110deg,#102b45 0%,#11364a 58%,#10454b 100%);
  --atlas-band-border:#315873;
  --atlas-band-title:#f0f7ff;
  --atlas-band-text:#c5d8e7;
  --atlas-band-eyebrow:#70b9ff;
  --atlas-band-button-bg:rgba(9,34,52,.78);
  --atlas-band-button-border:#4a83ad;
  --atlas-band-button-text:#d9ecff;
  --atlas-band-shadow:0 14px 32px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.04);
}

/* A classe é aplicada pelo normalizador somente em faixas que possuem título. */
.content-area .atlas-standard-hero,
.content-area .bk-hero.atlas-standard-hero,
.content-area .pi-hero.atlas-standard-hero,
.content-area .status-hero.atlas-standard-hero,
.content-area .sessions-hero.atlas-standard-hero {
  min-height:118px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  padding:22px 24px!important;
  border:1px solid var(--atlas-band-border)!important;
  border-radius:18px!important;
  background:var(--atlas-band-bg)!important;
  color:var(--atlas-band-title)!important;
  box-shadow:var(--atlas-band-shadow)!important;
  text-shadow:none!important;
}

.content-area .atlas-standard-hero h1,
.content-area .atlas-standard-hero h2,
.content-area .atlas-standard-hero h3,
.content-area .atlas-standard-hero .atlas-standard-hero-title {
  margin-top:0!important;
  margin-bottom:0!important;
  color:var(--atlas-band-title)!important;
  font-size:var(--atlas-title-size)!important;
  line-height:1.15!important;
  font-weight:700!important;
  letter-spacing:-.02em!important;
  text-shadow:none!important;
}

.content-area .atlas-standard-hero .atlas-standard-hero-subtitle,
.content-area .atlas-standard-hero p {
  margin-top:7px!important;
  margin-bottom:0!important;
  color:var(--atlas-band-text)!important;
  font-size:var(--atlas-subtitle-size)!important;
  line-height:1.45!important;
  font-weight:400!important;
  opacity:1!important;
  text-shadow:none!important;
}

.content-area .atlas-standard-hero .atlas-standard-hero-eyebrow {
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 0 7px!important;
  color:var(--atlas-band-eyebrow)!important;
  font-size:var(--atlas-label-size)!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  opacity:1!important;
  text-shadow:none!important;
}

.content-area .atlas-standard-hero .atlas-standard-hero-version {
  color:var(--atlas-band-text)!important;
  font-size:var(--atlas-label-size)!important;
  font-weight:700!important;
  opacity:.84!important;
}

.content-area .atlas-standard-hero .btn,
.content-area .atlas-standard-hero button,
.content-area .atlas-standard-hero [role="button"],
.content-area .atlas-standard-hero-actions a {
  min-height:42px!important;
  padding:0 16px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid var(--atlas-band-button-border)!important;
  border-radius:12px!important;
  background:var(--atlas-band-button-bg)!important;
  color:var(--atlas-band-button-text)!important;
  font-size:var(--atlas-button-size)!important;
  font-weight:700!important;
  line-height:1.15!important;
  box-shadow:none!important;
  text-shadow:none!important;
}

.content-area .atlas-standard-hero .btn:hover,
.content-area .atlas-standard-hero button:hover,
.content-area .atlas-standard-hero [role="button"]:hover,
.content-area .atlas-standard-hero-actions a:hover {
  filter:brightness(.98);
  transform:translateY(-1px);
}

.content-area .atlas-standard-hero .badge,
.content-area .atlas-standard-hero .status,
.content-area .atlas-standard-hero [class*="status-"] {
  border:1px solid #91c9b4!important;
  border-radius:10px!important;
  background:#e8f7f0!important;
  color:#13704f!important;
  font-size:var(--atlas-label-size)!important;
  font-weight:700!important;
  letter-spacing:.025em!important;
  text-shadow:none!important;
}

[data-atlas-theme="dark"] .content-area .atlas-standard-hero .badge,
[data-atlas-theme="dark"] .content-area .atlas-standard-hero .status,
[data-atlas-theme="dark"] .content-area .atlas-standard-hero [class*="status-"],
html[data-bs-theme="dark"] .content-area .atlas-standard-hero .badge,
body.dark-mode .content-area .atlas-standard-hero .badge {
  border-color:#3c8d72!important;
  background:#123d33!important;
  color:#9ee4c9!important;
}

/* A escala também alcança cabeçalhos que já usam a nomenclatura moderna. */
.content-area .atlas-standard-hero .small,
.content-area .atlas-standard-hero small {
  font-size:var(--atlas-label-size)!important;
}

@media (max-width:768px) {
  :root,
  [data-atlas-theme="light"],
  [data-atlas-theme="dark"] {
    --atlas-title-size:1.375rem;
  }

  .content-area .atlas-standard-hero {
    min-height:0!important;
    padding:18px!important;
    align-items:stretch!important;
    flex-direction:column!important;
    gap:16px!important;
  }

  .content-area .atlas-standard-hero .btn,
  .content-area .atlas-standard-hero button,
  .content-area .atlas-standard-hero [role="button"],
  .content-area .atlas-standard-hero-actions a {
    width:100%!important;
  }
}

/* v4.7.50 — template definitivo do MAC Address Lookup. */
.content-area .mac50-page {
  display:grid;
  gap:18px;
  width:100%;
  min-width:0;
  margin:0;
}

.content-area .mac50-hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,520px);
  align-items:center;
  gap:32px;
  width:100%;
  min-width:0;
  min-height:150px;
  margin:0;
  padding:26px 30px;
  overflow:hidden;
  border:1px solid var(--atlas-band-border);
  border-radius:20px;
  background:var(--atlas-band-bg);
  color:var(--atlas-band-title);
  box-shadow:0 12px 30px rgba(16,42,70,.08);
}

.content-area .mac50-copy {
  min-width:0;
}

.content-area .mac50-eyebrow {
  margin:0 0 7px;
  color:var(--atlas-band-eyebrow);
  font-size:var(--atlas-label-size);
  font-weight:700;
  letter-spacing:.035em;
}

.content-area .mac50-copy h2 {
  margin:0;
  color:var(--atlas-band-title);
  font-size:var(--atlas-title-size);
  font-weight:700;
  line-height:1.18;
}

.content-area .mac50-copy p {
  max-width:760px;
  margin:7px 0 0;
  color:var(--atlas-band-text);
  font-size:var(--atlas-subtitle-size);
  line-height:1.45;
}

.content-area .mac50-form {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:10px;
  width:100%;
  min-width:0;
  margin:0;
}

.content-area .mac50-form > input[type="hidden"] {
  display:none;
}

.content-area .mac50-field {
  min-width:0;
}

.content-area .mac50-field .form-label {
  display:block;
  margin:0 0 7px;
  color:var(--atlas-band-title);
  font-size:.875rem;
  font-weight:700;
}

.content-area .mac50-field .form-control {
  width:100%;
  min-width:0;
  height:48px;
  padding:0 14px;
  border:1px solid #c8d8e7;
  border-radius:12px;
  background:#fff;
  color:#102a46;
  font-size:1rem;
  box-shadow:none;
  color-scheme:light;
}

.content-area .mac50-field .form-control:focus {
  border-color:#0874df;
  box-shadow:0 0 0 3px rgba(8,116,223,.14);
  outline:0;
}

.content-area .mac50-submit {
  position:static;
  width:auto;
  min-width:118px;
  height:48px;
  margin:0;
  padding:0 20px;
  border:1px solid #0874df;
  border-radius:12px;
  background:#126cdf;
  color:#fff;
  font-weight:700;
  white-space:nowrap;
}

.content-area .mac50-errors {
  display:grid;
  gap:3px;
  margin-top:6px;
  color:#b42318;
  font-size:.8rem;
}

.content-area .mac50-result {
  width:100%;
  min-width:0;
  min-height:112px;
  padding:24px 28px;
  border:1px solid #d5e2ee;
  border-radius:18px;
  background:#fff;
  color:#102a46;
  box-shadow:0 8px 24px rgba(16,42,70,.06);
}

.content-area .mac50-empty {
  display:flex;
  align-items:center;
  gap:14px;
  min-height:62px;
}

.content-area .mac50-empty > i {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:12px;
  background:#eaf4ff;
  color:#0874df;
  font-size:1.1rem;
}

.content-area .mac50-empty strong,
.content-area .mac50-empty span {
  display:block;
}

.content-area .mac50-empty span {
  margin-top:3px;
  color:#63788e;
}

.content-area .mac50-result-status {
  width:max-content;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:9px;
  font-size:.82rem;
  font-weight:700;
}

.content-area .mac50-result-status-ok {
  background:#e8f7f0;
  color:#13704f;
}

.content-area .mac50-result-status-error {
  background:#fff1f0;
  color:#b42318;
}

.content-area .mac50-result h3 {
  margin:0 0 16px;
  color:#102a46;
  font-size:1.35rem;
}

.content-area .mac50-result-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:0;
}

.content-area .mac50-result-grid > div {
  padding:14px;
  border:1px solid #dce7f0;
  border-radius:12px;
  background:#f7fbff;
}

.content-area .mac50-result-grid dt {
  color:#63788e;
  font-size:.75rem;
  font-weight:700;
  text-transform:uppercase;
}

.content-area .mac50-result-grid dd {
  margin:4px 0 0;
  overflow-wrap:anywhere;
  color:#102a46;
  font-weight:600;
}

@media (max-width:980px) {
  .content-area .mac50-hero {
    grid-template-columns:1fr;
    gap:18px;
  }
}

@media (max-width:620px) {
  .content-area .mac50-hero,
  .content-area .mac50-result {
    padding:20px;
  }
  .content-area .mac50-form,
  .content-area .mac50-result-grid {
    grid-template-columns:1fr;
  }
  .content-area .mac50-submit {
    width:100%;
  }
}

/* v4.7.49 — reconstrução isolada do MAC Lookup. */
.content-area .atlas-mac-legacy-shell {
  display:contents!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.content-area .atlas-mac-rebuilt-header {
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(250px,.8fr) minmax(360px,1.25fr) minmax(350px,.9fr)!important;
  align-items:center!important;
  gap:24px!important;
  width:100%!important;
  min-width:0!important;
  min-height:132px!important;
  height:auto!important;
  margin:0 0 18px!important;
  padding:24px 28px!important;
  overflow:visible!important;
}

.content-area .atlas-mac-rebuilt-header > .atlas-standard-hero-title {
  grid-column:1!important;
  margin:0!important;
}

.content-area .atlas-mac-rebuilt-header > .atlas-mac-description,
.content-area .atlas-mac-rebuilt-header > .atlas-standard-hero-subtitle {
  grid-column:2!important;
  margin:0!important;
  text-align:left!important;
}

.content-area .atlas-mac-rebuilt-header > .atlas-mac-form {
  grid-column:3!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

.content-area .atlas-mac-rebuilt-header .atlas-mac-form > * {
  min-width:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
}

.content-area .atlas-mac-rebuilt-header .atlas-mac-form input:not([type="hidden"]) {
  width:100%!important;
  min-width:0!important;
}

.content-area .atlas-mac-rebuilt-header .atlas-mac-submit {
  position:static!important;
  inset:auto!important;
  width:auto!important;
  min-width:118px!important;
  max-width:none!important;
  margin:0!important;
  transform:none!important;
  white-space:nowrap!important;
}

.content-area .atlas-mac-result-card {
  position:static!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  margin:0 0 18px!important;
  padding:22px 26px!important;
  border:1px solid #d5e2ee!important;
  border-radius:18px!important;
  background:#fff!important;
  color:#102a46!important;
  box-shadow:0 8px 24px rgba(16,42,70,.06)!important;
}

@media (max-width:1200px) {
  .content-area .atlas-mac-rebuilt-header {
    grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr)!important;
  }
  .content-area .atlas-mac-rebuilt-header > .atlas-mac-form {
    grid-column:1/-1!important;
  }
}

@media (max-width:768px) {
  .content-area .atlas-mac-rebuilt-header {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    padding:18px!important;
  }
  .content-area .atlas-mac-rebuilt-header > .atlas-mac-form {
    grid-template-columns:1fr!important;
  }
  .content-area .atlas-mac-rebuilt-header .atlas-mac-submit {
    width:100%!important;
  }
}

/* v4.7.47 final — prevalece sobre os seletores legados da v4.7.46. */
.content-area .atlas-standard-hero .atlas-standard-hero-eyebrow,
.content-area .atlas-standard-hero .soc-hero-badge.atlas-standard-hero-eyebrow,
.content-area .atlas-standard-hero .pg-hero-mark.atlas-standard-hero-eyebrow {
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:0!important;
  margin:0 0 6px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--atlas-band-eyebrow)!important;
  font-size:var(--atlas-label-size)!important;
  line-height:1.25!important;
  opacity:1!important;
}

/* v4.7.53 — seleção rápida por grupo na matriz de permissões. */
.atlas-permission-manager{margin:0 0 1rem;border:1px solid #b8d3ef;border-radius:16px;background:linear-gradient(112deg,#edf5ff 0%,#f7fbff 55%,#e9f8f5 100%);box-shadow:0 10px 24px rgba(24,71,120,.08);overflow:hidden}
.atlas-permission-manager>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem;cursor:pointer;list-style:none;color:#0c3764}
.atlas-permission-manager>summary::-webkit-details-marker{display:none}
.atlas-permission-manager>summary>span{display:flex;align-items:center;gap:.55rem;min-width:0}
.atlas-permission-manager>summary i{color:#0967d9}
.atlas-permission-manager>summary small{color:#5c7691;font-weight:600}
.atlas-permission-manager[open]>summary>.bi-chevron-down{transform:rotate(180deg)}
.atlas-permission-manager-body{padding:0 1rem 1rem}
.atlas-permission-manager-all,.atlas-permission-manager-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem .75rem;border:1px solid #d2e1ef;border-radius:11px;background:rgba(255,255,255,.78)}
.atlas-permission-manager-all{margin-bottom:.65rem;font-weight:800;color:#123b66}
.atlas-permission-manager-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
.atlas-permission-manager-row>span{display:flex;flex-direction:column;min-width:0;color:#173c62}
.atlas-permission-manager-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.atlas-permission-manager-row small{color:#688097;font-size:.72rem}
.atlas-permission-manager-row>div,.atlas-permission-manager-all>div{display:flex;gap:.35rem;flex:0 0 auto}
.atlas-permission-manager button{min-height:32px;padding:.35rem .6rem;border:1px solid #70aaf0;border-radius:8px;background:#fff;color:#0759bc;font-size:.75rem;font-weight:800}
.atlas-permission-manager button:hover{background:#0967d9;color:#fff}
html[data-bs-theme="dark"] .atlas-permission-manager,body.dark-mode .atlas-permission-manager{border-color:#315675;background:linear-gradient(112deg,#102a45,#123b48)}
html[data-bs-theme="dark"] .atlas-permission-manager>summary,body.dark-mode .atlas-permission-manager>summary{color:#e9f5ff}
html[data-bs-theme="dark"] .atlas-permission-manager-all,html[data-bs-theme="dark"] .atlas-permission-manager-row,body.dark-mode .atlas-permission-manager-all,body.dark-mode .atlas-permission-manager-row{border-color:#31516d;background:rgba(8,28,45,.72);color:#dcefff}
html[data-bs-theme="dark"] .atlas-permission-manager-row>span,body.dark-mode .atlas-permission-manager-row>span{color:#dcefff}
@media(max-width:760px){.atlas-permission-manager-groups{grid-template-columns:1fr}.atlas-permission-manager-all,.atlas-permission-manager-row{align-items:flex-start;flex-direction:column}.atlas-permission-manager>summary small{display:none}}

/* v4.7.51 — CGNAT na faixa clara e usuários compactos em zoom de 100%. */
.content-area .atlas-users-table-wrap {
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  border-radius:16px!important;
  background:#fff!important;
}

.content-area .atlas-users-table {
  width:100%!important;
  min-width:1540px!important;
  margin:0!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  font-size:.86rem!important;
}

.content-area .atlas-users-table th,
.content-area .atlas-users-table td {
  height:auto!important;
  min-height:0!important;
  padding:10px 8px!important;
  vertical-align:middle!important;
  line-height:1.28!important;
  white-space:normal!important;
}

.content-area .atlas-users-table thead th {
  padding-top:12px!important;
  padding-bottom:12px!important;
  background:#f5f9fd!important;
  color:#102a46!important;
  font-size:.78rem!important;
  font-weight:700!important;
  white-space:nowrap!important;
}

.content-area .atlas-users-table tbody tr {
  height:72px!important;
  min-height:72px!important;
  border-bottom:1px solid #dce6ef!important;
}

.content-area .atlas-users-table tbody tr:hover {
  background:#f8fbfe!important;
}

.content-area .atlas-users-table th:nth-child(1),
.content-area .atlas-users-table td:nth-child(1) {width:68px!important;text-align:center!important;}
.content-area .atlas-users-table th:nth-child(2),
.content-area .atlas-users-table td:nth-child(2) {width:145px!important;}
.content-area .atlas-users-table th:nth-child(3),
.content-area .atlas-users-table td:nth-child(3) {width:88px!important;}
.content-area .atlas-users-table th:nth-child(4),
.content-area .atlas-users-table td:nth-child(4) {width:220px!important;overflow-wrap:anywhere!important;}
.content-area .atlas-users-table th:nth-child(5),
.content-area .atlas-users-table td:nth-child(5) {width:150px!important;overflow-wrap:anywhere!important;}
.content-area .atlas-users-table th:nth-child(6),
.content-area .atlas-users-table td:nth-child(6) {width:88px!important;}
.content-area .atlas-users-table th:nth-child(7),
.content-area .atlas-users-table td:nth-child(7) {width:145px!important;}
.content-area .atlas-users-table th:nth-child(8),
.content-area .atlas-users-table td:nth-child(8) {width:130px!important;}
.content-area .atlas-users-table th:nth-child(9),
.content-area .atlas-users-table td:nth-child(9) {width:82px!important;text-align:center!important;}
.content-area .atlas-users-table th:nth-child(10),
.content-area .atlas-users-table td:nth-child(10) {width:80px!important;text-align:center!important;}
.content-area .atlas-users-table th:nth-child(11),
.content-area .atlas-users-table td:nth-child(11) {width:120px!important;}
.content-area .atlas-users-table th:nth-child(12),
.content-area .atlas-users-table td:nth-child(12) {width:424px!important;}

.content-area .atlas-users-table td:first-child img,
.content-area .atlas-users-table td:first-child .avatar {
  width:46px!important;
  height:46px!important;
  max-width:46px!important;
  max-height:46px!important;
  object-fit:cover!important;
}

.content-area .atlas-users-action-bar {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  width:100%!important;
}

.content-area .atlas-users-action-bar form {
  display:inline-block!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
}

.content-area .atlas-users-action-bar a,
.content-area .atlas-users-action-bar button,
.content-area .atlas-users-action-bar .btn {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  height:38px!important;
  margin:0!important;
  padding:0 11px!important;
  border-radius:10px!important;
  font-size:.78rem!important;
  line-height:1!important;
  white-space:nowrap!important;
}

[data-atlas-theme="dark"] .content-area .atlas-users-table-wrap,
html[data-bs-theme="dark"] .content-area .atlas-users-table-wrap,
body.dark-mode .content-area .atlas-users-table-wrap {
  background:#102538!important;
}

[data-atlas-theme="dark"] .content-area .atlas-users-table thead th,
html[data-bs-theme="dark"] .content-area .atlas-users-table thead th,
body.dark-mode .content-area .atlas-users-table thead th {
  background:#163149!important;
  color:#edf7ff!important;
}

@media (max-width:1600px) {
  .content-area .atlas-users-table {
    min-width:1460px!important;
    font-size:.8rem!important;
  }
  .content-area .atlas-users-action-bar a,
  .content-area .atlas-users-action-bar button,
  .content-area .atlas-users-action-bar .btn {
    padding:0 8px!important;
    font-size:.73rem!important;
  }
}

/* v4.7.48 — precedência final exclusiva do MAC Lookup e do selo NOC. */
.content-area .atlas-dashboard-brand-chip {
  display:none!important;
}

.content-area .atlas-standard-hero .atlas-mac-form,
.content-area .atlas-mac-shell .atlas-mac-form {
  position:static!important;
  inset:auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  justify-content:stretch!important;
  gap:10px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  transform:none!important;
}

.content-area .atlas-standard-hero .atlas-mac-submit,
.content-area .atlas-mac-shell .atlas-mac-submit {
  position:static!important;
  inset:auto!important;
  width:auto!important;
  min-width:118px!important;
  max-width:none!important;
  margin:0!important;
  transform:none!important;
}

@media (max-width:768px) {
  .content-area .atlas-standard-hero .atlas-mac-form,
  .content-area .atlas-mac-shell .atlas-mac-form {
    grid-template-columns:1fr!important;
  }
  .content-area .atlas-standard-hero .atlas-mac-submit,
  .content-area .atlas-mac-shell .atlas-mac-submit {
    width:100%!important;
  }
}

/* v4.7.47 — faixa superior distinta do conteúdo e correções dos módulos legados. */
.content-area .atlas-standard-hero .atlas-standard-hero-eyebrow,
.content-area .atlas-standard-hero [class*="eyebrow"],
.content-area .atlas-standard-hero [class*="kicker"],
.content-area .atlas-standard-hero .soc-hero-badge,
.content-area .atlas-standard-hero .pg-hero-mark {
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:0!important;
  margin:0 0 6px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--atlas-band-eyebrow)!important;
  font-size:var(--atlas-label-size)!important;
  font-weight:700!important;
  letter-spacing:.035em!important;
  line-height:1.25!important;
  text-shadow:none!important;
  opacity:1!important;
}

.content-area .atlas-standard-hero.atlas-list-hero,
.content-area .atlas-standard-hero.atlas-tool-title-hero {
  min-height:104px!important;
  padding:22px 28px!important;
  margin-bottom:16px!important;
}

.content-area .atlas-dashboard-hero .atlas-dashboard-brand-chip {
  display:none!important;
}

.content-area .atlas-dashboard-brand-chip {
  display:none!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

.content-area .atlas-dashboard-hero > *,
.content-area .atlas-dashboard-hero [class*="overview"],
.content-area .atlas-dashboard-hero [class*="summary"] {
  box-shadow:none!important;
}

.content-area .atlas-compact-tool-hero {
  min-height:150px!important;
  padding:24px 28px!important;
  margin-bottom:18px!important;
}

.content-area .atlas-tool-result-outside {
  width:auto!important;
  max-width:none!important;
  margin:0 0 18px!important;
  color:var(--atlas-text,#102a46)!important;
}

/* MAC Lookup: uma faixa compacta em três áreas, sem controles absolutos
   ou resultado preso dentro da abertura. */
.content-area .atlas-mac-shell,
.content-area .atlas-compact-tool-hero {
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  padding:24px 28px!important;
  overflow:visible!important;
}

.content-area .atlas-mac-shell {
  display:grid!important;
  grid-template-columns:minmax(240px,.8fr) minmax(320px,1.25fr) minmax(300px,.85fr)!important;
  align-items:center!important;
  gap:22px!important;
}

.content-area .atlas-mac-title-zone,
.content-area .atlas-mac-description-zone,
.content-area .atlas-mac-form-zone,
.content-area .atlas-mac-form {
  position:static!important;
  inset:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  transform:none!important;
}

.content-area .atlas-mac-title-zone {
  grid-column:1!important;
}

.content-area .atlas-mac-description-zone {
  grid-column:2!important;
  text-align:left!important;
}

.content-area .atlas-mac-form-zone {
  grid-column:3!important;
}

.content-area .atlas-mac-form {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:10px!important;
}

.content-area .atlas-mac-form > * {
  min-width:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
}

.content-area .atlas-mac-form label,
.content-area .atlas-mac-form .form-label {
  display:block!important;
  width:100%!important;
}

.content-area .atlas-mac-form input:not([type="hidden"]),
.content-area .atlas-mac-form select {
  width:100%!important;
  min-width:0!important;
}

.content-area .atlas-mac-submit {
  position:static!important;
  inset:auto!important;
  width:auto!important;
  min-width:118px!important;
  max-width:none!important;
  margin:0!important;
  transform:none!important;
  white-space:nowrap!important;
}

.content-area .atlas-tool-result-outside {
  display:block!important;
  min-height:0!important;
  padding:22px 26px!important;
  border:1px solid #d5e2ee!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(16,42,70,.06)!important;
}

@media (max-width:1100px) {
  .content-area .atlas-mac-shell {
    grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr)!important;
  }
  .content-area .atlas-mac-form-zone {
    grid-column:1/-1!important;
  }
}

@media (max-width:768px) {
  .content-area .atlas-mac-shell {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .content-area .atlas-mac-form {
    grid-template-columns:1fr!important;
  }
  .content-area .atlas-mac-submit {
    width:100%!important;
  }
}

/* Importar phpIPAM: apenas a abertura acompanha o tema escuro. Formulário,
   instruções e resultados continuam em superfície clara para leitura. */
[data-atlas-theme="dark"] .content-area .pi-page,
html[data-bs-theme="dark"] .content-area .pi-page,
body.dark-mode .content-area .pi-page {
  --pi-card:#ffffff!important;
  --pi-border:#d5e2ee!important;
  --pi-text:#102a46!important;
  --pi-muted:#63788e!important;
  color:#102a46!important;
}

[data-atlas-theme="dark"] .content-area .pi-page .pi-card,
[data-atlas-theme="dark"] .content-area .pi-page .pi-drop,
[data-atlas-theme="dark"] .content-area .pi-page .pi-check,
[data-atlas-theme="dark"] .content-area .pi-page .pi-map > div,
[data-atlas-theme="dark"] .content-area .pi-page .pi-stat,
html[data-bs-theme="dark"] .content-area .pi-page .pi-card,
html[data-bs-theme="dark"] .content-area .pi-page .pi-drop,
html[data-bs-theme="dark"] .content-area .pi-page .pi-check,
html[data-bs-theme="dark"] .content-area .pi-page .pi-map > div,
body.dark-mode .content-area .pi-page .pi-card,
body.dark-mode .content-area .pi-page .pi-drop,
body.dark-mode .content-area .pi-page .pi-check,
body.dark-mode .content-area .pi-page .pi-map > div {
  background:#ffffff!important;
  border-color:#d5e2ee!important;
  color:#102a46!important;
  box-shadow:0 8px 24px rgba(16,42,70,.06)!important;
}

[data-atlas-theme="dark"] .content-area .pi-page .pi-drop {
  background:#f4f9fd!important;
  border-color:#82bce8!important;
}

[data-atlas-theme="dark"] .content-area .pi-page input,
[data-atlas-theme="dark"] .content-area .pi-page select,
[data-atlas-theme="dark"] .content-area .pi-page textarea,
html[data-bs-theme="dark"] .content-area .pi-page input,
html[data-bs-theme="dark"] .content-area .pi-page select,
html[data-bs-theme="dark"] .content-area .pi-page textarea,
body.dark-mode .content-area .pi-page input,
body.dark-mode .content-area .pi-page select,
body.dark-mode .content-area .pi-page textarea {
  background:#ffffff!important;
  border-color:#c9d8e6!important;
  color:#102a46!important;
  color-scheme:light!important;
}

[data-atlas-theme="dark"] .content-area .pi-page .pi-muted,
[data-atlas-theme="dark"] .content-area .pi-page p,
[data-atlas-theme="dark"] .content-area .pi-page small {
  color:#63788e!important;
}

[data-atlas-theme="dark"] .content-area .pi-page .pi-hero.atlas-standard-hero,
html[data-bs-theme="dark"] .content-area .pi-page .pi-hero.atlas-standard-hero,
body.dark-mode .content-area .pi-page .pi-hero.atlas-standard-hero {
  color:var(--atlas-band-title)!important;
}

[data-atlas-theme="dark"] .content-area .pi-page .pi-hero.atlas-standard-hero p,
[data-atlas-theme="dark"] .content-area .pi-page .pi-hero.atlas-standard-hero small {
  color:var(--atlas-band-text)!important;
}

@media (max-width:768px) {
  .content-area .atlas-standard-hero.atlas-list-hero,
  .content-area .atlas-standard-hero.atlas-tool-title-hero,
  .content-area .atlas-compact-tool-hero {
    padding:18px!important;
  }
}

@media (prefers-reduced-motion:reduce) {
  .content-area .atlas-standard-hero *,
  .content-area .atlas-standard-hero *::before,
  .content-area .atlas-standard-hero *::after {
    animation:none!important;
    transition:none!important;
  }
}

/* v4.7.46 — cobertura das estruturas antigas e alinhamento interno completo. */
.content-area .atlas-standard-hero {
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(120px,auto) auto!important;
  align-items:center!important;
  justify-content:stretch!important;
  column-gap:24px!important;
  row-gap:12px!important;
  isolation:isolate;
}

.content-area .atlas-standard-hero > .atlas-standard-hero-layout {
  grid-column:1/-1!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(120px,auto) auto!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:24px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--atlas-band-title)!important;
}

.content-area .atlas-standard-hero-copy {
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:var(--atlas-band-title)!important;
  text-align:left!important;
}

.content-area .atlas-standard-hero-effect {
  position:static!important;
  inset:auto!important;
  width:clamp(140px,18vw,280px)!important;
  max-width:280px!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#287dac!important;
  opacity:.7!important;
}

.content-area .atlas-standard-hero-effect svg {
  position:static!important;
  width:100%!important;
  max-width:280px!important;
  height:54px!important;
  margin:0!important;
  overflow:visible!important;
}

.content-area .atlas-standard-hero-effect svg path,
.content-area .atlas-standard-hero-effect svg polyline,
.content-area .atlas-standard-hero-effect svg line {
  stroke:#2587b4!important;
  fill:none!important;
  opacity:.78!important;
  filter:none!important;
}

.content-area .atlas-standard-hero-effect svg circle {
  fill:#20a98f!important;
  stroke:#d9f5ef!important;
}

.content-area .atlas-standard-hero-actions {
  position:static!important;
  inset:auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:360px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--atlas-band-text)!important;
  text-align:right!important;
  opacity:1!important;
}

.content-area .atlas-standard-hero-actions .small,
.content-area .atlas-standard-hero-actions small,
.content-area .atlas-standard-hero-actions > div:not(.badge) {
  color:var(--atlas-band-text)!important;
  opacity:1!important;
  text-shadow:none!important;
}

/* Remove o painel duplicado das aberturas Intelligence/Graylog e equivalentes. */
.content-area .atlas-standard-hero .soc-main-hero-content,
.content-area .atlas-standard-hero [class*="hero-content"],
.content-area .atlas-standard-hero [class*="hero-top"] {
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Badges informativos mantêm função sem competir com o título. */
.content-area .atlas-standard-hero .soc-hero-badge,
.content-area .atlas-standard-hero .sw-badge,
.content-area .atlas-standard-hero.hs-hero .badge,
.content-area .atlas-standard-hero .pg-hero-mark {
  color:var(--atlas-band-eyebrow)!important;
  border-color:rgba(9,103,223,.25)!important;
  background:rgba(255,255,255,.42)!important;
  box-shadow:none!important;
  text-shadow:none!important;
}

.content-area .atlas-standard-hero code {
  color:#c02667!important;
  background:transparent!important;
}

.content-area .atlas-standard-hero svg:not(.sample-icon) path,
.content-area .atlas-standard-hero svg:not(.sample-icon) polyline,
.content-area .atlas-standard-hero svg:not(.sample-icon) line {
  stroke:#2587b4!important;
  fill:none!important;
  filter:none!important;
}

@media (max-width:980px) {
  .content-area .atlas-standard-hero,
  .content-area .atlas-standard-hero > .atlas-standard-hero-layout {
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .content-area .atlas-standard-hero-effect {
    display:none!important;
  }
}

@media (max-width:768px) {
  .content-area .atlas-standard-hero,
  .content-area .atlas-standard-hero > .atlas-standard-hero-layout {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:14px!important;
  }
  .content-area .atlas-standard-hero-actions {
    width:100%!important;
    max-width:none!important;
    justify-content:flex-start!important;
    text-align:left!important;
  }
}

/* Precedência final para rótulos antigos que ainda trazem cápsula própria. */
.content-area .atlas-standard-hero .atlas-standard-hero-eyebrow,
.content-area .atlas-standard-hero .soc-hero-badge.atlas-standard-hero-eyebrow,
.content-area .atlas-standard-hero .pg-hero-mark.atlas-standard-hero-eyebrow {
  width:max-content!important;
  min-height:0!important;
  margin:0 0 6px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--atlas-band-eyebrow)!important;
  opacity:1!important;
}
