.status-page {
    margin: 0;
    background: #fff;
    color: #333;
    font: 16px/1.5 Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.status-page * { box-sizing: border-box; }

.status-page a { color: #3498db; text-decoration: none; }

.status-page a:hover { text-decoration: underline; }

.status-page :focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.status-page h1,
.status-page h2,
.status-page h3,
.status-page p { margin-top: 0; }

.skip-link {
    position: absolute;
    left: 16px;
    top: 0;
    transform: translateY(-120%);
    background: #111;
    color: #fff;
    padding: 8px 12px;
    z-index: 5;
}

.skip-link:focus { transform: none; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.status-wrap {
    width: min(940px, calc(100% - 40px));
    margin: 0 auto;
}

.status-page main.status-wrap { padding: 28px 0 56px; }

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

.status-brand { display: inline-flex; color: inherit; }

.status-brand img { display: block; width: auto; height: 32px; }

.status-header__actions {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.status-locale { display: flex; gap: 2px; }

.status-locale form { margin: 0; }

.status-locale button {
    border: 0;
    background: transparent;
    color: #777;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.status-locale button[aria-current="true"] {
    color: #222;
    background: #f3f3f3;
}

.status-subscribe {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.status-subscribe > summary {
    display: inline-block;
    background: #3498db;
    color: #fff;
    border-radius: 4px;
    padding: 10px 15px 9px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.status-subscribe > summary::-webkit-details-marker { display: none; }

.status-subscribe > summary:hover { background: #2d89c5; }

.status-subscribe__panel {
    width: min(320px, calc(100vw - 48px));
    margin-top: 8px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 8%);
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.status-subscribe__panel p { margin: 0 0 8px; }

.status-banner {
    margin: 0;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
}

.status-banner--operational { background: #2fcc66; color: #fff; }

.status-banner--degraded { background: #f1c40f; color: #333; }

.status-banner--outage { background: #e74c3c; color: #fff; }

.status-about { margin-top: 56px; }

.status-about h2,
.status-incidents h2 {
    margin: 0 0 8px;
    color: #222;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.status-about p {
    margin: 0;
    max-width: 640px;
    color: #8d8d8d;
    font-size: 16px;
}

.status-history-note {
    margin: 48px 0 8px;
    color: #8d8d8d;
    font-size: 14px;
    text-align: right;
}

.status-board {
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    background: #fff;
}

.status-group + .status-group { border-top: 1px solid #ededed; }

.status-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px 8px;
    cursor: pointer;
    list-style: none;
}

.status-group > summary::-webkit-details-marker { display: none; }

.status-group > summary:hover { background: #fafafa; }

.status-group__name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.status-group h2,
.status-component h3 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
}

.status-component h3 { font-weight: 400; }

.status-disclosure {
    position: relative;
    width: 14px;
    height: 14px;
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    flex: none;
}

.status-disclosure::before,
.status-disclosure::after {
    content: "";
    position: absolute;
    background: #6b6b6b;
    border-radius: 1px;
}

.status-disclosure::before {
    width: 8px;
    height: 1.5px;
    left: 2px;
    top: 5px;
}

.status-disclosure::after {
    width: 1.5px;
    height: 8px;
    left: 5px;
    top: 2px;
}

.status-group[open] > summary .status-disclosure::after { content: none; }

.status-state {
    flex: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.status-state--operational { color: #2fcc66; }

.status-state--degraded { color: #b8860b; }

.status-state--outage { color: #e74c3c; }

.status-uptime { padding: 0 16px 16px; }

.status-uptime__days {
    display: flex;
    align-items: stretch;
    gap: 3px;
    height: 34px;
}

.status-day {
    flex: 1 1 0;
    min-width: 1px;
    border-radius: 1px;
}

.status-day--operational { background: #2fcc66; }

.status-day--degraded { background: #f1c40f; }

.status-day--outage { background: #e74c3c; }

.status-day:hover { filter: brightness(0.92); }

.status-scale {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: #a0a0a0;
    font-size: 12px;
    line-height: 1.4;
}

.status-scale__rule {
    flex: 1;
    height: 1px;
    background: #e4e4e4;
}

.status-component {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-top: 1px solid #eee;
}

.status-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    border: 1px solid #c8c8c8;
    border-radius: 50%;
    color: #888;
    font-size: 11px;
    line-height: 1;
    vertical-align: 1px;
}

.status-help__tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    width: max-content;
    max-width: 240px;
    padding: 8px 10px;
    background: #333;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    z-index: 3;
}

.status-help:hover .status-help__tip,
.status-help:focus-within .status-help__tip {
    opacity: 1;
    visibility: visible;
}

.status-incidents { margin-top: 56px; }

.status-incident { margin-top: 28px; }

.status-incident h3 {
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
}

.status-incident p {
    margin: 10px 0 0;
    color: #9a9a9a;
    font-size: 15px;
}

.status-footer {
    border-top: 1px solid #eee;
}

.status-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 28px;
    color: #999;
    font-size: 13px;
}

.status-footer a { color: #777; }

@media (max-width: 720px) {
    .status-header { align-items: flex-start; flex-wrap: wrap; }
    .status-header__actions { width: 100%; justify-content: space-between; }
    .status-banner { font-size: 18px; }
    .status-about h2,
    .status-incidents h2 { font-size: 24px; }
    .status-history-note { text-align: left; }
    .status-uptime__days { gap: 1px; height: 28px; }
    .status-scale { gap: 6px; font-size: 11px; }
    .status-group > summary,
    .status-component { align-items: flex-start; }
}

@media print {
    .status-subscribe,
    .status-locale,
    .skip-link { display: none; }
    .status-banner,
    .status-day {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
