/* Public status page */
.sp { max-width: 860px; color: #122038; }
[data-theme="dark"] .sp { color: #e6edf7; }
.sp-overall { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.4rem; border-radius: 1rem; color: #fff; background: var(--sp-tone); box-shadow: 0 12px 28px rgba(0, 35, 105, .16); }
.sp-overall > i { font-size: 2rem; }
.sp-overall h2 { margin: 0; font-size: 1.25rem; font-weight: 800; color: #fff; }
.sp-overall p { margin: .15rem 0 0; font-size: .82rem; opacity: .9; }
.sp-section { margin-top: 1.6rem; }
.sp-section > h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 .7rem; color: inherit; }
.sp-card { background: #fff; border: 1px solid rgba(0, 35, 105, .1); border-radius: .95rem; margin-bottom: .75rem; }
[data-theme="dark"] .sp-card { background: #152030; border-color: rgba(255, 255, 255, .12); }
.sp-muted { font-size: .8rem; color: #5d6f88; }
[data-theme="dark"] .sp-muted { color: #9fb0c6; }
.sp-component { padding: .9rem 1.1rem; border-bottom: 1px solid rgba(0, 35, 105, .08); }
.sp-component-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; align-items: center; margin-bottom: .55rem; }
.sp-component-head .sp-muted { display: block; }
.sp-state { font-size: .84rem; font-weight: 600; }
.sp-bars { display: flex; gap: 2px; direction: ltr; }
.sp-bar { flex: 1; height: 26px; border-radius: 2px; min-width: 2px; opacity: .85; }
.sp-bar:hover { opacity: 1; }
.sp-legend { display: flex; justify-content: space-between; padding: .55rem 1.1rem; direction: ltr; }
.sp-empty { padding: 1.3rem; text-align: center; color: #5d6f88; }
.sp-ann { display: flex; gap: .85rem; padding: 1rem 1.1rem; border-inline-start: 4px solid var(--sp-tone); }
.sp-ann > i { color: var(--sp-tone); font-size: 1.15rem; margin-top: .15rem; }
.sp-ann h4, .sp-incident h4 { font-size: .98rem; font-weight: 700; margin: 0; color: inherit; }
.sp-ann p { margin: .3rem 0; font-size: .9rem; white-space: pre-line; }
.sp-ann time { display: block; font-size: .76rem; color: #5d6f88; margin-top: .25rem; }
.sp-incident { padding: 1rem 1.1rem; }
.sp-incident header { margin-bottom: .55rem; }
.sp-update { padding: .55rem 0; border-top: 1px dashed rgba(0, 35, 105, .12); font-size: .9rem; }
.sp-update p { margin: .15rem 0; white-space: pre-line; }

/* Site-wide announcement bars */
.fb-announce-stack { position: fixed; z-index: 1040; inset-inline: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.fb-announce { pointer-events: auto; width: 100%; max-width: 720px; display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .9rem; border-radius: .85rem; color: #fff; background: var(--fb-ann, #0045ad); box-shadow: 0 14px 34px rgba(0, 20, 60, .3); font-size: .9rem; animation: fbAnnIn .28s ease-out; }
.fb-announce-text { flex: 1; min-width: 0; line-height: 1.5; }
.fb-announce-text strong { display: block; }
.fb-announce-text span { display: block; opacity: .95; font-size: .85rem; }
.fb-announce a { color: #fff; font-weight: 700; text-decoration: underline; }
.fb-announce-close { background: none; border: 0; color: #fff; opacity: .8; padding: 0 .2rem; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.fb-announce-close:hover { opacity: 1; }
@keyframes fbAnnIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fb-announce { animation: none; } }
