/* Geometry and type scale measured from the three approved 1487 × 1058 mockups. */
.ops-brand-workflow { display: none; }
body.theme-freshcorner-ops:has(.ops-mockup-page) { --lte-sidebar-width: 228px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #183229; }
body:has(.ops-mockup-page) .app-header { min-height: 58px; height: 58px; box-shadow: none; }
body:has(.ops-mockup-page) .app-content.animate-fade-in { animation: none; transform: none; }
body:has(.ops-mockup-page) .app-content > .container-fluid { padding: 24px !important; }
body:has(.ops-mockup-page) .sidebar-brand { height: 58px; min-height: 58px; border: 0; padding: 8px 20px; }
body:has(.ops-mockup-page) .brand-link { padding: 0; gap: 8px; }
body:has(.ops-mockup-page) .brand-image { width: 40px; height: 32px; margin: 0; }
body:has(.ops-mockup-page) .brand-text { font-size: 18px; line-height: 20px; margin: 0 !important; }
body:has(.ops-mockup-page) .brand-text small { text-transform: none; opacity: 1 !important; letter-spacing: 0; font-size: 13px; line-height: 18px; }
body:has(.ops-mockup-page) .ops-brand-default { display: none; }
body:has(.ops-mockup-page) .ops-brand-workflow { display: inline; }
body:has(.ops-mockup-page) .sidebar-wrapper { padding: 12px 8px; }
body:has(.ops-mockup-page) #navigation { margin-top: 0 !important; }
body:has(.ops-mockup-page) .ops-primary-nav .nav-link { min-height: 44px; padding: 10px 20px; gap: 12px; margin: 0 0 4px; border-radius: 8px; font-size: 15px; font-weight: 400; }
body:has(.ops-mockup-page) .ops-primary-nav .nav-link p { padding-right: 0; margin: 0; }
body:has(.ops-mockup-page) .ops-primary-nav .nav-icon { font-size: 18px; width: 20px; margin: 0; }
body:has(.ops-mockup-page) .ops-primary-nav .nav-link.active { background: #218b59; font-weight: 700; }
body:has(.ops-mockup-page) .ops-primary-nav .nav-arrow { font-size: 12px; }
.ops-header-branch { display: flex; gap: 10px; align-items: center; border-inline: 1px solid #dce5df; padding: 0 22px; margin-inline: 16px; min-height: 32px; font-weight: 600; }
.ops-mockup-page { position: relative; }
.ops-mockup-page .content > .container-fluid { padding: 0; }
.ops-mockup-page-heading, .ops-orders-page > .ops-page-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 0; margin: 0 0 16px; }
.ops-mockup-page .ops-eyebrow { color: #1f6547; font-size: 12px; line-height: 16px; letter-spacing: 0; font-weight: 700; }
.ops-mockup-page-heading h1, .ops-orders-page > .ops-page-heading h1 { font-family: inherit; font-size: 28px; font-weight: 700; line-height: 34px; letter-spacing: -.5px; margin: 2px 0 0; color: #183229; }
.ops-mockup-page-heading p, .ops-orders-page > .ops-page-heading p { font-size: 14px; line-height: 20px; margin: 0; color: #4c5c54; }
.ops-page-tools { display: flex; align-items: end; gap: 8px; }
.ops-icon-button { width: 36px; min-width: 36px; height: 36px; padding: 7px; }
.ops-picker-filter { font-size: 11px; margin: 0; }
.ops-picker-filter select { font-size: 12px; height: 32px; min-width: 140px; }
.ops-mockup-page .ops-summary-scope { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ops-mockup-page .ops-queue-summary { margin: 0 0 24px; }
.ops-mockup-page .ops-queue-counts { gap: 16px; }
.ops-mockup-page .ops-queue-count { min-height: 48px; padding: 8px 16px; border-radius: 8px; background: #fff; gap: 14px; font-family: inherit; font-size: 14px; border-color: #dce5df; }
.ops-mockup-page .ops-queue-count > i:first-child { color: #1f6547; font-size: 21px; }
.ops-mockup-page .ops-queue-count strong { color: #183229; font-size: 24px; line-height: 28px; }
.ops-mockup-page .ops-queue-count > i:last-child { font-size: 12px; color: #40564a; }
.ops-mockup-page .ops-queue-count.is-active { box-shadow: inset 0 0 0 1px #1f6547; background: #f1f8f4; }
.ops-mockup-page .order-workspace, .ops-mockup-page .fc-record-list { border: 0 !important; background: transparent !important; box-shadow: none !important; overflow: visible; }
.ops-mockup-page .order-workspace .ops-card-header { position: absolute; top: 0; right: 0; padding: 0; background: transparent; border: 0; }
.ops-mockup-page .order-workspace .ops-card-header > div:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ops-mockup-page .order-workspace .ops-card-header .btn { min-height: 32px; font-size: 12px; padding: 5px 8px; }
.ops-mockup-page .order-filter-bar { padding: 0 0 20px; background: transparent; border: 0; gap: 16px; }
.ops-mockup-page .order-filter-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ops-mockup-page .order-filter-search { align-self: end; }
.ops-mockup-page .order-filter label { font-size: 12px; font-weight: 500; }
.ops-mockup-page :is(.order-filter-bar,.fc-record-list .card-header) :is(input,select) { height: 40px; min-height: 40px; border-radius: 8px; font-size: 14px; background-color: #fff; }
.ops-mockup-page .fc-record-list .card-header { padding: 0 0 20px; background: transparent; border: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; }
.ops-mockup-page .fc-record-list input[type=search] { max-width: none; }
.ops-mockup-page .fc-record-list .card-header > div:first-child { min-width: 0; }
.ops-list-search { position: relative; }
.ops-list-search > i { position: absolute; top: 10px; left: 14px; color: #607169; }
.ops-list-search > i + input { padding-left: 40px; }
.ops-mockup-page .table-responsive { border: 1px solid #dce5df; border-radius: 9px; background: #fff; }
.ops-mockup-page .table :is(th,td) { padding: 12px 8px; font-size: 14px; vertical-align: middle; }
.ops-mockup-page .table th { text-transform: none !important; letter-spacing: 0 !important; font-weight: 600; color: #40564a; background: #f1f6f3; }
.ops-mockup-page .table .btn { min-height: 38px; font-size: 14px; border-radius: 6px; }
.ops-order-reference { font-size: 13px; font-weight: 700; text-decoration: none; padding: 0; text-align: left; overflow-wrap: anywhere; }
.ops-mockup-page .card-footer { background: transparent; border: 0; padding: 16px 0; }

/* Natural mockup dimensions; short windows scroll the body while retaining actions. */
.fc-record-modal:has(.ops-workflow-modal) { padding: 0 !important; background: rgba(10,25,18,.36); }
.fc-record-modal .modal-dialog:has(> .ops-workflow-modal) { --workflow-width: 750px; --workflow-height: 774px; --workflow-top: clamp(16px, calc(100dvh - 834px), 224px); --workflow-offset: 64px; width: min(var(--workflow-width),calc(100vw - 32px)); max-width: none; height: var(--workflow-height); max-height: calc(100dvh - var(--workflow-top) - 60px); min-height: 0; top: var(--workflow-top); left: var(--workflow-offset); margin: 0 auto; align-items: stretch; }
.fc-record-modal .modal-dialog:has(> .ops-picker-modal) { --workflow-width: 866px; --workflow-height: 772px; --workflow-top: clamp(16px,calc(100dvh - 830px),228px); --workflow-offset: 82px; max-height: calc(100dvh - var(--workflow-top) - 58px); }
.fc-record-modal .modal-dialog:has(> .ops-quality-modal) { --workflow-width: 888px; --workflow-height: 822px; --workflow-top: clamp(16px,calc(100dvh - 843px),215px); --workflow-offset: 106px; max-height: calc(100dvh - var(--workflow-top) - 20px); }
.ops-workflow-modal { font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.4; height: 100%; max-height: 100%; border-radius: 8px !important; color: #183229; box-shadow: 0 12px 24px #0003 !important; }
.fc-record-modal .ops-workflow-header { min-height: 48px; height: 48px; flex: 0 0 48px; padding: 8px 24px; border: 0; background: #104b35 !important; }
.fc-record-modal .ops-workflow-header .modal-title { font: 700 18px/24px Arial,Helvetica,sans-serif; color: white; gap: 12px; }
.fc-record-modal .ops-workflow-header .btn-close { box-sizing: border-box; width: 32px; height: 32px; min-height: 32px; padding: 8px; margin: 0 -8px 0 auto; }
.ops-workflow-modal .modal-body { padding: 16px 24px 0 !important; }
.ops-workflow-modal .modal-footer { padding: 16px 24px; gap: 16px; align-items: center; justify-content: flex-start; background: #fff; }
.ops-workflow-modal :is(input,select,.btn) { font-family: inherit; font-size: 14px; min-height: 0; height: 36px; line-height: 20px; padding: 6px 12px; border-radius: 5px; }
.ops-workflow-modal .btn { margin-bottom: 0; white-space: nowrap; font-weight: 600; }
.ops-workflow-modal .btn-primary, .ops-workflow-modal .btn-success { background: #158049; border-color: #158049; }
.ops-workflow-modal .btn:disabled { background: #e3e7e5; border-color: #e3e7e5; color: #747e79; opacity: 1; cursor: not-allowed; }
.ops-workflow-modal .btn-link { background: transparent; color: #176b35; border-color: transparent; padding-inline: 0; }
.ops-workflow-modal .fc-status-chip { font: 600 12px/18px Arial,Helvetica,sans-serif; min-height: 0; padding: 3px 10px; gap: 5px; border: 0; white-space: nowrap; }
.ops-record-summary { margin-bottom: 16px; }
.ops-record-identity { padding: 0 0 14px; gap: 16px; border-bottom: 1px solid #dce5df; }
.ops-field-label { font-size: 12px; line-height: 16px; color: #53635c; margin-bottom: 2px; }
.ops-record-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.ops-record-identity h3 { font: 700 22px/28px Arial,Helvetica,sans-serif; letter-spacing: -.35px; margin: 0; color: #102f22; }
.ops-record-identity small { font-size: 12px; line-height: 16px; margin-top: 4px; }
.ops-record-metric { border-left: 1px solid #d5ddd8; padding-left: 24px; }
.ops-record-metric strong { font: 700 26px/32px Arial,Helvetica,sans-serif; color: #103b29; white-space: nowrap; }
.ops-record-context { gap: 10px; margin: 10px 0 0; }
.ops-record-context > div { min-height: 52px; padding: 7px 12px; border-radius: 6px; background: #edf6f0; }
.ops-record-context dt { font: 400 12px/16px Arial,Helvetica,sans-serif; color: #53635c; }
.ops-record-context dt i { font-size: 17px; color: #1f6547; float: left; margin: 2px 8px 10px 0; }
.ops-record-context dd { font: 600 14px/18px Arial,Helvetica,sans-serif; margin: 2px 0 0; color: #182c22; }
.ops-summary-quality .ops-record-context { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ops-summary-quality .ops-record-metric { border: 0; align-self: center; padding-left: 12px; }
.ops-summary-quality .ops-record-metric .ops-field-label { display: none; }
.ops-summary-quality .ops-record-metric strong { font-size: 18px; line-height: 24px; }
.ops-summary-picking .ops-record-identity { border-bottom: 0; padding-bottom: 8px; }
.ops-summary-picking .ops-record-title .fc-status-chip { border: 1px solid #2b8456; }
.ops-workflow-modal .ops-detail-tabs { gap: 8px; margin: 0 0 16px !important; border-bottom: 1px solid #d5ddd8; }
.ops-workflow-modal .ops-detail-tabs .nav-link { font: 400 14px/20px Arial,Helvetica,sans-serif; color: #53635c; padding: 8px 12px 10px; border-bottom-width: 3px; }
.ops-workflow-modal .ops-detail-tabs .nav-link.active { color: #176b35; font-weight: 700; }
.ops-overview-grid { gap: 24px; min-height: 90px; }
.ops-overview-grid > section + section { padding-left: 24px; }
.ops-overview-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ops-overview-heading h3 { font-size: 14px; font-weight: 700; line-height: 20px; margin: 0; }
.ops-detail-fields { grid-template-columns: 76px 1fr; gap: 4px 12px; font-size: 12px; line-height: 18px; }
.ops-overview-more { position: relative; }
.ops-overview-more summary { cursor: pointer; list-style: none; padding: 0 4px; color: #607169; }
.ops-overview-more[open] { z-index: 2; }
.ops-overview-more > dl { position: absolute; top: 26px; right: 0; width: 290px; max-width: 75vw; padding: 16px; border: 1px solid #dce5df; border-radius: 7px; background: #fff; box-shadow: 0 8px 20px #0002; }
.ops-order-modal .order-summary-card .card-body > h3 { font-size: 14px; line-height: 20px; font-weight: 700; margin: 16px 0 10px !important; }
.ops-workflow-modal .ops-item-summary { margin: 0; border: 1px solid #dce5df; border-radius: 7px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.ops-workflow-modal .ops-item-summary :is(th,td) { font: 400 14px/20px Arial,Helvetica,sans-serif; padding: 7px 14px; border-bottom: 1px solid #e0e6e2; }
.ops-workflow-modal .ops-item-summary th { --bs-table-bg: #dff0e5; background: #dff0e5 !important; color: #193d2c; text-transform: none !important; letter-spacing: 0; font-weight: 600; }
.ops-workflow-modal .ops-item-summary tbody tr:last-child td { border-bottom: 0; }
.ops-overview-bottom { gap: 20px; margin-top: 20px; }
.ops-next-step { padding: 10px 14px; font-size: 14px; line-height: 20px; background: #e6f4eb; border-radius: 6px; color: #183b2a; }
.ops-next-step i { margin-right: 8px; }
.ops-order-modal .ops-overview-bottom .ops-next-step { flex: 1; }
.ops-invoice-totals { min-width: 270px; gap: 5px 20px; font-size: 14px; line-height: 20px; }
.ops-invoice-totals .ops-total-label, .ops-invoice-totals .ops-total-value { margin-top: 4px; padding-top: 7px; border-top: 1px solid #dce5df; font-size: 16px; font-weight: 700; color: #15472f; }
.ops-order-secondary-actions { margin-top: 12px; font-size: 12px; }
.ops-invoice-footer { display: flex; gap: 16px; align-items: end; }
.ops-invoice-totals-panel { order: 2; flex: 0 1 270px; margin-left: auto; }
.ops-invoice-actions-panel { order: 1; flex: 1 1 220px; }
.ops-pick-progress { margin: 20px 0 22px; padding-bottom: 22px; border-bottom: 1px solid #dce5df; gap: 8px; font-size: 14px; line-height: 20px; }
.ops-pick-progress > div { display: flex; justify-content: space-between; }
.ops-pick-progress progress { appearance: none; border: 0; border-radius: 8px; overflow: hidden; height: 12px; width: 100%; background: #e1e5e3; }
.ops-pick-progress progress::-webkit-progress-bar { background: #e1e5e3; }
.ops-pick-progress progress::-webkit-progress-value { background: #18834c; border-radius: 8px; }
.ops-work-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ops-work-section-heading h3 { font-size: 18px; line-height: 24px; font-weight: 700; color: #15472f; margin: 0; }
.ops-work-section-heading > span { font-size: 12px; }
.ops-picking-table { width: 100%; table-layout: fixed; margin: 0; }
.ops-picking-table th:nth-child(1) { width: 18%; }.ops-picking-table th:nth-child(2) { width: 14%; }.ops-picking-table th:nth-child(3) { width: 36%; }.ops-picking-table th:nth-child(4) { width: 16%; }.ops-picking-table th:nth-child(5) { width: 16%; }
.ops-workflow-modal .ops-picking-table :is(td,th) { padding: 12px 10px; border-color: #dce5df; font-size: 14px; vertical-align: middle; }
.ops-workflow-modal .ops-picking-table th { padding-block: 6px; background: #dff0e5 !important; font-size: 12px; text-transform: none; color: #183b2a; }
.ops-workflow-modal .ops-picking-table th:first-child { border-radius: 5px 0 0 5px; }.ops-workflow-modal .ops-picking-table th:last-child { border-radius: 0 5px 5px 0; }
.ops-inline-weight { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; align-items: start; }
.ops-inline-weight .input-group { min-width: 0; flex-wrap: nowrap; }.ops-inline-weight .input-group input { width: 0; min-width: 0; padding-inline: 10px; }
.ops-workflow-modal .ops-inline-weight :is(input,.btn,.input-group-text) { height: 34px; padding: 5px 9px; font-size: 12px; }
.ops-inline-weight .input-group-text { background: #e8f3ec; font-weight: 600; }
.ops-inline-weight small { grid-column: 1/-1; font-size: 11px; line-height: 14px; }
.ops-picking-table td:first-child { overflow-wrap: anywhere; }.ops-picking-table td:last-child .btn { font-size: 12px; padding-inline: 10px; }
.ops-picking-table small { font-size: 11px; line-height: 15px; }
.ops-picking-hint { margin-top: 20px; }
.ops-completion-action { display: flex; flex-direction: column; align-items: end; gap: 5px; margin-left: auto; text-align: right; }
.ops-completion-action > span { font-size: 12px; line-height: 16px; color: #53635c; }
.ops-staff-attribution { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ops-staff-attribution label { flex-shrink: 0; font-size: 12px; font-weight: 400; margin: 0 !important; }
.ops-workflow-modal .ops-staff-attribution select { width: 196px; max-width: 100%; height: 36px; font-size: 12px; }
.ops-inspection-workspace { grid-template-columns: 255px minmax(0,1fr); gap: 24px; }
.ops-inspection-items { padding-right: 16px; border-right: 1px solid #dce5df; }
.ops-inspection-list-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ops-inspection-list-heading h4 { font-size: 16px; font-weight: 700; line-height: 22px; margin: 0; }
.ops-inspection-options { position: relative; }.ops-inspection-options summary { list-style: none; cursor: pointer; padding: 0 4px; color: #607169; }
.ops-inspection-options > div { position: absolute; top: 25px; left: 0; width: 300px; padding: 12px; background: #fff; border: 1px solid #dce5df; border-radius: 6px; box-shadow: 0 6px 20px #0002; z-index: 3; }
.ops-inspection-toolbar { margin: 0; }
.ops-inspection-item { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; min-height: 64px; padding: 10px; border: 0; border-bottom: 1px solid #e0e6e2; background: transparent; }
.ops-inspection-item > span:first-child { min-width: 0; color: #183229; }
.ops-inspection-item strong { font-size: 14px; }.ops-inspection-item small { display: block; margin-top: 4px; font-size: 14px; line-height: 18px; color: #53635c; }
.ops-inspection-item.is-active { background: #e9f5ed; border: 1px solid #93c0a4; box-shadow: inset 4px 0 #1b7548; border-radius: 6px; }
.ops-draft-label { font-size: 11px; margin-left: 5px; }
.ops-inspection-form h4 { font: 700 22px/28px Arial,Helvetica,sans-serif; margin: -3px 0 2px; color: #152e20; }
.ops-inspection-form > div > p { font-size: 12px; line-height: 18px; margin-bottom: 14px; }
.ops-inspection-checks { gap: 8px 24px; }
.ops-check-field label { display: block; font-size: 12px; font-weight: 700; line-height: 16px; margin-bottom: 3px; }
.ops-check-select { position: relative; }.ops-check-select > i { position: absolute; top: 6px; left: 10px; font-size: 16px; pointer-events: none; color: #176b35; z-index: 1; }
.ops-workflow-modal .ops-check-select select { height: 32px; font-size: 12px; line-height: 18px; padding: 5px 30px 5px 10px; }
.ops-check-select[data-result=true] select { background-color: #e7f3eb; color: #15472f; border-color: #7eaf91; padding-left: 32px; }
.ops-check-select[data-result=false] select { background-color: #fff0d3; color: #774500; border-color: #dda951; padding-left: 32px; }
.ops-check-select[data-result=false] > i { color: #a86a0b; }
.ops-form-field { margin-top: 10px; gap: 3px; font-size: 12px; font-weight: 700; line-height: 16px; }
.ops-workflow-modal .ops-form-field > select { height: 32px; padding-block: 4px; font-size: 12px; }
.ops-workflow-modal .ops-form-field textarea { min-height: 48px; height: 48px; font-size: 12px; line-height: 17px; padding: 6px 10px; border-radius: 5px; }
.ops-quality-save-row { display: flex; align-items: end; gap: 16px; justify-content: space-between; margin-top: 10px; }
.ops-quality-evidence { min-width: 0; flex: 1; }.ops-evidence-label { display: block; font-size: 12px; font-weight: 700; line-height: 16px; margin-bottom: 3px; }
.ops-evidence-actions { display: flex; align-items: center; gap: 12px; }.ops-evidence-actions > small { font-size: 10px; line-height: 14px; }
.ops-upload-control { display: inline-flex; align-items: center; gap: 6px; position: relative; overflow: hidden; flex-shrink: 0; }
.ops-workflow-modal .ops-upload-control { font-size: 12px; height: 34px; padding: 5px 10px; font-weight: 500; }
.ops-workflow-modal .ops-native-upload { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ops-upload-control:focus-within { outline: 3px solid #339866; outline-offset: 2px; }
.ops-quality-save { width: 180px; display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.ops-quality-save .btn { height: 34px; font-size: 12px; padding-block: 5px; }.ops-quality-save small { font-size: 10px; line-height: 13px; }
.ops-customer-communication { margin-top: 16px; padding-top: 0; border-top: 1px solid #dce5df; }
.ops-communication-toggle { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 10px; border: 0; border-bottom: 1px solid #dce5df; background: #fff; color: #183229; text-align: left; }
.ops-communication-toggle strong { font-size: 14px; }.ops-communication-toggle > span { margin-left: auto; font-size: 11px; color: #607169; }
.ops-quality-modal .modal-footer { gap: 12px; padding-top: 10px; }
.ops-quality-readiness-strip { flex: 0 0 100%; display: flex; align-items: center; gap: 16px; padding: 8px 12px; background: #fff0cf; border-radius: 5px; color: #754600; min-height: 48px; }
.ops-quality-readiness-strip.is-ready { background: #e9f5ed; color: #176b35; }
.ops-readiness-details { min-width: 0; flex: 1; position: relative; }.ops-readiness-details summary { cursor: pointer; list-style: none; font-size: 12px; display: flex; align-items: center; gap: 12px; }.ops-readiness-details summary > i { font-size: 19px; }
.ops-readiness-details > div { position: absolute; bottom: 30px; left: 0; width: 340px; max-width: 80vw; background: #fff; color: #183229; border: 1px solid #dce5df; border-radius: 6px; box-shadow: 0 6px 20px #0002; padding: 12px; font-size: 12px; z-index: 3; }
.ops-readiness-details ul { padding-left: 18px; margin: 0; }.ops-readiness-details li + li { margin-top: 6px; }
.ops-quality-readiness-strip .ops-staff-attribution { border-left: 1px solid #d9bf8d; padding-left: 16px; margin-left: auto; color: #53635c; }
.ops-quality-modal .ops-completion-action { flex-direction: row; align-items: center; gap: 18px; }
.ops-quality-modal .ops-completion-action > span { font-size: 11px; }
@media(max-width:1199.98px) {
    .fc-record-modal .modal-dialog:has(> .ops-workflow-modal) { left: 0; }
    .ops-header-branch { padding-inline: 12px; margin-inline: 8px; }
}
@media(max-width:767.98px) {
    body:has(.ops-mockup-page) .app-content > .container-fluid { padding: 16px !important; }
    .ops-header-branch { display: none; }.ops-page-tools { align-items: start; }
    .ops-mockup-page-heading, .ops-orders-page > .ops-page-heading { flex-wrap: wrap; }
    .ops-mockup-page .order-workspace .ops-card-header { position: static; justify-content: end; margin-bottom: 12px; }
    .ops-mockup-page .ops-queue-counts { grid-template-columns: 1fr; gap: 8px; }
    .ops-mockup-page .fc-record-list .card-header { grid-template-columns: 1fr; gap: 8px; }
    .ops-record-identity { flex-wrap: wrap; flex-direction: row; }.ops-record-metric { border: 0; padding-left: 0; text-align: left; }
    .ops-record-context { grid-template-columns: 1fr 1fr; }.ops-summary-quality .ops-record-context { grid-template-columns: 1fr 1fr; }
    .ops-overview-grid { grid-template-columns: 1fr; gap: 16px; }.ops-overview-grid > section + section { padding: 12px 0 0; }
    .ops-overview-bottom { flex-direction: column; align-items: stretch; }.ops-invoice-totals { min-width: 0; width: 100%; }.ops-invoice-totals-panel { flex-basis: 100%; }
    .ops-inspection-workspace { grid-template-columns: 1fr; gap: 16px; }.ops-inspection-items { display: flex; overflow-x: auto; padding: 0 0 8px; border-right: 0; }.ops-inspection-list-heading { flex: 0 0 auto; width: 28px; margin: 0; }.ops-inspection-list-heading h4 { position: absolute; clip-path: inset(50%); }.ops-inspection-options { align-self: start; }.ops-inspection-options > div { left: 0; width: 260px; }.ops-inspection-item { flex: 0 0 190px; min-height: 76px; }
    .ops-workflow-modal .ops-picking-table, .ops-picking-table :is(tbody,tr,td) { display: block; width: 100%; }.ops-picking-table thead { display: none; }.ops-picking-table tr { padding: 12px 0; border-bottom: 1px solid #dce5df; }.ops-workflow-modal .ops-picking-table td { padding: 4px 0; border: 0; }.ops-picking-table td::before { content: attr(data-label); display: block; font-size: 11px; color: #607169; margin-bottom: 3px; }.ops-picking-table td:first-child::before { display: none; }.ops-picking-table td:last-child .btn { width: 100%; }
    .ops-quality-save-row { flex-wrap: wrap; }.ops-quality-save { width: 100%; }.ops-communication-toggle { flex-wrap: wrap; gap: 8px; }.ops-communication-toggle > span { margin-left: 0; width: 100%; }
    .ops-quality-readiness-strip { flex-wrap: wrap; gap: 8px; }.ops-readiness-details { flex-basis: 100%; }.ops-quality-readiness-strip .ops-staff-attribution { border: 0; padding: 0; margin: 0; }.ops-quality-modal .ops-completion-action { flex-direction: column; align-items: stretch; gap: 4px; }.ops-completion-action { width: 100%; align-items: stretch; text-align: left; }.ops-staff-attribution { flex-wrap: wrap; gap: 6px; }
}
@media(max-width:575.98px) {
    .fc-record-modal .modal-dialog:has(> .ops-workflow-modal) { top: 0; left: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; }
    .ops-workflow-modal { border-radius: 0 !important; }.ops-workflow-modal .modal-body { padding: 16px 16px 0 !important; }.ops-workflow-modal .modal-footer { padding: 12px 16px; gap: 10px; }
    .ops-workflow-modal :is(input,select,.btn), .ops-workflow-modal .ops-check-select select { min-height: 44px; height: 44px; }.ops-workflow-modal textarea { min-height: 60px; }.ops-workflow-modal .ops-native-upload { min-height: 0; height: 100%; }
    .ops-workflow-modal .ops-staff-attribution select { height: 44px; }.ops-check-select > i { top: 11px; }.ops-record-identity h3 { font-size: 18px; line-height: 24px; }.ops-record-metric strong { font-size: 24px; }
    .ops-workflow-modal .ops-detail-tabs { gap: 0; }.ops-workflow-modal .ops-detail-tabs .nav-link { font-size: 12px; padding-inline: 9px; }.ops-record-context > div { padding: 8px; }.ops-record-context dt i { display: none; }
}
@media(max-width:360px) { .ops-inspection-checks { grid-template-columns: 1fr; } }

/* Final comparison corrections: avoid inherited utility sizing and table padding. */
body:has(.ops-mockup-page) .app-content { padding: 0; }
.ops-mockup-page .fc-record-list .card-header { display: grid !important; }
.ops-mockup-page .ops-list-search, .ops-mockup-page .ops-list-search input { width: 100%; }
.ops-mockup-page .fc-record-list input[type=search] { max-width: none !important; }
.fc-record-modal .ops-workflow-modal :is(input,select,.btn) { min-height: 0 !important; }
.ops-workflow-modal .ops-check-select select, .ops-workflow-modal .ops-form-field > select { height: 32px !important; }
.ops-record-identity h3 { font-size: 24px; }
.ops-order-modal .ops-record-metric strong { font-size: 28px; }
.ops-order-modal .ops-record-summary { margin-bottom: 26px; }
.ops-order-modal .ops-overview-grid { min-height: 100px; }
.ops-workflow-modal .ops-item-summary th { padding: 5px 14px !important; }
.ops-workflow-modal .ops-item-summary td { padding: 7px 14px !important; }
.ops-picker-modal .ops-record-summary { margin-bottom: 24px; }
.ops-workflow-modal .ops-picking-table th { padding: 6px 10px !important; line-height: 16px; }
.ops-picker-modal .modal-footer { min-height: 106px; padding-block: 20px; align-items: end; }
.ops-picker-modal .modal-footer .btn { height: 42px; }
.ops-picker-modal .ops-staff-attribution select { height: 40px; }
.ops-inspection-workspace { grid-template-columns: 275px minmax(0,1fr); }
.ops-inspection-form > div > p { margin-bottom: 19px; }
.ops-quality-readiness-strip { padding-block: 6px; }
.ops-list-options { position: relative; }
.ops-list-options > summary { list-style: none; cursor: pointer; }
.ops-list-options > div { position: absolute; right: 0; top: 44px; z-index: 4; width: 215px; display: grid; gap: 8px; padding: 12px; border: 1px solid #dce5df; border-radius: 7px; background: #fff; box-shadow: 0 8px 20px #0002; }
.ops-list-options label { font-size: 12px; margin: 0; }
.ops-orders-page > .ops-page-heading { align-items: start; }
.ops-orders-page > .ops-page-heading { padding: 0 !important; }
.ops-mockup-page .ops-eyebrow { display: block; }
.ops-mockup-page-heading h1, .ops-orders-page > .ops-page-heading h1 { font-size: 28px !important; }
.ops-mockup-page .ops-page-tools .ops-icon-button { min-height: 36px !important; }
body:has(.ops-mockup-page) .sidebar-wrapper { padding: 12px 8px !important; }
.ops-orders-page .order-table:not(.with-context) th:nth-child(1) { width: 25%; }
.ops-orders-page .order-table:not(.with-context) th:nth-child(2) { width: 22%; }
.ops-orders-page .order-table:not(.with-context) th:nth-child(3) { width: 17%; text-align: right; }
.ops-orders-page .order-table:not(.with-context) th:nth-child(4) { width: 22%; }
.ops-orders-page .order-table:not(.with-context) th:nth-child(5) { width: 14%; }
.ops-orders-page .order-table:not(.with-context) td:nth-child(3) { text-align: right; }
.ops-orders-page .order-number-link { max-width: none; font-size: 13px; }
@media(max-width:767.98px) {
    .ops-inspection-workspace { grid-template-columns: 1fr; }
    .ops-inspection-item { flex-direction: column; align-items: start; }
    .ops-picker-modal .modal-footer { padding-block: 12px; }
}
@media(max-width:575.98px) {
    .fc-record-modal .ops-workflow-modal :is(input,select,.btn), .ops-workflow-modal .ops-check-select select, .ops-workflow-modal .ops-form-field > select { min-height: 44px !important; height: 44px !important; }
    .ops-workflow-modal .ops-native-upload { min-height: 0 !important; height: 100% !important; }
    .ops-record-identity h3 { font-size: 18px; }
    .ops-workflow-modal .ops-item-summary td { padding: 3px 0 !important; }
}

/* Match the reference's stronger field hierarchy and compact desktop controls. */
.fc-record-modal .ops-workflow-header { background: #075337 !important; }
.fc-record-modal .ops-workflow-header .modal-title { font-size: 18px; }
.ops-record-context dd { font-weight: 700; }
.ops-record-title .fc-status-chip::before { display: none; }
.ops-record-title .fc-status-chip > i { display: none; }
.ops-record-title .fc-status-chip { padding-inline: 14px; }
.ops-summary-order .ops-record-identity { min-height: 91px; }
.ops-order-modal .ops-record-summary { margin-bottom: 18px; }
.ops-workflow-modal .fc-status-chip { font-size: 14px; line-height: 20px; }
.ops-summary-picking .ops-record-identity { min-height: 82px; }
.ops-picker-modal .ops-pick-progress { margin-bottom: 17px; }
.ops-picker-modal .ops-completion-action > .btn { min-width: 270px; }
.ops-summary-quality .ops-record-identity { padding-bottom: 8px; }
.ops-quality-modal .ops-record-summary { margin-bottom: 32px; }
.ops-detail-fields { font-size: 14px; }
.ops-workflow-modal .ops-detail-tabs .nav-link { font-size: 15px; }
.ops-order-modal .ops-overview-grid { min-height: 94px; }
.ops-order-modal .ops-overview-bottom { gap: 60px; }
.ops-workflow-modal .ops-item-summary th:nth-child(1) { width: 38%; }
.ops-workflow-modal .ops-item-summary th:nth-child(2) { width: 18%; }
.ops-workflow-modal .ops-item-summary th:nth-child(3) { width: 20%; }
.ops-workflow-modal .ops-item-summary th:nth-child(4) { width: 24%; }
.ops-workflow-modal .ops-picking-table th { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.fc-record-modal .ops-workflow-modal :is(.ops-item-summary,.ops-picking-table) th { font-size: 14px !important; font-weight: 600 !important; }
.ops-picking-table th:nth-child(1) { width: 18%; }.ops-picking-table th:nth-child(2) { width: 14%; }.ops-picking-table th:nth-child(3) { width: 37%; }.ops-picking-table th:nth-child(4) { width: 16%; }.ops-picking-table th:nth-child(5) { width: 15%; }
.ops-workflow-modal .ops-picking-table td:last-child .btn, .ops-workflow-modal .ops-inline-weight :is(input,.btn,.input-group-text) { font-size: 14px; }
.ops-workflow-modal .ops-inline-weight .btn { padding-inline: 10px; }
.ops-picking-table small, .ops-inline-weight small { font-size: 12px; }
.ops-workflow-modal .ops-picking-table td:first-child { font-size: 16px; }
.ops-workflow-modal .ops-staff-attribution select { font-size: 14px; }
.ops-staff-attribution label, .ops-completion-action > span { font-size: 14px; }
.ops-inspection-list-heading h4 { font-size: 18px; }
.ops-inspection-item strong { font-size: 16px; }
.ops-check-field label, .ops-workflow-modal .ops-check-select select, .ops-form-field, .ops-workflow-modal .ops-form-field > select, .ops-workflow-modal .ops-form-field textarea, .ops-evidence-label { font-size: 14px; }
.ops-workflow-modal .ops-check-select select { font-weight: 600; }
.ops-inspection-form > div > p { font-size: 14px; margin-bottom: 13px; }
.ops-workflow-modal .ops-upload-control, .ops-quality-save .btn { font-size: 14px; }
.ops-evidence-actions > small, .ops-quality-save small, .ops-communication-toggle > span, .ops-quality-modal .ops-completion-action > span { font-size: 12px; }
.ops-quality-save small { font-size: 10px; }
.ops-workflow-modal .ops-upload-control { font-weight: 600; color: #176b35; border-color: #176b35; }
.ops-readiness-details summary { font-size: 14px; }
.ops-quality-readiness-strip .ops-staff-attribution select { width: 290px; }
.ops-order-modal .modal-footer .btn-outline-secondary, .ops-picker-modal .modal-footer .btn-outline-secondary, .ops-quality-modal .modal-footer .btn-outline-secondary { min-width: 84px; }
.ops-workflow-modal .btn-primary:not(:disabled), .ops-workflow-modal .btn-success:not(:disabled) { background: #158049 !important; border-color: #158049 !important; }
@media(max-width:767.98px) {
 .ops-order-modal .ops-overview-bottom { gap: 20px; }
 .ops-quality-readiness-strip .ops-staff-attribution select { width: 196px; }
 .ops-summary-order .ops-record-identity, .ops-summary-picking .ops-record-identity { min-height: 0; }
 .ops-picker-modal .ops-completion-action > .btn { min-width: 0; }
}
@media(max-width:575.98px) {
 .ops-workflow-modal .ops-detail-tabs .nav-link { font-size: 12px; }
 .ops-quality-readiness-strip .ops-staff-attribution { width: 100%; }
}
