/* K168 (Kim 28/10, LIVE iPhone): fejlbjælken var Blazors engelske »An unhandled error has occurred. Reload«
   med næsten usynlig tekst. Nu: dansk, mørk tekst på hvid bund (samme tokens som forbindelsesboksen),
   og den vises kun ved en ægte fejl – et almindeligt forbindelsestab genoprettes i stilhed (js/v247-reconnect.js). */
#blazor-error-ui.v247-error-bar {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 3100; width: auto;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff; color: var(--v247-design-text, #182A24);
    border-top: 1px solid #DCE6E0; box-shadow: 0 -8px 24px rgba(24, 42, 36, .14);
    font-family: Inter, system-ui, sans-serif; font-size: 15px; line-height: 1.4;
}
#blazor-error-ui.v247-error-bar .v247-error-bar-inner {
    display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto;
}
#blazor-error-ui.v247-error-bar .v247-error-bar-text {
    flex: 1 1 auto; min-width: 0; margin: 0; color: var(--v247-design-text, #182A24); font-weight: 500;
}
#blazor-error-ui.v247-error-bar .v247-error-bar-spinner {
    flex: none; width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid #DCE6E0; border-top-color: #355A50; animation: v247-reconnect-spin 1s linear infinite;
}
#blazor-error-ui.v247-error-bar.is-manual .v247-error-bar-spinner { display: none; }
#blazor-error-ui.v247-error-bar .v247-error-reload {
    flex: none; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px;
    background: var(--v247-design-accent-dark, #182A24); color: #fff;
    font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
#blazor-error-ui.v247-error-bar .v247-error-reload:focus-visible { outline: 2px solid #355A50; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    #blazor-error-ui.v247-error-bar .v247-error-bar-spinner { animation-duration: 3s; }
}

/* K168: forbindelsesboksen skal kunne læses på en telefon – lidt større og mørkere småtekst (var 12 px #7A8A83 ≈ 3,6:1). */
#components-reconnect-modal.v247-reconnect .v247-reconnect-box { width: min(360px, calc(100vw - 32px)); box-sizing: border-box; }
#components-reconnect-modal.v247-reconnect .v247-reconnect-box small { font-size: 13px; color: #5C6B64; }
@media (max-width: 480px) {
    #components-reconnect-modal.v247-reconnect .v247-reconnect-box { padding: 24px 20px; }
}
