/* Shared interactive workspace. Print documents have their own stylesheets. */
:root{--muted:#626873;--line:#e0e5ea;--focus:#2563a6;background:#f5f7fa}
body{background:#f5f7fa}
button,a,input,select,textarea,summary{touch-action:manipulation}
:is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--focus);outline-offset:3px}
button:disabled{opacity:.5}
[hidden]{display:none!important}
[data-tone=green]{--tone:#146448;--tint:#edf7f1}
[data-tone=blue]{--tone:#225d96;--tint:#edf4fc}
[data-tone=amber]{--tone:#83570d;--tint:#fff6e4}
[data-tone=violet]{--tone:#6944a0;--tint:#f4effb}
[data-tone=slate]{--tone:#465463;--tint:#edf1f5}
#app-navigation button>span{background:var(--tint);color:var(--tone);width:30px;height:30px;padding:6px;border-radius:9px;flex-shrink:0}
#app-navigation button{gap:10px;padding:8px 10px;min-height:48px;color:#505a67}
#app-navigation button.active{color:var(--tone);background:var(--tint);box-shadow:inset 3px 0 var(--tone)}
#app-navigation button.active em{background:#fff;color:var(--tone)}
.workspace-search{width:100%;display:flex;align-items:center;gap:10px;border:1px solid #dce2e8;border-radius:10px;padding:12px;background:#f8fafc;color:#515e6c;font-size:13px;text-align:left;min-height:46px;margin-bottom:16px}
.workspace-search svg{width:19px;height:19px;flex-shrink:0}
.workspace{margin-top:20px;margin-bottom:16px}
.workspace-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 24px}
.workspace-shortcuts button{display:flex;align-items:start;flex-direction:column;gap:9px;text-align:left;background:#fff;border:1px solid #dfe5ed;border-radius:14px;padding:16px;min-width:0}
.workspace-shortcuts button:hover{border-color:var(--tone);background:var(--tint)}
.shortcut-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:var(--tint);color:var(--tone);flex-shrink:0}
.shortcut-icon svg{width:21px;height:21px}
.workspace-shortcuts b{font-size:14px}.workspace-shortcuts small{font-size:12px;line-height:1.5;color:#637080}
.workspace-finder{width:570px;max-height:85dvh;overflow:auto}
.workspace-finder input{width:100%;font-size:16px;min-height:48px}
.workspace-finder .close{min-width:44px;min-height:44px;top:8px;right:8px}
.workspace-finder h2{font-size:23px;margin-top:4px}
.workspace-results{display:grid;gap:6px;margin-top:14px}
.workspace-result{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px;text-align:left;border:1px solid transparent;border-radius:10px}
.workspace-result:hover{background:var(--tint);border-color:#dce2e9}
.workspace-result>span:nth-child(2){flex:1}.workspace-result b{font-size:14px;display:block;color:#263444}
.workspace-result small{display:block;font-size:12px;line-height:1.5;color:#5e6a78;margin-top:3px}
.workspace-result-count{font-size:12px;color:#5e6a78}
.phone-access{border-top:1px solid #e0e5ea;padding-top:16px;margin-top:20px}
.phone-access summary{font-size:13px;padding:6px 0}.phone-access p{font-size:13px;line-height:1.65}
.catalog-categories{display:flex;gap:8px;overflow:auto;margin:0 0 16px;padding:3px 2px 6px;scrollbar-width:thin}
.catalog-categories button{flex:0 0 auto;border:1px solid #dce3e9;background:#fff;color:#526170;padding:10px 14px;border-radius:10px;font-size:13px;min-height:44px}
.catalog-categories button[aria-pressed=true]{background:#eaf5ef;border-color:#a7cbb7;color:#175c40;font-weight:650}
.catalog-categories button span{margin-left:8px;font-size:12px;font-variant-numeric:tabular-nums}
.catalog-tools{display:grid;grid-template-columns:minmax(150px,1fr) minmax(160px,1fr) minmax(200px,2fr);align-items:end;gap:12px}
.catalog-tools label:has([name=catalog_query]){grid-column:3;grid-row:1}
.catalog-tools label:has([name=catalog_branch]){grid-column:1;grid-row:1}
.catalog-tools label:has([name=catalog_location]){grid-column:2;grid-row:1}
.catalog-tools input,.catalog-tools select{min-width:0;width:100%;min-height:46px;background:#fff}
.catalog-tools label{min-width:0;font-size:12px;margin:0;display:grid;gap:7px}
.catalog-tools [data-catalog-refresh]{min-height:44px}
.catalog-view-tools{flex-wrap:wrap;align-items:center}.catalog-view-tools [data-layout]{min-height:44px;font-size:13px}
.catalog-count{font-size:13px;color:#4d5d6d;font-weight:600}.catalog-help{color:#596878;font-size:12px;line-height:1.6}
.catalog-cards{grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:16px}
.catalog-product{border-color:#dce4ea;border-radius:14px;padding:18px;box-shadow:0 2px 5px #233b4c04}
.catalog-product h3{font-size:22px;margin:15px 0;line-height:1.3}
.catalog-product .product-topline>span:first-child{font-size:11px;color:#647182}
.product-stock.available{color:#146448;background:#eaf6ee;font-size:11px}
.catalog-product .product-highlights{gap:12px;margin:16px 0}
.catalog-product .product-highlights dt{font-size:11px;color:#667282;margin-bottom:5px}
.catalog-product .product-highlights dd{font-size:15px;color:#29394a}
.catalog-product .product-imei dd{font-size:14px;user-select:all;overflow-wrap:anywhere}
.catalog-product .product-location{padding-top:10px;border-top:1px solid #e8edf2}
.catalog-product .product-location dd{font-size:13px;color:#4a5d70;line-height:1.5}
.catalog-product .product-price strong{font-size:24px}.catalog-product .product-price span{font-size:12px;color:#647182}
.catalog-product .card-actions{display:grid;grid-template-columns:1.25fr 1fr;gap:8px}
.catalog-product [data-sell],.catalog-action [data-sell],.inventory-actions .sell-row{background:#17694d;color:#fff;border-color:#17694d}
.catalog-product [data-sell]:hover,.catalog-action [data-sell]:hover{background:#10543d}
.trade-in-button{background:#f2ecfa;color:#684294;border:1px solid #ddd0ef}
.trade-in-button:hover{background:#e7dcf5}
.catalog-product .card-actions button{min-height:46px;font-size:12px;padding:10px 8px}
.catalog-product summary{font-size:12px;min-height:44px;display:flex;align-items:center;color:#556477}
.catalog-product summary::before{content:'＋';margin-right:7px}.catalog-product details[open] summary::before{content:'−'}
.catalog-sheet td,.catalog-sheet th button{font-size:12px}.catalog-sheet tbody tr:hover td{background:#f1f7fb}
.catalog-sheet .catalog-action button{min-height:40px;margin:3px}
.business-tabs button{min-height:44px}.business-tabs button[aria-pressed=true]{background:#263e55;border-color:#263e55}
.badge{font-size:11px}.badge.completada{background:#e8f5ed;color:#216544}.badge.en-proceso{background:#eaf2ff;color:#2e5e99}.badge.atrasada{background:#fff0e5;color:#94511f}.badge.pendiente{background:#fff6df;color:#805e17}
.stat:nth-child(2) .stat-icon{background:#e8f5ed;color:#216544}.stat:nth-child(3) .stat-icon{background:#eaf2ff;color:#2e5e99}.stat:nth-child(4) .stat-icon{background:#fff0e5;color:#94511f}
.service-specs dt,.service-person span{color:#606d7d;font-size:12px}.service-state{font-size:12px;white-space:normal}.service-state.pending{color:#805718}.service-state.working{color:#365b98}.service-state.approval{color:#6b438f}
.service-card-top small{font-size:12px;color:#616e7c}.report-note{color:#5f6d7a}
.inventory-card,.service-card,.customer-card{border-color:#dce4eb}.business-paging{gap:10px}.business-paging button{min-height:44px;font-size:12px}.business-paging span{font-size:12px}
@media(min-width:761px) and (max-width:1150px){.catalog-tools{grid-template-columns:1fr 1fr}.catalog-tools label:has([name=catalog_query]){grid-column:1/-1;grid-row:2}.catalog-tools label:has([name=catalog_branch]){grid-row:1;grid-column:1}.catalog-tools [data-catalog-refresh]{grid-column:1/-1}.workspace-shortcuts{grid-template-columns:1fr 1fr}}
@media(max-width:760px){
 .shell .content{padding:18px 14px calc(100px + env(safe-area-inset-bottom))}.page-title{margin-bottom:18px;gap:12px}.page-title h1{font-size:27px}.page-title p{font-size:13px}
 aside>.workspace-search{display:none}aside.menu-open>.workspace-search{display:flex;margin-top:16px;margin-bottom:4px}
 aside.menu-open #app-navigation{display:grid;grid-template-columns:1fr 1fr;gap:8px;overflow:visible}
 aside.menu-open #app-navigation button{margin:0;min-height:62px;white-space:normal;font-size:13px;border:1px solid #e5e9ef;background:#fff;color:#35495e;position:relative}
 aside.menu-open #app-navigation button.active{background:var(--tint);color:var(--tone);border-color:var(--tone);box-shadow:none}
 aside.menu-open #app-navigation button>span{display:flex;width:30px;height:30px}
 aside.menu-open #app-navigation em{display:none}
 .workspace-shortcuts{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.workspace-shortcuts button{padding:13px;display:grid;grid-template-columns:30px 1fr;gap:8px;align-items:center}.workspace-shortcuts .shortcut-icon{width:30px;height:30px}.workspace-shortcuts b{font-size:13px}.workspace-shortcuts small{display:none}
 .workspace-finder{max-width:calc(100% - 20px);padding:22px 16px;max-height:calc(100dvh - 32px);border-radius:16px}.workspace-finder h2{font-size:22px}.workspace-result{padding:10px 5px}.workspace-result small{font-size:12px}
 .stats{gap:10px;margin-bottom:20px}.stat{padding:14px}.stat strong{font-size:29px;margin:9px 0}.stat small{font-size:11px;line-height:1.4}.stat>div{font-size:12px;color:#596878}.stat-icon{padding:4px 6px}
 .catalog-tools{padding:12px;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.catalog-tools label:has([name=catalog_query]){grid-column:1/-1;grid-row:3}.catalog-tools label:has([name=catalog_branch]){grid-column:1/-1;grid-row:1}.catalog-tools label:has([name=catalog_location]){grid-column:1/-1;grid-row:2}.catalog-tools label:has([name=catalog_available]){grid-column:2;grid-row:2}.catalog-tools [data-catalog-refresh]{grid-column:1/-1;justify-self:end;padding:4px 10px;min-height:36px}.catalog-tools label{font-size:12px}.catalog-tools input,.catalog-tools select{font-size:16px;padding:11px 8px}
 .catalog-categories{margin-bottom:10px;gap:7px}.catalog-categories button{font-size:12px;padding:9px 12px}.catalog-view-tools{gap:8px}.catalog-view-tools label{flex-basis:100%;order:4}.catalog-view-tools .catalog-count{margin-left:auto}.catalog-view-tools [data-catalog-clear]{min-height:44px;font-size:12px}.catalog-help{font-size:12px;margin-top:4px}
 .catalog-cards{grid-template-columns:1fr;gap:13px}.catalog-product{padding:16px}.catalog-product h3{font-size:22px}.catalog-product .product-highlights{gap:12px;margin:14px 0}.catalog-product .product-highlights dt{font-size:12px}.catalog-product .card-actions button{font-size:13px}
 #sales-host>.business-tabs{gap:8px;margin-bottom:16px}#sales-host>.business-tabs button{min-height:46px;font-size:13px;border:1px solid #e0e5eb;background:white}#sales-host>.business-tabs button[aria-pressed=true]{background:#263e55;border-color:#263e55;color:white}
 .service-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.service-totals button{padding:14px}.service-totals span{font-size:12px;min-height:auto;color:#5e6b7a}.service-totals strong{font-size:27px}.service-branches button{font-size:12px;min-height:46px}.service-intro p{font-size:12px}.service-tools{grid-template-columns:1fr}.service-tools button{min-height:44px}
 .mobile-bottom-nav button{color:#5f6c7b;min-height:54px;font-size:11px}.mobile-bottom-nav button>span{font-size:11px}.mobile-bottom-nav button[aria-current=page]{color:#185d48;background:#edf6f1}
 .toolbar input,.toolbar select,.business-tools input,.business-tools select,dialog input,dialog select,dialog textarea{min-height:46px;font-size:16px}.toolbar{gap:10px}.toolbar>input{flex-basis:100%}.toolbar>select{flex:1;min-width:0}
 .inventory-tools input,.inventory-tools select{font-size:16px;min-height:46px;min-width:0}.inventory-tools label{min-width:0}.inventory-sections button{min-height:44px}
 dialog .close{min-width:44px;min-height:44px}dialog .primary{min-height:46px}.task-table .text-button{min-height:44px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.catalog-view-tools label:has([name=catalog_available]){flex-basis:auto;order:0}.catalog-view-tools [name=catalog_available]{max-width:240px;min-height:44px}.catalog-view-tools [data-catalog-refresh]{min-height:44px}

/* Touch-friendly product entry and a stable workspace on iPhone / iPad. */
html,body{max-width:100%;overflow-x:clip}
.shell main,.shell .content,#inventory-host,#sales-host{min-width:0;max-width:100%}
body:has(dialog[open]){overflow:hidden}
.inventory-product-dialog{width:min(720px,calc(100vw - 32px));max-width:calc(100vw - 32px);padding:0;overflow:hidden}
.inventory-product-dialog[open]{display:flex;flex-direction:column}
.inventory-product-form{display:flex;flex-direction:column;min-height:0;margin:0;max-height:calc(100dvh - 48px)}
.product-form-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 24px 18px;border-bottom:1px solid #e0e5ea;flex-shrink:0;background:#fff}
.product-form-header h2{font-size:24px;margin:6px 0 0}.product-form-header .close{position:static;flex-shrink:0;min-width:44px;min-height:44px;border-radius:50%;background:#f1f3f5}
.product-form-fields{padding:0 24px 22px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scroll-padding-block:20px}
.product-form-fields>label,.product-form-fields>.form-row,.product-characteristics{margin-bottom:16px}
.product-characteristics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-characteristics>label{min-width:0}
.product-form-fields :is(input,select,textarea){width:100%;min-width:0;min-height:48px;font-size:16px;scroll-margin:20px}
.product-form-fields p{font-size:13px}.product-more-fields summary{padding:10px 0;min-height:44px;cursor:pointer}.product-more-fields[open] summary{margin-bottom:14px}
.product-form-footer{display:flex;gap:12px;justify-content:flex-end;padding:16px 24px;border-top:1px solid #e0e5ea;background:#fff;flex-shrink:0}.product-form-footer button{min-height:48px}
:is(.inventory-sheet,.catalog-sheet,.table-wrap,.inventory-sections,.catalog-categories,.business-tabs){max-width:100%;overscroll-behavior-x:contain}
@media(max-width:1024px){
 button,summary{min-height:44px}.inventory-tools>label{min-width:0}.inventory-tools select{max-width:100%;width:100%}
 .inventory-create-actions{display:flex;gap:10px;flex-wrap:wrap}.inventory-create-actions button{flex:1;white-space:nowrap;min-height:48px}
 :is(input,select,textarea){font-size:16px}.inventory-product-form .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media(max-width:600px){
 .inventory-product-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
 .inventory-product-form{height:100%;max-height:100%;padding:0}
 .product-form-header{padding:calc(12px + env(safe-area-inset-top)) 16px 12px}.product-form-header h2{font-size:22px}.product-form-header .eyebrow{font-size:9px;letter-spacing:.7px}
 .product-form-fields{padding:0 16px 20px;flex:1}.product-form-fields .form-row,.product-characteristics{grid-template-columns:minmax(0,1fr)!important;gap:14px}
 .product-form-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.product-form-footer .primary{flex:1}
 .inventory-tools label:has(#inventory-search-field){flex-basis:100%}.inventory-create-actions{order:-1;position:sticky;top:0;z-index:5;background:#f5f7fa;padding-block:6px}
}
/* IMEI: a compact, recognizable entry point above the filters. */
.inventory-scan-toolbar,.service-scan-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px}
.inventory-scan-toolbar .inventory-access{margin:0;max-width:calc(100% - 116px);line-height:1.5}
.service-scan-toolbar .service-intro{margin:0;flex:1;min-width:0;display:block}.service-scan-toolbar .service-intro p{margin-top:0}.service-scan-toolbar .service-intro>div{display:flex;flex-wrap:wrap;gap:12px}
.scan-shortcut{flex:0 0 92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:86px;padding:10px;border-radius:18px;border:1px solid #b8d8ce;background:#e9f5ef;color:#185c46;font-size:12px;font-weight:650;box-shadow:0 3px 8px #244c3710;cursor:pointer;transition:transform .18s,background-color .18s,box-shadow .18s}
.scan-shortcut small{font-size:10px;color:inherit;font-weight:500}.scan-shortcut-icon{display:block;width:32px;height:32px}.scan-shortcut svg{width:100%;height:100%}.scan-icon-line{color:#40a786}
@media(hover:hover){.scan-shortcut:hover{background:#dcefe5;box-shadow:0 5px 14px #244c3718;transform:translateY(-2px)}.scan-shortcut:hover .scan-icon-line{transform:translateY(4px)}}
.scan-shortcut:active{transform:scale(.96)}.scan-icon-line{transition:transform .2s}
.imei-scanner-host{margin:16px 0}
.imei-capture-card{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:12px;padding:18px;background:#f0f7f4;border:1px solid #d5e6df;border-radius:18px}
.imei-scan-illustration{width:56px;height:56px;padding:9px;box-sizing:border-box;background:#fff;border-radius:15px;color:#23654e}.imei-scan-illustration svg{display:block;width:100%;height:100%}
.imei-capture-copy strong{font-size:15px;color:#234f3e}.imei-capture-copy p{font-size:12px;color:#526c60;margin:5px 0 0;line-height:1.5}
.imei-camera{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;border:0;border-radius:12px;background:#1c624b;color:#fff;font-size:14px;font-weight:600;padding:12px;cursor:pointer}.imei-camera:hover{background:#164e3c}.imei-camera:active{transform:scale(.99)}.imei-camera svg{width:20px;height:20px;flex-shrink:0}
.imei-scan-hint{grid-column:1/-1;text-align:center;font-size:11px;color:#60766c;line-height:1.5}
.imei-scan-progress:not(:empty){font-size:13px;line-height:1.6;color:#325c4b;background:#eff5f2;border-radius:10px;padding:12px;margin-top:12px}
.imei-results{display:grid;gap:12px;margin-top:12px}.imei-results:empty,.imei-lookup-results:empty{display:none}.imei-results label{display:grid;gap:6px;font-size:12px}.imei-results select{min-height:48px;font-size:16px;min-width:0;width:100%}
.imei-stop{min-height:44px}.is-reading .imei-scan-illustration .scan-icon-line{animation:imei-sweep 1.6s ease-in-out infinite}
@keyframes imei-sweep{0%,100%{transform:translateY(-8px)}50%{transform:translateY(8px)}}
.imei-lookup-dialog{width:min(470px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:0;border:1px solid #e1e7e3;border-radius:24px;overflow:hidden;box-sizing:border-box;background:#fff}
.imei-lookup-dialog[open]{display:flex;flex-direction:column}
.imei-lookup-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 24px 16px;border-bottom:1px solid #edf0ee;flex-shrink:0}
.imei-eyebrow{font-size:9px;letter-spacing:1.5px;color:#637a70;font-weight:650}.imei-lookup-header h2{font-size:24px;letter-spacing:-.6px;margin:5px 0 0;color:#213b30}
.imei-lookup-header .close{position:static;min-width:44px;min-height:44px;border-radius:50%;background:#f1f4f2;color:#4c6257;font-size:24px}
.imei-lookup-body{overflow-y:auto;overscroll-behavior:contain;padding:0 24px 22px;min-height:0}.imei-lookup-intro{font-size:13px;color:#68776e;line-height:1.6;margin:16px 0}
.imei-manual-divider{display:flex;align-items:center;gap:12px;margin:22px 0 18px;color:#819087;font-size:11px}.imei-manual-divider::before,.imei-manual-divider::after{content:'';flex:1;height:1px;background:#e4eae6}
.imei-lookup-dialog form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.imei-lookup-dialog label{display:grid;gap:7px;font-size:12px;margin:0;color:#4c6055;min-width:0}
.imei-lookup-dialog input{font-size:16px;min-height:48px;width:100%;min-width:0;box-sizing:border-box;font-variant-numeric:tabular-nums;background:#f9faf9;padding:12px 10px}.imei-search-button{display:flex;align-items:center;gap:10px;border:1px solid #cfdcd5;border-radius:10px;background:#fff;min-height:48px;padding:10px 13px;font-size:12px;font-weight:600;color:#285c46;white-space:nowrap}.imei-search-button:hover{background:#eff5f1}
.imei-privacy-note{font-size:11px;line-height:1.6;color:#7b867f;margin:18px 0 0}.imei-lookup-results{margin-top:18px;font-size:13px;line-height:1.6}.imei-lookup-results h3{font-size:13px;overflow-wrap:anywhere}
.imei-match{padding:14px;margin:10px 0;border:1px solid #dce4e0;border-radius:14px;background:#f8faf9;overflow-wrap:anywhere}.imei-match strong{font-size:15px;color:#274838}.imei-match p{margin:7px 0;color:#64736b}.imei-match b{display:block;font-size:12px;color:#24604d}.imei-not-found{padding:14px;border:1px solid #e5dfcf;border-radius:12px;background:#faf8f1;color:#786630}
@media(max-width:600px){.inventory-scan-toolbar,.service-scan-toolbar{gap:12px;margin-bottom:14px}.scan-shortcut{flex-basis:84px;min-height:80px;padding:9px;border-radius:16px}.scan-shortcut-icon{width:30px;height:30px}.inventory-scan-toolbar .inventory-access{max-width:calc(100% - 96px);font-size:11px}.imei-lookup-header{padding:18px 18px 14px}.imei-lookup-header h2{font-size:22px}.imei-lookup-body{padding:0 18px max(18px,env(safe-area-inset-bottom))}.imei-capture-card{padding:16px;gap:12px}.imei-lookup-dialog form{grid-template-columns:1fr}.imei-search-button{justify-content:center}.imei-lookup-dialog{max-height:calc(100dvh - 20px);border-radius:22px}}
@media(prefers-reduced-motion:reduce){.scan-shortcut,.scan-icon-line,.imei-camera{transition:none}.is-reading .imei-scan-illustration .scan-icon-line{animation:none}.scan-shortcut:hover,.scan-shortcut:active,.imei-camera:active{transform:none}}

/* Same scanner shortcut in the seller's search and each received device. */
.catalog-search-with-scan{grid-column:3;grid-row:1;display:flex;align-items:end;gap:12px;min-width:0}
.catalog-search-with-scan>label{flex:1}.catalog-search-with-scan .scan-shortcut{min-height:72px;min-width:76px;flex-shrink:0}
.trade-device-scan-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:#f0f7f4;border-radius:16px;margin-bottom:16px}
.trade-device-scan-toolbar small{display:block;margin-top:6px;line-height:1.5;color:#5b6c64}
.sale-correction-dialog{width:min(680px,calc(100vw - 24px));max-height:90dvh;overflow-y:auto}
@media(min-width:761px) and (max-width:1150px){.catalog-search-with-scan{grid-column:1/-1;grid-row:2}}
@media(max-width:760px){.catalog-search-with-scan{grid-column:1/-1;grid-row:3}.catalog-search-with-scan input{font-size:16px}.trade-device-scan-toolbar b{font-size:14px}.trade-device-scan-toolbar .scan-shortcut{min-width:76px}}
