*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 14px; color: #1a1a1a; background: #f6f8fa; line-height: 1.5; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font-family: inherit; font-size: 14px; }
button { cursor: pointer; border: none; }
input, textarea, select { color: #1a1a1a; }

/* ─── ADMIN GLOBAL BAR ─────────────────────────────────────────────────────── */
.admin-global-bar { background: #1e293b; color: #94a3b8; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; height: 40px; display: flex; align-items: center; padding: 0 20px; position: fixed; top: 0; left: 0; right: 0; z-index: 300; }

/* ─── ADMIN LAYOUT ──────────────────────────────────────────────────────────── */
.admin-page { background: #f6f8fa; }
.admin-layout { display: flex; min-height: 100vh; padding-top: 40px; }
.admin-sidebar { width: 210px; min-width: 210px; background: #fff; border-right: 1px solid #e5e7eb; position: fixed; top: 40px; left: 0; bottom: 0; display: flex; flex-direction: column; z-index: 200; overflow-y: auto; }
.admin-main { flex: 1; margin-left: 210px; padding: 28px 32px 80px; min-height: calc(100vh - 40px); }

/* ─── SIDEBAR ───────────────────────────────────────────────────────────────── */
.sidebar-brand { padding: 16px; border-bottom: 1px solid #e5e7eb; }
.sidebar-logo { display: flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.sidebar-logo:hover { text-decoration: none; }
.logo-text { font-size: 16px; font-weight: 800; color: #1a1a1a; letter-spacing: -0.5px; }
.sidebar-subbrand { font-size: 11px; color: #9ca3af; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-nav { flex: 1; padding: 8px 0; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: 13px; color: #374151; border-left: 3px solid transparent; text-decoration: none; position: relative; }
.sidebar-link:hover { background: #f9fafb; color: #1a1a1a; text-decoration: none; }
.sidebar-link.active { color: #1a3eb0; border-left-color: #1a3eb0; background: #eff6ff; font-weight: 600; }
.sidebar-icon { display: flex; align-items: center; width: 18px; }
.sidebar-badge { background: #dc2626; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 10px; min-width: 18px; text-align: center; margin-left: auto; }
.sidebar-footer { border-top: 1px solid #e5e7eb; padding: 8px 0; }

/* ─── ADMIN TOPBAR ──────────────────────────────────────────────────────────── */
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.admin-page-title { font-size: 22px; font-weight: 700; color: #1a1a1a; }

/* ─── TABS ──────────────────────────────────────────────────────────────────── */
.tabs { display: flex; border-bottom: 1px solid #e5e7eb; gap: 0; }
.tab { padding: 10px 16px; font-size: 14px; color: #6b7280; cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: #374151; }
.tab.active { color: #2563eb; border-bottom-color: #2563eb; font-weight: 600; }

/* ─── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 16px; border-radius: 5px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; text-decoration: none; line-height: 1.2; transition: filter .15s; }
.btn:hover { text-decoration: none; filter: brightness(0.92); }
.btn-primary { background: #1a3eb0; color: #fff; }
.btn-secondary { background: #fff; color: #374151; border: 1px solid #d1d5db; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-link { background: none; color: #2563eb; font-weight: 400; padding: 4px 0; }
.btn-link:hover { text-decoration: underline; filter: none; }
.btn-sm { padding: 5px 10px; font-size: 12px; }

/* ─── BADGES ────────────────────────────────────────────────────────────────── */
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 12px; text-transform: capitalize; letter-spacing: 0.2px; white-space: nowrap; }
.badge-investigating { background: #fee2e2; color: #991b1b; }
.badge-identified { background: #dbeafe; color: #1e40af; }
.badge-monitoring { background: #fef9c3; color: #854d0e; }
.badge-resolved { background: #dcfce7; color: #15803d; }
.badge-scheduled { background: #eff6ff; color: #1e40af; }
.badge-in_progress { background: #fef9c3; color: #854d0e; }
.badge-completed { background: #dcfce7; color: #15803d; }
.badge-minor { background: #fefce8; color: #854d0e; border: 1px solid #fcd34d; }
.badge-major { background: #fff7ed; color: #9a3412; border: 1px solid #fb923c; }
.badge-critical { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* ─── FORMS ─────────────────────────────────────────────────────────────────── */
.admin-form { max-width: 680px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form-input { width: 100%; padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 5px; font-size: 14px; background: #fff; color: #1a1a1a; }
.form-input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-textarea { width: 100%; padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 5px; font-size: 14px; background: #fff; color: #1a1a1a; resize: vertical; min-height: 100px; }
.form-textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-select { padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 5px; font-size: 14px; background: #fff; color: #1a1a1a; cursor: pointer; }
.form-select:focus { outline: none; border-color: #2563eb; }
.checkbox-label { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #374151; cursor: pointer; line-height: 1.4; }
.checkbox-label input[type=checkbox] { width: 15px; height: 15px; accent-color: #2563eb; margin-top: 2px; flex-shrink: 0; }
.radio-label { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #374151; cursor: pointer; }
.radio-label input[type=radio] { width: 15px; height: 15px; accent-color: #2563eb; margin-top: 2px; flex-shrink: 0; }
.radio-group { display: flex; flex-direction: column; gap: 10px; }

/* ─── STATUS STEPPER ────────────────────────────────────────────────────────── */
.status-stepper { display: flex; border: 1px solid #d1d5db; border-radius: 5px; overflow: hidden; }
.step-btn { flex: 1; padding: 9px 4px; text-align: center; font-size: 13px; color: #6b7280; background: #fff; border: none; border-right: 1px solid #e5e7eb; cursor: pointer; }
.step-btn:last-child { border-right: none; }
.step-btn:hover { background: #f9fafb; }
.step-btn.active { background: #1a3eb0; color: #fff; font-weight: 600; }

/* ─── COMPONENT TREE (create incident / maintenance) ─────────────────────────── */
.comp-tree { border: 1px solid #e5e7eb; border-radius: 5px; background: #fff; }
.comp-group-tree { border-bottom: 1px solid #f0f0f0; }
.comp-group-tree:last-child { border-bottom: none; }
.comp-group-toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 14px; background: none; border: none; cursor: pointer; text-align: left; font-size: 14px; }
.comp-group-toggle:hover { background: #f9fafb; }
.toggle-arrow { transition: transform .2s; }
.toggle-arrow.rotated { transform: rotate(180deg); }
.comp-group-children { display: none; border-top: 1px solid #f0f0f0; }
.comp-group-children.open { display: block; }
.comp-tree-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 8px 34px; border-bottom: 1px solid #f8f8f8; gap: 12px; }
.comp-tree-row:last-child { border-bottom: none; }
.comp-tree-check { display: flex; align-items: center; gap: 8px; cursor: pointer; flex: 1; font-size: 13px; }
.comp-tree-check input[type=checkbox] { width: 14px; height: 14px; accent-color: #2563eb; }
.comp-status-sel { font-size: 12px; padding: 4px 8px; border: 1px solid #d1d5db; border-radius: 4px; background: #fff; }

/* ─── IMPACT SELECT ────────────────────────────────────────────────────────── */
.impact-select { font-size: 13px; padding: 5px 10px; border: 1px solid #d97706; border-radius: 4px; color: #b45309; font-weight: 600; }

/* ─── INC ROW (admin incidents list) ────────────────────────────────────────── */
.inc-row { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid #e5e7eb; gap: 16px; }
.inc-row:first-child { border-top: 1px solid #e5e7eb; }
.inc-row-main { flex: 1; min-width: 0; }
.inc-row-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.link-title { font-size: 15px; font-weight: 500; color: #1a1a1a; }
.link-title:hover { color: #2563eb; text-decoration: underline; }
.inc-row-meta { font-size: 12px; color: #9ca3af; margin-bottom: 4px; }
.inc-row-update { font-size: 13px; color: #57606a; margin-top: 2px; }
.inc-row-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ─── UPDATE FORM ────────────────────────────────────────────────────────────── */
.update-form-box { background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 20px; margin-bottom: 24px; margin-top: 20px; }
.postmortem-box { background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 20px; margin-top: 20px; }

/* ─── DETAIL ENTRY ───────────────────────────────────────────────────────────── */
.detail-entry { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.detail-entry:last-child { border-bottom: none; }
.detail-entry-status { flex-shrink: 0; min-width: 110px; }
.detail-entry-content { flex: 1; min-width: 0; }
.detail-entry-msg { font-size: 14px; color: #374151; line-height: 1.7; }
.detail-entry-time { font-size: 12px; color: #9ca3af; margin-top: 6px; }
.detail-section-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: #1a1a1a; }

/* ─── COMPONENTS ADMIN ──────────────────────────────────────────────────────── */
.comp-group-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
.comp-group-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #fff; }
.comp-group-header:hover { background: #f9fafb; }
.comp-group-name { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.comp-group-desc { font-size: 13px; color: #9ca3af; font-weight: 400; }
.comp-group-toggle-btn { background: none; border: none; cursor: pointer; padding: 2px; display: flex; align-items: center; color: #9ca3af; }
.comp-group-toggle-btn .toggle-arrow { transition: transform .2s; }
.comp-group-toggle-btn .toggle-arrow.open { transform: rotate(180deg); }
.comp-group-actions { display: flex; align-items: center; gap: 8px; }
.comp-group-body { display: none; border-top: 1px solid #e5e7eb; }
.comp-group-body.open { display: block; }
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table th { padding: 9px 14px; font-size: 12px; font-weight: 700; color: #6b7280; border-bottom: 1px solid #e5e7eb; text-align: left; background: #f9fafb; }
.comp-table td { padding: 10px 14px; border-bottom: 1px solid #f3f4f6; font-size: 14px; vertical-align: middle; }
.comp-table tr:last-child td { border-bottom: none; }
.comp-name { font-weight: 500; color: #1a1a1a; }
.comp-desc-cell { color: #6b7280; font-size: 13px; max-width: 300px; }
.comp-actions-cell { text-align: right; }
.comp-status-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #374151; }

/* ─── COMPONENT EDIT ────────────────────────────────────────────────────────── */
.uptime-showcase { background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 16px; margin-bottom: 20px; }
.uptime-showcase-label { font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 10px; }
.uptime-bar-preview { display: flex; height: 28px; gap: 1px; align-items: stretch; border-radius: 3px; overflow: hidden; }
.uptime-bar-seg { flex: 1; min-width: 2px; }
.uptime-bar-seg.uptime-op { background: #2da44e; }
.uptime-bar-seg.uptime-degraded { background: #bf8700; }
.uptime-bar-seg.uptime-outage { background: #cf222e; }
.uptime-bar-seg.uptime-maintenance { background: #0969da; }
.api-id { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 13px; background: #f6f8fa; border: 1px solid #e5e7eb; border-radius: 4px; padding: 6px 10px; display: inline-block; color: #57606a; }

/* ─── REORDER ────────────────────────────────────────────────────────────────── */
.reorder-list { border: 1px solid #e5e7eb; border-radius: 6px; overflow: hidden; }
.reorder-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.reorder-item:last-child { border-bottom: none; }
.reorder-item:hover { background: #f9fafb; }
.reorder-item[draggable=true]:active { opacity: 0.5; }

/* ─── SUBSCRIBERS ───────────────────────────────────────────────────────────── */
.subs-table { width: 100%; border-collapse: collapse; background: #fff; }
.subs-table th { text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 700; color: #6b7280; border-bottom: 2px solid #e5e7eb; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; }
.subs-table td { padding: 12px; border-bottom: 1px solid #f3f4f6; font-size: 14px; color: #374151; vertical-align: middle; }
.subs-table tr:hover td { background: #f9fafb; }
.subs-table input[type=checkbox] { width: 14px; height: 14px; accent-color: #2563eb; }
.subs-email { font-weight: 500; }
.subs-date { color: #9ca3af; font-size: 13px; }

/* ─── MODAL ─────────────────────────────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 500; align-items: center; justify-content: center; }
.modal-overlay[style*="flex"] { display: flex; }
.modal-box { background: #fff; border-radius: 8px; padding: 28px; width: 440px; max-width: 92vw; box-shadow: 0 20px 60px rgba(0,0,0,.25); }

/* ─── TOAST ─────────────────────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 24px; right: 24px; background: #1f2937; color: #fff; padding: 12px 18px; border-radius: 6px; font-size: 14px; z-index: 9999; opacity: 0; transform: translateY(8px); transition: all .25s; pointer-events: none; max-width: 340px; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: #dc2626; }

/* ─── CUSTOMER PAGE ─────────────────────────────────────────────────────────── */
.customer-page { background: #fff; }

/* NAV */
.cust-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; border-bottom: 1px solid #e5e7eb; background: #fff; position: sticky; top: 0; z-index: 100; }
.cust-nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cust-nav-brand:hover { text-decoration: none; }
.cust-nav-brand-name { font-size: 17px; font-weight: 700; color: #1E2053; letter-spacing: -0.3px; }
.cust-nav-right { display: flex; align-items: center; gap: 12px; }

/* Subscribe dropdown */
.sub-dropdown-wrap { position: relative; }
.btn-subscribe { background: #fff; border: 1px solid #d1d5db; color: #374151; border-radius: 5px; padding: 8px 14px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.btn-subscribe:hover { background: #f9fafb; }
.sub-dropdown { display: none; position: absolute; top: calc(100% + 6px); right: 0; width: 340px; background: #fff; border: 1px solid #d1d5db; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.15); z-index: 200; overflow: hidden; }
.sub-dropdown.open { display: block; }
.sub-tab-bar { display: flex; border-bottom: 1px solid #e5e7eb; padding: 0 12px; }
.sub-tab { display: flex; align-items: center; gap: 6px; padding: 10px 8px; font-size: 13px; color: #6b7280; border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.sub-tab.active { color: #1a3eb0; border-bottom-color: #1a3eb0; font-weight: 600; }
.sub-body { padding: 16px; }
.sub-hint { font-size: 13px; color: #57606a; margin-bottom: 12px; line-height: 1.5; }
.sub-input { width: 100%; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 5px; font-size: 14px; margin-bottom: 10px; }
.sub-input:focus { outline: none; border-color: #1a3eb0; box-shadow: 0 0 0 3px rgba(26,62,176,.1); }
.btn-subscribe-submit { width: 100%; padding: 11px; background: #1a3eb0; color: #fff; border: none; border-radius: 5px; font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; cursor: pointer; }
.btn-subscribe-submit:hover { background: #1530a0; }
.sub-privacy { font-size: 11px; color: #9ca3af; margin-top: 10px; line-height: 1.5; }

/* BANNER */
.banner { padding: 28px 40px; }
.banner-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.banner-icon { display: flex; align-items: center; flex-shrink: 0; }
.banner-text { display: flex; flex-direction: column; gap: 4px; }
.banner-title { font-size: 24px; font-weight: 700; line-height: 1.2; }
.banner-sub { font-size: 14px; opacity: 0.9; }
.banner-op { background: #1a7f37; color: #fff; }
.banner-degraded { background: #b45309; color: #fff; }
.banner-outage { background: #cf222e; color: #fff; }
.banner-partial { background: #e36209; color: #fff; }
.banner-maintenance { background: #0969da; color: #fff; }

/* MAIN */
.cust-main { max-width: 960px; margin: 0 auto; padding: 32px 24px 80px; }
.section-heading { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; }
.loading-msg { color: #9ca3af; padding: 24px 0; text-align: center; }
.no-data { color: #9ca3af; padding: 24px 0; text-align: center; }
.history-link { font-size: 14px; color: #2563eb; text-decoration: none; }
.history-link:hover { text-decoration: underline; }
.link-more { font-size: 13px; color: #2563eb; }

/* COMPONENT MATRIX */
.c-matrix { width: 100%; border-collapse: collapse; border: 1px solid #d1d5db; margin-bottom: 24px; }
.c-matrix th { padding: 10px 12px; font-size: 12px; font-weight: 700; color: #374151; border-bottom: 1px solid #d1d5db; border-right: 1px solid #d1d5db; text-align: center; background: #fff; }
.c-matrix th:first-child { text-align: left; min-width: 200px; padding-left: 16px; }
.c-matrix th:last-child { border-right: none; }
.c-matrix td { padding: 10px 12px; border-bottom: 1px solid #d1d5db; border-right: 1px solid #d1d5db; text-align: center; vertical-align: middle; }
.c-matrix td:first-child { text-align: left; font-size: 14px; color: #374151; border-right: 1px solid #d1d5db; padding-left: 16px; }
.c-matrix td:last-child { border-right: none; }
.c-matrix tr:last-child td { border-bottom: none; }
.c-matrix tbody tr:hover { background: #f9fafb; }
.matrix-region { min-width: 64px; }
.matrix-legend-row td { border-right: none !important; }
.matrix-legend-cell { padding: 10px 16px !important; text-align: left !important; border-bottom: 1px solid #d1d5db !important; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #374151; margin-right: 20px; white-space: nowrap; }

/* CARDS */
.c-card { padding: 16px 0; border-bottom: 1px solid #e5e7eb; }
.c-card:first-child { border-top: 1px solid #e5e7eb; }
.c-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.c-card-title { font-size: 15px; font-weight: 500; color: #1a1a1a; line-height: 1.4; }
.c-card-title:hover { color: #2563eb; text-decoration: underline; }
.c-card-update { font-size: 13px; color: #57606a; line-height: 1.5; margin-top: 4px; }
.c-card-time { font-size: 12px; color: #9ca3af; white-space: nowrap; flex-shrink: 0; }
.upd-status { font-weight: 600; color: #374151; }
.past-date-group { margin-bottom: 24px; }
.past-date { font-size: 16px; font-weight: 700; color: #1a1a1a; padding: 12px 0 8px; border-top: 2px solid #e5e7eb; margin-bottom: 4px; }

/* ─── CUSTOMER DETAIL PAGES ─────────────────────────────────────────────────── */
.detail-wrap { max-width: 820px; margin: 0 auto; padding: 24px 24px 80px; }
.detail-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #57606a; margin-bottom: 20px; text-decoration: none; }
.detail-back:hover { color: #1a1a1a; text-decoration: none; }
.detail-header { padding: 32px 0 24px; border-bottom: 1px solid #e5e7eb; margin-bottom: 32px; }
.detail-impact-label { font-size: 12px; font-weight: 700; letter-spacing: 0.8px; color: #9ca3af; text-transform: uppercase; margin-bottom: 8px; }
.detail-title { font-size: 26px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.detail-meta { font-size: 13px; color: #57606a; }
.detail-body { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: start; }
.detail-timeline { min-width: 0; }
.detail-sidebar { }
.detail-affected-box { border: 1px solid #e5e7eb; border-radius: 6px; padding: 16px; background: #f9fafb; }
.detail-affected-box h4 { font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-affected-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #374151; margin-bottom: 6px; }
.detail-affected-row:last-child { margin-bottom: 0; }

/* ─── HISTORY PAGE ──────────────────────────────────────────────────────────── */
.uptime-calendar { margin-top: 16px; }
.uptime-weekdays { display: grid; grid-template-columns: repeat(7, 36px); gap: 3px; margin-bottom: 4px; }
.uptime-weekday { text-align: center; font-size: 11px; color: #9ca3af; font-weight: 600; }
.uptime-days { display: grid; grid-template-columns: repeat(7, 36px); gap: 3px; }
.uptime-day { width: 36px; height: 36px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; cursor: default; }
.uptime-day.uptime-op { background: #2da44e; color: #fff; }
.uptime-day.uptime-degraded { background: #bf8700; color: #fff; }
.uptime-day.uptime-outage { background: #cf222e; color: #fff; }
.uptime-day.uptime-maintenance { background: #0969da; color: #fff; }
.uptime-day.uptime-future { background: #e5e7eb; color: #9ca3af; }
.uptime-day.uptime-empty { background: transparent; }
.uptime-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.uptime-legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #57606a; }

/* ─── MISC ───────────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ─── RCA SECTION (customer incident detail) ────────────────────────────────── */
.rca-section { margin-top: 40px; border: 1px solid #bfdbfe; border-radius: 8px; overflow: hidden; }
.rca-header { display: flex; align-items: center; gap: 8px; padding: 14px 20px; background: #eff6ff; font-size: 15px; font-weight: 700; color: #1a3eb0; border-bottom: 1px solid #bfdbfe; }
.rca-body { padding: 20px; font-size: 14px; color: #374151; line-height: 1.8; background: #fff; white-space: pre-wrap; }
