.lrbc-wrap { max-width: 1600px; }
.lrbc-page-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; margin:18px 0; }
.lrbc-page-heading h1 { margin:0 0 4px; }
.lrbc-page-heading p { margin:0; color:#50575e; font-size:14px; }
.lrbc-live-pill { display:inline-flex; align-items:center; gap:7px; padding:7px 11px; border-radius:999px; background:#e7f7ed; color:#176b39; font-weight:600; }
.lrbc-live-pill:before { content:""; width:8px; height:8px; border-radius:50%; background:#20a052; }
.lrbc-card { background:#fff; border:1px solid #dcdcde; border-radius:8px; box-shadow:0 1px 2px rgba(0,0,0,.04); padding:18px; margin-bottom:18px; }
.lrbc-filter-bar,.lrbc-inline-form,.lrbc-calendar-toolbar,.lrbc-calendar-nav,.lrbc-view-toggle { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.lrbc-filter-bar { background:#fff; border:1px solid #dcdcde; padding:12px; margin:14px 0 18px; }
.lrbc-inline-form input,.lrbc-inline-form select { min-width:130px; }
.lrbc-inline-form label { display:flex; align-items:center; gap:6px; }
.lrbc-calendar-toolbar { justify-content:space-between; background:#fff; border:1px solid #dcdcde; border-radius:8px; padding:12px; margin-bottom:10px; }
.lrbc-calendar-nav form { display:flex; gap:6px; align-items:center; }
.lrbc-compact-label { display:none; }
.lrbc-calendar-refresh-line { text-align:right; color:#646970; font-size:12px; margin:7px 0; }
.lrbc-month-weekdays,.lrbc-month-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }
.lrbc-month-weekdays { background:#f0f0f1; border:1px solid #c3c4c7; border-bottom:0; border-radius:8px 8px 0 0; }
.lrbc-month-weekdays span { padding:9px; text-align:center; font-weight:600; }
.lrbc-month-grid { border-left:1px solid #c3c4c7; border-top:1px solid #c3c4c7; background:#fff; }
.lrbc-month-day { min-height:155px; padding:8px; border-right:1px solid #c3c4c7; border-bottom:1px solid #c3c4c7; background:#fff; }
.lrbc-month-day.is-outside { background:#f6f7f7; opacity:.65; }
.lrbc-month-day.is-today,.lrbc-week-day.is-today { box-shadow:inset 0 0 0 2px #2271b1; }
.lrbc-calendar-date { display:flex; align-items:baseline; gap:5px; text-decoration:none; margin-bottom:7px; color:#1d2327; }
.lrbc-calendar-date strong { font-size:18px; }
.lrbc-calendar-date span { text-transform:uppercase; font-size:11px; color:#646970; }
.lrbc-month-item { display:flex; justify-content:space-between; gap:6px; padding:4px 6px; margin:3px 0; border-radius:4px; background:#edf5fb; text-decoration:none; color:#135e96; font-size:12px; line-height:1.25; }
.lrbc-month-item span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lrbc-month-item.is-unmapped,.lrbc-calendar-item.is-unmapped,.lrbc-production-item.is-unmapped { background:#fcf0f1; border-color:#d63638; }
.lrbc-more-items { font-size:12px; }
.lrbc-week-grid { display:grid; grid-template-columns:repeat(7,minmax(180px,1fr)); gap:10px; overflow-x:auto; }
.lrbc-week-day { min-height:340px; background:#fff; border:1px solid #dcdcde; border-radius:8px; padding:12px; }
.lrbc-calendar-empty,.lrbc-empty-state { padding:24px; text-align:center; color:#646970; background:#f6f7f7; border-radius:6px; }
.lrbc-calendar-item { border:1px solid #dcdcde; border-radius:5px; margin:7px 0; background:#fff; }
.lrbc-calendar-item summary { cursor:pointer; display:flex; justify-content:space-between; gap:8px; padding:8px; }
.lrbc-calendar-item > div { padding:0 8px 8px; font-size:12px; }
.lrbc-calendar-item p { margin:5px 0; }
.lrbc-day-detail { background:#fff; border:1px solid #dcdcde; border-radius:8px; padding:20px; }
.lrbc-day-title,.lrbc-production-item-head,.lrbc-card-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; }
.lrbc-day-title h2 { margin:2px 0 18px; font-size:25px; }
.lrbc-day-title span { color:#646970; text-transform:uppercase; font-size:12px; }
.lrbc-production-item { border:1px solid #dcdcde; border-radius:8px; margin:14px 0; padding:16px; }
.lrbc-production-item h3 { margin:0 0 3px; }
.lrbc-big-qty { font-size:30px; font-weight:700; }
.lrbc-warning-text { color:#b32d2e; font-weight:600; }
.lrbc-breakdown-table { margin-top:14px; }
.lrbc-recipe-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(330px,1fr)); gap:14px; }
.lrbc-recipe-card { display:block; background:#fff; border:1px solid #dcdcde; border-radius:9px; color:#1d2327; transition:.15s ease; overflow:hidden; }
.lrbc-recipe-card:hover { border-color:#2271b1; box-shadow:0 3px 12px rgba(0,0,0,.07); }
.lrbc-recipe-card.is-inactive { background:#f6f7f7; border-color:#b8bcc2; }
.lrbc-recipe-card.is-inactive .lrbc-recipe-card-body { color:#50575e; }
.lrbc-recipe-card-body { display:flex; justify-content:space-between; gap:20px; padding:18px; text-decoration:none; color:#1d2327; }
.lrbc-recipe-card-body:focus { box-shadow:inset 0 0 0 2px #2271b1; outline:0; }
.lrbc-recipe-card-actions { display:flex; gap:7px; padding:10px 18px; border-top:1px solid #f0f0f1; background:#f9f9f9; }
.lrbc-recipe-card h2 { margin:4px 0; font-size:19px; }
.lrbc-recipe-card p { margin:0; color:#646970; }
.lrbc-recipe-category { font-size:11px; text-transform:uppercase; color:#646970; font-weight:600; }
.lrbc-recipe-card-labels { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.lrbc-recipe-status { display:inline-block; padding:2px 7px; border-radius:999px; font-size:11px; line-height:1.45; font-weight:700; }
.lrbc-recipe-status.is-active { background:#d7f0df; color:#0a5c2f; }
.lrbc-recipe-status.is-inactive { background:#dcdcde; color:#50575e; }
.lrbc-recipe-card dl { min-width:115px; margin:0; }
.lrbc-recipe-card dl div { margin-bottom:9px; }
.lrbc-recipe-card dt { font-size:11px; text-transform:uppercase; color:#646970; }
.lrbc-recipe-card dd { margin:2px 0 0; font-weight:600; }
.lrbc-editor-form { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:20px; align-items:start; }
.lrbc-editor-main,.lrbc-editor-sidebar { min-width:0; }
.lrbc-sticky-save { position:sticky; top:46px; }
.lrbc-sticky-save .button-primary { width:100%; text-align:center; }
.lrbc-sticky-save p { color:#646970; font-size:12px; }
.lrbc-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.lrbc-form-grid label { display:flex; flex-direction:column; gap:6px; font-weight:600; }
.lrbc-form-grid .span-2 { grid-column:span 2; }
.lrbc-form-grid input,.lrbc-form-grid select,.lrbc-form-grid textarea { width:100%; font-weight:400; }
.lrbc-check { display:flex !important; flex-direction:row !important; align-items:center; gap:7px !important; margin-top:12px; }
.lrbc-recipe-lines { overflow-x:auto; }
.lrbc-recipe-lines table { min-width:1050px; }
.lrbc-recipe-lines input,.lrbc-recipe-lines select { width:100%; }
.lrbc-recipe-lines .drag-col { width:42px; text-align:center; }
.lrbc-recipe-lines .dashicons { color:#8c8f94; }
@media (max-width:1000px) {
  .lrbc-editor-form { grid-template-columns:1fr; }
  .lrbc-sticky-save { position:static; }
  .lrbc-month-day { min-height:120px; }
}
.lrbc-recipe-line[draggable="true"] { cursor:grab; }
.lrbc-recipe-line.is-dragging { opacity:.45; }

/* Package-based ingredient inventory */
.lrbc-inventory-table td { vertical-align: middle; }
.lrbc-count-form { display:flex; align-items:center; gap:6px; margin-bottom:4px; }
.lrbc-count-form input[type="number"] { width:88px; }
.lrbc-ajax-save-form.is-saving { opacity:.82; }
.lrbc-ajax-save-status { display:inline-flex; align-items:center; min-height:20px; margin:0 0 0 8px; color:#50575e; font-size:12px; font-weight:600; vertical-align:middle; }
.lrbc-ajax-save-status.is-saving { color:#646970; }
.lrbc-ajax-save-status.is-success { color:#1f7a3e; }
.lrbc-ajax-save-status.is-error { color:#b32d2e; }
.lrbc-count-form .lrbc-ajax-save-status { min-width:38px; margin-left:2px; }
.lrbc-save-toast { position:fixed; top:42px; right:18px; z-index:100100; max-width:min(420px,calc(100vw - 36px)); padding:10px 14px; border:1px solid #8c8f94; border-left-width:4px; border-radius:4px; background:#fff; box-shadow:0 4px 18px rgba(0,0,0,.18); color:#1d2327; font-weight:600; opacity:0; pointer-events:none; transform:translateY(-8px); transition:opacity .16s ease,transform .16s ease; }
.lrbc-save-toast.is-visible { opacity:1; transform:translateY(0); }
.lrbc-save-toast.is-success { border-left-color:#00a32a; }
.lrbc-save-toast.is-warning { border-left-color:#dba617; }
.lrbc-save-toast.is-error { border-left-color:#d63638; }
.lrbc-page-heading-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.lrbc-page-heading-actions .dashicons { width:16px; height:16px; margin:3px 3px 0 0; font-size:16px; line-height:1; }
.lrbc-conversion-preview { display:flex; flex-direction:column; justify-content:center; min-height:72px; padding:10px 12px; background:#f0f6fc; border:1px solid #c5d9ed; border-radius:6px; }
.lrbc-conversion-preview span,.lrbc-conversion-preview small { color:#50575e; }
.lrbc-conversion-preview strong { font-size:20px; margin:3px 0; }

/* Ingredient demand ordering and drill-down */
.lrbc-order-shopping-list { border-top:4px solid #2271b1; }
.lrbc-order-shopping-list .lrbc-card-heading { align-items:center; margin-bottom:13px; }
.lrbc-order-shopping-list h2 { margin:0 0 4px; }
.lrbc-order-shopping-list p { margin:0; color:#646970; }
.lrbc-shopping-count { flex:0 0 auto; padding:5px 9px; border-radius:999px; background:#e8f2fa; color:#135e96; font-size:12px; white-space:nowrap; }
.lrbc-order-shopping-table .check-column { width:48px; text-align:center; }
.lrbc-order-shopping-table td { vertical-align:middle; }
.lrbc-order-shopping-table small { color:#646970; }
.lrbc-shopping-empty { margin-top:4px; padding:18px; }
.lrbc-demand-by-day { margin:18px 0; overflow:hidden; border:1px solid #c3c4c7; border-radius:8px; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.lrbc-demand-by-day > summary { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px 16px; color:#1d2327; cursor:pointer; font-weight:600; }
.lrbc-demand-by-day > summary::before { content:"\25B8"; flex:0 0 auto; color:#646970; font-size:16px; line-height:1; transition:transform .14s ease; }
.lrbc-demand-by-day[open] > summary::before { transform:rotate(90deg); }
.lrbc-demand-by-day > summary:hover { background:#f6f7f7; }
.lrbc-demand-by-day[open] > summary { border-bottom:1px solid #dcdcde; background:#f6f7f7; }
.lrbc-demand-by-day-title { flex:1 1 auto; font-size:15px; }
.lrbc-demand-by-day-count { color:#646970; font-size:12px; font-weight:500; }
.lrbc-demand-by-day-body { padding:16px; }

/* Weekly recurring production editor */
.lrbc-recurring-editor { scroll-margin-top:48px; }
.lrbc-recurring-form-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.lrbc-recurring-form-grid label { display:flex; flex-direction:column; gap:6px; font-weight:600; }
.lrbc-recurring-form-grid label input,
.lrbc-recurring-form-grid label select,
.lrbc-recurring-form-grid label textarea { width:100%; font-weight:400; }
.lrbc-recurring-form-grid small { color:#646970; font-weight:400; }
.lrbc-recurring-week-grid { display:grid; grid-template-columns:repeat(7,minmax(240px,1fr)); gap:12px; overflow-x:auto; padding-bottom:12px; align-items:start; }
.lrbc-recurring-week-grid.is-day-view { grid-template-columns:minmax(0,1fr); overflow-x:visible; }
.lrbc-recurring-week-grid.is-day-view .lrbc-recurring-day { min-height:0; }
.lrbc-recurring-week-grid.is-day-view.is-cards .lrbc-recurring-day { display:grid; grid-template-columns:repeat(auto-fill,minmax(310px,1fr)); gap:12px; align-items:start; }
.lrbc-recurring-week-grid.is-day-view.is-cards .lrbc-recurring-day > header,
.lrbc-recurring-week-grid.is-day-view.is-cards .lrbc-recurring-day > .lrbc-recurring-category-heading,
.lrbc-recurring-week-grid.is-day-view.is-cards .lrbc-recurring-day > .lrbc-empty-day { grid-column:1/-1; }
.lrbc-recurring-day { min-height:310px; padding:12px; border:1px solid #c3c4c7; border-radius:9px; background:#f6f7f7; }
.lrbc-recurring-day > header { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:10px; }
.lrbc-recurring-day > header h2 { margin:0; font-size:17px; }
.lrbc-recurring-day > header span { color:#646970; font-size:12px; }
.lrbc-empty-day { padding:20px 8px; color:#8c8f94; text-align:center; border:1px dashed #c3c4c7; border-radius:6px; background:#fff; }
.lrbc-recurring-card { position:relative; margin-bottom:10px; padding:12px; border:1px solid #dcdcde; border-radius:7px; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.lrbc-recurring-card.is-inactive { background:#f0f0f1; border-color:#b8bcc2; }
.lrbc-recurring-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
.lrbc-recurring-card-head h3 { margin:0; font-size:15px; line-height:1.25; }
.lrbc-recurring-card-head p { margin:3px 0 0; color:#646970; font-size:12px; }
.lrbc-recurring-card-head > strong { font-size:21px; }
.lrbc-recurring-card dl { margin:10px 0; }
.lrbc-recurring-card dl div { margin:6px 0; }
.lrbc-recurring-card dt { color:#646970; font-size:10px; font-weight:600; text-transform:uppercase; }
.lrbc-recurring-card dd { margin:1px 0 0; font-size:12px; }
.lrbc-recurring-card-actions { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:10px; }
.lrbc-recurring-card-actions form { margin:0; }
.lrbc-recurring-category-heading { margin:14px 0 7px; padding:5px 7px; border-radius:5px; background:#dfe5ea; color:#2c3338; font-size:11px; line-height:1.3; letter-spacing:.055em; text-transform:uppercase; }
.lrbc-recurring-day > header + .lrbc-recurring-category-heading { margin-top:0; }
.lrbc-recurring-compact { display:grid; grid-template-columns:minmax(145px,1fr) auto; gap:5px 10px; align-items:center; margin-bottom:7px; padding:8px 9px; border:1px solid #dcdcde; border-radius:6px; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.035); }
.lrbc-recurring-compact.is-inactive { background:#f0f0f1; border-color:#b8bcc2; }
.lrbc-recurring-compact-main { min-width:0; }
.lrbc-recurring-compact-main a { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-decoration:none; }
.lrbc-recurring-compact-main small { display:block; overflow:hidden; margin-top:2px; color:#646970; font-size:11px; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.lrbc-recurring-compact-qty { align-self:start; font-size:17px; }
.lrbc-recurring-compact .lrbc-recurring-status-form { margin:2px 0 0; }
.lrbc-recurring-compact .lrbc-toggle-slider { flex-basis:34px; width:34px; height:19px; }
.lrbc-recurring-compact .lrbc-toggle-slider::after { width:13px; height:13px; }
.lrbc-recurring-compact .lrbc-toggle-control input:checked + .lrbc-toggle-slider::after { transform:translateX(15px); }
.lrbc-recurring-card-actions.is-compact { justify-content:flex-end; margin-top:2px; }
.lrbc-recurring-card-actions.is-compact .button { min-height:25px; padding:0 6px; font-size:10px; line-height:23px; }
.lrbc-recurring-view-controls { align-items:end; }
.lrbc-recurring-view-controls label { flex-direction:column; align-items:flex-start; gap:4px; }
.lrbc-data-tools-grid { align-items:start; }
.lrbc-recurring-status-form { display:flex; align-items:center; justify-content:flex-start; margin:8px 0 2px; }
.lrbc-recurring-status-form.is-submitting { opacity:.65; pointer-events:none; }
.lrbc-switch-field { display:flex; flex-direction:column; gap:7px; font-weight:600; }
.lrbc-toggle-control { display:inline-flex !important; flex-direction:row !important; align-items:center; gap:8px; width:auto !important; cursor:pointer; font-weight:600 !important; }
.lrbc-toggle-control input { position:absolute; opacity:0; width:1px !important; height:1px; pointer-events:none; }
.lrbc-toggle-slider { position:relative; flex:0 0 42px; width:42px; height:23px; border-radius:999px; background:#8c8f94; box-shadow:inset 0 0 0 1px rgba(0,0,0,.12); transition:background .16s ease, box-shadow .16s ease; }
.lrbc-toggle-slider::after { content:""; position:absolute; top:3px; left:3px; width:17px; height:17px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.3); transition:transform .16s ease; }
.lrbc-toggle-control input:checked + .lrbc-toggle-slider { background:#2271b1; }
.lrbc-toggle-control input:checked + .lrbc-toggle-slider::after { transform:translateX(19px); }
.lrbc-toggle-control input:focus-visible + .lrbc-toggle-slider { box-shadow:0 0 0 2px #fff,0 0 0 4px #2271b1; }
.lrbc-toggle-control input:disabled + .lrbc-toggle-slider { opacity:.65; cursor:wait; }
.lrbc-toggle-text { color:#2c3338; font-size:12px; line-height:1.3; }
.lrbc-danger-button { border-color:#b32d2e !important; background:#b32d2e !important; color:#fff !important; }
.lrbc-danger-button:hover, .lrbc-danger-button:focus { border-color:#8a2424 !important; background:#8a2424 !important; color:#fff !important; }
.lrbc-inline-filter-label { display:flex; align-items:center; gap:7px; font-weight:600; }
.lrbc-inline-filter-label span { white-space:nowrap; }
.lrbc-inactive-pill { display:inline-block; margin:0 6px 8px 0; padding:3px 7px; border-radius:999px; background:#dcdcde; color:#50575e; font-size:11px; font-weight:600; }

@media (max-width:1100px) {
  .lrbc-recurring-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .lrbc-order-shopping-list .lrbc-card-heading { align-items:flex-start; }
  .lrbc-shopping-count { margin-top:2px; }
  .lrbc-demand-by-day > summary { padding:12px; }
  .lrbc-demand-by-day-body { padding:10px; }
  .lrbc-recurring-form-grid { grid-template-columns:1fr; }
  .lrbc-recurring-form-grid .span-2 { grid-column:span 1; }
  .lrbc-save-toast { top:56px; right:10px; max-width:calc(100vw - 20px); }
}

/* Calendar source colors and filters */
.lrbc-calendar-filter-bar { display:flex; flex-wrap:wrap; align-items:end; gap:12px; padding:12px; margin:0 0 12px; background:#fff; border:1px solid #dcdcde; border-radius:8px; }
.lrbc-calendar-filter-bar label { display:flex; flex-direction:column; gap:4px; font-weight:600; }
.lrbc-calendar-filter-bar select { min-width:190px; max-width:320px; }
.lrbc-calendar-legend { display:inline-flex; flex-wrap:wrap; align-items:center; gap:6px; margin-left:auto; color:#50575e; font-size:12px; }
.lrbc-calendar-legend i { width:13px; height:13px; border-radius:3px; border:1px solid rgba(0,0,0,.15); }
.lrbc-calendar-legend i.is-retail { background:#f7e7c6; }
.lrbc-calendar-legend i.is-wholesale { background:#dbeaf7; }
.lrbc-calendar-legend i.is-mixed { background:linear-gradient(135deg,#f7e7c6 0 48%,#dbeaf7 52% 100%); }
.lrbc-month-item.is-retail,.lrbc-calendar-item.is-retail,.lrbc-production-item.is-retail { background:#fff8e8; border-color:#dba617; color:#6b4b00; }
.lrbc-month-item.is-wholesale,.lrbc-calendar-item.is-wholesale,.lrbc-production-item.is-wholesale { background:#edf5fb; border-color:#72a6ce; color:#135e96; }
.lrbc-month-item.is-mixed,.lrbc-calendar-item.is-mixed,.lrbc-production-item.is-mixed { background:linear-gradient(135deg,#fff8e8 0 48%,#edf5fb 52% 100%); border-color:#8c73b8; color:#3c2f57; }
.lrbc-channel-badges { display:inline-flex; flex-wrap:wrap; gap:5px; margin-top:6px; }
.lrbc-channel-badge { display:inline-block; padding:2px 6px; border-radius:999px; font-size:10px; line-height:1.4; font-weight:600; }
.lrbc-channel-badge.is-retail { background:#f7e7c6; color:#6b4b00; }
.lrbc-channel-badge.is-wholesale { background:#dbeaf7; color:#135e96; }
.lrbc-product-type-badge { display:inline-block; margin:0 7px 5px 0; padding:2px 7px; border-radius:999px; background:#e8e8ea; color:#50575e; font-size:10px; font-weight:700; line-height:1.45; text-transform:uppercase; }
.lrbc-recipe-name { display:block; color:#646970; font-size:12px; }
.lrbc-calendar-item summary .lrbc-product-type-badge { display:table; }
.lrbc-calendar-item summary > span { min-width:0; }
.lrbc-source-row.is-retail td:first-child { border-left:4px solid #dba617; }
.lrbc-source-row.is-wholesale td:first-child { border-left:4px solid #2271b1; }
.lrbc-month-item.is-unmapped,.lrbc-calendar-item.is-unmapped,.lrbc-production-item.is-unmapped { background:#fcf0f1; border-color:#d63638; color:#8a2424; }

/* WooCommerce customer and invoice workflow */
.lrbc-heading-actions { display:flex; flex-wrap:wrap; gap:8px; }
.lrbc-customer-select,.lrbc-product-select { min-width:260px; }
.lrbc-legacy-customer-notice { align-self:end; padding:9px 11px; border-left:4px solid #dba617; background:#fff8e8; }
.lrbc-invoice-panel { margin:0 0 20px; padding:16px; border:1px solid #c3c4c7; border-radius:8px; background:#f6f7f7; }
.lrbc-invoice-panel h2 { margin:0 0 4px; }
.lrbc-invoice-panel .lrbc-card-heading p { margin:0; color:#50575e; }
.lrbc-invoice-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:12px; margin-top:14px; }
.lrbc-invoice-card { padding:14px; border:1px solid #dcdcde; border-radius:7px; background:#fff; }
.lrbc-invoice-card h3 { margin:0 0 3px; }
.lrbc-invoice-card p { margin:7px 0; }
.lrbc-inline-invoice-form { display:inline-block; margin:0; }
.lrbc-order-status { font-weight:600; }
.lrbc-stale-pill { display:inline-block; padding:2px 7px; border-radius:999px; background:#fff1c7; color:#7a4d00; font-size:11px; font-weight:600; }

/* 0.10.12 fulfillment-date wholesale invoice workspace */
.lrbc-invoice-tabs { margin:0 0 18px; }
.lrbc-invoice-datebar { display:flex; align-items:center; justify-content:center; gap:8px; padding:10px; }
.lrbc-invoice-datebar form { display:flex; align-items:center; gap:8px; }
.lrbc-invoice-datebar label { display:flex; align-items:center; gap:7px; font-weight:600; }
.lrbc-invoice-summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.lrbc-invoice-summary-tile { display:flex; flex-direction:column; min-height:112px; padding:14px 16px; border:1px solid #dcdcde; border-radius:8px; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.lrbc-invoice-summary-tile span { color:#50575e; font-size:12px; font-weight:700; text-transform:uppercase; }
.lrbc-invoice-summary-tile strong { margin:4px 0 2px; color:#1d2327; font-size:30px; line-height:1; }
.lrbc-invoice-summary-tile small { margin-top:auto; color:#646970; }
.lrbc-invoice-workspace > .lrbc-card-heading { align-items:center; margin-bottom:14px; }
.lrbc-invoice-workspace > .lrbc-card-heading h2 { margin:0 0 3px; }
.lrbc-invoice-workspace > .lrbc-card-heading p { margin:0; color:#50575e; }
.lrbc-invoice-customer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(430px,1fr)); gap:14px; }
.lrbc-invoice-customer-card { overflow:hidden; border:1px solid #c3c4c7; border-top:4px solid #2271b1; border-radius:8px; background:#fff; }
.lrbc-invoice-customer-card.has-order { border-top-color:#00a32a; }
.lrbc-invoice-customer-card.has-warning { border-top-color:#dba617; }
.lrbc-invoice-customer-card.has-error { border-top-color:#d63638; }
.lrbc-invoice-customer-card > header { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; padding:14px 16px 11px; }
.lrbc-invoice-customer-card h3 { margin:0 0 3px; font-size:17px; }
.lrbc-invoice-customer-card header p { margin:0; color:#646970; }
.lrbc-invoice-state,.lrbc-order-status { display:inline-flex; flex:0 0 auto; align-items:center; padding:4px 8px; border-radius:999px; background:#f0f0f1; color:#3c434a; font-size:11px; font-weight:700; white-space:nowrap; }
.lrbc-invoice-state.is-ready { background:#d7f0df; color:#0a5c2f; }
.lrbc-invoice-state.is-error { background:#f8d7da; color:#8a2424; }
.lrbc-invoice-alert { margin:0 14px 8px; padding:8px 10px; border-left:4px solid #dba617; background:#fff8e5; color:#5c4400; }
.lrbc-invoice-alert.is-error { border-left-color:#d63638; background:#fcf0f1; color:#8a2424; }
.lrbc-invoice-lines { border-width:1px 0 0; }
.lrbc-invoice-lines th,.lrbc-invoice-lines td { padding:8px 10px; }
.lrbc-invoice-lines th:not(:first-child),.lrbc-invoice-lines td:not(:first-child) { text-align:right; white-space:nowrap; }
.lrbc-invoice-lines tfoot th { border-top:2px solid #c3c4c7; }
.lrbc-invoice-price-note { margin:8px 14px; color:#646970; font-size:11px; }
.lrbc-invoice-card-actions { display:flex; flex-wrap:wrap; align-items:center; gap:7px; padding:10px 14px 14px; }
.lrbc-invoice-sent { color:#176b39; font-size:11px; font-weight:600; }
.lrbc-invoice-history { padding:0; overflow:hidden; }
.lrbc-invoice-history > summary { display:flex; justify-content:space-between; gap:12px; padding:14px 18px; cursor:pointer; }
.lrbc-invoice-history > summary span { color:#646970; font-size:12px; }
.lrbc-invoice-history > p { padding:0 18px 16px; }
.lrbc-invoice-history .lrbc-table-scroll { border-top:1px solid #dcdcde; }
.lrbc-invoice-history table { border:0; }
.lrbc-invoice-settings-form { max-width:900px; }
.lrbc-invoice-email-setting { padding:12px; border:1px solid #dba617; border-radius:6px; background:#fff8e5; flex-wrap:wrap; }
.lrbc-invoice-email-setting small { width:100%; margin-left:24px; color:#5c4400; }
.lrbc-invoice-shortcut { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:0 0 7px; padding:6px 9px; border:1px solid #c3d5e5; border-radius:6px; background:#edf6fc; color:#1d3f56; font-size:11px; }
.lrbc-invoice-shortcut .button { min-height:25px; padding:1px 7px; font-size:10px; line-height:21px; }

/* 0.10.6 compact, category-first production schedule */
.lrbc-calendar-filter-panel { margin:0 0 10px; overflow:hidden; border:1px solid #dcdcde; border-radius:7px; background:#fff; }
.lrbc-calendar-filter-panel > summary { padding:8px 11px; color:#3c434a; font-size:12px; font-weight:700; cursor:pointer; user-select:none; }
.lrbc-calendar-filter-panel[open] > summary { border-bottom:1px solid #e6e8ea; background:#f6f7f7; }
.lrbc-calendar-filter-panel .lrbc-calendar-filter-bar { margin:0; border:0; border-radius:0; box-shadow:none; }
.lrbc-compact-day { padding:10px; }
.lrbc-compact-day .lrbc-day-title { align-items:center; gap:10px; margin-bottom:5px; }
.lrbc-compact-day .lrbc-day-title h2 { margin:0; font-size:19px; line-height:1.15; }
.lrbc-compact-day .lrbc-day-title span { font-size:9px; }
.lrbc-day-summary { display:flex; flex-direction:column; align-items:flex-end; color:#646970; font-size:10px; line-height:1.25; }
.lrbc-day-summary strong { color:#2c3338; font-size:11px; }
.lrbc-schedule-category { margin:0; }
.lrbc-schedule-category-heading { margin:7px 0 3px; padding:3px 6px; border-radius:4px; background:#e8ecef; color:#45505b; font-size:9px; font-weight:800; line-height:1.3; letter-spacing:.07em; text-transform:uppercase; }
.lrbc-day-items > .lrbc-schedule-category:first-child .lrbc-schedule-category-heading,
.lrbc-week-day > .lrbc-schedule-category-heading:first-of-type { margin-top:2px; }
.lrbc-production-item.lrbc-compact-product,
.lrbc-calendar-item.lrbc-compact-product { margin:0 0 4px; padding:0; overflow:hidden; border:1px solid #d5dbe1; border-left-width:3px; border-radius:6px; background:#fff; color:#18212b; box-shadow:none; }
.lrbc-production-item.lrbc-compact-product.is-retail,
.lrbc-calendar-item.lrbc-compact-product.is-retail { border-left-color:#b77800; background:#fff; color:#18212b; }
.lrbc-production-item.lrbc-compact-product.is-wholesale,
.lrbc-calendar-item.lrbc-compact-product.is-wholesale { border-left-color:#1269a5; background:#fff; color:#18212b; }
.lrbc-production-item.lrbc-compact-product.is-mixed,
.lrbc-calendar-item.lrbc-compact-product.is-mixed { border-left-color:#7960a9; background:#fff; color:#18212b; }
.lrbc-production-item.lrbc-compact-product.is-component,
.lrbc-calendar-item.lrbc-compact-product.is-component { border-left-color:#218c45; background:#fff; color:#18212b; }
.lrbc-production-item.lrbc-compact-product.is-prep-stock,
.lrbc-calendar-item.lrbc-compact-product.is-prep-stock { border-left-color:#218c45; }
.lrbc-compact-product-head,
.lrbc-calendar-item.lrbc-compact-product > summary { min-height:29px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:7px; padding:4px 7px; }
.lrbc-calendar-item.lrbc-compact-product > summary { cursor:pointer; }
.lrbc-compact-product-head h3 { min-width:0; margin:0; overflow:hidden; font-size:12px; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.lrbc-compact-product-head h3 a,
.lrbc-compact-product-name a { text-decoration:none; }
.lrbc-compact-product-name { min-width:0; overflow:hidden; font-size:11px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.lrbc-compact-product .lrbc-warning-text { display:inline; margin-left:6px; font-size:9px; }
.lrbc-compact-total { color:#26313c; font-size:18px; line-height:1; font-weight:800; }
.lrbc-compact-sources { border-top:1px solid #edf0f2; }
.lrbc-compact-source { min-height:21px; display:grid; grid-template-columns:18px minmax(34px,auto) minmax(0,1fr) 58px; align-items:center; gap:4px; padding:2px 7px 2px 5px; color:#2c3338; font-size:10px; line-height:1.25; }
.lrbc-compact-source.has-action { grid-template-columns:18px minmax(34px,auto) minmax(0,1fr) 58px 18px; }
.lrbc-compact-source + .lrbc-compact-source { border-top:1px solid #f0f2f4; }
.lrbc-compact-source:nth-child(even) { background:#fafbfb; }
.lrbc-compact-channel { width:16px; height:15px; display:inline-flex; align-items:center; justify-content:center; border-radius:4px; font-size:8px; font-weight:800; }
.lrbc-compact-channel.is-retail { background:#fff3d9; color:#9a6400; }
.lrbc-compact-channel.is-wholesale { background:#e5f2fb; color:#1269a5; }
.lrbc-compact-channel.is-prep_stock { background:#e4f4e9; color:#176b39; }
.lrbc-compact-source-qty { white-space:nowrap; }
.lrbc-compact-destination { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lrbc-compact-destination a { text-decoration:none; }
.lrbc-compact-source-note { color:#68737d; font-weight:400; }
.lrbc-compact-source time { color:#68737d; text-align:right; white-space:nowrap; }
.lrbc-compact-edit { color:#1373b4; font-size:11px; font-weight:800; line-height:1; text-align:right; text-decoration:none; }
.lrbc-compact-edit:hover,.lrbc-compact-edit:focus { color:#0a4b78; }
.lrbc-week-day { padding:7px; }
.lrbc-week-day .lrbc-calendar-date { margin-bottom:3px; }
.lrbc-week-day .lrbc-schedule-category-heading { margin-top:7px; }
.lrbc-invoice-panel { margin:0 0 7px; padding:0; overflow:hidden; border:1px solid #c3c4c7; border-radius:6px; background:#f6f7f7; }
.lrbc-invoice-panel > summary { display:flex; justify-content:space-between; gap:12px; padding:7px 9px; cursor:pointer; }
.lrbc-invoice-panel > summary span { color:#646970; font-size:11px; }
.lrbc-invoice-panel-body { padding:0 10px 10px; border-top:1px solid #dcdcde; }
.lrbc-invoice-panel-body > p { margin:8px 0; color:#50575e; font-size:11px; }

@media (max-width:900px) {
  .lrbc-calendar-legend { width:100%; margin-left:0; }
  .lrbc-calendar-filter-bar label,.lrbc-calendar-filter-bar select { width:100%; max-width:none; }
  .lrbc-invoice-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lrbc-invoice-customer-grid { grid-template-columns:1fr; }
}

@media (max-width:600px) {
  .lrbc-invoice-datebar { flex-wrap:wrap; }
  .lrbc-invoice-datebar form { order:-1; width:100%; justify-content:center; }
  .lrbc-invoice-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
  .lrbc-invoice-summary-tile { min-height:92px; padding:10px; }
  .lrbc-invoice-summary-tile strong { font-size:24px; }
  .lrbc-invoice-customer-card > header { flex-direction:column; }
  .lrbc-invoice-lines { min-width:660px; }
  .lrbc-invoice-customer-card { overflow-x:auto; }
  .lrbc-invoice-card-actions,.lrbc-invoice-card-actions .lrbc-inline-invoice-form,.lrbc-invoice-card-actions .button { width:100%; }
  .lrbc-invoice-shortcut { align-items:flex-start; }
  .lrbc-production-schedule-admin > .lrbc-page-heading { align-items:center; gap:4px; margin:4px 0 7px; }
  .lrbc-production-schedule-admin > .lrbc-page-heading h1 { margin:0; font-size:18px; line-height:1.2; white-space:nowrap; }
  .lrbc-production-schedule-admin > .lrbc-page-heading p,
  .lrbc-production-schedule-admin > .lrbc-page-heading .lrbc-live-pill { display:none; }
  .lrbc-production-schedule-admin > .lrbc-page-heading > div:last-child { margin-left:auto; white-space:nowrap; }
  .lrbc-production-schedule-admin > .lrbc-page-heading .button { min-height:26px; padding:2px 5px; font-size:9px; line-height:20px; }
  .lrbc-calendar-toolbar { max-width:100%; flex-wrap:nowrap; gap:6px; padding:7px; overflow-x:auto; }
  .lrbc-calendar-toolbar .lrbc-view-toggle,
  .lrbc-calendar-toolbar .lrbc-calendar-nav { flex-wrap:nowrap; gap:4px; }
  .lrbc-calendar-toolbar .button { min-height:28px; padding:2px; font-size:9px; line-height:22px; }
  .lrbc-calendar-toolbar .lrbc-wide-label { display:none; }
  .lrbc-calendar-toolbar .lrbc-compact-label { display:inline; }
  .lrbc-calendar-nav { gap:4px; }
  .lrbc-calendar-nav form { display:none; }
  .lrbc-print-pack-button { display:inline-flex !important; }
  .lrbc-print-pack-button .lrbc-wide-label { display:none; }
  .lrbc-print-pack-button .lrbc-compact-label { display:inline; }
  .lrbc-calendar-refresh-line { display:none; }
  .lrbc-compact-day { padding:7px; }
  .lrbc-compact-day .lrbc-day-title h2 { font-size:17px; }
  .lrbc-schedule-category-heading { margin-top:5px; padding-top:2px; padding-bottom:2px; }
  .lrbc-production-item.lrbc-compact-product,
  .lrbc-calendar-item.lrbc-compact-product { margin-bottom:3px; }
  .lrbc-compact-product-head,
  .lrbc-calendar-item.lrbc-compact-product > summary { min-height:26px; padding-top:2px; padding-bottom:2px; }
  .lrbc-compact-source { min-height:18px; padding:1px 5px; font-size:9px; grid-template-columns:17px minmax(30px,auto) minmax(0,1fr) 52px; }
  .lrbc-compact-source.has-action { grid-template-columns:17px minmax(30px,auto) minmax(0,1fr) 52px 16px; }
  .lrbc-compact-total { font-size:17px; }
  .lrbc-calendar-filter-panel > summary { padding:7px 9px; }
}

@media print {
  .lrbc-calendar-filter-panel,.lrbc-invoice-panel { display:none !important; }
  .lrbc-compact-day { border:0; padding:0; }
  .lrbc-production-item.lrbc-compact-product { break-inside:avoid; }
  .lrbc-compact-source { font-size:8pt; }
}

/* Staged recipe CSV importer */
.lrbc-import-upload-row { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:14px 0; }
.lrbc-import-guidance { padding:10px 14px; margin-top:8px; border-left:4px solid #72aee6; background:#f0f6fc; }
.lrbc-import-guidance p { margin:6px 0; }
.lrbc-import-status { display:inline-flex; align-items:center; padding:5px 10px; border-radius:999px; font-size:12px; font-weight:700; background:#dcdcde; color:#3c434a; }
.lrbc-import-status-staged { background:#fff1c7; color:#6b4b00; }
.lrbc-import-status-committed { background:#d7f0df; color:#0a5c2f; }
.lrbc-import-status-rolled_back { background:#e5e5e5; color:#50575e; }
.lrbc-import-summary { display:grid; grid-template-columns:repeat(4,minmax(130px,1fr)); gap:10px; margin:16px 0; }
.lrbc-import-summary > div { display:flex; flex-direction:column; padding:12px; border:1px solid #dcdcde; border-radius:7px; background:#f6f7f7; }
.lrbc-import-summary strong { font-size:24px; line-height:1.1; }
.lrbc-import-summary span { color:#646970; font-size:12px; }
.lrbc-import-summary .has-warning { border-color:#dba617; background:#fff8e8; }
.lrbc-import-summary .has-error { border-color:#d63638; background:#fcf0f1; }
.lrbc-import-recipe-group { margin:16px 0; border:1px solid #c3c4c7; border-radius:8px; overflow:hidden; background:#fff; }
.lrbc-import-recipe-group.has-warnings { border-color:#dba617; }
.lrbc-import-recipe-group.has-errors { border-color:#d63638; }
.lrbc-import-recipe-group > header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding:14px 16px; background:#f6f7f7; border-bottom:1px solid #dcdcde; }
.lrbc-import-recipe-group > header h3 { margin:3px 0; font-size:18px; }
.lrbc-import-recipe-group > header p { margin:0; color:#646970; }
.lrbc-import-recipe-group > header label { display:flex; flex-direction:column; gap:5px; min-width:230px; font-weight:600; }
.lrbc-import-existing-note { margin:0; padding:9px 16px; border-bottom:1px solid #f0c33c; background:#fff8e8; color:#6b4b00; }
.lrbc-table-scroll { overflow-x:auto; }
.lrbc-import-recipe-group table { border:0; }
.lrbc-import-row-error td:first-child { border-left:4px solid #d63638; }
.lrbc-import-row-warning td:first-child { border-left:4px solid #dba617; }
.lrbc-import-row-ready td:first-child { border-left:4px solid #00a32a; }
.lrbc-validation-list { margin:0; padding-left:18px; }
.lrbc-match-good { color:#008a20; font-weight:600; }
.lrbc-match-missing { color:#996800; font-weight:600; }
.lrbc-import-match-pill { display:inline-block; padding:4px 8px; border-radius:999px; background:#e0e5ea; font-size:11px; font-weight:600; }
.lrbc-import-commit-options { margin-top:18px; }
.lrbc-import-commit-options .lrbc-check { display:flex; align-items:flex-start; gap:8px; margin:10px 0; }
.lrbc-import-batch-actions { display:flex; gap:12px; align-items:center; margin-top:14px; }
.lrbc-import-batch-actions form { margin:0; }
.lrbc-import-wrap tr.is-current td { background:#f0f6fc; }
.lrbc-ingredient-import-table { min-width:1180px; }
.lrbc-ingredient-import-table th:last-child select { min-width:150px; }
@media (max-width:800px) {
  .lrbc-import-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lrbc-import-recipe-group > header { flex-direction:column; }
  .lrbc-import-recipe-group > header label { width:100%; min-width:0; }
}

/* Prepared recipe / sub-recipe lines */
.lrbc-line-source[hidden] { display:none !important; }
.lrbc-line-source select { width:100%; }
.lrbc-recipe-lines table { min-width:1320px; }
.lrbc-recipe-lines .lrbc-line-type { min-width:175px; }
.lrbc-form-grid label small { display:block; margin-top:4px; color:#646970; font-weight:400; }

/* Prepared components shown alongside finished-product production */
.lrbc-calendar-legend i.is-component { background:#e9ddf7; }
.lrbc-month-item.is-component,
.lrbc-calendar-item.is-component,
.lrbc-production-item.is-component {
    background:#f6f0fc;
    border-color:#8c73b8;
    color:#4f3475;
    box-shadow:inset 4px 0 0 #8c73b8;
}


/* Daily aggregate dough mix panel and print actions */
.lrbc-mix-aggregate { margin-top:20px; }
.lrbc-mix-aggregate-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:14px; }
.lrbc-mix-aggregate-heading h2 { margin:0 0 4px; }
.lrbc-mix-aggregate-heading p { margin:0; color:#50575e; }
.lrbc-mix-print-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.lrbc-dough-total-grid { display:grid; grid-template-columns:1fr; gap:14px; }
.lrbc-dough-total-card { padding:14px; border:1px solid #8c73b8; border-radius:8px; background:#f8f4fc; }
.lrbc-dough-total-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.lrbc-dough-total-card h3 { margin:0; font-size:16px; }
.lrbc-dough-total-head > strong { white-space:nowrap; font-size:24px; color:#4f3475; }
.lrbc-dough-total-card p { margin:4px 0 0; color:#646970; font-size:12px; }
.lrbc-dough-total-card ul { margin:12px 0 0; padding:9px 0 0; border-top:1px solid #d4c4e5; list-style:none; }
.lrbc-dough-total-card li { display:flex; justify-content:space-between; gap:12px; margin:5px 0; font-size:12px; }
.lrbc-dough-total-card li strong { white-space:nowrap; }
@media (max-width:800px) {
  .lrbc-mix-aggregate-heading { flex-direction:column; }
  .lrbc-mix-print-actions { justify-content:flex-start; }
}

.lrbc-dough-total-card h4 { margin:14px 0 6px; font-size:13px; text-transform:uppercase; letter-spacing:.04em; }
.lrbc-dough-ingredient-preview { margin-top:4px; background:#fff; }
.lrbc-dough-ingredient-preview th,.lrbc-dough-ingredient-preview td { vertical-align:middle; }
.lrbc-dough-ingredient-preview .lrbc-number { width:180px; text-align:right; white-space:nowrap; }
.lrbc-dough-ingredient-preview .lrbc-number strong { display:block; }
.lrbc-dough-ingredient-preview .lrbc-number small { display:block; color:#646970; }
.lrbc-line-type { display:inline-block; padding:1px 5px; border:1px solid #8c73b8; border-radius:10px; color:#4f3475; font-size:10px; text-transform:uppercase; }
.lrbc-line-type.is-carryover { border-color:#b06f16; color:#7a4900; background:#fff8e8; }
.lrbc-dough-demand-details { margin-top:10px; border-top:1px solid #d4c4e5; padding-top:8px; }
.lrbc-dough-demand-details summary { cursor:pointer; font-weight:600; }
.lrbc-dough-demand-details ul { border-top:0; margin-top:6px; padding-top:0; }

/* Unsaved duplicate drafts for recipes and ingredients */
.lrbc-page-heading-actions,.lrbc-table-actions { display:flex; flex-wrap:wrap; gap:7px; align-items:center; }
.lrbc-inventory-table .lrbc-table-actions { min-width:225px; }

.lrbc-table-actions form, .lrbc-recipe-card-actions form, .lrbc-page-heading-actions form { margin:0; display:inline-flex; }

/* Optional prepped dough stock lots and bake allocations */
.lrbc-calendar-legend i.is-prep-stock { background:#d9f1e2; }
.lrbc-month-item.is-prep-stock,
.lrbc-calendar-item.is-prep-stock,
.lrbc-production-item.is-prep-stock {
    background:#edf8f1;
    border-color:#3b8b5a;
    color:#245f3d;
    box-shadow:inset 4px 0 0 #3b8b5a;
}
.lrbc-channel-badge.is-prep-stock { background:#d9f1e2; color:#245f3d; border-color:#73b48c; }
.lrbc-prep-stock-day { margin-top:20px; }
.lrbc-prep-stock-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(360px,1fr)); gap:16px; }
.lrbc-prep-stock-card { overflow:hidden; }
.lrbc-prep-stock-card.is-cancelled { opacity:.62; }
.lrbc-prep-stock-head { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; margin-bottom:12px; }
.lrbc-prep-stock-head h3 { margin:5px 0 2px; font-size:18px; }
.lrbc-prep-stock-head p { margin:0; color:#646970; }
.lrbc-prep-stock-head > strong { white-space:nowrap; color:#245f3d; font-size:21px; text-align:right; }
.lrbc-prep-stock-head > strong small { display:block; color:#646970; font-size:11px; font-weight:500; text-transform:uppercase; }
.lrbc-prep-stock-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:12px 0; }
.lrbc-prep-stock-stats span { padding:9px; border:1px solid #c8d1d8; border-radius:6px; background:#f8f9fa; }
.lrbc-prep-stock-stats small,.lrbc-prep-stock-stats strong { display:block; }
.lrbc-prep-stock-callout { padding:9px 11px; border-left:4px solid #3b8b5a; background:#edf8f1; }
.lrbc-prep-stock-update { display:flex; align-items:center; gap:6px; margin:0; }
.lrbc-prep-stock-update input[type=number] { width:115px; }
.lrbc-prep-allocation-editor input[type=date],
.lrbc-prep-allocation-editor input[type=number],
.lrbc-prep-allocation-editor input[type=text] { width:100%; }
.lrbc-prep-stock-card tr.is-today td { background:#fff8d8; }
.lrbc-status-pill.active,.lrbc-status-pill.planned { background:#d9f1e2; color:#245f3d; }
.lrbc-status-pill.closed,.lrbc-status-pill.baked { background:#e2e7eb; color:#3c434a; }
.lrbc-status-pill.cancelled { background:#f1dadd; color:#8a2424; }
@media (max-width:800px) {
  .lrbc-prep-stock-grid { grid-template-columns:1fr; }
  .lrbc-prep-stock-head { flex-direction:column; }
  .lrbc-prep-stock-stats { grid-template-columns:1fr; }
  .lrbc-prep-allocation-editor { min-width:760px; }
}
