.mh-status {
  /* Shared brand tokens come from the live site stylesheet. These values are
     resilient defaults, not a copy of the WordPress stylesheet. */
  font-family: var(--mh-sans, "Segoe UI", Arial, sans-serif);
  color: var(--mh-ink, #08233e);
  background: var(--mh-background, #edf5fa);
  font-size: 16px;
  line-height: 1.6;
  --green: var(--mh-blue, #076a9f);
  --line: var(--mh-border, rgba(8, 35, 62, 0.14));
  --muted: var(--mh-muted, #52697d);
  --danger: #a62535;
}
:where(.mh-status) * {
  box-sizing: border-box;
}
.mh-status {
  margin: 0;
}
:where(.mh-status) button,
:where(.mh-status) input,
:where(.mh-status) select,
:where(.mh-status) textarea {
  font: inherit;
}
:where(.mh-status) a {
  color: var(--mh-blue, #076a9f);
  text-underline-offset: 4px;
}
:where(.mh-status) button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--mh-ink, #08233e);
  border-radius: 7px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 600;
}
:where(.mh-status) button:hover {
  background: var(--mh-background, #edf5fa);
}
:where(.mh-status) button:disabled {
  opacity: 0.55;
  cursor: wait;
}
:where(.mh-status) button.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
:where(.mh-status) button.danger {
  color: var(--danger);
}
:where(.mh-status) :focus-visible {
  outline: 3px solid #236dc4;
  outline-offset: 3px;
}
:where(.mh-status) .skip {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px;
  background: #fff;
  z-index: 20;
}
:where(.mh-status) .skip:focus {
  top: 10px;
}
:where(.mh-status) .shell {
  display: flex;
  min-height: 100vh;
}
:where(.mh-status) .sidebar {
  background: #fff;
  width: 240px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
:where(.mh-status) .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
  color: var(--mh-ink, #08233e);
  letter-spacing: 0.4px;
}
:where(.mh-status) .brand small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.6px;
  margin-top: 6px;
}
:where(.mh-status) .brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
:where(.mh-status) nav {
  margin-top: 45px;
  display: grid;
  gap: 7px;
}
:where(.mh-status) nav button {
  display: flex;
  text-align: left;
  gap: 14px;
  border: 0;
  font-weight: 500;
  padding: 13px 15px;
  color: var(--mh-muted, #52697d);
}
:where(.mh-status) nav button[aria-current="page"] {
  background: var(--mh-background, #edf5fa);
  color: var(--mh-blue-dark, #04527d);
  font-weight: 700;
}
:where(.mh-status) nav .nav-icon {
  width: 20px;
  font-size: 18px;
}
:where(.mh-status) .sidebar-foot {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
:where(.mh-status) .workspace {
  min-width: 0;
  flex: 1;
}
:where(.mh-status) .topbar {
  min-height: 74px;
  background: var(--mh-white, #fff);
  border-bottom: 1px solid var(--line);
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
:where(.mh-status) .topbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
:where(.mh-status) .live-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #2c8559;
}
:where(.mh-status) .quiet {
  border: 0;
  background: transparent;
  padding: 6px 8px;
  font-size: 12px;
}
:where(.mh-status) main {
  padding: 36px;
  max-width: 1300px;
  margin: 0 auto;
}
:where(.mh-status) .page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
:where(.mh-status) .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 10px;
}
:where(.mh-status) h1 {
  font-family: var(--mh-serif, Georgia, serif);
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 0 0 9px;
  font-weight: 650;
}
:where(.mh-status) h2 {
  font-size: 17px;
  margin: 0 0 16px;
}
:where(.mh-status) h3 {
  font-size: 15px;
  margin: 0 0 7px;
}
:where(.mh-status) .subtitle {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  font-size: 13px;
}
:where(.mh-status) .summary {
  background: var(--mh-warm-light, #faf7f1);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}
:where(.mh-status) .summary-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--mh-ink, #08233e);
}
:where(.mh-status) .summary p {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}
:where(.mh-status) .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
:where(.mh-status) .stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--mh-radius-small, 15px);
  padding: 20px;
}
:where(.mh-status) .stat-label {
  font-size: 12px;
  color: var(--muted);
}
:where(.mh-status) .stat strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  margin: 11px 0;
}
:where(.mh-status) .stat small {
  color: var(--muted);
  font-size: 12px;
}
:where(.mh-status) .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 16px;
}
:where(.mh-status) .section-head h2 {
  margin: 0;
}
:where(.mh-status) .service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
:where(.mh-status) .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--mh-radius-small, 15px);
  padding: 22px;
}
:where(.mh-status) .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
:where(.mh-status) .card-name {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 650;
}
:where(.mh-status) .card small {
  color: var(--muted);
  font-size: 12px;
}
:where(.mh-status) .card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 20px;
  margin-top: 18px;
  border-top: 1px solid var(--mh-surface, #f7fbfd);
  font-size: 12px;
  color: var(--muted);
}
:where(.mh-status) .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 5px 8px;
  background: var(--mh-surface, #f7fbfd);
  color: #506359;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
:where(.mh-status) .badge.UP {
  background: #e8f3eb;
  color: #226540;
}
:where(.mh-status) .badge.DOWN {
  background: #fcecef;
  color: #a22535;
}
:where(.mh-status) .badge.DEGRADED {
  background: #fff3da;
  color: #79510a;
}
:where(.mh-status) .badge.MAINTENANCE {
  background: #e9effc;
  color: #3c5897;
}
:where(.mh-status) .empty {
  text-align: center;
  padding: 45px 20px;
  background: #fff;
  border: 1px dashed var(--mh-border-strong, rgba(8, 35, 62, 0.23));
  border-radius: 10px;
  color: var(--muted);
}
:where(.mh-status) .empty h2 {
  color: var(--mh-ink, #08233e);
  margin-top: 14px;
}
:where(.mh-status) .empty-icon {
  font-size: 30px;
}
:where(.mh-status) .actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}
:where(.mh-status) .table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
:where(.mh-status) table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
:where(.mh-status) th {
  text-align: left;
  padding: 14px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--mh-surface, #f7fbfd);
}
:where(.mh-status) td {
  padding: 15px 14px;
  border-top: 1px solid var(--line);
}
:where(.mh-status) td .quiet {
  font-size: 12px;
}
:where(.mh-status) footer {
  padding: 25px 36px;
  color: var(--mh-muted, #52697d);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
:where(.mh-status) #notice {
  margin: 20px 36px 0;
  border: 1px solid #e7bdc2;
  background: #fff0f1;
  color: #8c2033;
  padding: 15px;
  border-radius: 7px;
  font-size: 13px;
}
:where(.mh-status) dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  width: min(680px, calc(100vw - 28px));
  max-height: 90vh;
  color: var(--mh-ink, #08233e);
  box-shadow: 0 25px 100px #1d3d2933;
}
:where(.mh-status) dialog::backdrop {
  background: #16372c66;
}
:where(.mh-status) dialog h2 {
  font-size: 23px;
  margin-bottom: 8px;
}
:where(.mh-status) .dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
:where(.mh-status) .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
:where(.mh-status) label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 16px 0 7px;
}
:where(.mh-status) input,
:where(.mh-status) select,
:where(.mh-status) textarea {
  width: 100%;
  border: 1px solid var(--mh-border-strong, rgba(8, 35, 62, 0.23));
  padding: 11px;
  border-radius: 6px;
  background: white;
  color: var(--mh-ink, #08233e);
  min-width: 0;
}
:where(.mh-status) textarea {
  resize: vertical;
  min-height: 100px;
}
:where(.mh-status) input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}
:where(.mh-status) .field-help {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 7px 0;
}
:where(.mh-status) details {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  margin-top: 18px;
  font-size: 12px;
}
:where(.mh-status) summary {
  cursor: pointer;
  font-weight: 600;
}
:where(.mh-status) pre {
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--mh-surface, #f7fbfd);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 6px;
  max-height: 250px;
  overflow: auto;
}
:where(.mh-status) .stepper {
  display: flex;
  gap: 6px;
  margin: 22px 0;
}
:where(.mh-status) .stepper span {
  height: 4px;
  flex: 1;
  background: var(--line);
  border-radius: 3px;
}
:where(.mh-status) .stepper .active {
  background: var(--mh-blue, #076a9f);
}
:where(.mh-status) .error {
  color: #9c263b;
  background: #fff0f3;
  border-radius: 6px;
  padding: 12px;
  margin: 15px 0;
  font-size: 12px;
}
:where(.mh-status) .success {
  color: #235d3f;
  background: #eaf4ed;
  padding: 12px;
  border-radius: 6px;
  font-size: 12px;
}
:where(.mh-status) .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
:where(.mh-status) .timeline {
  border-left: 2px solid var(--line);
  padding-left: 20px;
  margin: 20px 0;
}
:where(.mh-status) .timeline p {
  font-size: 13px;
  line-height: 1.6;
}
:where(.mh-status) .timeline small {
  font-size: 12px;
  color: var(--muted);
}
:where(.mh-status) .login {
  max-width: 520px;
  margin: 50px auto;
}
.mh-status.public-body {
  background: var(--mh-background, #edf5fa);
}
:where(.mh-status) .public-header {
  max-width: 1030px;
  margin: auto;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
:where(.mh-status) .public-main {
  max-width: 980px;
}
:where(.mh-status) .public-main h1 {
  font-size: 34px;
}
:where(.mh-status) .public-list .card {
  border-radius: 0;
  margin: 0;
  border-top: 0;
}
:where(.mh-status) .public-list .card:first-child {
  border-radius: 9px 9px 0 0;
  border-top: 1px solid var(--line);
}
:where(.mh-status) .public-list .card:last-child {
  border-radius: 0 0 9px 9px;
}
:where(.mh-status) .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
:where(.mh-status) [hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  :where(.mh-status) .sidebar {
    width: 190px;
    padding: 25px 14px;
  }
  :where(.mh-status) main {
    padding: 25px;
  }
  :where(.mh-status) .topbar {
    padding: 14px 25px;
  }
  :where(.mh-status) .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  :where(.mh-status) .card-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 650px) {
  :where(.mh-status) .shell {
    display: block;
  }
  :where(.mh-status) .sidebar {
    height: auto;
    width: 100%;
    position: static;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  :where(.mh-status) .sidebar .brand small,
  :where(.mh-status) .sidebar-foot {
    display: none;
  }
  :where(.mh-status) nav {
    display: flex;
    overflow-x: auto;
    margin: 18px -2px 0;
    gap: 3px;
  }
  :where(.mh-status) nav button {
    padding: 10px 8px;
    font-size: 12px;
    display: block;
    white-space: nowrap;
  }
  :where(.mh-status) nav .nav-icon {
    display: none;
  }
  :where(.mh-status) .topbar {
    padding: 12px 16px;
    flex-wrap: wrap;
    font-size: 12px;
    min-height: 55px;
  }
  :where(.mh-status) .topbar > div {
    gap: 5px;
  }
  :where(.mh-status) main {
    padding: 22px 16px;
  }
  :where(.mh-status) .page-head {
    flex-direction: column;
    gap: 14px;
  }
  :where(.mh-status) h1 {
    font-size: 26px;
  }
  :where(.mh-status) .stats {
    gap: 9px;
  }
  :where(.mh-status) .stat {
    padding: 15px;
  }
  :where(.mh-status) .stat strong {
    font-size: 24px;
  }
  :where(.mh-status) .service-grid,
  :where(.mh-status) .split,
  :where(.mh-status) .form-grid {
    grid-template-columns: 1fr;
  }
  :where(.mh-status) .summary {
    padding: 18px;
    gap: 12px;
  }
  :where(.mh-status) .summary h2 {
    font-size: 15px;
  }
  :where(.mh-status) .card {
    padding: 18px;
  }
  :where(.mh-status) .card-head {
    flex-direction: row;
  }
  :where(.mh-status) .card-meta {
    flex-wrap: wrap;
  }
  :where(.mh-status) .badge {
    font-size: 12px;
  }
  :where(.mh-status) .card-name {
    font-size: 14px;
  }
  :where(.mh-status) #notice {
    margin: 15px 16px;
  }
  :where(.mh-status) footer {
    padding: 20px 16px;
    font-size: 12px;
    gap: 15px;
  }
  :where(.mh-status) dialog {
    padding: 22px;
  }
  :where(.mh-status) .public-header {
    padding: 23px 16px;
  }
  :where(.mh-status) .public-main h1 {
    font-size: 28px;
  }
}

/* Local layout and health semantics; the shared stylesheet owns the brand. */
:where(.mh-status) .public-header {
  border-bottom: 1px solid var(--line);
}
:where(.mh-status) .public-main .page-head {
  margin-top: 12px;
}
:where(.mh-status) .card,
:where(.mh-status) .stat {
  box-shadow: var(--mh-shadow, 0 16px 40px rgba(16, 50, 77, 0.065));
}
:where(.mh-status) footer {
  flex-wrap: wrap;
  line-height: 1.8;
}
:where(.mh-status) button {
  min-height: 44px;
}
:where(.mh-status) .public-header > a:last-child {
  padding: 10px 0;
}
