:root {
  color-scheme: dark;
  --page: #0b0b0d;
  --shell: #0f1013;
  --panel: #111316;
  --panel-2: #15171b;
  --line: #2a2d31;
  --line-soft: #1e2125;
  --ink: #ffffff;
  --muted: #a7abb1;
  --subtle: #8b8f94;
  --red: #c41f2d;
  --red-deep: #881923;
  --amber: #d99a2b;
  --green: #3ddc97;
  --cyan: #8ed8db;
  --blue: #74a7ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    #08090b;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 126px;
  padding: 20px 32px;
}

.identity {
  align-items: center;
  display: flex;
  gap: 18px;
  min-width: 0;
}

.identity img:not(.productLogo) {
  display: block;
  height: 58px;
  max-width: 218px;
  object-fit: contain;
}

.serviceIdentity {
  gap: 22px;
}

.productLogo {
  display: block;
  height: 78px;
  max-width: min(38vw, 420px);
  object-fit: contain;
  object-position: left center;
  width: 420px;
}

.serviceCopy {
  border-left: 1px solid var(--line);
  min-width: 210px;
  padding-left: 20px;
}

.serviceCopy h1 {
  color: var(--ink);
  font-size: clamp(24px, 2.8vw, 38px);
}

.topbarRight {
  align-items: flex-end;
  display: grid;
  gap: 14px;
  justify-items: end;
  min-width: 0;
}

.providerLogo {
  display: block;
  height: 26px;
  max-width: 180px;
  object-fit: contain;
  object-position: right center;
}

.brand {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.03;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 17px;
}

.toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

button,
select,
input,
.navButton {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 40px;
  padding: 0 12px;
}

[hidden] {
  display: none !important;
}

button,
.navButton {
  align-items: center;
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  text-decoration: none;
}

button:disabled {
  cursor: progress;
  opacity: 0.65;
}

select,
input {
  background: var(--panel);
}

.aboutOpen {
  min-height: 40px;
}

.aboutModal {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  opacity: 0;
  padding: 20px;
  pointer-events: none;
  position: fixed;
  transition: opacity 140ms ease;
  z-index: 120;
}

.aboutModal.open {
  opacity: 1;
  pointer-events: auto;
}

.aboutModalBackdrop {
  background: rgba(0, 0, 0, 0.62);
  inset: 0;
  position: absolute;
}

.aboutDialog {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    #0d0f12;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  color: var(--ink);
  display: grid;
  gap: 12px;
  line-height: 1.45;
  max-height: min(720px, calc(100vh - 32px));
  overflow: auto;
  padding: 18px;
  position: relative;
  transform: translateY(6px);
  transition: opacity 140ms ease, transform 140ms ease;
  width: min(540px, calc(100vw - 32px));
}

.aboutModal.open .aboutDialog {
  transform: translateY(0);
}

.aboutDialogHead {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.aboutDialog h2 {
  font-size: 22px;
}

.aboutDialog p {
  color: var(--muted);
  margin: 0;
}

.aboutClose {
  flex: 0 0 auto;
}

.aboutVersion {
  color: var(--blue) !important;
  font-weight: 850;
}

.aboutRelease {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.aboutRelease strong {
  color: var(--ink);
}

.aboutRelease ul {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  padding-left: 18px;
}

main {
  margin: 0 auto;
  max-width: 1480px;
  padding: 24px 32px 56px;
}

.tabs {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding: 6px;
}

.tabButton {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  min-height: 38px;
}

.tabButton.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.tabButton:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.tabPanel {
  display: none;
}

.tabPanel.active {
  display: block;
}

.summary {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.35fr repeat(5, minmax(0, 1fr));
  margin-bottom: 16px;
}

.scorePanel,
.metric,
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)), var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.scorePanel,
.metric {
  min-height: 126px;
  padding: 18px;
}

.label,
.metric span,
.eyebrow {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.score {
  color: var(--ink);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-top: 8px;
}

.status,
.metric small {
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.status.strong,
.status.moderate,
.status.watch,
.status.weak {
  background: transparent;
  font-weight: 800;
}

.status.strong {
  color: var(--green);
}

.status.moderate,
.status.watch {
  color: var(--amber);
}

.status.weak {
  color: #ff6b66;
}

.metric strong {
  color: var(--ink);
  display: block;
  font-size: 34px;
  margin-top: 10px;
}

.trendMetric strong.rising {
  color: #ffb35c;
}

.trendMetric strong.falling {
  color: var(--green);
}

.trendMetric strong.steady,
.trendMetric strong.unknown {
  color: var(--cyan);
}

#estateLatestInventory {
  font-size: 28px;
  line-height: 1.14;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
}

.splitPage {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
}

.estatePage {
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.6fr);
}

.estatePanel,
.evidencePanel,
.deviceScorePanel {
  min-height: 560px;
}

.estateSummary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
}

.estateInsights {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  margin-bottom: 16px;
}

.tableSectionHead {
  margin-bottom: 8px;
}

.panel {
  min-width: 0;
  padding: 18px;
}

.wide {
  min-height: 360px;
}

.reportPanel {
  min-height: 540px;
}

.searchPanel {
  grid-column: 1 / -1;
}

.adminGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
}

.adminUserPanel {
  grid-column: 1 / -1;
}

.adminUserLayout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
}

.compactAdminForm {
  align-self: start;
}

.panelHead {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pill {
  background: rgba(229, 57, 53, 0.12);
  border: 1px solid rgba(229, 57, 53, 0.38);
  border-radius: 999px;
  color: #ff8d89;
  font-size: 13px;
  font-weight: 850;
  padding: 6px 10px;
}

.controls,
.list,
.report,
.evidenceList {
  display: grid;
  gap: 10px;
}

.evidenceList {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.evidenceSummary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
}

.deviceScoreSummary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  margin-bottom: 14px;
}

.deviceScoreKey {
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  min-width: 0;
  padding: 12px;
}

.deviceScoreKeyGrid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
}

.deviceScoreBandKey,
.deviceScoreBuildKey {
  display: grid;
  gap: 8px;
}

.deviceScoreBandKey {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deviceScoreBandKey article,
.deviceScoreBuildKey article {
  background: rgba(7, 10, 14, 0.36);
  border: 1px solid var(--line);
  border-radius: 7px;
  min-width: 0;
  padding: 10px;
}

.deviceScoreBandKey strong,
.deviceScoreBandKey span,
.deviceScoreBuildKey strong,
.deviceScoreBuildKey p {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.deviceScoreBandKey span,
.deviceScoreBuildKey p {
  color: var(--muted);
  line-height: 1.4;
  margin: 4px 0 0;
}

.deviceScoreList {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
}

.deviceScoreCard {
  background: rgba(7, 10, 14, 0.36);
  border: 1px solid var(--line);
  border-left: 4px solid var(--subtle);
  border-radius: 7px;
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  padding: 13px;
}

.deviceScoreCard.high {
  border-left-color: #ff6b66;
}

.deviceScoreCard.medium {
  border-left-color: var(--amber);
}

.deviceScoreCard.info {
  border-left-color: var(--blue);
}

.deviceScoreCard.low {
  border-left-color: var(--green);
}

.deviceScoreHead {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.deviceScoreHead div,
.deviceScoreHead strong,
.deviceScoreHead small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.deviceScoreHead small {
  color: var(--subtle);
  display: block;
  line-height: 1.35;
  margin-top: 4px;
}

.deviceScoreBadge {
  align-items: center;
  border-radius: 999px;
  color: #091016;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 950;
  justify-content: center;
  min-height: 42px;
  max-width: 88px;
  min-width: 56px;
  padding: 8px 10px;
  text-align: center;
  white-space: normal;
}

.deviceScoreBadge.high,
.deviceScoreMeter.high {
  background: #ff6b66;
}

.deviceScoreBadge.medium,
.deviceScoreMeter.medium {
  background: var(--amber);
}

.deviceScoreBadge.info,
.deviceScoreMeter.info {
  background: var(--blue);
}

.deviceScoreBadge.low,
.deviceScoreMeter.low {
  background: var(--green);
}

.deviceScoreBadge.unknown,
.deviceScoreMeter.unknown {
  background: var(--subtle);
}

.deviceScoreMeters {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deviceScoreMeter {
  border-radius: 7px;
  color: #091016;
  min-width: 0;
  padding: 9px;
}

.deviceScoreMeter span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.deviceScoreMeter strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin-top: 5px;
}

.deviceScoreReasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.deviceScoreReasons span {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 6px 8px;
}

.evidenceGuide {
  background: rgba(255, 255, 255, 0.024);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  min-width: 0;
  padding: 12px;
}

.evidenceGuide strong {
  color: var(--ink);
}

.evidenceGuide p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}

.evidenceCard {
  background: rgba(7, 10, 14, 0.36);
  border: 1px solid var(--line);
  border-left: 4px solid var(--subtle);
  border-radius: 7px;
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  padding: 13px;
}

.evidenceCard.medium {
  border-left-color: var(--amber);
}

.evidenceCard.info {
  border-left-color: var(--blue);
}

.evidenceCard.low {
  border-left-color: var(--green);
}

.evidenceCardHead {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.evidenceCardHead div,
.evidenceCardHead strong,
.evidencePolicy,
.evidenceMeaning {
  min-width: 0;
  overflow-wrap: anywhere;
}

.evidenceCardHead small {
  color: var(--subtle);
  display: block;
  line-height: 1.4;
  margin-top: 4px;
}

.evidencePolicy,
.evidenceMeaning {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.evidenceScore {
  align-items: baseline;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  display: flex;
  gap: 8px;
  padding: 10px;
}

.evidenceScore strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.evidenceScore span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.evidenceFacts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.evidenceFacts div {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  min-width: 0;
  padding: 9px;
}

.evidenceFacts dt {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.evidenceFacts dd {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  margin: 0;
}

.control,
.item,
.reportArea {
  background: rgba(7, 10, 14, 0.36);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
}

.control {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

.control strong,
.item strong {
  display: block;
}

.control p,
.item p,
.reportArea p,
.finding p {
  color: var(--muted);
  line-height: 1.45;
  margin: 4px 0 0;
}

.control small {
  color: var(--muted-strong);
  display: block;
  line-height: 1.4;
  margin-top: 8px;
}

.controlNext {
  background: rgba(255, 255, 255, 0.035);
  border-left: 3px solid rgba(229, 57, 53, 0.7);
  border-radius: 4px;
  color: var(--ink) !important;
  padding: 8px 10px;
}

.controlNext span {
  color: var(--red-soft);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.controlConfidence {
  font-size: 12px;
}

.itemActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.itemActions .secondaryButton {
  min-height: 32px;
}

.badge {
  border-radius: 999px;
  color: #091016;
  font-size: 12px;
  font-weight: 900;
  height: max-content;
  padding: 5px 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.passing,
.strong {
  background: var(--green);
}

.needs_review,
.watch,
.moderate {
  background: var(--amber);
}

.failing,
.weak {
  background: #ff6b66;
}

.tableWrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 1080px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line-soft);
  padding: 11px 8px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

td {
  color: #d7e0e8;
  font-size: 14px;
}

td small {
  color: var(--subtle);
}

.osDistribution,
.softwareInventory {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.osDistributionRow,
.softwareRow {
  background: rgba(7, 10, 14, 0.36);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 11px;
}

.osDistributionRow {
  grid-template-columns: minmax(0, 1fr) auto;
}

.softwareRow {
  grid-template-columns: minmax(0, 1fr) auto;
}

.osDistributionRow strong,
.softwareRow strong,
.osDistributionRow small,
.softwareRow small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.osDistributionTitle {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  min-width: 0;
}

.osDistributionTitle strong {
  flex: 1 1 220px;
}

.lifecycleBadge {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #091016;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  max-width: 100%;
  padding: 5px 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.lifecycle-supported {
  background: var(--green);
}

.lifecycle-nearing_eol {
  background: var(--amber);
}

.lifecycle-update_available {
  background: #ffb7bd;
}

.lifecycle-extended_support,
.lifecycle-unknown {
  background: var(--blue);
}

.lifecycle-disabled {
  background: var(--muted);
}

.lifecycle-out_of_support {
  background: #ff6b66;
}

.osDistributionRow strong,
.softwareRow strong {
  color: var(--ink);
}

.osDistributionRow small,
.softwareRow small {
  color: var(--subtle);
  line-height: 1.35;
  margin-top: 3px;
}

.osDistributionRow > span,
.softwareRow > span {
  color: #ffb7bd;
  font-weight: 900;
  white-space: nowrap;
}

.softwareRow > small {
  grid-column: 1 / -1;
}

.miniBar {
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
}

.miniBar i {
  background: linear-gradient(90deg, var(--red), #ffffff);
  display: block;
  height: 100%;
}

.assetStatus.active {
  color: var(--green);
  font-weight: 850;
}

.assetStatus.disconnected {
  color: #ff807b;
  font-weight: 850;
}

.reportSummary {
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: var(--muted);
  margin-bottom: 14px;
  padding: 12px;
}

.reportActions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.reportActions button {
  min-height: 34px;
}

.searchForm {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto) minmax(150px, auto) auto;
  margin-bottom: 12px;
}

.searchResults {
  display: grid;
  gap: 10px;
}

.searchResult {
  background: rgba(7, 10, 14, 0.36);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 8px;
  padding: 13px;
}

.searchResultHead {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

.searchResult p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.searchResult small {
  color: var(--subtle);
}

.badge.alert {
  background: var(--amber);
}

.badge.vulnerability {
  background: #ff6b66;
}

.badge.inventory {
  background: var(--blue);
}

.badge.critical,
.badge.high {
  background: #ff6b66;
}

.badge.medium {
  background: var(--amber);
}

.badge.low {
  background: var(--blue);
}

.badge.info {
  background: var(--subtle);
}

.vulnerabilityPanel {
  min-height: 560px;
}

.vulnerabilitySummary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.compactMetric {
  min-height: 98px;
  padding: 15px;
}

.affectedAssets {
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  min-width: 0;
  padding: 12px;
}

.sectionHead {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.sectionHead small {
  color: var(--muted);
}

.affectedAssetList {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}

.affectedAssetCard {
  background: rgba(7, 10, 14, 0.36);
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
}

.affectedAssetCard.selected {
  background: rgba(196, 31, 45, 0.08);
  border-color: rgba(196, 31, 45, 0.34);
}

.affectedAssetCard:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.affectedAssetTitle {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.affectedAssetTitle::-webkit-details-marker {
  display: none;
}

.affectedAssetTitle strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.affectedAssetCard dl {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.affectedAssetCard div {
  min-width: 0;
}

.affectedAssetCard dt {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.affectedAssetCard dd {
  color: #d7e0e8;
  font-size: 13px;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.assetVulnList {
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 7px;
  padding-top: 10px;
}

.assetVulnRow {
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(120px, 0.8fr) minmax(82px, 0.45fr) minmax(160px, 1fr) minmax(180px, 1.15fr);
  min-width: 0;
  padding: 8px;
}

.assetVulnRow strong,
.assetVulnRow span,
.assetVulnRow small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.assetVulnRow small {
  color: var(--subtle);
  line-height: 1.35;
}

.assetVulnRow.muted {
  color: var(--muted);
  grid-template-columns: 1fr;
}

.vulnerabilityList {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
}

.listNote {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  grid-column: 1 / -1;
  line-height: 1.45;
  padding: 11px 12px;
}

.vulnerabilitySummaryHead {
  margin: 14px 0 8px;
}

.vulnerabilityCard {
  background: rgba(7, 10, 14, 0.36);
  border: 1px solid var(--line);
  border-left: 4px solid var(--subtle);
  border-radius: 7px;
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  padding: 13px;
}

.vulnerabilityCard.severity-critical,
.vulnerabilityCard.severity-high {
  border-left-color: #ff6b66;
}

.vulnerabilityCard.severity-medium {
  border-left-color: var(--amber);
}

.vulnerabilityCard.severity-low {
  border-left-color: var(--blue);
}

.vulnerabilityGroupCard {
  align-content: start;
}

.vulnerabilityHead {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  min-width: 0;
}

.vulnerabilityCard strong,
.vulnerabilityCard p,
.vulnerabilityCard small,
.vulnerabilityFacts,
.vulnerabilityFacts dd {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.vulnerabilityCard p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.vulnerabilityCard small {
  color: var(--subtle);
  line-height: 1.4;
}

.vulnerabilityFacts {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.vulnerabilityFacts div {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  min-width: 0;
  padding: 8px;
}

.vulnerabilityFacts dt {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.vulnerabilityFacts dd {
  color: #d7e0e8;
  font-size: 13px;
  margin: 0;
}

.vulnerabilityTags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.vulnerabilityTags span {
  background: rgba(196, 31, 45, 0.11);
  border: 1px solid rgba(196, 31, 45, 0.28);
  border-radius: 999px;
  color: #ffb7bd;
  font-size: 11px;
  font-weight: 850;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 4px 7px;
}

.vulnerabilityCard .secondaryButton {
  justify-self: start;
}

.vulnerabilityDetails {
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}

.vulnerabilityDetails summary {
  color: #d7e0e8;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.vulnerabilityDetailList {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.vulnerabilityDetailRow {
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(110px, 0.8fr) minmax(82px, 0.5fr) minmax(150px, 1.4fr) minmax(120px, 0.8fr);
  min-width: 0;
  padding: 8px;
}

.vulnerabilityDetailRow strong,
.vulnerabilityDetailRow span,
.vulnerabilityDetailRow small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.intelBadge {
  background: rgba(142, 216, 219, 0.12);
  border: 1px solid rgba(142, 216, 219, 0.42);
  border-radius: 999px;
  color: var(--cyan);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 9px;
  text-transform: uppercase;
  white-space: nowrap;
}

.intelMatches {
  align-items: center;
  background: rgba(142, 216, 219, 0.07);
  border: 1px solid rgba(142, 216, 219, 0.22);
  border-radius: 7px;
  color: #bfe8ea;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
}

.intelMatches span:not(.intelBadge) {
  color: var(--muted);
  font-size: 13px;
}

.intelStatus {
  background: rgba(142, 216, 219, 0.06);
  border: 1px solid rgba(142, 216, 219, 0.18);
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 12px;
  padding: 9px 10px;
}

.intelStatus.enabled {
  color: #bfe8ea;
}

.intelStatus.hasMatches {
  background: rgba(61, 220, 151, 0.08);
  border-color: rgba(61, 220, 151, 0.25);
  color: #baf3dc;
}

.intelStatus.disabled {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line-soft);
}

.secondaryButton {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  min-height: 34px;
}

#showMoreSearch {
  display: none;
  margin-top: 12px;
}

.talkForm {
  display: grid;
  gap: 10px;
}

.talkPage,
.analystPage {
  margin: 0 auto;
  max-width: 760px;
  min-height: 420px;
}

.analystPage {
  max-width: 980px;
}

.quickPrompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.analystForm {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 12px;
}

.analystForm textarea {
  min-height: 74px;
}

.analystAnswer,
.analystEvidence {
  display: grid;
  gap: 10px;
}

.analystResponse,
.analystEvidenceCard {
  background: rgba(7, 10, 14, 0.36);
  border: 1px solid var(--line);
  border-radius: 7px;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
}

.analystResponse strong {
  display: block;
  font-size: 17px;
  line-height: 1.4;
}

.analystResponse h3 {
  margin-top: 16px;
}

.analystResponse ul,
.intelArea ul,
.reportEstateGrid ul {
  color: var(--muted);
  line-height: 1.5;
  margin: 8px 0 0;
  padding-left: 20px;
}

.reportEstateGrid {
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  padding-top: 12px;
}

.reportEstateGrid > div,
.reportEstateGrid li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.analystResponse,
.analystResponse li,
.analystEvidenceCard,
.analystEvidenceCard strong,
.analystEvidenceCard p,
.analystEvidenceCard small {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.analystEvidence {
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  margin-top: 12px;
}

.analystEvidenceCard {
  display: grid;
  gap: 8px;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.analystEvidenceHead {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.analystEvidenceHead .badge {
  flex: 0 0 auto;
}

.analystEvidenceHead strong {
  flex: 1 1 180px;
  min-width: 0;
}

.analystEvidenceCard p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.analystEvidenceCard small {
  color: var(--subtle);
  display: block;
  line-height: 1.4;
  min-width: 0;
}

.analystEvidenceCard .secondaryButton {
  align-self: end;
  justify-self: start;
}

.predictivePanel {
  min-height: 560px;
}

.predictiveHeaderActions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.predictiveSummary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
}

.predictiveStatus.high {
  background: rgba(196, 31, 45, 0.08);
  border-color: rgba(196, 31, 45, 0.28);
  color: #ffc3c5;
}

.predictiveStatus.medium {
  background: rgba(217, 154, 43, 0.08);
  border-color: rgba(217, 154, 43, 0.28);
  color: #f6d7a4;
}

.predictiveStatus.low {
  background: rgba(61, 220, 151, 0.06);
  border-color: rgba(61, 220, 151, 0.22);
  color: #c3f2de;
}

.predictiveGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  margin-top: 14px;
}

.lowerPredictiveGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.predictiveScenarioList,
.predictiveSignalList,
.predictiveAssetList,
.predictiveOwnerList,
.predictiveActionList,
.predictiveSourceList {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.predictiveSignalList {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.predictiveScenario,
.predictiveSignal,
.predictiveAsset,
.predictiveOwner,
.predictiveAction,
.predictiveSource {
  background: rgba(7, 10, 14, 0.36);
  border: 1px solid var(--line);
  border-radius: 7px;
  min-width: 0;
  overflow: hidden;
  padding: 13px;
}

.predictiveScenario,
.predictiveAsset,
.predictiveOwner {
  display: grid;
  gap: 8px;
}

.predictiveScenarioHead {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.predictiveScenarioHead strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.predictiveScenario p,
.predictiveOwner p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.predictiveScenario ul,
.predictiveLimitations ul {
  color: var(--muted);
  line-height: 1.5;
  margin: 8px 0 0;
  padding-left: 20px;
}

.predictiveSignal {
  border-left: 4px solid var(--subtle);
  display: grid;
  gap: 6px;
}

.predictiveSignal.high {
  border-left-color: #ff6b66;
}

.predictiveSignal.medium {
  border-left-color: var(--amber);
}

.predictiveSignal.low {
  border-left-color: var(--green);
}

.predictiveSignal span,
.predictiveSource span {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.predictiveSignal strong,
.predictiveSource strong {
  font-size: 20px;
  line-height: 1.15;
}

.predictiveSignal small,
.predictiveAsset small,
.predictiveOwner small,
.predictiveSource small {
  color: var(--muted);
  line-height: 1.4;
  min-width: 0;
  overflow-wrap: anywhere;
}

.predictiveAction {
  color: #d7e0e8;
  line-height: 1.45;
}

.predictiveSource.available {
  border-color: rgba(61, 220, 151, 0.22);
}

.predictiveSource.missing {
  border-color: rgba(217, 154, 43, 0.28);
}

.predictiveLimitations {
  color: var(--subtle);
  font-size: 13px;
  margin-top: 10px;
}

textarea {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 112px;
  padding: 10px 12px;
  resize: vertical;
  width: 100%;
}

.reportArea {
  padding: 14px;
}

.reportAreaHead {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.finding {
  border-top: 1px solid var(--line-soft);
  margin-top: 12px;
  padding-top: 12px;
}

.reportOverview {
  background: rgba(196, 31, 45, 0.08);
}

.mutedFinding {
  color: var(--muted);
}

.findingTitle {
  color: var(--ink);
  font-weight: 850;
}

.authPage {
  background:
    linear-gradient(90deg, rgba(196, 31, 45, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%),
    var(--page);
  background-size: 80px 100%, 100% 100%, 100% 100%;
  min-height: 100vh;
}

.authShell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.loginPanel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  max-width: 440px;
  padding: 24px;
  width: min(100%, 440px);
}

.authBrand {
  display: grid;
  padding-bottom: 8px;
}

.authProductLogo {
  display: block;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  width: 300px;
}

.loginPanel h1 {
  font-size: 28px;
  line-height: 1.05;
}

.authProvider {
  align-items: center;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 2px;
  padding-top: 14px;
}

.authProvider span {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.authProvider img {
  display: block;
  height: 24px;
  max-width: 166px;
  object-fit: contain;
  object-position: right center;
}

.authHint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: -6px 0 0;
}

.mfaPanel {
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.mfaHeader {
  display: grid;
  gap: 8px;
}

.mfaHeader h2 {
  font-size: 22px;
  line-height: 1.1;
}

.mfaSetup {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
}

.mfaQrCode {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  justify-self: start;
  padding: 10px;
  width: min(280px, 100%);
}

.mfaQrCode svg {
  display: block;
  height: auto;
  width: 100%;
}

.mfaSetup p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.mfaSetup dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.mfaSetup dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mfaSetup dd {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.loginPanel form,
.adminForm {
  display: grid;
  gap: 14px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

input {
  width: 100%;
}

.checkboxRow {
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
}

.checkboxRow input {
  height: 18px;
  margin: 0;
  width: 18px;
}

.checkboxRow span {
  color: var(--ink);
}

.checkboxRow.disabled {
  opacity: 0.62;
}

.checkboxRow.disabled span {
  color: var(--muted);
}

.featureToggleList {
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
}

.featureToggleList legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  padding: 0 6px;
}

.featureToggleList p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.permissionList {
  display: grid;
  gap: 8px;
}

.permissionRow span {
  display: grid;
  gap: 3px;
}

.permissionRow small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.userList .customerRow[disabled] {
  cursor: not-allowed;
  opacity: 0.74;
}

.formError,
.formMessage {
  color: #ff8d89;
  margin: 0;
}

.formMessage {
  color: var(--muted);
}

.formActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dangerButton {
  background: rgba(196, 31, 45, 0.14);
  border-color: rgba(196, 31, 45, 0.54);
  color: #ffc3c5;
}

.customerRow {
  align-items: flex-start;
  background: rgba(7, 10, 14, 0.36);
  border-color: var(--line);
  color: var(--ink);
  display: grid;
  gap: 5px;
  justify-content: stretch;
  min-height: 0;
  padding: 13px;
  text-align: left;
}

.customerRow span {
  color: var(--muted);
  font-size: 14px;
}

.customerIntegrationBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.integrationStatusHead {
  margin: 18px 0 8px;
}

.integrationTiles {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.integrationTile {
  background: rgba(7, 10, 14, 0.36);
  border: 1px solid var(--line);
  border-left: 4px solid var(--subtle);
  border-radius: 7px;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
}

.integrationTile.active {
  border-left-color: var(--green);
}

.integrationTile.fallback {
  border-left-color: var(--blue);
}

.integrationTile.warning {
  border-left-color: var(--amber);
}

.integrationTile.off {
  border-left-color: var(--subtle);
  opacity: 0.74;
}

.integrationTile span,
.integrationTile strong,
.integrationTile small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.integrationTile span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.integrationTile strong {
  color: var(--ink);
  text-transform: capitalize;
}

.integrationTile small {
  color: var(--subtle);
  line-height: 1.35;
}

.integrationBadge {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  padding: 5px 7px;
  white-space: nowrap;
}

.integrationBadge.active {
  background: rgba(61, 220, 151, 0.12);
  border-color: rgba(61, 220, 151, 0.42);
  color: #9ff0cb;
}

.integrationBadge.fallback {
  background: rgba(116, 167, 255, 0.12);
  border-color: rgba(116, 167, 255, 0.42);
  color: #b9d0ff;
}

.integrationBadge.warning {
  background: rgba(217, 154, 43, 0.12);
  border-color: rgba(217, 154, 43, 0.42);
  color: #f4c982;
}

.integrationBadge.off {
  background: rgba(255, 255, 255, 0.03);
  color: var(--subtle);
}

.diagnosticOutput {
  background: rgba(7, 10, 14, 0.64);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 12px 0 0;
  max-height: 520px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 1080px) {
  .topbar,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .topbarRight {
    align-items: stretch;
    justify-items: start;
    width: 100%;
  }

  .summary,
  .grid,
  .adminGrid,
  .adminUserLayout,
  .splitPage,
  .estatePage,
  .estateInsights,
  .estateSummary,
  .deviceScoreSummary,
  .deviceScoreKeyGrid,
  .deviceScoreBandKey,
  .deviceScoreMeters,
  .evidenceSummary,
  .predictiveGrid,
  .predictiveSummary,
  .vulnerabilitySummary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar,
  main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .serviceIdentity {
    gap: 14px;
  }

  .productLogo {
    height: 58px;
    max-width: 100%;
    width: min(100%, 340px);
  }

  .serviceCopy {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 14px;
  }

  .identity img {
    height: 48px;
    max-width: 190px;
  }

  .identity .productLogo {
    height: 58px;
    max-width: 100%;
  }

  .providerLogo {
    height: 23px;
    object-position: left center;
  }

  .authProductLogo {
    height: 58px;
    width: 100%;
  }

  .authProvider {
    align-items: flex-start;
    flex-direction: column;
  }

  .analystForm,
  .affectedAssetCard dl,
  .assetVulnRow,
  .control,
  .osDistributionRow,
  .reportAreaHead,
  .searchForm,
  .softwareRow,
  .vulnerabilityDetailRow,
  .vulnerabilityFacts {
    grid-template-columns: 1fr;
  }

  .tabs {
    align-items: stretch;
    flex-direction: column;
  }

  .tabButton {
    justify-content: flex-start;
  }

  .panelHead {
    align-items: flex-start;
    flex-direction: column;
  }

  .reportActions {
    justify-content: flex-start;
    width: 100%;
  }

  .reportEstateGrid {
    grid-template-columns: 1fr;
  }
}
