h1:focus {
    outline: none;
}

#blazor-error-ui {
    display: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZlcnNpb249IjEuMSI+) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* Report workspace layout: header and filters, then a grid that claims the
   remaining height and scrolls internally. */
.ca-report {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    min-height: 0;
}

.ca-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border: 1px solid var(--neo-border);
    border-radius: 999px;
    background: var(--neo-bg-readonly);
    color: var(--neo-muted);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.ca-meta-chip.quiet {
    background: transparent;
    border-style: dashed;
}

/* Inline toolbar labels (WPF workspace toolbar: "Period:", "Doc. Type:", …). */
.ws-label {
    color: var(--neo-muted);
    font-size: 13px;
}

/* Toolbar search input (moved from the top bar). */
.neo-toolbar-search {
    width: 200px;
    height: 26px;
    padding: 0 8px 0 28px;
    border: 1px solid var(--neo-border);
    border-radius: var(--neo-radius-sm);
    background: var(--neo-bg);
    color: var(--neo-fore);
    font: var(--neo-font);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' width='14' height='14' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='M13.5 13.5L17 17'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 8px center;
}

.neo-toolbar-search:focus {
    border-color: var(--neo-border-focus);
    outline: none;
    box-shadow: var(--neo-focus-ring);
}

.neo-toolbar-search::placeholder {
    color: var(--neo-muted);
}
