/* Pages polish v1: forecast, prep, waste, inventory. Visual only; no logic changes. */
:root{--kp-orange:#e87924}
/* shared: orange primary buttons, orange field labels, clear empty states */
.kp-btn-main,.live-forecast-form .primary-btn,.live-waste-form .primary-btn,.live-waste-record-form .primary-btn,.live-stock-movement-form .primary-btn,#livePrepLoad,#liveInventorySyncBranches{background:linear-gradient(100deg,#ed7b21,#f18a2e)!important;color:#fff!important;border:0!important;border-radius:10px!important;font-size:15px!important;font-weight:700!important;min-height:48px!important;padding:0 26px!important;cursor:pointer;box-shadow:0 6px 16px #e87a292e;transition:transform .15s,box-shadow .15s,opacity .15s}
.live-forecast-form .primary-btn:hover,.live-waste-form .primary-btn:hover,.live-waste-record-form .primary-btn:hover,.live-stock-movement-form .primary-btn:hover,#livePrepLoad:hover,#liveInventorySyncBranches:hover{transform:translateY(-1px);box-shadow:0 9px 20px #e87a293b}
.live-forecast-form .primary-btn:disabled,.live-waste-form .primary-btn:disabled,.live-waste-record-form .primary-btn:disabled,.live-stock-movement-form .primary-btn:disabled,#livePrepLoad:disabled,#liveInventorySyncBranches:disabled{opacity:.6;transform:none}
.live-forecast-form label:first-child>span:first-child,.live-waste-form label:first-child>span:first-child{color:var(--kp-orange);font-weight:700}
.kp-empty{margin:12px 0 0;padding:14px 16px;border:1px dashed #d9c3a4;background:#fffaf2;border-radius:10px;color:#8a6a3c;font-size:13px;line-height:1.7}
.kp-hide{display:none!important}
/* forecast */
.live-forecast-panel .panel-heading .status-tag{display:none!important}
.live-forecast-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important}
.live-forecast-form .primary-btn{grid-column:1/-1;width:100%;min-height:52px!important;font-size:16px!important}
.kp-branch-mirror{width:100%;min-width:0;height:42px;border:1px solid #dfe5ec;border-radius:9px;padding:0 11px;background:#fff;color:#24364e;font:inherit}
/* prep */
.live-prep-panel .panel-heading{align-items:center}
#livePrepLoad{min-height:52px!important;padding:0 32px!important;font-size:16px!important}
#livePrepStatus.kp-hide{display:none!important}
/* waste */
.live-waste-panel .panel-heading .status-tag{display:none!important}
.live-waste-form,.live-waste-record{border:1px solid #e3e9f0;background:#fbfcfe;border-radius:12px;padding:16px 18px;margin-top:16px!important}
.live-waste-record{border-top:1px solid #e3e9f0}
.live-waste-form{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start!important}
.live-waste-form .primary-btn{grid-column:1/-1;width:100%}
.live-waste-record h4{margin:0 0 4px;color:#17263d;font-size:15px}
.live-waste-record-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;margin-top:12px}
.live-waste-record-form label{display:grid;gap:7px;color:#53647a;font-size:12px;font-weight:700}
.live-waste-record-form input,.live-waste-record-form select{width:100%;min-width:0;height:42px;border:1px solid #dfe5ec;border-radius:9px;padding:0 11px;background:#fff;color:#24364e;font:inherit}
.live-waste-record-form .primary-btn{grid-column:1/-1;width:100%}
#liveWasteNote{border:1px solid #c5cfdb}
/* inventory */
.live-inventory-status.kp-hide{display:none!important}
#liveInventorySyncBranches{min-height:46px!important}
.live-stock-movement-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:start!important}
.live-stock-movement-form .primary-btn{grid-column:1/-1;width:100%}
#liveInventoryNote,#liveInventoryQuantity{border:1px solid #c5cfdb!important}
/* overview alignment: helper moved under the select so labels and fields line up */
.live-sales-form{align-items:start!important}
/* global: hide the yellow notice once Foodics is connected, except on the overview */
html.kp-connected:not(.kp-on-overview) #customerModeStatus{display:none!important}
@media(max-width:700px){.live-forecast-form,.live-waste-form,.live-waste-record-form,.live-stock-movement-form{grid-template-columns:1fr!important}}
