:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#26313b;background:#f7f8fa;font-synthesis:none;--orange:#f26b21;--orange-dark:#d95112;--orange-soft:#fff2e9;--ink:#202a34;--muted:#75818e;--line:#e7ebef;--card:#fff;--shadow:0 8px 30px rgba(30,45,65,.045)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.46;cursor:not-allowed}svg{display:block}a{color:inherit;text-decoration:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #f9b78c;outline-offset:2px}.app-shell{min-height:100vh}.desktop-rail{display:none}.workspace{min-width:0}.topbar{position:sticky;top:0;z-index:15;height:67px;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 17px}.top-brand,.top-actions,.rail-brand{display:flex;align-items:center;gap:10px}.brand-icon{background:var(--orange);color:#fff;display:grid;place-items:center;font-weight:1000;letter-spacing:-4px;font-size:26px;width:39px;height:39px;border-radius:12px;padding-right:4px}.brand-icon span,.brand-dot{color:#fff}.top-brand-name,.rail-brand>div:last-child{display:flex;flex-direction:column;line-height:1.02}.top-brand-name b{font-size:16px;letter-spacing:1.9px;font-weight:900}.top-brand-name small{font-size:8px;letter-spacing:1.25px;color:var(--muted);margin-top:4px;font-weight:800}.top-actions{gap:12px}.network-badge{background:#f3f5f7;border:1px solid #e8edf0;border-radius:99px;padding:7px 9px;color:#60737a;font-size:11px;font-weight:700}.icon-button{border:0;background:transparent;display:grid;place-items:center;width:35px;height:35px;color:#687582}.icon-button svg{height:21px;width:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#screen{margin:0 auto;padding:21px 16px 128px;max-width:760px;min-height:calc(100dvh - 67px)}.eyebrow{text-transform:uppercase;color:#9a7b65;letter-spacing:1.45px;font-weight:850;font-size:10px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.page-head h1{font-size:25px;line-height:1.18;letter-spacing:-.85px;margin:4px 0 5px;font-weight:850}.page-head p{font-size:13px;color:var(--muted);margin:0;line-height:1.4}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:24px 0 12px}.section-title h2{font-size:15px;font-weight:820;margin:0;letter-spacing:-.24px}.section-title span{font-size:12px;color:var(--muted)}.card{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px}.padded{padding:16px}.hero{background:linear-gradient(125deg,#ec631c,#ff8b39);border-radius:19px;padding:23px 22px 22px;color:#fff;position:relative;overflow:hidden;box-shadow:0 12px 28px rgba(233,103,34,.20)}.hero:after{content:"";position:absolute;width:230px;height:230px;border:38px solid rgba(255,255,255,.085);border-radius:50%;right:-140px;top:-130px;pointer-events:none}.hero-kicker{font-size:11px;letter-spacing:1.1px;font-weight:850;opacity:.85}.hero h2{font-size:24px;line-height:1.15;margin:10px 0;letter-spacing:-.85px}.hero p{font-size:13px;line-height:1.5;margin:0 0 18px;max-width:290px;color:#fff9}.hero button{background:#fff;color:#d65313;border:0;border-radius:11px;font-weight:850;padding:12px 16px;position:relative}.hero button+button{color:#fff;background:#ffffff24;margin-left:7px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:13px}.stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px 11px;min-width:0}.stat b{display:block;font-size:23px;letter-spacing:-.8px}.stat small{font-size:10px;font-weight:750;color:var(--muted);line-height:1.2;display:block;margin-top:4px}.split-line{height:1px;background:var(--line);margin:14px 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;min-height:43px;border-radius:11px;padding:10px 15px;font-size:13px;font-weight:800;white-space:nowrap;transition:background .1s}.btn.primary{background:var(--orange);color:white;box-shadow:0 5px 14px #f26b212e}.btn.primary:active{background:var(--orange-dark)}.btn.secondary{background:white;border-color:#e1e5e9;color:#36414b}.btn.light{color:var(--orange-dark);background:var(--orange-soft)}.btn.danger{color:#bd3b31;background:#fff1ef}.btn.ghost{background:transparent;color:#4f5964;border:0}.btn.wide{width:100%}.btn.small{min-height:33px;padding:6px 11px;font-size:11px;border-radius:9px}.btn:focus-visible{outline:3px solid #ffbd91}.quick-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-tile{text-align:left;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;flex-direction:column;gap:6px;min-height:128px}.tile-ico{font-size:22px;color:var(--orange)}.quick-tile strong{font-size:13px}.quick-tile small{font-size:11px;color:var(--muted);line-height:1.35}.last-order{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px}.last-order strong{display:block;font-size:13px}.last-order p{margin:5px 0 0;font-size:11px;color:var(--muted)}.arrow{color:var(--orange);font-size:22px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:30;display:flex;justify-content:space-around;height:calc(69px + env(safe-area-inset-bottom));padding:6px 5px calc(7px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid var(--line);box-shadow:0 -7px 22px #182a3210;backdrop-filter:blur(16px)}.nav-btn{border:0;background:none;min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#89939d;font-size:10px;font-weight:760;position:relative;padding:4px 0}.nav-btn.active{color:var(--orange)}.nav-btn.active:before{content:"";height:3px;width:25px;position:absolute;top:-6px;border-radius:0 0 4px 4px;background:var(--orange)}.nav-btn svg,.side-link svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.nav-btn.active svg{stroke-width:2.5}.context-strip{padding:13px 14px;background:#fff;border:1px solid var(--line);border-radius:13px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.context-strip strong{font-size:12px;display:block;max-width:220px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.context-strip small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.context-strip button{border:0;background:#fff1e8;color:#da5a1c;font-weight:850;font-size:11px;border-radius:8px;padding:8px 11px}.search-block{background:#fff;border-radius:17px;border:1px solid #e5e9ec;padding:15px;box-shadow:var(--shadow)}.field-label{font-size:11px;color:#68737c;font-weight:820;display:block;margin:0 0 8px}.search-line{display:flex;gap:8px;align-items:stretch}.search-line input{min-width:0;flex:1;border:1.5px solid #e5e9ec;border-radius:11px;background:#f9fafb;padding:13px 12px;font-size:15px;font-weight:650;height:51px;color:var(--ink)}.search-line input:focus{border-color:#ee7b38;background:#fff;outline:none;box-shadow:0 0 0 3px #f26b211c}.scan-btn{background:var(--orange);border:0;color:#fff;border-radius:11px;width:52px;flex:0 0 52px;display:grid;place-items:center}.scan-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.helper{color:#97a1a9;font-size:11px;line-height:1.4;margin-top:9px}.result-head{font-size:11px;font-weight:800;color:#788591;letter-spacing:.3px;margin:14px 0 8px}.product-result{width:100%;display:flex;align-items:flex-start;justify-content:space-between;text-align:left;gap:10px;padding:13px 12px;margin:0 0 7px;border:1px solid var(--line);border-radius:11px;background:#fff}.product-result strong{font-size:12px;line-height:1.35;display:block}.product-result small{font-size:10px;display:block;margin-top:5px;color:var(--muted)}.product-result .arrow{font-size:18px}.selected-product{margin-top:15px;border:1px solid #f6d6c2;border-radius:16px;overflow:hidden;background:#fff}.selected-top{padding:16px 16px 12px;background:linear-gradient(100deg,#fff8f2,#fff)}.selected-top .tag{margin-bottom:7px}.selected-top h2{font-size:18px;letter-spacing:-.35px;margin:5px 0 8px;line-height:1.3}.codes{display:flex;flex-wrap:wrap;gap:7px 13px;font-size:11px;color:#687680}.codes b{color:#485662;font-weight:800}.selected-body{padding:14px 16px 16px}.qty-line{display:flex;align-items:center;gap:10px}.stepper{display:flex;height:47px;border:1px solid #e1e6eb;border-radius:11px;overflow:hidden;background:#fff}.stepper button{border:0;background:#f8f9fa;width:43px;font-size:23px;color:#657079}.stepper input{width:65px;text-align:center;border:0;border-left:1px solid #e7ebef;border-right:1px solid #e7ebef;font-weight:850;font-size:17px;color:#27333f;appearance:textfield;border-radius:0}.stepper input::-webkit-inner-spin-button{appearance:none}.qty-line .btn{flex:1;height:47px;white-space:normal}.tag{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;font-size:9px;letter-spacing:.55px;font-weight:900;border-radius:7px;text-transform:uppercase}.tag.ok{background:#ebf7f0;color:#23805a}.tag.prov{background:#fff3dd;color:#9b6a22}.tag.gray{color:#687583;background:#eef2f6}.tag.orange{color:#cb5415;background:#fff0e6}.muted{color:var(--muted)}.note{font-size:11px;line-height:1.5;color:var(--muted)}.info-banner{padding:12px 13px;background:#fff8eb;border:1px solid #fae8cc;border-radius:11px;color:#94601a;font-size:11px;line-height:1.5;margin-top:12px}.inline-fields,.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-field{display:flex;flex-direction:column;gap:6px;min-width:0}.form-field label{font-size:11px;color:#66727e;font-weight:780}.form-field input,.form-field textarea,.form-field select,.filter-input{background:#fff;border:1px solid #dfe5e9;border-radius:10px;min-height:43px;padding:10px 11px;width:100%;font-size:13px;color:#293640}.form-field textarea{min-height:74px;resize:vertical;line-height:1.45}.form-field input:focus,.form-field textarea:focus,.filter-input:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px #f26b2118}.form-grid{display:grid;gap:13px}.form-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:16px}.form-actions .btn{flex:1}.empty-state{text-align:center;padding:29px 18px;border:1px dashed #dce1e5;background:white;border-radius:15px}.empty-ico{display:grid;place-items:center;width:50px;height:50px;background:#fff2e8;border-radius:14px;color:var(--orange);margin:0 auto 12px;font-size:24px}.empty-state h3{font-size:15px;margin:0 0 6px}.empty-state p{font-size:12px;color:var(--muted);line-height:1.5;margin:0 0 14px}.list-stack{display:grid;gap:9px}.entity-card{padding:14px 15px;display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.entity-card h3{font-size:13px;margin:3px 0 6px;line-height:1.35}.entity-card p{color:var(--muted);font-size:11px;line-height:1.45;margin:4px 0}.entity-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:11px}.entity-card .right{flex:0 0 auto}.icon-text{border:0;background:none;color:var(--orange);font-weight:850;font-size:11px;padding:8px 3px}.order-line{padding:14px 14px 12px;border:1px solid var(--line);background:#fff;border-radius:14px;margin-bottom:9px}.order-line-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.order-line h3{font-size:13px;line-height:1.4;margin:5px 0}.order-line .code{font-size:10px;color:#838d97;font-weight:760}.order-line-footer{display:flex;align-items:center;justify-content:space-between;margin-top:13px;gap:9px}.mini-stepper{display:flex;border:1px solid #e5e9ed;border-radius:9px;overflow:hidden;height:36px}.mini-stepper button{border:0;background:#f8fafb;color:#566675;font-size:18px;width:37px}.mini-stepper input{width:53px;border:0;text-align:center;font-size:13px;font-weight:850;appearance:textfield}.mini-stepper input::-webkit-inner-spin-button{appearance:none}.summary-bar{display:flex;gap:10px;align-items:center;justify-content:space-between;background:#29313b;color:#fff;padding:14px 16px;border-radius:14px;margin:16px 0}.summary-bar strong{font-size:18px;display:block}.summary-bar small{font-size:10px;color:#b5bec7}.summary-bar .summary-right{text-align:right}.toolbar{display:flex;flex-wrap:wrap;gap:8px}.toolbar .btn{flex:1}.order-card{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:15px}.order-card h3{font-size:14px;margin:6px 0}.order-card p{font-size:11px;color:var(--muted);margin:0}.order-card .right{text-align:right}.order-card .right strong{font-size:13px}.order-card .right small{display:block;font-size:10px;margin-top:6px;color:var(--muted)}.segment{display:flex;gap:5px;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}.segment button{flex:0 0 auto;border:1px solid #e6eaee;background:white;color:#71808c;border-radius:9px;padding:8px 11px;font-size:11px;font-weight:780}.segment button.active{background:var(--orange-soft);border-color:#ffd6bd;color:#d95717}.filter-row{display:flex;gap:8px;margin-bottom:12px}.filter-row input{flex:1;min-width:0}.filter-row select{width:125px;flex:0 0 125px}.option-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px}.option-card h3{font-size:13px;margin:0 0 4px}.option-card p{font-size:11px;line-height:1.4;color:var(--muted);margin:0}.option-card button{flex-shrink:0}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.metric{padding:15px}.metric small{font-size:11px;color:var(--muted);display:block}.metric strong{font-size:22px;display:block;margin-top:6px}.modal-backdrop{position:fixed;z-index:90;inset:0;background:rgba(17,25,35,.44);display:flex;align-items:flex-end;justify-content:center;padding:0}.modal-panel{background:#fff;border-radius:21px 21px 0 0;width:100%;max-width:580px;max-height:92dvh;overflow:auto;box-shadow:0 -12px 36px #1420262d;padding:22px 18px calc(24px + env(safe-area-inset-bottom))}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.modal-head h2{font-size:20px;letter-spacing:-.5px;margin:0}.modal-head p{font-size:12px;color:var(--muted);margin:6px 0 0}.modal-close{background:#f3f5f7;border:0;width:32px;height:32px;border-radius:9px;font-size:21px;color:#687481}.toast-root{position:fixed;bottom:calc(85px + env(safe-area-inset-bottom));left:15px;right:15px;display:flex;justify-content:center;pointer-events:none;z-index:120}.toast{max-width:420px;width:max-content;min-width:160px;background:#27323c;color:white;padding:12px 17px;border-radius:11px;box-shadow:0 9px 25px #1116;font-weight:700;font-size:12px;animation:fadein .18s}.toast.error{background:#a93e32}@keyframes fadein{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.scanner-frame{position:relative;background:#121a20;border-radius:14px;overflow:hidden;aspect-ratio:4/3}.scanner-frame video{width:100%;height:100%;object-fit:cover}.scanner-frame:after{content:"";position:absolute;inset:23% 9%;border:2px solid #ff873a;border-radius:13px;box-shadow:0 0 0 500px #0005;pointer-events:none}.scanner-hint{font-size:12px;line-height:1.5;color:var(--muted)}.scanner-error{background:#fff3ed;border-radius:12px;border:1px solid #f4dbc8;padding:13px;font-size:12px;line-height:1.6;color:#905022}.toggle-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:12px;border-bottom:1px solid var(--line)}.toggle-row strong{font-size:12px}.toggle-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.toggle-row input{accent-color:var(--orange);width:20px;height:20px}.sticky-add{position:sticky;bottom:81px;z-index:5;background:#f7f8faf2;padding:10px 0}.touch-actions{display:flex;gap:8px;flex-wrap:wrap}.touch-actions button{flex:1}.disclaimer{padding:12px 14px;border-radius:10px;background:#f4f6f8;color:#70808d;font-size:11px;line-height:1.55}.desktop-only{display:none}.centered{text-align:center}.gap-12{margin-top:12px}.gap-16{margin-top:16px}.gap-20{margin-top:20px}.flex-grow{flex:1}.nowrap{white-space:nowrap}.overflow-wrap{overflow-wrap:anywhere}.subtle-link{font-size:11px;color:var(--orange-dark);font-weight:850;border:0;background:none;padding:5px}.progress-tag{font-size:10px;color:#8c98a1;font-weight:750}.list-foot{margin-top:9px;font-size:11px;color:#82909a}body.modal-open{overflow:hidden}@media(max-width:350px){.topbar{padding:0 12px}#screen{padding-left:11px;padding-right:11px}.network-badge{font-size:9px}.selected-body,.selected-top{padding-left:12px;padding-right:12px}.qty-line{gap:6px}.stepper button{width:36px}.stepper input{width:53px}.btn{font-size:12px;padding:10px}.hero{padding:19px}.top-brand-name b{font-size:14px}}@media(min-width:700px){#screen{padding:28px 27px 80px}.page-head h1{font-size:30px}.hero h2{font-size:30px}.modal-backdrop{align-items:center;padding:20px}.modal-panel{border-radius:20px;max-height:90dvh;padding:25px}}@media(min-width:960px){.app-shell{display:grid;grid-template-columns:248px 1fr}.desktop-rail{display:flex;flex-direction:column;height:100vh;position:sticky;top:0;background:#fff;border-right:1px solid var(--line);padding:24px 17px}.rail-brand{gap:12px;padding:0 6px 29px}.brand-logo{background:var(--orange);color:white;border-radius:12px;width:43px;height:43px;display:grid;place-items:center;font-size:29px;font-weight:950;letter-spacing:-4px;padding-right:3px}.rail-brand b{font-size:19px;letter-spacing:2px}.rail-brand small{font-size:9px;letter-spacing:1.2px;color:#8d99a4;margin-top:4px}.side-link{display:flex;align-items:center;gap:12px;border:0;width:100%;text-align:left;background:transparent;padding:13px 15px;border-radius:11px;color:#6c7883;font-size:13px;font-weight:760;margin-bottom:5px}.side-link.active{background:#fff0e7;color:#d95b17}.rail-foot{margin-top:auto;padding:15px 10px;color:#586770;font-size:11px;line-height:1.6;border-top:1px solid var(--line)}.rail-foot small{display:block;margin-left:14px;color:#96a0a8}.status-dot{display:inline-block;border-radius:99px;height:6px;width:6px;background:#3eab72;margin-right:6px}.bottom-nav{display:none}.topbar{padding:0 30px}.top-brand{display:none}#screen{max-width:930px;padding-top:32px}.sticky-add{bottom:12px}.toast-root{bottom:30px}}@media(min-width:1200px){#screen{max-width:970px}.desktop-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:15px}.desktop-columns>*{align-self:start}.desktop-only{display:block}}@media print{.desktop-rail,.topbar,.bottom-nav,.btn,.context-strip{display:none!important}#screen{padding:0}.card{box-shadow:none}}

/* Touch-size and compact-width guarantees */
.top-brand-name small{white-space:nowrap;letter-spacing:.8px}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;position:relative}
.hero-actions button{margin:0!important;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;white-space:nowrap}
.hero-actions button:first-child{flex:1 1 auto}
.hero-actions button:last-child{flex:0 1 auto}
.quick-row{display:flex;gap:10px}
.quick-tile{flex:1 1 0;min-width:0}
.qty-line{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.qty-line .stepper{width:100%;justify-content:space-between;flex:none}
.qty-line .stepper button{width:58px}
.qty-line .stepper input{flex:1;min-width:0;width:auto}
.qty-line .btn{display:flex;width:100%;flex:none;min-height:48px;white-space:normal;line-height:1.2}
.toolbar .btn{flex:1 1 0;min-width:0;white-space:normal;line-height:1.2}
.scan-btn svg{stroke:#fff}
@media(min-width:700px){.qty-line{flex-direction:row}.qty-line .stepper{width:185px}.qty-line .btn{flex:1;width:auto}}

/* Premium 1.1 design refinement: sober hierarchy, large touch targets and visible local actions */
:root{--orange:#ec651d;--orange-dark:#c94d0e;--orange-soft:#fff1e6;--ink:#1e2832;--muted:#697783;--line:#e4e9ed;--card:#fff;--shadow:0 6px 24px rgba(18,34,48,.055)}
body{background:linear-gradient(180deg,#f7f9fb,#f5f7f9 340px);-webkit-tap-highlight-color:transparent}
.topbar{height:65px;box-shadow:0 1px 0 rgba(255,255,255,.8);padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
.brand-icon{box-shadow:0 5px 14px rgba(236,101,29,.22);border-radius:11px}
#screen{max-width:790px}
.page-head h1{font-size:clamp(24px,5.3vw,30px);font-weight:850;letter-spacing:-1.05px}
.page-head p{font-size:13px;color:#677580;line-height:1.5}
.hero{background:linear-gradient(122deg,#d95511 0%,#eb6820 58%,#f88d47 100%);border-radius:20px;box-shadow:0 14px 26px rgba(201,77,14,.16)}
.hero h2{font-size:clamp(25px,6vw,31px);max-width:310px}
.hero button,.btn,.quick-tile,.scan-btn,.product-result,.context-strip button{transition:transform .13s ease,background .13s ease,box-shadow .13s ease}
.hero button:active,.btn:active,.quick-tile:active,.scan-btn:active,.product-result:active,.context-strip button:active{transform:scale(.985)}
.card,.quick-tile,.search-block,.selected-product,.order-line{box-shadow:0 5px 18px rgba(25,42,58,.045)}
.search-block{padding:17px;border-color:#dde5ec;border-radius:17px}
.search-line input{height:56px;font-size:16px;font-weight:650;background:#fafbfc;border-radius:12px}
.scan-btn{height:56px;flex-basis:56px;width:56px;border-radius:12px;box-shadow:0 6px 12px #ec651d29}
.selected-top{padding:19px 17px 15px;background:linear-gradient(135deg,#fff4eb,#fff 88%)}
.selected-top h2{font-size:20px;line-height:1.28;letter-spacing:-.5px;font-weight:850}
.selected-body{padding:16px 17px 19px}
.qty-presets{display:flex;gap:7px;margin:0 0 12px}.qty-presets button{border:1px solid #e3e8ed;background:#f7f9fb;color:#44515e;border-radius:9px;min-height:38px;min-width:49px;font-weight:800;font-size:13px}.qty-presets button:focus-visible{outline:3px solid #ffbd91}
.stepper{height:51px}.stepper button{min-width:50px}.stepper input{font-size:20px}.qty-line .btn{min-height:51px;font-size:14px}
.bottom-nav{background:rgba(255,255,255,.97);border-top:1px solid #e2e7ec}.nav-btn{min-height:49px}.nav-btn.active:before{width:29px}
.order-line h3{font-size:14px;line-height:1.43}.mini-stepper{height:43px}.mini-stepper button{width:44px}.mini-stepper input{width:63px;font-size:15px}
.last-added{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #dfe9e3;box-shadow:var(--shadow);border-radius:14px;padding:13px;margin-top:14px}.last-added-check{width:37px;height:37px;border-radius:11px;color:#287754;background:#e9f7ee;display:grid;place-items:center;flex:none}.last-added>div{display:flex;flex-direction:column;flex:1;min-width:0;gap:3px}.last-added small{color:#508366;font-weight:850;font-size:9px;letter-spacing:.7px}.last-added strong{color:var(--ink);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.last-added span:not(.last-added-check){font-size:10px;color:var(--muted)}
.route-note{display:flex;gap:8px;align-items:center;color:#697783;font-size:11px;margin:17px 3px;line-height:1.5}.route-note svg{color:#2a8660;flex:none}
.undo-bar{position:fixed;z-index:150;bottom:calc(86px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);width:390px;background:#24313c;color:#fff;box-shadow:0 12px 32px #17212a50;border-radius:13px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.undo-bar span{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750}.undo-bar button{border:0;background:#fff;color:#bc4a11;padding:10px 13px;border-radius:9px;font-size:12px;font-weight:850;min-height:40px}
@media(max-width:390px){.page-head h1{font-size:24px}.context-strip strong{max-width:180px}.network-badge{font-size:10px}.top-actions{gap:5px}.hero{padding:21px 18px}.qty-presets button{flex:1;min-width:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;scroll-behavior:auto!important}}

/* Offline field-readiness controls */
.offline-ready-panel{border:1px solid rgba(242,107,33,.22);background:linear-gradient(145deg,#fff,#fff8f3);margin-bottom:14px}
.offline-ready-panel>strong{font-size:15px;color:#283039}
.offline-ready-panel .note{line-height:1.55}
.offline-actions{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}
.offline-actions .btn{min-height:44px}
@media(max-width:380px){.offline-actions .btn{flex:1 1 100%}}

/* Recepción híbrida, sin distraer del flujo móvil */
.sync-panel{border:1px solid #ffdabf;background:linear-gradient(150deg,#fff 40%,#fff8f2 100%)}
.sync-panel strong{font-size:16px;color:#262a31}
.sync-panel .btn{min-height:46px}
.sync-panel .note{line-height:1.45}

/* CHEEK Avisos: compact, premium, mobile-first. */
.notice-pulse,.notice-summary,.notice-card-head,.notice-foot,.notice-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.notice-pulse{background:#fff7f0;border:1px solid #f5d7c0;padding:14px 16px;border-radius:16px;margin-bottom:18px}.notice-pulse div{display:grid;gap:3px}.notice-pulse small{font-size:12px;color:#74675d}
.notice-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 16px}.notice-summary>div{background:white;border:1px solid #e8e8e9;border-radius:15px;padding:16px;display:grid;gap:5px}.notice-summary b{font-size:27px;color:#27292e}.notice-summary small{font-size:11px;color:#68707a}
.notice-card{padding:16px;display:grid;gap:10px}.notice-card>strong{font-size:15px;line-height:1.35}.notice-card>p{margin:0;font-size:14px;color:#383f49;overflow-wrap:anywhere}.notice-card>small,.notice-foot small{font-size:11px;color:#65717b}.notice-card-head{justify-content:flex-start}.notice-foot{border-top:1px solid #eef0f2;padding-top:10px}
.product-notice-strip{display:grid;gap:9px;margin-top:14px;border-top:1px solid #edf0f2;padding-top:15px}.notice-inline{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:11px 13px;display:grid;gap:4px;overflow-wrap:anywhere}.notice-inline b{font-size:12px;color:#984b13}.notice-inline span{font-size:13px;color:#302e2b}.notice-inline small{font-size:11px;color:#766c63}
.notice-preview{max-height:55vh;overflow:auto;display:grid;gap:8px}.preview-row{padding:9px 0;border-bottom:1px solid #e9ecf1;font-size:12px}.preview-row small{display:block;color:#65717b;padding-top:3px}
@media(max-width:420px){.notice-toolbar .btn{flex:1 1 42%;min-height:44px}.notice-card{padding:14px}.notice-summary b{font-size:23px}}

/* CHEEK Premium 1.5 — approved native-commercial visual system, Powered by NOREX. */
:root{--orange:#f26819;--orange-dark:#d9540d;--orange-soft:#fff1e8;--ink:#172332;--muted:#697887;--line:#e5eaf0;--card:#fff;--shadow:0 2px 9px rgba(25,40,55,.035)}
html{scroll-behavior:auto}body{background:#f8fafb;color:var(--ink);font-size:14px}
.topbar{height:66px;padding:0 18px;background:#fff;box-shadow:none;border-bottom:1px solid #e4e8ed}
.top-brand{gap:9px;min-width:0}.brand-icon{width:38px;height:38px;border-radius:9px;box-shadow:none;font-weight:900;font-size:25px;letter-spacing:-3px}.brand-icon span{display:none}
.top-brand-name b{font-size:16px;letter-spacing:1.3px;font-weight:850}.top-brand-name small{font-size:9px;letter-spacing:0;color:#39495b;font-weight:650;margin-top:4px}
.norex-signature{display:flex;flex-direction:column;border-left:1px solid #d9dfe5;padding-left:10px;margin-left:3px;line-height:1.08;gap:3px;white-space:nowrap}.norex-signature small{font-size:8px;color:#72808e}.norex-signature b{font-size:12px;letter-spacing:1px;color:#172332;font-weight:900}
.network-badge{background:#f7f9fa;border-color:#e7ebef;color:#586976;font-size:10px;padding:6px 8px;white-space:nowrap}.top-actions{gap:5px}.icon-button{min-width:38px;min-height:38px}
#screen{padding:20px 16px calc(108px + env(safe-area-inset-bottom));max-width:775px}.page-head{align-items:center;margin-bottom:16px}.page-head h1{font-size:23px;letter-spacing:-.75px;line-height:1.16;font-weight:800;margin:4px 0 5px}.page-head p{font-size:12px;line-height:1.35;margin:0;color:#687685}.eyebrow{font-size:9px;color:#8a6b56;letter-spacing:1.1px}
.card{border-radius:12px;box-shadow:none}.btn{border-radius:9px;box-shadow:none!important;letter-spacing:0;min-height:43px;font-weight:750}.btn.primary{background:var(--orange)}.btn.primary:hover{background:var(--orange-dark)}.btn.secondary{background:#fff;border:1px solid #dce3e9;color:#263443}
.context-strip{border:1px solid #e3e8ed;border-radius:10px;padding:11px 13px;background:linear-gradient(90deg,#f9fafb,#fff);box-shadow:none;margin-bottom:13px}.context-strip small{color:#6d7a88}.context-strip strong{font-size:13px}
.search-block{padding:10px;border-radius:12px;background:#fff;box-shadow:none;border-color:#e3e8ed}.search-block .field-label{font-size:10px}.search-line input{height:48px;background:#fff;border:1px solid #dce4ec;border-radius:9px;font-size:14px;font-weight:500}.scan-btn{height:48px;width:48px;flex-basis:48px;border-radius:9px;background:#fff4ed;color:var(--orange);border:1px solid #f8d9c4;box-shadow:none}.scan-btn svg{stroke:var(--orange)}
.selected-product{margin-top:13px;border:1px solid #e0e6ec;border-radius:12px;box-shadow:none}.selected-top{background:#fff;padding:15px 15px 12px}.selected-top h2{font-size:17px;font-weight:820;letter-spacing:-.2px;line-height:1.3;margin:7px 0}.selected-body{padding:14px 15px}.selected-top .codes{font-size:11px;color:#677583}.selected-top .tag.ok{background:#f2f4f6;color:#55616d}.field-label{font-weight:760}
.qty-presets button{border:1px solid #e0e6ec;background:#f7f9fb;color:#29394b;border-radius:8px;min-height:39px;min-width:46px}.qty-presets button:active{background:#ffede0}.qty-line{gap:8px}.qty-line .btn{min-height:48px}.stepper{height:48px;border-radius:9px}.stepper button{background:#f7f9fb}.stepper input{font-weight:850}
.info-banner{border-radius:10px}.product-notice-strip{margin-top:13px;padding-top:12px;gap:8px}.notice-inline{background:#fff8f2;border:1px solid #f8d8c0;border-radius:9px;padding:10px 12px}.notice-inline b{font-size:12px}.notice-inline span{font-size:12px}.notice-inline small{font-size:10px}
.order-line{border:0;border-bottom:1px solid #e9edf0;border-radius:0;padding:13px 12px;background:#fff;margin:0}.order-line:first-child{border-radius:11px 11px 0 0}.order-line:last-child{border-bottom:1px solid #e6ebef;border-radius:0 0 11px 11px}.order-line h3{font-size:13px;font-weight:800;margin:0 0 5px;line-height:1.4}.order-line .code{font-size:11px;font-weight:600;color:#657380}.order-line .codes{margin-top:6px;font-size:10px}.order-line-footer{margin-top:8px}.order-line-footer .field-label{font-size:9px;color:#71808c}.mini-stepper{height:40px}.mini-stepper button{min-width:43px}.mini-stepper input{font-weight:800}
.summary-bar{background:#fff;color:#192635;border:1px solid #e1e7ec;border-radius:11px;box-shadow:none;margin:12px 0;padding:12px 14px}.summary-bar strong{font-size:19px}.summary-bar small{color:#6e7e8b}.toolbar{gap:8px}.section-title h2{font-size:15px}.section-title{margin-top:16px}
.notice-summary{display:flex;gap:0;background:#fff;border:1px solid #e2e8ed;border-radius:10px;margin:0 0 13px;overflow:hidden}.notice-summary>div{background:transparent;border:0;border-radius:0;padding:10px 14px;display:flex;gap:9px;align-items:center;flex:1}.notice-summary>div+div{border-left:1px solid #e5eaf0}.notice-summary b{font-size:18px;color:#1c2b3a}.notice-summary small{font-size:10px;color:#6d7b88}
.notice-card{display:grid;gap:5px;background:#fff;border:0;border-bottom:1px solid #e5eaf0;border-radius:0;padding:12px 14px;box-shadow:none}.notice-card:first-child{border-radius:11px 11px 0 0}.notice-card:last-child{border-radius:0 0 11px 11px}.notice-card>strong{font-size:13px;color:#1d2937;font-weight:800;line-height:1.36}.notice-card>small{font-size:10px;color:#6e7b88}.notice-card>p{font-size:12px;line-height:1.4}.notice-card-head{gap:6px;justify-content:flex-start}.notice-card .tag{font-size:9px;border-radius:6px;padding:5px 7px}.notice-foot{margin-top:5px;padding-top:8px;border-top:1px solid #f0f2f4}.notice-foot small{font-size:10px}.notice-foot .btn{min-height:36px;font-size:11px}
#noticeList{gap:0;border:1px solid #e5eaf0;border-radius:11px;background:#fff;overflow:hidden}.segment{gap:5px;flex-wrap:wrap;overflow:visible}.segment button{font-size:11px;font-weight:700;border-radius:8px;min-height:37px;color:#516171}.segment button.active{background:#fff0e5;border-color:#ffd9c1;color:#cd5012}.filter-input{border-radius:10px!important}
.modal-panel{border-radius:17px 17px 0 0}.form-field input,.form-field select,.form-field textarea{border-radius:9px}.empty-state{border-style:solid;border-radius:12px;background:#fff}
.bottom-nav{box-shadow:none;border-top:1px solid #e2e7ec;background:#fff}.nav-btn.active{color:var(--orange)}.nav-btn.active:before{background:var(--orange)}.nav-btn{font-size:10px;min-height:52px}
.rail-norex{display:none}.import-results{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e1e7eb;border-radius:10px;overflow:hidden}.import-results>div{padding:9px 6px;display:flex;flex-direction:column;align-items:center;gap:3px;border-right:1px solid #e8ecf0}.import-results>div:last-child{border-right:0}.import-results strong{font-size:16px}.import-results small{font-size:9px;color:#657480}.import-category{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px}.import-category label{font-size:10px;color:#617080}.import-category select{max-width:180px;font-size:11px;background:#fff;border:1px solid #dce3e9;border-radius:7px;padding:7px}.review-hint{color:#a34c11}.review-confirm{display:flex;gap:9px;align-items:start;font-size:12px;line-height:1.45;padding:12px;border:1px solid #f7d8b6;background:#fff8f2;border-radius:9px}.review-confirm input{width:18px;height:18px;accent-color:var(--orange);flex:none}
@media(max-width:420px){.topbar{padding:0 11px}.top-brand{gap:7px}.brand-icon{width:34px;height:34px;font-size:22px}.top-brand-name b{font-size:14px}.top-brand-name small{font-size:8px}.norex-signature{padding-left:7px;margin-left:1px}.norex-signature b{font-size:10px}.norex-signature small{font-size:7px}.network-badge{font-size:0;padding:7px;width:12px;height:12px;border-radius:100%;overflow:hidden;color:#359665}.top-actions{gap:0}.page-head h1{font-size:22px}.notice-toolbar .btn{flex:1 1 44%}}
@media(max-width:350px){.norex-signature small{display:none}.norex-signature b{font-size:9px}.top-brand-name b{font-size:13px}#screen{padding-left:11px;padding-right:11px}}
@media(min-width:960px){.rail-norex{display:block;margin-left:auto;font-size:8px;color:#8a95a0;line-height:1.5;text-align:right}.rail-norex b{display:block;color:#29323c;letter-spacing:1px;font-size:10px}.top-brand{display:flex}.topbar{justify-content:space-between}.norex-signature{display:none}#screen{max-width:950px;padding:26px 28px 60px}.bottom-nav{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.notice-discrepancy{border-left:3px solid var(--orange);background:#fff8f3;color:#94501f!important;padding:8px 10px;border-radius:4px;font-size:11px!important;line-height:1.45!important}
