.scan-content.explorer-content {
  padding: 0 !important;
  overflow: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #304258 #0c1626
}

.scan-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 24px 28px 0;
  color: #dbe5f1;
  background: #080f1e;
  --scan: var(--workspace-tools)
}

.scan-page [hidden] {
  display: none !important
}

.scan-page[data-strategy="passive"] {
  --scan: var(--workspace-tools)
}

.scan-passive-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 310px);
  gap: 22px;
  padding: 0 2px 5px
}

.scan-passive-fields h2 {
  font-size: 14px;
  color: #d8eee8;
  margin: 0 0 7px;
  font-weight: 600
}

.scan-passive-fields p {
  font-size: 12px;
  line-height: 1.7;
  color: #a7bdd0;
  margin: 0;
  max-width: 760px
}

.scan-passive-fields .scan-passive-limit {
  font-size: 11px;
  color: #829bb3;
  margin-top: 7px
}

.scan-passive-fields>.scan-field {
  align-self: start
}

.scan-active-help {
  font-size: 11px;
  line-height: 1.6;
  color: #9eb1c9;
  margin: 0 0 10px;
  flex: 1;
  min-width: 150px
}

.scan-launch {
  padding-top: 17px
}

.scan-page[data-strategy="passive"] #scanStart {
  background: var(--scan);
  color: var(--ui-on-accent);
  border-color: var(--scan)
}

.scan-warnings {
  font-size: 11px;
  line-height: 1.6;
  color: #e1c98d;
  background: #2b281f;
  border: 1px solid #51452e;
  border-radius: 5px;
  padding: 9px 12px;
  margin: 12px 0 0;
  overflow-wrap: anywhere
}

.scan-results-heading {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #cbdcee;
  margin: 3px 0 12px
}

.scan-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px
}

.scan-title {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0
}

.scan-title>span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 42px;
  color: var(--scan);
  flex: none
}

.scan-title svg {
  width: 31px;
  height: 31px
}

.scan-title h1 {
  font-size: 24px;
  margin: 0;
  line-height: 1.3;
  color: #eef3fc
}

.scan-title p {
  font-size: 12px;
  color: #97a9bf;
  margin: 5px 0 0
}

.scan-actions,
.scan-start-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.scan-actions .protocol-button {
  height: 35px;
  border-radius: 6px
}

.scan-form {
  padding: 16px 0;
  border-top: 1px solid #26354a;
  border-bottom: 1px solid #26354a
}

.scan-main-fields {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px
}

.scan-main-fields>.scan-field {
  width: 190px
}

.scan-destination-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px
}

.scan-destination-heading h2 {
  font-size: 14px;
  font-weight: 600;
  color: #dbe5f2;
  margin: 0
}

.scan-destination-shortcuts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0
}

.scan-destination-shortcuts .protocol-button {
  height: 32px;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 5px
}

.scan-local-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8fa7c2;
  font-size: 10px;
  min-width: 0
}

.scan-local-label select {
  height: 32px;
  width: 260px;
  max-width: 100%;
  padding: 0 7px;
  color: #c5d5e7;
  background: #101c2e;
  border: 1px solid #2b3d56;
  border-radius: 5px;
  font-size: 11px
}

.scan-destination-shortcuts .protocol-icon {
  width: 30px;
  min-width: 30px;
  height: 32px;
  padding: 6px;
  border-radius: 5px
}

.scan-destination-fields {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px
}

.scan-destination-preview {
  min-height: 18px;
  color: #aac3d5
}

.scan-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 11px;
  color: #a4b6cd
}

.scan-field input,
.scan-field select {
  height: 38px;
  width: 100%;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid #2b3d56;
  border-radius: 6px;
  background: #101c2e;
  color: #dbe5f2;
  font-size: 12px;
  box-sizing: border-box
}

.scan-field input:focus-visible,
.scan-field select:focus-visible,
.scan-result-search:focus-within {
  outline: 2px solid var(--scan);
  outline-offset: 2px
}

.scan-field input:disabled,
.scan-field select:disabled {
  opacity: .6;
  cursor: default
}

.scan-target input,
.scan-ports input {
  font-family: Consolas, monospace
}

.scan-start-actions {
  min-height: 38px
}

.scan-start-actions .protocol-button {
  height: 38px;
  border-radius: 6px;
  white-space: nowrap
}

.scan-field-help {
  font-size: 10px;
  line-height: 1.6;
  color: #839ab4;
  margin: 9px 0 13px
}

.scan-port-fields {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 12px
}

.scan-advanced {
  margin-top: 13px;
  font-size: 11px;
  color: #8fa7c2
}

.scan-advanced>summary {
  cursor: pointer;
  width: fit-content;
  padding: 4px 0
}

.scan-advanced>div {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 0 0
}

.scan-advanced label {
  width: 170px
}

.scan-advanced p {
  max-width: 450px;
  font-size: 10px;
  line-height: 1.6;
  margin: 0;
  color: #839ab4
}

.scan-page .network-error {
  margin: 12px 0 0
}

.scan-progress-panel {
  padding: 14px 0
}

.scan-progress-description {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #a8bdd3;
  margin-bottom: 8px
}

#scanState {
  color: #d9e5f3
}

#scanProgressCount {
  font-variant-numeric: tabular-nums;
  color: #91a9c2
}

.scan-progress-panel progress {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  background: #1b2b41;
  accent-color: var(--scan);
  border-radius: 2px;
  overflow: hidden
}

.scan-progress-panel progress::-webkit-progress-bar {
  background: #1b2b41;
  border-radius: 2px
}

.scan-progress-panel progress::-webkit-progress-value {
  background: var(--scan);
  border-radius: 2px
}

.scan-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 10px;
  font-size: 10px;
  color: #93a8c1
}

.scan-stats strong {
  color: #deebf7;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  margin-right: 4px
}

.scan-result-controls {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  padding: 0 0 12px
}

.scan-result-search {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  min-width: 180px;
  height: 36px;
  padding: 0 10px;
  background: #101c2e;
  border: 1px solid #2b3d56;
  border-radius: 6px
}

.scan-result-search svg {
  width: 15px;
  height: 15px;
  color: #91a9c2;
  flex: none
}

.scan-result-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: #dbe5f2;
  font-size: 12px;
  outline: 0
}

.scan-status-field {
  width: 175px
}

.scan-status-field select {
  height: 36px
}

#scanResultCount {
  font-size: 10px;
  color: #91a7c1;
  line-height: 36px
}

.scan-table-wrap {
  min-height: 220px;
  max-height: calc(100dvh - 490px);
  overflow: auto;
  border: 1px solid #29384e;
  border-radius: 6px 6px 0 0;
  scrollbar-width: thin;
  outline-offset: 2px
}

.scan-table {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  width: 100%;
  min-width: 720px;
  font-size: 12px
}

.scan-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 40px;
  padding: 0 12px;
  background: #162338;
  color: #b9c8da;
  border-bottom: 1px solid #35465d;
  text-align: left;
  font-size: 11px;
  font-weight: 500
}

.scan-table th:nth-child(1) {
  width: 180px
}

.scan-table th:nth-child(2) {
  width: 72px
}

.scan-table th:nth-child(3) {
  width: 85px
}

.scan-table th:nth-child(4) {
  width: 110px
}

.scan-table th:nth-child(5) {
  width: 90px
}

.scan-table td {
  height: 46px;
  padding: 8px 12px;
  border-bottom: 1px solid #202f44;
  vertical-align: middle;
  overflow-wrap: anywhere;
  background: #0c1626;
  line-height: 1.5
}

.scan-table tr:nth-child(even) td {
  background: #0e192b
}

.scan-table tr:hover td {
  background: #16273b
}

.scan-address,
.scan-latency {
  font-family: Consolas, monospace;
  font-size: 11px;
  font-variant-numeric: tabular-nums
}

.scan-port-reference {
  padding: 0;
  border: 0;
  background: transparent;
  color: #e6c568;
  font-family: Consolas, monospace;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: #e6c56840;
  text-underline-offset: 3px
}

.scan-port-reference:hover {
  color: #ffe29c
}

.scan-state {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 3px;
  background: #1b2b41;
  color: #aabed4;
  font-size: 10px;
  white-space: nowrap
}

.scan-state.is-open,
.scan-state.is-reachable {
  background: #16342e;
  color: #9cd7bd
}

.scan-state.is-closed {
  background: #322728;
  color: #dbb4af
}

.scan-state.is-no-response {
  background: #352d1c;
  color: #d8c18b
}

.scan-state.is-error,
.scan-state.is-unreachable {
  background: #302631;
  color: #d9b2d0
}

.scan-state.is-observed {
  background: #1a2e48;
  color: #aacbea
}

.scan-state.is-listening {
  background: #16342e;
  color: #9cd7bd
}

.scan-state.is-bound {
  background: #16313b;
  color: #9dced9
}

.scan-state.is-connection {
  background: #2a2944;
  color: #c5bce9
}

.scan-table.is-passive {
  min-width: 950px
}

.scan-table.is-passive th:nth-child(4) {
  width: 145px
}

.scan-table.is-passive th:nth-child(5) {
  width: auto
}

.scan-table.is-passive th:last-child {
  width: 160px
}

.scan-observation-context {
  font-family: Consolas, monospace;
  font-size: 10px;
  color: #a8bdd3;
  overflow-wrap: anywhere
}

.scan-service {
  color: #95aec8;
  font-size: 11px
}

.scan-empty {
  padding: 45px 20px;
  text-align: center;
  font-size: 12px;
  color: #91a7c1;
  line-height: 1.6
}

.scan-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0 16px
}

.scan-footer>p {
  font-size: 10px;
  color: #8099b5;
  line-height: 1.6;
  max-width: 720px;
  margin: 0
}

.scan-page button:focus-visible {
  outline: 2px solid var(--scan);
  outline-offset: 2px
}

.topbar .section-navigation button.scan-running::after {
  content: '';
  position: absolute;
  right: 7px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e6a879
}

@media(max-width:1100px) {
  .scan-page {
    padding: 20px 18px 0
  }

  .scan-main-fields {
    grid-template-columns: minmax(0, 1fr) 180px
  }

  .scan-start-actions {
    grid-column: 1/-1
  }

  .scan-table th:nth-child(1) {
    width: 160px
  }
}

@media(max-width:600px) {
  .scan-page {
    padding: 16px 12px 0
  }

  .scan-heading {
    gap: 14px;
    padding-bottom: 14px
  }

  .scan-title h1 {
    font-size: 22px
  }

  .scan-actions {
    width: 100%;
    justify-content: flex-end
  }

  .scan-main-fields {
    grid-template-columns: minmax(0, 1fr)
  }

  .scan-start-actions {
    grid-column: auto
  }

  .scan-port-fields {
    grid-template-columns: minmax(0, 1fr)
  }

  .scan-stats {
    gap: 10px 16px
  }

  .scan-result-search {
    flex-basis: 100%
  }

  .scan-status-field {
    flex: 1
  }

  .scan-table-wrap {
    max-height: 440px;
    min-height: 230px
  }

  .scan-footer {
    flex-direction: column;
    align-items: stretch
  }

  .scan-footer #scanPagination {
    align-self: flex-end
  }

  .scan-advanced label {
    width: calc(50% - 7px)
  }

  .scan-heading .protocol-button {
    font-size: 10px;
    padding: 0 8px
  }
}

@media(max-width:600px) {
  .scan-destination-fields {
    grid-template-columns: minmax(0, 1fr)
  }

  .scan-destination-shortcuts {
    width: 100%;
    gap: 6px
  }

  .scan-local-label {
    flex: 1;
    font-size: 0;
    gap: 0
  }

  .scan-local-label select {
    width: 100%;
    min-width: 0;
    font-size: 10px
  }

  .scan-main-fields>.scan-field {
    width: 100%
  }

  .scan-destination-heading h2 {
    font-size: 13px
  }
}

@media(max-width:850px) {
  .scan-passive-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px
  }

  .scan-passive-fields>.scan-field {
    max-width: 380px
  }
}

@media(max-width:600px) {
  .scan-passive-fields>.scan-field {
    max-width: none
  }

  .scan-passive-fields p {
    font-size: 11px
  }
}

.topbar .section-navigation button[data-section="scan-passive"].scan-running::after {
  background: #78d2bf
}

.passive-follow-controls {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #203348
}

.passive-follow-controls .scan-field {
  width: 160px
}

.passive-follow-controls .protocol-button {
  height: 38px;
  border-radius: 6px
}

.passive-follow-controls p {
  flex: 1;
  min-width: 190px;
  max-width: 600px;
  margin: 0;
  color: #92aabf;
  font-size: 11px;
  line-height: 1.7
}

.passive-overview {
  margin: 0 0 22px
}

.passive-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 13px
}

.passive-metrics>div {
  padding: 14px 16px;
  background: #0e1c2c;
  border: 1px solid #253a4c;
  border-radius: 7px;
  min-width: 0
}

.passive-metrics strong {
  display: block;
  color: #b2e3d5;
  font-size: 23px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px
}

.passive-metrics span {
  color: #9eb8c8;
  font-size: 11px;
  line-height: 1.6;
  display: block
}

.passive-changes {
  color: #a3cabb;
  font-size: 11px;
  line-height: 1.8;
  padding: 9px 0
}

.passive-details {
  border-top: 1px solid #23374b;
  font-size: 11px;
  color: #a5bfd0
}

.passive-details>summary {
  padding: 12px 0;
  cursor: pointer;
  color: #bdcfdc;
  line-height: 1.6
}

.passive-details>div {
  padding: 0 0 15px
}

.passive-details p {
  color: #8faabd;
  font-size: 11px;
  line-height: 1.7
}

.passive-details h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 12px 0 6px
}

.passive-details ul {
  padding-left: 20px;
  line-height: 1.8;
  overflow-wrap: anywhere
}

.passive-interface-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0
}

.passive-interface-grid article {
  padding: 15px;
  border: 1px solid #253b4e;
  border-radius: 7px;
  background: #0d1a2a;
  min-width: 0
}

.passive-interface-grid header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap
}

.passive-interface-grid h3 {
  margin: 0;
  color: #d6e4ee;
  font-size: 13px;
  overflow-wrap: anywhere
}

.passive-interface-grid p {
  margin: 7px 0 13px;
  overflow-wrap: anywhere
}

.passive-interface-grid dl {
  margin: 0
}

.passive-interface-grid dl>div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid #1c3043;
  line-height: 1.7
}

.passive-interface-grid dt {
  color: #8faabd
}

.passive-interface-grid dd {
  margin: 0;
  color: #c4d7e4;
  font-family: Consolas, monospace;
  overflow-wrap: anywhere
}

.passive-routes-wrap {
  max-height: 320px;
  overflow: auto;
  border: 1px solid #263b4f;
  border-radius: 6px;
  scrollbar-width: thin
}

.passive-routes {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  text-align: left;
  font-size: 11px
}

.passive-routes caption {
  text-align: left;
  padding: 10px;
  color: #a5bdcf;
  background: #102033;
  line-height: 1.6
}

.passive-routes th {
  position: sticky;
  top: 0;
  background: #14263a;
  color: #b8cfdf;
  font-weight: 500
}

.passive-routes th,
.passive-routes td {
  padding: 9px 12px;
  border-bottom: 1px solid #22374b;
  overflow-wrap: anywhere
}

.passive-routes td:first-child,
.passive-routes td:nth-child(2) {
  font-family: Consolas, monospace
}

.passive-history {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  max-height: 250px;
  overflow: auto;
  scrollbar-width: thin
}

.passive-history li {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid #1b3043;
  padding: 8px 0;
  font-size: 11px;
  line-height: 1.7
}

.passive-history time {
  color: #b3d9cc;
  font-variant-numeric: tabular-nums;
  flex: none
}

.passive-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end
}

.passive-filters .scan-field select {
  height: 35px;
  font-size: 11px;
  padding: 0 7px
}

.passive-filters .protocol-button {
  min-height: 35px;
  height: auto;
  padding: 8px;
  font-size: 10px;
  border-radius: 6px
}

.passive-results-help {
  font-size: 10px;
  color: #88a2b8;
  line-height: 1.8;
  margin: 9px 0 13px
}

.scan-table.is-passive {
  min-width: 1140px
}

.scan-table.is-passive th:nth-child(1) {
  width: 170px
}

.scan-table.is-passive th:nth-child(2) {
  width: 120px
}

.scan-table.is-passive th:nth-child(3) {
  width: 65px
}

.scan-table.is-passive th:nth-child(4) {
  width: 155px
}

.scan-table.is-passive th:nth-child(5) {
  width: auto
}

.scan-table.is-passive th:nth-child(6) {
  width: 150px
}

.scan-table.is-passive th:last-child {
  width: 135px
}

.scan-table.is-host-inventory th:nth-child(2) {
  width: 150px
}

.scan-table.is-host-inventory th:nth-child(3) {
  width: 150px
}

.scan-table.is-host-inventory th:nth-child(4) {
  width: 160px
}

.scan-table.is-host-inventory th:last-child {
  width: 90px
}

.scan-table.is-passive small {
  display: block;
  margin-top: 4px;
  color: #829fb6;
  font-size: 10px;
  font-weight: 400;
  font-family: inherit;
  line-height: 1.6;
  overflow-wrap: anywhere
}

.passive-address-button {
  border: 0;
  background: transparent;
  color: #b1ddcd;
  font: inherit;
  text-align: left;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: #78d2bf50;
  text-underline-offset: 3px;
  overflow-wrap: anywhere
}

.passive-address-button:hover {
  color: #d6fff0
}

.passive-process {
  font-size: 11px;
  color: #c7d9e7
}

.passive-change-badge {
  display: inline-block;
  margin-top: 5px;
  padding: 1px 5px;
  background: #163a31;
  color: #a0ddc3;
  font-family: inherit;
  font-size: 9px;
  border-radius: 3px
}

.passive-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: 85dvh;
  box-sizing: border-box;
  padding: 22px;
  background: #0d1b2b;
  color: #c5d8e8;
  border: 1px solid #365b63;
  border-radius: 10px;
  overflow: auto;
  scrollbar-width: thin
}

.passive-dialog::backdrop {
  background: #020813bb;
  backdrop-filter: blur(3px)
}

.passive-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap
}

.passive-dialog h2 {
  font-size: 17px;
  color: #e0eee9;
  margin: 0
}

.passive-dialog dl {
  margin: 20px 0
}

.passive-dialog dl>div {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid #21384b;
  padding: 9px 0;
  font-size: 12px;
  line-height: 1.7
}

.passive-dialog dt {
  color: #87a6bb
}

.passive-dialog dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap
}

.passive-dialog p {
  font-size: 11px;
  line-height: 1.8;
  color: #90acbf
}

@media(max-width:1150px) {
  .passive-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .passive-filters>.protocol-button {
    justify-self: start
  }

  .passive-interface-grid {
    grid-template-columns: minmax(0, 1fr)
  }
}

@media(max-width:650px) {
  .passive-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .passive-metrics>div {
    padding: 12px
  }

  .passive-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .passive-follow-controls p {
    flex-basis: 100%
  }

  .passive-interface-grid dl>div {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px
  }

  .passive-dialog {
    padding: 16px
  }

  .passive-dialog dl>div {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px
  }

  .passive-history li {
    gap: 10px
  }

  .passive-dialog header .protocol-button {
    height: 32px
  }
}

.scan-page[data-strategy="passive"] .scan-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px 0
}

.scan-page[data-strategy="passive"] .scan-passive-fields {
  grid-column: 1/-1
}

.scan-page[data-strategy="passive"] .passive-follow-controls {
  margin: 0;
  padding: 0;
  border: 0
}

.scan-page[data-strategy="passive"] .scan-launch {
  padding: 0;
  align-self: end
}

.scan-page[data-strategy="passive"] #scanError,
.scan-page[data-strategy="passive"] #scanBusyNotice {
  grid-column: 1/-1;
  margin: 0
}

.scan-page[data-strategy="passive"] .scan-heading {
  padding-bottom: 14px
}

.passive-metrics>div {
  padding: 11px 14px
}

.passive-metrics strong {
  font-size: 20px;
  margin-bottom: 4px
}

.passive-workbench-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 3px 0 9px
}

.passive-view-buttons {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #0e1d2e;
  border: 1px solid #2b4254;
  border-radius: 8px;
  min-width: 0
}

.passive-view-buttons button {
  padding: 8px 15px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #97b3c7;
  font-size: 12px;
  white-space: nowrap
}

.passive-view-buttons button[aria-pressed="true"] {
  background: #20443f;
  color: #bfeadc;
  box-shadow: inset 0 0 0 1px #40756c
}

.passive-view-buttons button:hover {
  color: #e0f1eb;
  background: #18352f
}

.passive-reference-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap
}

.passive-reference-controls .protocol-button {
  font-size: 10px;
  min-height: 33px;
  padding: 6px 9px;
  height: auto;
  border-radius: 5px
}

.passive-reference-controls select {
  height: 33px;
  font-size: 10px;
  padding: 0 8px;
  width: 210px
}

.passive-reference-controls .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap
}

.passive-focus-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0
}

.passive-focus-controls button,
.passive-query-help button {
  padding: 6px 10px;
  background: #102336;
  color: #9bb7c9;
  border: 1px solid #29445a;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.5
}

.passive-focus-controls button[aria-pressed="true"] {
  background: #173d33;
  border-color: #4b8676;
  color: #bde6d8
}

.passive-focus-controls button:hover,
.passive-query-help button:hover {
  border-color: #71a696;
  color: #d3ecdf
}

.passive-query-help {
  font-size: 10px;
  color: #90aabd;
  margin: 9px 0 15px;
  line-height: 1.7
}

.passive-query-help summary {
  cursor: pointer;
  width: fit-content;
  color: #a1bfcc
}

.passive-query-help>div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.passive-query-help button {
  font-family: Consolas, monospace;
  font-size: 10px
}

.passive-filters {
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto
}

.passive-sources>div {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 0;
  border-bottom: 1px solid #20374b;
  font-size: 11px
}

.passive-sources strong {
  font-weight: 500;
  flex: 1;
  min-width: 150px;
  color: #b5d1db
}

.passive-sources>div>span:last-child {
  min-width: 140px;
  font-variant-numeric: tabular-nums
}

.passive-network-delta {
  border-top: 1px solid #2c4556;
  padding-top: 10px
}

.passive-history-chart {
  color: #83d1b7
}

.passive-history-chart svg {
  display: block;
  width: 100%;
  max-width: 600px;
  height: 80px;
  background: #0d1b2a;
  border-radius: 6px
}

.passive-history-chart p {
  font-size: 10px;
  margin: 5px 0 12px
}

.passive-group-list {
  max-height: 54dvh;
  overflow: auto;
  scrollbar-width: thin
}

.passive-group-list article {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid #284053;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere
}

.passive-group-list strong {
  font-family: Consolas, monospace;
  color: #b1ddcd
}

.scan-table.is-process-inventory th:first-child {
  width: 210px
}

.scan-table.is-process-inventory th:nth-child(2),
.scan-table.is-process-inventory th:nth-child(3),
.scan-table.is-process-inventory th:nth-child(4),
.scan-table.is-process-inventory th:nth-child(5) {
  width: 90px
}

.scan-table.is-process-inventory th:nth-child(6) {
  width: auto
}

.scan-table.is-process-inventory th:last-child {
  width: 220px
}

@media(max-width:1100px) {
  .passive-reference-controls {
    flex-basis: 100%
  }

  .passive-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media(max-width:850px) {
  .scan-page[data-strategy="passive"] .scan-form {
    grid-template-columns: minmax(0, 1fr)
  }

  .scan-page[data-strategy="passive"] .scan-launch {
    grid-column: 1;
    justify-content: flex-start
  }

  .passive-follow-controls p {
    flex-basis: 100%
  }
}

@media(max-width:650px) {
  .passive-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .passive-view-buttons {
    width: 100%
  }

  .passive-view-buttons button {
    flex: 1;
    padding: 8px 10px;
    font-size: 11px
  }

  .passive-reference-controls {
    gap: 8px
  }

  .passive-reference-controls .scan-field {
    min-width: 0;
    flex: 1
  }

  .passive-reference-controls select {
    width: 100%;
    min-width: 160px
  }

  .passive-sources>div {
    gap: 8px
  }

  .passive-sources>div>span:last-child {
    min-width: 0;
    flex-basis: 100%
  }
}
