:root {
  --bd-bg: #f3f6f8;
  --bd-surface: #ffffff;
  --bd-ink: #111827;
  --bd-muted: #667085;
  --bd-soft: #f8fafc;
  --bd-border: #111;
  --bd-border-soft: #d0d5dd;
  --bd-good: #166534;
  --bd-good-soft: #eef6f0;
  --bd-warn: #7a4f01;
  --bd-warn-soft: #fff8e6;
  --bd-orange: #8a3d13;
  --bd-orange-soft: #fff0e6;
  --bd-red: #6f2f2a;
  --bd-red-soft: #fbf3f2;
  --bd-blue: #31546b;
  --bd-blue-soft: #eef3f8;
  --bd-sidebar: #252b3b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

body.bd-status-body {
  margin: 0;
  min-height: 100vh;
  color: var(--bd-ink);
  background: var(--bd-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.bd-status-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem clamp(.75rem, 3vw, 1.25rem);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: var(--bd-sidebar);
  color: #f8fafc;
}

.bd-status-brand,
.bd-status-nav,
.bd-action-strip {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.bd-status-brand {
  font-weight: 800;
}

.bd-status-logo-lockup {
  display: inline-flex;
  align-items: center;
}

.bd-status-logo-lockup img {
  display: block;
  width: auto;
  height: 34px;
  max-width: clamp(124px, 24vw, 168px);
  object-fit: contain;
}

.bd-status-product {
  border-left: 1px solid rgba(255, 255, 255, .24);
  padding-left: .65rem;
  color: #e9ecef;
  font-size: .9rem;
  line-height: 1;
}

.bd-status-nav {
  color: #d7e4ec;
  font-size: .88rem;
  font-weight: 700;
}

.bd-status-nav a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 32px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.bd-status-nav a:hover {
  border-bottom-color: #fff;
  color: #fff;
}

.bd-admin-login-link {
  min-width: 34px;
  justify-content: center;
  margin-left: .18rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: .55rem;
  color: rgba(248, 250, 252, .72);
  background: rgba(255, 255, 255, .04);
  padding: .3rem .48rem;
}

.bd-admin-login-link span {
  font-size: .78rem;
}

.bd-admin-login-link:hover {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.bd-status-main {
  width: min(1180px, calc(100vw - 1.5rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.bd-status-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100vw - 1.5rem));
  margin: 0 auto;
  padding: 1.25rem 0;
  color: var(--bd-muted);
  border-top: 1px solid var(--bd-border-soft);
  font-size: .84rem;
}

.bd-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #111827;
  font-weight: 900;
}

.bd-footer-brand img {
  display: block;
  width: auto;
  height: 26px;
  max-width: 148px;
  object-fit: contain;
}

.bd-login-shell {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem) 0;
}

.bd-login-panel {
  width: min(100%, 430px);
  border: 1px solid var(--bd-border);
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 .65rem 1.5rem rgba(15, 23, 42, .08);
  padding: clamp(1.25rem, 4vw, 1.75rem);
}

.bd-login-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.bd-login-brand img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 170px;
  object-fit: contain;
}

.bd-login-brand span {
  border-left: 1px solid var(--bd-border-soft);
  padding-left: .75rem;
  color: var(--bd-muted);
  font-size: .9rem;
  font-weight: 800;
}

.bd-login-panel h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.35rem);
  line-height: 1;
}

.bd-login-panel p {
  margin: .6rem 0 1.25rem;
  color: var(--bd-muted);
}

.bd-login-error {
  margin-bottom: 1rem;
  border: 1px solid #e3a4a4;
  border-radius: .65rem;
  background: var(--bd-red-soft);
  color: var(--bd-red);
  padding: .75rem .85rem;
  font-weight: 800;
}

.bd-login-form {
  display: grid;
  gap: .65rem;
}

.bd-login-form label {
  color: #263244;
  font-size: .84rem;
  font-weight: 850;
}

.bd-login-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--bd-border);
  border-radius: .65rem;
  background: #fff;
  color: var(--bd-ink);
  padding: .55rem .75rem;
  font: inherit;
}

.bd-login-form input:focus {
  outline: 3px solid rgba(49, 84, 107, .16);
  outline-offset: 0;
}

.bd-login-submit {
  justify-content: center;
  margin-top: .4rem;
}

.bd-status-work-shell,
.std-panel,
.bd-page-title,
.bd-card {
  border: 1px solid var(--bd-border);
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 .45rem 1.2rem rgba(15, 23, 42, .06);
}

.bd-status-work-shell {
  overflow: hidden;
}

.std-work-shell {
  border: 1px solid var(--bd-border);
  border-radius: .95rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 .45rem 1.2rem rgba(15, 23, 42, .06);
}

.std-work-head {
  padding: .95rem;
  border-bottom: 1px solid var(--bd-border);
}

.std-work-title {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}

.std-work-title h1,
.std-work-title h3 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.std-work-title p {
  margin: .25rem 0 0;
  color: var(--bd-muted);
  line-height: 1.45;
}

.std-module-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--bd-border);
  border-radius: .62rem;
  background: #fff;
  color: #111827;
  font-size: 1.25rem;
  line-height: 1;
  flex: 0 0 auto;
}

.std-work-body {
  display: grid;
  gap: .95rem;
  padding: .95rem;
}

.std-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--bd-border);
  border-radius: .82rem;
  overflow: hidden;
  background: #fff;
}

.std-kpi-strip.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.std-kpi-strip.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.std-kpi-strip.is-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.std-kpi {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  min-width: 0;
  padding: .68rem .78rem;
  border-right: 1px solid var(--bd-border-soft);
}

.std-kpi:last-child {
  border-right: 0;
}

.std-kpi__icon {
  width: 2.05rem;
  height: 2.05rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 1.28rem;
  line-height: 1;
}

.std-kpi__label {
  display: block;
  color: var(--bd-muted);
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.std-kpi__value {
  display: block;
  margin-top: .12rem;
  color: #111827;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.std-kpi__meta {
  display: block;
  margin-top: .12rem;
  color: var(--bd-muted);
  font-size: .72rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.std-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.std-section-title {
  display: flex;
  align-items: center;
  gap: .42rem;
  margin: 0;
  color: #111827;
  font-size: 1.12rem;
  line-height: 1.2;
  font-weight: 800;
}

.std-section-title i {
  color: var(--bd-muted);
  font-size: 1.08em;
  line-height: 1;
}

.std-section-copy {
  margin: .24rem 0 0;
  color: var(--bd-muted);
  line-height: 1.45;
  max-width: 58rem;
}

.std-table-demo {
  border: 1px solid var(--bd-border);
  border-radius: .82rem;
  background: #fff;
  overflow: hidden;
}

.std-table-demo .table {
  width: 100%;
  min-width: 920px;
  margin: 0;
}

.std-table-head th {
  background: #f8fafc;
  color: var(--bd-muted);
}

.std-panel {
  padding: .95rem;
}

.std-panel--flat {
  box-shadow: none;
}

.std-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .95rem;
}

.bd-status-work-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem;
  border-bottom: 1px solid var(--bd-border);
}

.bd-work-title {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.bd-module-title-icon,
.bd-kpi__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  line-height: 1;
  flex: 0 0 auto;
}

.bd-module-title-icon {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--bd-border);
  border-radius: .62rem;
  background: #fff;
  font-size: 1.25rem;
}

.bd-hero h1,
.bd-page-title h1 {
  margin: 0 0 .25rem;
  color: #111827;
  font-size: clamp(1.42rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}

.bd-hero p,
.bd-page-title p,
.bd-card p,
.bd-section-copy {
  margin: 0;
  color: var(--bd-muted);
  line-height: 1.45;
}

.bd-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
}

.bd-kpi {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  min-width: 0;
  padding: .68rem .78rem;
  border-right: 1px solid var(--bd-border-soft);
}

.bd-kpi:last-child {
  border-right: 0;
}

.bd-kpi__icon {
  width: 2.05rem;
  height: 2.05rem;
  font-size: 1.05rem;
  font-weight: 900;
  border-radius: .62rem;
  background: #fff;
  border: 1px solid var(--bd-border-soft);
}

.bd-kpi__icon--operational,
.bd-module-title-icon--operational { background: var(--bd-good-soft); color: var(--bd-good); border-color: #b7d2bd; }
.bd-kpi__icon--degraded,
.bd-module-title-icon--degraded { background: var(--bd-warn-soft); color: var(--bd-warn); border-color: #ead28a; }
.bd-kpi__icon--partial_outage,
.bd-module-title-icon--partial_outage { background: var(--bd-orange-soft); color: var(--bd-orange); border-color: #e2a77b; }
.bd-kpi__icon--major_outage,
.bd-module-title-icon--major_outage { background: var(--bd-red-soft); color: var(--bd-red); border-color: #dbb1ac; }
.bd-kpi__icon--maintenance,
.bd-module-title-icon--maintenance,
.bd-kpi__icon--info { background: var(--bd-blue-soft); color: var(--bd-blue); border-color: #bdccd6; }
.bd-kpi__icon--unknown,
.bd-module-title-icon--unknown,
.bd-kpi__icon--muted { background: var(--bd-soft); color: #475467; border-color: var(--bd-border-soft); }
.bd-kpi__icon--warn { background: var(--bd-warn-soft); color: var(--bd-warn); border-color: #ead28a; }

.bd-kpi__label {
  display: block;
  color: var(--bd-muted);
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.bd-kpi__value {
  display: block;
  margin-top: .12rem;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.bd-page-title,
.bd-section {
  margin-top: 1rem;
  padding: .95rem;
}

.bd-ops-body .bd-status-main {
  width: min(1560px, calc(100vw - 1.5rem));
}

.bd-ops-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: .35rem 0 .85rem;
  border-bottom: 1px solid var(--bd-border-soft);
}

.bd-ops-page-head h1 {
  margin: 0;
  color: #111827;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 850;
}

.bd-ops-page-head p {
  margin: .3rem 0 0;
  color: var(--bd-muted);
  font-size: .9rem;
}

.bd-ops-body .bd-section {
  padding: .85rem 0 0;
}

.bd-page-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: .75rem;
  align-items: start;
}

.bd-page-title > .bd-status-badge,
.bd-page-title > p,
.bd-page-title > .bd-meta,
.bd-page-title > .bd-form {
  grid-column: 2;
}

.bd-page-title-icon {
  grid-row: span 4;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--bd-border);
  border-radius: .62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #111827;
  font-size: 1.25rem;
}

.bd-page-title-icon--operational { background: var(--bd-good-soft); color: var(--bd-good); border-color: #b7d2bd; }
.bd-page-title-icon--degraded { background: var(--bd-warn-soft); color: var(--bd-warn); border-color: #ead28a; }
.bd-page-title-icon--partial_outage { background: var(--bd-orange-soft); color: var(--bd-orange); border-color: #e2a77b; }
.bd-page-title-icon--major_outage { background: var(--bd-red-soft); color: var(--bd-red); border-color: #dbb1ac; }
.bd-page-title-icon--maintenance { background: var(--bd-blue-soft); color: var(--bd-blue); border-color: #bdccd6; }
.bd-page-title-icon--unknown { background: var(--bd-soft); color: #475467; border-color: var(--bd-border-soft); }

.bd-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.bd-section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 1.12rem;
  line-height: 1.2;
  font-weight: 800;
}

.bd-section-heading span,
.bd-section-heading a,
.bd-meta {
  color: var(--bd-muted);
  font-size: .84rem;
}

.bd-status-button,
.std-btn-sample {
  min-height: 36px;
  border: 1px solid var(--bd-border);
  border-radius: .6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  padding: .42rem .72rem;
  font-weight: 800;
  color: #fff;
  background: #111;
  cursor: pointer;
  white-space: nowrap;
}

.bd-status-button--light {
  background: #fff;
  color: #111827;
}

.bd-status-badge,
.std-chip,
.bd-chip {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  max-width: 100%;
  border: 1px solid var(--bd-border);
  border-radius: .5rem;
  background: #fff;
  color: #344054;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.15;
  padding: .24rem .5rem;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.bd-status-badge .mdi,
.bd-chip .mdi,
.bd-table-title .mdi,
.bd-history-title .mdi {
  font-size: 1rem;
  line-height: 1;
  flex: 0 0 auto;
}

.bd-status-badge--operational { background: var(--bd-good-soft); color: var(--bd-good); }
.bd-status-badge--degraded { background: var(--bd-warn-soft); color: var(--bd-warn); }
.bd-status-badge--partial_outage { background: var(--bd-orange-soft); color: var(--bd-orange); }
.bd-status-badge--major_outage { background: var(--bd-red-soft); color: var(--bd-red); }
.bd-status-badge--maintenance { background: var(--bd-blue-soft); color: var(--bd-blue); }
.bd-status-badge--unknown { background: var(--bd-soft); color: #475467; border-color: var(--bd-border-soft); }
.bd-status-badge--investigating,
.bd-status-badge--identified,
.bd-status-badge--monitoring,
.bd-status-badge--minor { background: var(--bd-warn-soft); color: var(--bd-warn); }
.bd-status-badge--resolved,
.bd-status-badge--completed { background: var(--bd-good-soft); color: var(--bd-good); }
.bd-status-badge--scheduled,
.bd-status-badge--in_progress { background: var(--bd-blue-soft); color: var(--bd-blue); }
.bd-status-badge--critical { background: var(--bd-red-soft); color: var(--bd-red); }
.bd-status-badge--major { background: var(--bd-orange-soft); color: var(--bd-orange); }

.bd-component-panel,
.bd-history-list,
.bd-incident-list,
.bd-timeline {
  display: grid;
  gap: .55rem;
}

.bd-component-table {
  border: 1px solid var(--bd-border);
  border-radius: .82rem;
  overflow: hidden;
  background: #fff;
}

.bd-component-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 145px minmax(280px, 420px);
  align-items: center;
  gap: .75rem;
  min-height: 52px;
  padding: .62rem .72rem;
  border-bottom: 1px solid #e2e2e2;
  background: #fff;
}

.bd-component-row:last-child {
  border-bottom: 0;
}

.bd-component-row--operational { box-shadow: inset 4px 0 0 #4f7d5a; }
.bd-component-row--degraded { box-shadow: inset 4px 0 0 #b78512; }
.bd-component-row--partial_outage { box-shadow: inset 4px 0 0 #b4602a; }
.bd-component-row--major_outage { box-shadow: inset 4px 0 0 #8c3b34; }
.bd-component-row--maintenance { box-shadow: inset 4px 0 0 #4b6587; }
.bd-component-row--unknown { box-shadow: inset 4px 0 0 #d0d5dd; }

.bd-component-row:hover,
.bd-history-row:hover {
  background: #f8fafc;
}

.bd-component-name {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: #111827;
  font-weight: 900;
}

.bd-component-name .mdi {
  color: #475467;
  font-size: 1.1rem;
}

.bd-uptime-bars {
  display: grid;
  grid-template-columns: repeat(90, minmax(2px, 1fr));
  gap: 2px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.bd-uptime-bar {
  height: 26px;
  border-radius: 2px;
  background: #e5e7eb;
}

.bd-uptime-bar--operational { background: #4f7d5a; }
.bd-uptime-bar--degraded { background: #b78512; }
.bd-uptime-bar--partial_outage { background: #b4602a; }
.bd-uptime-bar--major_outage { background: #8c3b34; }
.bd-uptime-bar--maintenance { background: #4b6587; }
.bd-uptime-bar--unknown { background: #d0d5dd; }

.bd-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.bd-history-row,
.bd-timeline-item {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .68rem .78rem;
  border: 1px solid var(--bd-border-soft);
  border-radius: .72rem;
  background: #fff;
}

.bd-history-title,
.bd-history-meta,
.bd-table-title,
.bd-empty {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
}

.bd-history-title,
.bd-table-title {
  font-weight: 800;
}

.bd-table-subtle {
  margin-top: .18rem;
  color: var(--bd-muted);
  font-size: .76rem;
  overflow-wrap: anywhere;
}

.bd-mini-ok,
.bd-mini-bad,
.bd-mini-muted {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--bd-border-soft);
  border-radius: .45rem;
  padding: .16rem .45rem;
  font-size: .72rem;
  font-weight: 900;
}

.bd-mini-ok {
  color: var(--bd-good);
  background: var(--bd-good-soft);
}

.bd-mini-bad {
  color: var(--bd-red);
  background: var(--bd-red-soft);
}

.bd-mini-muted {
  color: var(--bd-muted);
  background: #f8fafc;
}

.bd-history-meta {
  justify-content: flex-end;
  color: var(--bd-muted);
  font-size: .84rem;
  flex-wrap: wrap;
}

.bd-timeline-item {
  display: block;
}

.bd-log-row {
  display: grid;
  grid-template-columns: 1fr auto;
}

.bd-log-message {
  grid-column: 1 / -1;
  color: #344054;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .78rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bd-timeline-item p {
  margin: .65rem 0;
  color: var(--bd-ink);
}

.bd-empty {
  padding: .78rem;
  color: var(--bd-muted);
  border: 1px dashed var(--bd-border);
  border-radius: .82rem;
  background: #fff;
  font-weight: 800;
}

.bd-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.bd-form {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}

.bd-form input {
  min-height: 38px;
  flex: 1;
  min-width: 0;
  border: 1px solid var(--bd-border);
  border-radius: .55rem;
  padding: 0 .75rem;
  background: #fff;
}

.bd-status-message {
  margin-bottom: 1rem;
  padding: .72rem;
  border: 1px solid var(--bd-border);
  border-radius: .72rem;
  background: var(--bd-good-soft);
  color: var(--bd-good);
  font-weight: 800;
}

.bd-message-stack {
  margin-top: 1rem;
}

.bd-status-message--error {
  background: var(--bd-red-soft);
  color: var(--bd-red);
}

.bd-status-message--warning {
  background: var(--bd-warn-soft);
  color: var(--bd-warn);
}

.bd-ops-form {
  display: grid;
  gap: .72rem;
  margin-top: .85rem;
}

.bd-ops-form--band {
  border: 1px solid var(--bd-border);
  border-radius: .82rem;
  background: #fff;
  padding: .85rem;
}

.bd-ops-form label,
.bd-check-grid > span {
  display: grid;
  gap: .28rem;
  color: #344054;
  font-size: .76rem;
  font-weight: 850;
}

.bd-ops-form input[type="text"],
.bd-ops-form input[type="datetime-local"],
.bd-ops-form select,
.bd-ops-form textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--bd-border);
  border-radius: .55rem;
  background: #fff;
  color: var(--bd-ink);
  padding: .45rem .6rem;
  font: inherit;
  font-size: .86rem;
}

.bd-ops-form textarea {
  min-height: 84px;
  resize: vertical;
}

.bd-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .62rem;
}

.bd-form-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bd-check-grid {
  display: grid;
  gap: .42rem;
}

.bd-check-grid ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem .6rem;
  margin: 0;
  padding: .62rem;
  border: 1px solid var(--bd-border);
  border-radius: .62rem;
  background: #fff;
  list-style: none;
}

.bd-check-grid li,
.bd-check-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}

.bd-check-grid label,
.bd-check-row label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: #111827;
}

.bd-form-errors {
  border: 1px solid #e3a4a4;
  border-radius: .62rem;
  background: var(--bd-red-soft);
  color: var(--bd-red);
  padding: .55rem .65rem;
  font-size: .8rem;
  font-weight: 800;
}

.bd-ops-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: .82rem;
  overflow: hidden;
}

.bd-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.bd-ops-table th,
.bd-ops-table td {
  padding: .55rem .65rem;
  text-align: left;
  border-bottom: 1px solid #e2e2e2;
  font-size: .84rem;
  vertical-align: top;
  white-space: nowrap;
}

.bd-ops-table td:first-child,
.bd-ops-table td:last-child {
  white-space: normal;
}

.bd-ops-table .bd-status-badge {
  white-space: nowrap;
}

.bd-ops-table th {
  background: #f8fafc;
  color: var(--bd-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .bd-status-header,
  .bd-status-footer,
  .bd-status-work-head,
  .bd-form {
    align-items: stretch;
    flex-direction: column;
  }

  .bd-status-nav,
  .bd-action-strip {
    flex-wrap: wrap;
  }

  .bd-admin-login-link span {
    display: none;
  }

  .bd-kpi-strip,
  .bd-section-grid,
  .std-kpi-strip,
  .std-kpi-strip.is-3,
  .std-kpi-strip.is-5,
  .std-kpi-strip.is-6,
  .std-split-grid {
    grid-template-columns: 1fr;
  }

  .bd-kpi,
  .std-kpi {
    border-right: 0;
    border-bottom: 1px solid var(--bd-border-soft);
  }

  .bd-kpi:last-child,
  .std-kpi:last-child {
    border-bottom: 0;
  }

  .bd-component-row {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  .bd-uptime-bars {
    grid-template-columns: repeat(90, minmax(1px, 1fr));
    gap: 1px;
  }

  .bd-history-row {
    flex-direction: column;
  }

  .bd-history-meta {
    justify-content: flex-start;
  }

  .bd-form-grid,
  .bd-form-grid--two,
  .bd-check-grid ul {
    grid-template-columns: 1fr;
  }
}
