@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { --navy: #082c32; --navy-2: #0d3b42; --teal: #5f858a; --teal-dark: #416e75; --ink: #273448; --muted: #788695; --soft: #f4f6f9; --line: #e3e8ee; --card: #ffffff; --green: #18b986; --amber: #efa92f; --red: #f25f58; --shadow: 0 8px 24px rgba(31, 52, 73, .06); }
* { box-sizing: border-box; }
html { background: var(--soft); color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; width: 282px; min-height: 100vh; flex: 0 0 282px; flex-direction: column; padding: 27px 17px 24px; background: var(--navy); color: #f5fbfc; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 4px 20px 38px; color: #f8ffff; text-decoration: none; }
.brand-symbol { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #f6ffff; border-radius: 50%; font-size: 14px; font-weight: 800; line-height: 1; }
.brand-wordmark { font-size: 21px; font-weight: 800; letter-spacing: .08em; }
.sidebar-toggle { position: absolute; top: 29px; right: 17px; border: 0; background: transparent; color: #cfdee0; font-size: 20px; line-height: 1; }
.side-nav { display: grid; gap: 5px; }
.side-nav__item { display: flex; align-items: center; gap: 15px; min-height: 46px; padding: 0 19px; border-radius: 7px; color: #d2e0e2; font-size: 14px; font-weight: 600; text-decoration: none; }
.side-nav__item:hover, .side-nav__item.is-active { background: #f8fafc; color: var(--ink); }
.nav-icon { display: inline-grid; width: 20px; place-items: center; color: currentColor; font-size: 23px; font-weight: 400; line-height: 1; }
.sidebar-footer { display: flex; align-items: center; gap: 9px; margin: auto 19px 0; color: #91aeb1; font-size: 11px; }
.sidebar-footer__dot, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24, 185, 134, .14); }
.workspace { min-width: 0; flex: 1; background: var(--soft); }
.topbar { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 47px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #9ca8b5; font-size: 12px; }
.breadcrumbs strong { color: var(--ink); font-weight: 700; }
.breadcrumb-separator { color: #c5ced7; }
.topbar__actions { display: flex; align-items: center; gap: 24px; }
.topbar__time { color: #9aa7b5; font-size: 11px; }
.topbar__admin { color: var(--teal-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.topbar__admin:hover { color: var(--navy); }
.workspace-content { max-width: 1240px; margin: 0 auto; padding: 57px 47px 46px; }
.workspace-content--admin { max-width: 1040px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 29px; }
.page-heading--admin { margin-bottom: 35px; }
.eyebrow { margin: 0 0 10px; color: var(--teal-dark); font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; color: var(--ink); font-size: clamp(35px, 4.4vw, 51px); line-height: 1.05; letter-spacing: -.06em; }
h2 { margin-bottom: 0; color: var(--ink); font-size: 24px; letter-spacing: -.045em; }
.page-heading__lede { max-width: 560px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.heading-meta { display: flex; align-items: center; gap: 10px; padding-bottom: 9px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.overall-card { display: flex; align-items: center; gap: 18px; min-height: 107px; padding: 26px 28px; border: 1px solid #dbe4e8; border-radius: 8px; background: var(--card); box-shadow: var(--shadow); }
.status-symbol { display: grid; width: 47px; height: 47px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgba(24,185,134,.12); }
.status-symbol span { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 7px rgba(24,185,134,.11); }
.status-symbol--degraded { background: rgba(239,169,47,.13); }
.status-symbol--degraded span { background: var(--amber); box-shadow: 0 0 0 7px rgba(239,169,47,.1); }
.status-symbol--outage { background: rgba(242,95,88,.13); }
.status-symbol--outage span { background: var(--red); box-shadow: 0 0 0 7px rgba(242,95,88,.1); }
.overall-copy { flex: 1; }
.overall-copy .eyebrow { margin-bottom: 6px; }
.overall-copy h2 { margin-bottom: 5px; font-size: 18px; }
.overall-copy p:last-child { margin-bottom: 0; color: var(--muted); font-size: 11px; }
.overall-badge { padding: 8px 13px; border-radius: 5px; background: #ddf7ed; color: #168a68; font-size: 11px; font-weight: 800; }
.section-block { padding-top: 53px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-note { margin: 0 0 3px; color: var(--muted); font-size: 11px; }
.group-list { display: grid; gap: 18px; }
.group-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: var(--shadow); }
.group-card__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 21px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.group-card__title { display: flex; align-items: center; gap: 12px; }
.group-card__icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 7px; background: #e5eff1; color: var(--teal-dark); font-size: 16px; }
.group-card h3 { margin: 0 0 3px; color: var(--ink); font-size: 14px; }
.group-card__subtitle { margin: 0; color: var(--muted); font-size: 10px; }
.group-card__status { color: var(--green); font-size: 10px; font-weight: 800; }
.group-card__status--degraded { color: var(--amber); }
.group-card__status--outage { color: var(--red); }
.cms-row { display: grid; grid-template-columns: minmax(220px, 1.15fr) minmax(180px, 1fr) auto; align-items: center; gap: 24px; padding: 16px 21px; border-bottom: 1px solid #edf0f3; }
.cms-row:last-child { border-bottom: 0; }
.cms-row:hover { background: #fcfdfe; }
.cms-name { display: flex; align-items: center; gap: 11px; min-width: 0; }
.cms-name__dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--green); }
.cms-name__dot--degraded { background: var(--amber); }
.cms-name__dot--outage { background: var(--red); }
.cms-name strong { display: block; margin-bottom: 4px; font-size: 12px; }
.cms-name span { display: block; overflow: hidden; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.cms-region { color: var(--muted); font-size: 11px; }
.cms-status { justify-self: end; color: var(--green); font-size: 11px; font-weight: 800; }
.cms-status--degraded { color: var(--amber); }
.cms-status--outage { color: var(--red); }
.incident-list { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.incident { display: grid; grid-template-columns: 120px minmax(0,1fr) auto; gap: 25px; align-items: center; padding: 18px 21px; border-bottom: 1px solid #edf0f3; }
.incident:last-child { border-bottom: 0; }
.incident__date { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; }
.incident__body strong { display: block; margin-bottom: 4px; font-size: 12px; }
.incident__body p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.incident__status { color: var(--green); font-size: 10px; font-weight: 800; }
.incident__status--degraded { color: var(--amber); }
.incident__status--outage { color: var(--red); }
.empty-state { padding: 26px 21px; color: var(--muted); font-size: 12px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 19px; border-top: 1px solid var(--line); color: #9aa7b5; font-size: 10px; }
.site-footer a { color: var(--teal-dark); text-decoration: none; }
.site-footer a:hover { color: var(--navy); }
.panel { padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: var(--shadow); }
.panel-heading { margin-bottom: 27px; }
.panel-heading--row { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.panel-heading .eyebrow { margin-bottom: 7px; }
.panel-heading h2 { font-size: 21px; }
.panel-description { max-width: 650px; margin: -8px 0 25px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.stack-form { display: grid; gap: 11px; }
label { color: var(--ink); font-size: 12px; font-weight: 800; }
.label-hint { color: #a1acb7; font-weight: 500; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 5px; background: #fbfcfd; color: var(--ink); padding: 12px 13px; outline: none; font-size: 13px; }
input:focus, textarea:focus { border-color: #8db5ba; box-shadow: 0 0 0 3px rgba(95,133,138,.12); }
textarea { resize: vertical; line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; border: 0; border-radius: 5px; padding: 0 16px; font-size: 11px; font-weight: 800; }
.button--primary { background: var(--teal); color: #fff; }
.button--primary:hover { background: var(--teal-dark); }
.button--quiet { min-height: 31px; background: #eef2f5; color: var(--muted); font-size: 10px; }
.button--quiet:hover { background: #e3e9ee; color: var(--ink); }
.form-message { min-height: 17px; margin: 2px 0 0; color: var(--red); font-size: 11px; }
.is-hidden { display: none; }
.admin-products { display: grid; gap: 17px; margin-bottom: 26px; }
.admin-group { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }
.admin-group__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px; background: #f8fafb; }
.admin-group__header h3 { margin: 0 0 3px; font-size: 13px; }
.admin-group__header p { margin: 0; color: var(--muted); font-size: 10px; }
.admin-group__status { color: var(--green); font-size: 10px; font-weight: 800; }
.admin-group__status--degraded { color: var(--amber); }
.admin-group__status--outage { color: var(--red); }
.admin-product { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 18px; align-items: center; padding: 14px 17px; border-top: 1px solid #edf0f3; }
.admin-product h4 { margin: 0 0 4px; font-size: 12px; }
.admin-region { color: var(--muted); font-size: 10px; font-weight: 500; }
.admin-product p { margin: 0; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; }
.status-options { display: flex; gap: 6px; }
.status-option { position: relative; }
.status-option input { position: absolute; opacity: 0; pointer-events: none; }
.status-option label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); cursor: pointer; font-size: 10px; }
.status-option label::before { width: 7px; height: 7px; border-radius: 50%; background: var(--status-color); content: ''; }
.status-option input:checked + label { border-color: var(--status-color); background: color-mix(in srgb, var(--status-color) 10%, white); color: var(--ink); }
.status-option--operational { --status-color: var(--green); }
.status-option--degraded { --status-color: var(--amber); }
.status-option--outage { --status-color: var(--red); }
.status-form { border-top: 1px solid var(--line); padding-top: 23px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 4px; }
.form-actions .form-message { flex: 1; }
.admin-history { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 25px; }
.admin-history__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.admin-history__heading .eyebrow { margin-bottom: 6px; }
.admin-history__heading h3 { margin: 0; font-size: 17px; letter-spacing: -.04em; }
.admin-history__note { color: var(--muted); font-size: 10px; }
.admin-history__list { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.admin-history__item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 15px; border-bottom: 1px solid #edf0f3; background: #fff; }
.admin-history__item:last-child { border-bottom: 0; }
.admin-history__item strong { display: block; margin-bottom: 4px; font-size: 11px; }
.admin-history__item p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.admin-history__meta { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 9px; }
.admin-history__status { color: var(--green); font-family: 'Manrope', system-ui, sans-serif; font-size: 10px; font-weight: 800; }
.admin-history__status--degraded { color: var(--amber); }
.admin-history__status--outage { color: var(--red); }
@media (max-width: 900px) { .sidebar { width: 224px; flex-basis: 224px; } .topbar, .workspace-content { padding-right: 27px; padding-left: 27px; } .cms-row { grid-template-columns: 1.2fr 1fr auto; gap: 12px; } }
@media (max-width: 700px) { .app-shell { display: block; } .sidebar { position: relative; display: block; width: 100%; min-height: 0; padding: 14px 18px; } .brand { padding: 3px 0 13px; } .sidebar-toggle { top: 20px; right: 18px; } .side-nav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; } .side-nav__item { min-height: 38px; padding: 0 12px; white-space: nowrap; } .sidebar-footer { display: none; } .topbar { min-height: 55px; padding: 0 18px; } .topbar__time { display: none; } .workspace-content { padding: 38px 18px 32px; } .page-heading { display: block; margin-bottom: 25px; } .heading-meta { padding-top: 18px; } h1 { font-size: 38px; } .overall-card { align-items: flex-start; padding: 21px; } .overall-badge { margin-left: -65px; margin-top: 57px; } .section-block { padding-top: 40px; } .section-heading { align-items: start; flex-direction: column; gap: 7px; } .group-card__header { align-items: start; flex-direction: column; gap: 10px; } .cms-row { grid-template-columns: 1fr auto; gap: 9px 15px; } .cms-region { grid-column: 1 / -1; grid-row: 2; padding-left: 19px; } .cms-status { grid-column: 2; grid-row: 1; } .incident { grid-template-columns: 1fr auto; gap: 9px 15px; } .incident__body { grid-column: 1 / -1; grid-row: 2; } .site-footer { align-items: start; flex-direction: column; margin-top: 45px; } .panel { padding: 21px; } .admin-product { grid-template-columns: 1fr; gap: 13px; } .status-options { flex-wrap: wrap; } .form-actions { align-items: stretch; flex-direction: column; } .admin-history__item { align-items: start; flex-direction: column; gap: 9px; } .admin-history__meta { justify-content: space-between; width: 100%; } }
