:root {
  --hurricane-blue: #000066;
  --hurricane-white: #ffffff;
  --hurricane-black: #000000;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #222222;
  min-width: 950px;
  overflow-x: auto;
}

a {
  text-decoration: none;
}

#header {
  display: flex;
  min-height: 140px;
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  min-width: 420px;
  padding: 10px 14px;
}

.he-logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.he-logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: 5px solid var(--hurricane-blue);
  border-radius: 50%;
  color: var(--hurricane-black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1;
}

.header-brand-pad {
  padding: 10px;
  display: flex;
  gap: 5px;
}

#header_search {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#searchform {
  width: 80%;
  max-width: 860px;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

#searchform input[type="text"] {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  flex-grow: 1;
  font-size: 18px;
  /* line-height: 28px; */
  padding: 7px 12px;
}

.searchbutton {
  background-image: linear-gradient(to bottom right, #000066, #0c0c36);
  border: none;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 20px;
  cursor: pointer;
}

#header_filler {
  flex-grow: 1;
}

#centerbody {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
}

#leftsidemenu {
  width: max-content;
}

.leftsidemenu {
  border-right: 1px solid rgba(0, 0, 102, 0.4);
  border-top: 1px solid var(--hurricane-blue);
  font-size: 18px;
  height: 100%;
  max-width: 250px;
}

.leftsidemenuitems {
  list-style: none;
  margin-left: 10px;
  margin-right: 10px;
  padding-bottom: 5px;
  padding-top: 5px;
  width: max-content;
}

.leftsidemenuitems li {
  font-size: 0.9em;
  padding-bottom: 5px;
}

.leftsidemenuitems li a:link,
.leftsidemenuitems li a:visited,
.leftsidemenuitems li a:active {
  color: var(--hurricane-blue);
}

.menuheader {
  background-color: var(--hurricane-blue);
  color: var(--hurricane-white);
  padding-bottom: 1px;
  padding-right: 10px;
  padding-top: 2px;
  text-align: center;
  font-size: 18px;
}

#content {
  flex-grow: 2;
  justify-content: center;
  padding: 0;
  width: 100%;
}

.wrapper {
  width: 100%;
}

.resulttitle {
  margin: 0;
  margin-left: 130px;
  margin-top: -22px;
  padding: 0 0 8px 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  position: relative;
}

.resulttitle a {
  color: var(--hurricane-blue);
  text-decoration: underline;
}

.title-orgname {
  color: #000000;
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
}

.tabmenu {
  list-style: none;
  margin-left: 10px;
}

.tabmenuli {
  background-color: #aaaaaa;
  border-bottom: 1px solid var(--hurricane-blue);
  border-left: 1px solid var(--hurricane-blue);
  border-right: 1px solid var(--hurricane-blue);
  border-top: 1px solid var(--hurricane-blue);
  color: #141414;
  cursor: pointer;
  float: left;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: -1px;
  margin-right: 6px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
  position: relative;
  line-height: 1.1;
}

.tabmenuselected {
  background-color: #ffffff;
  border-bottom: 1px solid #ffffff;
  color: var(--hurricane-blue);
  cursor: auto;
  font-weight: 400;
}

.tabdata {
  display: block;
  align-items: initial;
  border-top: 1px solid var(--hurricane-blue);
  flex-flow: initial;
  min-width: 742px;
  padding: 10px 15px 15px;
}

.boundedcontent {
  width: 460px;
  max-width: 100%;
  margin: 0 auto;
}

.tab-panel-center {
  margin: 0 auto;
  max-width: 100%;
  text-align: left;
}

.whois-panel {
  width: 980px;
  max-width: 100%;
}

.whois-panel pre {
  margin: 0;
  text-align: left;
}

.dns-ipinfo-panel {
  width: 980px;
  max-width: 100%;
}

.dns-ipinfo-panel table {
  margin: 0 auto;
}

.website-preview-panel {
  width: 980px;
  max-width: 100%;
}

.website-preview-panel .webthumb {
  text-align: left;
}

.ip-preview-content {
  width: 620px;
  max-width: 100%;
  text-align: center;
}

.ip-preview-content table {
  margin: 0 auto;
}

.ip-preview-content td,
.ip-preview-content th {
  font-size: 18px;
}

.preview-focus-title {
  color: #000000;
  font-size: 16px;
  line-height: 1.15;
  text-align: center;
}

.preview-focus-title a,
.preview-focus-link {
  color: #000000;
  text-decoration: underline;
}

.rblsummary {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
}

.rbl-table-wrap {
  margin: 0 auto;
  max-width: 620px;
  text-align: left;
}

.rbl-table {
  margin: 0 auto;
  width: 100%;
}

.rbl-table th {
  text-align: center;
  white-space: nowrap;
}

.rbl-server {
  font-size: 15px;
}

.rbl-status {
  text-align: right;
  width: 140px;
}

.rbl-row-fail {
  background-color: rgba(183, 28, 28, 0.08);
}

.rbl-row-pass {
  background-color: rgba(46, 125, 50, 0.08);
}

.rbl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  text-transform: uppercase;
}

.rbl-badge-fail {
  background-color: #fde7e7;
  color: #b71c1c;
}

.rbl-badge-pass {
  background-color: #e8f5e9;
  color: #1b5e20;
}

.rbl-icon {
  font-size: 12px;
}

.net-preview-content {
  width: 100%;
  max-width: 980px;
  text-align: center;
}

.net-preview-content table {
  margin: 0 auto 24px;
}

.net-preview-content td,
.net-preview-content th {
  font-size: 18px;
}

.net-preview-content thead th {
  text-align: center;
}

.net-preview-content tbody td {
  text-align: left;
}

.route-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
}

.route-badge:first-of-type {
  margin-left: 8px;
}

.route-badge img {
  display: block;
}

.country-flag {
  display: inline-block;
  height: 12px;
  width: 32px;
  margin-left: 4px;
  vertical-align: middle;
}

.hidden {
  display: none;
  visibility: hidden;
}

.clear {
  clear: both;
}

.frame-note {
  color: #5d6886;
}

.rti-holder {
  width: 100%;
  text-align: left;
}

.realtime-indicator {
  border: 2px solid #00888d;
  border-radius: 5px;
  color: #00888d;
  font-weight: 900;
}

.rdap-labeled-box ul {
  padding-left: 50px;
}

.rdap-labeled-box > div {
  padding: 10px;
}

.rdap-labeled-box.rdap-entity {
  background-color: rgb(246, 246, 255);
}

#rdap-data {
  width: 100%;
}

.rdap-json-link {
  float: right;
  font-family: "Courier New", Courier, monospace;
  font-weight: 100;
}

.hide-rdap-button {
  float: right;
  color: #222222;
  cursor: pointer;
  font-family: "Courier New", Courier, monospace;
  user-select: none;
}

.rdap-raw-button {
  cursor: pointer;
  border: 2px solid blue;
  background-color: rgb(244, 244, 255);
  border-radius: 5px;
  font-size: 1em;
  padding: 3px;
  user-select: none;
}

.rdap-raw {
  margin-top: 10px;
  background-color: rgb(233, 233, 242);
  border: 1px solid rgb(209, 209, 239);
  border-radius: 3px;
}

.rdap-title-tag {
  font-family: "Courier New", Courier, monospace;
  font-weight: normal;
}

.rdap-box {
  border: 1px solid blue;
  border-radius: 5px;
  margin: 15px;
}

.rdap-labeled-box li {
  padding: 5px;
}

.left-pad {
  padding-left: 15px;
}

.rdap-labeled-box {
  margin: 15px;
  border: 2px solid blue;
  border-radius: 5px;
}

.rdap-list-elem {
  padding-top: 5px;
  padding-bottom: 5px;
}

.rdap-labeled-box > p {
  padding: 10px;
  padding-bottom: 7px;
  background-color: #dde;
  border-bottom: 1px solid blue;
  border-radius: 3px 3px 0 0;
  font-weight: 600;
}

.rdap-labeled-box > p.minimized {
  border-bottom: none;
  border-radius: 3px;
}

.rdap-labeled-box p.rdap-label {
  padding-top: 15px;
}

:root {
  --select-color: #a5dc86;
  --select-color-active: rgb(13, 110, 253);
  --data-color: #4af626;
}

#probebody {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

#probe_table {
  width: 100%;
  border: none;
}

.disabled-probe {
  background-color: #ccc;
  cursor: not-allowed;
}

#probe_table tr {
  border: none;
}

#probe_table td,
#probe_table th {
  border-top: none;
  border-bottom: 1px solid black;
  border-left: none;
  border-right: none;
  border-collapse: collapse;
}

.warning {
  background-color: #ffcccc;
}

.bogon {
  padding: 20px;
  text-align: center;
  border: 1px solid #ff0000;
  background-color: #ffcccc;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}

#target {
  height: 40px;
  font-size: 15px;
  width: 500px;
}

#table-afi {
  color: purple;
  font-family: "Courier New", Courier, monospace;
  font-weight: 100;
}

.probe-set-title {
  background-color: rgb(46, 127, 173);
  color: white;
  font-weight: 600;
  text-align: center;
}

.probe-set-info {
  color: red;
  text-align: center;
  padding: 20px 0;
}

#probe_table tbody tr.selectable:hover {
  background-color: var(--select-color);
  cursor: pointer;
}

.switch-field {
  display: flex;
  overflow: hidden;
}

.switch-field input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}

.switch-field label,
#querybutton,
.querybutton,
.afi-selector {
  background-color: #e4e4e4;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  padding: 8px 45px;
  margin-right: -1px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.1s ease-in-out;
}

.querybutton.selectable:hover,
#querybutton.selectable:hover {
  cursor: pointer;
  background-color: var(--select-color);
  box-shadow: none;
}

#querybuttonmsg {
  color: red;
  font-size: 15px;
  font-family: "Courier New", Courier, monospace;
}

.querybutton.selectable,
#querybutton.selectable,
.switch-field input:checked + label {
  background-color: #c1ddb1;
}

.querybutton.selectable:active,
#querybutton.selectable:active {
  background-color: #88ca62;
}

.switch-field label:first-of-type {
  border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
  border-radius: 0 4px 4px 0;
}

#tracerouteplaceholder {
  margin-top: 10px;
}

#traceresultshint {
  background-color: black;
  color: #d7f626;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow: scroll;
  padding-top: 10px;
  padding-left: 10px;
}

#traceresults {
  background-color: black;
  color: var(--data-color);
  white-space: pre-wrap;
  word-wrap: break-word;
  min-height: 50em;
  overflow: scroll;
  padding: 10px;
}

.loading {
  position: relative;
  animation-name: loading;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  width: max-content;
  font-size: 20px;
  height: max-content;
  margin: 0 10px;
}

.probe-name {
  word-break: break-word;
}

tr.selected,
#probe_table tbody tr.selected:hover {
  background-color: var(--select-color-active);
  color: white;
}

.visibility-panel {
  font-size: 14px;
}

.visibility-summary {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 4px;
}

.visibility-summary-line {
  position: relative;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  min-height: 22px;
}

.visibility-summary-pct {
  position: absolute;
  right: 0;
  top: 0;
}

.visibility-orgname {
  display: none;
}

.visibility-table {
  margin: 0 auto;
}

.visibility-table th,
.visibility-table td {
  font-size: 14px;
}

.visibility-table th {
  white-space: nowrap;
}

@keyframes loading {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

.dns-record-board {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.dns-record-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 0 4px;
}

.dns-record-card h3 {
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 6px;
  padding-left: 4px;
  border-bottom: 1px solid var(--hurricane-blue);
}

.dns-record-card-wide {
  grid-column: 1 / -1;
}

.dns-record-kicker {
  display: inline-block;
  margin: 0 0 3px 4px;
  padding: 0;
  background: transparent;
  color: #5a6186;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dns-record-grid {
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 4px 12px;
  align-items: start;
  padding-left: 6px;
}

.dns-record-label {
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.dns-record-value {
  color: #000000;
  font-size: 14px;
  line-height: 1.2;
}

.dns-record-mono {
  font-family: "Courier New", Courier, monospace;
}

.dns-record-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  padding-left: 6px;
}

.dns-record-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hurricane-blue);
  font-size: 14px;
  line-height: 1.2;
  text-decoration: underline;
}

.dns-record-pill strong {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #000000;
  font-size: 12px;
  font-weight: 400;
}

.dns-record-pill-split {
  justify-content: flex-start;
}

.dns-record-pill-ip {
  font-family: "Courier New", Courier, monospace;
}

.dns-record-stack {
  display: grid;
  gap: 8px;
  padding-left: 6px;
}

.dns-record-text {
  padding: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  color: #000000;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.dns-record-empty {
  border: 0;
  padding: 8px 6px;
  background: transparent;
  color: #444444;
  text-align: left;
}

table {
  border-collapse: collapse;
  border: 1px solid #666666;
}

td,
th {
  padding: 5px;
  border: 1px solid #666666;
  text-align: left;
  vertical-align: top;
}

.nowrap {
  white-space: nowrap;
}

.lazy-panel,
.stats-panel {
  margin-bottom: 12px;
}

.stats-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stats-label {
  font-weight: 700;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #cccccc;
  border-top-color: var(--hurricane-blue);
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
}

.certs-note {
  margin-top: 10px;
}

.preview-certs {
  text-align: center;
}

.preview-certs .certs-kicker,
.preview-certs .certs-results-kicker {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #222222;
  font-family: monospace;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
}

.preview-certs .stats-panel {
  margin: 0 auto 20px;
  max-width: none;
  width: calc(100% - 40px);
  padding: 18px 20px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: #f5f5f5;
  box-sizing: border-box;
}

.preview-certs .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.preview-certs .stats-grid > div {
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
}

.preview-certs .stats-label {
  color: var(--hurricane-blue);
  font-size: 17px;
  font-weight: 700;
}

.preview-certs .certs-heading {
  margin: 0 0 10px;
  color: #111111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.preview-certs .certs-query-time {
  margin: 10px 0 12px;
  color: var(--hurricane-blue);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.preview-certs #results,
.preview-certs #ipResults {
  margin-top: 10px;
}

.preview-certs .certs-results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.preview-certs table {
  width: 100%;
}

.preview-certs th {
  text-align: center;
}

.preview-certs td {
  text-align: left;
}

.preview-certs .cert-status {
  font-weight: 700;
}

.preview-certs .cert-status.valid {
  color: #2fad4b;
}

.preview-certs .cert-status.expired {
  color: #e64150;
}

.preview-certs .cert-results-summary {
  color: var(--hurricane-blue);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.preview-certs .cert-issuer {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.preview-certs .cert-serial,
.preview-certs .cert-value-mono,
.preview-certs .field-offset,
.preview-certs .hex-offset {
  font-family: monospace;
}

.preview-certs .cert-serial {
  color: #999999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.preview-certs .details-content {
  padding: 16px;
  background-color: #f9f9f9;
}

.preview-certs .cert-details-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px;
  font-size: 12px;
}

.preview-certs .cert-label {
  font-weight: 700;
  color: #000066;
}

.preview-certs .cert-viz-loading,
.preview-certs .cert-viz-error {
  padding: 14px;
  text-align: left;
}

.preview-certs .cert-viz-error {
  color: #b00020;
}

.preview-certs .cert-viz-container {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #ffffff;
}

.preview-certs .cert-viz-header {
  padding: 14px 16px;
  border-bottom: 1px solid #cccccc;
  background-color: #e3f2fd;
}

.preview-certs .cert-viz-title,
.preview-certs .cert-fields-title,
.preview-certs .cert-hex-title {
  margin: 0;
  color: #111111;
  font-weight: 600;
}

.preview-certs .cert-viz-title {
  font-size: 18px;
  color: #1565c0;
  text-transform: capitalize;
}

.preview-certs .cert-viz-body {
  display: flex;
  height: 600px;
}

.preview-certs .cert-fields-panel,
.preview-certs .cert-hex-panel {
  border: 0;
  background: #ffffff;
  padding: 16px;
}

.preview-certs .cert-fields-list,
.preview-certs .cert-hex-content {
  margin-top: 0;
}

.preview-certs .cert-fields-panel {
  flex: 0 1 52%;
  border-right: 1px solid #e3e3e3;
  overflow-y: auto;
}

.preview-certs .cert-fields-title,
.preview-certs .cert-hex-title {
  margin-bottom: 8px;
  text-align: left;
  text-decoration: none;
}

.preview-certs .cert-fields-list {
  font-size: 13px;
}

.preview-certs .cert-hex-panel {
  width: 560px;
  flex: 0 0 560px;
  padding: 16px 0 16px 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

.preview-certs .field-btn {
  padding: 4px;
  width: 100%;
  border-radius: 4px;
  background: transparent;
  border: none;
  color: #111111;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.preview-certs .field-btn:hover {
  background-color: #e3f2fd;
}

.preview-certs .field-btn-highlighted,
.preview-certs .field-btn-highlighted:hover {
  background-color: #ffeb3b;
}

.preview-certs .field-name {
  font-weight: 500;
}

.preview-certs .field-value {
  color: #666666;
  margin-left: 8px;
  white-space: pre-line;
}

.preview-certs .field-offset {
  font-size: 11px;
  color: #999999;
  margin-left: 8px;
}

.preview-certs .cert-hex-content {
  font-family: monospace;
  font-size: 11px;
  line-height: 1.4;
  min-width: 0;
  padding-right: 16px;
}

.preview-certs .hex-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  margin-bottom: 4px;
  min-width: 0;
}

.preview-certs .hex-bytes,
.preview-certs .hex-ascii {
  font-family: monospace;
  flex-shrink: 0;
}

.preview-certs .hex-offset {
  width: 64px;
  color: #999999;
  margin-right: 16px;
  flex-shrink: 0;
}

.preview-certs .hex-bytes {
  display: inline-flex;
  margin-right: 16px;
  gap: 4px;
}

.preview-certs .hex-ascii {
  display: inline-flex;
  white-space: pre;
  gap: 0;
}

.preview-certs .byte-btn,
.preview-certs .ascii-btn {
  padding: 0;
  margin-right: 0;
  background: transparent;
  border: none;
  color: #222222;
  cursor: pointer;
  font-family: monospace;
  font-size: 11px;
  line-height: 1.2;
  flex: 0 0 auto;
  text-align: center;
}

.preview-certs .byte-btn {
  width: 2ch;
}

.preview-certs .ascii-btn {
  width: 1ch;
}

.preview-certs .byte-btn:hover,
.preview-certs .ascii-btn:hover {
  background-color: #dddddd;
}

.preview-certs .byte-btn.selected,
.preview-certs .ascii-btn.selected {
  background-color: #ffeb3b;
  font-weight: 700;
}

.preview-certs .byte-btn:disabled,
.preview-certs .ascii-btn:disabled {
  color: #cccccc;
}

@media (max-width: 1100px) {
  .preview-certs .cert-viz-body {
    display: block;
    height: auto;
  }

  .preview-certs .cert-hex-panel {
    width: auto;
    flex: 1 1 auto;
    padding-right: 16px;
  }

  .preview-certs .cert-fields-panel {
    border-right: 0;
    border-bottom: 1px solid #cccccc;
  }
}

.diagnostics-dashboard {
  color: #111111;
  font-size: 14px;
  max-width: 1180px;
  padding: 10px;
}

.diagnostics-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.diagnostics-kicker {
  color: var(--hurricane-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.diagnostics-header h2 {
  color: var(--hurricane-blue);
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.diagnostics-status {
  align-items: center;
  border: 1px solid var(--hurricane-blue);
  display: flex;
  gap: 7px;
  padding: 5px 8px;
}

.diagnostics-dot {
  background-color: #b00020;
  border-radius: 50%;
  display: inline-block;
  height: 9px;
  width: 9px;
}

.diagnostics-dot.is-ok {
  background-color: #008000;
}

.diagnostics-cards,
.diagnostics-grid {
  display: grid;
  gap: 12px;
}

.diagnostics-cards {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  margin-bottom: 12px;
}

.diagnostics-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.diagnostics-inline-form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.diagnostics-inline-form-stacked input {
  min-width: 220px;
}

.diagnostics-inline-form input,
.diagnostics-inline-form select {
  border: 1px solid #bbbbd8;
  font: inherit;
  padding: 5px 6px;
}

.diagnostics-card,
.diagnostics-panel {
  border: 1px solid #b8b8d6;
  background-color: #ffffff;
  padding: 10px;
}

.diagnostics-expandable-panel {
  position: relative;
}

.diagnostics-expand-toggle {
  background-color: #f4f6fd;
  border: 1px solid var(--hurricane-blue);
  color: var(--hurricane-blue);
  cursor: pointer;
  font: inherit;
  padding: 4px 8px;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
}

.diagnostics-expandable-panel.is-expanded {
  bottom: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  left: 24px;
  margin: 0;
  max-height: calc(100vh - 48px);
  overflow: auto;
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 1200;
}

body.diagnostics-has-expanded-panel::before {
  background: rgba(0, 0, 0, 0.18);
  content: "";
  inset: 0;
  position: fixed;
  z-index: 1100;
}

.diagnostics-label,
.diagnostics-meta {
  color: #4f4f66;
  font-size: 12px;
}

.diagnostics-value {
  color: var(--hurricane-blue);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  margin: 5px 0;
}

.diagnostics-bar,
.diagnostics-bar-track {
  background-color: #eeeeee;
  display: block;
  overflow: hidden;
}

.diagnostics-bar {
  height: 7px;
  margin-bottom: 6px;
}

.diagnostics-bar span,
.diagnostics-bar-track span {
  background-color: var(--hurricane-blue);
  display: block;
  height: 100%;
}

.diagnostics-panel h3,
.diagnostics-details summary {
  color: var(--hurricane-blue);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.diagnostics-chart {
  display: grid;
  gap: 6px;
}

.diagnostics-bar-row {
  align-items: center;
  background: transparent;
  border: 0;
  color: #111111;
  cursor: default;
  display: grid;
  font: inherit;
  gap: 8px;
  grid-template-columns: minmax(160px, 1fr) minmax(160px, 2fr) 42px;
  text-align: left;
}

.diagnostics-bar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diagnostics-bar-track {
  height: 10px;
}

.diagnostics-bar-value {
  color: var(--hurricane-blue);
  font-weight: 700;
  text-align: right;
}

.diagnostics-details {
  margin-top: 12px;
}

.diagnostics-settings {
  margin-top: 12px;
}

.diagnostics-settings-head,
.diagnostics-settings-footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.diagnostics-settings-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.diagnostics-settings-actions button,
.diagnostics-settings-footer button {
  background-color: var(--hurricane-blue);
  border: 1px solid var(--hurricane-blue);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  padding: 6px 10px;
}

.diagnostics-inline-form button,
.diagnostics-action-button,
.diagnostics-policy-item button {
  background-color: #f4f6fd;
  border: 1px solid var(--hurricane-blue);
  color: var(--hurricane-blue);
  cursor: pointer;
  font: inherit;
  padding: 5px 8px;
}

.diagnostics-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.diagnostics-settings-actions select,
.diagnostics-settings-footer input[type="checkbox"],
.diagnostics-setting input,
.diagnostics-setting select {
  font: inherit;
}

.diagnostics-settings-grid {
  display: grid;
  gap: 10px 12px;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  margin-top: 12px;
}

.diagnostics-setting {
  border: 1px solid #dcdcf0;
  display: grid;
  gap: 4px;
  padding: 8px;
}

.diagnostics-setting-label {
  color: var(--hurricane-blue);
  font-weight: 700;
}

.diagnostics-setting-desc {
  color: #4f4f66;
  font-size: 12px;
  line-height: 1.35;
}

.diagnostics-setting input,
.diagnostics-setting select {
  border: 1px solid #bbbbd8;
  padding: 5px 6px;
}

.diagnostics-policy-grid {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.diagnostics-policy-card {
  border: 1px solid #dcdcf0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 10px;
}

.diagnostics-policy-list {
  border: 1px solid #dcdcf0;
  flex: 1 1 auto;
  max-height: 360px;
  min-height: 220px;
  overflow-y: auto;
  padding: 8px;
}

.diagnostics-policy-item {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 6px;
}

.diagnostics-policy-item code {
  overflow-wrap: anywhere;
}

.diagnostics-pager {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}

.diagnostics-pager button {
  background-color: #f4f6fd;
  border: 1px solid var(--hurricane-blue);
  color: var(--hurricane-blue);
  cursor: pointer;
  font: inherit;
  padding: 4px 8px;
}

.diagnostics-pager button:disabled {
  cursor: default;
  opacity: 0.45;
}

.diagnostics-table {
  width: 100%;
}

.diagnostics-table td,
.diagnostics-table th {
  font-size: 12px;
  padding: 4px 5px;
}

#rl-raw {
  font-size: 12px;
  line-height: 1.25;
  overflow-x: auto;
  white-space: pre;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#footer {
  color: #666666;
  font-size: 10px;
  margin-bottom: 10px;
  text-align: center;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-width: 950px;
}
