/* /Components/ActionFeedback.razor.rz.scp.css */
.action-feedback[b-5o0471ax33] {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feedback-item[b-5o0471ax33] {
    margin-bottom: 0;
    border-radius: 8px;
}
/* /Components/Animals/AnimalCreatePanel.razor.rz.scp.css */
.editor-page[b-n88qqwqwux] {
    display: grid;
    gap: 1rem;
}

.editor-shell[b-n88qqwqwux] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    align-items: start;
}

.editor-main[b-n88qqwqwux],
.editor-side[b-n88qqwqwux] {
    display: grid;
    gap: 1rem;
}

.form-section[b-n88qqwqwux] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.form-section.compact[b-n88qqwqwux] {
    gap: 0.75rem;
}

.section-head[b-n88qqwqwux] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.section-head h4[b-n88qqwqwux] {
    margin: 0.1rem 0 0;
    font-weight: 900;
}

.hint-chip[b-n88qqwqwux] {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: #f4f7fb;
    border: 1px solid var(--ds-border);
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.form-grid[b-n88qqwqwux] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field-block[b-n88qqwqwux] {
    display: grid;
    gap: 0.45rem;
}

.field-span-2[b-n88qqwqwux] {
    grid-column: span 2;
}

.field-block label[b-n88qqwqwux],
.toggle-row label[b-n88qqwqwux] {
    color: var(--ds-muted-strong);
    font-weight: 700;
}

.inline-field[b-n88qqwqwux] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.inline-field .form-control[b-n88qqwqwux] {
    flex: 1 1 260px;
}

.toggle-row[b-n88qqwqwux],
.toggle-block[b-n88qqwqwux] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.animal-photo[b-n88qqwqwux] {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--ds-border);
    object-fit: cover;
    max-height: 280px;
}

.summary-list[b-n88qqwqwux] {
    display: grid;
    gap: 0.75rem;
}

.summary-list div[b-n88qqwqwux] {
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--ds-border);
    background: var(--ds-surface-alt);
}

.summary-list span[b-n88qqwqwux] {
    color: var(--ds-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.summary-list strong[b-n88qqwqwux] {
    font-weight: 900;
}

@media (max-width: 980px) {
    .editor-shell[b-n88qqwqwux] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .form-grid[b-n88qqwqwux] {
        grid-template-columns: 1fr;
    }

    .field-span-2[b-n88qqwqwux] {
        grid-column: span 1;
    }

    .inline-field[b-n88qqwqwux] {
        flex-direction: column;
    }
}
/* /Components/Animals/AnimalHeroQrStrip.razor.rz.scp.css */
.animal-hero-qr[b-3a8ehecwir] {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.animal-hero-qr-trigger[b-3a8ehecwir] {
    border: 1px dashed #cfd8d3;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.animal-hero-qr-trigger:hover[b-3a8ehecwir] {
    border-color: #0d6efd;
}

.animal-hero-qr-image[b-3a8ehecwir]  svg {
    width: 88px;
    height: 88px;
    display: block;
}

@media (max-width: 720px) {
    .animal-hero-qr[b-3a8ehecwir] {
        margin-top: 0.5rem;
        width: 100%;
    }

    .animal-hero-qr-trigger[b-3a8ehecwir] {
        width: 100%;
        max-width: 9rem;
    }

    .animal-hero-qr-image[b-3a8ehecwir]  svg {
        width: 72px;
        height: 72px;
    }
}

.animal-hero-qr-label[b-3a8ehecwir] {
    font-size: 0.72rem;
    color: #66756d;
}

.animal-hero-qr-actions[b-3a8ehecwir] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
/* /Components/Animals/AnimalQrPrintModal.razor.rz.scp.css */
.animal-qr-modal .modal-dialog[b-kc08ybp4mc] {
    max-width: 420px;
}

.animal-qr-print-area[b-kc08ybp4mc] {
    border: 1px dashed #cfd8d3;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    background: #fff;
}

.animal-qr-farm[b-kc08ybp4mc] {
    font-size: 0.82rem;
    color: #66756d;
    margin-bottom: 4px;
}

.animal-qr-name[b-kc08ybp4mc] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2d26;
}

.animal-qr-number[b-kc08ybp4mc] {
    font-size: 0.92rem;
    color: #4a5a52;
    margin-top: 2px;
}

.animal-qr-image[b-kc08ybp4mc] {
    display: flex;
    justify-content: center;
    margin: 14px 0 10px;
}

.animal-qr-image[b-kc08ybp4mc]  svg {
    width: 220px;
    height: 220px;
}

.animal-qr-payload[b-kc08ybp4mc] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.72rem;
    color: #66756d;
    word-break: break-all;
}

.animal-qr-hint[b-kc08ybp4mc] {
    margin-top: 10px;
    font-size: 0.82rem;
    color: #66756d;
}
/* /Components/Animals/AnimalReportPeriodModal.razor.rz.scp.css */
.animal-report-modal[b-h88v4q0k86] {
    z-index: 1300;
    background-color: rgba(15, 23, 42, 0.55);
}

.animal-report-modal .modal-dialog[b-h88v4q0k86] {
    max-width: 560px;
}

.animal-report-modal .modal-content[b-h88v4q0k86] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}

.animal-report-modal .modal-header[b-h88v4q0k86] {
    border-bottom: 1px solid var(--ds-border);
    padding: 1rem 1.15rem 0.85rem;
}

.animal-report-modal .modal-header h3[b-h88v4q0k86] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ds-text);
}

.animal-report-modal .modal-body[b-h88v4q0k86] {
    padding: 1rem 1.15rem;
}

.animal-report-modal .modal-footer[b-h88v4q0k86] {
    border-top: 1px solid var(--ds-border);
    padding: 0.85rem 1.15rem 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.animal-report-modal .reports-presets[b-h88v4q0k86] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
/* /Components/Animals/AnimalsListExportModal.razor.rz.scp.css */
.animals-export-modal[b-01ivndyr3k] {
    z-index: 1300;
    background-color: rgba(15, 23, 42, 0.55);
}

.animals-export-modal .modal-dialog[b-01ivndyr3k] {
    max-width: 520px;
}

.animals-export-modal .modal-content[b-01ivndyr3k] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}

.animals-export-modal .export-summary-list[b-01ivndyr3k] {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--ds-text);
    font-size: 0.92rem;
}

.animals-export-modal .export-summary-list li + li[b-01ivndyr3k] {
    margin-top: 0.35rem;
}

.animals-export-modal .modal-footer[b-01ivndyr3k] {
    border-top: 1px solid var(--ds-border);
    padding: 0.85rem 1.15rem 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}
/* /Components/Animals/BirthConfirmDialog.razor.rz.scp.css */
.birth-confirm-dialog[b-frfljqbfl1] {
    width: min(34rem, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow: auto;
}

.birth-confirm-intro[b-frfljqbfl1] {
    margin: 0 0 1rem;
    color: var(--ds-muted-strong);
}

.birth-confirm-summary[b-frfljqbfl1] {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.birth-confirm-row[b-frfljqbfl1] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--ds-border);
    border-radius: 10px;
    background: var(--ds-surface-alt);
}

.birth-confirm-row span[b-frfljqbfl1] {
    color: var(--ds-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.birth-confirm-row strong[b-frfljqbfl1] {
    text-align: right;
    font-weight: 900;
}

.birth-confirm-notes[b-frfljqbfl1] {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px dashed var(--ds-border);
    border-radius: 10px;
    background: #fbfdff;
}

.birth-confirm-notes span[b-frfljqbfl1] {
    color: var(--ds-muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.birth-confirm-notes p[b-frfljqbfl1] {
    margin: 0;
    color: var(--ds-text);
    white-space: pre-wrap;
}

.birth-confirm-babies[b-frfljqbfl1] {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.birth-confirm-babies strong[b-frfljqbfl1] {
    font-size: 0.9rem;
}

.birth-confirm-babies ul[b-frfljqbfl1] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.birth-confirm-babies li[b-frfljqbfl1] {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--ds-border);
    border-radius: 10px;
    background: #fff;
}

.birth-confirm-baby-name[b-frfljqbfl1] {
    font-weight: 800;
    color: var(--ds-text);
}

.birth-confirm-baby-meta[b-frfljqbfl1] {
    color: var(--ds-muted-strong);
    font-size: 0.84rem;
}
/* /Components/Animals/ParentAnimalPicker.razor.rz.scp.css */
.parent-picker-toolbar[b-xh7jxiwpe6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.parent-picker-filter[b-xh7jxiwpe6] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    margin: 0;
}

.parent-candidate-list[b-xh7jxiwpe6] {
    display: grid;
    gap: 0.5rem;
}

.parent-candidate-card[b-xh7jxiwpe6] {
    display: grid;
    gap: 0.15rem;
    width: 100%;
    text-align: left;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    background: var(--bs-body-bg, #fff);
    cursor: pointer;
}

.parent-candidate-card:hover[b-xh7jxiwpe6],
.parent-candidate-card.is-selected[b-xh7jxiwpe6] {
    border-color: var(--bs-primary, #0d6efd);
    background: rgba(13, 110, 253, 0.05);
}

.parent-candidate-head[b-xh7jxiwpe6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.parent-candidate-card span[b-xh7jxiwpe6] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
}
/* /Components/Calendar/AnimalPlanEventModal.razor.rz.scp.css */
.animal-plan-modal-backdrop[b-6aem7osyuu] {
    background-color: rgba(15, 23, 42, 0.45);
}

.animal-plan-presets[b-6aem7osyuu] {
    display: grid;
    gap: 0.45rem;
}

.animal-plan-presets-label[b-6aem7osyuu] {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ds-muted, #6c757d);
}

.animal-plan-presets-row[b-6aem7osyuu] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.animal-plan-preset[b-6aem7osyuu] {
    border: 1px solid var(--ds-border, #dee2e6);
    background: var(--ds-surface, #fff);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.animal-plan-preset:hover[b-6aem7osyuu] {
    border-color: color-mix(in srgb, var(--ds-primary, #0d6efd) 40%, var(--ds-border, #dee2e6));
}

.animal-plan-preset.active[b-6aem7osyuu] {
    background: var(--ds-primary, #0d6efd);
    border-color: var(--ds-primary, #0d6efd);
    color: #fff;
}
/* /Components/Calendar/CalendarEventCard.razor.rz.scp.css */
.calendar-event-card[b-jaheiugf9h] {
    border: 1px solid var(--ds-border, rgba(0, 0, 0, 0.1));
    border-radius: var(--ds-radius-lg, 12px);
    background: var(--ds-surface, #fff);
    padding: 1rem 1.1rem;
    margin-bottom: 0.65rem;
    cursor: pointer;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    box-shadow: var(--ds-soft-shadow, 0 1px 3px rgba(15, 23, 42, 0.06));
}

.calendar-event-card:hover[b-jaheiugf9h] {
    border-color: color-mix(in srgb, var(--ds-primary, #0d6efd) 35%, var(--ds-border, #dee2e6));
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.calendar-event-card--critical[b-jaheiugf9h] { border-left: 4px solid var(--ds-danger, #dc3545); }
.calendar-event-card--high[b-jaheiugf9h] { border-left: 4px solid var(--ds-warning, #fd7e14); }
.calendar-event-card--normal[b-jaheiugf9h] { border-left: 4px solid var(--ds-primary, #0d6efd); }
.calendar-event-card--low[b-jaheiugf9h] { border-left: 4px solid var(--ds-muted, #adb5bd); }

.calendar-event-card__header[b-jaheiugf9h] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.calendar-event-card__icon[b-jaheiugf9h] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: var(--ds-surface-alt, #f8f9fa);
    color: var(--ds-primary, #0d6efd);
    flex-shrink: 0;
}

.calendar-event-card--critical .calendar-event-card__icon[b-jaheiugf9h] { color: var(--ds-danger, #dc3545); }
.calendar-event-card--high .calendar-event-card__icon[b-jaheiugf9h] { color: var(--ds-warning, #fd7e14); }

.calendar-event-card__head-text[b-jaheiugf9h] {
    flex: 1;
    min-width: 0;
}

.calendar-event-card__title[b-jaheiugf9h] {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ds-text, #212529);
    line-height: 1.35;
}

.calendar-event-card__meta[b-jaheiugf9h] {
    font-size: 0.82rem;
    color: var(--ds-muted, #6c757d);
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.calendar-event-card__sep[b-jaheiugf9h] { opacity: 0.5; }

.calendar-event-card__badges[b-jaheiugf9h] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-end;
    flex-shrink: 0;
}

.calendar-event-card__badge[b-jaheiugf9h] {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
}

.calendar-event-card__badge.priority[b-jaheiugf9h] {
    background: color-mix(in srgb, var(--ds-primary, #0d6efd) 12%, transparent);
    color: var(--ds-primary, #0d6efd);
}

.calendar-event-card--critical .calendar-event-card__badge.priority[b-jaheiugf9h] {
    background: color-mix(in srgb, var(--ds-danger, #dc3545) 12%, transparent);
    color: var(--ds-danger, #dc3545);
}

.calendar-event-card--high .calendar-event-card__badge.priority[b-jaheiugf9h] {
    background: color-mix(in srgb, var(--ds-warning, #fd7e14) 15%, transparent);
    color: #b45309;
}

.calendar-event-card__badge.status[b-jaheiugf9h] {
    background: var(--ds-surface-alt, #f1f3f5);
    color: var(--ds-muted, #6c757d);
}

.calendar-event-card__reason[b-jaheiugf9h],
.calendar-event-card__action[b-jaheiugf9h] {
    margin-top: 0.75rem;
    font-size: 0.88rem;
    color: var(--ds-text, #212529);
}

.calendar-event-card__label[b-jaheiugf9h] {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ds-muted, #6c757d);
    margin-bottom: 0.15rem;
}

.calendar-event-card__reason p[b-jaheiugf9h],
.calendar-event-card__action p[b-jaheiugf9h] {
    margin: 0;
    line-height: 1.45;
}

.calendar-event-card__action[b-jaheiugf9h] {
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    background: var(--ds-surface-alt, #f8f9fa);
}

.calendar-event-card__actions[b-jaheiugf9h] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--ds-border, rgba(0, 0, 0, 0.08));
}

.calendar-event-card__more[b-jaheiugf9h] {
    position: relative;
    margin-left: auto;
}

.calendar-event-card__more summary[b-jaheiugf9h] {
    list-style: none;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ds-border, #dee2e6);
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--ds-muted, #6c757d);
}

.calendar-event-card__more summary[b-jaheiugf9h]::-webkit-details-marker { display: none; }

.calendar-event-card__more-menu[b-jaheiugf9h] {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 5;
    min-width: 10rem;
    background: var(--ds-surface, #fff);
    border: 1px solid var(--ds-border, #dee2e6);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
}

.calendar-event-card__more-menu button[b-jaheiugf9h] {
    border: none;
    background: none;
    text-align: left;
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    font-size: 0.88rem;
    color: var(--ds-text, #212529);
}

.calendar-event-card__more-menu button:hover[b-jaheiugf9h] {
    background: var(--ds-surface-alt, #f8f9fa);
}

.calendar-event-card__more-menu button.danger[b-jaheiugf9h] {
    color: var(--ds-danger, #dc3545);
}

/* Compact (week) */
.calendar-event-card--compact[b-jaheiugf9h] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
    margin-bottom: 0.35rem;
}

.calendar-event-card__priority-dot[b-jaheiugf9h] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--ds-primary, #0d6efd);
}

.calendar-event-card--compact.calendar-event-card--critical .calendar-event-card__priority-dot[b-jaheiugf9h] { background: var(--ds-danger, #dc3545); }
.calendar-event-card--compact.calendar-event-card--high .calendar-event-card__priority-dot[b-jaheiugf9h] { background: var(--ds-warning, #fd7e14); }
.calendar-event-card--compact.calendar-event-card--low .calendar-event-card__priority-dot[b-jaheiugf9h] { background: var(--ds-muted, #adb5bd); }

.calendar-event-card__compact-body[b-jaheiugf9h] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.calendar-event-card__compact-title[b-jaheiugf9h] {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ds-text, #212529);
}

.calendar-event-card__compact-meta[b-jaheiugf9h] {
    font-size: 0.72rem;
    color: var(--ds-muted, #6c757d);
}
/* /Components/Calendar/CalendarEventDrawer.razor.rz.scp.css */
.calendar-event-overlay[b-s93bho15go] {
    position: fixed;
    inset: 0;
    z-index: 1045;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
}

.calendar-event-drawer-panel[b-s93bho15go] {
    width: min(480px, 100vw);
    height: 100vh;
    overflow-y: auto;
    background: var(--ds-surface, #fff);
    padding: 1.25rem 1.5rem 2rem;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-event-drawer-panel .drawer-head[b-s93bho15go] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--ds-border, rgba(0, 0, 0, 0.08));
}

.calendar-event-drawer-panel .drawer-head h4[b-s93bho15go] {
    margin: 0.25rem 0 0;
    font-size: 1.15rem;
    color: var(--ds-text, #212529);
}

.calendar-event-drawer-panel .drawer-subline[b-s93bho15go] {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: var(--ds-muted, #6c757d);
}

.calendar-event-drawer-panel .drawer-block label[b-s93bho15go] {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ds-muted, #6c757d);
    margin-bottom: 0.25rem;
}

.calendar-event-drawer-panel .drawer-block p[b-s93bho15go] {
    margin: 0;
    line-height: 1.45;
    color: var(--ds-text, #212529);
}

.calendar-event-drawer-panel .drawer-block-action[b-s93bho15go] {
    background: var(--ds-surface-alt, #f8f9fa);
    border-radius: 8px;
    padding: 0.75rem;
}

.calendar-event-drawer-panel .drawer-footer[b-s93bho15go] {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ds-border, rgba(0, 0, 0, 0.08));
}

@media (max-width: 768px) {
    .calendar-event-overlay[b-s93bho15go] {
        justify-content: center;
        align-items: flex-end;
    }

    .calendar-event-drawer-panel[b-s93bho15go] {
        width: 100vw;
        height: 88vh;
        border-radius: 16px 16px 0 0;
    }
}
/* /Components/Calendar/CalendarMonthChip.razor.rz.scp.css */
.calendar-month-chip[b-lxnodzuv4e] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 0.68rem;
    line-height: 1.25;
    padding: 0.2rem 0.35rem;
    border-radius: 6px;
    margin-bottom: 0.18rem;
    cursor: pointer;
    background: color-mix(in srgb, var(--ds-primary, #0d6efd) 10%, #fff);
    color: var(--ds-text, #212529);
    transition: background 0.12s, transform 0.12s;
}

.calendar-month-chip:hover[b-lxnodzuv4e] {
    background: color-mix(in srgb, var(--ds-primary, #0d6efd) 18%, #fff);
    transform: translateX(1px);
}

.calendar-month-chip__dot[b-lxnodzuv4e] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--ds-primary, #0d6efd);
}

.calendar-month-chip.priority-critical[b-lxnodzuv4e] {
    background: color-mix(in srgb, var(--ds-danger, #dc3545) 14%, #fff);
}
.calendar-month-chip.priority-critical .calendar-month-chip__dot[b-lxnodzuv4e] { background: var(--ds-danger, #dc3545); }

.calendar-month-chip.priority-high[b-lxnodzuv4e] {
    background: color-mix(in srgb, var(--ds-warning, #fd7e14) 16%, #fff);
}
.calendar-month-chip.priority-high .calendar-month-chip__dot[b-lxnodzuv4e] { background: var(--ds-warning, #fd7e14); }

.calendar-month-chip.priority-low[b-lxnodzuv4e] {
    background: var(--ds-surface-alt, #f1f3f5);
}
.calendar-month-chip.priority-low .calendar-month-chip__dot[b-lxnodzuv4e] { background: var(--ds-muted, #adb5bd); }

.calendar-month-chip__text[b-lxnodzuv4e] {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}
/* /Components/Calendar/CalendarSection.razor.rz.scp.css */
.calendar-section[b-70sftcsfh3] {
    padding: 1rem 1.15rem;
    border: 1px solid var(--ds-border, rgba(0, 0, 0, 0.08));
    border-radius: var(--ds-radius-lg, 12px);
    background: var(--ds-surface, #fff);
    box-shadow: var(--ds-soft-shadow, 0 1px 3px rgba(15, 23, 42, 0.05));
}

.calendar-section-header[b-70sftcsfh3] {
    margin-bottom: 0.85rem;
}

.calendar-section-title[b-70sftcsfh3] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ds-text, #212529);
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.calendar-section-count[b-70sftcsfh3] {
    color: var(--ds-muted, #6c757d);
    font-weight: 500;
    font-size: 0.95rem;
}

.calendar-section-desc[b-70sftcsfh3] {
    margin: 0.25rem 0 0;
    font-size: 0.88rem;
    color: var(--ds-muted, #6c757d);
}

.calendar-section-cards[b-70sftcsfh3] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calendar-section-more[b-70sftcsfh3] {
    margin-top: 0.35rem;
    padding-left: 0;
    font-size: 0.9rem;
}

.calendar-section-empty-wrap[b-70sftcsfh3] {
    padding: 0.25rem 0;
}

.calendar-section-empty-wrap .ui-empty-state[b-70sftcsfh3] {
    background: linear-gradient(180deg, var(--ds-surface-alt, #f8fafc) 0%, var(--ds-surface, #fff) 100%);
}
/* /Components/Calendar/CalendarSettingsDrawer.razor.rz.scp.css */
.calendar-settings-overlay[b-n2ik2m352l] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
}

.calendar-settings-drawer[b-n2ik2m352l] {
    width: min(560px, 100vw);
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    padding: 1.25rem 1.5rem 2rem;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-settings-drawer .drawer-head[b-n2ik2m352l] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.calendar-settings-drawer .drawer-head h4[b-n2ik2m352l] {
    margin: 0.25rem 0 0;
}

.calendar-settings-drawer .settings-sections[b-n2ik2m352l] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
}

.calendar-settings-drawer .settings-sections section[b-n2ik2m352l] {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.calendar-settings-drawer .settings-sections h5[b-n2ik2m352l] {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.calendar-settings-drawer .settings-subtitle[b-n2ik2m352l] {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.calendar-settings-drawer .settings-advanced[b-n2ik2m352l] {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.calendar-settings-drawer .settings-advanced summary[b-n2ik2m352l] {
    cursor: pointer;
    font-weight: 600;
}

.calendar-settings-drawer .settings-grid[b-n2ik2m352l] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.55rem 1rem;
}

.calendar-settings-drawer .settings-grid label[b-n2ik2m352l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.35;
}

.calendar-settings-drawer .settings-grid .form-label[b-n2ik2m352l] {
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
}

.calendar-settings-drawer .settings-grid .form-control[b-n2ik2m352l],
.calendar-settings-drawer .settings-grid .form-select[b-n2ik2m352l] {
    max-width: 100%;
}

.calendar-settings-drawer .drawer-footer[b-n2ik2m352l] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    bottom: 0;
    background: #fff;
}

@media (max-width: 768px) {
    .calendar-settings-overlay[b-n2ik2m352l] {
        justify-content: center;
        align-items: flex-end;
    }

    .calendar-settings-drawer[b-n2ik2m352l] {
        width: 100vw;
        height: 92vh;
        border-radius: 16px 16px 0 0;
    }

    .calendar-settings-drawer .settings-grid[b-n2ik2m352l] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Catalog/CatalogSelectWithCustomOption.razor.rz.scp.css */
.catalog-select__footer[b-crlmnbnbid] {
    margin-top: 0.45rem;
}

.catalog-select__help[b-crlmnbnbid] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--fl-text-muted, #6b7280);
    line-height: 1.45;
}

.catalog-select__create-inline[b-crlmnbnbid] {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fl-brand, #2f855a);
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.catalog-select__create-inline:hover[b-crlmnbnbid] {
    color: var(--fl-brand-dark, #276749);
}

.catalog-select__help-secondary[b-crlmnbnbid] {
    margin-top: 0.35rem;
}

.catalog-select__link[b-crlmnbnbid] {
    color: var(--fl-brand, #2f855a);
    font-weight: 600;
    text-decoration: underline;
}

.catalog-select__link:hover[b-crlmnbnbid] {
    color: var(--fl-brand-dark, #276749);
}

.catalog-select__no-perm[b-crlmnbnbid] {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: var(--fl-text-muted, #6b7280);
}

.catalog-select__other[b-crlmnbnbid] {
    padding: 0.65rem 0.75rem;
    border: 1px dashed rgba(47, 133, 90, 0.35);
    border-radius: 0.5rem;
    background: rgba(47, 133, 90, 0.04);
}

.catalog-select__search[b-crlmnbnbid] {
    max-width: 100%;
}

.catalog-select__created-alert[b-crlmnbnbid] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.55rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(47, 133, 90, 0.35);
    background: rgba(47, 133, 90, 0.1);
    color: #276749;
    font-size: 0.8125rem;
    font-weight: 600;
}

.catalog-select__selected[b-crlmnbnbid] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.55rem 0 0;
    font-size: 0.8125rem;
    color: var(--fl-text-muted, #6b7280);
}

.catalog-select__selected-icon[b-crlmnbnbid] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background: rgba(47, 133, 90, 0.15);
    color: #276749;
    font-size: 0.72rem;
    font-weight: 800;
}

.catalog-select__custom-pill[b-crlmnbnbid] {
    display: inline-flex;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.72rem;
    font-weight: 700;
}

.catalog-custom-drawer__grid[b-crlmnbnbid] {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .catalog-custom-drawer__grid--2[b-crlmnbnbid] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Common/EntityQrPrintModal.razor.rz.scp.css */
.animal-qr-modal .modal-dialog[b-hgu3ciklrc] {
    max-width: 420px;
}

.animal-qr-print-area[b-hgu3ciklrc] {
    border: 1px dashed #cfd8d3;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    background: #fff;
}

.animal-qr-farm[b-hgu3ciklrc] {
    font-size: 0.82rem;
    color: #66756d;
    margin-bottom: 4px;
}

.animal-qr-name[b-hgu3ciklrc] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2d26;
}

.animal-qr-number[b-hgu3ciklrc] {
    font-size: 0.92rem;
    color: #4a5a52;
    margin-top: 2px;
}

.animal-qr-image[b-hgu3ciklrc] {
    display: flex;
    justify-content: center;
    margin: 14px 0 10px;
}

.animal-qr-image[b-hgu3ciklrc]  svg {
    width: 220px;
    height: 220px;
}

.animal-qr-payload[b-hgu3ciklrc] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.72rem;
    color: #66756d;
    word-break: break-all;
}

.animal-qr-hint[b-hgu3ciklrc] {
    margin-top: 10px;
    font-size: 0.82rem;
    color: #66756d;
}
/* /Components/ConfirmDialog.razor.rz.scp.css */
.confirm-backdrop[b-hvo1x5awre] {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.58);
}

.confirm-dialog[b-hvo1x5awre] {
    width: min(460px, 100%);
    padding: 1rem;
    border-radius: var(--ds-radius-xl);
    border: 1px solid var(--ds-border);
    background: var(--ds-surface);
    box-shadow: var(--ds-elevated-shadow);
}

.confirm-head[b-hvo1x5awre] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.confirm-head h5[b-hvo1x5awre] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 850;
}

.confirm-actions[b-hvo1x5awre] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}
/* /Components/Cost/CostsAnalysisPanel.razor.rz.scp.css */
.costs-analysis-panel[b-vg2oj09u4f] {
    display: grid;
    gap: 1rem;
}

.costs-subtabs[b-vg2oj09u4f] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.costs-subtab[b-vg2oj09u4f] {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.2;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.costs-subtab:hover[b-vg2oj09u4f] {
    border-color: #2563eb;
    color: #1e40af;
    background: #f8fafc;
}

.costs-subtab.is-active[b-vg2oj09u4f] {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.costs-subtab.is-active .costs-species-count[b-vg2oj09u4f] {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.costs-species-count[b-vg2oj09u4f] {
    font-size: 0.72rem;
    font-weight: 700;
    background: #e2e8f0;
    color: #334155;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    min-width: 1.25rem;
    text-align: center;
}

.costs-analysis-charts[b-vg2oj09u4f] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.costs-trend-charts[b-vg2oj09u4f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.costs-poultry-breed-highlights[b-vg2oj09u4f] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem 1rem;
    padding: 0 1rem 1rem;
}

.costs-poultry-breed-highlights span[b-vg2oj09u4f] {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
}

.costs-analysis-grid[b-vg2oj09u4f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.costs-analysis-list[b-vg2oj09u4f] {
    display: grid;
    gap: 0.75rem;
}

.costs-analysis-item[b-vg2oj09u4f] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eef2f6;
}

.costs-analysis-item:last-child[b-vg2oj09u4f] {
    border-bottom: 0;
}

.costs-analysis-values[b-vg2oj09u4f] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
}

.costs-poultry-kpis[b-vg2oj09u4f] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    padding: 0 1rem 1rem;
}

.costs-poultry-kpis div[b-vg2oj09u4f] {
    display: grid;
    gap: 0.2rem;
}

.costs-poultry-kpis span[b-vg2oj09u4f] {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.cost-stack[b-vg2oj09u4f] {
    display: flex;
    height: 1.2rem;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f6;
}

.cost-segment[b-vg2oj09u4f] {
    display: block;
    min-width: 0;
    height: 100%;
}

.cost-legend.compact[b-vg2oj09u4f] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem 1rem;
}

.cost-legend-item[b-vg2oj09u4f] {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.cost-dot[b-vg2oj09u4f] {
    width: 0.7rem;
    height: 0.7rem;
    margin-top: 0.35rem;
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .costs-trend-charts[b-vg2oj09u4f] {
        grid-template-columns: 1fr;
    }

    .costs-analysis-grid[b-vg2oj09u4f] {
        grid-template-columns: 1fr;
    }

    .costs-analysis-item[b-vg2oj09u4f] {
        flex-direction: column;
    }

    .costs-analysis-values[b-vg2oj09u4f] {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
}
/* /Components/Cost/CostsListExportModal.razor.rz.scp.css */
.costs-export-modal[b-p5csy3fis1] {
    z-index: 1300;
    background-color: rgba(15, 23, 42, 0.55);
}

.costs-export-modal .modal-dialog[b-p5csy3fis1] {
    max-width: 520px;
}

.costs-export-modal .modal-content[b-p5csy3fis1] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}

.costs-export-modal .export-summary-list[b-p5csy3fis1] {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--ds-text);
    font-size: 0.92rem;
}

.costs-export-modal .export-summary-list li + li[b-p5csy3fis1] {
    margin-top: 0.35rem;
}

.costs-export-modal .modal-footer[b-p5csy3fis1] {
    border-top: 1px solid var(--ds-border);
    padding: 0.85rem 1.15rem 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}
/* /Components/Dashboard/DashboardSectionCard.razor.rz.scp.css */
/* Component-specific overrides live in wwwroot/css/dashboard-section.css */
/* /Components/Dashboard/FarmActivityDigest.razor.rz.scp.css */
.farm-activity-footer[b-j98cpitt56] {
    margin-top: 0.85rem;
}
/* /Components/Dashboard/FarmDashboardHero.razor.rz.scp.css */
.farm-dashboard-hero-card[b-1zxnlwrphm] {
    margin-bottom: 1rem;
}

.farm-dashboard-hero-card[b-1zxnlwrphm]  .dashboard-section-header {
    padding: 1rem 1.1rem 0.5rem;
}

.farm-dashboard-hero[b-1zxnlwrphm] {
    padding: 0 1.1rem 1rem;
}

.farm-hero-kpi-row[b-1zxnlwrphm] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.farm-hero-kpi[b-1zxnlwrphm] {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--fl-border, #e5e7eb);
    border-radius: var(--fl-radius-md, 12px);
    background: var(--fl-surface, #fff);
}

.farm-hero-kpi > span[b-1zxnlwrphm] {
    color: var(--fl-muted, #6b7280);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.25;
}

.farm-hero-kpi > strong[b-1zxnlwrphm] {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 900;
    line-height: 1.15;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.farm-hero-kpi-score > strong[b-1zxnlwrphm] {
    font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.farm-hero-kpi-score > strong small[b-1zxnlwrphm] {
    font-size: 0.72em;
    font-weight: 700;
    color: var(--fl-muted, #6b7280);
}

.farm-hero-kpi-score.score-success[b-1zxnlwrphm] {
    border-color: #badbcc;
    background: #f4fff7;
    color: #146c43;
}

.farm-hero-kpi-score.score-warning[b-1zxnlwrphm] {
    border-color: #f5d0a4;
    background: #fffaf2;
    color: #b26a00;
}

.farm-hero-kpi-score.score-danger[b-1zxnlwrphm] {
    border-color: #f1b0b7;
    background: #fff5f6;
    color: #b02a37;
}

.farm-hero-priority-chips[b-1zxnlwrphm] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.farm-hero-priority-chips li a[b-1zxnlwrphm],
.farm-hero-priority-chips li span[b-1zxnlwrphm] {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--fl-border, #e5e7eb);
    background: var(--fl-bg, #f8fafc);
    color: var(--fl-text, #1f2937);
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
    line-height: 1.3;
}

.farm-hero-priority-chips li a:hover[b-1zxnlwrphm] {
    border-color: var(--fl-primary, #2563eb);
    background: color-mix(in srgb, var(--fl-primary, #2563eb) 6%, white);
}

.farm-hero-priorities[b-1zxnlwrphm] {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.farm-hero-footer[b-1zxnlwrphm] {
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .farm-hero-kpi-row[b-1zxnlwrphm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .farm-hero-kpi-row[b-1zxnlwrphm] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Dashboard/FarmDayPrioritiesPanel.razor.rz.scp.css */
.farm-today-actions-grid[b-xf81onkzr0] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.farm-today-action-btn[b-xf81onkzr0] {
    display: grid;
    gap: 0.3rem;
    justify-items: start;
    align-content: start;
    min-height: 88px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--fl-border, #e5e7eb);
    border-radius: var(--fl-radius-md, 12px);
    background: var(--fl-surface, #fff);
    color: var(--fl-text, #1f2937);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.farm-today-action-btn:hover[b-xf81onkzr0] {
    border-color: var(--fl-primary, #2563eb);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.farm-today-action-btn strong[b-xf81onkzr0] {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.farm-today-action-btn span[b-xf81onkzr0] {
    color: var(--fl-muted, #6b7280);
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.3;
}

.dashboard-focus-block[b-xf81onkzr0] {
    margin-top: 0.25rem;
}

.decision-list[b-xf81onkzr0] {
    display: grid;
    gap: 0.85rem;
}

@media (max-width: 900px) {
    .farm-today-actions-grid[b-xf81onkzr0] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .farm-today-actions-grid[b-xf81onkzr0] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Dashboard/FarmModuleSummaryGrid.razor.rz.scp.css */
.farm-module-summary-grid[b-44wjjs4yek] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem;
}

.farm-module-card[b-44wjjs4yek] {
    display: grid;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    border-radius: var(--fl-radius-lg, 14px);
    border: 1px solid var(--fl-border, #e5e7eb);
    background: var(--fl-surface, #fff);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.farm-module-card-head[b-44wjjs4yek] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.farm-module-card-icon[b-44wjjs4yek] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--fl-primary, #2563eb) 8%, white);
    color: var(--fl-primary, #2563eb);
}

.farm-module-card-title[b-44wjjs4yek] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
}

.farm-module-card-metrics[b-44wjjs4yek] {
    display: grid;
    gap: 0.45rem;
}

.farm-module-metric[b-44wjjs4yek] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.82rem;
}

.farm-module-metric span[b-44wjjs4yek] {
    color: var(--fl-muted, #6b7280);
    font-weight: 600;
}

.farm-module-metric strong[b-44wjjs4yek] {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.farm-module-card-alert[b-44wjjs4yek] {
    margin: 0;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 650;
    background: #fff8ef;
    border: 1px solid #f5d0a4;
    color: #8a4b00;
}

.farm-module-card-alert.critical[b-44wjjs4yek],
.farm-module-card-alert.danger[b-44wjjs4yek] {
    background: #fff5f6;
    border-color: #f1b0b7;
    color: #b02a37;
}

.farm-module-card-action[b-44wjjs4yek] {
    justify-self: start;
    margin-top: 0.15rem;
}

@media (max-width: 640px) {
    .farm-module-summary-grid[b-44wjjs4yek] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Dashboard/FarmPlanningPanel.razor.rz.scp.css */
.farm-planning-panel .section-title[b-7h9j1hugwg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.farm-planning-list[b-7h9j1hugwg] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.farm-planning-item[b-7h9j1hugwg] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem 0.75rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
}

.farm-planning-actions[b-7h9j1hugwg] {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.farm-planning-item.is-overdue[b-7h9j1hugwg] {
    border-left: 3px solid #dc3545;
}

.farm-planning-item strong[b-7h9j1hugwg] {
    display: block;
}

.farm-planning-badges[b-7h9j1hugwg] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: flex-start;
}
/* /Components/Dashboard/FarmTodayPanel.razor.rz.scp.css */
.farm-today-quick-toolbar[b-ju7zu3ww0r] {
    margin-bottom: 0.85rem;
}

.farm-today-more-actions[b-ju7zu3ww0r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.55rem;
    padding: 0.65rem;
    border-radius: var(--fl-radius-md, 12px);
    border: 1px dashed var(--fl-border, #e5e7eb);
    background: var(--fl-bg, #f8fafc);
}

.farm-today-quick-more[b-ju7zu3ww0r] {
    border-style: dashed;
}

.farm-today-actions-row[b-ju7zu3ww0r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.farm-today-quick-link[b-ju7zu3ww0r] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--fl-border, #e5e7eb);
    background: var(--fl-surface, #fff);
    color: var(--fl-text, #1f2937);
    font-size: 0.8rem;
    font-weight: 650;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
    cursor: pointer;
    font-family: inherit;
}

.farm-today-quick-link:hover[b-ju7zu3ww0r] {
    border-color: var(--fl-primary, #2563eb);
    background: color-mix(in srgb, var(--fl-primary, #2563eb) 6%, white);
    text-decoration: none;
    color: var(--fl-text, #1f2937);
}

.farm-today-toolbar[b-ju7zu3ww0r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.farm-today-task-list[b-ju7zu3ww0r] {
    display: grid;
    gap: 0.65rem;
}

.farm-today-task-card[b-ju7zu3ww0r] {
    display: grid;
    gap: 0.65rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--fl-border, #e5e7eb);
    border-radius: var(--fl-radius-md, 12px);
    background: var(--fl-surface, #fff);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.farm-today-task-card.is-overdue[b-ju7zu3ww0r] {
    border-left: 3px solid var(--fl-danger, #dc2626);
}

.farm-today-task-head[b-ju7zu3ww0r] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.farm-today-task-title[b-ju7zu3ww0r] {
    font-size: 0.92rem;
    font-weight: 800;
}

.farm-today-task-date[b-ju7zu3ww0r] {
    color: var(--fl-muted, #6b7280);
    font-size: 0.78rem;
    font-weight: 650;
    white-space: nowrap;
}

.farm-today-task-desc[b-ju7zu3ww0r] {
    margin: 0.25rem 0 0;
    color: var(--fl-muted, #6b7280);
    font-size: 0.82rem;
    line-height: 1.4;
}

.farm-today-task-meta[b-ju7zu3ww0r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.farm-today-task-actions[b-ju7zu3ww0r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

@media (max-width: 640px) {
    .farm-today-quick-link[b-ju7zu3ww0r] {
        flex: 1 1 calc(50% - 0.5rem);
        justify-content: center;
    }

    .farm-today-task-head[b-ju7zu3ww0r] {
        flex-direction: column;
        gap: 0.2rem;
    }
}
/* /Components/DebugLogPanel.razor.rz.scp.css */
.debug-log-panel[b-vvxi72awa7] {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    width: min(680px, calc(100vw - 2rem));
    border: 1px solid #1f2937;
    border-radius: var(--ds-radius-lg);
    color: #e5eef9;
    background: #0f172a;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
}

.debug-log-panel.closed[b-vvxi72awa7] {
    width: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 640.98px) {
    .debug-log-panel[b-vvxi72awa7] {
        left: 1rem;
        right: 1rem;
        width: auto;
    }
}

.debug-log-header[b-vvxi72awa7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0.6rem;
}

.debug-log-toggle[b-vvxi72awa7],
.debug-log-action[b-vvxi72awa7] {
    border: 0;
    color: inherit;
    background: transparent;
}

.debug-log-toggle[b-vvxi72awa7] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
}

.debug-log-action[b-vvxi72awa7] {
    color: #93c5fd;
    font-size: 0.8rem;
}

.debug-log-count[b-vvxi72awa7] {
    min-width: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    color: #0f172a;
    background: #dbeafe;
    font-size: 0.75rem;
}

.debug-log-dot[b-vvxi72awa7] {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #94a3b8;
}

.debug-log-dot.success[b-vvxi72awa7] {
    background: #4ade80;
}

.debug-log-dot.warning[b-vvxi72awa7] {
    background: #fbbf24;
}

.debug-log-dot.error[b-vvxi72awa7] {
    background: #f87171;
}

.debug-log-body[b-vvxi72awa7] {
    max-height: 14rem;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.78rem;
}

.debug-log-entry[b-vvxi72awa7] {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 0.5rem;
    padding: 0.28rem 0.65rem;
}

.debug-log-entry.error[b-vvxi72awa7] {
    color: #fecaca;
}

.debug-log-entry.warning[b-vvxi72awa7] {
    color: #fde68a;
}

.debug-log-entry.success[b-vvxi72awa7] {
    color: #bbf7d0;
}

.debug-log-time[b-vvxi72awa7] {
    color: #94a3b8;
}

.debug-log-message[b-vvxi72awa7] {
    overflow-wrap: anywhere;
}

.debug-log-empty[b-vvxi72awa7] {
    padding: 0.75rem;
    color: #94a3b8;
}
/* /Components/Farm/CatalogBreedsBySpecies.razor.rz.scp.css */
.catalog-breed-groups[b-iusuodad9o] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.catalog-breed-groups-toolbar[b-iusuodad9o] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.catalog-breed-groups-summary[b-iusuodad9o] {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.catalog-breed-groups-actions[b-iusuodad9o] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.catalog-breed-group[b-iusuodad9o] {
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.catalog-breed-group__header[b-iusuodad9o] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 0;
    background: #f8fafc;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.catalog-breed-group__header:hover[b-iusuodad9o] {
    background: #f1f5f9;
}

.catalog-breed-group__chevron[b-iusuodad9o] {
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
    margin-top: -0.1rem;
}

.catalog-breed-group.is-expanded .catalog-breed-group__chevron[b-iusuodad9o] {
    transform: rotate(45deg);
    margin-top: 0.1rem;
}

.catalog-breed-group__title[b-iusuodad9o] {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
}

.catalog-breed-group__category[b-iusuodad9o] {
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: #e2e8f0;
    white-space: nowrap;
}

.catalog-breed-group__count[b-iusuodad9o] {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.catalog-breed-group__body[b-iusuodad9o] {
    padding: 0.35rem 0.55rem 0.55rem;
    border-top: 1px solid var(--ds-border, #e2e8f0);
}

.catalog-breed-group__body .catalog-item-table[b-iusuodad9o] {
    margin-bottom: 0;
}

@media (max-width: 720px) {
    .catalog-breed-group__header[b-iusuodad9o] {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .catalog-breed-group__category[b-iusuodad9o],
    .catalog-breed-group__count[b-iusuodad9o] {
        grid-column: 2;
    }

    .catalog-breed-group__category[b-iusuodad9o] {
        justify-self: start;
    }

    .catalog-breed-group__count[b-iusuodad9o] {
        justify-self: end;
        grid-row: 2;
    }
}
/* /Components/Farm/CatalogDeleteDialog.razor.rz.scp.css */
.catalog-delete-dialog[b-16o6dwety3] {
    width: min(640px, calc(100vw - 2rem));
}

.catalog-delete-actions[b-16o6dwety3] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.catalog-usage-group[b-16o6dwety3] {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: 8px;
    background: var(--ds-surface-alt, #f8fafc);
}

.catalog-usage-samples[b-16o6dwety3] {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    color: var(--ds-muted, #64748b);
    font-size: 0.9rem;
}
/* /Components/Farm/CustomHealthCatalogForm.razor.rz.scp.css */
.custom-health-form__species[b-p44bwdy5y1] {
    display: grid;
    gap: 0.35rem;
    max-height: 9rem;
    overflow: auto;
    padding: 0.55rem;
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: 8px;
    background: #f8fafc;
}

.custom-health-form__species-option[b-p44bwdy5y1] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.82rem;
}
/* /Components/Farm/FarmCatalogSettingsPanel.razor.rz.scp.css */
.catalog-settings-panel[b-o6mhnfn5b9] {
    width: 100%;
    grid-column: 1 / -1;
}

.catalog-settings-split[b-o6mhnfn5b9] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    gap: 1rem;
    align-items: start;
    width: 100%;
}

.catalog-settings-list[b-o6mhnfn5b9],
.catalog-settings-form[b-o6mhnfn5b9] {
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: var(--ds-radius-lg, 12px);
    background: var(--ds-surface, #fff);
    padding: 0.85rem;
    min-width: 0;
}

.catalog-settings-list[b-o6mhnfn5b9] {
    overflow: hidden;
}

.catalog-settings-list .table-responsive[b-o6mhnfn5b9] {
    width: 100%;
    overflow-x: auto;
}

.catalog-settings-list .catalog-item-table[b-o6mhnfn5b9] {
    width: 100%;
    margin-bottom: 0;
}

.catalog-settings-form[b-o6mhnfn5b9] {
    align-self: start;
    position: sticky;
    top: 0.5rem;
}

.catalog-settings-form h3[b-o6mhnfn5b9] {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 800;
}

.catalog-settings-form .form-label[b-o6mhnfn5b9] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.catalog-settings-form .form-control[b-o6mhnfn5b9] {
    font-size: 0.9rem;
}

.catalog-settings-form .btn[b-o6mhnfn5b9] {
    width: 100%;
}

.species-category-choice[b-o6mhnfn5b9] {
    display: grid;
    gap: 0.5rem;
}

.species-category-option[b-o6mhnfn5b9] {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.species-category-option.is-selected[b-o6mhnfn5b9] {
    border-color: #2563eb;
    background: #eff6ff;
}

.species-category-option input[b-o6mhnfn5b9] {
    margin-top: 0.15rem;
}

.species-category-option__body[b-o6mhnfn5b9] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.species-category-option__title[b-o6mhnfn5b9] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.species-category-option__hint[b-o6mhnfn5b9] {
    font-size: 0.78rem;
    color: #64748b;
}

.catalog-item-row-disabled[b-o6mhnfn5b9] {
    opacity: 0.55;
}

.catalog-item-row-disabled td[b-o6mhnfn5b9] {
    background: #f8fafc;
}

.catalog-health-block + .catalog-health-block[b-o6mhnfn5b9] {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--ds-border, #e2e8f0);
}

@media (max-width: 960px) {
    .catalog-settings-split[b-o6mhnfn5b9] {
        grid-template-columns: 1fr;
    }

    .catalog-settings-form[b-o6mhnfn5b9] {
        position: static;
    }

    .catalog-settings-form .btn[b-o6mhnfn5b9] {
        width: auto;
    }
}
/* /Components/Feed/FeedActionPanel.razor.rz.scp.css */
.feed-action-panel[b-1xi0uex35u] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
    padding: 1rem;
}

.feed-action-panel-head[b-1xi0uex35u] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.feed-action-panel-head h4[b-1xi0uex35u] {
    margin: 0.2rem 0 0;
    color: var(--ds-text);
    font-weight: 900;
}

.feed-action-urgent-badge[b-1xi0uex35u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    color: #ffffff;
    background: #dc2626;
    font-size: 0.8rem;
    font-weight: 900;
}

.feed-action-list[b-1xi0uex35u] {
    display: grid;
    gap: 0.65rem;
}

.feed-action-row[b-1xi0uex35u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.feed-action-row.critical[b-1xi0uex35u] {
    border-color: rgba(220, 38, 38, 0.25);
    background: #fff5f5;
}

.feed-action-row.warning[b-1xi0uex35u] {
    border-color: rgba(217, 119, 6, 0.25);
    background: #fffbeb;
}

.feed-action-copy[b-1xi0uex35u] {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.feed-action-meta[b-1xi0uex35u] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.feed-action-species[b-1xi0uex35u] {
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.feed-action-copy strong[b-1xi0uex35u] {
    color: var(--ds-text);
}

.feed-action-copy small[b-1xi0uex35u] {
    color: var(--ds-muted);
}

.feed-action-impact[b-1xi0uex35u] {
    color: var(--ds-primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.feed-action-more[b-1xi0uex35u] {
    margin-top: 0.75rem;
    display: flex;
    justify-content: flex-end;
}
/* /Components/Feed/FeedBreadcrumb.razor.rz.scp.css */
.feed-breadcrumb[b-hfeb3p0sp4] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--ds-text-muted, #64748b);
}

.feed-breadcrumb-link[b-hfeb3p0sp4] {
    color: var(--ds-primary, #2563eb);
    font-weight: 600;
    text-decoration: none;
}

.feed-breadcrumb-link:hover[b-hfeb3p0sp4] {
    text-decoration: underline;
}

.feed-breadcrumb-sep[b-hfeb3p0sp4] {
    color: var(--ds-text-muted, #94a3b8);
}

.feed-breadcrumb-current[b-hfeb3p0sp4] {
    color: var(--ds-text, #0f172a);
    font-weight: 700;
}
/* /Components/Feed/FeedEmptyState.razor.rz.scp.css */
.feed-empty-state[b-f0hhwm1agd] {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    padding: 2rem 1.5rem;
    border: 1px dashed var(--ds-border, #dbe3ef);
    border-radius: var(--ds-radius-md, 10px);
    background: var(--ds-surface, #fff);
    text-align: center;
    color: var(--ds-text-muted, #64748b);
}

.feed-empty-state-icon[b-f0hhwm1agd] {
    font-size: 1.75rem;
}

.feed-empty-state strong[b-f0hhwm1agd] {
    color: var(--ds-text, #0f172a);
    font-size: 1rem;
}

.feed-empty-state p[b-f0hhwm1agd] {
    margin: 0;
    max-width: 36rem;
}
/* /Components/Feed/FeedSkeleton.razor.rz.scp.css */
.feed-skeleton-block[b-k6730ot7b1] {
    background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
    background-size: 200% 100%;
    animation: feed-skeleton-shimmer-b-k6730ot7b1 1.4s ease-in-out infinite;
    border-radius: var(--ds-radius-md, 10px);
}

.feed-skeleton-hero-grid[b-k6730ot7b1],
.feed-skeleton-kpi-grid[b-k6730ot7b1] {
    display: grid;
    gap: 1rem;
}

.feed-skeleton-hero-grid[b-k6730ot7b1] {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.feed-skeleton-kpi-grid[b-k6730ot7b1] {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feed-skeleton-hero-card[b-k6730ot7b1] {
    min-height: 110px;
}

.feed-skeleton-kpi-card[b-k6730ot7b1] {
    min-height: 120px;
}

.feed-skeleton-chart[b-k6730ot7b1] {
    min-height: 280px;
}

.feed-skeleton-panel[b-k6730ot7b1] {
    min-height: 180px;
}

.feed-skeleton-list[b-k6730ot7b1] {
    display: grid;
    gap: 0.75rem;
}

.feed-skeleton-row[b-k6730ot7b1] {
    min-height: 64px;
}

@keyframes feed-skeleton-shimmer-b-k6730ot7b1 {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
/* /Components/Feed/FeedSpeciesNav.razor.rz.scp.css */
.feed-species-nav[b-ny9ft0nc1t] {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: var(--ds-radius-lg);
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: var(--ds-soft-shadow);
}

.feed-species-nav-head[b-ny9ft0nc1t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.feed-species-back[b-ny9ft0nc1t] {
    color: var(--ds-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.feed-species-back:hover[b-ny9ft0nc1t] {
    text-decoration: underline;
}

.feed-species-identity[b-ny9ft0nc1t] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feed-species-icon[b-ny9ft0nc1t] {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--ds-radius-md);
    background: #eef5ff;
    font-size: 1.35rem;
}

.feed-species-identity strong[b-ny9ft0nc1t] {
    display: block;
    color: var(--ds-text);
    font-size: 1.05rem;
}

.feed-species-identity small[b-ny9ft0nc1t] {
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.feed-species-nav-scroll[b-ny9ft0nc1t] {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
}

.feed-species-link[b-ny9ft0nc1t] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.5rem;
    padding: 0 0.85rem;
    border: 1px solid var(--ds-border);
    border-radius: 999px;
    color: var(--ds-text);
    background: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 700;
}

.feed-species-link:hover[b-ny9ft0nc1t] {
    border-color: var(--ds-primary);
    color: var(--ds-primary);
    text-decoration: none;
}

.feed-species-link.active[b-ny9ft0nc1t] {
    border-color: var(--ds-primary);
    color: #ffffff;
    background: var(--ds-primary);
}

.feed-species-link-icon[b-ny9ft0nc1t] {
    display: flex;
    align-items: center;
}

.feed-species-badge[b-ny9ft0nc1t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    color: #ffffff;
    background: #dc2626;
    font-size: 0.68rem;
    font-weight: 900;
}

.feed-species-link.active .feed-species-badge[b-ny9ft0nc1t] {
    color: var(--ds-primary);
    background: #ffffff;
}
/* /Components/Feed/FeedSpeciesUrgencyBanner.razor.rz.scp.css */
.feed-species-urgency-banner[b-4351zv414v] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--ds-radius-md, 10px);
    position: sticky;
    top: 0.5rem;
    z-index: 5;
}

.feed-species-urgency-banner.is-warning[b-4351zv414v] {
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: #fff7ed;
    color: #9a3412;
}

.feed-species-urgency-banner.is-critical[b-4351zv414v] {
    border: 1px solid rgba(220, 38, 38, 0.35);
    background: #fef2f2;
    color: #991b1b;
}

.feed-species-urgency-banner p[b-4351zv414v] {
    margin: 0.15rem 0 0;
    font-size: 0.9rem;
}
/* /Components/Feed/FeedSystemImportDialog.razor.rz.scp.css */
.feed-import-dialog[b-1cois8yale] {
    width: min(720px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
}

.feed-import-dialog .fl-modal-body[b-1cois8yale] {
    overflow: auto;
}

.feed-import-toolbar[b-1cois8yale] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.feed-import-list[b-1cois8yale] {
    display: grid;
    gap: 0.5rem;
}

.feed-import-item[b-1cois8yale] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem;
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: 10px;
    background: var(--ds-surface, #fff);
    cursor: pointer;
}

.feed-import-item.is-disabled[b-1cois8yale] {
    opacity: 0.65;
    cursor: not-allowed;
    background: #f8fafc;
}

.feed-import-item input[b-1cois8yale] {
    margin-top: 0.2rem;
}

.feed-import-item-body[b-1cois8yale] {
    flex: 1;
    min-width: 0;
}

.feed-import-item-head[b-1cois8yale] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.feed-import-item-head code[b-1cois8yale] {
    font-size: 0.75rem;
}

.feed-import-item-meta[b-1cois8yale] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
    color: var(--ds-muted, #64748b);
    font-size: 0.85rem;
}

.feed-import-actions[b-1cois8yale] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}
/* /Components/Feed/RationCard.razor.rz.scp.css */
.ration-card--tile[b-9lsyo0sme8] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid var(--fl-border, var(--ds-border));
    border-radius: var(--fl-radius-lg, var(--ds-radius-lg));
    background: var(--fl-surface, var(--ds-surface));
    box-shadow: var(--fl-shadow-soft, var(--ds-soft-shadow));
    border-top: 4px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    min-height: 100%;
}

.ration-card--tile:hover[b-9lsyo0sme8] {
    transform: translateY(-2px);
    box-shadow: var(--fl-shadow-md, 0 8px 24px rgba(0, 0, 0, 0.08));
}

.ration-card--tone-0[b-9lsyo0sme8] { border-top-color: #2563eb; }
.ration-card--tone-1[b-9lsyo0sme8] { border-top-color: #0f766e; }
.ration-card--tone-2[b-9lsyo0sme8] { border-top-color: #b45309; }
.ration-card--tone-3[b-9lsyo0sme8] { border-top-color: #7c3aed; }

.ration-card--is-default[b-9lsyo0sme8] {
    background: linear-gradient(160deg, var(--fl-olive-soft, #eef3e4) 0%, var(--fl-surface, #fff) 52%);
    border-color: var(--fl-primary, #3d5c2e);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--fl-primary, #3d5c2e) 20%, transparent),
                var(--fl-shadow-soft, var(--ds-soft-shadow));
}

.ration-default-ribbon[b-9lsyo0sme8] {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fl-primary, #3d5c2e);
    background: var(--fl-olive-soft, #eef3e4);
    border: 1px solid color-mix(in srgb, var(--fl-primary) 30%, transparent);
}

.ration-card-head[b-9lsyo0sme8] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    flex-direction: column;
}

.ration-card-title-block[b-9lsyo0sme8] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
}

.ration-card-title-copy[b-9lsyo0sme8] {
    flex: 1;
    min-width: 0;
    padding-right: 4.5rem;
}

.ration-card-title-copy h4[b-9lsyo0sme8] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--fl-text, var(--ds-text));
}

.ration-card-target[b-9lsyo0sme8] {
    margin: 0.5rem 0 0;
    color: var(--fl-muted, var(--ds-muted));
    font-size: 0.875rem;
    line-height: 1.45;
}

.ration-card-badges[b-9lsyo0sme8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.ration-badge[b-9lsyo0sme8] {
    display: inline-flex;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.ration-badge--type[b-9lsyo0sme8] {
    background: #f1f5f9;
    color: #334155;
}

.ration-badge--info[b-9lsyo0sme8] {
    background: #e0f2fe;
    color: #0369a1;
}

.ration-badge--danger[b-9lsyo0sme8] {
    background: #fee2e2;
    color: #b91c1c;
}

.ration-badge--warning[b-9lsyo0sme8] {
    background: #fef3c7;
    color: #b45309;
}

.ration-card-coverage[b-9lsyo0sme8] {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--fl-muted, var(--ds-muted));
}

.ration-card-index[b-9lsyo0sme8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: var(--fl-olive-soft, #eef3e4);
    color: var(--fl-primary, #3d5c2e);
    font-weight: 800;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.ration-global-score[b-9lsyo0sme8] {
    display: inline-flex;
    margin-top: 0.35rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.ration-global-score.strong[b-9lsyo0sme8] { background: #e9f9ee; color: #166534; }
.ration-global-score.medium[b-9lsyo0sme8] { background: #edf4ff; color: #1d4ed8; }
.ration-global-score.watch[b-9lsyo0sme8] { background: #fff5d8; color: #9a6700; }
.ration-global-score.weak[b-9lsyo0sme8] { background: #fde8e8; color: #b42318; }

.ration-summary-row[b-9lsyo0sme8] {
    display: grid;
    gap: 0.85rem;
    flex: 1;
}

.ration-feed-chips[b-9lsyo0sme8] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.ration-feed-chip[b-9lsyo0sme8] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #5b4b8a;
    background: #f3efff;
}

.ration-metrics[b-9lsyo0sme8] {
    display: grid;
    gap: 0.5rem;
}

.ration-metrics--compact[b-9lsyo0sme8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ration-metrics--compact > div[b-9lsyo0sme8] {
    padding: 0.75rem 0.85rem;
    border-radius: var(--fl-radius-md);
    border: 1px solid var(--fl-border);
    background: var(--fl-surface-muted);
}

.ration-metrics--compact span[b-9lsyo0sme8] {
    display: block;
    font-size: 0.7rem;
    color: var(--fl-muted);
    font-weight: 600;
}

.ration-metrics--compact strong[b-9lsyo0sme8] {
    font-size: 0.95rem;
}

.ration-card-footer[b-9lsyo0sme8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--fl-border, var(--ds-border));
}

.ration-expanded-body[b-9lsyo0sme8] {
    display: grid;
    gap: 0.85rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--fl-border);
}

.coverage-chip[b-9lsyo0sme8] {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.coverage-chip.resolved[b-9lsyo0sme8] { color: #166534; background: #e9f9ee; }
.coverage-chip.fallback[b-9lsyo0sme8] { color: #9a6700; background: #fff5d8; }
.coverage-chip.uncovered[b-9lsyo0sme8] { color: #b42318; background: #feeceb; }

.ration-coverage-inline[b-9lsyo0sme8],
.ration-scope-inline[b-9lsyo0sme8] {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
}

.muted-chip[b-9lsyo0sme8] {
    display: inline-flex;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    color: var(--fl-muted);
    background: #f1f5f9;
}

.ration-covered-preview[b-9lsyo0sme8] {
    display: grid;
    gap: 0.5rem;
}

.ration-animal-list[b-9lsyo0sme8] {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.ration-animal-chip[b-9lsyo0sme8] {
    display: inline-flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.5rem 0.65rem;
    border-radius: var(--fl-radius-md);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--fl-border);
    background: var(--fl-surface);
    color: inherit;
}

.ration-animal-chip.resolved[b-9lsyo0sme8] { background: #edf8ef; color: #166534; }
.ration-animal-chip.fallback[b-9lsyo0sme8] { background: #fff7e6; color: #9a6700; }

.ration-btn-danger[b-9lsyo0sme8] {
    color: var(--fl-danger, #b42318) !important;
}

@media (min-width: 900px) {
    .ration-card--tile.is-collapsed[b-9lsyo0sme8] {
        display: grid;
        grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
        grid-template-areas:
            "head metrics"
            "footer footer";
        align-items: start;
        column-gap: 2rem;
        row-gap: 1.15rem;
    }

    .ration-card--tile.is-collapsed .ration-card-head[b-9lsyo0sme8] {
        grid-area: head;
    }

    .ration-card--tile.is-collapsed .ration-summary-row[b-9lsyo0sme8] {
        grid-area: metrics;
    }

    .ration-card--tile.is-collapsed .ration-card-footer[b-9lsyo0sme8] {
        grid-area: footer;
    }
}

@media (max-width: 720px) {
    .ration-metrics--compact[b-9lsyo0sme8] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Feed/RationFormDrawer.razor.rz.scp.css */
.ration-form-modal-backdrop[b-hsblhhmkd8] {
    z-index: 1450;
}

.ration-form-modal-panel[b-hsblhhmkd8] {
    width: min(960px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.ration-form-drawer[b-hsblhhmkd8] {
    display: grid;
    gap: 1rem;
    padding: 1.25rem 1.5rem 1.5rem;
    overflow: auto;
    max-height: calc(100vh - 2rem);
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ration-form-drawer .drawer-head[b-hsblhhmkd8] {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-bottom: 0.75rem;
    margin-bottom: 0.25rem;
    background: var(--fl-surface, #fff);
    border-bottom: 1px solid var(--fl-border, #e2e8f0);
}

.ration-form-drawer .drawer-footer[b-hsblhhmkd8] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    background: var(--fl-surface, #fff);
    border-top: 1px solid var(--fl-border, #e2e8f0);
}

@media (max-width: 700px) {
    .ration-form-modal-panel[b-hsblhhmkd8] {
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
    }

    .ration-form-drawer[b-hsblhhmkd8] {
        padding: 1rem;
        max-height: calc(100vh - 1rem);
    }
}
/* /Components/Feed/ScheduleCard.razor.rz.scp.css */
.schedule-tile[b-9s2xk3yelq] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--fl-border, var(--ds-border));
    border-radius: var(--fl-radius-lg, var(--ds-radius-lg));
    background: var(--fl-surface, var(--ds-surface));
    box-shadow: var(--fl-shadow-soft, var(--ds-soft-shadow));
    border-top: 4px solid #94a3b8;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    min-height: 100%;
}

.schedule-tile:hover[b-9s2xk3yelq] {
    transform: translateY(-2px);
    box-shadow: var(--fl-shadow-md, 0 8px 24px rgba(0, 0, 0, 0.08));
}

.schedule-tile--active[b-9s2xk3yelq] {
    border-top-color: var(--fl-success, #16a34a);
    background: linear-gradient(160deg, color-mix(in srgb, var(--fl-success) 8%, white) 0%, var(--fl-surface, #fff) 50%);
}

.schedule-tile--idle[b-9s2xk3yelq] {
    border-top-color: var(--fl-warning, #d97706);
}

.schedule-tile-head h5[b-9s2xk3yelq] {
    margin: 0.35rem 0 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--fl-text, var(--ds-text));
}

.schedule-tile-desc[b-9s2xk3yelq] {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: var(--fl-muted, var(--ds-muted));
}

.schedule-tile-badges[b-9s2xk3yelq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.schedule-badge[b-9s2xk3yelq] {
    display: inline-flex;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
}

.schedule-badge--info[b-9s2xk3yelq] {
    background: #e0f2fe;
    color: #0369a1;
}

.status-badge[b-9s2xk3yelq] {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.status-badge.active[b-9s2xk3yelq] {
    color: #0f5132;
    background: #d1e7dd;
}

.status-badge.planned[b-9s2xk3yelq] {
    color: #664d03;
    background: #fff3cd;
}

.status-badge.expired[b-9s2xk3yelq],
.status-badge.inactive[b-9s2xk3yelq] {
    color: #475569;
    background: #e2e8f0;
}

.schedule-tile-metrics[b-9s2xk3yelq] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.schedule-tile-metrics > div[b-9s2xk3yelq] {
    padding: 0.55rem 0.65rem;
    border-radius: var(--fl-radius-md, var(--ds-radius-md));
    border: 1px solid var(--fl-border, var(--ds-border));
    background: var(--fl-surface-muted, var(--ds-surface-alt));
}

.schedule-tile-metrics span[b-9s2xk3yelq] {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--fl-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.schedule-tile-metrics strong[b-9s2xk3yelq] {
    font-size: 0.95rem;
}

.schedule-warning-strip[b-9s2xk3yelq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.25rem 0;
}

.schedule-warning-chip[b-9s2xk3yelq] {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.schedule-warning-chip.critical[b-9s2xk3yelq] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.schedule-warning-chip.warning[b-9s2xk3yelq] {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.schedule-tile-footer[b-9s2xk3yelq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--fl-border, var(--ds-border));
}

.schedule-tile-expanded[b-9s2xk3yelq] {
    display: grid;
    gap: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--fl-border);
}

.schedule-tile-expanded[b-9s2xk3yelq]  .schedule-tile-period {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--fl-muted);
}

.schedule-tile-expanded[b-9s2xk3yelq]  .schedule-tile-period strong {
    color: var(--fl-text);
}

.schedule-tile-expanded[b-9s2xk3yelq]  .schedule-scope-chips {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .muted-chip {
    display: inline-flex;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    color: var(--fl-muted);
    background: #f1f5f9;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .covered-animals-panel {
    display: grid;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: #f8fbff;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .covered-animals-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .covered-animals-title {
    display: block;
    color: var(--ds-text);
    font-weight: 800;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .covered-animals-header small {
    color: var(--ds-muted);
}

.schedule-tile-expanded[b-9s2xk3yelq]  .covered-animals-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .covered-animal-chip {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface);
    color: inherit;
    text-decoration: none;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .covered-animal-chip:hover {
    transform: translateY(-1px);
    border-color: #c8d8ff;
    box-shadow: var(--ds-soft-shadow);
}

.schedule-tile-expanded[b-9s2xk3yelq]  .covered-animal-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .covered-animal-chip strong {
    color: var(--ds-text);
    font-size: 1rem;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .covered-animal-chip span {
    color: var(--ds-text);
    font-weight: 700;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .covered-animal-chip small {
    color: var(--ds-muted);
}

.schedule-tile-expanded[b-9s2xk3yelq]  .coverage-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .coverage-badge.resolved {
    color: #166534;
    background: #e9f9ee;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .coverage-badge.fallback {
    color: #9a6700;
    background: #fff5d8;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .data-table {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    background: var(--ds-surface);
}

.schedule-tile-expanded[b-9s2xk3yelq]  .data-table thead th {
    background: #edf4ff;
    color: var(--ds-text);
    font-weight: 800;
    border-bottom: 1px solid var(--ds-border-strong);
}

.schedule-tile-expanded[b-9s2xk3yelq]  .data-table tbody tr:nth-child(even) {
    background: #fbfcfe;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .data-table tbody tr:hover {
    background: #eef5ff;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .data-table td,
.schedule-tile-expanded[b-9s2xk3yelq]  .data-table th {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .autonomy {
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: #f1f5f9;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .autonomy.danger {
    color: var(--ds-danger);
    background: #fce8e8;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .autonomy.warning {
    color: var(--ds-warning);
    background: #fff4da;
}

.schedule-tile-expanded[b-9s2xk3yelq]  .autonomy.good {
    color: var(--ds-success);
    background: #dbeee2;
}

@media (max-width: 700px) {
    .schedule-tile-metrics[b-9s2xk3yelq] {
        grid-template-columns: 1fr;
    }

    .schedule-tile-expanded[b-9s2xk3yelq]  .covered-animals-header {
        flex-direction: column;
    }
}
/* /Components/Feed/SpeciesSpaceCard.razor.rz.scp.css */
.species-space-card[b-ij91ed769q] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--ds-soft-shadow);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.species-space-card:hover[b-ij91ed769q],
.species-space-card:focus-visible[b-ij91ed769q] {
    border-color: var(--ds-primary);
    box-shadow: var(--ds-elevated-shadow);
    transform: translateY(-2px);
    outline: none;
}

.species-space-card.has-alerts[b-ij91ed769q] {
    border-color: rgba(220, 38, 38, 0.35);
}

.species-space-card.at-risk[b-ij91ed769q] {
    border-color: rgba(217, 119, 6, 0.35);
}

.species-space-head[b-ij91ed769q] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.species-space-icon[b-ij91ed769q] {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--ds-radius-md);
    background: #eef5ff;
    font-size: 1.5rem;
}

.species-space-title[b-ij91ed769q] {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.species-space-title h4[b-ij91ed769q] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.species-space-title span[b-ij91ed769q] {
    color: var(--ds-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.species-space-alert[b-ij91ed769q] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    color: #ffffff;
    background: #dc2626;
    font-size: 0.78rem;
    font-weight: 900;
}

.species-space-metrics[b-ij91ed769q] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.species-space-metrics div[b-ij91ed769q] {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem;
    border-radius: var(--ds-radius-md);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ds-border);
}

.species-space-metrics small[b-ij91ed769q] {
    color: var(--ds-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.species-space-metrics strong[b-ij91ed769q] {
    color: var(--ds-text);
    font-size: 1.05rem;
}

.species-space-metrics .score-good[b-ij91ed769q] {
    color: #15803d;
}

.species-space-metrics .score-medium[b-ij91ed769q] {
    color: #b45309;
}

.species-space-metrics .score-low[b-ij91ed769q] {
    color: #b42318;
}

.species-space-footer[b-ij91ed769q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.species-space-hint[b-ij91ed769q] {
    color: var(--ds-muted);
    font-size: 0.82rem;
}

.species-space-cta[b-ij91ed769q] {
    color: var(--ds-primary);
    font-size: 0.88rem;
    font-weight: 800;
}
/* /Components/FeedModuleNav.razor.rz.scp.css */
.feed-module-nav[b-41iusyjf6o] {
    position: sticky;
    top: 4.8rem;
    z-index: 20;
    margin-bottom: 0.25rem;
    padding: 0.85rem 0 0.25rem;
    background: linear-gradient(180deg, rgba(243, 246, 250, 0.94), rgba(243, 246, 250, 0.78));
    backdrop-filter: blur(8px);
}

.feed-module-nav-scroll[b-41iusyjf6o] {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.feed-nav-link[b-41iusyjf6o] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.85rem;
    padding: 0 0.95rem;
    border: 1px solid var(--ds-border);
    border-radius: 999px;
    color: var(--ds-text);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--ds-soft-shadow);
    text-decoration: none;
    white-space: nowrap;
}

.feed-nav-link:hover[b-41iusyjf6o] {
    border-color: var(--ds-primary);
    color: var(--ds-primary);
    text-decoration: none;
}

.feed-nav-link.active[b-41iusyjf6o] {
    border-color: var(--ds-primary);
    color: #ffffff;
    background: var(--ds-primary);
}

.feed-nav-icon[b-41iusyjf6o] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: inherit;
    flex: 0 0 auto;
}

.feed-nav-link.active .feed-nav-icon[b-41iusyjf6o] {
    color: #ffffff;
}

.feed-nav-label[b-41iusyjf6o] {
    font-size: 0.95rem;
    font-weight: 700;
}

.feed-nav-badge[b-41iusyjf6o] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    color: #ffffff;
    background: #dc2626;
    font-size: 0.72rem;
    font-weight: 900;
}

@media (max-width: 700px) {
    .feed-module-nav[b-41iusyjf6o] {
        top: 4.45rem;
    }

    .feed-nav-link[b-41iusyjf6o] {
        min-height: 2.65rem;
        padding: 0 0.8rem;
    }
}
/* /Components/LanguageSwitcher.razor.rz.scp.css */
.language-switcher[b-3sozer7t4e] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem;
    border: 1px solid var(--ds-border);
    border-radius: 999px;
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.language-chip[b-3sozer7t4e] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 1.95rem;
    padding: 0 0.6rem;
    border: 0;
    border-radius: 999px;
    color: var(--ds-muted-strong);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.language-chip:hover[b-3sozer7t4e] {
    background: #eef5ff;
    color: var(--ds-primary);
}

.language-chip.active[b-3sozer7t4e] {
    color: #ffffff;
    background: var(--ds-primary);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
}
/* /Components/Milk/MilkModuleNav.razor.rz.scp.css */
.milk-module-nav[b-d9c446339c] {
    position: sticky;
    top: 4.8rem;
    z-index: 20;
    margin-bottom: 0.25rem;
    padding: 0.85rem 0 0.25rem;
    background: linear-gradient(180deg, rgba(243, 246, 250, 0.94), rgba(243, 246, 250, 0.78));
    backdrop-filter: blur(8px);
}

.milk-module-nav-scroll[b-d9c446339c] {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.milk-nav-link[b-d9c446339c] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.85rem;
    padding: 0 0.95rem;
    border: 1px solid var(--ds-border);
    border-radius: 999px;
    color: var(--ds-text);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--ds-soft-shadow);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.milk-nav-link:hover[b-d9c446339c] {
    border-color: var(--ds-primary);
    color: var(--ds-primary);
    text-decoration: none;
    transform: translateY(-1px);
}

.milk-nav-link.active[b-d9c446339c] {
    border-color: var(--ds-primary);
    color: #ffffff;
    background: var(--ds-primary);
}

.milk-nav-icon[b-d9c446339c] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: inherit;
    flex: 0 0 auto;
}

.milk-nav-link.active .milk-nav-icon[b-d9c446339c] {
    color: #ffffff;
}

.milk-nav-label[b-d9c446339c] {
    font-size: 0.95rem;
    font-weight: 700;
}

@media (max-width: 700px) {
    .milk-module-nav[b-d9c446339c] {
        top: 4.45rem;
    }

    .milk-nav-link[b-d9c446339c] {
        min-height: 2.65rem;
        padding: 0 0.8rem;
    }
}
/* /Components/Poultry/PoultryDrawer.razor.rz.scp.css */
.poultry-drawer-overlay[b-wk39zcl3bw] {
    position: fixed;
    inset: 0;
    z-index: 1045;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
}

.poultry-drawer-panel[b-wk39zcl3bw] {
    width: min(560px, 100vw);
    height: 100vh;
    overflow-y: auto;
    background: var(--ds-surface, #fff);
    padding: 1.25rem 1.5rem 2rem;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.poultry-drawer-head[b-wk39zcl3bw] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--ds-border, rgba(0, 0, 0, 0.08));
}

.poultry-drawer-eyebrow[b-wk39zcl3bw] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ds-muted, #6c757d);
}

.poultry-drawer-title[b-wk39zcl3bw] {
    margin: 0.25rem 0 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ds-text, #212529);
}

.poultry-drawer-body[b-wk39zcl3bw] {
    flex: 1;
    min-height: 0;
}

.poultry-drawer-footer[b-wk39zcl3bw] {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ds-border, rgba(0, 0, 0, 0.08));
}

@media (max-width: 768px) {
    .poultry-drawer-overlay[b-wk39zcl3bw] {
        justify-content: center;
        align-items: flex-end;
    }

    .poultry-drawer-panel[b-wk39zcl3bw] {
        width: 100vw;
        height: 92vh;
        border-radius: 16px 16px 0 0;
    }
}
/* /Components/Poultry/PoultryModal.razor.rz.scp.css */
.poultry-modal-backdrop[b-00ynmxujbb] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1040;
}

.poultry-modal[b-00ynmxujbb] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.poultry-modal-panel[b-00ynmxujbb] {
    width: min(720px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--ds-border);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
    padding: 1.1rem;
}
/* /Components/UI/CollapsibleSection.razor.rz.scp.css */
.collapsible-section-body[b-omwqv9cei0] {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
/* /Components/UserStatus.razor.rz.scp.css */
.user-status[b-ml5gx0aud3] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.45rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.user-avatar[b-ml5gx0aud3] {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent));
    font-weight: 800;
    flex: 0 0 auto;
}

.user-status-main[b-ml5gx0aud3] {
    display: grid;
    min-width: 0;
    line-height: 1.2;
}

.user-line[b-ml5gx0aud3],
.anonymous-state[b-ml5gx0aud3] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.status-dot[b-ml5gx0aud3] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #22c55e;
    flex: 0 0 auto;
}

.status-dot.offline[b-ml5gx0aud3] {
    background: #94a3b8;
}

.user-email[b-ml5gx0aud3],
.farm-line[b-ml5gx0aud3] {
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-email[b-ml5gx0aud3] {
    color: var(--ds-text);
    font-size: 0.875rem;
    font-weight: 650;
}

.farm-line[b-ml5gx0aud3] {
    color: var(--ds-accent);
    font-size: 0.8rem;
    font-weight: 800;
}

.logout-btn[b-ml5gx0aud3] {
    height: 2rem;
    border-radius: var(--ds-radius-md);
    white-space: nowrap;
}

.anonymous-state[b-ml5gx0aud3] {
    color: var(--ds-muted);
    font-size: 0.875rem;
    white-space: nowrap;
}

@media (max-width: 640.98px) {
    .user-status[b-ml5gx0aud3] {
        width: 100%;
        justify-content: space-between;
    }

    .user-email[b-ml5gx0aud3],
    .farm-line[b-ml5gx0aud3] {
        max-width: 10rem;
    }
}
/* /Layout/AuthLayout.razor.rz.scp.css */
.auth-container[b-vch0wl6ojw] {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 100vh;
}

/* Compact white plate — contrast for official PNG on green hero (do not alter the PNG). */
.login-logo-card[b-vch0wl6ojw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    max-width: 100%;
    padding: 18px 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 22px;
    box-shadow:
        0 18px 45px rgba(16, 55, 39, 0.18),
        0 2px 8px rgba(16, 55, 39, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
}

.login-logo-card[b-vch0wl6ojw]  img,
.login-logo-card[b-vch0wl6ojw]  .farmlivo-logo-login {
    display: block;
    width: 280px;
    max-width: min(280px, 70vw);
    height: auto;
    margin: 0;
    object-fit: contain;
    background: transparent !important;
    border: 0;
    box-shadow: none;
}

@media (max-width: 768px) {
    .login-logo-card[b-vch0wl6ojw] {
        padding: 14px 18px;
        border-radius: 18px;
    }

    .login-logo-card[b-vch0wl6ojw]  img,
    .login-logo-card[b-vch0wl6ojw]  .farmlivo-logo-login {
        width: min(260px, 70vw);
        max-width: min(260px, 70vw);
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-gs0bi0ihb8] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: transparent;
}

main[b-gs0bi0ihb8] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
}

article.content[b-gs0bi0ihb8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: calc(100vh - 4.25rem);
}

article.content > *[b-gs0bi0ihb8] {
    width: 100%;
    min-width: 0;
}

.sidebar[b-gs0bi0ihb8] {
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 55%, #111827 100%);
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.02);
}

.top-row[b-gs0bi0ihb8] {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--ds-border);
    justify-content: space-between;
    min-height: 4.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(12px);
}

.top-context[b-gs0bi0ihb8] {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.top-brand[b-gs0bi0ihb8] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
}

.top-brand:hover[b-gs0bi0ihb8] {
    text-decoration: none;
}

.top-brand-logo[b-gs0bi0ihb8] {
    display: block;
    width: auto;
    height: 46px;
    max-width: 190px;
    flex: 0 0 auto;
    object-fit: contain;
    background: transparent;
    border: 0;
    box-shadow: none;
}

@media (max-width: 768px) {
    .top-brand-logo[b-gs0bi0ihb8] {
        height: 38px;
        max-width: 155px;
    }
}

.top-brand-copy[b-gs0bi0ihb8] {
    display: grid;
    min-width: 0;
    line-height: 1.1;
}

.top-brand-name[b-gs0bi0ihb8] {
    color: var(--ds-text);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.top-title[b-gs0bi0ihb8] {
    font-size: 0.82rem;
    font-weight: 750;
    color: var(--ds-text);
    white-space: nowrap;
}

.top-links[b-gs0bi0ihb8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.top-tools[b-gs0bi0ihb8] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.top-action[b-gs0bi0ihb8] {
    display: inline-flex;
    align-items: center;
    height: 2rem;
    padding: 0 0.75rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    color: var(--ds-muted-strong);
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: none;
    background: var(--ds-surface);
}

.top-action.primary[b-gs0bi0ihb8] {
    border-color: var(--ds-primary);
    color: #ffffff;
    background: var(--ds-primary);
}

.top-action:hover[b-gs0bi0ihb8] {
    text-decoration: none;
    border-color: var(--ds-primary);
}

.content[b-gs0bi0ihb8] {
    padding-top: 1.5rem;
    padding-bottom: 5rem;
}

.user-status[b-gs0bi0ihb8] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.45rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.user-avatar[b-gs0bi0ihb8] {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent));
    font-weight: 800;
    flex: 0 0 auto;
}

.user-status-main[b-gs0bi0ihb8] {
    display: grid;
    min-width: 0;
    line-height: 1.2;
}

.user-line[b-gs0bi0ihb8] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.farm-line[b-gs0bi0ihb8] {
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ds-accent);
    font-size: 0.8rem;
    font-weight: 800;
}

.status-dot[b-gs0bi0ihb8] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #22c55e;
    flex: 0 0 auto;
}

.status-dot.offline[b-gs0bi0ihb8] {
    background: #94a3b8;
}

.user-email[b-gs0bi0ihb8] {
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ds-text);
    font-size: 0.875rem;
    font-weight: 650;
}

.logout-btn[b-gs0bi0ihb8] {
    height: 2rem;
    border-radius: var(--ds-radius-md);
    white-space: nowrap;
}

.anonymous-state[b-gs0bi0ihb8] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ds-muted);
    font-size: 0.875rem;
    white-space: nowrap;
}

.debug-log-panel[b-gs0bi0ihb8] {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    width: min(680px, calc(100vw - 2rem));
    border: 1px solid #1f2937;
    border-radius: var(--ds-radius-lg);
    color: #e5eef9;
    background: #0f172a;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
}

.debug-log-panel.closed[b-gs0bi0ihb8] {
    width: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.debug-log-header[b-gs0bi0ihb8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0.6rem;
}

.debug-log-toggle[b-gs0bi0ihb8],
.debug-log-action[b-gs0bi0ihb8] {
    border: 0;
    color: inherit;
    background: transparent;
}

.debug-log-toggle[b-gs0bi0ihb8] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
}

.debug-log-action[b-gs0bi0ihb8] {
    color: #93c5fd;
    font-size: 0.8rem;
}

.debug-log-count[b-gs0bi0ihb8] {
    min-width: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    color: #0f172a;
    background: #dbeafe;
    font-size: 0.75rem;
}

.debug-log-dot[b-gs0bi0ihb8] {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #94a3b8;
}

.debug-log-dot.success[b-gs0bi0ihb8] {
    background: #4ade80;
}

.debug-log-dot.warning[b-gs0bi0ihb8] {
    background: #fbbf24;
}

.debug-log-dot.error[b-gs0bi0ihb8] {
    background: #f87171;
}

.debug-log-body[b-gs0bi0ihb8] {
    max-height: 14rem;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.78rem;
}

.debug-log-entry[b-gs0bi0ihb8] {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 0.5rem;
    padding: 0.28rem 0.65rem;
}

.debug-log-entry.error[b-gs0bi0ihb8] {
    color: #fecaca;
}

.debug-log-entry.warning[b-gs0bi0ihb8] {
    color: #fde68a;
}

.debug-log-entry.success[b-gs0bi0ihb8] {
    color: #bbf7d0;
}

.debug-log-time[b-gs0bi0ihb8] {
    color: #94a3b8;
}

.debug-log-message[b-gs0bi0ihb8] {
    overflow-wrap: anywhere;
}

.debug-log-empty[b-gs0bi0ihb8] {
    padding: 0.75rem;
    color: #94a3b8;
}

@media (max-width: 640.98px) {
    .top-row[b-gs0bi0ihb8] {
        height: auto;
        align-items: stretch;
        flex-direction: column;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .top-context[b-gs0bi0ihb8],
    .top-links[b-gs0bi0ihb8],
    .top-tools[b-gs0bi0ihb8],
    .user-status[b-gs0bi0ihb8] {
        width: 100%;
    }

    .top-context[b-gs0bi0ihb8] {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.6rem;
    }

    .top-links[b-gs0bi0ihb8] {
        flex-wrap: wrap;
    }

    .top-tools[b-gs0bi0ihb8] {
        flex-direction: column;
        align-items: stretch;
    }

    .user-status[b-gs0bi0ihb8] {
        justify-content: space-between;
    }

    .user-email[b-gs0bi0ihb8],
    .farm-line[b-gs0bi0ihb8] {
        max-width: 10rem;
    }
}

@media (min-width: 641px) {
    .page[b-gs0bi0ihb8] {
        flex-direction: row;
    }

    .sidebar[b-gs0bi0ihb8] {
        width: 276px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow: hidden;
    }

    .top-row[b-gs0bi0ihb8] {
        position: sticky;
        top: 0;
        z-index: 1100;
    }

    .top-row[b-gs0bi0ihb8],
    article[b-gs0bi0ihb8] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavItem.razor.rz.scp.css */
.nav-item[b-ib2q29vxqs] {
    font-size: 0.9rem;
}

.nav-link[b-ib2q29vxqs] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.7rem;
    margin: 0 0.4rem;
    padding: 0.15rem 0.7rem;
    border-radius: 14px;
    color: #e7eff7;
    line-height: 1.2;
    text-decoration: none;
}

.nav-link > span:nth-child(2)[b-ib2q29vxqs] {
    flex: 1 1 auto;
}

.nav-icon[b-ib2q29vxqs] {
    display: grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 8px;
    color: #93c5fd;
    background: rgba(96, 165, 250, 0.14);
    flex: 0 0 auto;
}

.nav-link.active[b-ib2q29vxqs] {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.38), rgba(56, 189, 248, 0.16));
    box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.18);
}

.nav-link.active .nav-icon[b-ib2q29vxqs] {
    color: #0f172a;
    background: #dbeafe;
}

.nav-link:hover[b-ib2q29vxqs] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-badge[b-ib2q29vxqs] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    color: #ffffff;
    background: #dc2626;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14);
}
/* /Layout/NavMenu.razor.rz.scp.css */
.nav-shell[b-lollnzgh8k] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0.65rem;
    color: #e7eff7;
}

.nav-shell.is-collapsed[b-lollnzgh8k] {
    padding-inline: 0.45rem;
}

.nav-brand-row[b-lollnzgh8k] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 3.5rem;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.45rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.96));
}

.nav-brand[b-lollnzgh8k] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1 1 auto;
    text-decoration: none;
    padding: 0.35rem 0.55rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.nav-shell .farmlivo-logo-navbar[b-lollnzgh8k],
.nav-shell .brand-logo[b-lollnzgh8k] {
    background: transparent;
    margin-inline: auto;
    object-position: center center;
}

.navbar-toggler[b-lollnzgh8k] {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 0;
}

.nav-collapse-btn[b-lollnzgh8k] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    cursor: pointer;
}

.brand-logo[b-lollnzgh8k],
.farmlivo-logo-navbar[b-lollnzgh8k] {
    display: block;
    width: auto;
    height: 46px;
    max-width: 190px;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: center center;
    image-rendering: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand-logo--icon[b-lollnzgh8k] {
    width: auto;
    height: 46px;
    max-width: 46px;
}

.brand-logo--horizontal[b-lollnzgh8k] {
    width: auto;
    height: 46px;
    max-width: 190px;
}

@media (max-width: 768px) {
    .brand-logo[b-lollnzgh8k],
    .brand-logo--horizontal[b-lollnzgh8k],
    .farmlivo-logo-navbar[b-lollnzgh8k] {
        height: 38px;
        max-width: 155px;
    }

    .brand-logo--icon[b-lollnzgh8k] {
        width: auto;
        height: 38px;
        max-width: 38px;
    }
}

.brand-copy[b-lollnzgh8k] {
    display: grid;
    min-width: 0;
    line-height: 1.1;
}

.brand-title[b-lollnzgh8k] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 750;
}

.brand-subtitle[b-lollnzgh8k] {
    color: #9fb3c8;
    font-size: 0.72rem;
    font-weight: 500;
}

.nav-scrollable[b-lollnzgh8k] {
    flex: 1 1 auto;
    padding: 0.35rem 0 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 18px;
    background: rgba(8, 15, 27, 0.22);
}

.nav-scrollable[b-lollnzgh8k]::-webkit-scrollbar {
    width: 6px;
}

.nav-scrollable[b-lollnzgh8k]::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.28);
}

.nav-list[b-lollnzgh8k] {
    display: grid;
    gap: 0.12rem;
}

.nav-section[b-lollnzgh8k] {
    padding: 0.85rem 0.85rem 0.25rem;
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.nav-shell.is-collapsed .nav-section[b-lollnzgh8k] {
    display: none;
}

.nav-item[b-lollnzgh8k]  a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.55rem;
    margin: 0 0.35rem;
    padding: 0.2rem 0.65rem;
    border-radius: 12px;
    color: #e7eff7;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-shell.is-collapsed .nav-item[b-lollnzgh8k]  a {
    justify-content: center;
    padding-inline: 0.35rem;
}

.nav-label[b-lollnzgh8k] {
    flex: 1 1 auto;
    min-width: 0;
}

.nav-icon[b-lollnzgh8k] {
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 8px;
    color: #93c5fd;
    background: rgba(96, 165, 250, 0.12);
    flex: 0 0 auto;
}

.nav-item[b-lollnzgh8k]  a.active {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(101, 163, 13, 0.35), rgba(37, 99, 235, 0.22));
    box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.16);
}

.nav-item[b-lollnzgh8k]  a.active .nav-icon {
    color: #0f172a;
    background: #d9f99d;
}

.nav-item[b-lollnzgh8k]  a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.nav-badge[b-lollnzgh8k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    color: #ffffff;
    background: #dc2626;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.nav-badge-dot[b-lollnzgh8k] {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    min-width: 0.45rem;
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
}

.nav-shell.is-collapsed .nav-item[b-lollnzgh8k] {
    position: relative;
}

@media (min-width: 641px) {
    .navbar-toggler[b-lollnzgh8k] {
        display: none;
    }

    .nav-collapse-btn[b-lollnzgh8k] {
        display: inline-flex;
    }

    .collapse[b-lollnzgh8k] {
        display: block;
    }

    .nav-scrollable[b-lollnzgh8k] {
        height: calc(100vh - 5.2rem);
        overflow-y: auto;
    }

    .page.sidebar-collapsed .sidebar[b-lollnzgh8k] {
        width: 4.75rem;
    }
}

@media (max-width: 640.98px) {
    .nav-collapse-btn[b-lollnzgh8k] {
        display: none;
    }
}
/* /Pages/AnimalDetails.razor.rz.scp.css */
.animal-details-page[b-4ibemoaqv7] {
    display: grid;
    gap: 1rem;
}

.animal-pregnant-badge[b-4ibemoaqv7] {
    font-weight: 700;
    border: none;
    box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.25);
}

.animal-back-link[b-4ibemoaqv7] {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 2.6rem;
    padding: 0 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface);
    color: var(--ds-muted-strong);
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--ds-soft-shadow);
}

.animal-back-link:hover[b-4ibemoaqv7] {
    border-color: var(--ds-primary);
    background: #eef5ff;
    color: var(--ds-primary);
}

.animal-loading[b-4ibemoaqv7],
.animal-empty[b-4ibemoaqv7] {
    display: grid;
    gap: 0.5rem;
    padding: 1.25rem;
}

.animal-empty h3[b-4ibemoaqv7] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.animal-hero[b-4ibemoaqv7],
.animal-tabs[b-4ibemoaqv7],
.animal-panel[b-4ibemoaqv7],
.pregnancy-dialog[b-4ibemoaqv7] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.animal-hero[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.animal-portrait[b-4ibemoaqv7] {
    display: grid;
    place-items: center;
}

.animal-portrait img[b-4ibemoaqv7],
.animal-avatar[b-4ibemoaqv7] {
    width: 128px;
    height: 128px;
    border-radius: var(--ds-radius-xl);
    object-fit: cover;
    border: 1px solid var(--ds-border);
    background: linear-gradient(180deg, #f7fbff 0%, #eef4f8 100%);
    box-shadow: var(--ds-soft-shadow);
}

.animal-avatar[b-4ibemoaqv7] {
    display: grid;
    place-items: center;
    color: var(--ds-primary);
    font-size: 2.5rem;
    font-weight: 900;
}

.animal-hero-content[b-4ibemoaqv7] {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.animal-hero-head[b-4ibemoaqv7] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.animal-title-block[b-4ibemoaqv7] {
    display: grid;
    gap: 0.35rem;
}

.animal-title-block h1[b-4ibemoaqv7] {
    margin: 0;
    color: var(--ds-text);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.animal-subtitle[b-4ibemoaqv7] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    color: var(--ds-muted);
    font-weight: 700;
}

.gender-pill[b-4ibemoaqv7],
.status-pill[b-4ibemoaqv7],
.muted-chip[b-4ibemoaqv7] {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.gender-pill.male[b-4ibemoaqv7] {
    color: #1d4ed8;
    background: #dbeafe;
}

.gender-pill.female[b-4ibemoaqv7] {
    color: #be185d;
    background: #fce7f3;
}

.status-pill.success[b-4ibemoaqv7] {
    color: #166534;
    background: #dcfce7;
}

.status-pill.warning[b-4ibemoaqv7] {
    color: #9a6500;
    background: #fff4da;
}

.status-pill.info[b-4ibemoaqv7] {
    color: #0369a1;
    background: #e0f2fe;
}

.status-pill.neutral[b-4ibemoaqv7] {
    color: #475569;
    background: #e2e8f0;
}

.status-pill.danger[b-4ibemoaqv7] {
    color: #b91c1c;
    background: #fee2e2;
}

.animal-actions[b-4ibemoaqv7],
.tab-actions[b-4ibemoaqv7],
.animal-inline-actions[b-4ibemoaqv7],
.pregnancy-actions[b-4ibemoaqv7] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.animal-actions[b-4ibemoaqv7] {
    justify-content: flex-end;
    align-items: flex-start;
}

.animal-actions-quick[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 0.5rem;
    width: 100%;
}

.animal-actions-quick .btn[b-4ibemoaqv7],
.animal-actions-quick .fl-btn[b-4ibemoaqv7] {
    width: 100%;
    justify-content: center;
}

.animal-actions .hero-menu[b-4ibemoaqv7] {
    width: 100%;
}

.animal-actions .hero-menu summary[b-4ibemoaqv7] {
    width: 100%;
    text-align: center;
}

.btn-plan[b-4ibemoaqv7] {
    font-weight: 700;
}

.kpi-hint-action[b-4ibemoaqv7] {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.kpi-hint-action:hover[b-4ibemoaqv7] {
    color: #1d4ed8;
}

.animal-meta-chips[b-4ibemoaqv7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.meta-chip[b-4ibemoaqv7] {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: #f3f6f9;
    border: 1px solid var(--ds-border);
    color: var(--ds-muted-strong);
    font-size: 0.78rem;
    font-weight: 800;
}

.meta-chip.success[b-4ibemoaqv7] {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.meta-chip.warning[b-4ibemoaqv7] {
    background: #fff7e8;
    border-color: #fed7aa;
    color: #b45309;
}

.hero-menu[b-4ibemoaqv7] {
    position: relative;
}

.hero-menu summary[b-4ibemoaqv7] {
    list-style: none;
}

.hero-menu summary[b-4ibemoaqv7]::-webkit-details-marker {
    display: none;
}

.hero-menu-panel[b-4ibemoaqv7] {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 30;
    display: grid;
    min-width: 220px;
    padding: 0.45rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.hero-menu-item[b-4ibemoaqv7] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ds-text);
    font-weight: 700;
    text-align: left;
    text-decoration: none;
}

.hero-menu-item:hover[b-4ibemoaqv7] {
    background: #f5f8fb;
}

.hero-menu-item.danger[b-4ibemoaqv7] {
    color: var(--ds-danger);
}

.animal-kpi-grid[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.animal-recap[b-4ibemoaqv7] {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.25rem;
    padding: 0.9rem 1rem;
    border-radius: var(--ds-radius-md);
    border: 1px solid transparent;
}

.animal-recap strong[b-4ibemoaqv7] {
    color: var(--ds-text);
    font-weight: 900;
}

.animal-recap span[b-4ibemoaqv7] {
    color: var(--ds-muted-strong);
    font-weight: 600;
}

.animal-recap.info[b-4ibemoaqv7] {
    border-color: #dbeafe;
    background: #f8fbff;
}

.animal-recap.success[b-4ibemoaqv7] {
    border-color: #c8ead6;
    background: #f0fbf4;
}

.animal-recap.warning[b-4ibemoaqv7] {
    border-color: #f1ddb3;
    background: #fff8ea;
}

.animal-recap.danger[b-4ibemoaqv7] {
    border-color: #f2c1c1;
    background: #fff3f3;
}

.analysis-section[b-4ibemoaqv7] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--ds-soft-shadow);
}

.analysis-head[b-4ibemoaqv7] {
    align-items: flex-start;
}

.analysis-head h3[b-4ibemoaqv7] {
    margin: 0.15rem 0 0;
    color: var(--ds-text);
    font-size: 1.15rem;
    font-weight: 900;
}

.analysis-head p[b-4ibemoaqv7] {
    margin: 0.25rem 0 0;
    color: var(--ds-muted);
}

.analysis-badge[b-4ibemoaqv7] {
    display: grid;
    gap: 0.1rem;
    align-items: center;
    justify-items: center;
    min-width: 120px;
    padding: 0.8rem 1rem;
    border-radius: var(--ds-radius-md);
    border: 1px solid transparent;
    background: var(--ds-surface-alt);
    color: var(--ds-text);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.analysis-badge strong[b-4ibemoaqv7] {
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
}

.analysis-badge.success[b-4ibemoaqv7],
.analysis-banner.success[b-4ibemoaqv7] {
    border-color: #c8ead6;
    background: #f0fbf4;
    color: #166534;
}

.analysis-badge.warning[b-4ibemoaqv7],
.analysis-banner.warning[b-4ibemoaqv7] {
    border-color: #f1ddb3;
    background: #fff8ea;
    color: #9a6500;
}

.analysis-badge.danger[b-4ibemoaqv7],
.analysis-banner.danger[b-4ibemoaqv7] {
    border-color: #f2c1c1;
    background: #fff3f3;
    color: #b91c1c;
}

.analysis-badge.info[b-4ibemoaqv7],
.analysis-banner.info[b-4ibemoaqv7] {
    border-color: #dbeafe;
    background: #f8fbff;
    color: #0369a1;
}

.analysis-banner[b-4ibemoaqv7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid transparent;
    border-radius: var(--ds-radius-md);
    font-weight: 700;
}

.analysis-banner span[b-4ibemoaqv7] {
    color: inherit;
    font-weight: 600;
}

.analysis-reason-strip[b-4ibemoaqv7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.analysis-reason-chip[b-4ibemoaqv7],
.analysis-inline-chip[b-4ibemoaqv7] {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.6rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 700;
}

.analysis-score-grid[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.analysis-score-card[b-4ibemoaqv7] {
    display: grid;
    gap: 0.7rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface);
}

.analysis-score-head[b-4ibemoaqv7] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.analysis-score-label[b-4ibemoaqv7] {
    display: block;
    color: var(--ds-muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.analysis-score-card strong[b-4ibemoaqv7] {
    display: block;
    color: var(--ds-text);
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 900;
}

.analysis-score-card strong.success[b-4ibemoaqv7] {
    color: var(--ds-success);
}

.analysis-score-card strong.warning[b-4ibemoaqv7] {
    color: #b45309;
}

.analysis-score-card strong.danger[b-4ibemoaqv7] {
    color: var(--ds-danger);
}

.analysis-score-card strong.info[b-4ibemoaqv7] {
    color: var(--ds-accent);
}

.analysis-score-chip[b-4ibemoaqv7] {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.analysis-score-chip.success[b-4ibemoaqv7] {
    color: #166534;
    background: #dcfce7;
}

.analysis-score-chip.warning[b-4ibemoaqv7] {
    color: #9a6500;
    background: #fff4da;
}

.analysis-score-chip.danger[b-4ibemoaqv7] {
    color: #b91c1c;
    background: #fee2e2;
}

.analysis-score-chip.info[b-4ibemoaqv7] {
    color: #0369a1;
    background: #e0f2fe;
}

.analysis-reason-list[b-4ibemoaqv7] {
    display: grid;
    gap: 0.25rem;
    margin: 0;
    padding-left: 1rem;
    color: var(--ds-muted-strong);
}

.analysis-score-card .progress[b-4ibemoaqv7] {
    height: 0.65rem;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.analysis-score-card .progress-bar[b-4ibemoaqv7] {
    border-radius: 999px;
}

.analysis-score-card .progress-bar.success[b-4ibemoaqv7] {
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.analysis-score-card .progress-bar.warning[b-4ibemoaqv7] {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.analysis-score-card .progress-bar.danger[b-4ibemoaqv7] {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.analysis-score-card .progress-bar.info[b-4ibemoaqv7] {
    background: linear-gradient(90deg, #0284c7, #0ea5e9);
}

.analysis-missing[b-4ibemoaqv7] {
    display: grid;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    border: 1px dashed var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: #fafcff;
}

.analysis-missing strong[b-4ibemoaqv7] {
    color: var(--ds-text);
}

.analysis-missing-list[b-4ibemoaqv7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.analysis-missing-chip[b-4ibemoaqv7] {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
}

.analysis-inline-reasons[b-4ibemoaqv7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.analysis-factor-list[b-4ibemoaqv7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.analysis-factor-chip[b-4ibemoaqv7] {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.analysis-factor-chip.negative[b-4ibemoaqv7] {
    color: #b91c1c;
    background: #fff1f2;
}

.analysis-action[b-4ibemoaqv7] {
    color: var(--ds-primary);
    font-size: 0.82rem;
    font-weight: 800;
}

.do-now-panel[b-4ibemoaqv7] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.priority-action-grid[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.priority-action-card[b-4ibemoaqv7] {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--ds-radius-md);
    border: 1px solid var(--ds-border);
    background: var(--ds-surface);
}

.priority-action-card.warning[b-4ibemoaqv7] {
    background: #fffaf2;
    border-color: #fddeb2;
}

.priority-action-card.danger[b-4ibemoaqv7] {
    background: #fff5f6;
    border-color: #f4c2c8;
}

.priority-action-card.info[b-4ibemoaqv7] {
    background: #f8fbff;
    border-color: #cfe2ff;
}

.priority-action-card.success[b-4ibemoaqv7] {
    background: #f3fdf7;
    border-color: #c8ead6;
}

.priority-action-head[b-4ibemoaqv7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.priority-action-head strong[b-4ibemoaqv7] {
    font-size: 1rem;
    font-weight: 900;
}

.priority-action-card p[b-4ibemoaqv7] {
    margin: 0;
    color: var(--ds-muted-strong);
}

.animal-tabs[b-4ibemoaqv7] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    padding: 0.85rem;
}

.animal-tab[b-4ibemoaqv7] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    padding: 0.7rem 0.95rem;
    color: var(--ds-muted-strong);
    background: var(--ds-surface);
    font-weight: 700;
}

.animal-tab:hover[b-4ibemoaqv7] {
    border-color: var(--ds-primary);
    background: #eef5ff;
}

.animal-tab.active[b-4ibemoaqv7] {
    color: #ffffff;
    border-color: var(--ds-primary);
    background: var(--ds-primary);
}

.animal-tab-badge[b-4ibemoaqv7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.45rem;
    height: 1.45rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: inherit;
    font-size: 0.72rem;
    font-weight: 800;
}

.animal-tab-badge.danger[b-4ibemoaqv7] {
    background: #fee2e2;
    color: #b91c1c;
}

.animal-tab.active .animal-tab-badge[b-4ibemoaqv7] {
    background: rgba(255, 255, 255, 0.16);
}

.animal-tab.active .animal-tab-badge.danger[b-4ibemoaqv7] {
    background: rgba(255, 255, 255, 0.92);
    color: #b91c1c;
}

.animal-panel[b-4ibemoaqv7] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.decision-grid[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.decision-card[b-4ibemoaqv7] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.section-head h3[b-4ibemoaqv7] {
    margin: 0.15rem 0 0;
    color: var(--ds-text);
    font-size: 1.08rem;
    font-weight: 900;
}

.section-head p[b-4ibemoaqv7] {
    margin: 0.25rem 0 0;
    color: var(--ds-muted);
}

.section-head.compact h3[b-4ibemoaqv7] {
    font-size: 1rem;
}

.section-head.compact p[b-4ibemoaqv7] {
    font-size: 0.88rem;
}

.weight-chart-block[b-4ibemoaqv7] {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
    padding: 0.9rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.weight-chart-wrapper[b-4ibemoaqv7] {
    padding: 0.25rem 0.1rem 0;
}

.weight-insight-bar[b-4ibemoaqv7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.weight-insight-bar.positive[b-4ibemoaqv7] {
    border-left: 4px solid var(--ds-success);
}

.weight-insight-bar.negative[b-4ibemoaqv7] {
    border-left: 4px solid var(--ds-danger);
}

.weight-insight-bar.neutral[b-4ibemoaqv7] {
    border-left: 4px solid var(--ds-border);
}

.weight-insight-bar__lead[b-4ibemoaqv7] {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.weight-insight-bar__eyebrow[b-4ibemoaqv7] {
    color: var(--ds-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.weight-insight-bar__lead strong[b-4ibemoaqv7] {
    color: var(--ds-text);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
}

.weight-insight-bar__delta[b-4ibemoaqv7] {
    flex-shrink: 0;
    color: var(--ds-text);
    font-size: 1rem;
    font-weight: 900;
    white-space: nowrap;
}

.weight-insight-bar.positive .weight-insight-bar__delta[b-4ibemoaqv7] {
    color: var(--ds-success);
}

.weight-insight-bar.negative .weight-insight-bar__delta[b-4ibemoaqv7] {
    color: var(--ds-danger);
}

.weight-history-panel[b-4ibemoaqv7] {
    margin-top: 0;
}

.decision-list[b-4ibemoaqv7] {
    display: grid;
    gap: 0.75rem;
}

.decision-item[b-4ibemoaqv7] {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.decision-item-head[b-4ibemoaqv7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.decision-item p[b-4ibemoaqv7] {
    margin: 0;
    color: var(--ds-muted-strong);
}

.decision-badge[b-4ibemoaqv7] {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.decision-item.danger[b-4ibemoaqv7] {
    border-color: #f2c1c1;
    background: #fff4f4;
}

.decision-item.danger .decision-badge[b-4ibemoaqv7] {
    color: #991b1b;
    background: #fee2e2;
}

.decision-item.warning[b-4ibemoaqv7] {
    border-color: #f1ddb3;
    background: #fffaf0;
}

.decision-item.warning .decision-badge[b-4ibemoaqv7] {
    color: #9a6500;
    background: #fff4da;
}

.decision-item.info[b-4ibemoaqv7] {
    border-color: #dbeafe;
    background: #f8fbff;
}

.decision-item.info .decision-badge[b-4ibemoaqv7] {
    color: #0369a1;
    background: #e0f2fe;
}

.decision-item.success[b-4ibemoaqv7] {
    border-color: #c8ead6;
    background: #f0fbf4;
}

.decision-item.success .decision-badge[b-4ibemoaqv7] {
    color: #166534;
    background: #dcfce7;
}

.tab-header[b-4ibemoaqv7] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-header h3[b-4ibemoaqv7] {
    margin: 0.15rem 0 0;
    color: var(--ds-text);
    font-weight: 900;
}

.tab-header p[b-4ibemoaqv7] {
    margin: 0.25rem 0 0;
    color: var(--ds-muted);
}

.eyebrow[b-4ibemoaqv7] {
    color: var(--ds-accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.panel-grid[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.summary-overview-grid[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
}

.summary-metric-card[b-4ibemoaqv7],
.summary-priority-card[b-4ibemoaqv7] {
    display: grid;
    gap: 0.65rem;
    min-height: 170px;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.summary-metric-head[b-4ibemoaqv7] {
    display: grid;
    gap: 0.3rem;
}

.summary-metric-head span[b-4ibemoaqv7],
.summary-priority-kicker[b-4ibemoaqv7] {
    color: var(--ds-muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.summary-metric-head strong[b-4ibemoaqv7] {
    font-size: 1.85rem;
    line-height: 1;
    font-weight: 900;
}

.summary-metric-head strong.success[b-4ibemoaqv7] {
    color: var(--ds-success);
}

.summary-metric-head strong.warning[b-4ibemoaqv7] {
    color: #b45309;
}

.summary-metric-head strong.danger[b-4ibemoaqv7] {
    color: var(--ds-danger);
}

.summary-metric-head strong.info[b-4ibemoaqv7] {
    color: var(--ds-accent);
}

.summary-metric-card .progress[b-4ibemoaqv7] {
    height: 0.65rem;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.summary-metric-card .progress-bar[b-4ibemoaqv7] {
    height: 100%;
    border-radius: 999px;
}

.summary-metric-card .progress-bar.success[b-4ibemoaqv7] {
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.summary-metric-card .progress-bar.warning[b-4ibemoaqv7] {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.summary-metric-card .progress-bar.danger[b-4ibemoaqv7] {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.summary-metric-card .progress-bar.info[b-4ibemoaqv7] {
    background: linear-gradient(90deg, #0284c7, #0ea5e9);
}

.summary-metric-card small[b-4ibemoaqv7],
.summary-priority-text[b-4ibemoaqv7] {
    color: var(--ds-muted-strong);
    font-weight: 700;
}

.summary-priority-card[b-4ibemoaqv7] {
    background: linear-gradient(180deg, #fdfbf5 0%, #fffdf8 100%);
    border-color: #f3dfb0;
    align-content: start;
}

.summary-priority-card strong[b-4ibemoaqv7] {
    color: var(--ds-text);
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
}

.summary-priority-meta[b-4ibemoaqv7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.panel-card[b-4ibemoaqv7] {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
}

.panel-head[b-4ibemoaqv7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-head h3[b-4ibemoaqv7] {
    margin: 0;
    color: var(--ds-text);
    font-size: 1.05rem;
    font-weight: 900;
}

.muted-chip[b-4ibemoaqv7] {
    color: var(--ds-muted-strong);
    background: var(--ds-surface-alt);
}

.detail-grid[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
    gap: 0.4rem 0.8rem;
    margin: 0;
}

.detail-grid dt[b-4ibemoaqv7] {
    color: var(--ds-muted);
    font-weight: 800;
}

.detail-grid dd[b-4ibemoaqv7] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 700;
}

.stack-card[b-4ibemoaqv7] {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.stack-card strong[b-4ibemoaqv7] {
    color: var(--ds-text);
}

.stack-card span[b-4ibemoaqv7] {
    color: var(--ds-muted-strong);
}

.stack-card-empty[b-4ibemoaqv7] {
    border-style: dashed;
    background: #fafcff;
}

.stack-metric-grid[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
    gap: 0.35rem 0.8rem;
    margin: 0;
}

.stack-metric-grid dt[b-4ibemoaqv7] {
    color: var(--ds-muted);
    font-weight: 800;
}

.stack-metric-grid dd[b-4ibemoaqv7] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 800;
}

.animal-data-table[b-4ibemoaqv7] {
    margin: 0;
}

.animal-data-table .actions-cell[b-4ibemoaqv7] {
    white-space: nowrap;
}

.weight-summary-grid[b-4ibemoaqv7],
.cost-summary-grid[b-4ibemoaqv7],
.feeding-kpi-grid[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.summary-card[b-4ibemoaqv7] {
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.summary-card span[b-4ibemoaqv7] {
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.summary-card strong[b-4ibemoaqv7] {
    color: var(--ds-text);
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 900;
}

.summary-card small[b-4ibemoaqv7] {
    color: var(--ds-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.summary-card.summary-card-accent[b-4ibemoaqv7] {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-color: #d9e7ff;
}

.summary-card .positive[b-4ibemoaqv7] {
    color: var(--ds-success);
}

.summary-card .negative[b-4ibemoaqv7] {
    color: var(--ds-danger);
}

.summary-card .neutral[b-4ibemoaqv7] {
    color: var(--ds-muted-strong);
}

.timeline[b-4ibemoaqv7] {
    display: grid;
    gap: 0.75rem;
}

.timeline-item[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface);
}

.timeline-item.weight[b-4ibemoaqv7] {
    border-left: 4px solid #0ea5e9;
}

.timeline-item.health[b-4ibemoaqv7] {
    border-left: 4px solid #ef4444;
}

.timeline-item.birth[b-4ibemoaqv7] {
    border-left: 4px solid #8b5cf6;
}

.timeline-item.sale[b-4ibemoaqv7] {
    border-left: 4px solid #16a34a;
}

.timeline-item.cost[b-4ibemoaqv7],
.timeline-item.purchase[b-4ibemoaqv7] {
    border-left: 4px solid #f59e0b;
}

.timeline-item.activity[b-4ibemoaqv7] {
    border-left: 4px solid #64748b;
}

.timeline-item.feed[b-4ibemoaqv7] {
    border-left: 4px solid #16a34a;
}

.timeline-item.alert[b-4ibemoaqv7] {
    border-left: 4px solid #ef4444;
}

.timeline-item.decision[b-4ibemoaqv7] {
    border-left: 4px solid #2563eb;
}

.timeline-date[b-4ibemoaqv7] {
    color: var(--ds-accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.timeline-body[b-4ibemoaqv7] {
    display: grid;
    gap: 0.25rem;
}

.timeline-body strong[b-4ibemoaqv7] {
    color: var(--ds-text);
}

.timeline-body span[b-4ibemoaqv7] {
    color: var(--ds-muted-strong);
}

.empty-state[b-4ibemoaqv7] {
    border-radius: var(--ds-radius-md);
}

.feed-breakdown-list[b-4ibemoaqv7],
.mini-timeline-grid[b-4ibemoaqv7] {
    display: grid;
    gap: 0.75rem;
}

.feed-breakdown-item[b-4ibemoaqv7],
.mini-timeline-card[b-4ibemoaqv7] {
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.feed-breakdown-head[b-4ibemoaqv7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.feed-breakdown-meta[b-4ibemoaqv7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    color: var(--ds-muted-strong);
    font-size: 0.85rem;
    font-weight: 700;
}

.confidence-badge[b-4ibemoaqv7],
.theory-badge[b-4ibemoaqv7] {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.confidence-badge.is-high[b-4ibemoaqv7] {
    color: #166534;
    background: #dcfce7;
}

.confidence-badge.is-medium[b-4ibemoaqv7] {
    color: #9a6700;
    background: #fef3c7;
}

.confidence-badge.is-low[b-4ibemoaqv7] {
    color: #9f1239;
    background: #ffe4e6;
}

.theory-badge[b-4ibemoaqv7] {
    color: #8a5a00;
    background: #fff4da;
}

.mini-timeline-grid[b-4ibemoaqv7] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-timeline-card span[b-4ibemoaqv7] {
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mini-timeline-card strong[b-4ibemoaqv7] {
    color: var(--ds-text);
    font-size: 1.05rem;
    font-weight: 900;
}

.mini-timeline-card small[b-4ibemoaqv7] {
    color: var(--ds-muted-strong);
    font-weight: 700;
}

.decision-explain-grid[b-4ibemoaqv7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0.9rem;
}

.decision-explain-grid div[b-4ibemoaqv7] {
    display: grid;
    gap: 0.15rem;
}

.decision-explain-grid span[b-4ibemoaqv7],
.decision-rule[b-4ibemoaqv7] {
    color: var(--ds-muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.decision-explain-grid strong[b-4ibemoaqv7],
.decision-rule strong[b-4ibemoaqv7] {
    color: var(--ds-text);
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: none;
}

.pregnancy-backdrop[b-4ibemoaqv7] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.52);
}

.pregnancy-dialog[b-4ibemoaqv7] {
    width: min(520px, 100%);
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
}

.pregnancy-copy[b-4ibemoaqv7] {
    margin: 0;
    color: var(--ds-muted);
}

.animal-empty a[b-4ibemoaqv7],
.animal-empty p[b-4ibemoaqv7] {
    margin: 0;
}

@media (max-width: 1100px) {
    .animal-kpi-grid[b-4ibemoaqv7],
    .weight-summary-grid[b-4ibemoaqv7],
    .cost-summary-grid[b-4ibemoaqv7],
    .feeding-kpi-grid[b-4ibemoaqv7],
    .analysis-score-grid[b-4ibemoaqv7],
    .priority-action-grid[b-4ibemoaqv7],
    .summary-overview-grid[b-4ibemoaqv7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .decision-grid[b-4ibemoaqv7] {
        grid-template-columns: 1fr;
    }

    .panel-grid[b-4ibemoaqv7] {
        grid-template-columns: 1fr;
    }

    .mini-timeline-grid[b-4ibemoaqv7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .animal-hero[b-4ibemoaqv7] {
        grid-template-columns: 1fr;
    }

    .animal-kpi-grid[b-4ibemoaqv7],
    .analysis-score-grid[b-4ibemoaqv7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .animal-actions[b-4ibemoaqv7] {
        justify-content: flex-start;
    }

    .hero-menu-panel[b-4ibemoaqv7] {
        right: auto;
        left: 0;
        min-width: min(18rem, 100vw - 3rem);
    }

    .detail-grid[b-4ibemoaqv7],
    .timeline-item[b-4ibemoaqv7] {
        grid-template-columns: 1fr;
    }

    .analysis-banner[b-4ibemoaqv7] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* /Pages/AnimalGroups/AnimalGroupDetails.razor.rz.scp.css */
.animal-group-details-page .animal-group-details-tabs[b-7v57zhdeu0] {
    margin-top: 0.25rem;
}

.animal-group-details-page .animal-group-tab-panel[b-7v57zhdeu0] {
    min-height: 20rem;
}

/* Child tabs (Feed, History, …) render outside this page's CSS scope. */
.animal-group-details-page[b-7v57zhdeu0]  .animal-group-timeline {
    display: grid;
    gap: 0.85rem;
}

.animal-group-details-page[b-7v57zhdeu0]  .animal-group-timeline-item {
    display: grid;
    grid-template-columns: 0.85rem 1fr;
    gap: 0.85rem;
    align-items: start;
}

.animal-group-details-page[b-7v57zhdeu0]  .animal-group-timeline-dot {
    width: 0.75rem;
    height: 0.75rem;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: #94a3b8;
}

.animal-group-details-page[b-7v57zhdeu0]  .animal-group-timeline-dot.is-danger { background: #dc2626; }
.animal-group-details-page[b-7v57zhdeu0]  .animal-group-timeline-dot.is-success { background: #16a34a; }
.animal-group-details-page[b-7v57zhdeu0]  .animal-group-timeline-dot.is-health { background: #7c3aed; }
.animal-group-details-page[b-7v57zhdeu0]  .animal-group-timeline-dot.is-feed { background: #ca8a04; }
.animal-group-details-page[b-7v57zhdeu0]  .animal-group-timeline-dot.is-neutral { background: #0d6efd; }

.animal-group-details-page[b-7v57zhdeu0]  .animal-group-timeline-body {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
/* /Pages/AnimalGroups/AnimalGroups.razor.rz.scp.css */
.animal-groups-page .animal-groups-table-shell[b-n1x3lzxsbt] {
    overflow-x: auto;
}

.animal-groups-page .animal-alert-pill[b-n1x3lzxsbt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.8rem;
    font-weight: 600;
}

.animal-groups-page .animal-badge[b-n1x3lzxsbt] {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.78rem;
    white-space: nowrap;
}

.animal-groups-page .animal-badge.animal-active[b-n1x3lzxsbt] {
    background: #dcfce7;
    color: #166534;
}

.animal-groups-page .animal-badge.animal-watch[b-n1x3lzxsbt] {
    background: #fef3c7;
    color: #92400e;
}

.animal-groups-page .animal-badge.animal-sold[b-n1x3lzxsbt] {
    background: #e0e7ff;
    color: #3730a3;
}

.animal-groups-page .animal-badge.animal-archived[b-n1x3lzxsbt] {
    background: #e2e8f0;
    color: #475569;
}

.animal-groups-page .animal-row[b-n1x3lzxsbt] {
    cursor: pointer;
}

.animal-groups-page .fl-filter-grid[b-n1x3lzxsbt] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem 1rem;
    align-items: end;
}

.animal-groups-create-body .animal-groups-form-section[b-n1x3lzxsbt] {
    margin: 0 0 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}
/* /Pages/Animals.razor.rz.scp.css */
.animal-page[b-uch1hu5ib1] {
    display: grid;
    gap: 1rem;
}

.animal-planning-bar[b-uch1hu5ib1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-left: 4px solid var(--ds-primary, #0d6efd);
    background: color-mix(in srgb, var(--ds-primary, #0d6efd) 5%, var(--ds-surface, #fff));
}

.animal-planning-copy[b-uch1hu5ib1] {
    display: grid;
    gap: 0.15rem;
}

.animal-planning-copy strong[b-uch1hu5ib1] {
    font-size: 0.95rem;
}

.animal-planning-copy span[b-uch1hu5ib1] {
    font-size: 0.85rem;
    color: var(--ds-muted, #6c757d);
}

.animal-planning-actions[b-uch1hu5ib1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.quick-filter-row[b-uch1hu5ib1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--ds-border);
}

.quick-filter-label[b-uch1hu5ib1] {
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-right: 0.25rem;
}

.animal-score-pill[b-uch1hu5ib1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.82rem;
}

.animal-score-pill.score-good[b-uch1hu5ib1] { background: rgba(34, 197, 94, 0.15); color: #15803d; }
.animal-score-pill.score-medium[b-uch1hu5ib1] { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.animal-score-pill.score-bad[b-uch1hu5ib1] { background: rgba(239, 68, 68, 0.15); color: #b91c1c; }

.animal-alert-pill[b-uch1hu5ib1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
}

.toolbar-card[b-uch1hu5ib1],
.filter-grid[b-uch1hu5ib1],
.pager-card[b-uch1hu5ib1] {
    border-radius: var(--ds-radius-lg);
}

.toolbar-row[b-uch1hu5ib1] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.search-block[b-uch1hu5ib1] {
    flex: 1 1 420px;
}

.search-inline[b-uch1hu5ib1] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.toolbar-actions[b-uch1hu5ib1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-grid[b-uch1hu5ib1] {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(170px, 0.8fr) minmax(260px, 1.4fr) minmax(150px, 0.6fr) auto;
    gap: 1rem;
    align-items: end;
    padding: 1rem;
}

.status-chips[b-uch1hu5ib1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-chip[b-uch1hu5ib1] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--ds-border);
    border-radius: 999px;
    background: var(--ds-surface-alt);
    font-size: 0.85rem;
    font-weight: 700;
}

.status-chip input[b-uch1hu5ib1] {
    margin: 0;
}

.animal-kpi-grid[b-uch1hu5ib1] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 900px) {
    .animal-kpi-grid[b-uch1hu5ib1] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.animal-kpi-card[b-uch1hu5ib1] {
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.animal-kpi-card h4[b-uch1hu5ib1] {
    margin: 0;
    font-size: 1.6rem;
    color: var(--ds-text);
    font-weight: 900;
}

.animal-kpi-card span[b-uch1hu5ib1] {
    color: var(--ds-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.animal-table[b-uch1hu5ib1] {
    width: 100%;
    margin: 0;
    border: 0;
}

.animal-table thead th[b-uch1hu5ib1] {
    background: #edf4ff;
    color: var(--ds-text);
    font-weight: 800;
    border-bottom: 1px solid var(--ds-border-strong);
}

.animal-table tbody tr:nth-child(even)[b-uch1hu5ib1] {
    background: #fbfcfe;
}

.animal-table tbody tr.animal-row[b-uch1hu5ib1] {
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.animal-table tbody tr.animal-row:hover[b-uch1hu5ib1] {
    background: #eef5ff;
}

.animal-table tbody tr.animal-row:active[b-uch1hu5ib1] {
    background: #e3edff;
}

.actions-cell[b-uch1hu5ib1] {
    width: 88px;
    text-align: right;
}

.row-actions[b-uch1hu5ib1] {
    display: inline-flex;
    gap: 0.35rem;
    opacity: 0.55;
    transition: opacity 0.15s ease;
}

.animal-row:hover .row-actions[b-uch1hu5ib1] {
    opacity: 1;
}

.row-action-btn[b-uch1hu5ib1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--ds-border);
    border-radius: 10px;
    background: var(--ds-surface);
    color: var(--ds-muted-strong);
    cursor: pointer;
}

.row-action-btn:hover[b-uch1hu5ib1] {
    border-color: var(--ds-primary);
    color: var(--ds-primary);
    background: #f8fbff;
}

.row-action-btn.row-action-danger:hover[b-uch1hu5ib1] {
    border-color: var(--ds-danger);
    color: var(--ds-danger);
    background: #fff5f5;
}

.animal-photo[b-uch1hu5ib1] {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--ds-border);
    box-shadow: var(--ds-soft-shadow);
}

.animal-badge[b-uch1hu5ib1] {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.animal-male[b-uch1hu5ib1] {
    color: #1d4ed8;
    background: #dbeafe;
}

.animal-female[b-uch1hu5ib1] {
    color: #be185d;
    background: #fce7f3;
}

.animal-alive[b-uch1hu5ib1] {
    color: #166534;
    background: #dcfce7;
}

.animal-reserved[b-uch1hu5ib1] {
    color: #a16207;
    background: #fef3c7;
}

.animal-sold[b-uch1hu5ib1] {
    color: #0369a1;
    background: #e0f2fe;
}

.animal-dead[b-uch1hu5ib1] {
    color: #b91c1c;
    background: #fee2e2;
}

.animal-pregnant[b-uch1hu5ib1] {
    margin-top: 0.4rem;
    color: #8a5b12;
    background: #fffaf0;
    border: 1px solid #f1ddb3;
}

.actions-cell .btn[b-uch1hu5ib1] {
    margin-right: 0.35rem;
}

.pager-card[b-uch1hu5ib1] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
}

@media (max-width: 1100px) {
    .animal-kpi-grid[b-uch1hu5ib1],
    .filter-grid[b-uch1hu5ib1] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .toolbar-row[b-uch1hu5ib1],
    .search-inline[b-uch1hu5ib1] {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-actions[b-uch1hu5ib1] {
        width: 100%;
    }

    .toolbar-actions .btn[b-uch1hu5ib1] {
        width: 100%;
    }

    .animal-kpi-grid[b-uch1hu5ib1],
    .filter-grid[b-uch1hu5ib1] {
        grid-template-columns: 1fr;
    }

    .pager-card[b-uch1hu5ib1] {
        flex-direction: column;
    }
}
/* /Pages/Billing/BillingDashboard.razor.rz.scp.css */
.billing-page .billing-usage-card[b-bwqum7mbnm] {
    margin-top: 0.25rem;
}

.billing-usage-grid[b-bwqum7mbnm] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.billing-usage-item[b-bwqum7mbnm] {
    padding: 0.85rem 1rem;
    border: 1px solid var(--fl-border, #d9e0d4);
    border-radius: 12px;
    background: var(--fl-surface-muted, #f7f8f5);
}

.billing-usage-item.is-exceeded[b-bwqum7mbnm] {
    border-color: #c45c4a;
    background: #fff5f3;
}

.billing-usage-item__head[b-bwqum7mbnm] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: baseline;
    margin-bottom: 0.55rem;
}

.billing-usage-item__scope[b-bwqum7mbnm] {
    color: var(--fl-muted, #6b7280);
    font-size: 0.8rem;
}

.billing-usage-bar[b-bwqum7mbnm] {
    height: 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 0.45rem;
}

.billing-usage-bar > span[b-bwqum7mbnm] {
    display: block;
    height: 100%;
    background: var(--fl-primary, #2f6b3a);
}

.billing-usage-item.is-exceeded .billing-usage-bar > span[b-bwqum7mbnm] {
    background: #c45c4a;
}

.billing-usage-item__meta[b-bwqum7mbnm] {
    font-size: 0.9rem;
    color: var(--fl-text, #1f2937);
}
/* /Pages/Calendar/Calendar.razor.rz.scp.css */
.calendar-page[b-swtzayq69t] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.calendar-kpi-grid[b-swtzayq69t] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.calendar-toolbar[b-swtzayq69t] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--ds-border, rgba(0, 0, 0, 0.1));
    border-radius: var(--ds-radius-lg, 12px);
    background: var(--ds-surface, #fff);
    box-shadow: var(--ds-soft-shadow, 0 1px 3px rgba(15, 23, 42, 0.06));
}

.calendar-tabs[b-swtzayq69t] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.calendar-tab[b-swtzayq69t] {
    border: 1px solid var(--ds-border, rgba(0, 0, 0, 0.12));
    background: var(--ds-surface, #fff);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    color: var(--ds-text, #212529);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.calendar-tab.active[b-swtzayq69t] {
    background: var(--ds-primary, #0d6efd);
    color: #fff;
    border-color: var(--ds-primary, #0d6efd);
}

.calendar-filters[b-swtzayq69t] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.calendar-filters .form-control[b-swtzayq69t],
.calendar-filters .form-select[b-swtzayq69t] {
    flex: 1;
    min-width: 140px;
    max-width: 220px;
}

.calendar-filters-advanced[b-swtzayq69t] {
    padding-top: 0.5rem;
    border-top: 1px dashed var(--ds-border, rgba(0, 0, 0, 0.12));
}

.calendar-filters-advanced-btn[b-swtzayq69t] {
    white-space: nowrap;
}

.calendar-content[b-swtzayq69t] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Week */
.calendar-week-grid[b-swtzayq69t] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.65rem;
}

.calendar-week-column[b-swtzayq69t] {
    border: 1px solid var(--ds-border, rgba(0, 0, 0, 0.08));
    border-radius: var(--ds-radius-lg, 12px);
    background: var(--ds-surface, #fff);
    padding: 0.65rem;
    min-height: 180px;
}

.calendar-week-column.is-today[b-swtzayq69t] {
    border-color: color-mix(in srgb, var(--ds-primary, #0d6efd) 40%, var(--ds-border, #dee2e6));
    background: color-mix(in srgb, var(--ds-primary, #0d6efd) 4%, var(--ds-surface, #fff));
}

.calendar-week-column-header[b-swtzayq69t] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--ds-border, rgba(0, 0, 0, 0.06));
}

.calendar-week-day[b-swtzayq69t] {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: capitalize;
    color: var(--ds-text, #212529);
}

.calendar-week-date[b-swtzayq69t] {
    font-size: 0.78rem;
    color: var(--ds-muted, #6c757d);
}

.calendar-week-count[b-swtzayq69t] {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: var(--ds-surface-alt, #e9ecef);
    color: var(--ds-muted, #6c757d);
}

.calendar-week-more[b-swtzayq69t] {
    padding: 0;
    font-size: 0.78rem;
}

/* Month */
.calendar-month-shell[b-swtzayq69t] {
    border: 1px solid var(--ds-border, rgba(0, 0, 0, 0.08));
    border-radius: var(--ds-radius-lg, 12px);
    background: var(--ds-surface, #fff);
    padding: 0.75rem;
    box-shadow: var(--ds-soft-shadow, 0 1px 3px rgba(15, 23, 42, 0.05));
}

.calendar-month-weekdays[b-swtzayq69t] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    padding: 0 0.4rem;
}

.calendar-month-weekdays span[b-swtzayq69t] {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ds-muted, #6c757d);
}

.calendar-month-grid[b-swtzayq69t] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.45rem;
}

.calendar-month-cell[b-swtzayq69t] {
    min-height: 96px;
    border: 1px solid var(--ds-border, rgba(0, 0, 0, 0.08));
    border-radius: 8px;
    padding: 0.4rem;
    background: var(--ds-surface, #fff);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.calendar-month-cell:hover[b-swtzayq69t] {
    border-color: color-mix(in srgb, var(--ds-primary, #0d6efd) 30%, var(--ds-border, #dee2e6));
}

.calendar-month-cell.is-today[b-swtzayq69t] {
    border-color: var(--ds-primary, #0d6efd);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ds-primary, #0d6efd) 25%, transparent);
}

.calendar-month-cell.is-outside[b-swtzayq69t] {
    opacity: 0.45;
}

.calendar-month-cell header[b-swtzayq69t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.calendar-month-day[b-swtzayq69t] {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--ds-text, #212529);
}

.calendar-month-badge[b-swtzayq69t] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ds-primary, #0d6efd) 12%, #fff);
    color: var(--ds-primary, #0d6efd);
}

.calendar-month-more[b-swtzayq69t] {
    font-size: 0.68rem;
    color: var(--ds-muted, #6c757d);
}

.calendar-day-panel[b-swtzayq69t] {
    margin-top: 1rem;
}

.calendar-day-panel-head[b-swtzayq69t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.calendar-day-panel-head h5[b-swtzayq69t] {
    margin: 0;
}

@media (max-width: 1100px) {
    .calendar-kpi-grid[b-swtzayq69t] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .calendar-week-grid[b-swtzayq69t] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .calendar-kpi-grid[b-swtzayq69t] {
        grid-template-columns: 1fr 1fr;
    }

    .calendar-filters .form-control[b-swtzayq69t],
    .calendar-filters .form-select[b-swtzayq69t] {
        max-width: none;
        flex: 1 1 100%;
    }

    .calendar-tab-week[b-swtzayq69t],
    .calendar-tab-month[b-swtzayq69t] {
        display: none;
    }

    .calendar-week-grid[b-swtzayq69t] {
        grid-template-columns: 1fr;
    }

    .calendar-month-grid[b-swtzayq69t] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Pages/Calendar/CalendarJournal.razor.rz.scp.css */
.calendar-journal-page[b-9azvbi5dk8] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-journal-toolbar[b-9azvbi5dk8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
}

.calendar-journal-toolbar .form-select[b-9azvbi5dk8] {
    max-width: 220px;
}

.calendar-journal-toolbar .form-control[b-9azvbi5dk8] {
    flex: 1;
    min-width: 180px;
}

.calendar-journal-groups[b-9azvbi5dk8] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.calendar-journal-group-head[b-9azvbi5dk8] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ds-border, rgba(0, 0, 0, 0.08));
}

.calendar-journal-group-head h4[b-9azvbi5dk8] {
    margin: 0;
    font-size: 1rem;
    text-transform: capitalize;
}

.calendar-journal-group-head span[b-9azvbi5dk8] {
    font-size: 0.82rem;
    color: var(--ds-muted, #6c757d);
}

.calendar-journal-row[b-9azvbi5dk8] {
    padding: 0.65rem 0;
    border-bottom: 1px dashed var(--ds-border, rgba(0, 0, 0, 0.06));
}

.calendar-journal-row:last-child[b-9azvbi5dk8] {
    border-bottom: none;
}

.calendar-journal-row-main[b-9azvbi5dk8] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem;
}

.calendar-journal-row-main strong[b-9azvbi5dk8] {
    font-size: 0.95rem;
}

.calendar-journal-row-main span[b-9azvbi5dk8] {
    font-size: 0.8rem;
    color: var(--ds-muted, #6c757d);
}

.calendar-journal-row p[b-9azvbi5dk8] {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--ds-text, #212529);
}
/* /Pages/Cost/Costs.razor.rz.scp.css */
.cost-page[b-i4473atgih] {
    display: grid;
    gap: 1rem;
    width: 100%;
    min-height: calc(100vh - 9rem);
    align-content: start;
}

.costs-profitability-kpi[b-i4473atgih] {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.costs-tabs[b-i4473atgih] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.25rem;
}

.costs-tab[b-i4473atgih] {
    border: 0;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    padding: 0.55rem 0.9rem;
    border-radius: 0.5rem 0.5rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.costs-tab.is-active[b-i4473atgih] {
    color: #0f172a;
    background: #f8fafc;
    box-shadow: inset 0 -2px 0 #2563eb;
}

.costs-tab-badge[b-i4473atgih] {
    font-size: 0.75rem;
    background: #e2e8f0;
    color: #334155;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
}

.costs-filter-grid[b-i4473atgih] {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.costs-analysis-grid[b-i4473atgih] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.costs-analysis-list[b-i4473atgih] {
    display: grid;
    gap: 0.75rem;
}

.costs-analysis-item[b-i4473atgih] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eef2f6;
}

.costs-analysis-item:last-child[b-i4473atgih] {
    border-bottom: 0;
}

.costs-analysis-values[b-i4473atgih] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .costs-analysis-grid[b-i4473atgih] {
        grid-template-columns: 1fr;
    }

    .costs-analysis-item[b-i4473atgih] {
        flex-direction: column;
    }

    .costs-analysis-values[b-i4473atgih] {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.cost-overview-grid[b-i4473atgih],
.cost-workspace-grid[b-i4473atgih],
.cost-legend[b-i4473atgih],
.cost-summary-strip[b-i4473atgih] {
    display: grid;
    gap: 1rem;
}

.cost-overview-grid[b-i4473atgih] {
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
}

.cost-workspace-grid[b-i4473atgih] {
    grid-template-columns: 1fr;
}

.cost-filters-toolbar .section-card-header[b-i4473atgih] {
    align-items: flex-start;
    gap: 0.75rem;
}

.cost-filters-toolbar .filter-actions[b-i4473atgih] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cost-filters-toolbar .filter-grid[b-i4473atgih] {
    display: grid;
    grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(90px, 1fr)) auto;
    gap: 0.75rem;
    align-items: end;
}

@media (max-width: 900px) {
    .cost-filters-toolbar .filter-grid[b-i4473atgih] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.compact-distribution-card[b-i4473atgih] {
    gap: 0.85rem;
}

.cost-stack[b-i4473atgih] {
    display: flex;
    height: 1.2rem;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f6;
}

.cost-segment[b-i4473atgih] {
    display: block;
    min-width: 0;
    height: 100%;
}

.segment-purchase[b-i4473atgih] {
    background: #2563eb;
}

.segment-feed[b-i4473atgih] {
    background: #65a30d;
}

.segment-health[b-i4473atgih] {
    background: #a16207;
}

.segment-labor[b-i4473atgih] {
    background: #6b7280;
}

.segment-other[b-i4473atgih] {
    background: #c7c2b8;
}

.segment-shared[b-i4473atgih] {
    background: #475569;
}

.cost-legend.compact[b-i4473atgih] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem 1rem;
}

.cost-legend-item[b-i4473atgih] {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.cost-legend-item strong[b-i4473atgih] {
    display: block;
    color: var(--ds-text);
}

.cost-legend-item small[b-i4473atgih] {
    color: var(--ds-muted);
}

.cost-dot[b-i4473atgih] {
    width: 0.7rem;
    height: 0.7rem;
    margin-top: 0.35rem;
    border-radius: 50%;
}

.cost-summary-strip[b-i4473atgih] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 0.25rem;
    border-top: 1px solid var(--ds-border);
}

.cost-summary-strip div[b-i4473atgih] {
    display: grid;
    gap: 0.2rem;
}

.cost-summary-strip span[b-i4473atgih] {
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cost-summary-strip strong[b-i4473atgih] {
    color: var(--ds-text);
}

.cost-breakdown-grid[b-i4473atgih] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.cost-breakdown-card[b-i4473atgih] {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.cost-breakdown-head[b-i4473atgih] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
    align-items: center;
}

.cost-breakdown-head strong[b-i4473atgih],
.cost-breakdown-amount[b-i4473atgih] {
    color: var(--ds-text);
}

.cost-breakdown-head span:last-child[b-i4473atgih],
.cost-breakdown-card small[b-i4473atgih] {
    color: var(--ds-muted);
}

.cost-breakdown-amount[b-i4473atgih] {
    font-size: 1.02rem;
    font-weight: 800;
}

.top-cost-card[b-i4473atgih] {
    align-self: start;
}

.top-cost-list[b-i4473atgih] {
    display: grid;
    gap: 0.75rem;
}

.top-cost-row[b-i4473atgih] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    color: inherit;
    text-decoration: none;
    background: var(--ds-surface-alt);
}

.top-cost-row:hover[b-i4473atgih] {
    border-color: var(--ds-primary);
    text-decoration: none;
}

.top-cost-row strong[b-i4473atgih] {
    color: var(--ds-text);
}

.top-cost-row small[b-i4473atgih] {
    color: var(--ds-muted);
}

.top-cost-values[b-i4473atgih] {
    display: grid;
    text-align: right;
}

.animal-comparison-grid[b-i4473atgih] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.animal-comparison-card[b-i4473atgih] {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface-alt);
}

.animal-comparison-head[b-i4473atgih] {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.animal-comparison-head strong[b-i4473atgih] {
    color: var(--ds-text);
    display: block;
}

.animal-comparison-head small[b-i4473atgih] {
    color: var(--ds-muted);
}

.comparison-margin[b-i4473atgih] {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.comparison-margin.is-good[b-i4473atgih] {
    color: #166534;
    background: #dcfce7;
}

.comparison-margin.is-risk[b-i4473atgih] {
    color: #b42318;
    background: #fee4e2;
}

.animal-comparison-bars[b-i4473atgih] {
    display: grid;
    gap: 0.75rem;
}

.comparison-source[b-i4473atgih] {
    color: var(--ds-muted);
    font-size: 0.85rem;
}

.animal-comparison-bar-row[b-i4473atgih] {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.animal-comparison-bar-row span[b-i4473atgih] {
    color: var(--ds-muted-strong, var(--ds-muted));
    font-weight: 700;
}

.comparison-track[b-i4473atgih] {
    height: 0.7rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf3;
}

.comparison-fill[b-i4473atgih] {
    height: 100%;
    border-radius: 999px;
}

.comparison-fill.is-cost[b-i4473atgih] {
    background: #2563eb;
}

.comparison-fill.is-value[b-i4473atgih] {
    background: #15803d;
}

.comparison-fill.is-margin[b-i4473atgih] {
    background: #0f766e;
}

.comparison-fill.is-risk[b-i4473atgih] {
    background: #b42318;
}

.cost-quick-add[b-i4473atgih] {
    overflow: hidden;
}

.cost-quick-preview[b-i4473atgih],
.cost-quick-actions[b-i4473atgih] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cost-quick-preview[b-i4473atgih] {
    justify-content: flex-end;
}

.preview-chip[b-i4473atgih] {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    color: var(--ds-text);
    background: var(--ds-surface-alt);
    font-size: 0.8rem;
    font-weight: 700;
}

.cost-preview-note[b-i4473atgih] {
    margin-top: 0.9rem;
    color: var(--ds-muted);
    font-size: 0.92rem;
}

.sortable[b-i4473atgih] {
    cursor: pointer;
    user-select: none;
}

.sortable:hover[b-i4473atgih] {
    color: var(--ds-primary);
}

.badge-born[b-i4473atgih],
.badge-purchased[b-i4473atgih] {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.badge-born[b-i4473atgih] {
    color: #166534;
    background: #dcfce7;
}

.badge-purchased[b-i4473atgih] {
    color: #9a6500;
    background: #fff4da;
}

.animal-table-cell[b-i4473atgih],
.table-amount[b-i4473atgih] {
    display: grid;
    gap: 0.15rem;
}

.animal-table-cell strong[b-i4473atgih],
.table-amount strong[b-i4473atgih] {
    color: var(--ds-text);
}

.animal-table-cell small[b-i4473atgih],
.table-amount small[b-i4473atgih] {
    color: var(--ds-muted);
}

.table.data-table tbody td[b-i4473atgih] {
    vertical-align: middle;
}

.form-label[b-i4473atgih] {
    color: var(--ds-muted-strong);
    font-weight: 700;
}

input.form-control[b-i4473atgih],
select.form-control[b-i4473atgih] {
    background: var(--ds-surface);
    border-color: var(--ds-border);
}

.alert[b-i4473atgih] {
    border-radius: var(--ds-radius-md);
}

@media (max-width: 1080px) {
    .cost-overview-grid[b-i4473atgih],
    .cost-workspace-grid[b-i4473atgih],
    .cost-breakdown-grid[b-i4473atgih],
    .animal-comparison-grid[b-i4473atgih],
    .cost-legend.compact[b-i4473atgih],
    .cost-summary-strip[b-i4473atgih] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .page-heading h3[b-i4473atgih] {
        font-size: 1.55rem;
    }

    .animal-comparison-bar-row[b-i4473atgih] {
        grid-template-columns: 1fr;
    }
}

/* Compact filters */
.costs-filters-compact[b-i4473atgih] {
    padding: 0.85rem 1rem;
}

.costs-filter-row[b-i4473atgih] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.costs-period-chips[b-i4473atgih],
.costs-species-chips[b-i4473atgih] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.costs-chip[b-i4473atgih] {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    cursor: pointer;
}

.costs-chip.is-active[b-i4473atgih] {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.costs-search-input[b-i4473atgih] {
    min-width: 160px;
    max-width: 220px;
    flex: 1 1 160px;
}

.costs-custom-period[b-i4473atgih] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.costs-overview-actions[b-i4473atgih] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.costs-overview-species-grid[b-i4473atgih] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    padding: 0 1rem 1rem;
}

.costs-overview-species-card[b-i4473atgih] {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #f8fafc;
}

.costs-poultry-kpis[b-i4473atgih] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.costs-poultry-kpis div[b-i4473atgih] {
    display: grid;
    gap: 0.2rem;
}

.costs-poultry-kpis span[b-i4473atgih] {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.costs-subtabs[b-i4473atgih] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.35rem;
}

.costs-subtab[b-i4473atgih] {
    border: 0;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.4rem;
}

.costs-subtab.is-active[b-i4473atgih] {
    color: #0f172a;
    background: #eff6ff;
}

.costs-analysis-charts[b-i4473atgih] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

/* Readable badges — light theme contrast */
.costs-badge[b-i4473atgih] {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.costs-badge-status-active[b-i4473atgih] {
    color: #166534;
    background: #dcfce7;
}

.costs-badge-status-sold[b-i4473atgih] {
    color: #1e40af;
    background: #dbeafe;
}

.costs-badge-status-dead[b-i4473atgih] {
    color: #991b1b;
    background: #fee2e2;
}

.costs-badge-status-archived[b-i4473atgih],
.costs-badge-status-forsale[b-i4473atgih] {
    color: #475569;
    background: #e2e8f0;
}

.costs-badge-calc-complete[b-i4473atgih] {
    color: #166534;
    background: #dcfce7;
}

.costs-badge-calc-partial[b-i4473atgih] {
    color: #9a3412;
    background: #ffedd5;
}

.costs-badge-tag-feed[b-i4473atgih] {
    color: #9a3412;
    font-weight: 700;
}

.costs-badge-value-revenue[b-i4473atgih] {
    color: #166534;
    font-weight: 700;
}

.costs-badge-value-health[b-i4473atgih] {
    color: #b45309;
    font-weight: 700;
}

.costs-badge-result-positive[b-i4473atgih] {
    color: #166534;
    font-weight: 800;
}

.costs-badge-result-negative[b-i4473atgih] {
    color: #b91c1c;
    font-weight: 800;
}

.costs-badge-result-neutral[b-i4473atgih] {
    color: #475569;
    font-weight: 700;
}

.costs-export-hint[b-i4473atgih] {
    max-width: 16rem;
    line-height: 1.35;
}

.finance-animal-table-scroll[b-i4473atgih],
.costs-lots-table[b-i4473atgih] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.costs-lots-table th[b-i4473atgih],
.costs-lots-table td[b-i4473atgih] {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .costs-filter-row[b-i4473atgih] {
        flex-direction: column;
        align-items: stretch;
    }

    .costs-search-input[b-i4473atgih] {
        max-width: none;
    }
}

.poultry-badge[b-i4473atgih] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.poultry-badge.origin-internal[b-i4473atgih] { background: #e7f5ff; color: #1864ab; }
.poultry-badge.origin-purchased[b-i4473atgih] { background: #f8f0fc; color: #862e9c; }
.poultry-badge.origin-gift[b-i4473atgih] { background: #fff9db; color: #e67700; }
.poultry-badge.origin-transfer[b-i4473atgih] { background: #e6fcf5; color: #087f5b; }
.poultry-badge.origin-correction[b-i4473atgih] { background: #f3f0ff; color: #5f3dc4; }
/* /Pages/Cost/FarmCosts.razor.rz.scp.css */
.farm-costs-page[b-nu326e2lle] {
    display: grid;
    gap: 1rem;
}

.farm-costs-layout[b-nu326e2lle] {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 1rem;
}

.farm-cost-preview[b-nu326e2lle],
.farm-cost-actions[b-nu326e2lle],
.row-actions[b-nu326e2lle] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.farm-cost-preview[b-nu326e2lle] {
    margin-top: 1rem;
}

.preview-chip[b-nu326e2lle] {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    color: var(--ds-text);
    background: var(--ds-surface-alt);
    font-size: 0.8rem;
    font-weight: 700;
}

.preview-chip.is-editing[b-nu326e2lle] {
    color: #155eef;
    background: #dbeafe;
}

.farm-cost-warning[b-nu326e2lle] {
    display: grid;
    gap: 0.45rem;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid #f7b27a;
    border-radius: var(--ds-radius-md);
    background: #fff7ed;
    color: #9a3412;
}

.farm-cost-warning p[b-nu326e2lle],
.farm-cost-warning ul[b-nu326e2lle] {
    margin: 0;
}

.farm-cost-warning ul[b-nu326e2lle] {
    padding-left: 1.1rem;
}

.farm-cost-list[b-nu326e2lle] {
    display: grid;
    gap: 0.75rem;
}

.farm-cost-list-item[b-nu326e2lle],
.farm-cost-list-label[b-nu326e2lle] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.farm-cost-list-item[b-nu326e2lle] {
    justify-content: space-between;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.farm-cost-list-item strong[b-nu326e2lle] {
    color: var(--ds-text);
}

.farm-cost-list-item small[b-nu326e2lle] {
    color: var(--ds-muted);
}

.table-status[b-nu326e2lle] {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.table-status.is-active[b-nu326e2lle] {
    color: #166534;
    background: #dcfce7;
}

.table-status.is-planned[b-nu326e2lle] {
    color: #155eef;
    background: #dbeafe;
}

.table-status.is-closed[b-nu326e2lle] {
    color: #9a3412;
    background: #ffedd5;
}

.form-label[b-nu326e2lle] {
    color: var(--ds-muted-strong);
    font-weight: 700;
}

input.form-control[b-nu326e2lle],
select.form-control[b-nu326e2lle] {
    background: var(--ds-surface);
    border-color: var(--ds-border);
}

.table-responsive[b-nu326e2lle] {
    overflow-x: auto;
}

.cost-stack[b-nu326e2lle] {
    display: flex;
    height: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: #eef2f6;
}

.cost-segment[b-nu326e2lle] {
    display: block;
    min-width: 0;
    height: 100%;
}

.cost-dot[b-nu326e2lle] {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    flex: 0 0 auto;
}

.segment-feed[b-nu326e2lle],
.cost-dot.segment-feed[b-nu326e2lle] {
    background: #65a30d;
}

.segment-health[b-nu326e2lle],
.cost-dot.segment-health[b-nu326e2lle] {
    background: #a16207;
}

.segment-labor[b-nu326e2lle],
.cost-dot.segment-labor[b-nu326e2lle] {
    background: #6b7280;
}

.segment-rent[b-nu326e2lle],
.cost-dot.segment-rent[b-nu326e2lle] {
    background: #2563eb;
}

.segment-equipment[b-nu326e2lle],
.cost-dot.segment-equipment[b-nu326e2lle] {
    background: #0f766e;
}

.segment-electricity[b-nu326e2lle],
.cost-dot.segment-electricity[b-nu326e2lle] {
    background: #7c3aed;
}

.segment-water[b-nu326e2lle],
.cost-dot.segment-water[b-nu326e2lle] {
    background: #0284c7;
}

.segment-maintenance[b-nu326e2lle],
.cost-dot.segment-maintenance[b-nu326e2lle] {
    background: #ea580c;
}

.segment-other[b-nu326e2lle],
.cost-dot.segment-other[b-nu326e2lle] {
    background: #c7c2b8;
}

@media (max-width: 1080px) {
    .farm-costs-layout[b-nu326e2lle] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .row-actions[b-nu326e2lle] {
        flex-direction: column;
        align-items: stretch;
    }
}

.farm-cost-evolution-chart[b-nu326e2lle] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: end;
    min-height: 12rem;
    padding-top: 0.5rem;
}

.farm-cost-evolution-column[b-nu326e2lle] {
    position: relative;
    display: grid;
    gap: 0.45rem;
    text-align: center;
}

.farm-cost-evolution-tooltip[b-nu326e2lle] {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.75rem);
    z-index: 5;
    display: grid;
    gap: 0.35rem;
    min-width: 16rem;
    max-width: 18rem;
    padding: 0.8rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(0.35rem);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    text-align: left;
    pointer-events: none;
}

.farm-cost-evolution-column:hover .farm-cost-evolution-tooltip[b-nu326e2lle],
.farm-cost-evolution-column:focus-within .farm-cost-evolution-tooltip[b-nu326e2lle] {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.farm-cost-evolution-tooltip > strong[b-nu326e2lle] {
    color: var(--ds-text);
    font-size: 0.9rem;
}

.farm-cost-evolution-tooltip > span[b-nu326e2lle] {
    display: block;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--ds-border);
    color: var(--ds-muted);
    font-size: 0.82rem;
}

.farm-cost-evolution-tooltip-row[b-nu326e2lle] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.farm-cost-evolution-tooltip-copy[b-nu326e2lle] {
    display: grid;
    gap: 0.1rem;
}

.farm-cost-evolution-tooltip-copy span[b-nu326e2lle] {
    color: var(--ds-text);
    font-size: 0.84rem;
    font-weight: 700;
}

.farm-cost-evolution-tooltip-copy small[b-nu326e2lle],
.farm-cost-evolution-tooltip-empty[b-nu326e2lle] {
    color: var(--ds-muted);
    font-size: 0.76rem;
}

.farm-cost-evolution-tooltip-row strong[b-nu326e2lle] {
    color: var(--ds-text);
    white-space: nowrap;
}

.farm-cost-evolution-track[b-nu326e2lle] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 8.5rem;
    padding: 0 0.35rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(238, 242, 246, 0.35), rgba(238, 242, 246, 0.9));
}

.farm-cost-evolution-fill[b-nu326e2lle] {
    width: 100%;
    max-width: 48px;
    min-height: 6px;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #2563eb, #93c5fd);
}

.farm-cost-evolution-fill.is-empty[b-nu326e2lle] {
    background: linear-gradient(180deg, #cbd5e1, #e2e8f0);
}

.farm-cost-evolution-column strong[b-nu326e2lle] {
    color: var(--ds-text);
    font-size: 0.82rem;
}

.farm-cost-evolution-column small[b-nu326e2lle] {
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.farm-cost-evolution-hint[b-nu326e2lle] {
    margin-top: 0.85rem;
    color: var(--ds-muted);
    font-size: 0.84rem;
}

@media (max-width: 720px) {
    .farm-cost-evolution-chart[b-nu326e2lle] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 1.5rem;
    }

    .farm-cost-evolution-tooltip[b-nu326e2lle] {
        min-width: 13rem;
    }
}
/* /Pages/CreateAnimal.razor.rz.scp.css */
.editor-page[b-o6du5t9xh0] {
    display: grid;
    gap: 1rem;
}

.editor-shell[b-o6du5t9xh0] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    align-items: start;
}

.editor-main[b-o6du5t9xh0],
.editor-side[b-o6du5t9xh0] {
    display: grid;
    gap: 1rem;
}

.form-section[b-o6du5t9xh0] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.form-section.compact[b-o6du5t9xh0] {
    gap: 0.75rem;
}

.section-head[b-o6du5t9xh0] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.section-head h4[b-o6du5t9xh0] {
    margin: 0.1rem 0 0;
    font-weight: 900;
}

.hint-chip[b-o6du5t9xh0] {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: #f4f7fb;
    border: 1px solid var(--ds-border);
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.form-grid[b-o6du5t9xh0] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field-block[b-o6du5t9xh0] {
    display: grid;
    gap: 0.45rem;
}

.field-span-2[b-o6du5t9xh0] {
    grid-column: span 2;
}

.field-block label[b-o6du5t9xh0],
.toggle-row label[b-o6du5t9xh0] {
    color: var(--ds-muted-strong);
    font-weight: 700;
}

.inline-field[b-o6du5t9xh0] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.inline-field .form-control[b-o6du5t9xh0] {
    flex: 1 1 260px;
}

.toggle-row[b-o6du5t9xh0],
.toggle-block[b-o6du5t9xh0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.animal-photo[b-o6du5t9xh0] {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--ds-border);
    object-fit: cover;
    max-height: 280px;
}

.summary-list[b-o6du5t9xh0] {
    display: grid;
    gap: 0.75rem;
}

.summary-list div[b-o6du5t9xh0] {
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--ds-border);
    background: var(--ds-surface-alt);
}

.summary-list span[b-o6du5t9xh0] {
    color: var(--ds-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.summary-list strong[b-o6du5t9xh0] {
    font-weight: 900;
}

@media (max-width: 980px) {
    .editor-shell[b-o6du5t9xh0] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .form-grid[b-o6du5t9xh0] {
        grid-template-columns: 1fr;
    }

    .field-span-2[b-o6du5t9xh0] {
        grid-column: span 1;
    }

    .inline-field[b-o6du5t9xh0] {
        flex-direction: column;
    }
}
/* /Pages/CreateBirth.razor.rz.scp.css */
.editor-page[b-ev1t08f64q] {
    display: grid;
    gap: 1rem;
}

.editor-shell[b-ev1t08f64q] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    align-items: start;
}

.editor-main[b-ev1t08f64q],
.editor-side[b-ev1t08f64q] {
    display: grid;
    gap: 1rem;
}

.form-section[b-ev1t08f64q] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.form-section.compact[b-ev1t08f64q] {
    gap: 0.75rem;
}

.section-head[b-ev1t08f64q] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.section-head h4[b-ev1t08f64q] {
    margin: 0.1rem 0 0;
    font-weight: 900;
}

.hint-chip[b-ev1t08f64q] {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: #f4f7fb;
    border: 1px solid var(--ds-border);
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.form-grid[b-ev1t08f64q] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field-block[b-ev1t08f64q] {
    display: grid;
    gap: 0.45rem;
}

.field-span-2[b-ev1t08f64q] {
    grid-column: span 2;
}

.field-block label[b-ev1t08f64q] {
    color: var(--ds-muted-strong);
    font-weight: 700;
}

.summary-list[b-ev1t08f64q] {
    display: grid;
    gap: 0.75rem;
}

.summary-list div[b-ev1t08f64q] {
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--ds-border);
    background: var(--ds-surface-alt);
}

.summary-list span[b-ev1t08f64q] {
    color: var(--ds-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.summary-list strong[b-ev1t08f64q] {
    font-weight: 900;
}

.empty-babies[b-ev1t08f64q] {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
    padding: 1rem;
    border: 1px dashed var(--ds-border);
    border-radius: 14px;
    background: var(--ds-surface-alt);
}

.empty-babies p[b-ev1t08f64q] {
    margin: 0;
    color: var(--ds-muted);
}

.baby-card[b-ev1t08f64q] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: 14px;
    background: var(--ds-surface-alt);
}

.birth-form-footer[b-ev1t08f64q] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 0.25rem;
}

.birth-form-footer .btn-primary[b-ev1t08f64q] {
    min-width: 11rem;
}

.readonly-value[b-ev1t08f64q] {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    padding: 0.625rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--ds-border);
    background: var(--ds-surface);
    font-weight: 700;
}

@media (max-width: 980px) {
    .editor-shell[b-ev1t08f64q] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .form-grid[b-ev1t08f64q] {
        grid-template-columns: 1fr;
    }

    .field-span-2[b-ev1t08f64q] {
        grid-column: span 1;
    }
}
/* /Pages/EditAnimal.razor.rz.scp.css */
.editor-page[b-ody47utagv] {
    display: grid;
    gap: 1rem;
}

.editor-shell[b-ody47utagv] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    align-items: start;
}

.editor-main[b-ody47utagv],
.editor-side[b-ody47utagv] {
    display: grid;
    gap: 1rem;
}

.form-section[b-ody47utagv] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.form-section.compact[b-ody47utagv] {
    gap: 0.75rem;
}

.section-head[b-ody47utagv] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.section-head h4[b-ody47utagv] {
    margin: 0.1rem 0 0;
    font-weight: 900;
}

.hint-chip[b-ody47utagv] {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: #f4f7fb;
    border: 1px solid var(--ds-border);
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.form-grid[b-ody47utagv] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field-block[b-ody47utagv] {
    display: grid;
    gap: 0.45rem;
}

.field-span-2[b-ody47utagv] {
    grid-column: span 2;
}

.field-block label[b-ody47utagv],
.toggle-row label[b-ody47utagv] {
    color: var(--ds-muted-strong);
    font-weight: 700;
}

.toggle-row[b-ody47utagv],
.toggle-block[b-ody47utagv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.animal-photo[b-ody47utagv] {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--ds-border);
    object-fit: cover;
    max-height: 280px;
}

.summary-list[b-ody47utagv] {
    display: grid;
    gap: 0.75rem;
}

.summary-list div[b-ody47utagv] {
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--ds-border);
    background: var(--ds-surface-alt);
}

.summary-list span[b-ody47utagv] {
    color: var(--ds-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.summary-list strong[b-ody47utagv] {
    font-weight: 900;
}

@media (max-width: 980px) {
    .editor-shell[b-ody47utagv] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .form-grid[b-ody47utagv] {
        grid-template-columns: 1fr;
    }

    .field-span-2[b-ody47utagv] {
        grid-column: span 1;
    }
}
/* /Pages/Farm/Activity.razor.rz.scp.css */
.admin-timeline[b-ne7w4lftqs] {
    display: grid;
    gap: 1rem;
}

.admin-timeline-item[b-ne7w4lftqs] {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 0.85rem;
}

.admin-timeline-dot[b-ne7w4lftqs] {
    width: 12px;
    height: 12px;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: #9aa7b8;
}

.admin-timeline-dot.is-success[b-ne7w4lftqs] { background: #1f9d55; }
.admin-timeline-dot.is-warning[b-ne7w4lftqs] { background: #d97706; }
.admin-timeline-dot.is-critical[b-ne7w4lftqs] { background: #dc2626; }
.admin-timeline-dot.is-info[b-ne7w4lftqs] { background: #2563eb; }

.admin-timeline-body[b-ne7w4lftqs] {
    display: grid;
    gap: 0.25rem;
    padding: 0.95rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.admin-timeline-meta[b-ne7w4lftqs] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    color: var(--ds-muted);
}

.admin-timeline-meta strong[b-ne7w4lftqs] {
    color: var(--ds-text);
}

.admin-timeline-body p[b-ne7w4lftqs] {
    margin: 0;
}
/* /Pages/Farm/AdminOverview.razor.rz.scp.css */
.admin-kpi-grid[b-hnfds0wyiu] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.admin-kpi-tile[b-hnfds0wyiu] {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.admin-kpi-tile strong[b-hnfds0wyiu] {
    font-size: 1.85rem;
    line-height: 1;
}

.admin-kpi-tile span[b-hnfds0wyiu] {
    color: var(--ds-muted);
}

.admin-link-list[b-hnfds0wyiu] {
    display: grid;
    gap: 0.85rem;
}

.admin-link-card[b-hnfds0wyiu] {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
    color: inherit;
    text-decoration: none;
}

.admin-link-card:hover[b-hnfds0wyiu] {
    border-color: var(--ds-brand);
}

@media (max-width: 1100px) {
    .admin-kpi-grid[b-hnfds0wyiu] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .admin-kpi-grid[b-hnfds0wyiu] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Farm/Catalog.razor.rz.scp.css */
.species-category-choice[b-y3xsph3119] {
    display: grid;
    gap: 0.5rem;
}

.species-category-option[b-y3xsph3119] {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.species-category-option.is-selected[b-y3xsph3119] {
    border-color: #2563eb;
    background: #eff6ff;
}

.species-category-option input[b-y3xsph3119] {
    margin-top: 0.15rem;
}

.species-category-option__body[b-y3xsph3119] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.species-category-option__title[b-y3xsph3119] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.species-category-option__hint[b-y3xsph3119] {
    font-size: 0.78rem;
    color: #64748b;
}
/* /Pages/Farm/ChooseFarm.razor.rz.scp.css */
.farm-page[b-ta2r1web9p] {
    display: grid;
    gap: 1rem;
}

.page-heading[b-ta2r1web9p] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.page-heading h3[b-ta2r1web9p] {
    margin-bottom: 0.35rem;
}

.section-card[b-ta2r1web9p] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.demo-config-card[b-ta2r1web9p] {
    display: grid;
    gap: 1rem;
}

.section-card-header[b-ta2r1web9p] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.demo-summary-badges[b-ta2r1web9p] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.summary-badge[b-ta2r1web9p] {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    color: #0f172a;
    background: #dbeafe;
    font-size: 0.85rem;
    font-weight: 700;
}

.demo-preview[b-ta2r1web9p] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.preview-tile[b-ta2r1web9p] {
    display: grid;
    gap: 0.2rem;
    padding: 0.95rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-muted);
}

.preview-tile span[b-ta2r1web9p] {
    color: var(--ds-muted-strong);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.preview-tile strong[b-ta2r1web9p] {
    color: var(--ds-text);
    font-size: 1.15rem;
}

.preview-tile small[b-ta2r1web9p] {
    color: var(--ds-muted);
}

.demo-preset-row[b-ta2r1web9p] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.validation-summary[b-ta2r1web9p] {
    margin-bottom: 0.75rem;
}

.demo-safety[b-ta2r1web9p] {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: var(--ds-radius-md);
    background: #eff6ff;
}

.demo-safety-title[b-ta2r1web9p] {
    margin-bottom: 0.5rem;
    color: #1d4ed8;
    font-size: 0.9rem;
    font-weight: 800;
}

.demo-safety ul[b-ta2r1web9p] {
    margin: 0;
    padding-inline-start: 1.1rem;
    color: #1f2937;
}

.empty-state-block[b-ta2r1web9p] {
    display: grid;
    gap: 0.25rem;
}

.empty-state-title[b-ta2r1web9p] {
    color: var(--ds-text);
    font-size: 1.05rem;
    font-weight: 800;
}

.farm-grid[b-ta2r1web9p] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.85rem;
}

.farm-card[b-ta2r1web9p] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.farm-card > div:first-child[b-ta2r1web9p] {
    display: grid;
    gap: 0.25rem;
}

.farm-card span[b-ta2r1web9p] {
    color: var(--ds-muted-strong);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.farm-card h5[b-ta2r1web9p] {
    margin: 0;
    color: var(--ds-text);
}

.farm-actions[b-ta2r1web9p] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.role-pill[b-ta2r1web9p] {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    color: #166534;
    background: #dcfce7;
    font-size: 0.75rem;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .demo-preview[b-ta2r1web9p] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-card-header[b-ta2r1web9p],
    .page-heading[b-ta2r1web9p],
    .farm-card[b-ta2r1web9p] {
        flex-direction: column;
    }

    .farm-actions[b-ta2r1web9p] {
        align-items: flex-start;
    }
}

@media (max-width: 640.98px) {
    .demo-preview[b-ta2r1web9p],
    .farm-grid[b-ta2r1web9p] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Farm/CreateFarm.razor.rz.scp.css */
.farm-page[b-nodoxvw4l3] {
    display: grid;
    gap: 1rem;
}

.farm-page .page-heading[b-nodoxvw4l3] {
    margin-bottom: 0.25rem;
}

.farm-page .section-card[b-nodoxvw4l3],
.farm-page .farm-card[b-nodoxvw4l3] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.farm-page .section-card[b-nodoxvw4l3] {
    padding: 1rem;
}

.farm-page .farm-card[b-nodoxvw4l3] {
    padding: 1rem;
}

.farm-page .btn[b-nodoxvw4l3] {
    min-width: 10rem;
}

.farm-page .alert[b-nodoxvw4l3] {
    border-radius: var(--ds-radius-md);
}
/* /Pages/Farm/DecisionRules.razor.rz.scp.css */
.decision-rules-layout[b-9olkp18oiv] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.decision-rules-filter-grid[b-9olkp18oiv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem 1rem;
}

.decision-rules-filters .farm-card-head[b-9olkp18oiv] {
    margin-bottom: 0.25rem;
}

.decision-rules-table[b-9olkp18oiv] {
    width: 100%;
}

.decision-rule-value-cell[b-9olkp18oiv] {
    min-width: 11rem;
}

.decision-rule-saved-block[b-9olkp18oiv] {
    display: grid;
    gap: 0.15rem;
}

.decision-rule-saved-label[b-9olkp18oiv] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ds-muted);
}

.decision-rule-saved-value[b-9olkp18oiv] {
    font-size: 1rem;
    color: var(--ds-text);
}

.decision-rule-default-hint[b-9olkp18oiv] {
    font-size: 0.88rem;
    color: var(--ds-muted);
    font-style: italic;
}
/* /Pages/Farm/DemoMode.razor.rz.scp.css */
.demo-mode-grid[b-uaubb1cz1q] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.demo-mode-card[b-uaubb1cz1q] {
    display: grid;
    gap: 0.85rem;
    padding: 1.1rem;
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: var(--ds-radius-lg, 1rem);
    background: var(--ds-surface, #fff);
}

.demo-mode-card.is-selected[b-uaubb1cz1q] {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}

.demo-mode-card-head h2[b-uaubb1cz1q] {
    margin: 0.35rem 0 0;
    font-size: 1.15rem;
}

.demo-mode-card-head p[b-uaubb1cz1q] {
    margin: 0;
    color: var(--ds-muted, #64748b);
    font-size: 0.9rem;
}

.demo-tier-badge[b-uaubb1cz1q] {
    display: inline-flex;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.demo-mode-highlights[b-uaubb1cz1q] {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--ds-muted, #64748b);
    font-size: 0.85rem;
}

.demo-mode-metrics[b-uaubb1cz1q] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
}

.demo-mode-metrics div[b-uaubb1cz1q] {
    display: grid;
    gap: 0.1rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    background: var(--ds-surface-alt, #f8fafc);
}

.demo-mode-metrics dt[b-uaubb1cz1q] {
    margin: 0;
    font-size: 0.72rem;
    color: var(--ds-muted, #64748b);
    text-transform: uppercase;
}

.demo-mode-metrics dd[b-uaubb1cz1q] {
    margin: 0;
    font-weight: 700;
}

.demo-mode-actions[b-uaubb1cz1q] {
    padding: 1.1rem;
}

.demo-mode-reset-row[b-uaubb1cz1q] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .demo-mode-grid[b-uaubb1cz1q] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Farm/FarmMembers.razor.rz.scp.css */
.invite-box[b-n5y62an7jc] {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #d8e1dc;
    border-radius: 8px;
    background: #f8faf9;
}

.invite-box div[b-n5y62an7jc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.invite-box span[b-n5y62an7jc] {
    color: #647067;
    font-size: 0.86rem;
}

.invite-box code[b-n5y62an7jc] {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 0.75rem;
    border-radius: 6px;
    color: #153b2a;
    background: #e8f3ed;
}

.role-pill[b-n5y62an7jc] {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    color: #153b2a;
    background: #e8f3ed;
    font-weight: 700;
}

.members-split[b-n5y62an7jc] {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 1rem;
    align-items: start;
}

.members-split__list[b-n5y62an7jc],
.members-split__matrix[b-n5y62an7jc] {
    min-width: 0;
}

.farm-card--full[b-n5y62an7jc] {
    grid-column: auto;
}

.member-actions[b-n5y62an7jc] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 11.5rem;
}

.member-actions .fl-btn[b-n5y62an7jc] {
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 1.2;
    box-shadow: none;
}

.member-actions__protected[b-n5y62an7jc] {
    color: #647067;
    font-size: 0.78rem;
}

.members-pagination-actions[b-n5y62an7jc] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.role-matrix-card[b-n5y62an7jc] {
    position: sticky;
    top: 1rem;
    padding: 1rem 1.1rem 1.15rem;
}

.role-matrix-card__header h3[b-n5y62an7jc] {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #153b2a;
}

.role-matrix-card__header p[b-n5y62an7jc] {
    margin: 0 0 0.85rem;
    color: #647067;
    font-size: 0.82rem;
    line-height: 1.4;
}

.role-matrix-scroll[b-n5y62an7jc] {
    overflow-x: auto;
    margin: 0 -0.25rem 0.85rem;
    padding: 0 0.25rem;
}

.role-matrix-table[b-n5y62an7jc] {
    margin-bottom: 0;
    min-width: 520px;
    font-size: 0.8rem;
}

.role-matrix-table thead th[b-n5y62an7jc] {
    white-space: nowrap;
    border-bottom-width: 1px;
    vertical-align: bottom;
}

.role-matrix-capability[b-n5y62an7jc] {
    font-weight: 600;
    color: #1f3d32;
    white-space: nowrap;
    max-width: 11rem;
}

.role-matrix-role .admin-badge[b-n5y62an7jc] {
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
}

.role-matrix-cell[b-n5y62an7jc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    font-weight: 700;
}

.role-matrix-cell.is-yes[b-n5y62an7jc] {
    color: #047857;
}

.role-matrix-cell.is-no[b-n5y62an7jc] {
    color: #9ca3af;
}

.role-matrix-legend[b-n5y62an7jc] {
    margin: 0;
    padding-left: 1.1rem;
    color: #4b5c55;
    font-size: 0.78rem;
    line-height: 1.45;
}

.role-matrix-legend li + li[b-n5y62an7jc] {
    margin-top: 0.35rem;
}

@media (max-width: 1100px) {
    .members-split[b-n5y62an7jc] {
        grid-template-columns: 1fr;
    }

    .role-matrix-card[b-n5y62an7jc] {
        position: static;
    }
}
/* /Pages/Farm/JoinFarm.razor.rz.scp.css */
.farm-page[b-3qxygexydo] {
    display: grid;
    gap: 1rem;
}

.farm-page-header h1[b-3qxygexydo] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.farm-page-header p[b-3qxygexydo] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.farm-card[b-3qxygexydo] {
    max-width: 560px;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.alert[b-3qxygexydo] {
    border-radius: var(--ds-radius-md);
}
/* /Pages/Farm/Poultry.razor.rz.scp.css */
/* Dashboard styles moved to wwwroot/css/poultry-dashboard.css (global — child components B2). */
/* /Pages/Farm/SecurityLog.razor.rz.scp.css */
.table tbody td[b-hl69mugfu9] {
    vertical-align: top;
}
/* /Pages/Farm/Settings.razor.rz.scp.css */
.farm-page[b-f91ozqswu5] {
    display: grid;
    gap: 1rem;
}

.farm-page-header[b-f91ozqswu5] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--ds-border);
}

.farm-page-header h1[b-f91ozqswu5] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.farm-page-header p[b-f91ozqswu5] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.farm-grid[b-f91ozqswu5] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.farm-card[b-f91ozqswu5] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.farm-card-head[b-f91ozqswu5] {
    display: grid;
    gap: 0.2rem;
}

.farm-card-head h2[b-f91ozqswu5] {
    margin: 0;
    color: var(--ds-text);
    font-size: 1.15rem;
    font-weight: 850;
}

.farm-card-head span[b-f91ozqswu5] {
    color: var(--ds-muted);
    font-size: 0.85rem;
}

.invite-box[b-f91ozqswu5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.invite-box strong[b-f91ozqswu5] {
    display: block;
    color: var(--ds-text);
    letter-spacing: 0.04em;
}

.invite-box span[b-f91ozqswu5] {
    color: var(--ds-muted);
    font-size: 0.82rem;
}

.farm-module-toggle--locked[b-f91ozqswu5] {
    opacity: 0.55;
    pointer-events: none;
}

.farm-module-toggle--locked .form-check-input[b-f91ozqswu5] {
    cursor: not-allowed;
}

.farm-module-locked-msg[b-f91ozqswu5] {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ds-muted);
}

.farm-module-upgrade-hint[b-f91ozqswu5] {
    margin: 0.25rem 0 0;
    font-size: 0.88rem;
}

.farm-module-upgrade-hint a[b-f91ozqswu5] {
    color: var(--ds-primary, #1b6b3a);
    font-weight: 650;
    text-decoration: underline;
}

.farm-actions[b-f91ozqswu5] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.table[b-f91ozqswu5] {
    margin-bottom: 0;
}

.table thead th[b-f91ozqswu5] {
    background: #edf4ff;
    color: var(--ds-text);
    font-weight: 800;
}

.empty-state[b-f91ozqswu5] {
    margin: 0;
}

.grid-two[b-f91ozqswu5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.farm-card--full[b-f91ozqswu5] {
    grid-column: 1 / -1;
}

.settings-catalog-host[b-f91ozqswu5] {
    width: 100%;
    min-width: 0;
}

@media (max-width: 1100px) {
    .farm-grid[b-f91ozqswu5] {
        grid-template-columns: 1fr;
    }

    .grid-two[b-f91ozqswu5] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .farm-page-header[b-f91ozqswu5] {
        flex-direction: column;
    }

    .invite-box[b-f91ozqswu5] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* /Pages/FarmDashboard.razor.rz.scp.css */
.farm-dashboard-hero-card[b-tm2lasbame] {
    margin-bottom: 1rem;
}

.farm-dashboard-hero-card .dashboard-section-header[b-tm2lasbame] {
    padding: 1rem 1.1rem 0.25rem;
}

.farm-dashboard-hero[b-tm2lasbame] {
    padding: 0 1.1rem;
}

.farm-hero-priorities[b-tm2lasbame] {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.farm-hero-alerts[b-tm2lasbame] {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.farm-hero-alert[b-tm2lasbame] {
    padding: 0.65rem 0.8rem;
    border-radius: var(--fl-radius-md, 10px);
    border: 1px solid var(--fl-border, #e5e7eb);
    background: var(--fl-bg, #f8fafc);
}

.farm-hero-alert.critical[b-tm2lasbame],
.farm-hero-alert.danger[b-tm2lasbame] {
    border-color: color-mix(in srgb, var(--fl-danger, #dc2626) 30%, white);
    background: color-mix(in srgb, var(--fl-danger, #dc2626) 6%, white);
}

.farm-hero-footer[b-tm2lasbame] {
    margin-top: 0.85rem;
    padding-bottom: 0.25rem;
}

.farm-dashboard-anchor[b-tm2lasbame] {
    scroll-margin-top: 5rem;
}

.fl-quick-actions[b-tm2lasbame] {
    margin: 0.85rem 1.1rem 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--fl-border, #e5e7eb);
}

.fl-quick-actions-head[b-tm2lasbame] {
    margin-bottom: 0.55rem;
    color: var(--fl-muted, #6b7280);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fl-quick-actions-grid[b-tm2lasbame] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.fl-quick-action[b-tm2lasbame] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--fl-border, #e5e7eb);
    border-radius: 999px;
    background: var(--fl-surface, #fff);
    color: var(--fl-text, #1f2937);
    font-size: 0.82rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}

.fl-quick-action:hover[b-tm2lasbame] {
    border-color: var(--fl-primary, #2563eb);
    background: color-mix(in srgb, var(--fl-primary, #2563eb) 6%, white);
    text-decoration: none;
}

.farm-decision-panel[b-tm2lasbame] {
    display: grid;
    gap: 0.85rem;
}

.farm-decision-panel.decision-success[b-tm2lasbame] {
    border-left: 4px solid #198754;
}

.farm-decision-panel.decision-info[b-tm2lasbame] {
    border-left: 4px solid #0d6efd;
}

.farm-decision-panel.decision-warning[b-tm2lasbame] {
    border-left: 4px solid #fd7e14;
}

.farm-decision-panel.decision-danger[b-tm2lasbame] {
    border-left: 4px solid #dc3545;
}

.farm-decision-header[b-tm2lasbame] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.farm-decision-header h4[b-tm2lasbame] {
    margin: 0.15rem 0 0.35rem;
    font-size: 1.6rem;
    font-weight: 900;
}

.farm-decision-header p[b-tm2lasbame] {
    margin: 0;
    color: var(--ds-muted);
    max-width: 72rem;
}

.farm-score-pill[b-tm2lasbame] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.6rem 0.85rem;
    border-radius: 16px;
    background: var(--ds-surface-alt);
    border: 1px solid var(--ds-border);
}

.farm-score-pill strong[b-tm2lasbame] {
    font-size: 1.55rem;
    font-weight: 900;
}

.farm-decision-mini-kpis[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 0.6rem;
    flex: 1 1 420px;
}

.farm-mini-kpi[b-tm2lasbame] {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--ds-border);
    border-radius: 12px;
    background: var(--ds-surface);
}

.farm-mini-kpi span[b-tm2lasbame] {
    color: var(--ds-muted);
    font-size: 0.75rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.farm-mini-kpi strong[b-tm2lasbame] {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 900;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.decision-score-strip[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.6rem;
}

.decision-score-chip[b-tm2lasbame] {
    display: grid;
    gap: 0.15rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--ds-border);
    background: var(--ds-surface);
}

.decision-score-chip span[b-tm2lasbame] {
    color: var(--ds-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.decision-score-chip strong[b-tm2lasbame] {
    font-size: 1rem;
    font-weight: 900;
}

.decision-score-chip.score-success[b-tm2lasbame] {
    background: #f6fff9;
    border-color: #badbcc;
    color: #146c43;
}

.decision-score-chip.score-warning[b-tm2lasbame] {
    background: #fffaf2;
    border-color: #f5d0a4;
    color: #b26a00;
}

.decision-score-chip.score-danger[b-tm2lasbame] {
    background: #fff5f6;
    border-color: #f1b0b7;
    color: #b02a37;
}

.farm-score-pill.score-success[b-tm2lasbame] {
    border-color: #badbcc;
    background: #f4fff7;
    color: #146c43;
}

.farm-score-pill.score-warning[b-tm2lasbame] {
    border-color: #f5d0a4;
    background: #fffaf2;
    color: #b26a00;
}

.farm-score-pill.score-danger[b-tm2lasbame] {
    border-color: #f1b0b7;
    background: #fff5f6;
    color: #b02a37;
}

.decision-score-grid[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.decision-score-card[b-tm2lasbame] {
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid var(--ds-border);
    background: #ffffff;
    box-shadow: var(--ds-soft-shadow);
    display: grid;
    gap: 0.15rem;
}

.dashboard-score-reasons[b-tm2lasbame] {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.2rem;
    color: var(--ds-muted-strong);
    font-size: 0.82rem;
}

.farm-global-score-explainer[b-tm2lasbame] {
    display: grid;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--ds-border);
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.farm-global-score-explainer-head[b-tm2lasbame] {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.farm-global-score-explainer-head strong[b-tm2lasbame] {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
}

.farm-global-score-explainer-head p[b-tm2lasbame] {
    margin: 0.2rem 0 0;
    color: var(--ds-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.farm-global-score-cap-note[b-tm2lasbame] {
    margin: 0;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    background: #fff8ef;
    border: 1px solid #f5d0a4;
    color: #8a4b00;
    font-size: 0.82rem;
    font-weight: 700;
}

.farm-global-score-domains[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.55rem;
}

.farm-global-score-domain[b-tm2lasbame] {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--ds-border);
    background: var(--ds-surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.farm-global-score-domain:hover[b-tm2lasbame] {
    border-color: #9ec5fe;
    transform: translateY(-1px);
}

.farm-global-score-domain span[b-tm2lasbame] {
    color: var(--ds-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.farm-global-score-domain strong[b-tm2lasbame] {
    font-size: 0.95rem;
    font-weight: 900;
}

.farm-global-score-operational-note[b-tm2lasbame] {
    margin: 0;
    color: var(--ds-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.farm-operational-scores-label[b-tm2lasbame] {
    margin: 0;
    color: var(--ds-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .farm-global-score-domains[b-tm2lasbame] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .farm-global-score-domains[b-tm2lasbame] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.decision-score-card span[b-tm2lasbame] {
    color: var(--ds-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.decision-score-card strong[b-tm2lasbame] {
    font-size: 1.55rem;
    font-weight: 900;
}

.decision-score-card small[b-tm2lasbame] {
    color: var(--ds-muted);
    font-size: 0.78rem;
}

.decision-score-card.score-success[b-tm2lasbame] {
    border-left: 4px solid #198754;
    background: linear-gradient(180deg, #f6fff9 0%, #ffffff 100%);
}

.decision-score-card.score-warning[b-tm2lasbame] {
    border-left: 4px solid #fd7e14;
    background: linear-gradient(180deg, #fffaf3 0%, #ffffff 100%);
}

.decision-score-card.score-danger[b-tm2lasbame] {
    border-left: 4px solid #dc3545;
    background: linear-gradient(180deg, #fff5f6 0%, #ffffff 100%);
}

.decision-score-card.score-success strong[b-tm2lasbame] {
    color: #146c43;
}

.decision-score-card.score-warning strong[b-tm2lasbame] {
    color: #b26a00;
}

.decision-score-card.score-danger strong[b-tm2lasbame] {
    color: #b02a37;
}

.decision-content-grid[b-tm2lasbame],
.decision-bottom-grid[b-tm2lasbame] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.farm-dashboard-top-grid[b-tm2lasbame] {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1rem;
    align-items: start;
}

.decision-accordion-grid[b-tm2lasbame] {
    display: grid;
    gap: 0.9rem;
}

.decision-accordion[b-tm2lasbame] {
    border-radius: 18px;
    border: 1px solid var(--ds-border);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
    overflow: hidden;
}

.decision-accordion > summary[b-tm2lasbame] {
    list-style: none;
    display: grid;
    gap: 0.25rem;
    padding: 0.95rem 1rem;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.decision-accordion > summary[b-tm2lasbame]::-webkit-details-marker {
    display: none;
}

.decision-accordion > summary[b-tm2lasbame]::after {
    content: ">";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--ds-muted);
    transition: transform 0.18s ease;
}

.decision-accordion[open] > summary[b-tm2lasbame]::after {
    transform: translateY(-50%) rotate(270deg);
}

.accordion-summary-main[b-tm2lasbame] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding-right: 2rem;
}

.accordion-summary-main strong[b-tm2lasbame] {
    font-size: 1.02rem;
    font-weight: 900;
}

.accordion-summary-main span[b-tm2lasbame] {
    color: var(--ds-muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.decision-accordion > summary small[b-tm2lasbame] {
    color: var(--ds-muted);
    padding-right: 2rem;
    display: block;
}

.decision-accordion .decision-list[b-tm2lasbame],
.decision-accordion .weekly-actions[b-tm2lasbame],
.decision-accordion .economic-grid[b-tm2lasbame],
.decision-accordion .empty-state[b-tm2lasbame] {
    margin: 0 1rem 1rem;
}

.decision-accordion .decision-list.compact[b-tm2lasbame] {
    margin-top: 0;
}

.decision-list[b-tm2lasbame] {
    display: grid;
    gap: 0.65rem;
}

.dashboard-focus-grid[b-tm2lasbame],
.dashboard-lower-grid[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-mini-grid[b-tm2lasbame] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decision-list.compact[b-tm2lasbame] {
    gap: 0.45rem;
}

.decision-item[b-tm2lasbame] {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    border: 1px solid var(--ds-border);
    background: var(--ds-surface);
}

.decision-item strong[b-tm2lasbame] {
    font-weight: 800;
}

.decision-item span[b-tm2lasbame],
.decision-item small[b-tm2lasbame] {
    color: var(--ds-muted);
}

.decision-item.decision-critique[b-tm2lasbame] {
    border-color: #f1b0b7;
    background: #fff5f6;
}

.decision-item.decision-haute[b-tm2lasbame] {
    border-color: #f5d0a4;
    background: #fffaf2;
}

.decision-item.decision-moyenne[b-tm2lasbame] {
    border-color: #d0d7de;
    background: #fbfcfe;
}

.decision-item.decision-basse[b-tm2lasbame] {
    border-color: #badbcc;
    background: #f4fff7;
}

.decision-accordion summary small[b-tm2lasbame] {
    max-width: 68rem;
}

.decision-accordion .empty-state[b-tm2lasbame] {
    border-radius: 12px;
    border: 1px dashed var(--ds-border);
    background: var(--ds-surface-alt);
}

.decision-missing[b-tm2lasbame] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.decision-missing span[b-tm2lasbame] {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #f4f6f8;
    border: 1px solid var(--ds-border);
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.economic-grid[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.economic-grid div[b-tm2lasbame] {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.75rem;
    border-radius: 14px;
    background: var(--ds-surface-alt);
    border: 1px solid var(--ds-border);
}

.economic-grid span[b-tm2lasbame] {
    color: var(--ds-muted);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.economic-grid strong[b-tm2lasbame] {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-variant-numeric: tabular-nums;
}

.watch-animal-card[b-tm2lasbame] {
    display: grid;
    gap: 0.35rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--ds-border);
    border-radius: 14px;
    background: var(--ds-surface);
    text-align: left;
}

.watch-animal-card strong[b-tm2lasbame] {
    font-weight: 900;
}

.watch-animal-card span[b-tm2lasbame],
.watch-animal-card small[b-tm2lasbame] {
    color: var(--ds-muted);
}

.action-grid[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.action-tile[b-tm2lasbame] {
    display: grid;
    gap: 0.25rem;
    align-content: start;
    padding: 0.95rem;
    border: 1px solid var(--ds-border);
    border-radius: 14px;
    background: var(--ds-surface);
    text-align: left;
}

.tile-icon[b-tm2lasbame] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
    background: #eaf2ff;
    color: var(--ds-primary);
    font-size: 0.76rem;
    font-weight: 900;
}

.action-tile strong[b-tm2lasbame] {
    font-weight: 900;
}

.action-tile small[b-tm2lasbame] {
    color: var(--ds-muted);
}

.weekly-actions[b-tm2lasbame] {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.65rem;
}

.weekly-actions li[b-tm2lasbame] {
    display: grid;
    gap: 0.15rem;
}

.weekly-actions strong[b-tm2lasbame] {
    font-weight: 800;
}

.weekly-actions span[b-tm2lasbame] {
    color: var(--ds-muted);
}

@media (max-width: 1200px) {
    .decision-score-grid[b-tm2lasbame],
    .economic-grid.dashboard-mini-grid[b-tm2lasbame] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .economic-grid:not(.dashboard-mini-grid)[b-tm2lasbame] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .farm-dashboard-top-grid[b-tm2lasbame] {
        grid-template-columns: 1fr;
    }

    .decision-score-strip[b-tm2lasbame],
    .farm-decision-mini-kpis[b-tm2lasbame],
    .kpi-grid-priority[b-tm2lasbame] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-focus-grid[b-tm2lasbame],
    .dashboard-lower-grid[b-tm2lasbame] {
        grid-template-columns: 1fr;
    }
}

.dashboard-focus-grid--priority[b-tm2lasbame] {
    margin-bottom: 0.5rem;
}

.dashboard-focus-block-title[b-tm2lasbame] {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--ds-text, #1f2937);
}

.dashboard-focus-block + .dashboard-focus-block[b-tm2lasbame] {
    padding-top: 0.25rem;
}

.farm-today-actions[b-tm2lasbame] {
    height: 100%;
    margin-bottom: 0.25rem;
}

.farm-today-actions-grid[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.farm-dashboard-kpi-panel[b-tm2lasbame] {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.farm-today-action-btn[b-tm2lasbame] {
    display: grid;
    gap: 0.2rem;
    justify-items: start;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    color: var(--ds-text);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.farm-today-action-btn:hover[b-tm2lasbame] {
    border-color: var(--ds-primary);
    box-shadow: var(--ds-soft-shadow);
}

.farm-today-action-btn strong[b-tm2lasbame] {
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
}

.farm-today-action-btn span[b-tm2lasbame] {
    color: var(--ds-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.kpi-grid-priority[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 0;
}

.kpi-grid-priority .kpi-card[b-tm2lasbame] {
    min-height: 96px;
    padding: 0.8rem 0.9rem;
}

.kpi-grid-priority .kpi-card strong[b-tm2lasbame] {
    font-size: 1.35rem;
}

.kpi-grid-priority .kpi-card span[b-tm2lasbame],
.kpi-grid-priority .kpi-card small[b-tm2lasbame] {
    font-size: 0.78rem;
}

.action-tile .tile-icon .ti[b-tm2lasbame] {
    font-size: 1.1rem;
}

.data-quality-panel[b-tm2lasbame] {
    display: grid;
    gap: 0.85rem;
}

.data-quality-progress[b-tm2lasbame] {
    height: 8px;
    border-radius: 999px;
    background: var(--ds-surface-alt);
    overflow: hidden;
}

.data-quality-progress-bar[b-tm2lasbame] {
    height: 100%;
    border-radius: inherit;
    transition: width 0.35s ease;
}

.data-quality-progress-bar.score-success[b-tm2lasbame] {
    background: linear-gradient(90deg, #198754, #75b798);
}

.data-quality-progress-bar.score-warning[b-tm2lasbame] {
    background: linear-gradient(90deg, #fd7e14, #ffc107);
}

.data-quality-progress-bar.score-danger[b-tm2lasbame] {
    background: linear-gradient(90deg, #dc3545, #ea868f);
}

.data-quality-summary[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.data-quality-summary > div[b-tm2lasbame] {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--ds-border);
    background: var(--ds-surface-alt);
}

.data-quality-summary span[b-tm2lasbame] {
    color: var(--ds-muted);
    font-size: 0.82rem;
}

.data-quality-metrics[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.data-quality-metric[b-tm2lasbame] {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--ds-border);
    background: var(--ds-surface);
}

.data-quality-metric span[b-tm2lasbame] {
    color: var(--ds-muted);
    font-size: 0.8rem;
}

.data-quality-metric.is-danger[b-tm2lasbame] {
    border-color: #f1b0b7;
    background: #fff5f6;
}

.data-quality-metric.is-warning[b-tm2lasbame] {
    border-color: #f5d0a4;
    background: #fffaf2;
}

.data-quality-metric.is-success[b-tm2lasbame] {
    border-color: #badbcc;
    background: #f4fff7;
}

.data-quality-issues[b-tm2lasbame] {
    border-top: 1px solid var(--ds-border);
    padding-top: 0.75rem;
}

.data-quality-issues-head[b-tm2lasbame] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.data-quality-issues ul[b-tm2lasbame] {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
    color: var(--ds-muted);
    font-size: 0.88rem;
}

@media (max-width: 700px) {
    .farm-dashboard-top-grid[b-tm2lasbame],
    .decision-score-grid[b-tm2lasbame],
    .economic-grid[b-tm2lasbame] {
        grid-template-columns: 1fr;
    }

    .farm-decision-header[b-tm2lasbame] {
        flex-direction: column;
    }

    .farm-decision-mini-kpis[b-tm2lasbame],
    .decision-score-strip[b-tm2lasbame],
    .kpi-grid-priority[b-tm2lasbame],
    .farm-today-actions-grid[b-tm2lasbame] {
        grid-template-columns: 1fr;
    }

    .action-grid[b-tm2lasbame],
    .dashboard-mini-grid[b-tm2lasbame] {
        grid-template-columns: 1fr;
    }
}

.economic-cost-breakdown[b-tm2lasbame] {
    display: grid;
    gap: 0.65rem;
}

.economic-cost-row[b-tm2lasbame] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 0.35rem 0.75rem;
    align-items: center;
}

.economic-cost-row > span[b-tm2lasbame] {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.economic-cost-row > strong[b-tm2lasbame] {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    text-align: right;
}

.economic-cost-row > .economic-cost-bar[b-tm2lasbame] {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
}

.economic-cost-bar[b-tm2lasbame] {
    height: 10px;
    border-radius: 999px;
    background: #eef2f6;
    overflow: hidden;
}

.economic-cost-bar span[b-tm2lasbame] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.economic-cost-bar.is-total span[b-tm2lasbame] {
    background: linear-gradient(90deg, #0f766e, #2dd4bf);
}

.feed-dashboard[b-tm2lasbame] {
    --dashboard-page-bg: #f6f8fb;
    --dashboard-surface: #ffffff;
    --dashboard-surface-muted: #f8fafc;
    --dashboard-border-soft: #e2e8f0;
    --dashboard-text-main: #0f172a;
    --dashboard-text-muted: #64748b;
    background: var(--dashboard-page-bg);
    padding-bottom: 0.5rem;
}

.feed-dashboard .section-panel[b-tm2lasbame],
.feed-dashboard .dashboard-section-card[b-tm2lasbame] {
    background: var(--dashboard-surface);
    border: 1px solid var(--dashboard-border-soft);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.feed-dashboard .dashboard-collapsible-card[b-tm2lasbame],
.feed-dashboard .collapsible-section.dashboard-section-card[b-tm2lasbame] {
    margin-bottom: 1.5rem;
}

.farm-dashboard-top-grid[b-tm2lasbame] {
    gap: 1.5rem;
    align-items: stretch;
}

.farm-dashboard-top-grid .dashboard-section-card[b-tm2lasbame],
.dashboard-duo-grid .dashboard-section-card[b-tm2lasbame],
.dashboard-lower-grid .dashboard-section-card[b-tm2lasbame] {
    margin-bottom: 0;
    height: 100%;
}

.dashboard-duo-grid[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-focus-block[b-tm2lasbame] {
    margin-top: 1rem;
}

.dashboard-production-soon-intro[b-tm2lasbame] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: var(--dashboard-surface-muted);
    border: 1px solid var(--dashboard-border-soft);
    color: var(--dashboard-text-muted);
    font-size: 0.875rem;
}

.dashboard-production-soon-intro .ti[b-tm2lasbame] {
    font-size: 1.35rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.dashboard-production-soon-intro p[b-tm2lasbame] {
    margin: 0;
}

.dashboard-economic-chart[b-tm2lasbame] {
    margin-top: 1.25rem;
}

.economic-cost-breakdown[b-tm2lasbame] {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dashboard-border-soft);
}

.economic-cost-row span[b-tm2lasbame] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dashboard-text-muted);
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.economic-cost-row strong[b-tm2lasbame] {
    font-size: clamp(0.78rem, 1vw, 0.9rem);
    font-weight: 800;
    color: var(--dashboard-text-main);
    overflow-wrap: anywhere;
    word-break: break-word;
    font-variant-numeric: tabular-nums;
}

.economic-cost-bar.is-revenue span[b-tm2lasbame] {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.economic-cost-bar.is-cost span[b-tm2lasbame] {
    background: linear-gradient(90deg, #dc2626, #f87171);
}

.kpi-grid-headline .kpi-card strong[b-tm2lasbame],
.kpi-grid-headline .ui-kpi-card strong[b-tm2lasbame] {
    font-size: clamp(1.1rem, 1.6vw, 1.65rem);
    font-weight: 800;
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: var(--dashboard-text-main);
}

.kpi-grid-headline .kpi-card span[b-tm2lasbame],
.kpi-grid-headline .ui-kpi-card span[b-tm2lasbame] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dashboard-text-muted);
}

.kpi-grid-headline .kpi-card small[b-tm2lasbame],
.kpi-grid-headline .ui-kpi-card small[b-tm2lasbame] {
    font-size: 0.72rem;
    color: var(--dashboard-text-muted);
    line-height: 1.35;
}

.kpi-grid-priority[b-tm2lasbame] {
    gap: 1rem;
}

.kpi-grid-priority .kpi-card[b-tm2lasbame],
.kpi-grid-priority .ui-kpi-card[b-tm2lasbame] {
    min-width: 0;
    min-height: 104px;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: var(--dashboard-surface-muted);
    border: 1px solid var(--dashboard-border-soft);
}

.dashboard-lower-grid[b-tm2lasbame] {
    gap: 1.5rem;
}

.dashboard-sale-amount[b-tm2lasbame] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.dashboard-recent-sales-table[b-tm2lasbame] {
    overflow-x: auto;
}

.dashboard-future-production-grid[b-tm2lasbame] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-future-kpi[b-tm2lasbame] {
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px dashed #cbd5e1;
    background: var(--dashboard-surface);
}

.dashboard-future-kpi span[b-tm2lasbame] {
    color: var(--dashboard-text-muted, var(--ds-muted));
    font-size: 0.78rem;
    font-weight: 700;
}

.dashboard-future-kpi strong[b-tm2lasbame] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #94a3b8;
}

.feed-dashboard .section-panel.farm-activity-panel[b-tm2lasbame] {
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1200px) {
    .dashboard-duo-grid[b-tm2lasbame] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .economic-cost-row[b-tm2lasbame] {
        grid-template-columns: 1fr auto;
        gap: 0.35rem 0.5rem;
    }

    .economic-cost-row > strong[b-tm2lasbame] {
        font-size: 0.82rem;
    }

    .dashboard-future-production-grid[b-tm2lasbame] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ui-action-card-layout[b-tm2lasbame] {
        flex-direction: column;
        align-items: stretch;
    }

    .ui-action-card-action[b-tm2lasbame] {
        align-self: flex-start;
    }
}
/* /Pages/FarmProducts/FarmProducts.razor.rz.scp.css */
.farm-products-hero[b-nmcm0qhdf1],
.farm-products-actions[b-nmcm0qhdf1],
.farm-products-grid[b-nmcm0qhdf1],
.form-grid[b-nmcm0qhdf1],
.toggle-grid[b-nmcm0qhdf1] {
    display: grid;
    gap: 1rem;
}

.farm-products-hero[b-nmcm0qhdf1] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1.25rem;
}

.hero-card[b-nmcm0qhdf1],
.farm-products-panel[b-nmcm0qhdf1] {
    background: #fff;
    border: 1px solid #d8e4f1;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(16, 44, 84, 0.08);
}

.hero-card[b-nmcm0qhdf1] {
    padding: 1.2rem 1.25rem;
}

.hero-card span[b-nmcm0qhdf1],
.hero-card small[b-nmcm0qhdf1],
.ui-eyebrow[b-nmcm0qhdf1],
.hint[b-nmcm0qhdf1] {
    color: #5b7394;
}

.hero-card strong[b-nmcm0qhdf1] {
    display: block;
    margin: 0.35rem 0;
    font-size: 1.8rem;
    line-height: 1.1;
    color: #102c54;
}

.farm-products-actions[b-nmcm0qhdf1] {
    grid-template-columns: repeat(4, minmax(0, max-content));
    margin-bottom: 1rem;
}

.farm-products-panel[b-nmcm0qhdf1] {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.farm-products-grid[b-nmcm0qhdf1] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.section-head[b-nmcm0qhdf1] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.section-head h3[b-nmcm0qhdf1],
.farm-products-panel h3[b-nmcm0qhdf1] {
    margin: 0.2rem 0 0;
    color: #102c54;
}

.form-grid[b-nmcm0qhdf1] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.toggle-grid[b-nmcm0qhdf1] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.full-width[b-nmcm0qhdf1] {
    display: block;
    margin-bottom: 1rem;
}

.full-width span[b-nmcm0qhdf1],
.form-grid span[b-nmcm0qhdf1] {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: #24456f;
}

.panel-actions[b-nmcm0qhdf1] {
    display: flex;
    justify-content: flex-end;
}

.table-shell[b-nmcm0qhdf1] {
    overflow-x: auto;
}

.farm-products-nav[b-nmcm0qhdf1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.farm-products-nav .btn[b-nmcm0qhdf1] {
    border-radius: 999px;
}

.finance-masked-note[b-nmcm0qhdf1] {
    color: #5b7394;
    font-style: italic;
    margin-bottom: 1rem;
}

.empty-state[b-nmcm0qhdf1] {
    padding: 1.5rem;
    text-align: center;
    color: #5b7394;
}

.toolbar-row[b-nmcm0qhdf1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.toolbar-row .form-control[b-nmcm0qhdf1] {
    max-width: 260px;
}

.feed-candidate-list[b-nmcm0qhdf1] {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (max-width: 1200px) {
    .farm-products-hero[b-nmcm0qhdf1],
    .farm-products-grid[b-nmcm0qhdf1],
    .form-grid[b-nmcm0qhdf1],
    .toggle-grid[b-nmcm0qhdf1] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .farm-products-hero[b-nmcm0qhdf1],
    .farm-products-actions[b-nmcm0qhdf1],
    .farm-products-grid[b-nmcm0qhdf1],
    .form-grid[b-nmcm0qhdf1],
    .toggle-grid[b-nmcm0qhdf1] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Feed/FeedAlert.razor.rz.scp.css */
.feed-alerts-page[b-pf6tsebnkq] {
    display: grid;
    gap: 1rem;
    padding-bottom: 1rem;
}

.page-heading[b-pf6tsebnkq] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.page-heading h3[b-pf6tsebnkq] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.page-heading p[b-pf6tsebnkq] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.eyebrow[b-pf6tsebnkq] {
    color: var(--ds-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.alert-filter-row[b-pf6tsebnkq],
.alert-card-list[b-pf6tsebnkq],
.alert-card-head[b-pf6tsebnkq],
.alert-card-actions[b-pf6tsebnkq] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.alert-filter-chip[b-pf6tsebnkq] {
    display: inline-flex;
    align-items: center;
    min-height: 2.6rem;
    padding: 0 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    color: var(--ds-text);
    background: var(--ds-surface);
    font-weight: 700;
}

.alert-filter-chip.active[b-pf6tsebnkq] {
    border-color: var(--ds-primary);
    color: #ffffff;
    background: var(--ds-primary);
}

.alert-card-list[b-pf6tsebnkq] {
    display: grid;
}

.alert-card[b-pf6tsebnkq] {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.alert-card.critical[b-pf6tsebnkq] {
    border-color: #f3c2c2;
    background: #fff7f7;
}

.alert-card.warning[b-pf6tsebnkq] {
    border-color: #f2d39c;
    background: #fffaf0;
}

.alert-card-head[b-pf6tsebnkq] {
    justify-content: space-between;
    align-items: center;
}

.severity-badge[b-pf6tsebnkq] {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
}

.severity-badge.critical[b-pf6tsebnkq] {
    color: var(--ds-danger);
    background: #fde8e8;
}

.severity-badge.warning[b-pf6tsebnkq] {
    color: var(--ds-warning);
    background: #fff4da;
}

.alert-date[b-pf6tsebnkq] {
    color: var(--ds-muted);
    font-size: 0.9rem;
}

.alert-kind-chip[b-pf6tsebnkq] {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--ds-muted);
    background: var(--ds-surface-alt);
}

.alert-card-copy p[b-pf6tsebnkq] {
    margin: 0.35rem 0 0;
    color: var(--ds-text);
}

.alert-card-copy small[b-pf6tsebnkq] {
    display: block;
    margin-top: 0.35rem;
}

.empty-state[b-pf6tsebnkq] {
    padding: 1rem;
    border: 1px dashed var(--ds-border-strong);
    border-radius: var(--ds-radius-md);
    color: var(--ds-muted);
    background: var(--ds-surface-alt);
}
/* /Pages/Feed/FeedBatch.razor.rz.scp.css */
.feed-batches-page[b-uqpn85znxw] {
    display: grid;
    gap: 1rem;
    padding-bottom: 1rem;
}

.page-heading[b-uqpn85znxw],
.batch-group-head[b-uqpn85znxw],
.page-heading-actions[b-uqpn85znxw],
.batch-group-actions[b-uqpn85znxw],
.batch-form-head[b-uqpn85znxw],
.fifo-lot-top[b-uqpn85znxw],
.fifo-lot-actions[b-uqpn85znxw] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.page-heading h3[b-uqpn85znxw],
.batch-group-head h4[b-uqpn85znxw] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.page-heading p[b-uqpn85znxw],
.batch-group-head p[b-uqpn85znxw] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.eyebrow[b-uqpn85znxw] {
    color: var(--ds-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.batch-kpi-grid[b-uqpn85znxw],
.batch-group-list[b-uqpn85znxw],
.fifo-lot-list[b-uqpn85znxw] {
    display: grid;
    gap: 0.9rem;
}

.batch-kpi-grid[b-uqpn85znxw] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.batch-kpi-card[b-uqpn85znxw],
.batch-group-card[b-uqpn85znxw],
.fifo-lot-card[b-uqpn85znxw],
.batch-form-card[b-uqpn85znxw] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.batch-kpi-card[b-uqpn85znxw],
.batch-group-card[b-uqpn85znxw],
.batch-form-card[b-uqpn85znxw] {
    padding: 1rem;
}

.batch-form-card[b-uqpn85znxw] {
    display: grid;
    gap: 1rem;
}

.batch-form-grid[b-uqpn85znxw] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
}

.batch-form-actions[b-uqpn85znxw] {
    display: flex;
    gap: 0.6rem;
    align-items: end;
    flex-wrap: wrap;
}

.batch-edit-warning[b-uqpn85znxw],
.batch-feed-readonly[b-uqpn85znxw] {
    padding: 0.8rem;
    border: 1px dashed var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.batch-feed-readonly[b-uqpn85znxw] {
    display: grid;
    gap: 0.2rem;
}

.batch-kpi-card[b-uqpn85znxw] {
    display: grid;
    gap: 0.2rem;
}

.batch-kpi-card span[b-uqpn85znxw],
.batch-kpi-card small[b-uqpn85znxw],
.fifo-lot-main span[b-uqpn85znxw] {
    color: var(--ds-muted);
}

.batch-kpi-card strong[b-uqpn85znxw] {
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.batch-toggle-row[b-uqpn85znxw] {
    display: flex;
    justify-content: flex-end;
}

.fifo-lot-list[b-uqpn85znxw] {
    margin-top: 0.85rem;
}

.fifo-lot-card[b-uqpn85znxw] {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
}

.fifo-lot-card.is-next[b-uqpn85znxw] {
    border-color: #b6d8ff;
    background: #f8fbff;
}

.fifo-lot-badge[b-uqpn85znxw] {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 1.6rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    color: var(--ds-primary);
    background: #e7f0ff;
    font-size: 0.76rem;
    font-weight: 900;
}

.lock-badge[b-uqpn85znxw] {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    color: var(--ds-muted);
    background: var(--ds-surface-alt);
    font-size: 0.76rem;
    font-weight: 900;
}

.fifo-lot-progress[b-uqpn85znxw] {
    height: 0.4rem;
    border-radius: 999px;
    background: #e7edf5;
    overflow: hidden;
}

.fifo-lot-progress span[b-uqpn85znxw] {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--ds-success);
}

.fifo-lot-card.is-next .fifo-lot-progress span[b-uqpn85znxw] {
    background: var(--ds-warning);
}

.fifo-lot-main[b-uqpn85znxw] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.fifo-lock-hint[b-uqpn85znxw] {
    color: var(--ds-muted);
}

.fifo-lot-meta[b-uqpn85znxw] {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.55rem;
    color: var(--ds-muted);
    font-size: 0.86rem;
}

.batch-filter-banner[b-uqpn85znxw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--ds-accent);
    border-radius: var(--ds-radius-lg);
    background: color-mix(in srgb, var(--ds-accent) 8%, var(--ds-surface));
}

.batch-filter-banner p[b-uqpn85znxw] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.batch-group-card.is-highlighted[b-uqpn85znxw] {
    border-color: var(--ds-accent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--ds-accent) 20%, transparent), var(--ds-soft-shadow);
    scroll-margin-top: 5.5rem;
}

@media (max-width: 900px) {
    .batch-kpi-grid[b-uqpn85znxw],
    .batch-form-grid[b-uqpn85znxw] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page-heading[b-uqpn85znxw],
    .batch-group-head[b-uqpn85znxw],
    .fifo-lot-main[b-uqpn85znxw],
    .batch-form-head[b-uqpn85znxw],
    .fifo-lot-top[b-uqpn85znxw] {
        flex-direction: column;
    }

    .batch-toggle-row[b-uqpn85znxw] {
        justify-content: flex-start;
    }
}
/* /Pages/Feed/FeedDistribute.razor.rz.scp.css */
.feed-distribute-page[b-k8q9nxvad2] {
    display: grid;
    gap: 1rem;
    padding-bottom: 1rem;
}

.page-heading[b-k8q9nxvad2],
.simulation-head[b-k8q9nxvad2],
.distribution-actions[b-k8q9nxvad2] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.page-heading h3[b-k8q9nxvad2],
.distribution-header-card h4[b-k8q9nxvad2],
.simulation-head h4[b-k8q9nxvad2] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.page-heading p[b-k8q9nxvad2] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.eyebrow[b-k8q9nxvad2] {
    color: var(--ds-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.distribution-header-card[b-k8q9nxvad2],
.distribution-simulation-card[b-k8q9nxvad2],
.distribution-line[b-k8q9nxvad2] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.distribution-header-card[b-k8q9nxvad2],
.distribution-simulation-card[b-k8q9nxvad2] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.distribution-head-grid[b-k8q9nxvad2],
.distribution-kpi-grid[b-k8q9nxvad2],
.distribution-line-list[b-k8q9nxvad2] {
    display: grid;
    gap: 0.85rem;
}

.distribution-head-grid[b-k8q9nxvad2] {
    grid-template-columns: minmax(0, 1.4fr) 220px;
}

.distribution-kpi-grid[b-k8q9nxvad2] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.distribution-kpi-grid article[b-k8q9nxvad2] {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.distribution-kpi-grid span[b-k8q9nxvad2],
.distribution-line-meta span[b-k8q9nxvad2],
.distribution-line-meta small[b-k8q9nxvad2] {
    color: var(--ds-muted);
}

.distribution-line[b-k8q9nxvad2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
}

.distribution-line.is-danger[b-k8q9nxvad2] {
    border-color: #f3c2c2;
    background: #fff7f7;
}

.distribution-line-main[b-k8q9nxvad2],
.distribution-line-meta[b-k8q9nxvad2] {
    display: grid;
    gap: 0.2rem;
}

.distribution-line-meta[b-k8q9nxvad2] {
    justify-items: end;
}

.simulation-badge[b-k8q9nxvad2] {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.simulation-badge.warning[b-k8q9nxvad2] {
    color: var(--ds-warning);
    background: #fff4da;
}

@media (max-width: 850px) {
    .distribution-head-grid[b-k8q9nxvad2],
    .distribution-kpi-grid[b-k8q9nxvad2] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page-heading[b-k8q9nxvad2],
    .simulation-head[b-k8q9nxvad2],
    .distribution-line[b-k8q9nxvad2],
    .distribution-actions[b-k8q9nxvad2] {
        flex-direction: column;
    }

    .distribution-line-meta[b-k8q9nxvad2] {
        justify-items: start;
    }
}
/* /Pages/Feed/FeedHub.razor.rz.scp.css */
.feed-hub-page .fl-page-container[b-mxs1n404ep] {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.feed-hub-actions-group[b-mxs1n404ep] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.feed-hub-dashboard[b-mxs1n404ep] {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.feed-hub-page[b-mxs1n404ep] {
    display: block;
}

.feed-hub-quick-actions[b-mxs1n404ep] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.feed-hub-quick-action[b-mxs1n404ep] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feed-hub-quick-action:hover[b-mxs1n404ep] {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    color: inherit;
}

.feed-hub-quick-action.primary[b-mxs1n404ep] {
    border-color: rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
}

.feed-hub-quick-action strong[b-mxs1n404ep] {
    display: block;
    font-size: 0.95rem;
}

.feed-hub-quick-action small[b-mxs1n404ep] {
    display: block;
    margin-top: 0.15rem;
    color: var(--ds-muted);
    line-height: 1.35;
}

.feed-hub-nutrition-cta[b-mxs1n404ep] {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-xl);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(56, 189, 248, 0.04));
}

.feed-hub-nutrition-cta h4[b-mxs1n404ep] {
    margin: 0.15rem 0;
    font-weight: 900;
}

.feed-hub-nutrition-cta p[b-mxs1n404ep] {
    margin: 0;
    color: var(--ds-muted);
    max-width: 42rem;
}

.feed-hub-nutrition-metrics[b-mxs1n404ep] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.feed-hub-loading[b-mxs1n404ep] {
    padding: 1.25rem;
}

.feed-hub-hero-grid[b-mxs1n404ep] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.feed-hub-hero-card[b-mxs1n404ep] {
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.feed-hub-hero-card small[b-mxs1n404ep] {
    color: var(--ds-muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.feed-hub-hero-card strong[b-mxs1n404ep] {
    color: var(--ds-text);
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
}

.feed-hub-hero-card span[b-mxs1n404ep] {
    color: var(--ds-muted);
    font-size: 0.85rem;
}

.feed-hub-hero-card.warning strong[b-mxs1n404ep] {
    color: #b45309;
}

.feed-hub-hero-card.success strong[b-mxs1n404ep] {
    color: #15803d;
}

.feed-hub-hero-card.danger strong[b-mxs1n404ep] {
    color: #b42318;
}

.feed-hub-spaces[b-mxs1n404ep] {
    display: grid;
    gap: 1rem;
}

.feed-hub-spaces--primary[b-mxs1n404ep] {
    padding: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: var(--ds-radius-lg);
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.feed-hub-spaces--primary .section-head h4[b-mxs1n404ep] {
    font-size: 1.15rem;
    color: var(--ds-text);
}

.feed-hub-spaces .section-head[b-mxs1n404ep] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.feed-hub-spaces h4[b-mxs1n404ep] {
    margin: 0.2rem 0 0;
    color: var(--ds-text);
    font-weight: 900;
}

.feed-hub-space-grid[b-mxs1n404ep] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

@media (max-width: 1100px) {
    .feed-hub-hero-grid[b-mxs1n404ep] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .feed-hub-page .fl-page-container[b-mxs1n404ep],
    .feed-hub-dashboard[b-mxs1n404ep] {
        gap: 1.5rem;
    }

    .feed-hub-hero-grid[b-mxs1n404ep] {
        grid-template-columns: 1fr;
    }

    .feed-hub-spaces .section-head[b-mxs1n404ep] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Pages/Feed/Feeds.razor.rz.scp.css */
.feed-catalog-page[b-fgchkxms6z] {
    display: grid;
    gap: 1rem;
    padding-bottom: 1rem;
}

.page-heading[b-fgchkxms6z],
.feed-card-head[b-fgchkxms6z],
.feed-card-actions[b-fgchkxms6z],
.feed-form-head[b-fgchkxms6z] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.page-heading h3[b-fgchkxms6z],
.feed-add-card h4[b-fgchkxms6z],
.feed-card-head h4[b-fgchkxms6z] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.page-heading p[b-fgchkxms6z] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.eyebrow[b-fgchkxms6z] {
    color: var(--ds-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.feed-add-card[b-fgchkxms6z],
.feed-card[b-fgchkxms6z] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.feed-add-card[b-fgchkxms6z] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.feed-card-nutrition[b-fgchkxms6z] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nutrition-pill[b-fgchkxms6z] {
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
    min-width: 80px;
}

.nutrition-pill span[b-fgchkxms6z] {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
}

.nutrition-pill strong[b-fgchkxms6z] {
    font-size: 0.95rem;
    color: #1e293b;
}

.form-group label[b-fgchkxms6z] {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #64748b;
}

.feed-add-grid[b-fgchkxms6z] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.full-width[b-fgchkxms6z] {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .feed-add-grid[b-fgchkxms6z] {
        grid-template-columns: 1fr;
    }
    .full-width[b-fgchkxms6z] {
        grid-column: span 1;
    }
}

.feed-form-actions[b-fgchkxms6z],
.feed-card-link-actions[b-fgchkxms6z],
.feed-card-edit-actions[b-fgchkxms6z] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.feed-form-actions[b-fgchkxms6z] {
    align-items: end;
}

.feed-card-grid[b-fgchkxms6z] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0.9rem;
}

.feed-card[b-fgchkxms6z] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.feed-card-head h4 small[b-fgchkxms6z] {
    color: var(--ds-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.feed-choice-grid[b-fgchkxms6z] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feed-choice-item[b-fgchkxms6z] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--ds-border);
    border-radius: 999px;
    background: var(--ds-surface-alt);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ds-text);
    cursor: pointer;
    margin: 0;
}

.feed-choice-item input[b-fgchkxms6z] {
    margin: 0;
}

.feed-choice-empty[b-fgchkxms6z] {
    margin: 0;
    color: var(--ds-muted);
    font-size: 0.9rem;
}

.feed-card-chips[b-fgchkxms6z] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

.stock-chip[b-fgchkxms6z],
.muted-chip[b-fgchkxms6z] {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.stock-chip.good[b-fgchkxms6z] {
    color: var(--ds-success);
    background: #dff5e8;
}

.stock-chip.warning[b-fgchkxms6z] {
    color: var(--ds-warning);
    background: #fff4da;
}

.stock-chip.critical[b-fgchkxms6z],
.stock-chip.unknown[b-fgchkxms6z] {
    color: var(--ds-danger);
    background: #fde8e8;
}

.muted-chip[b-fgchkxms6z] {
    color: var(--ds-muted);
    background: var(--ds-surface-alt);
}

.feed-card-price[b-fgchkxms6z] {
    display: grid;
    justify-items: end;
    gap: 0.1rem;
}

.feed-card-price strong[b-fgchkxms6z] {
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.feed-card-price span[b-fgchkxms6z],
.feed-card-price small[b-fgchkxms6z] {
    color: var(--ds-muted);
}

.feed-note-block[b-fgchkxms6z] {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem;
    border: 1px dashed var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.feed-note-block span[b-fgchkxms6z] {
    color: var(--ds-muted);
}

.feed-card-metrics[b-fgchkxms6z] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.feed-card-metrics > div[b-fgchkxms6z] {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.feed-card-metrics span[b-fgchkxms6z] {
    color: var(--ds-muted);
}

@media (max-width: 1000px) {
    .feed-add-grid[b-fgchkxms6z],
    .feed-card-metrics[b-fgchkxms6z] {
        grid-template-columns: 1fr 1fr;
    }

    .feed-add-grid .feed-notes-input[b-fgchkxms6z],
    .feed-add-grid .feed-form-actions[b-fgchkxms6z] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .page-heading[b-fgchkxms6z],
    .feed-card-head[b-fgchkxms6z],
    .feed-card-actions[b-fgchkxms6z],
    .feed-form-head[b-fgchkxms6z] {
        flex-direction: column;
    }

    .feed-add-grid[b-fgchkxms6z],
    .feed-card-metrics[b-fgchkxms6z] {
        grid-template-columns: 1fr;
    }

    .feed-card-price[b-fgchkxms6z] {
        justify-items: start;
    }
}
/* /Pages/Feed/FeedSchedules.razor.rz.scp.css */
.schedule-page[b-u1aneeord3] {
    display: grid;
    gap: 1.25rem;
    padding-bottom: 1rem;
}

.page-heading[b-u1aneeord3] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0 0.5rem;
    border-bottom: 1px solid var(--ds-border);
}

.page-heading h3[b-u1aneeord3] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.page-heading p[b-u1aneeord3] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.eyebrow[b-u1aneeord3] {
    color: var(--ds-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.summary-strip[b-u1aneeord3] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.summary-strip div[b-u1aneeord3] {
    display: grid;
    gap: 0.15rem;
    padding: 1rem 1rem 0.95rem;
    border-right: 1px solid var(--ds-border);
    border-bottom: 3px solid transparent;
    background: var(--ds-surface);
}

.summary-strip div:nth-child(1)[b-u1aneeord3] {
    border-bottom-color: var(--ds-success);
}

.summary-strip div:nth-child(2)[b-u1aneeord3] {
    border-bottom-color: var(--ds-primary);
}

.summary-strip div:nth-child(3)[b-u1aneeord3] {
    border-bottom-color: var(--ds-warning);
}

.summary-strip div:nth-child(4)[b-u1aneeord3] {
    border-bottom-color: var(--ds-danger);
}

.summary-strip div:last-child[b-u1aneeord3] {
    border-right: 0;
}

.summary-strip span[b-u1aneeord3] {
    color: var(--ds-text);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.summary-strip small[b-u1aneeord3] {
    color: var(--ds-muted);
    font-weight: 700;
}

.coverage-overview-card[b-u1aneeord3] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.coverage-overview-head[b-u1aneeord3] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.coverage-overview-head h4[b-u1aneeord3] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.coverage-overview-head p[b-u1aneeord3] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.coverage-kpi-grid[b-u1aneeord3] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.coverage-kpi-grid article[b-u1aneeord3],
.coverage-issue-card[b-u1aneeord3] {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.coverage-kpi-grid span[b-u1aneeord3],
.coverage-issue-card small[b-u1aneeord3] {
    color: var(--ds-muted);
}

.coverage-kpi-grid strong[b-u1aneeord3] {
    color: var(--ds-text);
    font-size: 1.2rem;
}

.coverage-issues-panel[b-u1aneeord3] {
    display: grid;
    gap: 0.75rem;
}

.coverage-issues-head[b-u1aneeord3],
.coverage-issue-meta[b-u1aneeord3],
.schedule-header-badges[b-u1aneeord3],
.schedule-scope-chips[b-u1aneeord3] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.coverage-issues-head[b-u1aneeord3] {
    justify-content: space-between;
}

.coverage-issues-headline[b-u1aneeord3] {
    display: grid;
    gap: 0.15rem;
}

.coverage-issues-headline small[b-u1aneeord3],
.inline-panel-head p[b-u1aneeord3] {
    color: var(--ds-muted);
}

.coverage-issues-actions[b-u1aneeord3],
.inline-panel-head[b-u1aneeord3] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.coverage-issues-list[b-u1aneeord3],
.coverage-issues-grid[b-u1aneeord3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
}

.coverage-issue-tile[b-u1aneeord3] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
    border: 1px solid var(--fl-border, var(--ds-border));
    border-radius: var(--fl-radius-lg, var(--ds-radius-lg));
    background: var(--fl-surface, var(--ds-surface));
    box-shadow: var(--fl-shadow-soft, var(--ds-soft-shadow));
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    min-height: 100%;
}

.coverage-issue-tile:hover[b-u1aneeord3] {
    transform: translateY(-2px);
    box-shadow: var(--fl-shadow-md, 0 8px 20px rgba(0, 0, 0, 0.07));
}

.coverage-issue-tile--animal[b-u1aneeord3] {
    border-top: 3px solid var(--fl-warning, #d97706);
}

.coverage-issue-tile-icon[b-u1aneeord3] {
    font-size: 1.5rem;
    line-height: 1;
}

.coverage-issue-tile-body[b-u1aneeord3] {
    display: grid;
    gap: 0.15rem;
    flex: 1;
}

.coverage-issue-tile-body strong[b-u1aneeord3] {
    font-size: 0.95rem;
    color: var(--fl-text, var(--ds-text));
}

.coverage-issue-tile-body small[b-u1aneeord3] {
    color: var(--fl-muted, var(--ds-muted));
    font-size: 0.8rem;
}

.coverage-issue-tile-action[b-u1aneeord3] {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.coverage-issue-card[b-u1aneeord3] {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.schedule-list[b-u1aneeord3],
.schedule-grid[b-u1aneeord3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.schedule-item[b-u1aneeord3],
.schedule-form[b-u1aneeord3] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
    position: relative;
    overflow: hidden;
}

.schedule-header[b-u1aneeord3] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #edf1ee;
}

.schedule-header h5[b-u1aneeord3] {
    margin: 0.35rem 0 0;
    color: var(--ds-text);
    font-weight: 900;
    font-size: 1.1rem;
}

.schedule-header p[b-u1aneeord3] {
    margin: 0.25rem 0 0;
    color: var(--ds-muted);
}

.schedule-actions[b-u1aneeord3] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.schedule-summary-actions[b-u1aneeord3] {
    display: flex;
    justify-content: flex-end;
}

.theory-badge[b-u1aneeord3] {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #8a5a00;
    background: #fff4da;
}

.schedule-metrics[b-u1aneeord3] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.schedule-metrics div[b-u1aneeord3] {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem;
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
    border: 1px solid var(--ds-border);
}

.schedule-metrics div:nth-child(1)[b-u1aneeord3] {
    background: #f6fbf8;
}

.schedule-metrics div:nth-child(2)[b-u1aneeord3] {
    background: #f7fbff;
}

.schedule-metrics div:nth-child(3)[b-u1aneeord3] {
    background: #fff8f8;
}

.schedule-metrics div:nth-child(4)[b-u1aneeord3] {
    background: #fffaf2;
}

.schedule-metrics div:nth-child(5)[b-u1aneeord3] {
    background: var(--ds-surface-alt);
}

.schedule-metrics strong[b-u1aneeord3] {
    color: var(--ds-text);
    font-size: 1.05rem;
}

.data-table[b-u1aneeord3] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    background: var(--ds-surface);
}

.data-table thead th[b-u1aneeord3] {
    background: #edf4ff;
    color: var(--ds-text);
    font-weight: 800;
    border-bottom: 1px solid var(--ds-border-strong);
}

.data-table tbody tr:nth-child(even)[b-u1aneeord3] {
    background: #fbfcfe;
}

.data-table tbody tr:hover[b-u1aneeord3] {
    background: #eef5ff;
}

.data-table td[b-u1aneeord3],
.data-table th[b-u1aneeord3] {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.schedule-item .table-responsive[b-u1aneeord3] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    overflow: hidden;
    background: var(--ds-surface);
}

.form-actions[b-u1aneeord3] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.empty-state[b-u1aneeord3] {
    padding: 1rem;
    border: 1px dashed var(--ds-border-strong);
    border-radius: var(--ds-radius-md);
    color: var(--ds-muted);
    background: var(--ds-surface-alt);
}

.schedule-form[b-u1aneeord3] {
    border-left: 4px solid var(--ds-primary);
}

.schedule-item:has(.status-badge.active)[b-u1aneeord3] {
    border-left: 4px solid var(--ds-success);
}

.schedule-item:has(.status-badge.planned)[b-u1aneeord3] {
    border-left: 4px solid var(--ds-warning);
}

.schedule-item:has(.status-badge.expired)[b-u1aneeord3] {
    border-left: 4px solid var(--ds-danger);
}

@media (max-width: 1100px) {
    .summary-strip[b-u1aneeord3],
    .coverage-kpi-grid[b-u1aneeord3],
    .schedule-metrics[b-u1aneeord3] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .coverage-overview-head[b-u1aneeord3],
    .coverage-issues-head[b-u1aneeord3],
    .page-heading[b-u1aneeord3],
    .schedule-header[b-u1aneeord3] {
        flex-direction: column;
    }

    .summary-strip[b-u1aneeord3],
    .coverage-kpi-grid[b-u1aneeord3],
    .schedule-metrics[b-u1aneeord3],
    .schedule-grid[b-u1aneeord3],
    .coverage-issues-grid[b-u1aneeord3] {
        grid-template-columns: 1fr;
    }

    .summary-strip div[b-u1aneeord3] {
        border-right: 0;
        border-bottom: 1px solid var(--ds-border);
    }

    .summary-strip div:last-child[b-u1aneeord3] {
        border-bottom: 0;
    }
}
/* /Pages/Feed/IndexFeeds.razor.rz.scp.css */
.feed-species-context-banner[b-ph2jove7ui] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--ds-radius-md);
    background: #eef5ff;
    color: var(--ds-text);
    font-weight: 700;
}

.species-tabs[b-ph2jove7ui] {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.species-tab[b-ph2jove7ui] {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--ds-border);
    border-radius: 999px;
    background: var(--ds-surface);
    color: var(--ds-text);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.species-tab:hover[b-ph2jove7ui] {
    border-color: var(--ds-primary);
    color: var(--ds-primary);
}

.species-tab.active[b-ph2jove7ui] {
    background: var(--ds-primary);
    border-color: var(--ds-primary);
    color: #ffffff;
}

.page-heading[b-ph2jove7ui] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.page-heading h3[b-ph2jove7ui] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.page-heading p[b-ph2jove7ui] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.page-heading-actions[b-ph2jove7ui] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.eyebrow[b-ph2jove7ui] {
    color: var(--ds-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.feed-kpi-grid[b-ph2jove7ui],
.feed-dashboard-grid[b-ph2jove7ui] {
    display: grid;
    gap: 1rem;
}

.feed-task-panel[b-ph2jove7ui],
.coverage-quick-card[b-ph2jove7ui],
.task-card[b-ph2jove7ui] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.feed-task-panel[b-ph2jove7ui],
.coverage-quick-card[b-ph2jove7ui] {
    padding: 1rem;
}

.task-list[b-ph2jove7ui] {
    display: grid;
    gap: 0.75rem;
}

.task-card[b-ph2jove7ui] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
}

.task-card.critical[b-ph2jove7ui] {
    border-color: #f3c2c2;
    background: #fff7f7;
}

.task-card.warning[b-ph2jove7ui] {
    border-color: #f2d39c;
    background: #fffaf0;
}

.task-copy[b-ph2jove7ui] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.task-copy div[b-ph2jove7ui] {
    display: grid;
    gap: 0.2rem;
}

.task-copy small[b-ph2jove7ui] {
    color: var(--ds-muted);
}

.coverage-quick-card[b-ph2jove7ui] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.coverage-quick-card h4[b-ph2jove7ui] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.coverage-quick-card p[b-ph2jove7ui] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.coverage-quick-actions[b-ph2jove7ui] {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
}

.coverage-breakdown[b-ph2jove7ui],
.coverage-action-buttons[b-ph2jove7ui] {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-top: 0.7rem;
}

.coverage-chip[b-ph2jove7ui] {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.coverage-chip.resolved[b-ph2jove7ui] {
    color: #166534;
    background: #e9f9ee;
}

.coverage-chip.fallback[b-ph2jove7ui] {
    color: #9a6700;
    background: #fff5d8;
}

.coverage-chip.uncovered[b-ph2jove7ui] {
    color: #b42318;
    background: #feeceb;
}

.feed-kpi-grid[b-ph2jove7ui] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.feed-kpi-card[b-ph2jove7ui],
.feed-panel[b-ph2jove7ui],
.critical-feed-card[b-ph2jove7ui],
.feed-alert-card[b-ph2jove7ui] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.feed-kpi-card[b-ph2jove7ui] {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
}

.feed-kpi-card strong[b-ph2jove7ui] {
    font-size: 1.85rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.feed-kpi-card span[b-ph2jove7ui],
.feed-kpi-card small[b-ph2jove7ui] {
    color: var(--ds-muted);
}

.kpi-bar[b-ph2jove7ui] {
    height: 0.35rem;
    margin-top: 0.15rem;
    border-radius: 999px;
    background: #e7edf5;
    overflow: hidden;
}

.kpi-bar span[b-ph2jove7ui] {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--ds-primary);
}

.feed-kpi-card.warning .kpi-bar span[b-ph2jove7ui] {
    background: var(--ds-warning);
}

.feed-kpi-card.success .kpi-bar span[b-ph2jove7ui] {
    background: var(--ds-success);
}

.feed-kpi-card.danger .kpi-bar span[b-ph2jove7ui] {
    background: var(--ds-danger);
}

.feed-dashboard-grid[b-ph2jove7ui] {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.feed-dashboard-grid.charts[b-ph2jove7ui] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feed-panel[b-ph2jove7ui] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.panel-head[b-ph2jove7ui] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.panel-head h4[b-ph2jove7ui] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.muted-chip[b-ph2jove7ui] {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    color: var(--ds-muted);
    background: var(--ds-surface-alt);
    font-size: 0.78rem;
    font-weight: 800;
}

.critical-feed-list[b-ph2jove7ui],
.alert-card-list[b-ph2jove7ui] {
    display: grid;
    gap: 0.8rem;
}

.critical-feed-card[b-ph2jove7ui],
.feed-alert-card[b-ph2jove7ui] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
}

.critical-feed-copy[b-ph2jove7ui],
.critical-feed-metrics[b-ph2jove7ui],
.feed-alert-main[b-ph2jove7ui],
.feed-alert-actions[b-ph2jove7ui] {
    display: grid;
    gap: 0.2rem;
}

.critical-feed-copy span[b-ph2jove7ui],
.feed-alert-main span[b-ph2jove7ui] {
    color: var(--ds-muted);
}

.critical-feed-metrics[b-ph2jove7ui] {
    justify-items: end;
}

.critical-feed-actions[b-ph2jove7ui],
.feed-alert-actions[b-ph2jove7ui] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.feed-alert-card.critical[b-ph2jove7ui] {
    border-color: #f3c2c2;
    background: #fff7f7;
}

.feed-alert-card.warning[b-ph2jove7ui] {
    border-color: #f2d39c;
    background: #fffaf0;
}

.feed-alert-card.info[b-ph2jove7ui] {
    border-color: #cddcf7;
    background: #f8fbff;
}

.severity-chip[b-ph2jove7ui] {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0 0.6rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
}

.severity-chip.critical[b-ph2jove7ui] {
    color: var(--ds-danger);
    background: #fde8e8;
}

.severity-chip.warning[b-ph2jove7ui] {
    color: var(--ds-warning);
    background: #fff4da;
}

.severity-chip.info[b-ph2jove7ui] {
    color: var(--ds-info);
    background: #e6f6fd;
}

.empty-state[b-ph2jove7ui] {
    padding: 1rem;
    border: 1px dashed var(--ds-border-strong);
    border-radius: var(--ds-radius-md);
    color: var(--ds-muted);
    background: var(--ds-surface-alt);
}

@media (max-width: 1250px) {
    .feed-kpi-grid[b-ph2jove7ui] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feed-dashboard-grid[b-ph2jove7ui],
    .feed-dashboard-grid.charts[b-ph2jove7ui] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page-heading[b-ph2jove7ui],
    .panel-head[b-ph2jove7ui],
    .critical-feed-card[b-ph2jove7ui],
    .feed-alert-card[b-ph2jove7ui],
    .coverage-quick-card[b-ph2jove7ui] {
        flex-direction: column;
    }

    .feed-kpi-grid[b-ph2jove7ui] {
        grid-template-columns: 1fr;
    }

    .critical-feed-metrics[b-ph2jove7ui],
    .feed-alert-actions[b-ph2jove7ui] {
        width: 100%;
        justify-items: start;
        justify-content: flex-start;
    }

    .coverage-quick-actions[b-ph2jove7ui] {
        width: 100%;
        justify-items: stretch;
    }
}
/* /Pages/Feed/NutritionAnalysis.razor.rz.scp.css */
.species-tabs[b-5wd2kptyao] {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.species-tab[b-5wd2kptyao] {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--ds-border);
    border-radius: 999px;
    background: var(--ds-surface);
    color: var(--ds-text);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.species-tab:hover[b-5wd2kptyao] {
    border-color: var(--ds-primary);
    color: var(--ds-primary);
}

.species-tab.active[b-5wd2kptyao] {
    background: var(--ds-primary);
    border-color: var(--ds-primary);
    color: #fff;
}

.nutrition-analysis-page[b-5wd2kptyao],
.nutrition-main-grid[b-5wd2kptyao],
.nutrition-chart-grid[b-5wd2kptyao],
.nutrition-kpi-grid[b-5wd2kptyao],
.species-card-list[b-5wd2kptyao],
.recommendation-list[b-5wd2kptyao],
.weak-ration-grid[b-5wd2kptyao],
.species-analysis-metrics[b-5wd2kptyao],
.weak-ration-stats[b-5wd2kptyao],
.focus-chips[b-5wd2kptyao],
.recommendation-actions[b-5wd2kptyao],
.ration-status-row[b-5wd2kptyao] {
    display: grid;
    gap: 1rem;
}

.page-heading[b-5wd2kptyao],
.page-heading-actions[b-5wd2kptyao],
.nutrition-plan-actions[b-5wd2kptyao] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.nutrition-focus-card[b-5wd2kptyao],
.panel-head[b-5wd2kptyao],
.species-analysis-head[b-5wd2kptyao],
.recommendation-head[b-5wd2kptyao],
.weak-ration-head[b-5wd2kptyao] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.page-heading h3[b-5wd2kptyao],
.nutrition-focus-card h4[b-5wd2kptyao],
.panel-head h4[b-5wd2kptyao] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.page-heading p[b-5wd2kptyao],
.nutrition-focus-card p[b-5wd2kptyao],
.recommendation-card p[b-5wd2kptyao] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.page-heading-actions[b-5wd2kptyao],
.focus-chips[b-5wd2kptyao],
.ration-status-row[b-5wd2kptyao],
.recommendation-actions[b-5wd2kptyao] {
    display: flex;
    flex-wrap: wrap;
}

.eyebrow[b-5wd2kptyao] {
    color: var(--ds-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nutrition-plan-actions[b-5wd2kptyao] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.nutrition-focus-card[b-5wd2kptyao],
.nutrition-kpi-card[b-5wd2kptyao],
.nutrition-panel[b-5wd2kptyao],
.species-analysis-card[b-5wd2kptyao],
.recommendation-card[b-5wd2kptyao],
.weak-ration-card[b-5wd2kptyao] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.nutrition-plan-actions[b-5wd2kptyao] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.nutrition-focus-card[b-5wd2kptyao],
.nutrition-panel[b-5wd2kptyao],
.nutrition-kpi-card[b-5wd2kptyao],
.species-analysis-card[b-5wd2kptyao],
.recommendation-card[b-5wd2kptyao],
.weak-ration-card[b-5wd2kptyao] {
    padding: 1rem;
}

.focus-chips[b-5wd2kptyao] {
    align-content: center;
}

.coverage-chip[b-5wd2kptyao] {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.coverage-chip.resolved[b-5wd2kptyao] {
    color: #166534;
    background: #e9f9ee;
}

.coverage-chip.fallback[b-5wd2kptyao] {
    color: #9a6700;
    background: #fff5d8;
}

.coverage-chip.uncovered[b-5wd2kptyao] {
    color: #b42318;
    background: #feeceb;
}

.nutrition-kpi-grid[b-5wd2kptyao] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.nutrition-kpi-card[b-5wd2kptyao] {
    display: grid;
    gap: 0.35rem;
}

.nutrition-kpi-card strong[b-5wd2kptyao] {
    font-size: 1.85rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.nutrition-kpi-card span[b-5wd2kptyao],
.nutrition-kpi-card small[b-5wd2kptyao],
.species-analysis-card small[b-5wd2kptyao],
.recommendation-card small[b-5wd2kptyao],
.weak-ration-card small[b-5wd2kptyao] {
    color: var(--ds-muted);
}

.nutrition-kpi-card.strong .kpi-bar span[b-5wd2kptyao] {
    background: #16a34a;
}

.nutrition-kpi-card.medium .kpi-bar span[b-5wd2kptyao],
.nutrition-kpi-card.info .kpi-bar span[b-5wd2kptyao] {
    background: #2563eb;
}

.nutrition-kpi-card.watch .kpi-bar span[b-5wd2kptyao] {
    background: #d97706;
}

.nutrition-kpi-card.weak .kpi-bar span[b-5wd2kptyao],
.nutrition-kpi-card.danger .kpi-bar span[b-5wd2kptyao] {
    background: #dc2626;
}

.nutrition-kpi-card.success .kpi-bar span[b-5wd2kptyao] {
    background: #16a34a;
}

.kpi-bar[b-5wd2kptyao] {
    height: 0.35rem;
    margin-top: 0.15rem;
    border-radius: 999px;
    background: #e7edf5;
    overflow: hidden;
}

.kpi-bar span[b-5wd2kptyao] {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.nutrition-chart-grid[b-5wd2kptyao],
.nutrition-main-grid[b-5wd2kptyao] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nutrition-panel--full[b-5wd2kptyao] {
    grid-column: 1 / -1;
}

.nutrition-species-rations-panel .panel-head p[b-5wd2kptyao] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
    max-width: 52rem;
}

.ration-score-compare-list[b-5wd2kptyao] {
    display: grid;
    gap: 0.75rem;
}

.ration-score-row[b-5wd2kptyao] {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 2fr) auto auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.ration-score-copy[b-5wd2kptyao] {
    display: grid;
    gap: 0.15rem;
}

.ration-score-copy strong[b-5wd2kptyao] {
    color: var(--ds-text);
}

.ration-score-copy small[b-5wd2kptyao] {
    color: var(--ds-muted);
}

.ration-score-track[b-5wd2kptyao] {
    height: 0.7rem;
    border-radius: 999px;
    background: #e7edf5;
    overflow: hidden;
}

.ration-score-track span[b-5wd2kptyao] {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #2563eb;
}

.ration-score-row.weak .ration-score-track span[b-5wd2kptyao] {
    background: #dc2626;
}

.ration-score-row.watch .ration-score-track span[b-5wd2kptyao] {
    background: #d97706;
}

.ration-score-row.strong .ration-score-track span[b-5wd2kptyao],
.ration-score-row.medium .ration-score-track span[b-5wd2kptyao] {
    background: #16a34a;
}

.ration-score-value[b-5wd2kptyao] {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    font-weight: 900;
    color: var(--ds-text);
    min-width: 3.5rem;
    justify-content: flex-end;
}

.ration-score-value small[b-5wd2kptyao] {
    color: var(--ds-muted);
    font-size: 0.78rem;
}

.ration-score-status[b-5wd2kptyao] {
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #1d4ed8;
    white-space: nowrap;
}

.ration-score-row.weak .ration-score-status[b-5wd2kptyao] {
    background: #fef2f2;
    color: #991b1b;
}

.ration-score-row.watch .ration-score-status[b-5wd2kptyao] {
    background: #fff7ed;
    color: #9a3412;
}

.weak-ration-species[b-5wd2kptyao] {
    display: block;
    color: var(--ds-muted);
}

@media (max-width: 900px) {
    .ration-score-row[b-5wd2kptyao] {
        grid-template-columns: 1fr;
    }
}

.nutrition-panel[b-5wd2kptyao] {
    display: grid;
    gap: 1rem;
}

.species-card-list[b-5wd2kptyao],
.recommendation-list[b-5wd2kptyao],
.weak-ration-grid[b-5wd2kptyao] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.species-analysis-card[b-5wd2kptyao],
.recommendation-card[b-5wd2kptyao],
.weak-ration-card[b-5wd2kptyao] {
    display: grid;
    gap: 0.9rem;
}

.species-analysis-metrics[b-5wd2kptyao],
.weak-ration-stats[b-5wd2kptyao] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.species-analysis-metrics > div[b-5wd2kptyao],
.weak-ration-stats > div[b-5wd2kptyao] {
    padding: 0.8rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
    display: grid;
    gap: 0.25rem;
}

.nutrition-score-badge[b-5wd2kptyao] {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
}

.nutrition-score-badge.strong[b-5wd2kptyao] {
    background: #e9f9ee;
    color: #166534;
}

.nutrition-score-badge.medium[b-5wd2kptyao] {
    background: #edf4ff;
    color: #1d4ed8;
}

.nutrition-score-badge.watch[b-5wd2kptyao] {
    background: #fff5d8;
    color: #9a6700;
}

.nutrition-score-badge.weak[b-5wd2kptyao] {
    background: #fde8e8;
    color: #b42318;
}

.status-chip[b-5wd2kptyao] {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.status-chip.ok[b-5wd2kptyao] {
    color: #166534;
    background: #e9f9ee;
}

.status-chip.watch[b-5wd2kptyao] {
    color: #9a6700;
    background: #fff5d8;
}

.status-chip.low[b-5wd2kptyao],
.status-chip.high[b-5wd2kptyao] {
    color: #b42318;
    background: #feeceb;
}

.severity-chip[b-5wd2kptyao] {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0 0.6rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
}

.severity-chip.critical[b-5wd2kptyao] {
    color: var(--ds-danger);
    background: #fde8e8;
}

.severity-chip.warning[b-5wd2kptyao] {
    color: var(--ds-warning);
    background: #fff4da;
}

.severity-chip.info[b-5wd2kptyao] {
    color: var(--ds-info);
    background: #e6f6fd;
}

.compact-list[b-5wd2kptyao] {
    margin: 0;
    padding-left: 1rem;
}

.compact-list li + li[b-5wd2kptyao] {
    margin-top: 0.25rem;
}

.warning-list[b-5wd2kptyao] {
    color: #9a6700;
}

.recommendation-list-compact[b-5wd2kptyao] {
    color: #166534;
}

.recommendation-card.critical[b-5wd2kptyao] {
    border-color: #f3c2c2;
    background: #fff7f7;
}

.recommendation-card.warning[b-5wd2kptyao] {
    border-color: #f2d39c;
    background: #fffaf0;
}

.recommendation-card.info[b-5wd2kptyao] {
    border-color: #cddcf7;
    background: #f8fbff;
}

.empty-state[b-5wd2kptyao] {
    padding: 1rem;
    border: 1px dashed var(--ds-border-strong);
    border-radius: var(--ds-radius-md);
    color: var(--ds-muted);
    background: var(--ds-surface-alt);
}

@media (max-width: 1250px) {
    .nutrition-kpi-grid[b-5wd2kptyao] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nutrition-chart-grid[b-5wd2kptyao],
    .nutrition-main-grid[b-5wd2kptyao],
    .species-card-list[b-5wd2kptyao],
    .recommendation-list[b-5wd2kptyao],
    .weak-ration-grid[b-5wd2kptyao] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page-heading[b-5wd2kptyao],
    .nutrition-plan-actions[b-5wd2kptyao] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.nutrition-focus-card[b-5wd2kptyao],
    .panel-head[b-5wd2kptyao],
    .species-analysis-head[b-5wd2kptyao],
    .recommendation-head[b-5wd2kptyao],
    .weak-ration-head[b-5wd2kptyao] {
        flex-direction: column;
    }

    .nutrition-kpi-grid[b-5wd2kptyao],
    .species-analysis-metrics[b-5wd2kptyao],
    .weak-ration-stats[b-5wd2kptyao] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Feed/Rations.razor.rz.scp.css */
.species-tabs[b-bx31e9p5uw],
.fl-chip-row.ration-species-tabs[b-bx31e9p5uw] {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
}

.feed-rations-page[b-bx31e9p5uw] {
    display: grid;
    gap: 2rem;
    padding-bottom: 1.5rem;
}

.page-heading[b-bx31e9p5uw],
.drawer-head[b-bx31e9p5uw],
.drawer-items-head[b-bx31e9p5uw],
.drawer-footer[b-bx31e9p5uw],
.drawer-footer-actions[b-bx31e9p5uw] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.page-heading h3[b-bx31e9p5uw],
.fl-coverage-panel h4[b-bx31e9p5uw],
.drawer-head h4[b-bx31e9p5uw] {
    margin: 0;
    color: var(--fl-text, var(--ds-text));
    font-weight: 800;
}

.page-heading p[b-bx31e9p5uw],
.fl-coverage-hint[b-bx31e9p5uw] {
    margin: 0.35rem 0 0;
    color: var(--fl-muted, var(--ds-muted));
    font-size: 0.875rem;
}

.drawer-head p[b-bx31e9p5uw] {
    margin: 0.35rem 0 0;
    color: var(--fl-muted, var(--ds-muted));
}

.eyebrow[b-bx31e9p5uw] {
    color: var(--fl-primary, var(--ds-accent));
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* —— Couverture panel (unified KPI strip) —— */
.fl-coverage-panel[b-bx31e9p5uw],
.ration-form-drawer[b-bx31e9p5uw] {
    border: 1px solid var(--fl-border, var(--ds-border));
    border-radius: var(--fl-radius-lg, var(--ds-radius-lg));
    background: var(--fl-surface, var(--ds-surface));
    box-shadow: var(--fl-shadow-soft, var(--ds-soft-shadow));
    padding: 1.25rem;
    display: grid;
    gap: 1rem;
}

.fl-coverage-panel-head h4[b-bx31e9p5uw] {
    margin: 0.15rem 0 0;
}

.fl-coverage-hint[b-bx31e9p5uw] {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
}

.fl-coverage-kpi-grid[b-bx31e9p5uw] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.fl-coverage-kpi[b-bx31e9p5uw] {
    display: grid;
    gap: 0.15rem;
    padding: 0.85rem 1rem;
    border-radius: var(--fl-radius-md, var(--ds-radius-md));
    border: 1px solid var(--fl-border, var(--ds-border));
    background: var(--fl-surface-muted, var(--ds-surface-alt));
}

.fl-coverage-kpi span[b-bx31e9p5uw] {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--fl-muted, var(--ds-muted));
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fl-coverage-kpi strong[b-bx31e9p5uw] {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--fl-text, var(--ds-text));
    line-height: 1.1;
}

.fl-coverage-kpi small[b-bx31e9p5uw] {
    font-size: 0.75rem;
    color: var(--fl-muted, var(--ds-muted));
}

.fl-coverage-kpi--resolved[b-bx31e9p5uw] {
    background: color-mix(in srgb, var(--fl-success, #16a34a) 10%, white);
    border-color: color-mix(in srgb, var(--fl-success, #16a34a) 25%, transparent);
}

.fl-coverage-kpi--fallback[b-bx31e9p5uw] {
    background: color-mix(in srgb, var(--fl-warning, #d97706) 12%, white);
    border-color: color-mix(in srgb, var(--fl-warning, #d97706) 25%, transparent);
}

.fl-coverage-kpi--uncovered[b-bx31e9p5uw] {
    background: color-mix(in srgb, var(--fl-danger, #dc2626) 10%, white);
    border-color: color-mix(in srgb, var(--fl-danger, #dc2626) 22%, transparent);
}

.fl-coverage-actions[b-bx31e9p5uw] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding-top: 0.25rem;
    border-top: 1px solid var(--fl-border, var(--ds-border));
}

.coverage-issue-chips[b-bx31e9p5uw] {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.coverage-issue-chip[b-bx31e9p5uw] {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--fl-danger, var(--ds-danger));
    background: #fde8e8;
}

/* —— Ration tiles grid (parent page) —— */
.ration-card-list[b-bx31e9p5uw] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 0.25rem;
}

.coverage-summary-card[b-bx31e9p5uw] {
    display: grid;
    gap: 1.25rem;
    padding: 1.5rem;
    border: 1px solid var(--fl-border, var(--ds-border));
    border-radius: var(--fl-radius-lg, var(--ds-radius-lg));
    background: var(--fl-surface, var(--ds-surface));
    box-shadow: var(--fl-shadow-soft, var(--ds-soft-shadow));
}

.coverage-summary-card h4[b-bx31e9p5uw] {
    margin: 0.15rem 0 0;
    font-weight: 800;
}

.coverage-breakdown[b-bx31e9p5uw],
.coverage-card-actions[b-bx31e9p5uw] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.coverage-chip[b-bx31e9p5uw] {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.coverage-chip.resolved[b-bx31e9p5uw] { color: #166534; background: #e9f9ee; }
.coverage-chip.fallback[b-bx31e9p5uw] { color: #9a6700; background: #fff5d8; }
.coverage-chip.uncovered[b-bx31e9p5uw] { color: #b42318; background: #feeceb; }

.muted-chip[b-bx31e9p5uw] {
    display: inline-flex;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    color: var(--fl-muted);
    background: #f1f5f9;
}

.ration-form-drawer[b-bx31e9p5uw] { padding: 1rem; }
.top-form[b-bx31e9p5uw] { margin-bottom: 0.25rem; }

.drawer-grid[b-bx31e9p5uw],
.drawer-items[b-bx31e9p5uw],
.nutrition-score-grid[b-bx31e9p5uw],
.nutrition-status-grid[b-bx31e9p5uw],
.nutrition-insights[b-bx31e9p5uw] {
    display: grid;
    gap: 0.9rem;
}

.drawer-grid[b-bx31e9p5uw] { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.drawer-item-row[b-bx31e9p5uw] {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 180px 120px;
    gap: 0.75rem;
}

.drawer-footer[b-bx31e9p5uw] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--fl-border);
}

.nutrition-audit-card[b-bx31e9p5uw] {
    display: grid;
    gap: 0.9rem;
    padding: 0.85rem;
    border: 1px solid var(--fl-border);
    border-radius: var(--fl-radius-md);
    background: var(--fl-surface-muted);
}

.nutrition-score-grid[b-bx31e9p5uw],
.nutrition-status-grid[b-bx31e9p5uw] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nutrition-score-tile[b-bx31e9p5uw],
.nutrition-status-tile[b-bx31e9p5uw] {
    padding: 0.65rem;
    border-radius: var(--fl-radius-md);
    border: 1px solid var(--fl-border);
    display: grid;
    gap: 0.25rem;
}

.nutrition-score-badge.strong[b-bx31e9p5uw],
.nutrition-score-tile.strong[b-bx31e9p5uw] { background: #e9f9ee; color: #166534; }
.nutrition-score-badge.watch[b-bx31e9p5uw],
.nutrition-score-tile.watch[b-bx31e9p5uw] { background: #fff5d8; color: #9a6700; }
.nutrition-score-badge.weak[b-bx31e9p5uw],
.nutrition-score-tile.weak[b-bx31e9p5uw] { background: #fde8e8; color: #b42318; }

.ration-empty-state[b-bx31e9p5uw] {
    text-align: center;
    padding: 2rem;
    border: 1px dashed var(--fl-border);
    border-radius: var(--fl-radius-lg);
    background: var(--fl-surface-muted);
}

.species-default-card[b-bx31e9p5uw] {
    border-left: 4px solid var(--fl-primary);
}

@media (max-width: 1100px) {
    .drawer-grid[b-bx31e9p5uw],
    .nutrition-score-grid[b-bx31e9p5uw],
    .nutrition-status-grid[b-bx31e9p5uw] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ration-card-list[b-bx31e9p5uw] {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 720px) {
    .page-heading[b-bx31e9p5uw],
    .drawer-head[b-bx31e9p5uw],
    .drawer-footer[b-bx31e9p5uw] {
        flex-direction: column;
    }

    .fl-coverage-kpi-grid[b-bx31e9p5uw] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fl-coverage-actions[b-bx31e9p5uw] {
        flex-direction: column;
        align-items: stretch;
    }

    .fl-coverage-actions .fl-btn[b-bx31e9p5uw] {
        width: 100%;
        justify-content: center;
    }

    .ration-card-list[b-bx31e9p5uw] {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .drawer-grid[b-bx31e9p5uw],
    .drawer-item-row[b-bx31e9p5uw],
    .nutrition-score-grid[b-bx31e9p5uw],
    .nutrition-status-grid[b-bx31e9p5uw] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Feed/Stock.razor.rz.scp.css */
.feed-stock-v2[b-kil0tgk1wn] {
    display: grid;
    gap: 1rem;
    padding-bottom: 1rem;
}

.page-heading[b-kil0tgk1wn],
.panel-head[b-kil0tgk1wn],
.action-panel-head[b-kil0tgk1wn],
.stock-row-title[b-kil0tgk1wn],
.stock-row-actions[b-kil0tgk1wn],
.stock-summary-card[b-kil0tgk1wn],
.stock-audit-banner[b-kil0tgk1wn] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.page-heading h3[b-kil0tgk1wn],
.action-panel-head h4[b-kil0tgk1wn],
.stock-summary-card h4[b-kil0tgk1wn] {
    margin: 0;
    color: var(--ds-text);
    font-weight: 900;
}

.page-heading p[b-kil0tgk1wn],
.action-panel-head p[b-kil0tgk1wn],
.stock-summary-card p[b-kil0tgk1wn],
.stock-row-subtitle[b-kil0tgk1wn],
.forecast-mini-panel small[b-kil0tgk1wn] {
    margin: 0.35rem 0 0;
    color: var(--ds-muted);
}

.page-heading-actions[b-kil0tgk1wn],
.stock-summary-chips[b-kil0tgk1wn] {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.eyebrow[b-kil0tgk1wn] {
    color: var(--ds-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.stock-summary-card[b-kil0tgk1wn],
.stock-kpi-card[b-kil0tgk1wn],
.stock-audit-banner[b-kil0tgk1wn],
.stock-row-card[b-kil0tgk1wn],
.stock-action-panel[b-kil0tgk1wn] {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface);
    box-shadow: var(--ds-soft-shadow);
}

.stock-summary-card[b-kil0tgk1wn],
.stock-audit-banner[b-kil0tgk1wn],
.stock-action-panel[b-kil0tgk1wn] {
    padding: 1rem;
}

.summary-chip[b-kil0tgk1wn] {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    color: var(--ds-muted);
    background: var(--ds-surface-alt);
    font-size: 0.78rem;
    font-weight: 800;
}

.stock-kpi-grid[b-kil0tgk1wn],
.stock-layout[b-kil0tgk1wn],
.stock-row-metrics[b-kil0tgk1wn],
.action-form-grid[b-kil0tgk1wn] {
    display: grid;
    gap: 0.9rem;
}

.stock-kpi-grid[b-kil0tgk1wn] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stock-kpi-card[b-kil0tgk1wn] {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
}

.stock-kpi-card strong[b-kil0tgk1wn] {
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stock-kpi-card span[b-kil0tgk1wn],
.stock-kpi-card small[b-kil0tgk1wn] {
    color: var(--ds-muted);
}

.stock-kpi-card.warning[b-kil0tgk1wn] {
    border-color: #f1d59b;
}

.stock-kpi-card.success[b-kil0tgk1wn] {
    border-color: #c6ddd0;
}

.stock-audit-banner.is-warning[b-kil0tgk1wn] {
    border-color: #f4c97d;
    background: #fff8ee;
}

.stock-audit-banner.is-good[b-kil0tgk1wn] {
    border-color: #bddfc7;
    background: #f6fbf8;
}

.stock-layout[b-kil0tgk1wn] {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    align-items: start;
}

.stock-list-panel[b-kil0tgk1wn] {
    display: grid;
    gap: 0.85rem;
}

.stock-row-card[b-kil0tgk1wn] {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.stock-row-card.is-danger[b-kil0tgk1wn] {
    border-color: #f3c2c2;
}

.stock-row-card.is-warning[b-kil0tgk1wn] {
    border-color: #f2d39c;
}

.stock-row-card.is-good[b-kil0tgk1wn] {
    border-color: #c6ddd0;
}

.status-badge[b-kil0tgk1wn] {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
}

.status-badge.danger[b-kil0tgk1wn] {
    color: var(--ds-danger);
    background: #fde8e8;
}

.status-badge.warning[b-kil0tgk1wn] {
    color: var(--ds-warning);
    background: #fff4da;
}

.status-badge.good[b-kil0tgk1wn] {
    color: var(--ds-success);
    background: #dff5e8;
}

.stock-row-title[b-kil0tgk1wn] {
    align-items: center;
}

.stock-row-subtitle[b-kil0tgk1wn] {
    font-size: 0.92rem;
}

.stock-progress-wrap[b-kil0tgk1wn] {
    display: grid;
    gap: 0.35rem;
}

.stock-progress-meta[b-kil0tgk1wn] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--ds-muted);
}

.stock-progress-meta strong[b-kil0tgk1wn] {
    color: var(--ds-text);
    font-size: 0.95rem;
}

.stock-progress[b-kil0tgk1wn] {
    height: 0.65rem;
    border-radius: 999px;
    background: #e7edf5;
    overflow: hidden;
}

.stock-progress span[b-kil0tgk1wn] {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--ds-success);
    transition: width 0.25s ease;
}

.stock-progress span.is-good[b-kil0tgk1wn] {
    background: var(--ds-success);
}

.stock-progress span.is-warning[b-kil0tgk1wn] {
    background: var(--ds-warning);
}

.stock-progress span.is-danger[b-kil0tgk1wn] {
    background: var(--ds-danger);
}

.stock-row-metrics[b-kil0tgk1wn] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stock-row-metrics > div[b-kil0tgk1wn] {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.stock-row-metrics span[b-kil0tgk1wn] {
    color: var(--ds-muted);
}

.stock-row-actions[b-kil0tgk1wn] {
    align-items: center;
    flex-wrap: wrap;
}

.stock-action-panel[b-kil0tgk1wn] {
    position: sticky;
    top: 8.6rem;
    display: grid;
    gap: 1rem;
}

.top-action-panel[b-kil0tgk1wn] {
    position: static;
}

.action-panel-context[b-kil0tgk1wn],
.forecast-mini-panel[b-kil0tgk1wn] {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-alt);
}

.action-panel-context span[b-kil0tgk1wn],
.forecast-mini-panel small[b-kil0tgk1wn] {
    color: var(--ds-muted);
}

.action-form-grid > button[b-kil0tgk1wn] {
    justify-self: start;
}

@media (max-width: 1180px) {
    .stock-kpi-grid[b-kil0tgk1wn] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stock-layout[b-kil0tgk1wn] {
        grid-template-columns: 1fr;
    }
}

#stock-action-panel[b-kil0tgk1wn] {
    scroll-margin-top: 5.5rem;
}

.stock-action-panel.is-open[b-kil0tgk1wn] {
    border-color: var(--ds-accent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--ds-accent) 25%, transparent), var(--ds-soft-shadow);
}

.stock-row-card.is-active[b-kil0tgk1wn] {
    border-color: var(--ds-accent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--ds-accent) 20%, transparent), var(--ds-soft-shadow);
}

.stock-content.is-reloading[b-kil0tgk1wn] {
    opacity: 0.72;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.stock-content[b-kil0tgk1wn] {
    display: grid;
    gap: 1rem;
}

@media (max-width: 720px) {
    .page-heading[b-kil0tgk1wn],
    .stock-summary-card[b-kil0tgk1wn],
    .stock-audit-banner[b-kil0tgk1wn],
    .stock-row-title[b-kil0tgk1wn],
    .stock-row-actions[b-kil0tgk1wn],
    .action-panel-head[b-kil0tgk1wn] {
        flex-direction: column;
    }

    .stock-kpi-grid[b-kil0tgk1wn],
    .stock-row-metrics[b-kil0tgk1wn] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Translations.razor.rz.scp.css */
.translation-page[b-6z2wmyv1ws] {
    display: grid;
    gap: 1rem;
}

.translation-stats[b-6z2wmyv1ws] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.875rem;
}

.translation-health-panel[b-6z2wmyv1ws] {
    gap: 1rem;
}

.translation-health-grid[b-6z2wmyv1ws] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.translation-health-card[b-6z2wmyv1ws] {
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    background: var(--ds-surface-soft);
}

.translation-health-card strong[b-6z2wmyv1ws] {
    color: var(--ds-text);
    font-weight: 800;
}

.translation-health-card span[b-6z2wmyv1ws],
.translation-health-card small[b-6z2wmyv1ws] {
    color: var(--ds-muted);
}

.translation-stat-card[b-6z2wmyv1ws] {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: var(--ds-radius-lg);
    border: 1px solid var(--ds-border);
    background: var(--ds-surface);
    box-shadow: var(--ds-shadow-sm);
}

.translation-stat-card span[b-6z2wmyv1ws] {
    color: var(--ds-muted);
    font-size: 0.88rem;
    font-weight: 650;
}

.translation-stat-card strong[b-6z2wmyv1ws] {
    color: var(--ds-text);
    font-size: 1.75rem;
    font-weight: 850;
}

.translation-workspace[b-6z2wmyv1ws] {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 2fr);
    gap: 1rem;
    align-items: start;
}

.translation-sidebar[b-6z2wmyv1ws],
.translation-main[b-6z2wmyv1ws] {
    min-width: 0;
}

.translation-section[b-6z2wmyv1ws] {
    display: grid;
    gap: 1rem;
}

.translation-language-list[b-6z2wmyv1ws] {
    display: grid;
    gap: 0.65rem;
}

.translation-language-card[b-6z2wmyv1ws],
.translation-bundle-card[b-6z2wmyv1ws] {
    width: 100%;
    text-align: left;
    border-radius: var(--ds-radius-lg);
    border: 1px solid var(--ds-border);
    background: var(--ds-surface);
    box-shadow: var(--ds-shadow-sm);
    padding: 0.85rem 0.95rem;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.translation-language-card:hover[b-6z2wmyv1ws],
.translation-bundle-card:hover[b-6z2wmyv1ws] {
    border-color: var(--ds-primary-soft);
    box-shadow: var(--ds-shadow-md);
    transform: translateY(-1px);
}

.translation-language-card.selected[b-6z2wmyv1ws],
.translation-bundle-card.selected[b-6z2wmyv1ws] {
    border-color: var(--ds-primary);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12), var(--ds-shadow-md);
}

.translation-language-card[b-6z2wmyv1ws] {
    display: grid;
    gap: 0.75rem;
}

.translation-language-card-main[b-6z2wmyv1ws] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.translation-language-card-main strong[b-6z2wmyv1ws] {
    font-weight: 800;
    color: var(--ds-text);
}

.translation-language-card-main small[b-6z2wmyv1ws] {
    color: var(--ds-muted);
}

.translation-language-card-badges[b-6z2wmyv1ws] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.translation-badge[b-6z2wmyv1ws] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.55rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0;
}

.translation-badge.success[b-6z2wmyv1ws] {
    color: #166534;
    background: #dcfce7;
}

.translation-badge.warning[b-6z2wmyv1ws] {
    color: #92400e;
    background: #fef3c7;
}

.translation-badge.danger[b-6z2wmyv1ws] {
    color: #991b1b;
    background: #fee2e2;
}

.translation-badge.muted[b-6z2wmyv1ws] {
    color: #475569;
    background: #e2e8f0;
}

.translation-form-grid[b-6z2wmyv1ws] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}

.translation-filter-bar[b-6z2wmyv1ws] {
    grid-template-columns: minmax(0, 1.25fr) minmax(200px, 0.75fr) auto auto;
    align-items: end;
}

.translation-filter-actions[b-6z2wmyv1ws],
.translation-actions[b-6z2wmyv1ws] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.checkbox-line[b-6z2wmyv1ws] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 650;
    color: var(--ds-text);
}

.bundle-meta-grid[b-6z2wmyv1ws] {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr) minmax(0, 1.2fr) minmax(0, 0.7fr);
}

.bundle-description[b-6z2wmyv1ws] {
    grid-column: span 1;
}

.translation-bundle-layout[b-6z2wmyv1ws] {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.55fr);
    gap: 1rem;
    align-items: start;
}

.translation-bundle-list[b-6z2wmyv1ws] {
    display: grid;
    gap: 0.65rem;
    max-height: 78vh;
    overflow: auto;
    padding-right: 0.15rem;
}

.translation-list-head[b-6z2wmyv1ws] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 0.75rem;
    padding: 0 0.35rem;
    color: var(--ds-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.translation-bundle-card[b-6z2wmyv1ws] {
    display: grid;
    gap: 0.7rem;
}

.translation-bundle-card-top[b-6z2wmyv1ws],
.bundle-value-card-head[b-6z2wmyv1ws] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.translation-bundle-card-top strong[b-6z2wmyv1ws] {
    color: var(--ds-text);
    font-weight: 800;
    word-break: break-word;
}

.translation-bundle-card-meta[b-6z2wmyv1ws] {
    display: grid;
    gap: 0.2rem;
    color: var(--ds-muted);
    font-size: 0.88rem;
}

.translation-missing-summary[b-6z2wmyv1ws] {
    color: #b45309;
    font-weight: 700;
}

.translation-bundle-preview[b-6z2wmyv1ws] {
    display: grid;
    gap: 0.35rem;
    color: var(--ds-text);
    font-size: 0.84rem;
}

.translation-bundle-preview span[b-6z2wmyv1ws] {
    display: block;
    padding: 0.4rem 0.55rem;
    border-radius: var(--ds-radius-md);
    background: var(--ds-surface-soft);
    color: var(--ds-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.translation-editor[b-6z2wmyv1ws] {
    min-width: 0;
    display: grid;
    gap: 1rem;
}

.bundle-value-card.missing[b-6z2wmyv1ws] {
    border-color: #f59e0b;
    background: #fffaf0;
}

.editor-head[b-6z2wmyv1ws] {
    align-items: start;
}

.bundle-values-header[b-6z2wmyv1ws] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--ds-muted);
    font-size: 0.88rem;
}

.bundle-values-grid[b-6z2wmyv1ws] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.875rem;
}

.bundle-value-card[b-6z2wmyv1ws] {
    display: grid;
    gap: 0.75rem;
    padding: 0.95rem;
    border-radius: var(--ds-radius-lg);
    border: 1px solid var(--ds-border);
    background: var(--ds-surface);
    box-shadow: var(--ds-shadow-sm);
}

.bundle-value-card-head strong[b-6z2wmyv1ws] {
    display: block;
    color: var(--ds-text);
    font-weight: 800;
}

.bundle-value-card-head small[b-6z2wmyv1ws] {
    color: var(--ds-muted);
}

.bundle-value-input[b-6z2wmyv1ws] {
    min-height: 8.5rem;
    resize: vertical;
}

.bundle-value-foot[b-6z2wmyv1ws] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--ds-muted);
    font-size: 0.82rem;
}

.translation-empty[b-6z2wmyv1ws] {
    padding: 1.25rem;
    border-radius: var(--ds-radius-lg);
    border: 1px dashed var(--ds-border);
    background: var(--ds-surface-soft);
    color: var(--ds-muted);
}

.translation-empty.compact[b-6z2wmyv1ws] {
    padding: 0.95rem;
}

@media (max-width: 1300px) {
    .translation-stats[b-6z2wmyv1ws],
    .translation-workspace[b-6z2wmyv1ws],
    .translation-bundle-layout[b-6z2wmyv1ws],
    .translation-filter-bar[b-6z2wmyv1ws] {
        grid-template-columns: 1fr;
    }

    .translation-form-grid[b-6z2wmyv1ws],
    .bundle-meta-grid[b-6z2wmyv1ws] {
        grid-template-columns: 1fr;
    }

    .bundle-description[b-6z2wmyv1ws] {
        grid-column: auto;
    }

    .translation-filter-actions[b-6z2wmyv1ws],
    .translation-actions[b-6z2wmyv1ws] {
        justify-content: stretch;
    }
}

@media (max-width: 900px) {
    .translation-stats[b-6z2wmyv1ws] {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .translation-stats[b-6z2wmyv1ws] {
        grid-template-columns: 1fr;
    }

    .translation-bundle-list[b-6z2wmyv1ws] {
        max-height: none;
    }
}
