
/* Birugood Fresh Operations Engine v0.9.0 */
.bgm-fresh-op-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:10px;background:#fff;border:1px solid #f0d9b5;border-radius:14px;position:sticky;top:72px;z-index:7}
.bgm-fresh-op-tabs a{padding:9px 13px;border-radius:9px;text-decoration:none;color:#6e4b12;font-weight:700;border:1px solid transparent;white-space:nowrap}
.bgm-fresh-op-tabs a:hover,.bgm-fresh-op-tabs a.is-active{background:var(--bgm-medium,#d97706);color:#fff;border-color:var(--bgm-medium,#d97706)}
.bgm-fresh-op-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.bgm-fresh-op-metrics article{background:#fff;border:1px solid #efd7b1;border-radius:16px;padding:17px;box-shadow:0 8px 24px rgba(72,48,14,.05)}
.bgm-fresh-op-metrics span{display:block;color:#806d52;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:800}
.bgm-fresh-op-metrics strong{display:block;margin:8px 0 5px;font-size:27px;color:#b85f00;line-height:1.1}
.bgm-fresh-op-metrics small{display:block;color:#6d756e;line-height:1.45}
.bgm-fresh-cost-flow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;margin-bottom:18px}
.bgm-fresh-cost-flow div{display:grid;grid-template-columns:auto 1fr;gap:2px 9px;align-items:center;min-width:0}
.bgm-fresh-cost-flow div small{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff2da;color:#b85f00;font-weight:800}
.bgm-fresh-cost-flow div strong{font-size:15px;color:#35563b}
.bgm-fresh-cost-flow div span{font-size:12px;color:#748078;white-space:normal}
.bgm-fresh-cost-flow i{font-style:normal;color:#d97706;font-size:20px}
.bgm-fresh-op-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bgm-fresh-op-list{list-style:none;padding:0;margin:12px 0 0}
.bgm-fresh-op-list li{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid #f0e8dc}
.bgm-fresh-op-list li:first-child{border-top:0}
.bgm-fresh-op-list li>div{display:flex;flex-direction:column;gap:4px}
.bgm-fresh-op-list li>div:last-child{align-items:flex-end}
.bgm-fresh-op-list span{color:#6d776f;font-size:12px}
.bgm-section-heading,.bgm-document-heading,.bgm-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.bgm-section-heading{margin-bottom:16px;background:#fff;border:1px solid #efd7b1;padding:18px 20px;border-radius:14px}
.bgm-section-heading h2,.bgm-document-heading h2,.bgm-card-heading h2{margin:0}
.bgm-section-heading p,.bgm-card-heading p{margin:5px 0 0;color:#6d776f}
.bgm-document-heading{padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid #eee6da}
.bgm-document-heading small{text-transform:uppercase;letter-spacing:.05em;font-weight:800;color:#806d52}
.bgm-fresh-separated-costs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:15px 0}
.bgm-fresh-separated-costs article{padding:15px;border:1px solid #eadcc7;border-radius:13px;background:#fffaf2}
.bgm-fresh-separated-costs article.is-total{background:#fff0d6;border-color:#d97706}
.bgm-fresh-separated-costs span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#7d6f5c;font-weight:800}
.bgm-fresh-separated-costs strong{display:block;margin-top:7px;font-size:20px;color:#365c3a}
.bgm-fresh-separated-costs small{display:block;margin-top:4px;color:#7b756d}
.bgm-fresh-lot-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:16px 0}
.bgm-fresh-lot-summary article{padding:14px;border:1px solid #eadcc7;border-radius:13px;background:#fff}
.bgm-fresh-lot-summary span{display:block;font-size:11px;text-transform:uppercase;color:#806d52;font-weight:800}
.bgm-fresh-lot-summary strong{display:block;margin-top:7px;font-size:20px;color:#365c3a}
.bgm-fresh-lines select,.bgm-fresh-lines input{width:100%;min-width:90px}
.bgm-fresh-lines td{vertical-align:middle}
.bgm-fresh-lines-form template{display:none}
.bgm-fresh-operations-v090 .bgm-field-grid label>span{display:block;font-weight:700;margin-bottom:6px}
.bgm-fresh-operations-v090 .bgm-field-grid input,.bgm-fresh-operations-v090 .bgm-field-grid select{width:100%}
.bgm-field-full{grid-column:1/-1}
.bgm-field-full>span{display:block;font-weight:700;margin-bottom:6px}
.bgm-field-full textarea{width:100%}
.bgm-compact-form{margin-top:16px;padding-top:16px;border-top:1px solid #eee5d8}
.bgm-inline-form{display:inline-flex;margin:0 3px}
.bgm-actions-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
@media(max-width:1200px){.bgm-fresh-op-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.bgm-fresh-op-grid{grid-template-columns:1fr 1fr}.bgm-fresh-separated-costs{grid-template-columns:repeat(3,minmax(0,1fr))}.bgm-fresh-lot-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.bgm-fresh-cost-flow{overflow-x:auto;justify-content:flex-start}.bgm-fresh-cost-flow div{min-width:170px}}
@media(max-width:720px){.bgm-fresh-op-tabs{position:static;flex-wrap:nowrap;overflow-x:auto}.bgm-fresh-op-metrics,.bgm-fresh-op-grid,.bgm-fresh-separated-costs,.bgm-fresh-lot-summary{grid-template-columns:1fr}.bgm-section-heading,.bgm-document-heading,.bgm-card-heading{flex-direction:column}.bgm-fresh-cost-flow{display:block}.bgm-fresh-cost-flow i{display:block;text-align:center;transform:rotate(90deg);margin:5px}.bgm-fresh-cost-flow div{min-width:0}}
