/* Explicitly loaded by _Host; independent of the optional CSS-isolation bundle. */
.fbr-invoice-grid { width: 100%; min-width: 1140px; border-collapse: separate; border-spacing: 0; }
.table.fbr-invoice-grid thead th {
    padding: 12px 10px !important; background: #395e98 !important; color: #fff !important;
    border-top: 1px solid #e5ebf3; border-bottom: 1px solid #e5ebf3;
    font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap;
}
.fbr-invoice-grid thead th:first-child { border-radius: 8px 0 0 0; }
.fbr-invoice-grid thead th:last-child { border-radius: 0 8px 0 0; }
.fbr-invoice-grid tbody td, .fbr-invoice-grid tbody th {
    padding: 13px 10px; vertical-align: middle; border: 0; border-bottom: 1px solid #e9edf4;
    background: transparent; color: #26364d; font-size: 12px; text-align: left;
}
.fbr-invoice-grid tbody tr:hover { background: #f8faff; }
.fbr-invoice-grid tbody th[scope="row"] { font-weight: 600; }
.fbr-invoice-grid input[type="checkbox"] { accent-color: #355e98; }
.fbr-row-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 215px; }
.fbr-row-toolbar { display: flex; align-items: center; gap: 7px; flex-wrap: nowrap; }
.fbr-tool {
    box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 34px; flex-shrink: 0; margin: 0; padding: 0 11px;
    border: 1px solid #dce4ef; border-radius: 7px; background: #fff; color: #415774;
    font-family: inherit; font-size: 11px; font-weight: 500; line-height: 1;
    white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s;
}
.fbr-tool svg, .fbr-row-feedback svg {
    display: block; width: 16px; height: 16px; flex: 0 0 16px;
    fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.fbr-tool-icon, .fbr-tool-delete { width: 34px; padding: 0; }
.fbr-tool-status { background: #eff5ff; border-color: #dce7f8; color: #315c98; min-width: 111px; }
.fbr-tool:hover:not(:disabled) { background: #e8f0fd; border-color: #a9bfdf; box-shadow: 0 2px 5px #2038580d; }
.fbr-tool-separator { height: 20px; width: 1px; background: #e6ebf2; margin: 0 1px; }
.fbr-tool-delete { background: #fff7f6; border-color: #f3d9d5; color: #bd4a40; }
.fbr-tool-delete:hover:not(:disabled) { background: #ffe9e5; border-color: #dfa49c; }
.fbr-tool:disabled { opacity: 1; color: #b4bdca; background: #f7f8fa; border-color: #e8ecf1; cursor: not-allowed; box-shadow: none; }
.fbr-tool:focus-visible, .fbr-send-primary:focus-visible, .fbr-row-feedback summary:focus-visible {
    outline: 2px solid #527db9; outline-offset: 3px;
}
.fbr-row-feedback { max-width: 290px; text-align: left; }
.fbr-row-feedback summary { display: inline-flex; align-items: center; gap: 6px; color: #64748b; font-size: 10px; cursor: pointer; list-style: none; }
.fbr-row-feedback summary::-webkit-details-marker { display: none; }
.fbr-row-feedback summary svg { width: 11px; height: 11px; flex-basis: 11px; transition: transform .15s; }
.fbr-row-feedback[open] summary svg { transform: rotate(90deg); }
.fbr-feedback-dot { width: 5px; height: 5px; border-radius: 50%; background: #8da4c2; }
.fbr-row-feedback p { margin: 8px 0 0; padding: 10px 12px; border: 1px solid #e2e9f3; border-radius: 7px; background: #f7faff; color: #475569; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; white-space: normal; }
.fbr-send-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px;
    border: 1px solid #355e98; border-radius: 7px; padding: 7px 13px; background: #355e98;
    color: #fff; font-family: inherit; font-size: 11px; font-weight: 500; line-height: 1.2; white-space: nowrap; cursor: pointer;
    box-shadow: 0 2px 4px #355e981c;
}
.fbr-send-primary:hover:not(:disabled) { background: #294c80; border-color: #294c80; }
.fbr-send-primary:disabled { opacity: .45; cursor: not-allowed; }
.fbr-send-primary svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fbr-icon-spin { animation: fbr-spin 1s linear infinite; }
@keyframes fbr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fbr-icon-spin { animation: none; } }
