/* Standalone Orders module styles. Does not affect the main application. */
:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#1b2634;background:#f5f7fb}
*{box-sizing:border-box}body.orders-app{margin:0;background:#f5f7fb;color:#1b2634;font-size:14px}button,input,select{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5a92e3;outline-offset:2px}
.orders-header{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#172033;color:white;padding:14px max(24px,calc((100vw - 1320px)/2));min-height:76px}.orders-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:white}.orders-brand-logo{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#f3cf7b;color:#172033;font-weight:800;font-size:21px}.orders-brand span:last-child{display:flex;flex-direction:column}.orders-brand small{color:#aebbd1;font-size:12px}.orders-header-actions{display:flex;gap:22px;align-items:center}.orders-user{color:#d4e0ef}.orders-back{color:#d5e2f9;text-decoration:none}.orders-back:hover{text-decoration:underline;color:white}
.orders-container{max-width:1360px;margin:auto;padding:34px 24px}.orders-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.orders-heading h1{font-size:29px;font-weight:750;margin:0 0 4px}.orders-heading p{color:#647286;margin:0}.orders-stage-label{background:#e8edf7;color:#53657b;padding:9px 12px;border-radius:8px;font-size:12px}.orders-filters{background:white;padding:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:20px;box-shadow:0 4px 18px #14294e08}.orders-field{min-width:0;display:flex;flex-direction:column;gap:5px}.orders-field label{color:#53657b;font-size:12px;font-weight:650}.orders-field input,.orders-field select{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:9px 10px;background:white;min-height:40px;color:#172033}.orders-search-field{grid-column:span 2}.orders-customer-field{grid-column:span 2}.orders-customer-field input{margin-bottom:6px}.orders-clear{height:40px;align-self:end;background:#f8fafc;color:#334155;border:1px solid #cbd5e1;border-radius:8px;padding:8px 12px;cursor:pointer}.orders-clear:hover{background:#e8eef6}.orders-panel{background:white;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px #14294e08}.orders-results-bar{min-height:58px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e8f0}.orders-results-bar strong{font-size:16px}.orders-table-scroll{overflow-x:auto}.orders-table{width:100%;border-collapse:collapse;min-width:850px;transition:opacity .15s}.orders-table.orders-is-loading{opacity:.46}.orders-table th{padding:13px 16px;text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:#6b788b;background:#f8fafc;white-space:nowrap}.orders-table td{padding:16px;border-top:1px solid #edf1f5;vertical-align:middle}.orders-table tbody tr:hover{background:#f9fbfe}.orders-money{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}.orders-pill{display:inline-block;border-radius:999px;background:#e9eff8;color:#394a62;padding:5px 10px;white-space:nowrap;font-size:12px}.orders-payment{background:#e9f4ec;color:#336446}.orders-draft{color:#697b90;font-size:11px;margin-left:7px}.orders-placeholder{text-align:center;color:#62728a;padding:42px!important}.orders-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-top:1px solid #e2e8f0}.orders-pagination p{color:#647286;margin:0}.orders-page-buttons{display:flex;align-items:center;gap:12px}.orders-page-buttons button{border:1px solid #cbd5e1;border-radius:8px;background:white;padding:9px 12px;cursor:pointer}.orders-page-buttons button:disabled{opacity:.45;cursor:default}.orders-page-buttons span{color:#506078;white-space:nowrap}.orders-message{margin:14px 18px;padding:12px;border:1px solid #f1b4b4;border-radius:8px;background:#fff4f4;color:#862f2f}.orders-message[hidden],#orders-loading[hidden]{display:none!important}.orders-spinner{display:inline-block;width:14px;height:14px;border-radius:50%;border:2px solid #bed0e5;border-top-color:#275e9d;animation:orders-spin .75s linear infinite;vertical-align:middle;margin-right:7px}@keyframes orders-spin{to{transform:rotate(360deg)}}.orders-footnote{color:#8591a2;font-size:12px;margin-top:16px}
@media(max-width:980px){.orders-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.orders-header{padding:12px 16px}.orders-header-actions{gap:8px}.orders-user{display:none}.orders-container{padding:22px 12px}.orders-heading{align-items:flex-start;flex-direction:column}.orders-filters{grid-template-columns:1fr;padding:12px}.orders-search-field,.orders-customer-field{grid-column:span 1}.orders-pagination{align-items:flex-start;flex-direction:column}.orders-page-buttons{width:100%;justify-content:space-between}}

/* Stage 3 mobile usability patch — scoped to the standalone Orders module. */
.orders-filters{grid-template-columns:1fr;gap:0}
.orders-filter-extra{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;min-width:0}
.orders-search-field{grid-column:1;max-width:none;margin-bottom:14px}
.orders-customer-field{grid-column:span 2}
.orders-filter-toggle{display:none}
.orders-filter-count[hidden]{display:none}
@media(max-width:980px){.orders-filter-extra{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .orders-header{min-height:62px;padding:10px 14px}
  .orders-brand-logo{width:38px;height:38px;font-size:18px}
  .orders-header-actions{gap:8px}
  .orders-back{padding:10px 4px;font-size:12px}
  .orders-container{padding:18px 12px 28px}
  .orders-heading{gap:9px;margin-bottom:14px}
  .orders-heading h1{font-size:24px}
  .orders-heading p{font-size:13px;line-height:1.45}
  .orders-stage-label{font-size:11px;padding:7px 9px}
  .orders-filters{padding:12px;gap:0;border-radius:12px;margin-bottom:14px}
  .orders-search-field{margin-bottom:11px}
  .orders-filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#f8fafc;color:#23334d;font-weight:700;cursor:pointer}
  .orders-filter-toggle span:first-child{margin-right:auto}
  .orders-filter-count{background:#293d5a;color:white;min-width:22px;height:22px;padding:2px 6px;display:inline-grid;place-items:center;border-radius:30px;font-size:12px}
  .orders-filter-chevron{font-size:22px;line-height:1;transition:transform .15s}
  .orders-filter-toggle[aria-expanded="true"] .orders-filter-chevron{transform:rotate(180deg)}
  .orders-filter-extra{display:none;grid-template-columns:1fr;gap:12px;padding-top:12px}
  .orders-filter-extra.orders-filter-expanded{display:grid}
  .orders-search-field,.orders-customer-field{grid-column:auto}
  .orders-field input,.orders-field select,.orders-clear{min-height:44px;font-size:16px}
  .orders-panel{border:0;background:transparent;box-shadow:none;overflow:visible}
  .orders-results-bar{min-height:44px;border:0;padding:4px 2px 12px}
  .orders-results-bar strong{font-size:15px}
  .orders-table-scroll{overflow:visible}
  .orders-table{min-width:0;width:100%;border-collapse:separate;border-spacing:0 10px}
  .orders-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .orders-table tbody{display:block}
  .orders-table tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;padding:14px 14px 12px;margin-bottom:10px;background:white;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 10px #14294e09}
  .orders-table tbody tr:hover{background:white}
  .orders-table td{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;padding:8px 0;border:0;font-size:13px;overflow-wrap:anywhere}
  .orders-table td::before{content:attr(data-label);font-size:11px;line-height:1.3;text-transform:uppercase;letter-spacing:.025em;color:#66768a;font-weight:650}
  .orders-table td[data-label="Order"],.orders-table td[data-label="Customer"]{grid-column:span 2}
  .orders-table td[data-label="Order"]{padding-top:2px;color:#1b365b;font-size:15px}
  .orders-table td[data-label="Customer"]{border-bottom:1px solid #edf1f5;padding-bottom:12px;font-weight:600}
  .orders-table td[data-label="Status"],.orders-table td[data-label="Payment"]{align-items:flex-start}
  .orders-table td[data-label="Total"]{grid-column:span 2;border-top:1px solid #edf1f5;margin-top:5px;padding-top:12px;flex-direction:row;align-items:center;justify-content:space-between;text-align:right!important;font-size:17px;font-weight:750}
  .orders-table td[data-label="Total"]::before{font-size:11px}
  .orders-pill{font-size:12px;white-space:normal}
  .orders-placeholder{display:block!important;padding:32px 16px!important;grid-column:span 2;text-align:center}
  .orders-placeholder::before{display:none}
  .orders-pagination{padding:13px 2px;gap:10px;border:0;flex-direction:column;align-items:stretch}
  .orders-pagination p{text-align:center}
  .orders-page-buttons{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:9px;width:100%}
  .orders-page-buttons button{min-height:44px;padding:8px 10px;font-weight:600}
  .orders-page-buttons span{font-size:12px;text-align:center}
  .orders-footnote{margin:12px 2px 0;line-height:1.5}
}
@media(max-width:360px){.orders-container{padding-inline:9px}.orders-table tbody tr{padding-inline:11px}.orders-header{padding-inline:10px}.orders-back{font-size:11px}}
@media(prefers-reduced-motion:reduce){.orders-filter-chevron,.orders-table{transition:none}.orders-spinner{animation-duration:2s}}

/* Stage 4 Orders form — styles are scoped exclusively to /orders/. */
.orders-primary-action,.orders-secondary-action,.orders-row-action{display:inline-flex;justify-content:center;align-items:center;text-decoration:none;font-weight:700;border-radius:9px;min-height:42px;padding:10px 17px;cursor:pointer;white-space:nowrap}
.orders-primary-action{background:#2b3a53;border:1px solid #2b3a53;color:#fff}.orders-primary-action:hover{background:#1a2a42;color:#fff}
.orders-secondary-action,.orders-row-action{background:#fff;border:1px solid #cbd5e1;color:#29415d}.orders-secondary-action:hover,.orders-row-action:hover{background:#eef3fa;color:#203654}
.orders-row-action{min-height:36px;padding:7px 12px}.orders-form-container{max-width:1200px}.orders-breadcrumb{display:flex;gap:9px;align-items:center;color:#7b8a9b;margin-bottom:14px}.orders-breadcrumb a{color:#2b527b;text-decoration:none}.orders-form-heading{margin-bottom:20px}
.orders-editor{display:flex;flex-direction:column;gap:17px}.orders-form-panel{background:#fff;border:1px solid #dfe7f0;border-radius:14px;padding:22px;box-shadow:0 3px 14px #14294e08}.orders-form-panel h2{font-size:17px;line-height:1.4;font-weight:750;margin:0 0 18px}.orders-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.orders-form-wide{grid-column:span 2}.orders-form-panel .orders-field label{font-size:13px;color:#374960;font-weight:650}.orders-form-panel .orders-field input,.orders-form-panel .orders-field select,.orders-form-panel .orders-field textarea{width:100%;font-size:16px;line-height:1.5;border-radius:9px;border:1px solid #cbd5e1;padding:10px 12px;background:#fff;color:#172033;min-height:44px}.orders-form-panel .orders-field textarea{resize:vertical}.orders-form-panel input:disabled,.orders-form-panel textarea:disabled{background:#f4f6fa;color:#526279}.orders-form-panel input[readonly]{background:#f4f6fa}.orders-form-hint,.orders-field-hint{display:block;color:#69798c;font-size:12px;line-height:1.45;margin:3px 0}.orders-field-hint{margin:0}.orders-input-error{color:#a53636;font-weight:600;font-size:12px}.orders-input-error:empty{display:none}.orders-checkbox{display:flex!important;gap:9px;align-items:center;margin-top:8px;cursor:pointer}.orders-checkbox input{width:18px!important;min-height:18px!important;height:18px!important;accent-color:#253d5b}.orders-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}.orders-section-head h2{margin-bottom:1px}.orders-section-head p{margin-bottom:0}.orders-item-list{display:flex;flex-direction:column;gap:12px}.orders-item-card{border:1px solid #dce5ef;border-radius:12px;background:#f9fbfe;padding:15px}.orders-item-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.orders-remove-item{color:#a33f38;background:#fff;border:1px solid #e5c4bf;padding:7px 12px;border-radius:8px;min-height:40px;cursor:pointer}.orders-remove-item:hover{background:#fff1ef}.orders-item-card .orders-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.orders-item-card .orders-form-wide{grid-column:span 2}.orders-totals{margin:20px 0 0 auto;width:min(100%,430px);background:#f8fafc;border:1px solid #e0e7ef;border-radius:12px;padding:15px}.orders-totals>div{display:flex;justify-content:space-between;gap:12px;padding:8px 4px;font-variant-numeric:tabular-nums}.orders-total-final{border-top:1px solid #d4dce8;margin-top:6px;padding-top:13px!important;font-size:17px;font-weight:750}.orders-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:15px 0 30px;flex-wrap:wrap}.orders-cancel-link{margin-right:auto}.orders-saving{color:#60758e}.orders-form-loading{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:40px;text-align:center}.orders-attachments-list{padding-left:18px;margin:5px 0 0}.orders-attachments-list li{margin:5px 0;overflow-wrap:anywhere}.orders-attachments-list a{color:#284c78}.orders-form-actions button:disabled{opacity:.5;cursor:not-allowed}.orders-stage-label{overflow-wrap:anywhere}
@media(max-width:700px){.orders-form-container{padding:14px 12px 28px}.orders-form-heading{align-items:flex-start}.orders-form-panel{padding:15px;border-radius:12px}.orders-form-grid,.orders-item-card .orders-form-grid{grid-template-columns:1fr;gap:12px}.orders-form-wide,.orders-item-card .orders-form-wide{grid-column:span 1}.orders-section-head{flex-direction:column}.orders-section-head button{width:100%}.orders-item-card{padding:12px}.orders-form-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;position:sticky;bottom:0;background:#f5f7fbed;padding:12px 0 max(12px,env(safe-area-inset-bottom));backdrop-filter:blur(8px);border-top:1px solid #dce5ed;z-index:2}.orders-form-actions .orders-cancel-link{grid-column:span 2}.orders-form-actions button{min-height:48px;white-space:normal}.orders-form-actions .orders-saving{grid-column:span 2;text-align:center}.orders-primary-action{min-height:44px}.orders-row-action{min-width:110px}.orders-table td[data-label="Actions"]{grid-column:span 2;align-items:stretch}.orders-table td[data-label="Actions"]::before{display:none}}
@media(min-width:701px) and (max-width:950px){.orders-item-card .orders-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Hidden states and post-save notification */
.orders-editor[hidden],.orders-form-loading[hidden],.orders-saving[hidden],.orders-save-notice[hidden]{display:none!important}
.orders-save-notice{background:#ecf8ef;color:#21623c;border:1px solid #b8dfc1;border-radius:10px;padding:12px 16px;margin-bottom:14px;font-weight:650}

/* Stage 4 visual refresh: scoped to the Orders editor only. */
.orders-modern{max-width:1120px}.orders-modern .orders-breadcrumb{margin-bottom:18px;font-size:13px}
.orders-form-intro{display:flex;align-items:center;gap:17px;padding:9px 0 24px}.orders-intro-icon{display:grid;place-items:center;flex:none;width:57px;height:57px;border-radius:18px;background:#e8edf7;color:#263f68;font-size:29px}.orders-intro-copy{flex:1;min-width:0}.orders-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.16em;color:#647da0;margin-bottom:6px}.orders-form-intro h1{font-size:32px;line-height:1.13;letter-spacing:-.035em;margin:0 0 8px;color:#192942}.orders-form-intro p{color:#677891;margin:0;line-height:1.5}.orders-form-intro .orders-stage-label{max-width:230px;line-height:1.4;text-align:center;border-radius:999px;background:#edf3fb;color:#3e5878}
.orders-form-map{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:21px}.orders-form-map a{display:inline-flex;align-items:center;gap:9px;padding:10px 15px;background:#fff;border:1px solid #e1e8f0;border-radius:100px;font-size:13px;color:#3f5875;text-decoration:none;font-weight:700;box-shadow:0 1px 3px #172b5010}.orders-form-map a:hover{border-color:#8ba4c2;background:#f9fbfe}.orders-form-map a span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#ecf1f7;font-size:12px;color:#354b68}
.orders-modern .orders-editor{gap:18px}.orders-modern .orders-form-panel{padding:25px 27px;border-radius:18px;box-shadow:0 6px 24px #203c5e08;border-color:#e2e8f0}.orders-modern .orders-featured-panel{scroll-margin-top:20px}.orders-modern-section-head{display:flex;align-items:center;gap:15px;margin-bottom:23px}.orders-modern-section-head>div{flex:1}.orders-modern-section-head h2{font-size:20px;letter-spacing:-.02em;margin:0 0 4px;color:#1b2a40}.orders-modern-section-head p{margin:0;color:#708098;font-size:13px;line-height:1.5}.orders-section-number{flex:none;width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#eff3fa;color:#314b70;font-weight:800;font-size:14px}.orders-count-chip{padding:6px 11px;border-radius:100px;background:#eaf2fb;color:#2f537b;font-size:12px;font-weight:800;white-space:nowrap}
.orders-modern .orders-field{gap:7px}.orders-modern .orders-form-panel .orders-field label{color:#344763}.orders-modern .orders-form-panel .orders-field input:not([type=checkbox]),.orders-modern .orders-form-panel .orders-field select,.orders-modern .orders-form-panel .orders-field textarea{border:1px solid #d3ddea;background:#fcfdff;border-radius:12px;padding:12px 14px;min-height:49px;transition:border-color .15s,box-shadow .15s}.orders-modern .orders-form-panel .orders-field input:focus,.orders-modern .orders-form-panel .orders-field textarea:focus,.orders-modern .orders-form-panel .orders-field select:focus{border-color:#567aa8;box-shadow:0 0 0 3px #537fb51c;outline:0}.orders-modern .orders-customer-picker{background:#f7f9fd;border:1px solid #e9eef6;border-radius:14px;padding:16px}.orders-modern .orders-customer-picker input{margin-bottom:6px}.orders-modern .orders-customer-picker select{background:white!important}.orders-modern .orders-customer-picker .orders-form-hint{margin-top:5px}
.orders-modern .orders-item-list{gap:14px}.orders-modern .orders-item-card{background:#fbfcff;border:1px solid #dfe8f2;border-radius:15px;padding:18px}.orders-modern .orders-item-heading{padding-bottom:12px;border-bottom:1px solid #e7edf5;margin-bottom:17px}.orders-modern .orders-item-heading strong{color:#2b4465;font-size:14px}.orders-modern .orders-remove-item{border-radius:10px}.orders-add-item-modern{display:flex;justify-content:center;align-items:center;gap:11px;width:100%;min-height:52px;border:1.5px dashed #9bb1cc;border-radius:13px;background:#f8fbff;color:#28527c;font-weight:750;cursor:pointer;margin-top:15px}.orders-add-item-modern:hover{background:#eef5fc;border-color:#527ca9}.orders-add-item-modern span{font-size:23px;line-height:1}
.orders-pricing-layout{display:grid;grid-template-columns:1fr 330px;align-items:start;gap:24px}.orders-modern .orders-totals{width:100%;margin:0;border-radius:15px;background:#eef3fa;border-color:#e4ebf4;padding:18px}.orders-modern .orders-total-final{font-size:19px;color:#203b60;padding-top:16px!important}.orders-modern .orders-total-final strong{font-size:24px;letter-spacing:-.03em}
.orders-more-intro{padding:8px 4px 6px}.orders-more-intro h2{font-size:19px;margin:0 0 4px}.orders-more-intro p{margin:0;color:#6a7c90;font-size:13px}.orders-modern .orders-extra-area{display:flex;flex-direction:column;gap:11px}.orders-modern .orders-accordion{padding:0;overflow:hidden}.orders-accordion summary{display:flex;align-items:center;gap:14px;padding:19px 22px;cursor:pointer;list-style:none}.orders-accordion summary::-webkit-details-marker{display:none}.orders-accordion summary>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:4px}.orders-accordion summary strong{font-size:15px;color:#233c5a}.orders-accordion summary small{color:#7a8a9e;font-size:12px;line-height:1.4}.orders-accordion-symbol{background:#eff3fa;color:#45617e;border-radius:12px;width:38px;height:38px;display:grid;place-items:center;font-size:22px}.orders-accordion-arrow{font-size:26px;color:#71839a;transition:transform .15s}.orders-accordion[open] .orders-accordion-arrow{transform:rotate(180deg)}.orders-accordion[open] summary{border-bottom:1px solid #edf1f5;background:#fbfcfe}.orders-accordion-content{padding:20px 22px 24px}.orders-modern .orders-upload-field{margin-top:18px}.orders-modern .orders-upload-field input[type=file]{border-style:dashed!important;background:#f8fafc!important}.orders-modern .orders-form-actions{background:#f5f7fbe8;position:sticky;bottom:0;z-index:5;backdrop-filter:blur(10px);border-top:1px solid #dce5ee;padding:15px 7px max(15px,env(safe-area-inset-bottom))}.orders-modern .orders-form-actions .orders-primary-action{background:#273b59;border-radius:11px;min-height:49px;padding-inline:25px}.orders-modern .orders-form-actions .orders-secondary-action{border-radius:11px;min-height:49px}
@media(max-width:800px){.orders-pricing-layout{grid-template-columns:1fr}.orders-modern .orders-totals{max-width:unset}.orders-form-intro{flex-wrap:wrap}.orders-form-intro .orders-stage-label{margin-left:73px}}
@media(max-width:700px){.orders-form-intro{gap:12px;padding:8px 2px 17px}.orders-intro-icon{width:43px;height:43px;border-radius:13px;font-size:22px}.orders-form-intro h1{font-size:25px}.orders-form-intro p{font-size:12px}.orders-form-intro .orders-stage-label{margin:0 0 0 55px;text-align:left}.orders-form-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:14px}.orders-form-map a{display:flex;flex-direction:column;gap:5px;justify-content:center;padding:9px 3px;text-align:center;font-size:10px;border-radius:12px}.orders-form-map a span{width:24px;height:24px}.orders-modern .orders-form-panel{padding:18px 15px;border-radius:15px}.orders-modern-section-head{align-items:flex-start;gap:11px;margin-bottom:16px}.orders-section-number{width:34px;height:34px;border-radius:10px;font-size:12px}.orders-modern-section-head h2{font-size:17px}.orders-modern-section-head p{font-size:12px}.orders-modern .orders-item-card{padding:14px 12px}.orders-modern .orders-customer-picker{padding:12px}.orders-modern .orders-form-grid{gap:14px}.orders-accordion summary{padding:15px 13px;gap:10px}.orders-accordion-content{padding:15px 13px}.orders-accordion-symbol{height:34px;width:34px;flex:none}.orders-accordion summary strong{font-size:13px}.orders-accordion summary small{font-size:11px}.orders-modern .orders-form-actions{grid-template-columns:1fr 1fr;padding:10px 3px max(12px,env(safe-area-inset-bottom))}.orders-modern .orders-form-actions .orders-cancel-link{grid-column:span 2;min-height:34px;order:4;background:none;border:0;color:#657990;padding:4px}.orders-modern .orders-form-actions .orders-secondary-action:not(.orders-cancel-link),.orders-modern .orders-form-actions .orders-primary-action{min-height:49px;padding:10px 8px;font-size:13px}.orders-modern .orders-totals{padding:14px}}
@media(prefers-reduced-motion:reduce){.orders-accordion-arrow,.orders-modern .orders-form-panel .orders-field input{transition:none}}


/* Stage 4 compact desktop editor — affects Orders forms only. */
@media (min-width: 1001px) {
  .orders-modern.orders-form-container {max-width: 1320px;padding-top: 17px;padding-bottom: 18px;}
  .orders-modern .orders-breadcrumb {margin-bottom: 7px;}
  .orders-form-intro {padding: 0 0 12px;gap: 12px;}
  .orders-intro-icon {width: 43px;height: 43px;border-radius: 12px;font-size: 22px;}
  .orders-eyebrow {margin-bottom: 2px;}
  .orders-form-intro h1 {font-size: 26px;margin-bottom: 2px;}
  .orders-form-intro p {font-size: 12px;}
  .orders-form-map {margin-bottom: 13px;gap: 7px;}
  .orders-form-map a {padding: 6px 10px;font-size: 12px;gap: 6px;}
  .orders-form-map a span {width: 19px;height: 19px;font-size: 11px;}
  .orders-modern .orders-editor {display:grid;grid-template-columns:minmax(0, 0.94fr) minmax(0, 1.06fr);gap: 12px;align-items:start;}
  .orders-modern #order-start {grid-column:1;}
  .orders-modern #order-products {grid-column:2;}
  .orders-modern #order-pricing,.orders-modern #order-more,.orders-modern .orders-form-actions {grid-column:1 / -1;}
  .orders-modern .orders-form-panel {padding: 15px 17px;border-radius: 13px;box-shadow:0 2px 10px #203c5e06;}
  .orders-modern-section-head {gap:9px;margin-bottom:12px;}
  .orders-modern-section-head h2 {font-size:16px;margin-bottom:1px;}
  .orders-modern-section-head p {font-size:11px;}
  .orders-section-number {width:29px;height:29px;border-radius:8px;font-size:11px;}
  .orders-modern .orders-form-grid {gap:10px 12px;}
  .orders-modern .orders-field {gap:4px;}
  .orders-modern .orders-form-panel .orders-field label {font-size:12px;}
  .orders-modern .orders-form-panel .orders-field input:not([type=checkbox]),
  .orders-modern .orders-form-panel .orders-field select,
  .orders-modern .orders-form-panel .orders-field textarea {min-height:38px;padding:7px 10px;font-size:13px;border-radius:8px;}
  .orders-modern .orders-customer-picker {padding:9px 11px;border-radius:10px;}
  .orders-modern .orders-customer-picker input {margin-bottom:3px;}
  .orders-form-hint,.orders-field-hint {font-size:11px;line-height:1.3;}
  .orders-modern .orders-item-card {padding:10px 12px;border-radius:10px;}
  .orders-modern .orders-item-heading {margin-bottom:9px;padding-bottom:7px;}
  .orders-modern .orders-item-card .orders-form-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  .orders-modern .orders-item-card .orders-form-wide {grid-column:span 2;}
  .orders-modern .orders-item-list {gap:9px;}
  .orders-add-item-modern {margin-top:10px;min-height:38px;font-size:13px;border-radius:9px;}
  .orders-pricing-layout {grid-template-columns:minmax(0,1fr) minmax(260px, 360px);gap:15px;}
  .orders-modern .orders-totals {padding:10px 13px;border-radius:10px;}
  .orders-modern .orders-totals>div {padding:5px 3px;font-size:12px;}
  .orders-modern .orders-total-final {padding-top:8px!important;font-size:14px;}
  .orders-modern .orders-total-final strong {font-size:20px;}
  .orders-more-intro {padding:2px 2px 1px;}
  .orders-more-intro h2 {font-size:15px;margin-bottom:2px;}
  .orders-more-intro p {font-size:11px;}
  .orders-modern .orders-extra-area {gap:7px;}
  .orders-accordion summary {padding:10px 14px;gap:10px;}
  .orders-accordion-symbol {width:30px;height:30px;border-radius:8px;font-size:17px;}
  .orders-accordion summary strong {font-size:13px;}
  .orders-accordion summary small {font-size:11px;}
  .orders-accordion-content {padding:12px 15px 16px;}
  .orders-modern .orders-form-actions {padding:9px 3px 12px;gap:8px;}
  .orders-modern .orders-form-actions .orders-primary-action,
  .orders-modern .orders-form-actions .orders-secondary-action {min-height:40px;padding:8px 14px;font-size:12px;}
}
/* Tablets and phones retain the simplified one-column layout and larger tap targets. */
@media (min-width: 701px) and (max-width: 1000px) {
  .orders-modern.orders-form-container {max-width:880px;}
  .orders-modern .orders-editor {display:flex;flex-direction:column;}
  .orders-modern .orders-editor > * {width:100%;}
  .orders-modern .orders-form-panel {padding:19px;}
  .orders-form-intro {padding-bottom:15px;}
}

/* Orders-only customer creation dialog */
.orders-link-button {border:0;background:none;padding:0;color:#2563a6;text-decoration:underline;cursor:pointer;font:inherit;}
.orders-modal-open {overflow:hidden;}
.orders-customer-modal[hidden] {display:none!important;}
.orders-customer-modal {position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px;}
.orders-customer-modal-backdrop {position:absolute;inset:0;background:#111a2bcc;}
.orders-customer-modal-dialog {position:relative;z-index:1;display:block;width:min(100%,480px);max-height:calc(100dvh - 32px);overflow:auto;border-radius:16px;background:#fff;box-shadow:0 20px 65px #0004;padding:22px;}
.orders-customer-modal-head {display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:16px;}
.orders-customer-modal-head h2 {font-size:20px;margin:0 0 4px;color:#17253d;}
.orders-customer-modal-head p {font-size:13px;color:#607187;margin:0;}
.orders-customer-close {font-size:28px;line-height:1;border:0;background:transparent;color:#516277;cursor:pointer;min-height:36px;min-width:36px;}
.orders-customer-modal .orders-field {margin-bottom:13px;}
.orders-customer-modal .orders-field label {display:block;font-weight:600;font-size:13px;margin-bottom:5px;}
.orders-customer-modal .orders-field input,.orders-customer-modal .orders-field textarea {width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:9px;padding:9px 11px;font:inherit;color:#17253d;}
.orders-customer-modal .orders-field input:focus,.orders-customer-modal .orders-field textarea:focus {outline:2px solid #a1bfef;outline-offset:1px;}
.orders-customer-modal-actions {display:flex;justify-content:flex-end;gap:10px;margin-top:14px;}
@media(max-width:540px){.orders-customer-modal {align-items:flex-end;padding:0;}.orders-customer-modal-dialog {width:100%;max-height:92dvh;border-radius:18px 18px 0 0;padding:20px 16px 24px;}.orders-customer-modal-actions button {min-height:44px;}}

/* Orders UX polish — 2026-11-13. Presentation only; no changes to APIs or permissions. */
:root{--orders-ink:#1b2b45;--orders-blue:#253b5d;--orders-accent:#e9b95c;--orders-outline:#dfe6f0;--orders-muted:#697d96}
body.orders-app{background:linear-gradient(180deg,#f3f6fb 0,#f7f9fc 260px);color:var(--orders-ink);-webkit-font-smoothing:antialiased}
.orders-header{background:#18253d;border-bottom:1px solid #2e3b52}
.orders-brand-logo{box-shadow:0 4px 14px #0002;border-radius:13px}
.orders-container{padding-top:25px}
.orders-heading{margin-bottom:18px}
.orders-heading h1{letter-spacing:-.035em}
.orders-primary-action{box-shadow:0 4px 12px #1c315024;transition:background .17s,transform .17s}
.orders-primary-action:hover{transform:translateY(-1px)}
.orders-filters.orders-list-toolbar,.orders-panel{box-shadow:0 5px 20px #1934560b;border-color:var(--orders-outline)}
.orders-list-toolbar{padding:12px 16px!important;margin-bottom:14px!important}
.orders-toolbar-main{gap:11px}
.orders-search-field{margin-bottom:0!important}
.orders-search-wrap input{background:#fbfcff}
.orders-filter-toggle{border-color:#d9e2ee;background:#f6f8fc;transition:background .15s,border-color .15s}
.orders-filter-toggle:hover{background:#eaf0f8;border-color:#b7c8df}
.orders-results-bar{padding-block:12px;min-height:50px}
.orders-table th{font-size:10px;letter-spacing:.07em}
.orders-table td{padding-top:12px;padding-bottom:12px}
.orders-table tbody tr{transition:background .15s}
.orders-table tbody tr:hover{background:#f6f9ff}
.orders-pill{font-weight:700;letter-spacing:.01em}
.orders-row-action{border-radius:9px;transition:background .15s}
.orders-pagination{padding-block:12px}
.orders-modern.orders-form-container{max-width:1250px}
.orders-form-intro h1{letter-spacing:-.04em}
.orders-form-map a{transition:background .16s,border-color .16s,transform .16s}
.orders-form-map a:hover{transform:translateY(-1px)}
.orders-modern .orders-form-panel{border-color:#e0e7f1;box-shadow:0 5px 22px #17365c0b}
.orders-modern .orders-featured-panel{position:relative}
.orders-modern .orders-featured-panel:before{content:"";position:absolute;left:15px;right:15px;top:0;height:2px;background:linear-gradient(90deg,#e5b45a,#6c83ad 65%,transparent);border-radius:0 0 8px 8px;opacity:.7}
.orders-modern .orders-field label{line-height:1.4}
.orders-modern .orders-form-panel .orders-field input:not([type=checkbox]),.orders-modern .orders-form-panel .orders-field select,.orders-modern .orders-form-panel .orders-field textarea{transition:border-color .15s,box-shadow .15s,background .15s}
.orders-modern .orders-form-panel .orders-field input:not([type=checkbox]):hover,.orders-modern .orders-form-panel .orders-field select:hover,.orders-modern .orders-form-panel .orders-field textarea:hover{border-color:#9db1cc}
.orders-modern .orders-customer-picker{background:#f7faff}
.orders-modern .orders-item-card{background:#fff;border-color:#dbe5f1;box-shadow:0 2px 10px #14294e06}
.orders-modern .orders-add-item-modern{transition:background .15s,border-color .15s}
.orders-modern .orders-totals{background:linear-gradient(135deg,#f4f7fc,#eef3fa);border-color:#d9e3ef}
.orders-modern .orders-total-final{color:#1d3558}
.orders-accordion summary{transition:background .15s}
.orders-accordion summary:hover{background:#f7faff}
.orders-customer-modal-backdrop{backdrop-filter:blur(3px)}
.orders-customer-modal-dialog{border:1px solid #e1e8f1}
.orders-customer-modal-actions .orders-primary-action{flex-shrink:0}
@media(min-width:1001px){
 .orders-modern .orders-editor{gap:14px}
 .orders-modern .orders-form-panel{padding:17px 19px}
 .orders-modern .orders-form-grid{gap:11px 12px}
 .orders-modern .orders-item-card{padding:12px}
 .orders-modern .orders-form-actions{padding-top:10px}
}
@media(max-width:700px){
 body.orders-app{background:#f5f7fb}
 .orders-header{min-height:60px;padding:10px 13px}
 .orders-brand{gap:9px}.orders-brand-logo{width:38px;height:38px}
 .orders-container{padding:15px 12px 80px}
 .orders-heading{flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px}
 .orders-heading>div{flex:1;min-width:180px}
 .orders-heading h1{font-size:24px}
 .orders-heading .orders-primary-action{min-height:44px;padding:10px 14px}
 .orders-list-toolbar{padding:11px!important}
 .orders-panel{box-shadow:none;border:0;background:transparent}
 .orders-table tbody tr{border:1px solid #dde6f1;border-radius:15px;box-shadow:0 3px 12px #19345610;padding:13px 14px;margin-bottom:10px}
 .orders-table tbody tr:active{background:#f3f7fd}
 .orders-table tbody td:first-child{font-size:15px;font-weight:750}
 .orders-row-action{min-height:44px}
 .orders-form-intro{padding-bottom:12px}
 .orders-form-intro h1{font-size:23px}
 .orders-eyebrow{font-size:9px}
 .orders-form-map{gap:6px;overflow-x:auto;scrollbar-width:none}
 .orders-form-map a{font-size:11px;min-height:53px;min-width:0}
 .orders-modern .orders-editor{gap:12px}
 .orders-modern .orders-form-panel{padding:16px 14px;border-radius:15px}
 .orders-modern-section-head{margin-bottom:13px}
 .orders-modern-section-head h2{font-size:17px}
 .orders-modern .orders-form-panel .orders-field input:not([type=checkbox]),.orders-modern .orders-form-panel .orders-field select,.orders-modern .orders-form-panel .orders-field textarea{font-size:16px;min-height:46px;padding:10px 12px}
 .orders-modern .orders-item-card{padding:14px;background:#fff}
 .orders-modern .orders-item-card .orders-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .orders-modern .orders-item-card .orders-form-wide{grid-column:1/-1}
 .orders-modern .orders-item-card .orders-field:has(.item-total){grid-column:1/-1}
 .orders-modern .orders-item-card .item-total{font-weight:750;color:#1f466a;background:#f3f7fc!important}
 .orders-add-item-modern{min-height:48px}
 .orders-modern .orders-totals{margin-top:8px}
 .orders-modern .orders-form-actions{position:sticky;bottom:0;z-index:8;border:1px solid #dce5ef;border-radius:14px 14px 0 0;background:#fffffff2;box-shadow:0 -8px 20px #172b5015;padding:10px 10px max(12px,env(safe-area-inset-bottom))}
 .orders-modern .orders-form-actions .orders-cancel-link{order:4}
 .orders-accordion summary{min-height:60px}
 .orders-customer-modal-dialog{padding-bottom:max(22px,env(safe-area-inset-bottom))}
 .orders-customer-modal .orders-field input,.orders-customer-modal .orders-field textarea{font-size:16px;min-height:46px}
 .orders-customer-modal-actions{position:sticky;bottom:0;background:#fff;padding-top:10px}
 .orders-customer-modal-actions button{flex:1;min-height:48px}
}
@media(max-width:380px){
 .orders-modern .orders-item-card .orders-form-grid{grid-template-columns:1fr}
 .orders-modern .orders-item-card .orders-field:has(.item-total){grid-column:auto}
 .orders-heading .orders-primary-action{width:100%}
 .orders-form-map a{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.orders-primary-action,.orders-form-map a,.orders-table tbody tr{transition:none!important}}


/* Professional, space-efficient Orders presentation — isolated to /orders/. */
:root { --orders-surface:#ffffff; --orders-border:#dfe6ee; --orders-focus:#396eaf; --orders-dark:#1b2c46; }
body.orders-app{background:#f3f6fa}
.orders-container{max-width:1320px;padding:24px 22px 56px}
.orders-heading{margin-bottom:16px}
.orders-heading h1{font-size:27px;letter-spacing:-.035em}
.orders-heading p,.orders-form-intro p{color:#64758e}
.orders-header{min-height:64px;padding-top:10px;padding-bottom:10px}
.orders-brand-logo{width:42px;height:42px}
.orders-filters.orders-list-toolbar,.orders-panel,.orders-modern .orders-form-panel{border-color:var(--orders-border);box-shadow:0 2px 10px #1b314b09}
/* Critical: advanced filters are collapsed on ALL widths until explicitly expanded. */
.orders-list-toolbar #orders-filter-extra{display:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border-top:1px solid #e8edf3;padding-top:14px;margin-top:14px}
.orders-list-toolbar #orders-filter-extra.orders-filter-expanded{display:grid}
.orders-list-toolbar .orders-toolbar-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.orders-list-toolbar .orders-search-field{grid-column:auto}
.orders-list-toolbar .orders-search-wrap{position:relative}
.orders-list-toolbar .orders-search-glyph{position:absolute;left:14px;top:50%;transform:translateY(-50%);z-index:1;line-height:1;font-size:19px;color:#73849a;pointer-events:none}
.orders-list-toolbar .orders-search-wrap input{padding-left:42px;min-height:44px}
.orders-list-toolbar #orders-filter-toggle{min-height:44px;align-self:end;white-space:nowrap}
.orders-list-toolbar #orders-filter-extra .orders-customer-field{grid-column:span 2}
.orders-list-toolbar #orders-filter-extra .orders-field input,.orders-list-toolbar #orders-filter-extra .orders-field select{min-height:40px}
.orders-results-title{display:flex;align-items:center;gap:10px}
.orders-results-caption{padding-left:10px;border-left:1px solid #dfe5ed;color:#77869a;font-weight:400}
.orders-results-bar{padding:12px 18px}
.orders-panel .orders-table th{font-size:11px;letter-spacing:.045em}
.orders-panel .orders-table td{vertical-align:middle}
/* Order editor: strong hierarchy and compact, uncluttered work areas. */
.orders-modern.orders-form-container{max-width:1320px;padding-top:20px}
.orders-modern .orders-form-intro{padding-bottom:14px}
.orders-modern .orders-intro-icon{background:#e8eff8;color:#284c74;border-radius:12px}
.orders-modern .orders-eyebrow{color:#657b95;letter-spacing:.09em}
.orders-modern .orders-form-map{background:#fff;border:1px solid var(--orders-border);padding:6px;border-radius:12px;margin-bottom:14px}
.orders-modern .orders-form-map a{border-radius:8px;min-height:37px;text-decoration:none}
.orders-modern .orders-form-map a:hover{background:#f1f5fa;transform:none}
.orders-modern .orders-form-panel{background:#fff;border-radius:12px}
.orders-modern .orders-modern-section-head h2{font-size:16px;letter-spacing:-.015em;font-weight:750}
.orders-modern .orders-modern-section-head p{font-size:12px;color:#7b899b}
.orders-modern .orders-section-number{border-radius:9px;background:#eaf0f7;color:#284a70}
.orders-modern .orders-customer-picker{background:#f7f9fc;border-color:#e4eaf3;border-radius:11px}
.orders-modern .orders-item-card{border:1px solid #dde6f1;background:#fbfcfe;border-radius:11px;box-shadow:none}
.orders-modern .orders-add-item-modern{border:1px dashed #a9bcd3;background:#f6f9fd;color:#284b70;border-radius:10px}
.orders-modern .orders-add-item-modern:hover{background:#ebf2fb}
.orders-modern .orders-totals{background:#f3f6fb;border:1px solid #e1e8f2}
.orders-modern .orders-total-final{border-top:1px solid #d6e0eb}
.orders-modern .orders-accordion{border-radius:10px}
.orders-modern .orders-accordion summary{min-height:55px}
.orders-modern .orders-form-actions{border-top:1px solid #dfe6ef;background:#f3f6faf5;box-shadow:0 -8px 24px #1d36500b}
.orders-modern .orders-form-actions button{font-weight:700}
.orders-modern .orders-primary-action{background:#253d5d}
.orders-modern .orders-form-panel .orders-field :is(input,select,textarea):focus-visible,.orders-list-toolbar :is(input,select,button):focus-visible{outline:2px solid var(--orders-focus);outline-offset:1px}
.orders-modern .orders-customer-modal-dialog{border:1px solid #e0e7f1;box-shadow:0 22px 80px #0716293b}
.orders-modern .orders-customer-modal-head{padding-bottom:12px;border-bottom:1px solid #edf0f5}
@media(min-width:1001px){
 .orders-modern .orders-editor{grid-template-columns:minmax(0,1fr) minmax(0,1.07fr);gap:14px}
 .orders-modern .orders-form-panel{padding:17px 18px}
 .orders-modern .orders-form-panel .orders-field :is(input:not([type=checkbox]),select,textarea){min-height:41px;padding:8px 11px}
 .orders-modern .orders-modern-section-head{margin-bottom:12px}
 .orders-modern #order-products{min-height:100%}
 .orders-modern .orders-form-actions{padding:10px 4px 12px}
}
@media(max-width:980px){
 .orders-list-toolbar #orders-filter-extra,.orders-list-toolbar #orders-filter-extra.orders-filter-expanded{grid-template-columns:repeat(2,minmax(0,1fr))}
 .orders-list-toolbar #orders-filter-extra .orders-customer-field{grid-column:span 2}
}
@media(max-width:700px){
 .orders-container{padding:16px 12px 70px}
 .orders-heading h1{font-size:24px}
 .orders-list-toolbar .orders-toolbar-main{grid-template-columns:minmax(0,1fr) auto;gap:8px}
 .orders-list-toolbar #orders-filter-toggle{padding-inline:10px;min-width:48px}
 .orders-list-toolbar #orders-filter-extra.orders-filter-expanded{grid-template-columns:1fr}
 .orders-list-toolbar #orders-filter-extra .orders-customer-field{grid-column:auto}
 .orders-modern .orders-form-map{position:relative;padding:4px;overflow-x:auto}
 .orders-modern .orders-form-map a{min-height:48px}
 .orders-modern .orders-form-panel{padding:15px 14px}
 .orders-modern .orders-form-panel .orders-field :is(input:not([type=checkbox]),select,textarea){font-size:16px;min-height:46px}
 .orders-modern .orders-section-number{width:32px;height:32px}
 .orders-modern .orders-form-actions{padding-bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(max-width:400px){.orders-list-toolbar .orders-toolbar-main{grid-template-columns:1fr}.orders-list-toolbar #orders-filter-toggle{width:100%;justify-content:center}.orders-modern .orders-form-map a{font-size:10px}}

/* Orders-only catalogue / line-item table (Stage 4 enhancement). */
.orders-modern #order-products{grid-column:1 / -1}
.orders-modern #order-start{grid-column:1 / -1}
.orders-items-table-scroll{width:100%;overflow-x:auto;border:1px solid #dfe7ef;border-radius:12px;background:#fff}
.orders-items-entry-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}
.orders-items-entry-table thead{background:#f3f6fb}
.orders-items-entry-table th{text-align:left;color:#536579;font-size:11px;text-transform:uppercase;letter-spacing:.035em;padding:10px 9px;border-bottom:1px solid #dfe7ef}
.orders-items-entry-table th:nth-child(1){width:27%}
.orders-items-entry-table th:nth-child(2){width:25%}
.orders-items-entry-table th:nth-child(3){width:11%}
.orders-items-entry-table th:nth-child(4){width:13%}
.orders-items-entry-table th:nth-child(5){width:16%}
.orders-items-entry-table th:nth-child(6){width:8%}
.orders-modern .orders-items-entry-table .orders-item-card{display:table-row;border:0;border-radius:0;background:#fff;box-shadow:none;padding:0}
.orders-items-entry-table .orders-item-card + .orders-item-card{border-top:1px solid #e8eef5}
.orders-items-entry-table td{padding:10px 7px;vertical-align:top;border-bottom:1px solid #edf1f6}
.orders-items-entry-table tr:last-child td{border-bottom:0}
.orders-items-entry-table input,.orders-items-entry-table select,.orders-items-entry-table textarea{box-sizing:border-box;width:100%;border:1px solid #cfdbe8;background:#fff;border-radius:8px;padding:8px;font:inherit;color:#172b44;min-height:40px}
.orders-items-entry-table textarea{min-height:40px;resize:vertical}
.orders-items-entry-table .item-catalogue{margin-bottom:6px}
.orders-items-entry-table .item-name{font-weight:600}
.orders-items-entry-table .item-total{background:#f4f8fe;font-weight:750;color:#224769}
.orders-items-entry-table .orders-remove-item{min-width:36px;min-height:40px;padding:5px 9px}
.orders-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.orders-mobile-item-number,.orders-mobile-remove{display:none}
@media(max-width:900px){
  .orders-items-table-scroll{border:0;overflow:visible;background:transparent}
  .orders-items-entry-table,.orders-items-entry-table tbody{display:block;width:100%}
  .orders-items-entry-table thead{display:none}
  .orders-modern .orders-items-entry-table .orders-item-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;background:#fff;border:1px solid #dce7f2;border-radius:12px;padding:13px;margin-bottom:11px}
  .orders-items-entry-table td{display:block;border:0!important;padding:0;min-width:0}
  .orders-items-entry-table td::before{content:attr(data-label);display:block;margin-bottom:5px;color:#526a81;font-size:12px;font-weight:650}
  .orders-items-entry-table td.orders-item-product,.orders-items-entry-table td:nth-child(2){grid-column:1/-1}
  .orders-mobile-item-number{display:block;font-size:12px;font-weight:800;color:#294b70;margin-bottom:8px}
  .orders-items-entry-table td.orders-item-product::before{display:none}
  .orders-items-entry-table td:nth-child(5){grid-column:1/-1}
  .orders-items-entry-table td.orders-item-remove-cell{grid-column:1/-1;text-align:right}
  .orders-items-entry-table .orders-item-remove-cell::before{display:none}
  .orders-mobile-remove{display:inline}
  .orders-items-entry-table .orders-remove-item{min-height:43px}
}
@media(max-width:420px){.orders-modern .orders-items-entry-table .orders-item-card{gap:10px;padding:11px}}
.orders-items-entry-table .item-catalogue-search{margin-bottom:6px}
