.entry-freight-quote{display:block;margin-top:3px;font-size:11px;line-height:1.4;color:#3d5666;overflow-wrap:normal}
.order-workbench .entry-freight-field input[readonly]{background:#f0f5f7;color:#143c4e;font-weight:650;text-align:right;font-variant-numeric:tabular-nums}
.order-workbench [data-sap-input]{text-align:right;font-variant-numeric:tabular-nums}
.order-workbench[data-freight-state="ERROR"] .entry-freight-quote{color:#8a351c}
/* Commercial order workbench. Dense operational layout. */
/* v39.1: readable operational text; contrast tokens retained in v45. */
.order-workbench.modal{
  --entry-text:#173b48;
  --entry-secondary:#3c5663;
  --entry-muted:#526874;
  --entry-action:#006b85;
  --entry-success:#2b6b42;
  --entry-warning:#875413;
  --entry-line:#d5dfe3;
  width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;padding:0;margin:0;
  display:grid;grid-template-rows:42px 38px minmax(0,1fr) auto;overflow:hidden;background:#fff;color:var(--entry-text);
  font-size:14px;box-shadow:none;
}
body.order-entry-open,body.order-entry-open #app{height:100dvh;overflow:hidden}
.order-entry-backdrop.modal-backdrop{inset:0;padding:0;display:block;background:#fff;z-index:75;backdrop-filter:none}
.order-workbench [hidden]{display:none!important}
.order-workbench .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.order-workbench *{box-sizing:border-box}
.order-workbench button,.order-workbench input,.order-workbench select,.order-workbench textarea{font:inherit}
.order-workbench button{cursor:pointer}
.order-workbench button:disabled{cursor:not-allowed;opacity:.6}
.order-workbench :focus-visible{outline:2px solid #007e9b;outline-offset:2px}
.entry-topbar{display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid var(--entry-line);background:#fff}
.entry-brand,.entry-top-right{display:flex;align-items:center;gap:18px}
.entry-company{display:flex;align-items:center;gap:7px;color:var(--entry-secondary);font-size:12px;white-space:nowrap}
.entry-company select{width:88px;height:30px;border:1px solid #aebfc6;border-radius:4px;padding:4px 7px;background:#fff;color:var(--entry-text);font-size:13px}
.entry-brand img{width:126px;height:34px;object-fit:contain}
.entry-brand>span{font-size:13px;color:var(--entry-secondary);border-left:1px solid var(--entry-line);padding-left:18px}
.entry-brand i{font-style:normal;color:var(--entry-muted);margin:0 5px}
.entry-environment{font-size:11px;color:var(--entry-muted);letter-spacing:.04em}
.entry-close{border:0;background:none;color:var(--entry-secondary);display:flex;align-items:center;gap:12px;font-size:13px}
.entry-close>span{font-size:25px;line-height:1;font-weight:400}
.entry-tabs{display:flex;align-items:stretch;gap:24px;padding:0 22px;border-bottom:1px solid var(--entry-line);background:#f5f8f8}
.order-workbench .entry-tabs h2{font-size:18px;letter-spacing:-.025em;margin:0 14px 0 0;align-self:center;line-height:1.2}
.entry-tabs>[role=tab]{border:0;border-bottom:3px solid transparent;border-radius:0;background:none;padding:0 2px;font-size:13px;color:var(--entry-secondary)}
.entry-tabs>[aria-selected=true]{border-bottom-color:var(--entry-action);color:var(--entry-action);font-weight:700}
.entry-draft-state{margin-left:auto;align-self:center;font-size:12px;color:var(--entry-muted)}
.entry-layout{display:grid;grid-template-columns:minmax(0,1fr) 244px;min-height:0;overflow:auto;overscroll-behavior:contain;align-items:start;scroll-padding-top:42px;scroll-padding-bottom:8px}
.entry-content{min-width:0;min-height:0;overflow:visible}
.entry-main-panel{height:auto;min-height:0;display:flex;flex-direction:column}
.entry-section{padding:8px 18px;border-bottom:1px solid var(--entry-line);min-width:0}
.order-workbench .field{min-width:0;position:relative;display:flex;flex-direction:column;gap:5px;margin:0}
.order-workbench .field label{color:var(--entry-secondary);font-size:12px!important;font-weight:600;line-height:16px}
.order-workbench .field input,.order-workbench .field select,.order-workbench .field textarea{width:100%;min-width:0;min-height:36px;height:36px;margin:0;padding:7px 10px;background:#fff;border:1px solid #aebfc6;border-radius:4px;color:var(--entry-text);font-size:13px;box-shadow:none}
.order-workbench .field textarea{height:auto;min-height:85px;resize:vertical}
.order-workbench .field input::placeholder,.order-workbench .field textarea::placeholder{color:var(--entry-muted);opacity:1}
.order-workbench .field input:focus,.order-workbench .field select:focus,.order-workbench .field textarea:focus{border-color:var(--entry-action)}
.order-workbench .field input:disabled,.order-workbench .field select:disabled{background:#f0f3f4;color:var(--entry-muted);opacity:1}
.order-workbench .master-prefilled{color:var(--entry-secondary)!important;background:#f1f4f3!important;border-color:var(--entry-line)!important}
.order-workbench .order-relations{margin:0;padding:0;border:0;background:none;box-shadow:none}
.order-workbench .order-relations>header{display:none}
.order-workbench .relation-selectors{display:grid;grid-template-columns:minmax(210px,1.1fr) minmax(250px,1.3fr) minmax(210px,.9fr);gap:12px;align-items:start}
.entry-full-value{font-size:12px;line-height:1.4;color:var(--entry-text);overflow-wrap:anywhere;white-space:normal;padding:3px 0}
.order-workbench .relation-selectors>.field:last-child{display:flex;flex-direction:column}
.order-workbench .relation-selectors #orderCustomerSearch{height:36px}
.order-workbench .relation-selectors input,.order-workbench .relation-selectors select{font-size:13px!important;margin-top:0;min-height:36px}
.order-workbench .relation-selectors #orderSiteSearch{margin-top:2px}
.order-workbench #orderRelationStatus{margin:5px 0 0;font-size:12px;color:var(--entry-warning);line-height:1.4}
.order-workbench #orderRelationStatus:empty{display:none}
.entry-combobox{position:relative;display:flex;min-width:0}
.order-workbench .entry-combobox>input{padding-right:35px}
.order-workbench .entry-dropdown{position:absolute;right:1px;top:1px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-left:1px solid #d5dfe3;border-radius:0 3px 3px 0;background:#f5f8f8;color:var(--entry-action);line-height:1}
.order-workbench .entry-dropdown svg{display:block;pointer-events:none}
.order-workbench .entry-dropdown[aria-expanded=true] svg{transform:rotate(180deg)}
.order-workbench .entry-dropdown:hover{background:#e0ecef}
.order-workbench .entry-options{display:block;z-index:100;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:1px solid #9eb6c0;border-radius:4px;background:#fff;box-shadow:0 8px 25px #173b4826;margin:0}
.order-workbench .entry-options[hidden]{display:none}
.order-workbench .entry-options button{display:flex;flex-direction:column;gap:3px;width:100%;text-align:left;border:0;border-bottom:1px solid #e5ecee;background:#fff;padding:10px 12px;color:var(--entry-text);line-height:1.35}
.order-workbench .entry-options button:hover,.order-workbench .entry-options button:focus{background:#e0ecef;outline-offset:-2px}
.order-workbench .entry-options b{font-size:13px;font-weight:600}
.order-workbench .entry-options small{font-size:12px;color:var(--entry-secondary)}
.order-workbench .entry-options b,.order-workbench .entry-options small{overflow-wrap:anywhere;white-space:normal;max-width:100%}
.order-workbench .entry-options>span{display:block;font-size:13px;padding:12px;color:var(--entry-secondary)}
.entry-destination{font-size:12px;color:var(--entry-secondary);margin-top:5px;white-space:normal;overflow-wrap:anywhere;line-height:18px}
.entry-delivery-grid{display:grid;grid-template-columns:132px 90px 144px minmax(140px,.8fr) minmax(120px,.8fr) minmax(220px,1.4fr) 190px;gap:12px}
.entry-presentation{display:flex;align-items:center;min-height:38px;padding:7px 10px;background:#edf4f5;border:1px solid #d6e2e6;border-radius:4px;color:#173b48;font-size:13px;line-height:1.3;overflow-wrap:normal;white-space:normal}
.entry-presentation.needs-review{color:#78500e;background:#fff6e2;border-color:#e4cb96}
.entry-shift-options{display:flex;gap:4px;min-height:36px}
.entry-shift-options button{flex:1;min-width:0;border:1px solid #aebfc6;border-radius:4px;background:#fff;color:var(--entry-secondary);padding:6px 5px;font-size:13px!important;white-space:nowrap}
.entry-shift-options button[aria-pressed=true]{background:#006b85;color:#fff;border-color:#006b85;font-weight:600}
.order-workbench .history-inline{display:none}
.order-workbench .entry-extra-panel .history-inline{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--entry-secondary)}
.entry-extra-panel .history-inline>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.entry-extra-panel .history-inline>button{border:0;background:none;padding:4px;color:var(--entry-action);font-size:12px}
.order-history-mount{flex-shrink:0}
.order-workbench .entry-history{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;padding:6px 18px;background:#f5f8f8;border-bottom:1px solid var(--entry-line);margin:0}
.entry-history-top{display:flex;align-items:center;gap:10px;min-width:0}
.entry-history-label{font-size:12px;font-weight:600;color:var(--entry-secondary);white-space:nowrap}
.order-workbench .history-scope{display:flex;border:0;background:none;padding:0;gap:0;width:auto}
.order-workbench .history-scope button{font-size:11px;white-space:nowrap;padding:5px 7px;border:1px solid transparent;background:none;color:var(--entry-secondary);border-radius:3px}
.order-workbench .history-scope button.active{color:var(--entry-action);background:#e0ecef;border-color:#bdd1d8}
.entry-reference-controls{display:flex;gap:8px;align-items:center;min-width:0}
.order-workbench .entry-reference-controls select{height:30px;min-width:0;flex:1;padding:4px 8px;font-size:12px;border:1px solid #aebfc6;border-radius:3px;background:#fff;color:var(--entry-text)}
.entry-reference-controls>button,.entry-history #retryOrderHistory{font-size:12px;font-weight:600;color:var(--entry-action);border:0;background:none;white-space:nowrap;padding:4px 0}
.entry-history #orderHistoryStatus{grid-column:1/-1;margin:0;font-size:12px;color:var(--entry-secondary);line-height:1.4}
.entry-history #orderHistoryStatus:empty{display:none}
.order-workbench .history-applied{border-color:#4e96a8!important;background:#f3fafb!important}
.entry-materials-section{min-height:0;display:block;padding-bottom:0;border-bottom:0;position:relative}
.entry-section-heading{display:flex;align-items:center;gap:12px;margin:0 0 9px}
.order-workbench .entry-section-heading h3{font-size:14px;margin:0;font-weight:700;color:var(--entry-text)}
.entry-section-heading>span{color:var(--entry-muted);font-size:12px}
.entry-add-line{margin-left:auto;padding:6px 10px;border:1px solid #b7cbd1;border-radius:4px;background:#fff;color:var(--entry-action);font-size:12px!important;font-weight:600}
.entry-grid-scroll{display:block;min-height:0;overflow:visible}
.entry-material-head,.order-workbench .order-line{display:grid;grid-template-columns:minmax(240px,1fr) 84px 100px 92px 74px 100px 28px;gap:8px;min-width:0}
.entry-material-head{position:sticky;top:0;z-index:2;padding:9px 0;border-block:1px solid var(--entry-line);background:#f5f8f8;font-size:12px;color:var(--entry-secondary);text-align:right}
.entry-material-head>span:first-child{text-align:left;padding-left:10px}
.order-workbench #orderLines{display:flex;flex-direction:column;gap:0}
.order-workbench .order-line{align-items:start;padding:3px 0 2px;margin:0;border:0;border-bottom:1px solid #e3e9ec;border-radius:0;background:#fff}
.order-workbench .order-line .field{gap:2px}
.order-workbench .order-line input,.order-workbench .order-line select{scroll-margin-top:42px}
.order-workbench .order-line input,.order-workbench .order-line select{height:32px;min-height:32px;padding-top:5px;padding-bottom:5px}
.order-workbench .order-line .entry-dropdown{height:30px}
.order-workbench .order-line>.field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.order-workbench .order-line input{text-align:right;padding:7px}
.order-workbench .order-line .entry-combobox input{text-align:left;padding:7px 35px 7px 9px}
.order-workbench .order-line select{padding:7px 3px;font-size:13px}
.entry-sap-quantity{display:block;min-height:32px;padding:7px 5px;text-align:right;color:#173b48;background:#f1f5f5;border-radius:3px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.entry-quantity-unit{position:absolute;top:8px;left:7px;font-size:10px;font-weight:600;color:#49616c;pointer-events:none}
.order-workbench .order-line input.entry-direct-quantity{padding-left:30px}
@media(max-width:760px){.entry-quantity-unit{display:none}}
.entry-material-code{display:flex;align-items:center;gap:5px;min-width:0}
.entry-material-code>label{font-size:11px!important;color:var(--entry-muted)!important;font-weight:400!important}
.order-workbench .entry-material-code>input{padding:0!important;height:18px!important;min-height:18px!important;font-size:12px!important;text-align:left;border:0!important;background:none!important;color:var(--entry-secondary);box-shadow:none!important}
.entry-line-amount{text-align:right;line-height:32px;color:var(--entry-text);font-variant-numeric:tabular-nums;font-weight:600;font-size:13px;white-space:nowrap}
.order-workbench .order-line .order-line-remove{grid-column:auto;width:28px;height:36px;min-width:0;margin:0;padding:0;border:0;background:none;border-radius:3px;color:#875044;font-size:23px;font-weight:400}
.order-workbench .order-line-remove:hover{background:#fbede9}
.order-workbench .history-material-source{grid-column:1/-1;color:var(--entry-warning);font-size:11px;margin:0}
.entry-grid-foot{display:flex;align-items:center;justify-content:space-between;padding:7px 0;flex-shrink:0}
.entry-grid-foot>button{padding:4px 0;border:0;background:none;color:var(--entry-action);font-size:12px!important}
.entry-grid-foot>span{font-size:11px;color:var(--entry-muted)}
.entry-history-materials:empty{display:none}
.entry-history-materials{min-width:0;margin-left:auto}
.entry-recent-materials{margin:0;background:#f5f8f8;border:1px solid var(--entry-line);border-radius:3px;padding:0 8px}
.entry-recent-materials summary{cursor:pointer;font-size:12px;line-height:18px;color:var(--entry-action);padding:6px 0}
.entry-recent-materials summary b{padding:1px 5px;margin-left:5px;background:#e0ecef;border-radius:3px}
.entry-recent-materials summary>span{display:none}
.entry-recent-materials[open]{position:absolute;top:43px;left:18px;right:18px;z-index:10;max-height:55vh;overflow:auto;box-shadow:0 6px 16px #173b4826}
.entry-recent-materials p{font-size:12px;color:var(--entry-warning);margin:6px 0 10px}
.order-workbench .history-material-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--entry-line)}
.order-workbench .history-material-list>div>div{display:flex;flex-direction:column;gap:4px}
.order-workbench .history-material-list b{font-size:13px}
.order-workbench .history-material-list small{font-size:12px;color:var(--entry-secondary)}
.order-workbench .history-material-list .history-warning{color:var(--entry-warning)}
.order-workbench .history-material-list button{background:#fff;border:1px solid #b7cbd1;border-radius:4px;color:var(--entry-action);padding:7px 10px;font-size:12px}
.entry-extra-panel{height:auto;overflow:visible;padding:22px}
.order-workbench .entry-extra-panel h3{font-size:14px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid var(--entry-line)}
.entry-extra-panel h3>span{margin-left:10px;font-size:12px;color:var(--entry-muted);font-weight:400}
.entry-additional-grid,.entry-master-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}
.entry-additional-grid>.field:last-child{grid-column:1/-1}
.entry-summary{position:sticky;top:0;align-self:start;min-width:0;max-height:calc(100dvh - 136px);overflow:auto;padding:18px;border-left:1px solid var(--entry-line);background:#f5f8f8}
.entry-summary-heading{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700}
.entry-summary-heading>b{font-size:11px;font-weight:400;color:var(--entry-muted)}
.entry-summary-destination{display:flex;flex-direction:column;gap:4px;padding:13px 0;border-bottom:1px solid var(--entry-line)}
.entry-summary-destination strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.entry-summary-destination>span{font-size:12px;color:var(--entry-secondary);line-height:1.4}
.entry-summary-destination i{font-style:normal}
.order-workbench .order-live-total{display:flex;flex-direction:column;gap:11px;margin:0;padding:17px 0;border:0}
.order-workbench .order-live-total>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.order-live-total>div>span{font-size:13px;color:var(--entry-secondary)}
.order-workbench .order-live-total b{font-size:13px;color:var(--entry-text);font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.order-live-total small{font-size:11px;color:var(--entry-muted)}
.order-workbench .entry-grand-total{flex-wrap:wrap;border-top:1px solid #bfced4;padding-top:13px;margin-top:2px}
.order-workbench .entry-grand-total strong{font-size:26px;font-weight:700;color:var(--entry-text);letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1.3}
.order-workbench .entry-grand-total strong small{font-size:13px;letter-spacing:0;color:var(--entry-secondary)}
.entry-load-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 0;border-block:1px solid var(--entry-line)}
.entry-load-metrics>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.entry-load-metrics b{font-size:18px;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.entry-load-metrics span{font-size:11px;line-height:1.3;color:var(--entry-secondary)}
.entry-readiness{display:flex;flex-direction:column;gap:8px;padding-top:15px}
.entry-readiness>div{display:flex;align-items:center;gap:7px;color:var(--entry-muted);font-size:12px;line-height:1.3}
.entry-readiness i{font-style:normal}
.entry-readiness .ready{color:var(--entry-success)}
.entry-readiness>p{font-size:12px;color:var(--entry-warning);line-height:1.5;margin:5px 0}
.entry-summary-note{font-size:12px;color:var(--entry-secondary)}
.entry-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 18px max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--entry-line);background:#fff}
.entry-validation-message{font-size:13px;color:var(--entry-warning);line-height:1.4;max-width:680px}
.entry-validation-message:empty{display:none}
.order-workbench .entry-actions.modal-actions{display:flex;flex-direction:row;gap:10px;margin:0 0 0 auto;flex-shrink:0}
.entry-submit{border:1px solid #aebfc6;border-radius:4px;min-height:40px;padding:9px 18px;background:#fff;color:var(--entry-text);font-size:13px!important;font-weight:600;white-space:nowrap}
.entry-submit.primary{background:#006b85;border-color:#006b85;color:#fff}
.entry-submit:hover{filter:brightness(.96)}
.entry-submit:disabled{opacity:.6;cursor:wait}

/* Compact order register. Keep the existing column controls, filters and exports. */
.orders-workspace .orders-page-head{margin-bottom:16px;align-items:center}
.order-company-filter{display:flex;align-items:center;gap:7px;color:#3c5663;font-size:12px;white-space:nowrap}
.order-company-filter select{height:36px;min-width:96px;padding:5px 8px;border:1px solid #aebfc6;border-radius:4px;background:#fff;color:#173b48;font-size:13px}
.desk-shell:has(.orders-workspace) .admin-main{background:#f5f7f8}
.desk-shell .orders-workspace .orders-page-head{background:none;border:0;border-radius:0;box-shadow:none;padding:0;overflow:visible;min-height:0}
.orders-workspace .orders-page-head:before,.orders-workspace .orders-page-head:after,.orders-workspace .orders-page-head .eyebrow:before{display:none}
.desk-shell .orders-workspace .orders-page-head h2{color:#173b48;font-size:25px;line-height:1.2;margin:0;font-weight:650}
.desk-shell .orders-workspace .orders-page-head .eyebrow{padding:0;color:#526874;letter-spacing:.07em;font-size:11px}
.desk-shell .orders-workspace .orders-page-head .btn.ghost{background:#fff;color:#173b48;border-color:#aebfc6}
.desk-shell .orders-workspace .order-panel{padding:12px 0}
.orders-workspace .order-toolbar{padding:0;background:none;border:0;border-radius:0}
.orders-workspace .catalog-tabs{border-left:0;border-right:0;border-top:0}
.orders-workspace .grid-tools button,.orders-workspace .grid-columns summary,.orders-workspace .grid-result,.orders-workspace .grid-footer{font-size:11px;color:#3c5663}
.orders-workspace .data-table tbody tr td{background:#fff}
.orders-workspace .data-table tbody tr:nth-child(even) td{background:#f8fafb}
.orders-workspace .orders-page-head h2{font-size:25px;margin:0;letter-spacing:-.035em}
.orders-workspace .orders-page-head .eyebrow{font-size:11px;margin-bottom:5px}
.order-register-counts{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px;padding:11px 0;border-block:1px solid #d5dfe3;margin-bottom:12px}
.order-register-counts>span{font-size:12px;color:#3c5663;display:flex;align-items:center;gap:7px}
.order-register-counts b{font-size:17px;color:#173b48;font-variant-numeric:tabular-nums}
.orders-workspace .catalog-tabs{margin-bottom:0;border-bottom:1px solid #d5dfe3;border-radius:0;background:none;padding:0;gap:18px;flex-wrap:wrap}
.orders-workspace .catalog-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:none;padding:10px 0;color:#3c5663;font-size:12px;font-weight:500}
.orders-workspace .catalog-tabs button.active{background:none;border-color:#006b85;color:#006b85;font-weight:700}
.orders-workspace .order-panel{border:0;border-radius:0;box-shadow:none;padding:12px 0;background:none}
.orders-workspace .order-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 150px 185px 170px auto;gap:8px}
.orders-workspace .order-toolbar input,.orders-workspace .order-toolbar select{min-width:0;height:36px;min-height:36px;border:1px solid #aebfc6;border-radius:4px;background:#fff;font-size:13px;color:#173b48;padding:7px 9px}
.orders-workspace .catalog-count{font-size:12px;padding:9px 0;color:#3c5663}
.orders-workspace .table-card{border-radius:4px;box-shadow:none;border:1px solid #d5dfe3}
.orders-workspace .order-table th{font-size:11px;font-weight:600;letter-spacing:.025em;padding:10px 12px;white-space:nowrap}
.orders-workspace .order-table td{padding:10px 12px;font-size:13px;line-height:1.35}
.orders-workspace .order-table td b{font-weight:600}
.orders-workspace .order-table td small{font-size:11px;color:#526874;margin-top:3px}
.orders-workspace .order-table .order-status,.orders-workspace .order-table .badge{font-size:10px;letter-spacing:0;text-transform:none;font-weight:600}
@media(min-width:981px) and (max-width:1450px){.entry-delivery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){
  .entry-layout{grid-template-columns:1fr}
  .entry-summary{position:static;max-height:none;border-left:0;border-top:1px solid var(--entry-line)}
  .entry-summary{padding:14px}
  .entry-section{padding:10px 16px}
  .entry-delivery-grid{gap:8px}
  .entry-history-top{gap:6px}
  .order-workbench .entry-history{padding:6px 16px;grid-template-columns:auto minmax(0,1fr)}
  .entry-history-top{justify-content:space-between}
  .entry-material-head,.order-workbench .order-line{grid-template-columns:minmax(230px,1fr) 78px 96px 88px 68px 90px 28px;min-width:0;gap:7px}
  .orders-workspace .order-toolbar{grid-template-columns:minmax(180px,1fr) 145px 170px}
}
@media(max-width:900px){
  .entry-layout{grid-template-columns:1fr}
  .order-workbench .relation-selectors{grid-template-columns:1fr 1fr}
  .entry-district{grid-column:1/-1}
  .entry-delivery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .entry-master-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .entry-environment{display:none}
  .entry-section-heading>span{display:none}
}
@media(max-width:980px){.entry-delivery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:701px) and (max-width:850px){
  .entry-material-head{display:none}
  .order-workbench .order-line{position:relative;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px 10px;padding:7px 0}
  .order-workbench .order-line .order-material{grid-column:1/-1;padding-right:36px}
  .order-workbench .order-line>.field>label{position:static;clip:auto;width:auto;height:auto;overflow:visible}
  .order-workbench .order-line .order-line-remove{position:absolute;right:0;top:22px}
  .entry-line-amount{align-self:end}
}
@media(max-width:700px){
  .order-workbench.modal{grid-template-rows:52px 48px minmax(0,1fr) auto}
  .entry-topbar{padding:0 14px}
  .entry-brand img{width:110px;height:32px}
  .entry-brand{gap:10px}
  .entry-brand>span{font-size:12px;padding-left:10px}
  .entry-brand>span{display:none}
  .entry-top-right{gap:12px}
  .entry-company{font-size:0;gap:0}
  .entry-company select{font-size:13px;height:34px;width:84px}
  .entry-brand i{margin:0 3px}
  .entry-close{font-size:0}
  .entry-close>span{font-size:28px}
  .entry-tabs{padding:0 14px;gap:18px}
  .order-workbench .entry-tabs h2{font-size:16px;margin-right:3px}
  .entry-tabs>[role=tab]{font-size:12px}
  .entry-draft-state{display:none}
  .entry-layout{display:block;overflow:auto;overscroll-behavior:contain}
  .entry-content{overflow:visible}
  .entry-main-panel{height:auto;min-height:0}
  .entry-section{padding:13px 14px}
  .order-workbench .relation-selectors{grid-template-columns:1fr;gap:12px}
  .entry-district{grid-column:auto}
  .order-workbench .field input,.order-workbench .field select,.order-workbench .field textarea{font-size:16px;height:44px;min-height:44px}
  .order-workbench .relation-selectors #orderCustomerSearch{height:44px}
  .order-workbench .relation-selectors input,.order-workbench .relation-selectors select{font-size:16px!important;min-height:44px}
  .order-workbench .field textarea{height:90px}
  .order-workbench .entry-dropdown{height:42px;width:38px}
  .order-workbench .entry-combobox>input{padding-right:40px}
  .entry-delivery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .entry-shift-options{min-height:44px}
  .entry-shift-options button{font-size:16px!important}
  .entry-destination{white-space:normal}
  .order-workbench .entry-history{padding:10px 14px;gap:8px;grid-template-columns:1fr}
  .order-workbench .entry-reference-controls select{height:40px;font-size:13px}
  .entry-reference-controls{flex-wrap:wrap}
  .entry-reference-controls>select{flex-basis:100%}
  .entry-reference-controls>button{margin-left:auto;min-height:36px}
  .order-workbench .history-scope button{min-height:36px}
  .entry-history #orderHistoryStatus{font-size:12px}
  .entry-materials-section{display:block}
  .entry-section-heading{margin-bottom:8px;flex-wrap:wrap}
  .entry-history-materials{margin-left:0;order:3;flex-basis:100%}
  .entry-section-heading .entry-add-line{margin-left:auto}
  .entry-add-line{min-height:38px}
  .entry-grid-scroll{overflow:visible}
  .entry-material-head{display:none}
  .order-workbench .order-line{position:relative;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:14px 0}
  .order-workbench .order-line>.field>label{position:static;width:auto;height:auto;clip:auto;overflow:visible}
  .order-workbench .order-material{grid-column:1/-1;padding-right:35px}
  .order-workbench .order-line .order-line-remove{position:absolute;right:0;top:34px;height:44px;width:30px}
  .order-workbench .order-line select{font-size:16px}
  .order-workbench .order-line input,.order-workbench .order-line select{height:44px;min-height:44px}
  .order-workbench .order-line .entry-dropdown{height:42px}
  .order-workbench .order-line input{text-align:left}
  .entry-line-amount{grid-column:1/-1;display:flex;justify-content:space-between;border-top:1px solid #e3e9ec;padding-top:4px;font-size:15px}
  .entry-line-amount:before{content:'Importe S/';font-size:12px;color:var(--entry-secondary);font-weight:400}
  .entry-recent-materials[open]{position:static;max-height:360px;margin-bottom:10px}
  .entry-recent-materials summary>span{display:none}
  .entry-extra-panel{height:auto;padding:18px 14px}
  .entry-additional-grid,.entry-master-grid{grid-template-columns:1fr;gap:14px}
  .entry-summary{border-left:0;border-top:1px solid var(--entry-line);padding:18px}
  .entry-summary-destination{display:none}
  .entry-summary .entry-load-metrics{padding:12px 0}
  .entry-footer{flex-direction:column;gap:8px;padding:10px 12px max(10px,env(safe-area-inset-bottom))}
  .order-workbench .entry-actions.modal-actions{width:100%;margin:0;gap:8px}
  .entry-submit{padding:10px;min-height:44px;flex:1;font-size:12px!important}
  .entry-submit.primary{flex:1.3}
  .entry-validation-message{width:100%;font-size:12px;max-height:72px;overflow:auto}
  .orders-workspace .orders-page-head{gap:12px;align-items:flex-start}
  .orders-workspace .orders-page-head h2{font-size:23px}
  .order-register-counts{gap:7px 16px}
  .order-register-counts b{font-size:16px}
  .orders-workspace .catalog-tabs{gap:14px}
  .orders-workspace .order-toolbar{grid-template-columns:1fr 1fr}
  .orders-workspace .order-toolbar .search{grid-column:1/-1}
  .orders-workspace .order-toolbar input,.orders-workspace .order-toolbar select{font-size:16px;height:44px}
}
