.shell { padding: 28px 0 48px; }
.hero-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font: 700 .8rem/1.2 "Segoe UI", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.1rem, 4vw, 3rem); }
.intro, .muted, .meta { color: var(--text-muted); }
.intro { max-width: 720px; line-height: 1.6; }
.theme-toggle { padding: 10px 14px; border: 1px solid var(--panel-border); border-radius: 999px; background: var(--panel-bg); color: var(--text-main); font: 700 .9rem "Segoe UI", sans-serif; cursor: pointer; }
.panel { margin-top: 24px; padding: 20px; border: 1px solid var(--panel-border); border-radius: 16px; background: var(--panel-bg); box-shadow: var(--shadow); }
.panel > h2 { margin-top: 0; }
.product-chart { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; font-family: "Segoe UI", sans-serif; }
.product-chart-button { display: block; width: 100%; padding: 10px; border: 1px solid var(--panel-border); border-radius: 10px; background: transparent; color: var(--text-main); text-align: left; font: inherit; cursor: pointer; }
.product-chart-button:hover, .product-chart-button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.product-chart-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.product-chart-label { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 6px; overflow-wrap: anywhere; }
.product-chart-label strong { flex-shrink: 0; font-size: .9rem; }
.product-chart-track { display: block; height: 10px; overflow: hidden; border-radius: 999px; background: var(--panel-border); }
.product-chart-bar { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--chart-start), var(--chart-end)); }
.items { display: grid; gap: 12px; padding: 0; list-style: none; }
.item { padding: 16px; border: 1px solid var(--panel-border); border-radius: 12px; }
.item h2, .item h3, .item h4 { margin: 0; font-size: 1.15rem; }
.meta { font: .9rem/1.5 "Segoe UI", sans-serif; overflow-wrap: anywhere; }
.message-body { margin-top: 12px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
summary { color: var(--accent); cursor: pointer; font-family: "Segoe UI", sans-serif; font-weight: 700; }
.error { padding: 14px; color: var(--error-text); background: var(--error-bg); border-radius: 8px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-family: "Segoe UI", sans-serif; }
th, td { padding: 12px; border-bottom: 1px solid var(--panel-border); text-align: left; }
th { color: var(--text-muted); }
.health-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.health-summary-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--panel-border); border-left: 4px solid currentColor; border-radius: 10px; font-family: "Segoe UI", sans-serif; }
.health-summary-card strong { font-size: 1.6rem; line-height: 1; }
.health-summary-card span { color: var(--text-main); font-size: .9rem; }
.health-summary-card--critical, .health-status--critical { color: #a3211e; }
.health-summary-card--warning, .health-status--warning { color: #965000; }
.health-summary-card--healthy, .health-status--healthy { color: #1d7147; }
.health-summary-card--info, .health-status--info { color: #225ea8; }
.health-status--unknown { color: var(--text-muted); }
body.theme-dark .health-summary-card--critical, body.theme-dark .health-status--critical { color: #ff9a91; }
body.theme-dark .health-summary-card--warning, body.theme-dark .health-status--warning { color: #ffd17a; }
body.theme-dark .health-summary-card--healthy, body.theme-dark .health-status--healthy { color: #8be5ad; }
body.theme-dark .health-summary-card--info, body.theme-dark .health-status--info { color: #a9cbff; }
.health-table { min-width: 650px; }
.health-table th[scope="row"] { color: var(--text-main); }
.health-row--critical { background: rgba(195, 38, 34, .07); }
.health-row--warning { background: rgba(225, 148, 32, .09); }
body.theme-dark .health-row--critical { background: rgba(255, 108, 96, .09); }
body.theme-dark .health-row--warning { background: rgba(255, 194, 86, .08); }
.health-status { display: inline-flex; align-items: center; gap: 7px; font: 700 .92rem/1.35 "Segoe UI", sans-serif; }
.health-status-icon { flex: 0 0 20px; width: 20px; height: 20px; }
.status-description { display: block; margin-top: 5px; color: var(--text-muted); font: .85rem/1.4 "Segoe UI", sans-serif; }
.health-table a, .issue-group a, .panel > p a { color: var(--accent); font-weight: 700; }
.service-link { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.issue-group { margin-top: 24px; scroll-margin-top: 20px; }
.issue-group:target { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 4px; }
.issue-group h3 { margin-bottom: 0; }
.issue-status { margin-top: 10px; }
.issue-update { padding-top: 6px; border-top: 1px solid var(--panel-border); }
@media (max-width: 640px) { .shell { padding-top: 18px; } .hero-top { flex-direction: column; } }
