:root {
  --display: Tahoma, sans-serif;
  --sans: Tahoma, sans-serif;
  --mono: Tahoma, sans-serif;
  --code-bg: #1a1a2e;
  --code-ink: #c8d0dc;
  --code-muted: #8c9db6;
  --code-line: #2a2a3e;
}

body,
body *,
body *::before,
body *::after {
  font-family: Tahoma, sans-serif !important;
  background-image: none !important;
  box-shadow: none !important;
  animation: none !important;
  letter-spacing: 0;
}

body {
  font-size: 12px;
  color: var(--ink);
  background: var(--paper);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: lowercase;
}

a {
  color: var(--blue);
}

.scan a,
.scan a .scan-id {
  border-bottom: 0;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.scan a:is(:hover, :focus-visible),
.scan a:is(:hover, :focus-visible) .scan-id {
  color: var(--blue);
  text-decoration-style: dashed;
  text-decoration-color: var(--blue);
}

button,
input,
select,
textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 12px;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
  cursor: default;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

header,
.net-page header,
.detail-header {
  min-height: 49px;
  padding: 8px 18px;
  gap: 22px;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  background: var(--panel-tint);
}

header .title {
  letter-spacing: 0;
}

header .title {
  font-size: 13px;
}

header .scan-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: auto;
}

.scan header .scan-nav a {
  font-size: 12px;
  padding: 6px 0;
  border: 0;
  text-decoration: none;
}

.scan header .scan-nav a.active {
  font-weight: bold;
  border-bottom: 2px solid var(--blue);
}

.scan-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 11px;
}

.scan-status button,
.scan button,
.scan input,
.scan select {
  border: 1px solid var(--line-dark);
  background: var(--paper);
  color: var(--blue);
  padding: 6px 10px;
}

.scan button:hover {
  background: var(--hover);
}

.scan-main {
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 18px;
}

.scan-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 14px;
}

.scan-title h1 {
  font-size: 18px;
  color: var(--blue);
  font-weight: bold;
}

.scan-title p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}

.scan-search {
  display: flex;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--hover);
  margin-bottom: 16px;
}

.scan-search input {
  flex: 1;
  min-width: 0;
}

.scan-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.scan-notice {
  padding: 9px 12px;
  margin: 10px 0;
  border: 1px solid var(--line);
  background: var(--hover);
  color: var(--blue);
}

.scan-notice[hidden],
[hidden] {
  display: none !important;
}

.scan-cells {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid #d0d7e2;
  background: #e5e9ef;
  margin-bottom: 18px;
}

.scan-cells > div {
  padding: 12px 16px;
  border-right: 1px solid #d0d7e2;
  display: grid;
  gap: 5px;
  min-width: 0;
}

.scan-cells > div:last-child {
  border: 0;
}

.scan-cells strong {
  font-size: 23px;
  color: var(--blue);
  font-weight: bold;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.scan-cells span,
.scan-cells small {
  font-size: 11px;
  color: var(--muted);
}

.scan-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
}

.scan-columns > div,
.scan-columns > aside {
  min-width: 0;
}

.scan-box {
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.scan-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: var(--panel-tint);
  color: var(--blue);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.scan-bar h2 {
  font-size: 12px;
}

.scan-pad {
  padding: 12px;
}

.scan-scroll {
  overflow: auto;
}

.scan table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 11px;
  letter-spacing: 0;
}

.scan th {
  background: var(--hover);
  color: var(--navy);
  text-align: left;
  font-weight: normal;
  white-space: nowrap;
}

.scan td,
.scan th {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  overflow: visible;
  text-overflow: clip;
}

.scan tr:last-child td {
  border-bottom: 0;
}

.scan tbody tr:hover {
  background: var(--hover);
}

.scan td {
  white-space: normal;
  overflow-wrap: anywhere;
}

.scan .scan-compact {
  width: 1%;
  white-space: nowrap;
}

.scan-id {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.scan .scan-id-cell {
  min-width: var(--id-min, 210px);
}

.scan .scan-id-cell:has(.scan-hash) {
  min-width: var(--hash-min, 260px);
}

.scan-id-cell > a,
.scan-id-cell > button {
  display: flex;
  width: 0;
  min-width: 100%;
}

.scan-id-cell > div,
.scan-id-cell > .scan-id {
  width: 0;
  min-width: 100%;
}

.scan-id-cell > a > .scan-id,
.scan-id-cell > button > .scan-id {
  width: 100%;
}

.scan-id-cell > button {
  text-align: left;
}

.scan-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
}

.scan-facts dt {
  color: var(--muted);
}

.scan-facts dd {
  text-align: right;
  overflow-wrap: anywhere;
}

.scan-links {
  display: grid;
  gap: 0;
}

.scan-links a {
  display: block;
  padding: 10px 12px;
}

.scan-links a + a {
  border-top: 1px solid var(--line-soft);
}

.scan-links a:hover {
  background: var(--hover);
}

.scan-links small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.scan-footer {
  display: block;
  text-align: center;
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  color: var(--muted);
  font-size: 11px;
  margin-top: auto;
}

.scan .section-title,
.scan .panel-head {
  background: var(--panel-tint);
}

.scan .authority {
  --alarm: var(--negative);
  --watch: var(--navy);
  --edge-owns: var(--navy);
  --edge-calls: var(--blue-soft);
  --edge-holds: var(--line-dark);
}

.scan .authority-verdict {
  display: none;
}

.scan .authority-metrics .value {
  font-size: 19px;
}

.scan .authority * {
  letter-spacing: 0;
}

.scan .authority-grid {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.scan .net-heading {
  padding: 20px 22px;
}

.scan .net-heading h1 {
  font-size: 20px;
  font-weight: bold;
}

.scan .net-kicker {
  margin-bottom: 5px;
}

.scan .net-metrics strong {
  font-size: 22px;
}

.scan .net-page,
.scan .net-heading,
.scan .net-metrics {
  animation: none;
}

.scan .net-bar span,
.scan .net-map-caption {
  font-size: 11px;
}

@media (max-width: 950px) {
  .scan-columns {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  header .scan-nav {
    gap: 12px;
  }

  .scan .authority-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
}

@media (max-width: 1200px) {
  .scan-columns {
    display: block;
  }

  .scan-columns > aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 720px) {
  header,
  .net-page header,
  .detail-header {
    flex-wrap: wrap;
    gap: 9px;
    padding: 10px 12px;
  }

  header .scan-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .scan-status {
    margin-left: auto;
  }

  .scan-main {
    padding: 12px;
  }

  .scan-columns {
    display: block;
  }

  .scan-cells {
    grid-template-columns: repeat(2, 1fr);
  }

  .scan-cells > div {
    border-bottom: 1px solid var(--line);
  }

  .scan-cells > div:last-child {
    grid-column: 1 / -1;
  }

  .scan-title {
    flex-wrap: wrap;
    gap: 8px;
  }

  .scan-footer {
    flex-wrap: wrap;
  }

  .scan .authority-grid {
    display: block;
  }

  .scan td,
  .scan th {
    padding: 8px;
  }
}

@media (max-width: 720px) {
  .scan-columns > aside {
    display: block;
  }
}
