/* BK Replay portal: Fluent UI tokens, responsive down to phone width (Teams mobile later) */
html, body { margin: 0; font-family: var(--body-font, "Segoe UI", system-ui, sans-serif); background: var(--neutral-layer-2, #f5f5f5); }
a { color: var(--accent-fill-rest, #0f6cbd); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.5rem; font-weight: 600; margin: 0; }
h3 { font-size: 1rem; font-weight: 600; margin: 1rem 0 .5rem; }
h3:first-child { margin-top: 0; }

.app-header { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 48px; }
.app-header .brand { color: inherit; font-weight: 600; font-size: 1.05rem; }
.app-header .user { font-size: .9rem; opacity: .9; }
.app-body { padding: 16px; max-width: 1400px; margin: 0 auto; box-sizing: border-box; width: 100%; }

.page-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.muted { color: var(--neutral-foreground-hint, #616161); }
.small { font-size: .8rem; }
.centered { display: flex; justify-content: center; align-items: center; padding: 48px 16px; }
.app-loading { padding: 48px; text-align: center; font-family: "Segoe UI", sans-serif; color: #616161; }

.filters { margin-bottom: 16px; padding: 12px 16px; }
.calls .preview { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pager { margin-top: 12px; gap: 8px; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; }
.detail-grid fluent-card { padding: 16px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
.facts dt { color: var(--neutral-foreground-hint, #616161); }
.facts dd { margin: 0; }
.summary { white-space: pre-line; line-height: 1.5; }
.actions { padding-left: 1.2rem; margin: 0; }
.actions li { margin-bottom: 4px; }

@media (max-width: 900px) {
    .detail-grid { grid-template-columns: 1fr; }
    .app-body { padding: 8px; }
}

#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: 8px 16px; background: #fde7e9; z-index: 1000; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }
