:root{color-scheme:light;--ink:#18191b;--sub:#5d6064;--line:#dedfdf;--paper:#fff;--ground:#f5f5f3;--soft:#efefed;--accent:#ff873d;--rust:#963b00;--rail:232px;font-family:"Inter","Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--ground);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bb4a00;outline-offset:3px}svg{width:21px;height:21px;flex:none;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round}.skip{position:fixed;top:-100px;left:8px;z-index:30;padding:12px;background:white}.skip:focus{top:8px}
.shell{min-height:100vh;display:grid;grid-template-columns:var(--rail) minmax(0,1fr)}.rail{background:#191a1b;color:#f3f3f2;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:27px 17px 16px;z-index:5}.brand{display:flex;align-items:center;gap:11px;font-size:17px;font-weight:800;letter-spacing:-.5px;line-height:1.04}.brand small{display:block;font-size:10px;letter-spacing:1.6px;font-weight:600;margin-top:5px;color:#b6b6b5}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:#fff;color:#18191b;border-radius:5px;font-size:25px;font-weight:900;letter-spacing:-3px;padding-right:4px}.rail .brand{margin:0 8px 39px}.nav-link{display:flex;align-items:center;gap:11px;min-height:44px;padding:0 11px;border-radius:5px;color:#c9cac9;font-size:14px;font-weight:550;margin-bottom:4px}.nav-link:hover,.nav-link[aria-current=page]{background:#303133;color:#fff}.nav-link[aria-current=page] svg{color:var(--accent)}.nav-separator{border:0;border-top:1px solid #38393a;margin:15px 7px}.rail-bottom{margin-top:auto}.rail-version{font-size:11px;color:#b4b4b3;display:flex;align-items:center;gap:7px;padding:6px 10px 12px}.rail-version i,.dot{width:7px;height:7px;background:#4e8e68;border-radius:50%;display:inline-block}.dot.off,.rail-version i.off{background:var(--accent)}
.top{height:67px;border-bottom:1px solid var(--line);background:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 33px}.top-title{font-size:13px;color:var(--sub);display:flex;align-items:center;gap:10px}.top-title strong{color:var(--ink)}.top .brand{display:none}.top-actions{display:flex;align-items:center;gap:10px}.user-chip{padding:8px 10px;display:flex;gap:9px;align-items:center;font-size:13px;font-weight:650}.initials{width:31px;height:31px;background:#eaeae7;display:grid;place-items:center;border-radius:50%;font-size:11px}.main{width:min(100%,1280px);margin:0 auto;padding:34px 34px 55px}.page-head{display:flex;gap:16px;align-items:end;justify-content:space-between;margin-bottom:24px}.page-head h1{margin:0;font-size:clamp(34px,4vw,53px);font-weight:780;letter-spacing:-.076em;line-height:1}.page-head p{margin:10px 0 0;color:var(--sub);line-height:1.45;font-size:14px}.page-head.compact h1{font-size:clamp(32px,4vw,43px)}h2,h3{margin:0;letter-spacing:-.035em}h2{font-size:22px}h3{font-size:17px}p{line-height:1.55;margin:.4em 0}small,.muted{color:var(--sub)}.muted{font-size:14px}.kicker{font-size:11px;font-weight:760;letter-spacing:.13em;text-transform:uppercase;color:var(--sub)}
.grid{display:grid;gap:14px}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-grid .scan-hero{grid-column:span 2}.tile,.panel{border:1px solid var(--line);border-radius:6px;background:var(--paper);padding:20px}.tile{min-height:155px;display:flex;flex-direction:column;justify-content:space-between;transition:background .15s,border .15s}.tile:hover{border-color:#a0a1a1;background:#fafaf9}.tile-top,.tile-bottom,.between{display:flex;align-items:center;justify-content:space-between;gap:10px}.tile-icon{display:grid;place-items:center;background:var(--soft);border-radius:5px;width:40px;height:40px}.tile .tile-arrow{color:#5e6063}.tile h2{font-size:21px}.tile p{margin:5px 0 0;font-size:13px;color:var(--sub)}.tile.scan-hero{min-height:185px;background:#202123;border-color:#202123;color:white;position:relative;overflow:hidden;isolation:isolate}.scan-hero:hover{background:#292a2c}.scan-hero .tile-icon{background:var(--accent);color:var(--ink)}.scan-hero h2{font-size:36px}.scan-hero p,.scan-hero .tile-arrow{color:#d5d5d4}.scan-hero .scan-pattern{position:absolute;right:4%;bottom:-30px;width:215px;height:215px;color:#777;opacity:.29;z-index:-1}.section{margin-top:29px}.section>h2{margin-bottom:12px}.list{display:grid;gap:8px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:5px;background:white;padding:13px 15px;min-height:59px}.list-row:has(a:hover){border-color:#9e9e9b}.list-row p{font-size:13px;margin:2px 0 0;color:var(--sub)}.list-row strong{font-size:14px}.pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;padding:5px 8px;border-radius:4px;background:#eeefec;color:#414440;white-space:nowrap}.pill.orange{background:#fff0e4;color:#8b3500}.pill.green{background:#eaf3ed;color:#246043}.empty{padding:22px;border:1px dashed #c9c9c5;border-radius:6px;color:var(--sub);font-size:14px;background:#fafaf9}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #242527;border-radius:5px;padding:0 14px;background:#242527;color:#fff;font-size:13px;font-weight:720;white-space:nowrap}.btn:hover{background:#404144}.btn.secondary{background:white;color:var(--ink);border-color:#d1d2d1}.btn.secondary:hover{background:#f1f1ef}.btn.accent{background:var(--accent);color:var(--ink);border-color:#d36421}.btn.accent:hover{background:#ff9c62}.btn.small{min-height:35px;padding:0 10px}.btn svg{width:17px;height:17px}.btn-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:15px}.tabs{display:flex;gap:7px;overflow:auto;margin:0 0 17px;padding:3px}.tabs a,.tabs button{border:1px solid var(--line);border-radius:5px;padding:10px 13px;background:white;white-space:nowrap;font-size:13px}.tabs .active{background:var(--ink);color:#fff;border-color:var(--ink)}
form{margin:0}.fields{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.field{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:6px;font-size:13px;font-weight:680}.field input,.field select,.field textarea,.search input{display:block;width:100%;min-width:0;max-width:100%;min-height:43px;padding:9px 11px;border:1px solid #c8cbca;background:#fff;color:var(--ink);border-radius:5px;font-size:16px;font-weight:450}.field input[type=file]{padding:9px}.field textarea{resize:vertical;min-height:90px}.wide{grid-column:1/-1}.check{display:flex;gap:8px;align-items:center;font-weight:600;font-size:13px;min-height:40px}.check input{width:18px;height:18px;accent-color:var(--ink)}.search{display:flex;gap:9px;margin-bottom:15px}.search input{flex:1;min-width:0}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:6px;background:white}.table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.table th{padding:12px;background:#efefed;color:#4b4d50;white-space:nowrap}.table td{padding:12px;border-top:1px solid var(--line);vertical-align:top;white-space:nowrap}.table td a{font-weight:700;text-decoration:underline;text-underline-offset:3px}.table .number{text-align:right;font-variant-numeric:tabular-nums}.stat{padding:13px;background:var(--soft);border-radius:5px}.stat strong{display:block;margin-top:6px;font-size:24px;letter-spacing:-.04em}.notice,.error{border-left:3px solid #c97942;padding:10px 12px;background:#fff2e8;font-size:14px}.error{background:#fff0ea;color:#8b2a05}.split-document{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:12px;margin:14px 0}.document-view{max-width:100%;width:100%;height:330px;border:1px solid var(--line);border-radius:5px;object-fit:contain}.extract{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.5 ui-monospace,monospace;max-height:156px;overflow:auto}.line-card{padding:12px;border:1px solid var(--line);border-radius:5px;background:#fafaf9;margin-top:10px}.line-card .fields{grid-template-columns:repeat(3,minmax(0,1fr))}.camera{display:grid;place-items:center;aspect-ratio:16/8;background:#212224;color:#d9d9d9;border-radius:6px;margin:15px 0;overflow:hidden}.camera video{width:100%;height:100%;object-fit:cover}.scanner-main{max-width:760px}.camera svg{width:65px;height:65px;color:var(--accent)}.bottom-nav{display:none}.login{min-height:100vh;display:grid;place-items:center;padding:20px;background:#f2f2ef}.login-card{width:min(100%,410px);background:white;border:1px solid var(--line);padding:33px;border-radius:6px}.login-card .brand-mark{background:#222;color:white}.login-card .brand small{color:#5b5d60}.login-card h1{font-size:35px;letter-spacing:-.065em;margin:33px 0 7px}.login-card .btn{width:100%;margin-top:14px}.loading{padding:30px}.account-menu{position:absolute;top:62px;right:24px;z-index:9;min-width:190px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:10px}.sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.tools-list{display:grid;gap:8px}.tools-list a{min-height:48px}.subheading{margin:16px 0 8px}.result-card{margin-top:14px}.js-form-status{font-size:13px;color:var(--sub);margin-top:9px}#notice{position:fixed;bottom:20px;right:20px;z-index:15;max-width:min(400px,calc(100vw - 40px));pointer-events:none}#notice:not(:empty){background:#252628;color:white;padding:13px 16px;border-radius:5px;box-shadow:0 5px 18px #0003;font-size:14px}.hero-copy{padding:18px 0 0}.table-note{margin:8px 0 0}.mobile-only{display:none}
@media(max-width:1100px){:root{--rail:196px}.nav-link{font-size:13px}.main{padding:29px 23px 45px}.top{padding:0 23px}}
@media(max-width:790px){.shell{display:block}.rail{display:none}.top{height:61px;padding:0 14px;position:sticky;top:0;z-index:5}.top-title,.top-actions>.scan-top,.user-name{display:none}.top .brand{display:flex;font-size:14px}.top .brand-mark{width:33px;height:33px;background:#202123;color:#fff;font-size:20px}.top .brand small{font-size:8px;color:#595959}.main{padding:25px 14px 92px}.home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-grid .scan-hero{grid-column:1/-1;min-height:148px}.tile,.panel{padding:14px}.tile{min-height:116px}.tile h2{font-size:17px}.tile p{font-size:12px}.scan-hero h2{font-size:31px}.tile-icon{width:34px;height:34px}.tile-icon svg{width:18px;height:18px}.page-head{align-items:start;margin-bottom:17px}.page-head h1{font-size:36px}.page-head p{margin-top:7px}.bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);bottom:0;left:0;right:0;z-index:10;background:#191a1b;color:#fff;padding:4px 4px max(5px,env(safe-area-inset-bottom))}.bottom-nav a{display:grid;justify-items:center;align-content:center;gap:4px;font-size:10px;min-height:53px;color:#d7d7d5}.bottom-nav a[aria-current=page],.bottom-nav .scan-nav{color:var(--accent)}.bottom-nav svg{width:21px;height:21px}.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.split-document,.desktop-split{grid-template-columns:1fr}.mobile-only{display:block}#notice{bottom:73px}.line-card .fields{grid-template-columns:repeat(2,minmax(0,1fr))}.section{margin-top:22px}}
@media(max-width:440px){.cols-2.stack{grid-template-columns:1fr}.page-head{flex-wrap:wrap}.search .btn{padding:0 9px}.btn-row>.btn{white-space:normal}.stat strong{font-size:20px}.panel .field{font-size:12px}}
.product-photo{display:block;max-width:100%;width:260px;height:210px;object-fit:contain;background:white;border:1px solid var(--line);border-radius:6px}
.setup-steps{display:grid;gap:.5rem;margin:.75rem 0 0;padding:0;list-style:none}

@media(max-width:600px){
 .btn{min-height:44px} .table-wrap{overflow:visible} .table{min-width:0;width:100%}
 .table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .table tbody,.table tr,.table td{display:block;width:auto}
 .table tr{border-bottom:1px solid var(--line,#ddd);padding:8px 0}
 .table td{white-space:normal;overflow-wrap:anywhere;border:0;padding:5px 8px;display:flex;gap:10px;justify-content:space-between}
 .table td::before{content:attr(data-label);font-weight:600;flex:0 0 36%}
}

.field select{overflow:hidden;text-overflow:ellipsis;-webkit-appearance:none;appearance:none;padding-right:30px;background-image:linear-gradient(45deg,transparent 50%,#5d6064 50%),linear-gradient(135deg,#5d6064 50%,transparent 50%);background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%;background-size:5px 5px;background-repeat:no-repeat}

/* Supplied Inventory logo: preserve proportions and its white/orange artwork. */
.brand-mark{flex:none;width:52px;height:52px;padding:4px;background:#191a1b;border-radius:4px;letter-spacing:normal}
.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.login-card .brand-mark{width:66px;height:66px;background:#191a1b;padding:5px}
@media(max-width:790px){.top .brand-mark{width:40px;height:40px;padding:3px;background:#191a1b}}

/* Shared Viken NEXT navigation */
.viken-switcher{position:relative;flex:none;color:#f5f2ed;font:inherit;line-height:1.2;text-align:left}
.viken-switcher>summary{display:flex;align-items:center;justify-content:center;gap:.46rem;min-height:36px;padding:.4rem .6rem;background:#242323;color:#f5f2ed;border:1px solid #77716b;border-radius:.4rem;cursor:pointer;list-style:none;white-space:nowrap;font-size:.74rem;font-weight:750;letter-spacing:.025em}
.viken-switcher>summary::-webkit-details-marker{display:none}
.viken-switcher>summary::after{content:'';width:.4rem;height:.4rem;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);margin-top:-.2rem}
.viken-switcher>summary:hover,.viken-switcher[open]>summary{background:#353231}
.viken-switcher-panel{position:absolute;right:0;top:calc(100% + .45rem);min-width:10.5rem;padding:.3rem;z-index:80;background:#1d1c1b;border:1px solid #716961;border-radius:.5rem;box-shadow:0 8px 24px #0005}
.viken-switcher-panel a{display:flex;align-items:center;min-height:40px;padding:.5rem .7rem;border-radius:.26rem;color:#f5f2ed;text-decoration:none;font-size:.85rem;white-space:nowrap}
.viken-switcher-panel a:hover,.viken-switcher-panel a:focus-visible{background:#3b342d;color:#fff}
.viken-switcher-panel a[aria-current=page]{font-weight:850;color:#ffc48b}
.viken-switcher-panel a:first-child{border-bottom:1px solid #56514b;border-radius:0;margin-bottom:.25rem}
.viken-switcher :focus-visible{outline:2px solid #ffb86b;outline-offset:2px}
@media(max-width:540px){.viken-switcher>summary{min-height:38px;font-size:.66rem;padding-inline:.44rem}}
