#logistics-control-room .lf-notice{padding:12px 16px;background:#fff4e8;border-left:3px solid #ff7a22;border-radius:8px;margin:14px 0;line-height:1.5}
#logistics-control-room .kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
#logistics-control-room .lf-financial{padding:24px}
#logistics-control-room .lf-financial{border-top:4px solid #ff7a22;cursor:pointer}
#logistics-control-room .lf-financial:focus-visible{outline:3px solid #ff7a22;outline-offset:3px}
#logistics-control-room .lf-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
#logistics-control-room .lf-filter label{display:flex;flex-direction:column;gap:6px;font-weight:600;min-width:0}
#logistics-control-room .lf-filter :is(input,select){font:inherit;box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:9px;border:1px solid #e8c8b1;border-radius:8px}
#logistics-control-room .lf-filter select[multiple]{height:90px}
#logistics-control-room .lf-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#logistics-control-room .lf-actions button{border:1px solid #ff7a22;min-height:44px}
#logistics-control-room .lf-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
#logistics-control-room .lf-chart{background:#fff;border:1px solid #eed8c7;border-radius:14px;padding:18px;min-width:0}
#logistics-control-room .lf-chart h3{margin:0 0 8px}
#logistics-control-room .lf-chart small{display:block;color:#69788b;margin:6px 0 12px}
#logistics-control-room .lf-bar{display:grid;grid-template-columns:minmax(0,45%) minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;width:100%;padding:9px 0;background:transparent;border:0;border-radius:0;color:inherit;white-space:normal;min-height:44px}
#logistics-control-room .lf-bar:hover{background:#fff2e6}
#logistics-control-room .lf-track{height:12px;background:#fff1e5;border-radius:6px;overflow:hidden}
#logistics-control-room .lf-fill{display:block;height:100%;background:#ff7a22;border-radius:6px}
#logistics-control-room .lf-bar strong{font-size:14px;white-space:nowrap}
#logistics-control-room .lf-trend{overflow-x:auto;min-width:0}
#logistics-control-room .lf-trend table{width:100%;font-size:14px}
#logistics-control-room .lf-table{overflow:auto;max-width:100%}
#logistics-control-room .lf-table table{width:100%;border-collapse:collapse}
#logistics-control-room .lf-table :is(th,td){padding:12px;text-align:left;border-bottom:1px solid #eee0d5;vertical-align:top}
#logistics-control-room .lf-table th{white-space:nowrap;background:#faf0e7}
#logistics-control-room .lf-empty{padding:18px;color:#69788b;line-height:1.5}
#logistics-control-room .lf-alert{color:#be2424;background:#fff0f1;border-radius:8px;padding:10px;margin:8px 0}
.lf-dialog{border:1px solid #edd4c1;border-radius:16px;padding:22px;width:min(920px,calc(100% - 40px));max-height:85dvh;overflow:auto;color:#27364b;background:#fffdfb}
.lf-dialog::backdrop{background:#12223890}
.lf-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.lf-dialog form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.lf-dialog label{display:flex;flex-direction:column;gap:6px;min-width:0}
.lf-dialog :is(input,select,textarea){font:inherit;box-sizing:border-box;padding:10px;width:100%;min-height:44px;border:1px solid #e8c8b1;border-radius:8px}
.lf-dialog .full{grid-column:1 / -1}
.lf-dialog .lf-error{color:#bd2020;min-height:24px}
.lf-dialog button{min-height:44px;border:1px solid #ff7a22}
@media(max-width:980px){#logistics-control-room .lf-filter{grid-template-columns:repeat(2,minmax(0,1fr))}#logistics-control-room .lf-charts{grid-template-columns:minmax(0,1fr)}#logistics-control-room .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){#logistics-control-room .lf-filter{grid-template-columns:minmax(0,1fr)}#logistics-control-room .lf-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#logistics-control-room .lf-actions button{width:100%;white-space:normal}#logistics-control-room .lf-bar{grid-template-columns:minmax(0,1fr) 65px auto}.lf-dialog form{grid-template-columns:minmax(0,1fr)}.lf-dialog header{position:sticky;top:0;background:#fffdfb;z-index:3;padding:8px 0}.lf-dialog header h2{font-size:20px}.lf-dialog{margin:70px auto 8px;width:calc(100% - 16px);max-height:calc(100dvh - 90px);padding:16px}#logistics-control-room .kpis{grid-template-columns:minmax(0,1fr)!important}}
@media print{body *{visibility:hidden}#logistics-control-room,#logistics-control-room *{visibility:visible}#logistics-control-room{position:absolute;left:0;top:0;width:100%}#logistics-control-room :is(.finance-tabs,.mobile-module-picker,.page-actions,.lf-actions,.lf-filter){display:none!important}.lf-charts{break-inside:auto}.lf-chart{break-inside:avoid}}

#logistics-control-room [hidden]{display:none!important}
/* Compact module navigation; preserve readable labels and touch targets. */
body main .view :is(.inventory-nav,.qh-tabs,.finance-tabs,.logistics-tabs,.contract-module-tabs,.contract-inner-tabs,.hr-tabs,.ua-tabs,.pc-reference-tabs):not(.mobile-module-tabs){display:flex;flex-wrap:wrap;gap:7px}
body main .view :is(.inventory-nav,.qh-tabs,.finance-tabs,.logistics-tabs,.contract-module-tabs,.contract-inner-tabs,.hr-tabs,.ua-tabs,.pc-reference-tabs)>button{flex:0 0 auto!important;width:auto!important;min-height:36px!important;padding:7px 11px!important;line-height:1.3!important;white-space:nowrap!important;overflow-wrap:normal!important;border-radius:8px!important}
#logistics-control-room .lf-bar{border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;padding:10px 0!important;min-height:36px!important;cursor:pointer;grid-template-columns:minmax(140px,38%) minmax(0,1fr) auto}
#logistics-control-room .lf-bar:hover,#logistics-control-room .lf-mix-key:hover{background:#fff4e8!important}
#logistics-control-room .lf-bar:focus-visible,#logistics-control-room .lf-mix-key:focus-visible{outline:2px solid #ff7a22;outline-offset:2px}
#logistics-control-room .lf-chart{align-self:start;box-shadow:0 2px 8px #27364b08}
#logistics-control-room .lf-axis{display:flex;justify-content:space-between;margin:12px 0 6px;color:#69788b;font-size:12px;border-bottom:1px solid #e7edf2;padding-bottom:6px}
#logistics-control-room .lf-track{background:repeating-linear-gradient(to right,#edf1f5 0,#edf1f5 1px,transparent 1px,transparent 25%);height:15px;border-radius:3px}
#logistics-control-room .lf-fill{border-radius:3px}
#logistics-control-room .lf-analysis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
#logistics-control-room .lf-analysis article{padding:16px;background:#fff;border:1px solid #e3e9ef;border-radius:10px;border-top:3px solid #ff7a22}
#logistics-control-room .lf-analysis span{display:block;font-size:13px;color:#65758a;line-height:1.5}
#logistics-control-room .lf-analysis strong{display:block;font-size:22px;margin-top:8px}
.lf-mix-body{display:grid;grid-template-columns:minmax(150px,40%) minmax(0,1fr);align-items:center;gap:18px}.lf-mix-body svg{width:100%;max-height:250px}.lf-mix-key{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 0;cursor:pointer;font-size:13px}.lf-mix-key i{width:10px;height:10px;border-radius:50%}
html body :is(dialog,.req-dialog,.pc-dialog,.ua-dialog):not(#erp-chat-panel){box-sizing:border-box;width:min(880px,calc(100vw - 32px));max-height:calc(100dvh - 64px);padding:18px;border-radius:12px;overflow:auto}
html body :is(.history-box,.hr-modal-card){box-sizing:border-box;width:min(880px,calc(100vw - 32px));max-height:calc(100dvh - 64px);padding:18px;overflow:auto}
html body :is(dialog,.history-box,.hr-modal-card) :is(.panel-head,header){display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
html body :is(dialog,.history-box,.hr-modal-card) :is(h2,h3){margin-top:0;line-height:1.3}
.lf-dialog dl,.req-details{display:grid;grid-template-columns:minmax(140px,30%) minmax(0,1fr);gap:8px 16px}.lf-dialog dd,.req-details dd{margin:0;overflow-wrap:anywhere}.lf-dialog dt{text-transform:capitalize}
.lf-dialog form label,.history-box form label{gap:5px}.lf-dialog form{gap:12px}.lf-dialog form :is(input,select,textarea){padding:8px;min-height:38px}.lf-dialog textarea{min-height:76px}
@media(max-width:700px){body main .view :is(.inventory-nav,.qh-tabs,.finance-tabs,.logistics-tabs,.contract-module-tabs,.contract-inner-tabs,.hr-tabs,.ua-tabs,.pc-reference-tabs):not(.mobile-module-tabs){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}body main .view :is(.inventory-nav,.qh-tabs,.finance-tabs,.logistics-tabs,.contract-module-tabs,.contract-inner-tabs,.hr-tabs,.ua-tabs,.pc-reference-tabs)>button{width:100%!important;min-height:44px!important;white-space:normal!important;word-break:normal!important}#logistics-control-room .lf-analysis{grid-template-columns:repeat(2,minmax(0,1fr))}#logistics-control-room .lf-analysis strong{font-size:18px}#logistics-control-room .lf-bar{grid-template-columns:minmax(0,1fr) 45px auto;font-size:13px}.lf-mix-body{grid-template-columns:1fr}.lf-mix-body svg{max-height:190px}.lf-dialog dl,.req-details{grid-template-columns:1fr;gap:4px}.lf-dialog dd,.req-details dd{margin-bottom:10px}html body :is(dialog,.req-dialog,.pc-dialog,.ua-dialog):not(#erp-chat-panel){width:calc(100vw - 16px);padding:14px;max-height:calc(100dvh - 88px)}html body :is(.history-box,.hr-modal-card){width:calc(100vw - 16px);padding:14px;max-height:calc(100dvh - 88px)}}
.lf-native-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lf-native-fields h3{grid-column:1 / -1}@media(max-width:700px){.lf-native-fields{grid-template-columns:minmax(0,1fr)}}
.lf-advanced{grid-column:1 / -1}.lf-advanced summary{cursor:pointer;color:#a74813;padding:12px;border:1px solid #f1d3bd;border-radius:8px}.lf-advanced-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:14px}@media(max-width:980px){.lf-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.lf-advanced-grid{grid-template-columns:minmax(0,1fr)}}
@media print{body.lf-print-report #logistics-control-room,body.lf-print-report #logistics-control-room *{visibility:hidden}body.lf-print-report .lf-report,body.lf-print-report .lf-report *{visibility:visible}body.lf-print-report .lf-report{position:absolute;left:0;top:0;width:100%;max-height:none;overflow:visible;border:0;margin:0}body.lf-print-report .lf-report button{display:none}.lf-report table{width:100%;border-collapse:collapse}.lf-report td,.lf-report th{font-size:10px;padding:6px;border-bottom:1px solid #ccc}}

#logistics-control-room [hidden], .lf-axis[hidden] { display: none !important; }

.lf-trend-choice{display:flex;align-items:center;gap:10px;margin:12px 0}.lf-trend-choice select{padding:8px;border:1px solid #edb58f;border-radius:8px}.lf-trend-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0;font-size:13px}.lf-trend-legend span{display:flex;align-items:center;gap:6px}.lf-trend-legend i{width:10px;height:10px;border-radius:2px;flex-shrink:0}

@media(min-width:701px) and (max-width:1050px){#logistics-control-room .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

#logistics-control-room .lf-monthly-trend{grid-column:1/-1;min-width:0}
html body dialog.lf-dialog{padding:0!important;border-radius:16px;box-shadow:0 24px 80px #13233838;box-sizing:border-box;width:min(1040px,calc(100vw - 32px));max-height:calc(100dvh - 64px)}
html body dialog.lf-dialog>header{position:sticky;top:0;z-index:5;display:flex!important;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;margin:0!important;width:100%;box-sizing:border-box;background:#fffdfb;border-bottom:1px solid #eaded3;transform:none;min-width:0}
html body dialog.lf-dialog>header h2{flex:1;min-width:0;margin:0!important;font-size:22px;line-height:1.3;overflow-wrap:anywhere;text-align:left}
html body .erp-close-icon.erp-close-icon{flex:0 0 38px;width:38px!important;height:38px!important;min-height:38px!important;min-width:38px!important;padding:8px!important;display:grid!important;place-items:center;border:0!important;border-radius:0!important;white-space:nowrap!important;background:transparent!important;color:#ff7a22!important;box-shadow:none!important}
.erp-close-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round}
.lf-dialog-body{padding:20px 22px;min-width:0}.lf-dialog-body .lf-table{width:100%;max-width:100%;overflow:auto;border:1px solid #eaded3;border-radius:10px}.lf-dialog-body table{width:100%;min-width:850px;border-collapse:collapse}.lf-dialog-body :is(th,td){padding:11px 14px;text-align:left;white-space:nowrap;border-bottom:1px solid #ece4dd;font-size:14px}.lf-dialog-body th{background:#f7ede4;color:#48566a;font-weight:700}.lf-dialog-body tr:last-child td{border-bottom:0}.lf-detail-overview{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px;background:#fff4eb;border-radius:12px;margin-bottom:20px}.lf-detail-overview strong{font-size:26px;color:#243449}.lf-detail-status{margin-left:auto;color:#a54211;font-size:14px}.lf-detail-grid{margin:0 0 18px}.lf-detail-grid dt{font-size:14px;color:#6b7684}.lf-detail-grid dd{font-size:15px;line-height:1.5}.lf-source-details{border-top:1px solid #e9dfd5;padding:12px 0}.lf-source-details summary{cursor:pointer;color:#a64d13;font-weight:600}.lf-source-details pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;background:#f6f7f9;padding:12px;border-radius:8px}
@media(max-width:700px){html body dialog.lf-dialog{width:calc(100vw - 16px);margin:64px auto 8px;max-height:calc(100dvh - 80px)}html body dialog.lf-dialog>header{padding:14px;gap:10px}html body dialog.lf-dialog>header h2{font-size:19px}.lf-dialog-body{padding:14px}.lf-detail-status{margin-left:0}html body .erp-close-icon.erp-close-icon{width:42px!important;height:42px!important;min-height:42px!important;flex-basis:42px}}
html body dialog.lf-dialog>header{width:100%!important;max-width:none!important;left:0!important;right:0!important}html body dialog.lf-dialog>header .erp-close-icon{border-radius:0!important}

.req-history-entry{border:1px solid var(--border,#efd9cb);border-left:3px solid #ff7b22;border-radius:10px;background:var(--card-bg,var(--surface,#fffaf6));padding:14px;margin:12px 0}.req-history-entry header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.req-history-entry time{font-size:12px;color:var(--muted,#68758a);font-family:inherit}.req-history-comment{margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.req-history-override{display:inline-block;margin-top:8px;padding:3px 8px;background:#fff0d8;color:#82500e;border-radius:5px;font-size:12px}.req-history-table{overflow:auto}.req-history-table table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.req-history-table th,.req-history-table td{padding:8px;text-align:left;vertical-align:top;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid var(--border,#eadfd7)}.req-history-table thead th{font-size:11px;text-transform:uppercase;background:var(--surface,#f8f1eb)}@media(max-width:600px){.req-history-entry{padding:10px}.req-history-entry header{display:block}.req-history-entry time{display:block;margin-top:5px}.req-history-table th,.req-history-table td{padding:7px 5px;font-size:12px}}
#logistics-control-room .kpis.lf-smart-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}#logistics-control-room .lf-smart-cards .kpi{min-height:0!important;padding:14px!important;border:1px solid #e3e7ed!important;border-top:3px solid var(--item-color)!important;border-radius:12px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--item-color) 9%,white),white)!important;box-shadow:0 2px 7px #20304708!important}.lf-card-title{display:flex;align-items:center;gap:8px}.lf-card-title label{font-size:12px!important;line-height:1.35!important;font-weight:700!important;text-transform:none!important;color:#27374b!important;margin:0!important}.lf-card-icon{font-size:20px;color:var(--item-color);flex-shrink:0}.lf-card-period{display:block;font-size:10px;color:#68758b;margin:5px 0}.lf-smart-cards .kpi strong{font-family:Segoe UI,Arial,sans-serif!important;font-size:25px!important;line-height:1.2!important;margin:6px 0 10px!important;color:var(--item-color)!important}.lf-smart-cards .kpi small{display:block;border-top:1px solid #dbe1e8;padding-top:8px;font-size:11px!important;line-height:1.3!important;color:#566273!important}@media(max-width:850px){#logistics-control-room .kpis.lf-smart-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){#logistics-control-room .kpis.lf-smart-cards{grid-template-columns:1fr}}
.lf-assignment-filters{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.lf-assignment-filters label{display:grid;gap:5px;font-size:12px}.lf-assignment-filters input{min-width:250px}#lf-assignment-rows td{white-space:normal;vertical-align:top}#lf-assignment-rows td:nth-child(2){min-width:220px;max-width:420px}
