/* ============================================
   Real Food Rating - Radzen Theme Overrides
   ============================================ */

/* Radzen Primary Color Overrides */
:root {
    --rz-primary-rgb: 6, 79, 59 !important;
    --rz-primary-contrast: #ffffff !important;
    
    
    --rz-secondary: var(--rfr-primary-light) !important;
    --rz-secondary-dark: var(--rfr-primary-light-hover) !important;
    --rz-secondary-light: var(--rfr-primary-light-50) !important;
    --rz-secondary-contrast: var(--rfr-primary-dark) !important;
    
    --rz-success: var(--rfr-primary-light) !important;
    --rz-success-dark: var(--rfr-primary-light-hover) !important;
    --rz-success-light: var(--rfr-primary-light-50) !important;
    --rz-success-contrast: var(--rfr-primary-dark) !important;

    /* Type and surfaces */
    --rfr-font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --rfr-font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
    --rfr-ground: #F6F7F5;
    --rfr-line: #E3E7E3;
    --rfr-muted: #5F6C66;
    --rfr-faint: #8C9791;

}

/* RadzenTheme's stylesheet loads after this file, so these overrides need the higher
   specificity of html:root to win. Primary is the brand's dark green; mint is the accent. */
html:root {
    --rz-text-font-family: var(--rfr-font-sans);
    --rz-body-font-size: 0.875rem;
    --rz-body-background-color: var(--rfr-ground);
    --rz-border-radius: 8px;
    --rz-primary: #064F3B;
    --rz-primary-dark: #053a2a;
    --rz-primary-darker: #04251c;
    --rz-primary-light: #34D399;
    --rz-primary-lighter: rgba(52, 211, 153, 0.16);
    --rz-on-primary: #ffffff;
    --rz-on-primary-lighter: #0B6B4C;
    --rz-card-shadow: none;
    --rz-card-border: 1px solid var(--rfr-line);
}

body {
    background: var(--rfr-ground) !important;
    background-image: none !important;
    color: #15211C;
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

.rz-card {
    border-radius: 10px;
}

/* Radzen Button Styles */
.rz-button-primary {
    background-color: var(--rfr-primary-dark) !important;
    border-color: var(--rfr-primary-dark) !important;
    color: #ffffff !important;
}

.rz-button-primary:hover {
    background-color: var(--rfr-primary-dark-hover) !important;
    border-color: var(--rfr-primary-dark-hover) !important;
}

.rz-button-primary:active,
.rz-button-primary:focus {
    background-color: var(--rfr-primary-dark-active) !important;
    border-color: var(--rfr-primary-dark-active) !important;
    box-shadow: 0 0 0 0.2rem rgba(6, 79, 59, 0.25) !important;
}

.rz-button-success {
    background-color: var(--rfr-primary-light) !important;
    border-color: var(--rfr-primary-light) !important;
    color: var(--rfr-primary-dark) !important;
}

.rz-button-success:hover {
    background-color: var(--rfr-primary-light-hover) !important;
    border-color: var(--rfr-primary-light-hover) !important;
}

/* ============================================
   Radzen DataGrid - dense by default
   ============================================ */

/* Quiet, dense grids: small uppercase headers, thin dividers, no outer border inside a card. */
.rz-data-grid {
    --rz-grid-cell-padding: 0.5rem 0.75rem;
    --rz-grid-cell-line-height: 1.25rem;
    --rz-grid-cell-font-size: 0.875rem;
    --rz-grid-header-cell-padding: 0.5rem 0;
    --rz-grid-header-font-size: 0.72rem;
    --rz-grid-header-font-weight: 500;
    --rz-grid-header-text-transform: uppercase;
    --rz-grid-header-color: var(--rfr-faint);
    --rz-grid-header-background-color: #ffffff;
    --rz-grid-header-padding: 0.25rem 0.75rem;
    --rz-grid-cell-border: 1px solid var(--rfr-line);
    --rz-grid-stripe-background-color: transparent;
}

.rz-data-grid .rz-grid-table thead th {
    letter-spacing: 0.05em;
}

/* Buttons inside rows are icon buttons at small size, so they don't set the row height. */
.rz-data-grid .rz-data-row .rz-button {
    min-height: 1.75rem;
    min-width: 1.75rem;
    padding: 0.125rem 0.375rem;
    margin: 0 0.125rem !important;
    font-size: 0.75rem;
}

.rz-data-grid .rz-data-row .rz-button .rzi {
    font-size: 1rem;
}

.rz-data-grid .rz-data-row:hover > td {
    background-color: #F0F2EF;
}

/* ============================================
   Radzen Pager (rz-pager) - Modern Theme Styles
   ============================================ */

/* Pager Container */
.rz-pager {
    background-color: var(--rfr-gray-50) !important;
    border-top: 2px solid var(--rfr-primary-dark) !important;
    padding: 0.75rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
}

/* Pager Summary Text */
.rz-pager-summary {
    color: var(--rfr-text-secondary-color) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

/* Pager Navigation Buttons (First, Prev, Next, Last) - Circular */
.rz-pager-first,
.rz-pager-prev,
.rz-pager-next,
.rz-pager-last {
    color: var(--rfr-primary-dark) !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 50% !important;
    padding: 0 !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.rz-pager-first:hover:not(.rz-state-disabled),
.rz-pager-prev:hover:not(.rz-state-disabled),
.rz-pager-next:hover:not(.rz-state-disabled),
.rz-pager-last:hover:not(.rz-state-disabled) {
    background-color: rgba(52, 211, 153, 0.15) !important;
    color: var(--rfr-primary-dark) !important;
    border-color: var(--rfr-primary-light) !important;
    transform: scale(1.1) !important;
}

.rz-pager-first:active:not(.rz-state-disabled),
.rz-pager-prev:active:not(.rz-state-disabled),
.rz-pager-next:active:not(.rz-state-disabled),
.rz-pager-last:active:not(.rz-state-disabled) {
    background-color: rgba(52, 211, 153, 0.25) !important;
    transform: scale(0.95) !important;
}

/* Disabled Navigation Buttons */
.rz-pager-first.rz-state-disabled,
.rz-pager-prev.rz-state-disabled,
.rz-pager-next.rz-state-disabled,
.rz-pager-last.rz-state-disabled {
    color: var(--rfr-text-tertiary-color) !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Pager Icons */
.rz-pager-icon {
    color: inherit !important;
    font-size: 1rem !important;
}

/* Pager Pages Container */
.rz-pager-pages {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    margin: 0 0.5rem !important;
}

/* Individual Page Number Links - Circular on hover */
.rz-pager-page {
    color: var(--rfr-primary-dark) !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 50% !important;
    padding: 0 !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.rz-pager-page:hover:not(.rz-state-active):not([aria-current="page"]) {
    background-color: rgba(52, 211, 153, 0.15) !important;
    color: var(--rfr-primary-dark) !important;
    border-color: var(--rfr-primary-light) !important;
    transform: scale(1.1) !important;
}

/* Active Page Number - Circular */
.rz-pager-page.rz-state-active,
.rz-pager-page[aria-current="page"] {
    background: #064F3B !important;
    background-color: #064F3B !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: var(--rfr-primary-dark) !important;
    font-weight: 600 !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rz-pager-page.rz-state-active:hover,
.rz-pager-page[aria-current="page"]:hover {
    background: #064F3B !important;
    background-color: var(--rfr-primary-dark-hover) !important;
    background-image: none !important;
    transform: scale(1.1) !important;
}

/* Pager Element Base Styles */
.rz-pager-element {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
}

.rz-pager-element:focus {
    outline: 2px solid var(--rfr-primary-light) !important;
    outline-offset: 2px !important;
}

/* Responsive Pager */
@media (max-width: 768px) {
    .rz-pager {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .rz-pager-summary {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 0.5rem !important;
    }
    
    .rz-pager-pages {
        margin: 0 !important;
    }
}

/* DataGrid Loading Overlay - Dark Theme */
.rz-datagrid-loading-overlay {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(4px) !important;
}

.rz-datagrid-loading-icon,
.rz-datagrid-loading-icon svg,
.rz-datagrid-loading-icon .rz-icon {
    color: #064F3B !important;
    fill: #064F3B !important;
    width: 32px !important;
    height: 32px !important;
}

/* Modern Loading Spinner Animation */
.rz-datagrid-loading-icon {
    animation: loading-spin 0.8s linear infinite !important;
}

@keyframes loading-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Radzen Progress Bar Circular - Dark Theme */
.rz-progressbar-circular,
.rz-progressbar-circular svg {
    color: #064F3B !important;
}

.rz-progressbar-circular .rz-progressbar-value {
    stroke: #064F3B !important;
}

.rz-progressbar-circular .rz-progressbar-track {
    stroke: rgba(6, 79, 59, 0.2) !important;
}

/* Radzen Progress Bar Linear - Dark Theme */
.rz-progressbar-value {
    background-color: #064F3B !important;
    background-image: none !important;
}

.rz-progressbar-track {
    background-color: rgba(6, 79, 59, 0.1) !important;
}

/* Radzen Loading Spinner - Modern Dark Theme */
.rz-spinner,
.rz-spinner svg,
.rz-spinner .rz-icon {
    color: #064F3B !important;
    fill: #064F3B !important;
    animation: loading-spin 0.8s linear infinite !important;
}

/* Modern Loading Indicators - Dark Theme */
.rz-loading,
.rz-loading-overlay {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(4px) !important;
}

.rz-loading-icon,
.rz-loading-icon svg,
.rz-loading-icon .rz-icon {
    color: #064F3B !important;
    fill: #064F3B !important;
    width: 32px !important;
    height: 32px !important;
    animation: loading-spin 0.8s linear infinite !important;
}

/* DataGrid Filter Panel */
.rz-datagrid-filter-panel {
    background-color: #ffffff !important;
    border: 1px solid var(--rfr-primary-light) !important;
    box-shadow: 0 4px 12px rgba(6, 79, 59, 0.15) !important;
}

.rz-datagrid-filter-panel .rz-button-primary {
    background-color: var(--rfr-primary-dark) !important;
    border-color: var(--rfr-primary-dark) !important;
}

.rz-datagrid-filter-panel .rz-button-primary:hover {
    background-color: var(--rfr-primary-dark-hover) !important;
    border-color: var(--rfr-primary-dark-hover) !important;
}

/* DataGrid Empty State */
.rz-datagrid-empty-message {
    color: var(--rfr-text-secondary-color) !important;
}

/* DataGrid Summary Row */
.rz-datagrid-summary-row {
    background-color: rgba(52, 211, 153, 0.05) !important;
    border-top: 2px solid var(--rfr-primary-dark) !important;
    font-weight: 600 !important;
    color: var(--rfr-primary-dark) !important;
}

/* Radzen Badge Styles */
.rz-badge-primary {
    background-color: var(--rfr-primary-dark) !important;
    color: #ffffff !important;
}

.rz-badge-success {
    background-color: var(--rfr-primary-light) !important;
    color: var(--rfr-primary-dark) !important;
}

/* Radzen Input Focus Styles */
.rz-input:focus,
.rz-textbox:focus,
.rz-dropdown:focus,
.rz-calendar:focus {
    border-color: var(--rfr-primary-dark) !important;
    box-shadow: 0 0 0 0.2rem rgba(6, 79, 59, 0.15) !important;
}

/* Radzen Link Styles */
.rz-link {
    color: var(--rfr-primary-dark) !important;
}

.rz-link:hover {
    color: var(--rfr-primary-dark-hover) !important;
}

/* Radzen Tab Styles */
.rz-tabview-nav li.rz-tabview-selected .rz-tabview-nav-link {
    border-bottom-color: var(--rfr-primary-dark) !important;
    color: var(--rfr-primary-dark) !important;
}

/* Radzen Progress Bar */
.rz-progressbar-value {
    background-color: var(--rfr-primary-light) !important;
}

/* Radzen Checkbox and Radio */
.rz-checkbox-checked .rz-checkbox-box,
.rz-radiobutton-checked .rz-radiobutton-icon {
    background-color: var(--rfr-primary-dark) !important;
    border-color: var(--rfr-primary-dark) !important;
}

/* Radzen Dialog */
.rz-dialog-header {
    background-color: var(--rfr-primary-dark) !important;
    color: #ffffff !important;
}

/* ============================================
   Radzen Notification Styles
   Targets actual Radzen v8.x class names:
   .rz-notification, .rz-notification-item-wrapper,
   .rz-notification-item, .rz-notification-message,
   .rz-notification-title, .rz-notification-message-wrapper
   ============================================ */

/* Notification toast box - wider to fit messages */
.rz-notification-item-wrapper {
    width: auto !important;
    min-width: 350px !important;
    max-width: 500px !important;
}

/* Message container - allow text to wrap */
.rz-notification-message {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
}

/* Title (Summary) */
.rz-notification-title {
    font-weight: 600 !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-break: break-word !important;
}

/* Detail text - plain text/span after the title */
.rz-notification-message > span,
.rz-notification-message > div {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    line-height: 1.5 !important;
    display: block !important;
}

/* Success notification */
.rz-notification-success .rz-notification-item {
    background-color: var(--rfr-primary-light) !important;
    color: #ffffff !important;
    border-left: 4px solid var(--rfr-primary-dark) !important;
    box-shadow: 0 2px 8px rgba(6, 79, 59, 0.2) !important;
}

.rz-notification-success .rz-notification-item * {
    color: #ffffff !important;
}

.rz-notification-success .rz-notification-title {
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}

.rz-notification-success .rz-notification-icon {
    color: #ffffff !important;
    filter: brightness(1.2) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) !important;
}


/* Radzen Card Header */
.rz-card-header {
    background-color: var(--rfr-primary-dark) !important;
    color: #ffffff !important;
}

/* ── Ingredient hierarchy grid: disable Radzen zebra striping ───────────────
   Radzen's material theme applies background-color to <td> elements, NOT <tr>.
   We make every <td> transparent so the <tr> background set by
   OnIngredientTreeRowRender's inline style shows through. */
.ingredient-tree-grid {
    --rz-grid-stripe-background-color: transparent;
    --rz-grid-stripe-odd-background-color: transparent;
}

.ingredient-tree-grid .rz-grid-table-striped tbody > tr > td {
    background-color: transparent !important;
}

/* Frozen cells float above the other columns while scrolling horizontally,
   so they must not be transparent — inherit the <tr>'s depth shade instead. */
.ingredient-tree-grid .rz-grid-table-striped tbody > tr > td.rz-frozen-cell {
    background-color: inherit !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--rfr-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--rfr-primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rfr-primary-dark-hover);
}

/* ============================================
   Layout: header nav (MainLayout)
   ============================================ */

.app-layout {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header: logo, the nav, then logout on the right. */
.rz-header.app-header {
    background: #064F3B !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
    border-bottom: none;
    padding: 0 1.25rem !important;
    height: 60px;
    min-height: 60px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.app-header-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
}

.app-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.app-brand img {
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.app-header-spacer {
    flex: 1;
}

/* The nav: white text on the header, the dropdowns keep the theme's light panel. */
.app-header .app-nav.rz-menu {
    background: transparent;
    border: none;
    height: 100%;
}

.app-header .app-nav > .rz-navigation-item > .rz-navigation-item-wrapper,
.app-header .app-nav > .rz-navigation-item > .rz-navigation-item-wrapper .rz-navigation-item-link,
.app-header .app-nav > .rz-navigation-item > .rz-navigation-item-wrapper .rz-navigation-item-icon,
.app-header .app-nav > .rz-navigation-item > .rz-navigation-item-wrapper .rz-navigation-item-text,
.app-header .app-nav > .rz-navigation-item > .rz-navigation-item-wrapper .rzi {
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    font-weight: 500;
}

.app-header .app-nav > .rz-navigation-item > .rz-navigation-item-wrapper {
    border-radius: 8px;
}

/* One highlight on the item itself; everything inside stays transparent. */
.app-header .app-nav > .rz-navigation-item {
    margin: 0 1px;
}

.app-header .app-nav > .rz-navigation-item > .rz-navigation-item-wrapper .rz-navigation-item-link {
    padding: 0.375rem 0.75rem;
    gap: 0.25rem;
}

.app-header .app-nav > .rz-navigation-item > .rz-navigation-item-wrapper:hover {
    background: rgba(255, 255, 255, 0.12);
}

.app-header .app-nav > .rz-navigation-item > .rz-navigation-item-wrapper:hover * {
    background: transparent;
    color: #ffffff;
}

/* Dropdown panels: white, rounded, a soft shadow. */
.rz-header.app-header .app-nav .rz-navigation-menu {
    background: #ffffff !important;
    border: 1px solid var(--rfr-line) !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 2px rgba(16, 32, 26, 0.06), 0 8px 24px rgba(16, 32, 26, 0.12) !important;
    padding: 0.25rem !important;
    margin-top: 0.375rem;
    min-width: 190px;
    overflow: hidden;
}

.app-header .app-nav .rz-navigation-menu .rz-navigation-item-wrapper {
    border-radius: 6px;
}

.app-header .app-nav .rz-navigation-menu .rz-navigation-item-link,
.app-header .app-nav .rz-navigation-menu .rzi {
    color: #15211C;
}

.app-header .app-nav .rz-navigation-menu .rz-navigation-item-wrapper:hover {
    background: #F0F2EF;
}

/* Responsive collapse: the menu's toggle button and mobile panel. */
.app-header .app-nav .rz-menu-toggle {
    color: #ffffff;
    background: transparent;
}

/* Mobile responsive menu — .rz-menu-open is added by Radzen when the
   hamburger toggle is tapped. The base style sets height:100% (60px of the
   header), so items overflow with no background. Fix: position the open
   menu as a fixed overlay below the header. */
.app-header .app-nav.rz-menu.rz-menu-open {
    position: fixed !important;
    top: 60px;
    left: 0;
    right: 0;
    height: auto !important;
    background: #064F3B !important;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    padding: 0 0.5rem 0.5rem;
    z-index: 1001;
}

/* Every item gets the solid dark-green background — not transparent. */
.app-header .app-nav.rz-menu.rz-menu-open .rz-navigation-item {
    background-color: #064F3B !important;
}

.app-header .app-nav.rz-menu.rz-menu-open .rz-navigation-item-wrapper,
.app-header .app-nav.rz-menu.rz-menu-open .rz-navigation-item-link,
.app-header .app-nav.rz-menu.rz-menu-open .rz-navigation-item-text,
.app-header .app-nav.rz-menu.rz-menu-open .rz-navigation-item-icon,
.app-header .app-nav.rz-menu.rz-menu-open .rzi {
    color: rgba(255, 255, 255, 0.9) !important;
}

.app-header .app-nav.rz-menu.rz-menu-open .rz-navigation-item-wrapper:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Sub-menus (Products >, Scans >, Tools >) go inline on mobile. Slightly
   lighter background to show nesting. Indent child links. */
.app-header .app-nav.rz-menu.rz-menu-open .rz-navigation-menu {
    background: rgba(255, 255, 255, 0.06) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.app-header .app-nav.rz-menu.rz-menu-open .rz-navigation-menu .rz-navigation-item-link {
    padding-left: 2.5rem !important;
}

.rz-header.app-header .app-logout.rz-button,
.rz-header.app-header .app-logout.rz-button .rzi,
.rz-header.app-header .app-logout.rz-button .rz-button-text {
    color: rgba(255, 255, 255, 0.85) !important;
    background: transparent !important;
}

/* Body: the full width, so tables get every column they can. */
/* Radzen transforms the body for its sidebar animation. There is no sidebar, and a transform
   would make position: fixed (the bulk bar) scroll with the page. */
.rz-body.app-body {
    transform: none !important;
}

.app-body {
    background: var(--rfr-ground);
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    padding: 1rem 1.25rem;
    width: 100%;
}

@media (max-width: 640px) {
    .app-header-row {
        gap: 0.75rem;
    }

    .app-brand img {
        height: 32px;
    }

    .content-wrapper {
        padding: 0.75rem;
    }
}

/* ============================================
   Shared UI (Components/Shared/Ui)
   ============================================ */

.page-stack {
    display: grid;
    gap: 0.75rem;
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.page-head-count {
    font: 400 0.875rem var(--rfr-font-mono);
    color: var(--rfr-faint);
    margin-left: 0.5rem;
    letter-spacing: 0;
}

.page-head-actions {
    display: flex;
    gap: 0.5rem;
}

.ui-toolbar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.ui-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 36px;
    padding: 0 0.625rem;
    border: 1px solid #D3D9D4;
    border-radius: 8px;
    background: #ffffff;
    flex: 0 1 340px;
    min-width: 0;
    margin: 0;
}

.ui-search:focus-within {
    border-color: var(--rfr-primary-dark);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.ui-search svg {
    width: 14px;
    height: 14px;
    stroke: var(--rfr-faint);
    flex: none;
}

.ui-search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    min-width: 0;
    font: inherit;
}

.ui-search-clear {
    border: 0;
    background: transparent;
    color: var(--rfr-faint);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.125rem;
}

.ui-chip-wrap {
    position: relative;
}

.ui-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 32px;
    padding: 0 0.75rem;
    border-radius: 999px;
    border: 1px dashed #D3D9D4;
    background: transparent;
    color: var(--rfr-muted);
    font: 500 0.875rem var(--rfr-font-sans);
    cursor: pointer;
    white-space: nowrap;
}

.ui-chip:hover {
    border-color: var(--rfr-faint);
}

.ui-chip.set {
    border-style: solid;
    background: #ffffff;
    color: #15211C;
}

.ui-chip b {
    font-weight: 500;
    color: #0B6B4C;
}

.ui-chip-scrim {
    position: fixed;
    inset: 0;
    z-index: 20;
}

.ui-chip-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 21;
    min-width: 240px;
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid var(--rfr-line);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16, 32, 26, 0.06), 0 8px 24px rgba(16, 32, 26, 0.1);
}

.ui-chip-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.ui-chip-hint {
    color: var(--rfr-faint);
    font-size: 0.78rem;
    margin-top: 0.5rem;
    max-width: 260px;
}

/* Ingredient multi-select inside FilterChip */
.ui-ingredient-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}

.ui-ingredient-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    background: #E6F3EE;
    color: #0B6B4C;
    border-radius: 999px;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.ui-ingredient-tag button {
    all: unset;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: #0B6B4C;
    opacity: 0.6;
    padding: 0 0.125rem;
}

.ui-ingredient-tag button:hover {
    opacity: 1;
}

.ui-ingredient-list {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 0.5rem;
    border: 1px solid var(--rfr-line);
    border-radius: 6px;
}

.ui-ingredient-item {
    all: unset;
    display: block;
    width: 100%;
    padding: 0.375rem 0.625rem;
    font-size: 0.875rem;
    cursor: pointer;
    box-sizing: border-box;
}

.ui-ingredient-item:hover {
    background: #F0F5F2;
}

.ui-ingredient-item + .ui-ingredient-item {
    border-top: 1px solid var(--rfr-line);
}

.ui-tiles {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ui-tile {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--rfr-line);
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.ui-tile b {
    font: 500 0.95rem var(--rfr-font-mono);
    font-variant-numeric: tabular-nums;
}

.ui-tile span {
    color: var(--rfr-muted);
}

.ui-tile.on {
    border-color: var(--rfr-primary-dark);
    box-shadow: inset 0 0 0 1px var(--rfr-primary-dark);
}

.ui-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
}

.ui-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.ui-pill-ok { background: #E3F7EE; color: #0B6B4C; }
.ui-pill-ai { background: #FBF1DC; color: #8A5A0B; }
.ui-pill-no { background: #EEF0EE; color: #5F6C66; }
.ui-pill-flag { background: #FBDDDA; color: #A3271B; }

.ui-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ui-rating b {
    font: 500 0.85rem var(--rfr-font-mono);
    font-variant-numeric: tabular-nums;
    min-width: 2.2em;
    text-align: right;
}

.ui-band {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 6px;
}

.ui-band-best { background: #DCF5E9; color: #05603F; }
.ui-band-good { background: #E8F6DA; color: #3B6B12; }
.ui-band-okay { background: #FBF1D0; color: #7A5A06; }
.ui-band-limit { background: #FDE6D3; color: #9A4A0B; }
.ui-band-avoid { background: #FBDDDA; color: #A3271B; }
.ui-band-none { background: #EEF0EE; color: #5F6C66; }

.ui-thumb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--rfr-line);
    background: #ffffff;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.ui-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ui-thumb-none {
    background: #F0F2EF;
    border-style: dashed;
}

.ui-thumb-none svg {
    width: 18px;
    height: 18px;
    stroke: var(--rfr-faint);
}

.ui-cell-title {
    display: block;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-cell-sub {
    display: block;
    color: var(--rfr-faint);
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-cell-sub b {
    font-weight: 500;
    color: var(--rfr-muted);
    background: #F0F2EF;
    border-radius: 999px;
    padding: 0 0.375rem;
    margin-left: 0.25rem;
    font-size: 0.72rem;
}

.ui-mono {
    font-family: var(--rfr-font-mono);
    font-variant-numeric: tabular-nums;
    color: var(--rfr-muted);
}

.ui-faint {
    color: var(--rfr-faint);
}

.ui-bulk {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc(100% - 32px);
    padding: 0.5rem 0.5rem 0.5rem 0.875rem;
    border-radius: 12px;
    background: #15211C;
    color: #F6F7F5;
    box-shadow: 0 1px 2px rgba(16, 32, 26, 0.06), 0 8px 24px rgba(16, 32, 26, 0.2);
}

/* A dialog owns the page while it's open: the bar would otherwise sit above its mask, still clickable. */
body:has(.rz-dialog-mask) .ui-bulk {
    display: none;
}

.ui-bulk strong {
    font-weight: 600;
    white-space: nowrap;
}

.ui-bulk-sep {
    width: 1px;
    height: 20px;
    background: rgba(246, 247, 245, 0.25);
}

.ui-bulk-btn {
    height: 32px;
    padding: 0 0.75rem;
    border-radius: 7px;
    border: 0;
    background: transparent;
    color: #F6F7F5;
    font: 500 0.875rem var(--rfr-font-sans);
    cursor: pointer;
}

.ui-bulk-btn:hover {
    background: rgba(246, 247, 245, 0.12);
}

.ui-bulk-btn.primary {
    background: var(--rfr-primary-light);
    color: #05241A;
}

.ui-bulk select {
    height: 32px;
    border-radius: 7px;
    border: 1px solid rgba(246, 247, 245, 0.25);
    background: transparent;
    color: #F6F7F5;
    padding: 0 0.5rem;
    font: inherit;
}

.ui-bulk select option {
    color: #15211C;
}

.ui-bulk-preview {
    font-size: 0.82rem;
    color: rgba(246, 247, 245, 0.7);
    white-space: nowrap;
}

/* Row actions appear on hover. */
.rz-data-grid .ui-row-actions {
    display: flex;
    gap: 2px;
    justify-content: flex-end;
    opacity: 0;
}

.rz-data-grid .rz-data-row:hover .ui-row-actions,
.rz-data-grid .rz-data-row:focus-within .ui-row-actions {
    opacity: 1;
}

.rz-data-grid .ui-row-actions .rz-button {
    background: transparent;
    color: var(--rfr-muted);
    box-shadow: none;
}

.rz-data-grid .ui-row-actions .rz-button:hover {
    background: var(--rfr-line);
}

/* Radzen owns the row's class, so a selected row is marked with an attribute. Specific enough to beat Radzen's
   striped-row rule, which loads after this sheet. */
.rz-data-grid table tbody > tr.rz-data-row[data-selected] > td {
    background-color: #EEF8F3;
}

.ui-tier {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.ui-tier i {
    display: inline-flex;
    gap: 2px;
}

.ui-tier i span {
    width: 5px;
    height: 11px;
    border-radius: 1px;
    background: #D3D9D4;
}

.ui-tier i span.f {
    background: var(--rfr-primary-dark);
}

.ui-tag {
    font: 0.8rem var(--rfr-font-mono);
}

/* Checkbox column: tight. */
.rz-data-grid td.ui-col-check,
.rz-data-grid th.ui-col-check {
    padding-inline: 0.25rem 0 !important;
    text-align: center;
}

.rz-data-grid .ui-col-check .rz-cell-data,
.rz-data-grid .ui-col-check .rz-column-title {
    justify-content: center;
    padding: 0;
}

.ui-select-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: #EEF8F3;
    color: #15211C;
}

.ui-select-all button {
    border: 0;
    background: transparent;
    color: #0B6B4C;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.ui-bulk-input {
    height: 32px;
    border-radius: 7px;
    border: 1px solid rgba(246, 247, 245, 0.25);
    background: transparent;
    color: #F6F7F5;
    padding: 0 0.5rem;
    font: inherit;
    width: 220px;
}

.ui-bulk-input::placeholder {
    color: rgba(246, 247, 245, 0.5);
}

/* Additive groups: A best to D worst; EXEMPT neutral. */
.ui-group {
    display: inline-block;
    min-width: 1.75rem;
    text-align: center;
    font: 600 0.75rem var(--rfr-font-mono);
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
}

.ui-group-a { background: #DCF5E9; color: #05603F; }
.ui-group-b { background: #E8F6DA; color: #3B6B12; }
.ui-group-c { background: #FDE6D3; color: #9A4A0B; }
.ui-group-d { background: #FBDDDA; color: #A3271B; }
.ui-group-exempt { background: #EEF0EE; color: #5F6C66; }

.ui-bulk-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ui-tier {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The Inbox's open count in the header nav. */
.app-nav-inbox {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.app-nav-count {
    font: 600 0.7rem/1 var(--rfr-font-mono);
    padding: 0.2rem 0.4rem;
    border-radius: 999px;
    background: var(--rfr-primary-light);
    color: #05241A;
}

/* ---- The library sweep: a list row's caret panel and in-place edit (docs/library-sweep-scope.md) ---- */

.ui-btn {
    height: 30px;
    padding: 0 0.7rem;
    border-radius: 7px;
    border: 1px solid var(--rfr-line);
    background: #ffffff;
    color: #15211C;
    font: 500 0.8rem/1 var(--rfr-font-sans);
    white-space: nowrap;
    cursor: pointer;
}

.ui-btn:hover { background: var(--rfr-ground); }
.ui-btn.primary { background: var(--rz-primary); border-color: var(--rz-primary); color: #ffffff; }
.ui-btn.primary:hover { background: var(--rz-primary-dark); }
.ui-btn.quiet { border-color: transparent; background: transparent; color: var(--rfr-muted); }
.ui-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.ui-btn:focus-visible, .ui-link:focus-visible, .ui-cell-input:focus-visible { outline: 2px solid var(--rz-primary); outline-offset: 1px; }

.ui-link {
    border: 0;
    background: none;
    padding: 0 0 0 0.4rem;
    color: var(--rz-on-primary-lighter);
    font: 500 0.8rem/1 var(--rfr-font-sans);
    cursor: pointer;
}

.ui-link:hover { text-decoration: underline; }

/* The detail cell spans the whole table, which is wider than the page: keep the panel and edit line in view. */
.ui-row-panel,
.ui-row-edit {
    position: sticky;
    left: 0;
    max-width: calc(100vw - 7rem);
    box-sizing: border-box;
}

.ui-row-panel {
    display: grid;
    grid-template-columns: minmax(16rem, 1.15fr) minmax(16rem, 1.15fr) minmax(12rem, 0.8fr);
    gap: 1.5rem;
    padding: 0.75rem 0.5rem 0.9rem;
    font-size: 0.85rem;
}

.ui-row-panel h5 {
    margin: 0 0 0.45rem;
    font: 500 0.7rem/1 var(--rfr-font-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--rfr-faint);
}

.ui-row-panel ul { list-style: none; margin: 0 0 0.5rem; padding: 0; display: grid; gap: 0.2rem; }
.ui-row-panel a { color: var(--rz-on-primary-lighter); }
.ui-row-panel-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ui-row-panel-add { display: flex; gap: 0.4rem; align-items: center; }

.ui-row-panel-add input {
    flex: 1;
    min-width: 0;
    max-width: 20rem;
    height: 30px;
    border: 1px solid var(--rfr-line);
    border-radius: 7px;
    padding: 0 0.55rem;
    font: inherit;
}

@media (max-width: 900px) {
    .ui-row-panel { grid-template-columns: 1fr; gap: 1rem; }
}

.rz-data-grid table tbody > tr.rz-data-row[data-editing] > td { background: #FFFBEA; }

.ui-cell-input {
    width: 100%;
    min-width: 3.5rem;
    height: 28px;
    border: 1px solid #D9C27A;
    border-radius: 6px;
    background: #ffffff;
    padding: 0 0.45rem;
    font: 0.82rem/1 var(--rfr-font-sans);
    color: #15211C;
}

.ui-cell-input.num { text-align: right; font-family: var(--rfr-font-mono); }

.rz-data-row[data-editing] select,
.ui-row-edit select {
    width: 100%;
    height: 28px;
    border: 1px solid #D9C27A;
    border-radius: 6px;
    background: #ffffff;
    font: 0.82rem/1 var(--rfr-font-sans);
    color: #15211C;
}

.ui-row-edit {
    display: grid;
    gap: 0.55rem;
    padding: 0.6rem 0.5rem 0.7rem;
    margin: 0 -0.5rem 0.25rem;
    background: #FFFBEA;
    border-bottom: 1px solid #E9CF6B;
}

.ui-row-edit-line { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.ui-row-edit-line label { display: inline-flex; gap: 0.4rem; align-items: center; color: var(--rfr-muted); font-size: 0.8rem; }
.ui-row-edit-line label select { width: 11rem; }

.ui-row-edit-label {
    font: 600 0.68rem/1 var(--rfr-font-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--rz-on-primary-lighter);
}

.ui-row-edit-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.ui-row-edit-preview { color: var(--rfr-muted); font-size: 0.82rem; }
.ui-row-edit-preview.bad { color: #A3271B; font-weight: 500; }
.ui-row-edit-keys { margin-left: auto; color: var(--rfr-faint); font-size: 0.75rem; }

.ui-row-edit-keys kbd {
    font: 500 0.7rem/1 var(--rfr-font-mono);
    border: 1px solid var(--rfr-line);
    border-bottom-width: 2px;
    border-radius: 4px;
    padding: 0.1rem 0.3rem;
    background: #ffffff;
    color: var(--rfr-muted);
}

/* The sweep's find: reviewed progress, check chips and flags */

.ui-sweep-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.82rem; }

.ui-progress {
    display: inline-block;
    width: 14rem;
    max-width: 40vw;
    height: 8px;
    border-radius: 4px;
    background: var(--rfr-line);
    overflow: hidden;
}

.ui-progress i { display: block; height: 100%; background: #2F9E6C; }

.ui-checks { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }

.ui-checks-label {
    font: 500 0.68rem/1 var(--rfr-font-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rfr-faint);
    margin-right: 0.15rem;
}

.ui-check-chip {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    height: 28px;
    padding: 0 0.65rem;
    border: 1px dashed #C8D0CC;
    border-radius: 999px;
    background: #ffffff;
    color: #15211C;
    font: 500 0.8rem/1 var(--rfr-font-sans);
    cursor: pointer;
}

.ui-check-chip:hover { border-style: solid; }
.ui-check-chip[data-on] { background: var(--rz-primary); border: 1px solid var(--rz-primary); color: #ffffff; }
.ui-check-chip:focus-visible { outline: 2px solid var(--rz-primary); outline-offset: 1px; }

.ui-check-count {
    font: 500 0.72rem/1 var(--rfr-font-mono);
    background: var(--rfr-ground);
    color: var(--rfr-muted);
    border-radius: 999px;
    padding: 0.2rem 0.4rem;
}

.ui-check-chip[data-on] .ui-check-count { background: rgba(255, 255, 255, 0.18); color: #ffffff; }

.ui-flag {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.15rem 0.35rem;
    border: 0;
    border-radius: 4px;
    font: 500 0.66rem/1.2 var(--rfr-font-mono);
    vertical-align: 1px;
    white-space: nowrap;
}

.ui-flag.dup { background: #FFF0CC; color: #7A5200; cursor: pointer; }
.ui-flag.dup:hover { background: #FFE39A; }
.ui-flag.code { background: #EEF0EE; color: #5F6C66; }
.ui-flag.fn { background: #E9E4FF; color: #4A3A9C; }
.ui-flag.warn { background: #FFE1DC; color: #8F2318; }

.ui-row-edit-label.additive { color: #4A3A9C; }
.ui-cell-input.narrow { width: 5.5rem; }
.ui-row-edit-line label.wide { flex: 1 1 18rem; }
.ui-row-edit-line label.wide input { min-width: 14rem; }

.ui-name-edit { display: grid; gap: 0.3rem; }
.ui-code-line { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0.4rem; }
.ui-code-line label { display: flex; gap: 0.3rem; align-items: center; color: var(--rfr-muted); font-size: 0.75rem; min-width: 0; }
.ui-code-line input { min-width: 0; }
.ui-code-line.single { grid-template-columns: 1fr; }
.ui-cell-input.mono { font-family: var(--rfr-font-mono); }

/* Library search: a search box with its results listed under it (alias move, merge picker). */
.ui-lib-search { display: grid; gap: 0.4rem; }
.ui-lib-search .ui-search { width: 100%; }
.ui-lib-search-state { display: flex; align-items: center; gap: 0.5rem; color: var(--rfr-muted); font-size: 0.8125rem; padding: 0.25rem 0; }
.ui-lib-search-results {
    list-style: none; margin: 0; padding: 0; max-height: 18rem; overflow-y: auto;
    border: 1px solid var(--rfr-line); border-radius: 8px; background: #fff;
}
.ui-lib-search-results li + li { border-top: 1px solid var(--rfr-line); }
.ui-lib-search-results button {
    display: grid; gap: 0.1rem; width: 100%; text-align: left; padding: 0.45rem 0.75rem;
    background: none; border: 0; cursor: pointer; font: inherit; color: inherit;
}
.ui-lib-search-results button:hover, .ui-lib-search-results button:focus-visible { background: var(--rz-primary-lighter); outline: none; }
.ui-lib-search-name { font-weight: 500; color: #15211C; }
.ui-lib-search-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.6rem; color: var(--rfr-muted); font-size: 0.78rem; }
.ui-lib-search-type { font-weight: 500; }
.ui-lib-search-picked {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    border: 1px solid var(--rfr-line); border-radius: 8px; background: #fff; padding: 0.5rem 0.75rem;
}

/* Inbox: the eye beside a label name, and the products that list it. */
.inbox-label { display: inline-flex; align-items: center; gap: 0.35rem; max-width: 100%; }
.inbox-label .ui-cell-title { overflow: hidden; text-overflow: ellipsis; }
.inbox-eye {
    flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem;
    border: 0; border-radius: 6px; background: none; color: var(--rfr-faint); cursor: pointer; padding: 0;
}
.inbox-eye .rzi { font-size: 1.05rem; }
.inbox-eye:hover, .inbox-eye:focus-visible { background: var(--rz-primary-lighter); color: var(--rz-primary); outline: none; }

/* A row's tags, "Fat · Seed oil, conventional". */
.ui-ctag em { font-style: normal; color: var(--rfr-faint); }

/* Inbox: the card under a "Link to" chip, light rather than Radzen's dark tooltip. */
.inbox-facts-tip .rz-tooltip-content {
    background: #fff; color: #15211C; border: 1px solid var(--rfr-line); white-space: normal;
    box-shadow: 0 6px 20px rgba(21, 33, 28, 0.12); padding: 0.6rem 0.75rem; border-radius: 8px;
}
.inbox-facts { display: grid; gap: 0.3rem; min-width: 14rem; max-width: 22rem; font-size: 0.8125rem; }
.inbox-facts-name { font-weight: 600; }
.inbox-facts-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.6rem; color: var(--rfr-muted); }
.inbox-facts-tags { display: grid; gap: 0.15rem; }
.inbox-facts-reason { color: var(--rfr-muted); border-top: 1px solid var(--rfr-line); padding-top: 0.3rem; }
.inbox-examples { display: grid; gap: 0.9rem; }
.inbox-examples section { display: grid; gap: 0.3rem; border-top: 1px solid var(--rfr-line); padding-top: 0.75rem; }
.inbox-example-name { font-weight: 500; margin-right: 0.5rem; }
.inbox-example-statement { margin: 0; font-size: 0.8125rem; line-height: 1.45; color: var(--rfr-muted); }
.inbox-example-statement mark { background: #FDE68A; color: #15211C; padding: 0 0.1rem; border-radius: 3px; }
