:root{--ink:#0b2539;--muted:#61758a;--soft:#eef4f6;--line:#dce6eb;--surface:#fff;--brand:#087f74;--brand-dark:#075f59;--mint:#5eead4;--danger:#b42318;--warning:#a05a00;font-family:Inter,"SF Pro Text","Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#dfe9ed}
body{background:radial-gradient(circle at 50% -10%,#f8fbfc 0,#e8f0f3 52%,#dfe9ed 100%)}
svg.icon{display:block;width:1.35em;height:1.35em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.app-shell{width:min(100%,540px);padding:max(24px,env(safe-area-inset-top)) 18px calc(104px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#fbfdfe 0%,#f2f7f8 46%,#ebf2f4 100%)}
section{animation:screen-in .18s ease-out}@keyframes screen-in{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}
.topbar{margin-bottom:24px}.topbar h1,.page-header h1{font-weight:780;letter-spacing:-.045em}.eyebrow{margin-bottom:7px;color:var(--brand);font-size:11px;letter-spacing:.115em}.section-kicker{margin:0 0 3px;color:#8495a6;font-size:10px;font-weight:800;letter-spacing:.12em}.section-heading{margin:28px 1px 13px}.section-heading h2{font-size:22px;letter-spacing:-.035em}.section-heading>div{display:grid}.section-heading button{display:inline-flex;align-items:center;gap:6px;padding:8px;border-radius:10px}.align-left{text-align:left}
.brand-block{margin:18px 0 30px}.brand-mark{width:76px;height:76px;border-radius:25px;background:linear-gradient(145deg,var(--mint),#2dd4bf);box-shadow:0 18px 45px #087f7430}.brand-mark svg{width:38px;height:38px}.brand-block h1{font-size:32px}.brand-block span{font-size:14px}.auth-card{padding:23px;border:1px solid #fff;border-radius:25px;box-shadow:0 18px 50px #0b253914}.form-title{display:grid;gap:5px;margin-bottom:20px}.form-title b{font-size:19px}.form-title small{color:var(--muted);line-height:1.4}.secure-note{margin-top:16px;text-align:center}.auth-card input{height:53px;border-color:var(--line);background:#f8fbfc}.primary{background:linear-gradient(135deg,var(--brand),var(--brand-dark));box-shadow:0 8px 18px #087f7425}.primary:active,.secondary:active,.scan-hero:active{transform:scale(.985)}button{transition:transform .12s,box-shadow .12s,background .12s}button:disabled{cursor:not-allowed;opacity:.55}
.icon-button,.back{width:46px;height:46px;border:1px solid #ffffff;background:#fff;box-shadow:0 8px 22px #0b253914}.scan-hero{min-height:122px;padding:19px;border:1px solid #ffffff12;border-radius:27px;background:linear-gradient(135deg,#0b2539,#123d57);box-shadow:0 20px 42px #0b25392e}.scan-icon{width:61px;height:61px;color:#063c3a;background:linear-gradient(145deg,#72efdc,#42d8c5)}.scan-hero strong{font-size:18px;letter-spacing:-.015em}.scan-hero small{font-size:12px}.scan-hero>i{display:grid;place-items:center;width:37px;height:37px;border-radius:13px;background:#ffffff12}
.card,.scan-box,.lookup-intro,.profile-action,.profile-card{border:1px solid #fff;border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 8px 26px #0b25390b}.stack{gap:12px}.card{padding:18px}.card h3{font-size:16px;line-height:1.3}.card .badge{padding:6px 9px;border-radius:999px}.card .badge.prepared{color:#0b6380;background:#e3f5fb}.card .badge.in_progress{color:#8a4b00;background:#fff2d9}.card .badge.submitted,.card .badge.closed{color:#14733b;background:#e4f8eb}.card>.task-open{display:flex;align-items:center;justify-content:center;gap:8px}.task-card{position:relative;overflow:hidden}.task-card:before{position:absolute;top:0;bottom:0;left:0;width:4px;background:var(--brand);content:""}.task-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.task-title{display:flex;gap:11px;min-width:0}.task-type{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:13px;color:var(--brand);background:#e2f7f3}.task-title h3{margin:1px 0 4px}.task-title small{color:var(--muted)}.route{display:grid;grid-template-columns:1fr 24px 1fr;align-items:center;gap:8px;margin:16px 0;padding:13px;border-radius:15px;background:#f3f7f8}.route>i{color:#9aabb9}.route div{min-width:0;color:#334e68;font-size:12px;line-height:1.35}.route b{display:block;margin-bottom:3px;color:#8293a3;font-size:9px;letter-spacing:.08em;text-transform:uppercase}.task-open{width:100%;min-height:44px;margin-top:0;border:0;border-radius:13px;color:var(--brand-dark);background:#ddf6f1;font-weight:800}
.page-header{position:sticky;z-index:7;top:0;margin:-8px -7px 15px;padding:8px 7px;border:1px solid #ffffffc7;border-radius:20px;background:#f9fcfddf;box-shadow:0 8px 28px #0b25390c;backdrop-filter:blur(18px)}.page-header>div{min-width:0}.page-header h1{font-size:20px}.page-header .eyebrow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scan-box{padding:14px;margin:14px 0 20px}.camera-button{min-height:60px;border-radius:17px;font-size:15px}.camera-button .icon{width:24px;height:24px}.scan-box small{margin-top:10px}.meta{gap:8px}.meta>div{padding:10px;border-radius:12px;background:#f4f8f9}.meta b{color:#7c8d9d}.qty input{background:#f6fafb}.submit{position:sticky;z-index:5;bottom:10px;min-height:54px;box-shadow:0 12px 32px #075f5940}
.lookup-intro{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:13px;padding:16px}.lookup-intro>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;color:var(--brand);background:#e1f6f2}.lookup-intro div{display:grid;gap:4px}.lookup-intro small{color:var(--muted);font-size:12px}.product-ok{border-left:0;box-shadow:inset 4px 0 #1b9a61,0 8px 26px #0b25390b}.product-error{border-left:0;box-shadow:inset 4px 0 #dc2626,0 8px 26px #0b25390b}
.profile-card{padding:22px}.avatar{width:62px;height:62px;border-radius:19px;background:linear-gradient(145deg,var(--mint),#38d6c2)}.profile-card h2{font-size:19px}.online-dot{display:inline-flex;align-items:center;gap:6px;color:#16804a;font-size:11px;font-weight:750}.online-dot:before{width:7px;height:7px;border-radius:50%;background:#22c55e;content:""}.profile-action{margin-top:13px;padding:15px;border:0}.profile-action>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e1f6f2}.profile-action>i{display:grid}.logout{min-height:50px}
.bottom-nav{width:min(100%,540px);padding:8px 22px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #dbe5e9;background:#fffffff2;box-shadow:0 -10px 30px #0b25390b}.bottom-nav button{position:relative;gap:3px;min-height:48px}.bottom-nav i{display:grid;place-items:center;width:32px;height:28px;font-size:20px}.bottom-nav .active i{border-radius:10px;background:#dff7f2}.bottom-nav .active:after{position:absolute;top:-9px;width:26px;height:3px;border-radius:0 0 5px 5px;background:var(--brand);content:""}
.loading-state,.empty-state{display:grid;justify-items:center;gap:9px;padding:28px 15px;color:var(--muted);text-align:center}.loading-state i{width:24px;height:24px;border:3px solid #cbd9df;border-top-color:var(--brand);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.busy{background:#0b2539ad!important}.busy-card{border-radius:24px!important}.scanner-frame{border-color:var(--mint)}#toast{max-width:calc(100% - 34px);bottom:calc(91px + env(safe-area-inset-bottom));padding:12px 16px;border-radius:14px;background:#0b2539;box-shadow:0 12px 28px #0b253936;font-size:13px;text-align:center}
@media(min-width:700px){body{padding:22px 0}.app-shell{height:calc(100dvh - 44px);border-radius:32px;box-shadow:0 24px 70px #0b253920}.bottom-nav{bottom:22px;border-radius:0 0 32px 32px}}
@media(max-width:380px){.app-shell{padding-left:14px;padding-right:14px}.scan-hero{grid-template-columns:auto 1fr}.scan-hero>i{display:none}.route{grid-template-columns:1fr}.route>i{transform:rotate(90deg);justify-self:center}.brand-block h1{font-size:28px}}
