.dc-status-page {
    --bg: #0f1014;
    --bg-deep: #08090c;
    --surface: #13161c;
    --surface-strong: #171a21;
    --surface-soft: #101319;
    --line: #282d36;
    --line-soft: #20242c;
    --text: #f4f5f7;
    --muted: #a0a6b2;
    --muted-2: #737b89;
    --red: #ef2d2d;
    --red-soft: rgba(239, 45, 45, 0.14);
    --green: #31d477;
    --green-soft: rgba(49, 212, 119, 0.13);
    --yellow: #f1c40f;
    --yellow-soft: rgba(241, 196, 15, 0.13);
    --blue: #7186f6;
    --blue-soft: rgba(113, 134, 246, 0.13);
    --purple: #b06cf4;
    --orange: #f2994a;
    --shell: 1500px;
    --radius: 8px;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.dc-status-page,
.dc-status-page *,
.dc-status-page *::before,
.dc-status-page *::after {
    box-sizing: border-box;
}

.dc-status-page {
    color-scheme: dark;
    scroll-behavior: smooth;
}

.dc-status-page {
    min-width: 320px;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 8%, rgba(34, 46, 68, 0.17), transparent 29rem),
        radial-gradient(circle at 88% 45%, rgba(25, 50, 67, 0.12), transparent 32rem),
        var(--bg);
    font-family: Montserrat, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.dc-status-page a {
    color: inherit;
    text-decoration: none;
}

.dc-status-page button,
.dc-status-page input,
.dc-status-page select {
    font: inherit;
}

.dc-status-page img {
    display: block;
    max-width: 100%;
}

.dc-status-page [hidden] {
    display: none !important;
}

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

.dc-status-page :focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.page-shell {
    width: min(var(--shell), calc(100% - 48px));
    margin-inline: auto;
}

/* The forum itself owns the global shell. These rules only remove forum page
   chrome around the status content; they never restyle its header or menus. */
body.dcStatusPage {
    min-width: 320px;
    background:
        radial-gradient(circle at 20% 8%, rgba(34, 46, 68, 0.17), transparent 29rem),
        radial-gradient(circle at 88% 45%, rgba(25, 50, 67, 0.12), transparent 32rem),
        #0f1014;
}

body.dcStatusPage #ipsLayout_header > .main-slider {
    display: none !important;
}

body.dcStatusPage #ipsLayout_body {
    width: 100%;
    max-width: none !important;
    padding: 0;
}

body.dcStatusPage #ipsLayout_contentArea,
body.dcStatusPage #ipsLayout_contentWrapper,
body.dcStatusPage #ipsLayout_mainArea {
    width: 100%;
    padding: 0;
    margin: 0;
}

body.dcStatusPage #ipsLayout_mainArea {
    float: none;
}

body.dcStatusPage #ipsLayout_body .ipsBreadcrumb,
body.dcStatusPage #ipsLayout_body .cAnnouncementsFloat {
    display: none !important;
}

/* Main layout */
.page-shell {
    padding: 46px 0 56px;
}

.status-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.status-intro h1,
.detail-hero h1,
.state-page h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.status-intro h1 {
    color: #9da1aa;
}

.status-intro h1 strong {
    color: #fff;
}

.status-intro > div > p {
    margin: 10px 0 8px;
    color: var(--muted);
    font-size: 15px;
}

.refresh-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: var(--muted-2);
    font-size: 12px;
}

.live-data {
    color: var(--green);
}

.live-data i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(49, 212, 119, 0.1);
}

.outline-action,
.dashboard-panel header a,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    color: #e8eaf0;
    border: 1px solid #303641;
    border-radius: 5px;
    background: #14171d;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.outline-action:hover,
.dashboard-panel header a:hover,
.button:hover {
    color: #fff;
    border-color: #4a5260;
    background: #1a1e25;
}

.latest-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #101319;
}

.latest-strip article {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 15px 18px;
}

.latest-strip article + article {
    border-left: 1px solid var(--line-soft);
}

.latest-strip-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-weight: 800;
}

.latest-strip-release { color: #ff7079; background: var(--red-soft); }
.latest-strip-update { color: #7f93ff; background: var(--blue-soft); }

.latest-strip article > div {
    display: grid;
    min-width: 0;
}

.latest-strip article > div > span {
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.latest-strip a,
.latest-strip strong {
    overflow: hidden;
    color: #f4f5f7;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-strip a:hover {
    color: var(--red);
}

.latest-strip small {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Product grid */
.services-section {
    scroll-margin-top: 20px;
}

.products-heading,
.section-heading,
.compact-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 12px;
}

.products-heading h2,
.section-heading h2,
.dashboard-panel h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
}

.products-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.product-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.product-toolbar label {
    display: flex;
}

.product-toolbar input,
.product-toolbar select {
    height: 42px;
    color: #e9ebef;
    border: 1px solid #303640;
    border-radius: 5px;
    outline: none;
    background: #15181f;
}

.product-toolbar input:focus,
.product-toolbar select:focus {
    border-color: #667080;
    box-shadow: 0 0 0 3px rgba(113, 134, 246, 0.1);
}

.product-toolbar select {
    min-width: 160px;
    padding: 0 34px 0 13px;
}

.search-field {
    position: relative;
    min-width: min(310px, 34vw);
}

.search-field svg {
    position: absolute;
    top: 50%;
    left: 13px;
    z-index: 1;
    fill: none;
    stroke: var(--muted);
    stroke-linecap: round;
    stroke-width: 1.8;
    transform: translateY(-50%);
}

.search-field input {
    width: 100%;
    padding: 0 13px 0 40px;
}

.result-count {
    min-height: 18px;
    margin: 0 0 10px;
    color: var(--muted-2);
    font-size: 13px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.service-card {
    display: flex;
    min-width: 0;
    min-height: 270px;
    padding: 16px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(140deg, #14171d, #101319);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.service-card:hover {
    border-color: #3a414e;
    background: linear-gradient(140deg, #181b22, #11151b);
    transform: translateY(-2px);
}

.card-topline,
.product-identity {
    display: flex;
    align-items: center;
}

.card-topline {
    align-items: flex-start;
    justify-content: space-between;
    min-width: 0;
    gap: 10px;
}

.product-identity {
    min-width: 0;
    gap: 10px;
}

.product-mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 45px;
    height: 45px;
    overflow: hidden;
    color: #fff;
    border: 1px solid #323844;
    border-radius: 10px;
    background: linear-gradient(145deg, #d9262f, #541116);
    font-size: 20px;
    font-weight: 900;
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05);
}

.service-card:nth-child(4n + 1) .product-mark { background: linear-gradient(145deg, #232d4f, #080b17); }
.service-card:nth-child(4n + 2) .product-mark { background: linear-gradient(145deg, #df392e, #5d1613); }
.service-card:nth-child(4n + 3) .product-mark { background: linear-gradient(145deg, #323232, #070707); }
.service-card:nth-child(4n + 4) .product-mark { background: linear-gradient(145deg, #e21c2c, #35060a); }

.product-mark.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-identity h3 {
    overflow: hidden;
    max-width: 160px;
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-identity p {
    overflow: hidden;
    max-width: 170px;
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 3px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.status-dot {
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
}

.status-operational { color: var(--green); border-color: rgba(49, 212, 119, 0.16); background: var(--green-soft); }
.status-developing { color: var(--yellow); border-color: rgba(241, 196, 15, 0.18); background: var(--yellow-soft); }
.status-updating { color: #6ea8ff; border-color: rgba(110, 168, 255, 0.18); background: rgba(110, 168, 255, 0.12); }
.status-maintenance { color: var(--orange); border-color: rgba(242, 153, 74, 0.18); background: rgba(242, 153, 74, 0.12); }
.status-degraded { color: #ffad42; border-color: rgba(255, 173, 66, 0.18); background: rgba(255, 173, 66, 0.12); }
.status-detected { color: #ff5365; border-color: rgba(255, 83, 101, 0.18); background: rgba(255, 83, 101, 0.12); }
.status-offline { color: #9aa1ac; border-color: rgba(154, 161, 172, 0.18); background: rgba(154, 161, 172, 0.1); }

.product-facts {
    display: grid;
    gap: 8px;
    margin: 20px 0 7px;
}

.product-facts div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.product-facts dt {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.product-facts dd {
    overflow: hidden;
    margin: 0;
    color: #e9eaf0;
    font-size: 13px;
    line-height: 1.4;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fact-shield {
    margin-right: 5px;
    color: var(--green);
}

.health-progress {
    width: 100%;
    height: 4px;
    overflow: hidden;
    margin: 2px 0 7px;
    border: 0;
    border-radius: 99px;
    background: #292e37;
    appearance: none;
}

.health-progress::-webkit-progress-bar { background: #292e37; }
.health-progress::-webkit-progress-value { background: var(--green); border-radius: 99px; }
.health-progress::-moz-progress-bar { background: var(--green); border-radius: 99px; }
.health-progress-developing::-webkit-progress-value,
.health-progress-maintenance::-webkit-progress-value { background: var(--yellow); }
.health-progress-developing::-moz-progress-bar,
.health-progress-maintenance::-moz-progress-bar { background: var(--yellow); }
.health-progress-detected::-webkit-progress-value,
.health-progress-offline::-webkit-progress-value { background: var(--red); }
.health-progress-detected::-moz-progress-bar,
.health-progress-offline::-moz-progress-bar { background: var(--red); }

.card-message {
    display: -webkit-box;
    overflow: hidden;
    min-height: 28px;
    margin: 2px 0 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 11px;
    margin-top: auto;
    color: #cbd8ff;
    border-top: 1px solid var(--line-soft);
    font-size: 13px;
    font-weight: 650;
}

.card-action:hover {
    color: #fff;
}

.status-legend {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 14px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: #101319;
}

.status-legend > span {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 9px;
    padding: 13px 18px;
}

.status-legend > span + span {
    border-left: 1px solid var(--line-soft);
}

.legend-dot {
    grid-row: 1 / span 2;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.status-legend strong { font-size: 13px; }
.status-legend small { color: var(--muted-2); font-size: 12px; }
.status-bg-operational { background: var(--green); }
.status-bg-developing { background: var(--yellow); }
.status-bg-updating { background: #6ea8ff; }
.status-bg-maintenance { background: var(--red); }

.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 14px;
    margin-top: 18px;
}

.dashboard-panel {
    min-height: 300px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(140deg, #14171d, #101319);
}

.dashboard-panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 0 20px;
    border-bottom: 1px solid var(--line-soft);
}

.dashboard-panel > header > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.dashboard-panel h2 {
    font-size: 16px;
}

.panel-icon {
    color: var(--green);
    font-size: 20px;
}

.dashboard-panel header a {
    min-height: 34px;
    font-size: 12px;
}

.incident-empty {
    display: flex;
    min-height: 230px;
    padding: 28px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.incident-empty strong {
    color: var(--green);
    font-size: 17px;
}

.incident-empty p {
    max-width: 390px;
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.incident-list,
.compact-activity-list {
    padding: 10px 20px 18px;
    margin: 0;
    list-style: none;
}

.incident-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
}

.incident-list li > div {
    display: grid;
}

.incident-list strong { font-size: 12px; }
.incident-list span,
.incident-list time { color: var(--muted); font-size: 12px; }

.compact-activity-list li {
    display: grid;
    grid-template-columns: auto minmax(70px, auto) 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    border-bottom: 1px solid var(--line-soft);
}

.compact-activity-list li:last-child {
    border-bottom: 0;
}

.compact-activity-icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 50%;
    font-size: 10px;
}

.compact-activity-incident,
.compact-activity-detected,
.compact-activity-offline { color: #ff5965; background: var(--red-soft); }
.compact-activity-developing,
.compact-activity-maintenance { color: var(--yellow); background: var(--yellow-soft); }
.compact-activity-updating { color: #8295ff; background: var(--blue-soft); }

.compact-activity-list strong { font-size: 12px; }
.compact-activity-list span:not(.compact-activity-icon),
.compact-activity-list time { color: var(--muted); font-size: 12px; }
.compact-activity-list time { white-space: nowrap; }

.empty-state,
.quiet-state,
.state-page {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.empty-state {
    padding: 44px 24px;
    text-align: center;
}

.empty-state h3,
.quiet-state h3 {
    margin: 0;
}

.empty-state p,
.quiet-state p {
    margin: 6px 0 0;
    color: var(--muted);
}

/* Detail pages */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 12px;
}

.breadcrumb a:hover { color: #fff; }

.detail-hero {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(120deg, rgba(51, 20, 22, 0.27), rgba(15, 19, 25, 0.95) 38%, rgba(11, 26, 33, 0.9));
}

.product-mark-large {
    width: 74px;
    height: 74px;
    border-radius: 14px;
    font-size: 31px;
}

.eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--red);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.detail-copy > p {
    margin: 7px 0 0;
    color: var(--muted);
}

.detail-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 13px;
}

.detail-links a,
.version-chip {
    display: inline-flex;
    padding: 5px 9px;
    color: #dce0e7;
    border: 1px solid #363c47;
    border-radius: 4px;
    background: #171a20;
    font-size: 12px;
}

.detail-links a:hover { border-color: #5b6575; }

.status-note {
    padding: 16px 20px;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--green);
    border-radius: var(--radius);
    background: var(--surface);
}

.status-note strong {
    color: var(--green);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-note p { margin: 3px 0 0; color: var(--muted); }
.status-note-detected,
.status-note-offline { border-left-color: var(--red); }
.status-note-detected strong,
.status-note-offline strong { color: var(--red); }
.status-note-developing,
.status-note-maintenance { border-left-color: var(--yellow); }
.status-note-developing strong,
.status-note-maintenance strong { color: var(--yellow); }

.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.metric-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.metric-card > span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.metric-card strong,
.metric-card a { font-size: 16px; }

.featured-release,
.timeline-panel,
.changelog-section,
.activity-section {
    margin-top: 26px;
}

.featured-release {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(239, 45, 45, 0.28);
    border-radius: var(--radius);
    background: linear-gradient(120deg, rgba(117, 19, 24, 0.16), rgba(19, 22, 28, 0.95));
}

.release-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 11px;
}

.featured-release h2 { margin: 4px 0; }
.featured-release p { margin: 0; color: var(--muted); }
.featured-release-version { display: grid; align-content: center; justify-items: end; }
.featured-release-version > span { color: var(--muted-2); font-size: 11px; text-transform: uppercase; }
.featured-release-version > strong { font-size: 24px; }
.featured-release-version a { color: #cdd8ff; font-size: 12px; }

.timeline-panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.activity-window,
.rate-label {
    padding: 5px 9px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 11px;
}

.uptime-strip {
    display: grid;
    grid-template-columns: repeat(90, minmax(2px, 1fr));
    gap: 2px;
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
}

.day {
    min-width: 2px;
    height: 32px;
    background: #2a2f37;
    border-radius: 2px;
}

.day-operational { background: var(--green); }
.day-updating { background: #6ea8ff; }
.day-maintenance { background: var(--orange); }
.day-degraded { background: #ffad42; }
.day-detected { background: #ff5365; }
.day-developing { background: var(--yellow); }
.day-offline { background: #737b86; }
.day-not_tracked { background: #292d34; }

.timeline-range {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: var(--muted-2);
    font-size: 11px;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-top: 14px;
    margin-top: 14px;
    color: var(--muted);
    border-top: 1px solid var(--line-soft);
    font-size: 11px;
}

.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .legend-dot { width: 8px; height: 8px; }

.changelog-list,
.activity-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.changelog-entry,
.activity-item article,
.quiet-state {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.changelog-entry + .changelog-entry { margin-top: 8px; }

.changelog-entry summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.changelog-entry summary::-webkit-details-marker { display: none; }
.changelog-summary-main,
.changelog-summary-meta { display: grid; }
.changelog-summary-main strong { margin-top: 5px; }
.changelog-summary-main small,
.changelog-summary-meta time { color: var(--muted); }
.changelog-summary-meta { justify-items: end; }
.changelog-body { padding: 0 20px 18px; color: var(--muted); }
.status-markup > :first-child { margin-top: 0; }
.status-markup > :last-child { margin-bottom: 0; }
.status-markup p { margin: 0 0 .7rem; }
.status-markup ul,
.status-markup ol { margin: .5rem 0 .8rem; padding-left: 1.35rem; }
.status-markup li + li { margin-top: .3rem; }
.status-markup a { color: #82a9ff; text-decoration: underline; text-underline-offset: .17em; }
.status-markup strong { color: var(--text); }
.card-message.status-markup { display: block; max-height: 7.5rem; overflow: hidden; }
.card-message.status-markup p { margin-bottom: .4rem; }

.release-kind,
.activity-type {
    width: fit-content;
    padding: 3px 6px;
    color: #ff8b92;
    border: 1px solid rgba(239, 45, 45, 0.2);
    border-radius: 3px;
    background: var(--red-soft);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.release-kind-update { color: #91a0ff; border-color: rgba(113, 134, 246, 0.2); background: var(--blue-soft); }
.release-kind-hotfix,
.activity-type-incident { color: #ffd65c; border-color: rgba(241, 196, 15, 0.2); background: var(--yellow-soft); }

.quiet-state {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px;
}

.quiet-check {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 50%;
}

.activity-list {
    display: grid;
    gap: 8px;
}

.activity-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
}

.activity-line {
    position: relative;
    display: flex;
    justify-content: center;
}

.activity-node {
    width: 10px;
    height: 10px;
    margin-top: 20px;
    background: var(--green);
    border-radius: 50%;
}

.activity-node-incident,
.activity-node-detected,
.activity-node-offline { background: var(--red); }
.activity-node-developing,
.activity-node-maintenance { background: var(--yellow); }
.activity-node-updating { background: #6ea8ff; }

.activity-item article { padding: 16px 18px; }
.activity-meta,
.activity-title-row { display: flex; align-items: center; gap: 10px; }
.activity-meta { color: var(--muted); font-size: 11px; }
.activity-meta time { margin-left: auto; }
.activity-title-row { justify-content: space-between; margin-top: 8px; }
.activity-title-row h3 { margin: 0; font-size: 14px; }
.activity-state { color: var(--muted); font-size: 11px; }
.activity-item article > p { margin: 7px 0 0; color: var(--muted); }

.state-page {
    max-width: 760px;
    padding: 48px;
    margin: 40px auto;
    text-align: center;
}

.state-page > p { color: var(--muted); }
.state-page .button { margin-top: 16px; }

@media (max-width: 1180px) {
    .product-toolbar { flex-wrap: wrap; }
    .search-field { min-width: 260px; }
    .service-card { min-height: 282px; }
    .product-identity h3 { max-width: 120px; }
    .compact-activity-list li { grid-template-columns: auto minmax(65px, auto) 1fr; }
    .compact-activity-list time { grid-column: 3; }
}

@media (max-width: 900px) {
    .page-shell { width: min(100% - 30px, var(--shell)); }
    .status-intro { align-items: flex-start; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .products-heading { align-items: stretch; flex-direction: column; }
    .product-toolbar { justify-content: flex-start; }
    .search-field { min-width: 100%; flex-basis: 100%; }
    .product-toolbar input { width: 100%; }
    .product-toolbar label:not(.search-field) { flex: 1 1 180px; }
    .product-toolbar select { width: 100%; }
    .status-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .status-legend > span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-soft); }
    .status-legend > span:nth-child(4) { border-top: 1px solid var(--line-soft); }
    .dashboard-bottom-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .dc-status-page { font-size: 13px; }
    .page-shell { padding-top: 30px; }
    .status-intro { flex-direction: column; }
    .outline-action { width: 100%; }
    .latest-strip,
    .service-grid,
    .status-legend,
    .detail-grid { grid-template-columns: 1fr; }
    .latest-strip article + article,
    .status-legend > span + span { border-left: 0; border-top: 1px solid var(--line-soft); }
    .service-card { min-height: 260px; }
    .product-identity h3 { max-width: 150px; }
    .status-legend > span:nth-child(2) { border-top: 1px solid var(--line-soft); }
    .products-heading h2 { font-size: 20px; }
    .product-toolbar { display: grid; grid-template-columns: 1fr; }
    .compact-activity-list li { grid-template-columns: auto 1fr; padding: 8px 0; }
    .compact-activity-list strong { font-size: 11px; }
    .compact-activity-list span:not(.compact-activity-icon),
    .compact-activity-list time { grid-column: 2; }
    .detail-hero { grid-template-columns: 1fr; justify-items: start; }
    .detail-hero > .status-badge { justify-self: start; }
    .featured-release { grid-template-columns: 1fr; }
    .featured-release-version { justify-items: start; }
    .uptime-strip { gap: 1px; }
    .day { height: 25px; }
    .activity-meta,
    .activity-title-row { align-items: flex-start; flex-direction: column; }
    .activity-meta time { margin-left: 0; }
    .changelog-entry summary { align-items: flex-start; flex-direction: column; }
    .changelog-summary-meta { justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
    .dc-status-page,
    .dc-status-page *,
    .dc-status-page *::before,
    .dc-status-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
