.part-quantity{align-self:start;gap:6px;min-width:0;display:grid}.part-quantity .field-input{width:100%;min-width:0;margin:0}.part-quantity-select{cursor:pointer;padding-right:22px!important}.part-quantity-custom{font-size:16px}.compact-part-picker{min-width:0}.part-entry-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.part-entry-actions>.link-button{align-items:center;gap:5px;min-height:40px;padding:4px 0;font-size:.875rem;display:inline-flex}.part-barcode-control{display:contents}.part-scan-button{justify-content:center;min-width:82px;min-height:42px!important}.part-barcode-inline{flex:1 0 100%;width:100%;min-width:0}.part-barcode-inline:empty{display:none}.part-barcode-error{flex:1 0 100%;margin:0}.part-stock-summary{color:#526b7e;flex-wrap:wrap;align-items:baseline;gap:7px 12px;padding-top:6px;font-size:.8rem;display:flex}.part-stock-summary .stock-code{font-size:.83rem}.part-stock-summary>span{overflow-wrap:anywhere;min-width:0}.part-stock-summary>details{font-size:.8rem}.part-stock-summary summary{cursor:pointer;color:#24617c}.part-stock-summary details[open]{background:#f4f8fb;border-radius:6px;flex-basis:100%;padding:8px}.part-entry-with-stock:has(.compact-part-picker){padding-top:10px;padding-bottom:12px}.part-entry-with-stock>.part-evidence:empty{display:none}.part-entry-with-stock .parts-entry-row{margin-bottom:6px}.part-unlisted-button{margin-left:auto}.part-evidence .part-evidence-return{font-size:.8rem}@media (max-width:650px){.part-entry-actions{gap:6px 12px}.part-entry-actions>.link-button{font-size:.8rem}.part-scan-button{padding:8px 12px!important}.part-stock-summary{font-size:.78rem}.part-stock-summary .stock-code{font-size:.8rem}.part-stock-summary>span{flex:160px}}.part-quantity-current{color:#526a76;overflow-wrap:anywhere;white-space:normal;font-size:12px;line-height:1.35}@media (max-width:650px){:is(.parts-entry:has(.part-quantity) .parts-entry-heading,.parts-entry:has(.part-quantity) .parts-entry-row){grid-template-columns:minmax(0,1fr) 104px 40px}.part-quantity-select{padding-left:8px!important}}.part-photo-controls>.label{margin:0 0 6px;display:block}.part-photo-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.part-evidence .part-photo-actions .part-photo-button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px 12px;font-size:.8rem;line-height:1.2;display:inline-flex}.part-evidence input.part-photo-input{display:none!important}.part-photo-preview{align-items:center;gap:10px;min-width:0;margin-top:10px;display:flex}.part-photo-thumbnail{object-fit:cover;background:#fff;border:1px solid #cbd8df;border-radius:8px;flex:0 0 64px;width:64px;height:64px}.part-photo-placeholder{color:#5c7380;justify-content:center;align-items:center;display:flex}.part-photo-caption{flex-direction:column;gap:2px;min-width:0;display:flex}.part-photo-name{text-overflow:ellipsis;white-space:nowrap;color:#153b4d;max-width:100%;font-size:.8rem;display:block;overflow:hidden}.part-photo-caption .hint,.part-photo-caption .link-button{margin:0;font-size:.75rem;line-height:1.4}.part-photo-caption .link-button{min-height:28px;padding:4px 0}.trade-status-tabs{flex-wrap:wrap;gap:8px;margin:0 0 18px;display:flex}.trade-status-tabs .btn span{background:#edf3f8;border-radius:12px;padding:1px 7px;font-size:.75rem}.trade-status-tabs .btn.active{color:#072545;background:#e8f3fb;border-color:#1879b9}.trade-status-tabs .btn.active span{background:#d2e9f8}.part-evidence input[type=file]{width:100%;max-width:100%;min-height:44px;display:block;overflow:hidden;font-size:.85rem!important}.part-evidence .note{overflow-wrap:anywhere}.part-evidence .btn-row{justify-content:space-between;align-items:flex-start}.part-evidence .link-button{white-space:normal;text-align:left}@media (max-width:650px){.trade-status-tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.trade-status-tabs .btn{white-space:normal;justify-content:space-between;padding:10px;font-size:.8rem}.part-evidence .btn-row{flex-direction:column}.part-evidence .note{padding:12px}}.ams-alert-dialog-content.trade-leave-dialog{color:#12394e;background:#fff;border:1px solid #dbe5ec;border-top:5px solid #0b2a46;border-radius:16px;outline:none;gap:20px;max-width:440px;padding:26px;box-shadow:0 18px 60px #061d3033}.trade-leave-brand{justify-content:space-between;align-items:center;gap:16px;display:flex}.trade-leave-brand img{object-fit:contain;width:90px;height:38px}.trade-leave-brand span{letter-spacing:.07em;text-transform:uppercase;color:#617681;font-size:12px;font-weight:600}.trade-leave-intro [data-slot=alert-dialog-title]{letter-spacing:-.025em;color:#0b2a46;font-size:24px;line-height:1.25}.trade-leave-intro [data-slot=alert-dialog-description]{color:#607580;margin-top:10px;font-size:15px;line-height:1.6}.trade-leave-copy{background:#f2f7fa;border:1px solid #dce8ee;border-radius:10px;align-items:flex-start;gap:12px;padding:15px;display:flex}.trade-leave-copy>svg{color:#267898;flex-shrink:0;width:21px;height:21px;margin-top:2px}.trade-leave-copy strong{font-size:14px;font-weight:650;display:block}.trade-leave-copy p{color:#607580;margin-top:5px;font-size:13px;line-height:1.6}.trade-leave-copy b{font-weight:600}.trade-leave-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.trade-leave-actions .btn{white-space:normal;justify-content:center;width:100%;min-height:48px;font-size:14px}.trade-leave-error{color:#8b312d;background:#fff2f0;border-radius:8px;padding:12px;font-size:14px;line-height:1.5}.trade-leave-saving{color:#607580;text-align:center;font-size:13px}@media (max-width:450px){.ams-alert-dialog-content.trade-leave-dialog{gap:18px;padding:21px}.trade-leave-intro [data-slot=alert-dialog-title]{font-size:23px}.trade-leave-actions{gap:8px}}.trade-recovery-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.trade-delete-confirm{background:#fff6f6!important;border-color:#e5bfc3!important}.trade-delete-confirm:hover{background:#ffedef!important}@media (max-width:650px){.trade-recovery-actions{width:100%}.trade-recovery-actions .btn{white-space:normal;flex:1;min-height:44px}}.system-health{color:#183c54;gap:28px;min-width:0;max-width:1440px;display:grid}.system-health *{box-sizing:border-box}.system-health p{line-height:1.55}.system-health-hero{background:linear-gradient(115deg,#eef6fb,#fff 80%);border:1px solid #c6dbe8;border-left:5px solid #1879b9;border-radius:14px;justify-content:space-between;gap:28px;padding:28px;display:flex}.system-health-hero.warning{border-left-color:#af750d}.system-health-hero.critical{border-left-color:#bd343b}.system-health-hero.good{border-left-color:#198148}.system-health-hero h2{color:#072545;margin:14px 0 8px;font-size:1.55rem;font-weight:700;line-height:1.3}.system-health-hero-copy{min-width:0;max-width:700px}.system-health-private{letter-spacing:.025em;color:#315a73;align-items:center;gap:7px;font-size:.8rem;font-weight:650;display:inline-flex}.system-health-hero p{color:#4b6476;font-size:.95rem}.system-health-hero-meta{color:#597486;flex-wrap:wrap;gap:14px;margin-top:18px;font-size:.8rem;display:flex}.system-health-hero-meta span{align-items:center;gap:6px;display:inline-flex}.system-health-hero-side{flex-direction:column;flex-shrink:0;justify-content:center;align-items:flex-end;gap:12px;max-width:210px;display:flex}.system-health-hero-side p{text-align:right;font-size:.8rem}.system-health-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;display:grid}.system-health-summary-grid>div{background:#fff;border:1px solid #d4e1e9;border-radius:10px;min-width:0;padding:20px}.system-health-summary-grid dt{color:#5a7180;font-size:.8rem;font-weight:600}.system-health-summary-grid dd{color:#072545;margin:10px 0;font-size:1.9rem;font-weight:700;line-height:1.2}.system-health-summary-grid dd.system-health-warning-number{color:#9a5c04}.system-health-summary-grid p,.system-health-summary-grid a{color:#5a7180;font-size:.8rem}.system-health-summary-grid a{color:#126ca5;text-underline-offset:3px;align-items:center;gap:5px;text-decoration:underline;display:inline-flex}.system-health-section{min-width:0}.system-health-section-heading{color:#1879b9;align-items:flex-start;gap:11px;margin-bottom:16px;display:flex}.system-health-section-heading>svg{flex-shrink:0;margin-top:3px}.system-health-section-heading h2{color:#072545;margin:0 0 4px;font-size:1.13rem;font-weight:700}.system-health-section-heading p{color:#607687;margin:0;font-size:.875rem}.system-health-alerts,.system-health-integrations,.system-health-check-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.system-health-integrations{grid-template-columns:repeat(2,minmax(0,1fr))}.system-health-check{overflow-wrap:anywhere;background:#fff;border:1px solid #d5e1e8;border-radius:10px;min-width:0;padding:18px}.system-health-alerts .system-health-check.warning{background:#fffcf5;border-left:4px solid #bc8c28}.system-health-alerts .system-health-check.critical{background:#fff9f9;border-left:4px solid #be4248}.system-health-check-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.system-health-check h3{color:#133b57;margin:0;font-size:.95rem;font-weight:650}.system-health-state{border-radius:30px;flex-shrink:0;align-items:center;gap:5px;max-width:100%;padding:5px 9px;font-size:.73rem;font-weight:650;line-height:1.3;display:inline-flex}.system-health-state.good{color:#24633f;background:#e8f5ec}.system-health-state.warning{color:#855b05;background:#fff0ce}.system-health-state.critical{color:#a62935;background:#fbe4e7}.system-health-state.unknown{color:#576b7c;background:#edf1f5}.system-health-state svg{flex-shrink:0}.system-health-check .system-health-summary{color:#254b65;margin:12px 0 5px;font-size:.9rem;font-weight:550}.system-health-check>p:not(.system-health-summary){color:#5c7384;margin:0;font-size:.85rem}.system-health-check-footer{color:#6b7f8b;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;font-size:.75rem;display:flex}.system-health-action{color:#146a9e;text-underline-offset:3px;align-items:center;gap:5px;min-height:28px;font-size:.82rem;font-weight:650;text-decoration:underline;display:inline-flex}.system-health-action svg{flex-shrink:0}:is(.system-health a:focus-visible,.system-health summary:focus-visible){outline-offset:4px;border-radius:3px;outline:2px solid #1879b9}.system-health-backup-card,.system-health-card{background:#fff;border:1px solid #d4e1e9;border-radius:10px;min-width:0;padding:22px}.system-health-backup-heading{border-bottom:1px solid #e2eaf0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px;padding-bottom:20px;display:flex}.system-health-eyebrow{color:#647e8e;font-size:.75rem;font-weight:600}.system-health-backup-heading h3{color:#103750;margin-top:5px;font-size:1.2rem;font-weight:650}.system-health-backup-status{color:#416178;background:#f2f7fa;border:1px solid #cddde8;border-radius:7px;padding:7px 12px;font-size:.8rem;font-weight:600}.system-health-backup-status.complete{color:#326344;background:#edf7f0;border-color:#cce2d2}.system-health-backup-status.failed{color:#9a2b36;background:#fff0f1;border-color:#eccbd0}.system-health-counts{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;display:grid}.system-health-counts>div,.system-health-records>div{min-width:0}.system-health-counts dt,.system-health-records dt{color:#617a8c;margin-bottom:7px;font-size:.79rem}.system-health-counts dd,.system-health-records dd{color:#103d59;overflow-wrap:anywhere;font-size:1.3rem;font-weight:650}.system-health-counts dd.system-health-date-value{font-size:.95rem;line-height:1.5}.system-health-fineprint{color:#6b7f8c;margin-top:20px;font-size:.8rem}.system-health-check-list{grid-template-columns:repeat(2,minmax(0,1fr))}.system-health-delivery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.system-health-card h3{color:#103b56;align-items:center;gap:8px;margin:0 0 22px;font-size:1rem;font-weight:650;display:flex}.system-health-card .system-health-counts{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:22px}.system-health-card>p{color:#67808e;margin:8px 0;font-size:.8rem}.system-health-card>p strong{color:#365a71;font-weight:550}.system-health-card>.system-health-action{margin-top:8px}.system-health-dispatch{color:#67808e;grid-column:1/-1;margin:0;font-size:.8rem}.system-health-dispatch strong{font-weight:550}.system-health-records{background:#fff;border:1px solid #d4e1e9;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:24px;display:grid}.system-health-notice{color:#44647b;background:#f3f7fa;border:1px solid #cfdce7;border-radius:9px;align-items:flex-start;gap:10px;margin:0;padding:16px 18px;font-size:.9rem;line-height:1.6;display:flex}.system-health-notice svg{flex-shrink:0;margin-top:2px}.system-health-notice.good{color:#326442;background:#eff8f1;border-color:#d4e6da}.system-health-notice.critical{color:#923342;background:#fff3f5;border-color:#edcdd2}.system-health-loading{color:#587287;background:#fff;border:1px solid #d4e1e9;border-radius:10px;align-items:center;gap:12px;padding:26px;font-size:.95rem;display:flex}.system-health-loading>svg{color:#1879b9;flex-shrink:0}.system-health-details{background:#fff;border:1px solid #d4e1e9;border-radius:10px;margin:0;padding:20px 22px}.system-health-details summary{cursor:pointer;color:#234c67;font-size:.92rem;font-weight:650;line-height:1.5}.system-health-details summary span{color:#79909e;margin-left:10px;font-size:.78rem;font-weight:400}.system-health-activity{gap:0;margin:20px 0 0;padding:0;list-style:none;display:grid}.system-health-activity li{overflow-wrap:anywhere;border-top:1px solid #e5edf1;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:13px 0;font-size:.85rem;display:grid}.system-health-activity time{color:#718692;font-size:.78rem}.system-health-activity strong{font-weight:600}.system-health-activity p{color:#5b7486;margin:5px 0 0}.system-health-limitations{color:#587184;gap:9px;margin:18px 0 0;padding-left:20px;font-size:.85rem;line-height:1.6;display:grid}.system-health-details>.system-health-fineprint{border-top:1px solid #e5edf1;padding-top:16px}.system-health button:disabled{opacity:.7}.system-health-nav-dot{color:#795002;background:#fff0ce;border-radius:20px;margin-left:auto;padding:1px 6px;font-size:.7rem}@media (max-width:1200px){.system-health-summary-grid,.system-health-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.system-health{gap:24px}.system-health-hero{flex-direction:column;gap:20px;padding:20px}.system-health-hero h2{font-size:1.3rem}.system-health-hero-side{align-items:stretch;max-width:none}.system-health-hero-side p{text-align:left}.system-health-hero-meta{flex-direction:column;gap:8px}.system-health-integrations,.system-health-check-list,.system-health-delivery-grid{grid-template-columns:minmax(0,1fr)}.system-health-summary-grid{gap:10px}.system-health-summary-grid>div{padding:15px}.system-health-summary-grid dd{font-size:1.6rem}.system-health-summary-grid dt{line-height:1.4}.system-health-records{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:18px}.system-health-backup-card,.system-health-card{padding:18px}.system-health-check{padding:16px}.system-health-backup-heading h3{font-size:1.05rem}.system-health-counts{gap:18px}.system-health-activity li{grid-template-columns:minmax(0,1fr);gap:5px}.system-health-details{padding:18px}.system-health-check-footer{align-items:flex-start}.system-health-action{min-height:36px}.system-health-summary-grid a{line-height:1.5}.system-health-state{white-space:normal}.system-health-section-heading h2{font-size:1.07rem}}@media (max-width:380px){.system-health-summary-grid{grid-template-columns:minmax(0,1fr)}.system-health-hero{padding:16px}.system-health-check-heading{gap:9px}.system-health-records,.system-health-counts{gap:16px 12px}}@media (prefers-reduced-motion:reduce){.system-health .animate-spin{animation:none}}@media print{.system-health-hero-side,.system-health-action,.system-health-details:not([open]){display:none}.system-health-section,.system-health-check{break-inside:avoid}.system-health-hero{background:#fff}}.system-health-office-links{flex-wrap:wrap;gap:20px;margin-top:12px;display:flex}.system-health-section[id]{scroll-margin-top:100px}.system-health-ai-credit{border-top:1px solid #e1eaf0;justify-items:start;gap:10px;margin-top:18px;padding-top:16px;display:grid}.system-health-ai-credit>.btn{white-space:normal;text-align:left;max-width:100%;min-height:42px}.system-health-ai-credit>p{color:#607687;max-width:56ch;margin:0;font-size:.8rem}.system-health-error-card{background:#fff;border:1px solid #d4e1e9;border-radius:10px;padding:22px}.system-health-error-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.system-health-error-summary>div{gap:8px;display:grid}.system-health-error-summary strong{color:#143c56;font-size:1.9rem;font-weight:700}.system-health-error-summary p{color:#617b8a;font-size:.8rem}.system-health-error-summary b{color:#315b73;font-weight:550}.system-health-bars{background:repeating-linear-gradient(0deg,#0000 0 29px,#edf2f5 29px 30px);border-bottom:1px solid #dae6ec;align-items:flex-end;gap:3px;height:90px;display:flex}.system-health-bars>div{flex:1;align-items:flex-end;min-width:0;height:100%;display:flex}.system-health-bars span{background:#bccfdb;border-radius:2px 2px 0 0;width:100%;display:block}.system-health-bars span.has-errors{background:#b8544f}.system-health-error-chart figcaption{color:#748996;justify-content:space-between;gap:12px;margin-top:9px;font-size:.73rem;display:flex}.system-health-error-routes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:20px 0 0;padding:0;list-style:none;display:grid}.system-health-error-routes li{color:#506f82;border-bottom:1px solid #e3ebf0;justify-content:space-between;gap:12px;padding:8px 0;font-size:.83rem;display:flex}.system-health-error-routes b{color:#8c453f;font-weight:650}@media (max-width:700px){.system-health-error-card{padding:18px}.system-health-bars{gap:2px}.system-health-error-routes{grid-template-columns:minmax(0,1fr)}.system-health-error-chart figcaption{font-size:.7rem}}.residual-average-controls{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px;display:flex}.residual-view-switch{flex-wrap:wrap;gap:7px;display:flex}.residual-measurement{width:340px;min-width:200px;max-width:100%}.residual-measurement .select-control{width:100%;max-width:100%}.residual-crop-context{margin:0 0 16px}.residual-crop-legend{flex-wrap:wrap;gap:12px 32px;margin-bottom:20px;display:flex}.residual-crop-legend>div{align-items:flex-start;gap:9px;min-width:0;display:flex}.residual-crop-legend p{margin:4px 0 0;font-size:.8rem}.residual-line-key{border-top:3px solid;flex:0 0 26px;width:26px;margin-top:9px}.residual-line-key.previous{border-top-style:dashed}.residual-average-detail{flex-direction:column;gap:4px;min-width:0;display:flex}.residual-average-detail>b{color:#123750;overflow-wrap:anywhere;font-size:1.35rem}.residual-average-detail>span{font-size:.875rem}.residual-average-detail p{margin:0}.residual-source-readings{border:1px solid #dce5ec;border-radius:9px;margin-top:10px;overflow:hidden}.residual-source-readings summary{cursor:pointer;color:#123750;padding:13px 16px;font-weight:600}.residual-source-readings summary:focus-visible{outline-offset:-3px;outline:2px solid #1879b9}.residual-source-readings .table-wrap{border-top:1px solid #dce5ec;overflow:auto}.residual-source-readings table{border-collapse:collapse;width:100%;min-width:570px;font-size:.85rem}.residual-source-readings th,.residual-source-readings td{text-align:left;vertical-align:top;white-space:normal;overflow-wrap:anywhere;padding:12px 14px}.residual-source-readings td:nth-child(3){white-space:pre-wrap;min-width:150px;max-width:360px}.residual-source-readings th{background:#f5f8fa}.residual-source-readings tbody tr+tr{border-top:1px solid #e6edf2}.residual-source-readings .btn{white-space:nowrap}.residual-excluded{color:#5a6874;max-width:240px;margin-top:4px;font-size:.76rem;line-height:1.4;display:block}@media (max-width:650px){.residual-average-controls{display:block}.residual-view-switch{margin-bottom:14px}.residual-measurement{width:100%;min-width:0}.residual-crop-legend{flex-direction:column;gap:12px}.residual-average-detail>b{font-size:1.2rem}}
