body.domain-graph-fullscreen .discord-login {
  display: none !important;
}

.di-report {
  width: 100%;
  max-width: 100%;
  color: #b8bcc8;
  font-family: var(--ui-font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

.di-executive-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(100, 110, 140, 0.12);
  margin-bottom: 20px;
}

.di-executive-domain {
  flex: 0 0 auto;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(20, 24, 36, 0.95) 0%, rgba(16, 20, 30, 0.98) 100%);
  border-right: 1px solid rgba(100, 110, 140, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
}

.di-executive-favicon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.9;
}

.di-executive-name {
  font-family: var(--monospace-font);
  font-size: 1.15rem;
  font-weight: 600;
  color: #e8eaef;
  letter-spacing: -0.01em;
}

.di-executive-metrics {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.di-metric-cell {
  flex: 1;
  padding: 14px 16px;
  text-align: center;
  border-right: 1px solid rgba(100, 110, 140, 0.08);
  background: rgba(14, 17, 26, 0.6);
}

.di-metric-cell:last-child {
  border-right: none;
}

.di-metric-num {
  font-family: var(--monospace-font);
  font-size: 1.35rem;
  font-weight: 700;
  color: #e2e4ea;
  line-height: 1;
}

.di-metric-num.warn {
  color: #e5a63d;
}

.di-metric-desc {
  font-size: 0.52rem;
  color: #5a6078;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 5px;
  font-weight: 600;
}

.di-executive-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  background: rgba(14, 17, 26, 0.6);
}

.di-action-btn {
  appearance: none;
  border: 1px solid rgba(100, 110, 140, 0.15);
  background: rgba(100, 110, 140, 0.06);
  color: #6a7090;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.di-action-btn:hover {
  background: rgba(100, 110, 140, 0.12);
  color: #9aa0b8;
}

.di-action-btn i {
  font-size: 0.58rem;
}

.di-primary-layout {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 20px;
  margin-bottom: 24px;
}

.di-primary-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.di-primary-right {
  display: flex;
  flex-direction: column;
  align-self: start;
  min-height: 0;
  width: 100%;
  max-width: 100%;
}

.di-graph-container {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(100, 110, 140, 0.12);
  background: rgba(10, 13, 20, 0.5);
  overflow: hidden;
}

.di-graph-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(100, 110, 140, 0.1);
  background: rgba(16, 20, 30, 0.4);
}

.di-graph-label {
  font-size: 0.54rem;
  font-weight: 600;
  color: #4a5068;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.di-graph-controls {
  display: flex;
  gap: 4px;
}

.di-graph-btn {
  appearance: none;
  border: 1px solid rgba(100, 110, 140, 0.12);
  background: transparent;
  color: #4a5068;
  font-size: 0.6rem;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.1s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.di-graph-btn:hover {
  background: rgba(100, 110, 140, 0.08);
  color: #7a80a0;
}

.di-graph-btn i {
  font-size: 0.55rem;
}

.di-graph-container #domain-network-graph {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  height: 520px;
  min-height: 520px;
  max-height: min(520px, 75vh);
  margin-bottom: 0;
  border: none;
  border-radius: 0;
  background: rgba(8, 10, 16, 0.35);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.di-graph-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  border: none !important;
  margin: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 0 !important;
  background: rgba(8, 10, 16, 0.98) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.di-graph-fullscreen #domain-network-graph {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  width: 100% !important;
}

.di-graph-fullscreen .di-graph-toolbar {
  background: rgba(12, 15, 22, 0.95);
}

.di-intel-block {
  border: 1px solid rgba(100, 110, 140, 0.1);
  border-top: none;
}

.di-intel-block:first-child {
  border-top: 1px solid rgba(100, 110, 140, 0.1);
}

.di-intel-header {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: rgba(16, 20, 30, 0.5);
  cursor: pointer;
  user-select: none;
  transition: background 0.1s ease;
}

.di-intel-header:hover {
  background: rgba(20, 25, 38, 0.6);
}

.di-intel-indicator {
  width: 3px;
  height: 12px;
  background: #4a6cf5;
  margin-right: 12px;
  opacity: 0.5;
}

.di-intel-title {
  flex: 1;
  font-size: 0.64rem;
  font-weight: 600;
  color: #8890a8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.di-intel-badge {
  font-family: var(--monospace-font);
  font-size: 0.58rem;
  color: #4a5068;
  padding: 2px 8px;
  background: rgba(100, 110, 140, 0.08);
  margin-right: 10px;
}

.di-intel-toggle {
  font-size: 0.5rem;
  color: #4a5068;
  transition: transform 0.15s ease;
}

.di-section-dropdown.di-section-closed .di-intel-toggle {
  transform: rotate(-90deg);
}

.di-section-dropdown .di-section-body {
  display: block;
}

.di-section-dropdown.di-section-closed .di-section-body {
  display: none;
}

.di-intel-content {
  padding: 0;
  background: rgba(12, 15, 22, 0.3);
}

.di-data-table {
  width: 100%;
  border-collapse: collapse;
}

.di-data-table tr {
  border-bottom: 1px solid rgba(100, 110, 140, 0.06);
}

.di-data-table tr:last-child {
  border-bottom: none;
}

.di-data-table td {
  padding: 8px 14px;
  font-size: 0.72rem;
  vertical-align: top;
}

.di-snapshot-date {
  display: block;
  margin-top: 4px;
  font-family: var(--monospace-font);
  font-size: 0.65rem;
  font-weight: 400;
  color: #7a80a0;
  text-transform: none;
  letter-spacing: 0;
}

.di-data-table .di-label {
  width: 160px;
  color: #5a6078;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  padding-top: 10px;
}

.di-data-table .di-value {
  font-family: var(--monospace-font);
  color: #c8ccd8;
  word-break: break-word;
  line-height: 1.5;
}

.di-data-table .di-value a {
  color: #7888d8;
  text-decoration: none;
}

.di-data-table .di-value a:hover {
  text-decoration: underline;
}

.di-section-divider {
  height: 1px;
  background: rgba(100, 110, 140, 0.08);
  margin: 0;
}

.di-posture-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 10px 14px;
}

.di-posture-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 0;
  min-width: 110px;
}

.di-posture-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.di-posture-dot.active {
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.4);
}

.di-posture-dot.inactive {
  background: #3a4058;
}

.di-posture-name {
  font-size: 0.68rem;
  color: #7a80a0;
  font-weight: 500;
}

.di-category {
  margin-bottom: 20px;
}

.di-category-header {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(100, 110, 140, 0.1);
  margin-bottom: 2px;
}

.di-category-title {
  font-size: 0.58rem;
  font-weight: 700;
  color: #4a5068;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.di-category-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(100, 110, 140, 0.15) 0%, transparent 100%);
  margin-left: 16px;
}

.di-record-list {
  border: 1px solid rgba(100, 110, 140, 0.1);
  border-top: none;
}

.di-record-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  border-bottom: 1px solid rgba(100, 110, 140, 0.06);
  align-items: start;
}

.di-record-row:last-child {
  border-bottom: none;
}

.di-record-type {
  padding: 8px 12px;
  font-family: var(--monospace-font);
  font-size: 0.68rem;
  font-weight: 600;
  color: #6878c8;
  background: rgba(16, 20, 30, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.di-record-type i {
  font-size: 0.6rem;
  opacity: 0.7;
}

.di-record-value {
  padding: 8px 12px;
  font-family: var(--monospace-font);
  font-size: 0.7rem;
  color: #c8ccd8;
  word-break: break-all;
  line-height: 1.5;
}

.di-network-table {
  width: 100%;
  border-collapse: collapse;
}

.di-network-table th {
  padding: 8px 12px;
  font-size: 0.54rem;
  font-weight: 600;
  color: #4a5068;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  background: rgba(16, 20, 30, 0.5);
  border-bottom: 1px solid rgba(100, 110, 140, 0.1);
}

.di-network-table td {
  padding: 8px 12px;
  font-family: var(--monospace-font);
  font-size: 0.7rem;
  color: #b8bcc8;
  border-bottom: 1px solid rgba(100, 110, 140, 0.05);
  vertical-align: top;
}

.di-network-table tr:last-child td {
  border-bottom: none;
}

.di-network-table .di-ip-cell {
  color: #e2e4ea;
  font-weight: 500;
}

.di-inline-tag {
  display: inline-block;
  font-family: var(--monospace-font);
  font-size: 0.54rem;
  padding: 2px 6px;
  background: rgba(100, 110, 140, 0.1);
  color: #6a7090;
  margin-left: 6px;
  vertical-align: middle;
}

.di-tech-list {
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.di-tech-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(16, 20, 30, 0.5);
  border: 1px solid rgba(100, 110, 140, 0.1);
  font-size: 0.68rem;
}

.di-tech-name {
  color: #c8ccd8;
  font-weight: 500;
}

.di-tech-ver {
  font-family: var(--monospace-font);
  font-size: 0.58rem;
  color: #5a6078;
}

.di-tech-cat {
  font-size: 0.5rem;
  color: #4a5068;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-left: 6px;
  border-left: 1px solid rgba(100, 110, 140, 0.15);
}

.di-endpoint-group {
  border-bottom: 1px solid rgba(100, 110, 140, 0.08);
}

.di-endpoint-group:last-child {
  border-bottom: none;
}

.di-endpoint-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(16, 20, 30, 0.3);
}

.di-endpoint-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: #8890a8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.di-endpoint-count {
  font-family: var(--monospace-font);
  font-size: 0.58rem;
  color: #4a5068;
}

.di-confidence-tag {
  font-size: 0.52rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
}

.di-confidence-tag.high {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.di-confidence-tag.medium {
  background: rgba(229, 166, 61, 0.12);
  color: #e5a63d;
}

.di-confidence-tag.low {
  background: rgba(100, 110, 140, 0.12);
  color: #7a80a0;
}

.di-endpoint-list {
  padding: 4px 0;
}

.di-endpoint-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-bottom: 1px solid rgba(100, 110, 140, 0.04);
}

.di-endpoint-row:last-child {
  border-bottom: none;
}

.di-scheme-tag {
  font-family: var(--monospace-font);
  font-size: 0.52rem;
  font-weight: 700;
  padding: 2px 6px;
  min-width: 36px;
  text-align: center;
}

.di-scheme-tag.https {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
}

.di-scheme-tag.http {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
}

.di-scheme-tag.ws {
  background: rgba(244, 114, 182, 0.1);
  color: #f472b6;
}

.di-scheme-tag.wss {
  background: rgba(167, 139, 250, 0.1);
  color: #a78bfa;
}

.di-endpoint-url {
  flex: 1;
  font-family: var(--monospace-font);
  font-size: 0.7rem;
  color: #8890a8;
  word-break: break-all;
}

.di-endpoint-url a {
  color: inherit;
  text-decoration: none;
}

.di-endpoint-url a:hover {
  color: #a8b0d8;
}

.di-subdomain-table {
  width: 100%;
  border-collapse: collapse;
}

.di-subdomain-table th {
  padding: 8px 12px;
  font-size: 0.52rem;
  font-weight: 600;
  color: #4a5068;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  background: rgba(16, 20, 30, 0.5);
  border-bottom: 1px solid rgba(100, 110, 140, 0.1);
}

.di-subdomain-table td {
  padding: 7px 12px;
  font-family: var(--monospace-font);
  font-size: 0.68rem;
  color: #a8acb8;
  border-bottom: 1px solid rgba(100, 110, 140, 0.05);
}

.di-subdomain-table tr:last-child td {
  border-bottom: none;
}

.di-subdomain-table .di-host {
  color: #c8ccd8;
}

.di-subdomain-table .di-host a {
  color: inherit;
  text-decoration: none;
}

.di-subdomain-table .di-host a:hover {
  color: #7888d8;
}

.di-status-indicator {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 8px;
}

.di-status-indicator.up {
  background: #34d399;
}

.di-status-indicator.down {
  background: #f87171;
}

.di-status-code {
  font-family: var(--monospace-font);
  font-size: 0.58rem;
  padding: 1px 5px;
}

.di-status-code.s2xx {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
}

.di-status-code.s3xx {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
}

.di-status-code.s4xx {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}

.di-status-code.s5xx {
  background: rgba(244, 114, 182, 0.1);
  color: #f472b6;
}

.di-asset-group {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(100, 110, 140, 0.06);
}

.di-asset-group:last-child {
  border-bottom: none;
}

.di-asset-title {
  font-size: 0.58rem;
  font-weight: 600;
  color: #6a7090;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.di-asset-count {
  font-family: var(--monospace-font);
  font-size: 0.56rem;
  color: #4a5068;
  font-weight: 400;
}

.di-asset-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.di-asset-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.di-asset-row a {
  font-family: var(--monospace-font);
  font-size: 0.68rem;
  color: #8890a8;
  text-decoration: none;
  word-break: break-all;
}

.di-asset-row a:hover {
  color: #a8b0d8;
}

.di-asset-row span {
  font-family: var(--monospace-font);
  font-size: 0.68rem;
  color: #8890a8;
}

.di-file-size {
  font-family: var(--monospace-font);
  font-size: 0.56rem;
  color: #4a5068;
  margin-left: auto;
}

.di-truncation-note {
  padding: 8px 14px;
  font-size: 0.64rem;
  color: #4a5068;
  text-align: center;
  background: rgba(16, 20, 30, 0.3);
  border-top: 1px solid rgba(100, 110, 140, 0.06);
}

.di-code-preview {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: rgba(10, 13, 20, 0.6);
  border: 1px solid rgba(100, 110, 140, 0.08);
  font-family: var(--monospace-font);
  font-size: 0.66rem;
  color: #a8acb8;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.45;
  max-height: 200px;
  overflow-y: auto;
}

.di-finding-item {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(100, 110, 140, 0.06);
}

.di-finding-item:last-child {
  border-bottom: none;
}

.di-finding-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.di-finding-type {
  font-family: var(--monospace-font);
  font-size: 0.54rem;
  font-weight: 600;
  padding: 2px 6px;
  background: rgba(104, 120, 200, 0.12);
  color: #6878c8;
  text-transform: uppercase;
}

.di-finding-source {
  font-family: var(--monospace-font);
  font-size: 0.66rem;
  color: #7a80a0;
  word-break: break-all;
}

.di-finding-source a {
  color: inherit;
  text-decoration: none;
}

.di-finding-source a:hover {
  color: #a8b0d8;
}

.di-page-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px;
  border-bottom: 1px solid rgba(100, 110, 140, 0.04);
}

.di-page-row:last-child {
  border-bottom: none;
}

.di-page-url {
  flex: 1;
  font-family: var(--monospace-font);
  font-size: 0.68rem;
  color: #8890a8;
  word-break: break-all;
}

.di-page-url a {
  color: inherit;
  text-decoration: none;
}

.di-page-url a:hover {
  color: #a8b0d8;
}

.di-page-size {
  font-family: var(--monospace-font);
  font-size: 0.56rem;
  color: #4a5068;
  min-width: 50px;
  text-align: right;
}

.di-third-party-table {
  width: 100%;
  border-collapse: collapse;
}

.di-third-party-table th {
  padding: 8px 12px;
  font-size: 0.52rem;
  font-weight: 600;
  color: #4a5068;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  background: rgba(16, 20, 30, 0.5);
  border-bottom: 1px solid rgba(100, 110, 140, 0.1);
}

.di-third-party-table td {
  padding: 8px 12px;
  font-size: 0.68rem;
  color: #a8acb8;
  border-bottom: 1px solid rgba(100, 110, 140, 0.05);
  vertical-align: top;
}

.di-third-party-table tr:last-child td {
  border-bottom: none;
}

.di-third-party-table .di-vendor {
  color: #c8ccd8;
  font-weight: 500;
}

.di-third-party-table .di-host-sub {
  font-family: var(--monospace-font);
  font-size: 0.62rem;
  color: #5a6078;
  display: block;
  margin-top: 2px;
}

.di-form-entry {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(100, 110, 140, 0.06);
}

.di-form-entry:last-child {
  border-bottom: none;
}

.di-form-method {
  font-family: var(--monospace-font);
  font-size: 0.54rem;
  font-weight: 600;
  padding: 2px 6px;
  background: rgba(104, 120, 200, 0.12);
  color: #6878c8;
  margin-right: 8px;
}

.di-form-action {
  font-family: var(--monospace-font);
  font-size: 0.68rem;
  color: #8890a8;
  word-break: break-all;
}

.di-form-action a {
  color: inherit;
  text-decoration: none;
}

.di-form-action a:hover {
  color: #a8b0d8;
}

.di-form-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.di-form-field {
  font-family: var(--monospace-font);
  font-size: 0.54rem;
  padding: 2px 6px;
  background: rgba(100, 110, 140, 0.08);
  color: #6a7090;
}

.di-empty-note {
  padding: 16px 14px;
  text-align: center;
  font-size: 0.68rem;
  color: #4a5068;
}

.vis-tooltip {
  position: absolute;
  padding: 10px 12px;
  white-space: pre-wrap;
  font-family: var(--monospace-font);
  font-size: 11px;
  color: #e8eaef;
  background: rgba(16, 20, 32, 0.96);
  border: 1px solid rgba(100, 110, 140, 0.3);
  max-width: 360px;
  line-height: 1.45;
  z-index: 2000;
}

@media (max-width: 1200px) {
  .di-primary-layout {
    grid-template-columns: 1fr;
  }

  .di-primary-right {
    order: -1;
  }

  .di-graph-container #domain-network-graph {
    height: 460px;
    min-height: 460px;
    max-height: min(460px, 60vh);
  }
}

@media (max-width: 900px) {
  .di-executive-bar {
    flex-direction: column;
  }

  .di-executive-domain {
    border-right: none;
    border-bottom: 1px solid rgba(100, 110, 140, 0.12);
  }

  .di-executive-metrics {
    flex-wrap: wrap;
  }

  .di-metric-cell {
    flex: 1 1 33%;
    border-bottom: 1px solid rgba(100, 110, 140, 0.08);
  }

  .di-executive-actions {
    justify-content: center;
    padding: 10px 16px;
  }
}

@media (max-width: 600px) {
  .di-record-row {
    grid-template-columns: 1fr;
  }

  .di-record-type {
    border-bottom: 1px solid rgba(100, 110, 140, 0.06);
  }
}
