/* Single-column layout for the public status page. */
html.status-layout.public-light-background body:has(main.official-status-page),
html.status-layout.public-light-background main.official-status-page {
  background: #fff !important;
}
.status-layout main.official-status-page {
  padding: 36px 16px 56px;
}
.status-column {
  max-width: 672px;
  margin: 0 auto;
  color: #23292d;
  --frame: #f4f5f5;
  --line: #e9ebeb;
  --inset: 16px;
}
.status-column .official-status-overview,
.status-column #gateway-status,
.status-column #official-status-content,
.status-column .gateway-incidents-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.status-column .official-status-overview h1 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}
.status-column .official-status-banner {
  padding: 16px 20px;
  border: 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
}
.status-column .official-status-banner[data-status=operational] {background: #d9f7e9;}
.status-column #gateway-status,
.status-column #official-status-content {
  margin-top: 24px;
  padding: 0 4px 4px;
  background: var(--frame);
  border-radius: 12px;
}
html.status-layout .official-status-page .status-column .status-list-heading {
  margin: 0;
  padding: 13px var(--inset);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}
.status-column .gateway-status-card,
.status-column .oai-status-combined {
  background: #fff;
  border: 0;
  box-shadow: none;
}
.status-column .gateway-status-card {padding: var(--inset); border-radius: 8px;}
.status-column .gateway-status-card::after {display: none;}
.status-column .gateway-status-top {align-items: center; margin-bottom: 10px;}
html.status-layout .status-column h2#gateway-status-title,
.status-column .oai-status-combined .oai-status-meta .oai-status-inline-title {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}
.status-column .gateway-sub {margin-top: 2px;}
.status-column .gateway-records {border: 0; padding-top: 0;}
.status-column .gateway-records-head {margin-bottom: 6px;}
.status-column .gateway-history,
.status-column .oai-status-page .oai-status-bars {
  height: 18px;
  gap: 2px;
}
.status-column .gateway-history {
  background: repeating-linear-gradient(90deg,#eef1f3 0,#eef1f3 calc((100% + 2px)/90 - 2px),transparent calc((100% + 2px)/90 - 2px),transparent calc((100% + 2px)/90));
}
.status-column .gateway-history button {height: 18px; min-height: 0;}
.status-column .gateway-history button[data-status="operational"],
.status-column .oai-status-bars > span[data-status="operational"],
.status-column .gateway-legend i[data-k="ok"] {background-color: #22c55e;}
.status-column .gateway-status-meta,
.status-column .oai-status-dates {margin: 5px 0 0;}
.status-column .gateway-status-footer {
  margin-top: 8px;
  padding-top: 0;
  border: 0;
}
.status-column .oai-status-combined {padding: 0; border-radius: 8px;}
.status-column .oai-status-combined .oai-status-page,
.status-column .oai-status-combined .oai-status-page + .oai-status-page {
  margin: 0;
  padding: 13px var(--inset);
  border-top: 1px solid var(--line);
}
.status-column .oai-status-combined .oai-status-page:first-child {border-top: 0;}
.status-column .oai-status-meta {margin-bottom: 5px; gap: 6px 12px;}
.status-column .oai-status-foot {
  margin-top: 5px;
  padding-top: 0;
  border-top: 0;
}
.status-column .oai-status-page .oai-status-foot,
.status-column .oai-status-page .oai-status-dates {font-size: 12px; flex-wrap: nowrap;}
.status-column .oai-status-dates > :last-child {text-align: right;}
.status-column .oai-status-dates time {white-space: nowrap;}
@media (max-width: 400px) {
  .status-column .oai-status-dates time {display: block;}
}
.official-status-page .status-column .official-status-source-note,
.official-status-page .status-column .oai-status-combined .official-status-source-note.is-in-card {
  width: auto;
  margin: 0;
  padding: 9px var(--inset);
  border-top: 1px solid var(--line);
  white-space: normal;
  font-size: 12px;
  line-height: 1.6;
}
.status-column .gateway-incidents-wrap {margin-top: 22px; text-align: center;}
.status-column .gateway-incidents-toggle {background: var(--frame); box-shadow: none;}
.status-column .gateway-incidents {border-color: var(--line); border-radius: 10px;}
@media (max-width: 600px) {
  .status-layout main.official-status-page {padding: 24px 12px 36px;}
  .status-column {--inset: 12px;}
  .status-column .official-status-overview h1 {font-size: 21px;}
  .status-column .gateway-status-top {gap: 6px 12px;}
  .status-column .gateway-top-right {width: auto; flex-wrap: wrap; gap: 5px 10px;}
  .status-column .gateway-records-head {flex-wrap: wrap; gap: 3px 8px;}
  .status-column .gateway-history, .status-column .oai-status-page .oai-status-bars {height: 24px;}
  .status-column .gateway-history button {height: 24px;}
  .status-column .gateway-status-meta {flex-wrap: wrap;}
}
.status-layout .public-shell {
  display: flex;
  flex-direction: column;
}
.status-layout .status-credit {
  margin-top: auto;
  padding: 0 16px 28px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #65717a;
}

.status-credit a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  vertical-align: middle;
  text-decoration: none;
}
.status-credit a:hover, .status-credit a:focus-visible {
  color: #24292f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.status-credit a:focus-visible {outline: 2px solid currentColor; outline-offset: 3px;}

.status-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.status-home {display: inline-flex; align-items: center; min-height: 36px;}
.status-home img {display: block; width: 128px; height: auto;}
.status-tools {display: flex; gap: 8px;}
.status-tools[hidden], .status-home .status-logo-dark, .status-control .status-moon {display: none;}
.status-control {
  display: grid;
  place-items: center;
  position: relative;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  border: 1px solid #dfe1e4;
  border-radius: 8px;
  color: #252b35;
  background: #fff;
}
.status-control {padding: 0; cursor: pointer;}
.status-control:hover, .status-control[aria-expanded=true] {background: #f5f5f5;}
.status-control:focus-visible, .status-home:focus-visible {outline: 2px solid #6881e2; outline-offset: 3px;}
.status-picker {position: relative;}
.status-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 4px);
  right: 0;
  width: 128px;
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px #0002;
  color: #222;
}
.status-menu[hidden] {display: none;}
.status-menu button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 32px;
  padding: 4px 8px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  text-align: start;
  cursor: pointer;
}
.status-menu svg {width: 16px; height: 16px; color: #687078;}
.status-menu button:is([aria-checked=true],:hover,:focus-visible) {background: #f4f4f4;}
.status-menu button:focus-visible {outline: 1px solid currentColor; outline-offset: -1px;}
[data-status-theme=dark] .status-menu {background: #20262c; border-color: #46515c; color: #e6ebef;}
[data-status-theme=dark] .status-menu svg {color: #b1bcc6;}
[data-status-theme=dark] .status-menu button:is([aria-checked=true],:hover,:focus-visible),
[data-status-theme=dark] .status-control[aria-expanded=true] {background: #353e46;}
@media (pointer: coarse) {
  .status-control {width: 44px; height: 44px;}
  .status-menu button {min-height: 44px;}
}

html[data-status-theme=dark] {
  color-scheme: dark;
  --canvas: #111519;
  --surface: #1c2228;
  --text: #e6ebef;
  --secondary: #b1bcc6;
  background: var(--canvas);
}
[data-status-theme=dark] :is(body,.public-shell,main.official-status-page) {background: var(--canvas); color: var(--text);}
[data-status-theme=dark] .status-column {--frame: #252c32; --line: #384149; color: var(--text);}
[data-status-theme=dark] .status-home .status-logo-dark,
[data-status-theme=dark] .status-control .status-moon {display: block;}
[data-status-theme=dark] .status-home .status-logo-light,
[data-status-theme=dark] .status-control .status-sun {display: none;}
[data-status-theme=dark] :is(.status-control,.gateway-status-card,.oai-status-combined,.gateway-incidents,.gateway-day-picker select,.gateway-history-tip,.oai-status-tooltip,.gateway-incidents-toggle) {
  background: var(--surface); color: var(--text); border-color: #46515c;
}
[data-status-theme=dark] :is(.status-control:hover,.gateway-incidents li,.gateway-incidents-toggle:hover) {background: #303941; color: var(--text);}
[data-status-theme=dark] .status-column :is(h2,h3,.status-list-heading,.gateway-incidents-head,.gateway-records-head,.gateway-day-picker) {color: var(--text);}
[data-status-theme=dark] :is(.gateway-status-meta,.gateway-legend,.gateway-uptime,.gateway-sub,.gateway-status-note,.official-status-source-note,.oai-status-meta,.oai-status-foot,.oai-status-note,.oai-status-tooltip strong,.gateway-incident-long,.gateway-incidents time,.gateway-incidents-empty,.status-credit) {color: var(--secondary);}
[data-status-theme=dark] .status-column .oai-status-combined .oai-status-inline-title {color: var(--text);}
[data-status-theme=dark] .status-column a {color: #a9bcff;}
[data-status-theme=dark] .status-credit a:hover {color: var(--text);}
[data-status-theme=dark] .status-credit img {filter: invert(1);}
[data-status-theme=dark] .gateway-uptime strong {font-size: 16px; font-weight: 650; color: var(--text);}
[data-status-theme=dark] [data-status=operational] .gateway-uptime strong {color: #82dfbc;}
[data-status-theme=dark] .status-column :is(.official-status-banner,.gateway-state) {background: #303941; color: #ced6dd; border-color: transparent;}
[data-status-theme=dark] .status-column [data-status=operational]:is(.official-status-banner,.gateway-state) {background: #183b30; color: #a0e9c9;}
[data-status-theme=dark] .status-column [data-status=degraded]:is(.official-status-banner,.gateway-state) {background: #40341d; color: #f3d080;}
[data-status-theme=dark] .status-column [data-status=outage]:is(.official-status-banner,.gateway-state) {background: #42292e; color: #ffb2ba;}
[data-status-theme=dark] .status-column .official-status-banner[data-status=maintenance] {background: #24334c; color: #a9caff;}
[data-status-theme=dark] .status-column .gateway-history {background: repeating-linear-gradient(90deg,#333e47 0,#333e47 calc((100% + 2px)/90 - 2px),transparent calc((100% + 2px)/90 - 2px),transparent calc((100% + 2px)/90));}
[data-status-theme=dark] :is(.gateway-history button,.oai-status-bars span)[data-status=unknown] {background: #596672;}
[data-status-theme=dark] .oai-status-tooltip span {color: var(--text);}
