/* =====================================================================
   CSI.Pace.Client — app styles

   Theme tokens + LayoutFullApp chrome load from `_content/CSI.UI/csi-theme.css`.
   Rules here style only the app-local surfaces this shell owns.

   Every color uses a `var(--csi-*)` token that is actually DECLARED in
   CSI.UI (tokens.css / csi-base.css / themes/*.css). A token that does not
   exist silently renders its hex fallback and stops following the user's
   theme, so do not invent names — grep before adding one.
   ==================================================================== */

.loading {
    padding: var(--csi-space-2xl);
    text-align: center;
    color: var(--csi-fg-muted);
}

#blazor-error-ui {
    background: var(--csi-warning-bg);
    color: var(--csi-warning-fg);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }
#blazor-error-ui .reload  { cursor: pointer; color: var(--csi-warning-fg); text-decoration: underline; margin-left: var(--csi-space-sm); }
