:root{font-family:Inter,system-ui,sans-serif;color:#172033;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}header{height:72px;background:#fff;border-bottom:1px solid #e5e9f2;display:flex;align-items:center;padding:0 28px;gap:28px;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:10px;min-width:230px}.brand b,.user b{display:block;color:#10214a}.brand small,.user small{display:block;color:#8a94a7;margin-top:2px}.brandLogo{object-fit:contain;display:block}.brandLogo.loginLogo{width:86px;height:84px;margin-bottom:16px}.brandLogo.small{width:42px;height:41px}.brandIcon{width:54px;height:54px;border-radius:17px;background:linear-gradient(145deg,#172554,#2563eb);display:grid;place-items:center;color:#fff;font-size:26px;box-shadow:0 12px 30px #1d4ed833}.brandIcon.small{width:39px;height:39px;border-radius:12px;font-size:20px}nav{display:flex;gap:6px;flex:1}nav button{border:0;background:transparent;padding:10px 13px;border-radius:10px;color:#657087;font-weight:700}nav button.active{background:#eef3ff;color:#1d4ed8}.user{display:flex;align-items:center;gap:10px}.user>div{display:flex;align-items:center;gap:9px}.user img,.avatar{width:35px;height:35px;border-radius:50%;object-fit:cover}.avatar{display:grid;place-items:center;background:#e8eefb;color:#1d4ed8;font-weight:700}.iconBtn{border:0;background:#f4f6fa;border-radius:9px;width:36px;height:36px;color:#5f6b80}.hero{background:radial-gradient(circle at 82% 20%,#315fc3 0,transparent 28%),linear-gradient(135deg,#0f1d42,#183b78);color:#fff;padding:62px max(7vw,35px) 70px}.hero h2{font-size:38px;margin:8px 0 9px}.hero p{color:#cdd8ef;margin:0 0 26px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:#6f8fe0}.hero .eyebrow{color:#9fbcff}.searchBox{height:64px;background:#fff;border-radius:15px;display:flex;align-items:center;padding:0 10px 0 20px;max-width:900px;box-shadow:0 16px 38px #07102355;color:#748099}.searchBox input{border:0;outline:0;flex:1;padding:0 14px;font-size:16px;color:#16213a}.searchBox button,.primary{border:0;background:#2563eb;color:#fff;border-radius:10px;font-weight:700;padding:13px 20px}.content{padding:28px max(5vw,28px) 110px}.sectionHead{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.sectionHead h3{margin:0 0 4px}.sectionHead p{margin:0;color:#8b95a8;font-size:13px}.ghost,.secondary{border:1px solid #dfe5ef;background:#fff;border-radius:10px;padding:10px 13px;color:#526079;font-weight:600}.results{display:grid;gap:9px}.itemCard{background:#fff;border:1px solid #e6eaf1;border-radius:13px;padding:16px;display:grid;grid-template-columns:145px 1fr 60px;gap:15px;align-items:center}.itemCard:hover{box-shadow:0 8px 25px #20376b10;border-color:#c9d7f7}.code{font-weight:800;color:#1d4ed8}.itemMain h4{margin:0 0 7px}.meta{display:flex;flex-wrap:wrap;gap:7px}.meta span{font-size:11px;background:#f5f7fb;color:#667289;border-radius:20px;padding:5px 8px}.match{font-size:11px;color:#98a1b1;text-align:right}.fab{position:fixed;right:28px;bottom:26px;border:0;background:#173b80;color:#fff;padding:15px 20px;border-radius:30px;box-shadow:0 12px 30px #12295250;font-weight:700;z-index:15}.overlay{position:fixed;inset:0;background:#0b153080;display:grid;place-items:center;padding:24px;z-index:50}.modal{background:#fff;border-radius:18px;padding:28px;width:min(720px,96vw);max-height:90vh;overflow:auto;position:relative;box-shadow:0 30px 80px #06102a66}.modal h2{margin:0 0 20px}.close{position:absolute;right:16px;top:16px}.form{display:grid;gap:14px}.form label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#4f5c72}.form input,.form textarea,.returnBox input,.completeBox input{border:1px solid #dce2ec;border-radius:9px;padding:11px 12px;outline:0;background:#fff}.form textarea{min-height:78px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.success,.error,.warning{padding:13px;border-radius:10px;margin:0 0 15px;font-size:13px}.success{background:#ecfdf3;color:#176b39}.error{background:#fff0f0;color:#b42318}.warning{background:#fff8e8;color:#7c5a11}.historyPanel{background:#fff;border:1px solid #e5eaf2;border-radius:13px;margin-bottom:16px;padding:6px 14px}.historyRow{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid #edf0f5}.historyRow small{display:block;color:#98a2b3;margin-top:3px}.badge{display:inline-flex;padding:6px 9px;border-radius:20px;background:#eef2f8;color:#667085;font-size:11px;font-weight:700}.badge.COMPLETED{background:#eafaf0;color:#19733a}.badge.MASTERDATA_APPROVED{background:#eef3ff;color:#245ac7}.badge.ACCOUNTING_RETURNED,.badge.MASTERDATA_RETURNED{background:#fff1ee;color:#ad3e2a}.workspace{display:grid;grid-template-columns:340px 1fr;min-height:calc(100vh - 72px)}.queue{padding:24px 16px 40px 24px;border-right:1px solid #e4e8ef;background:#fafbfe}.queueItem{width:100%;text-align:left;background:#fff;border:1px solid #e5e9f0;border-radius:11px;padding:13px;margin-bottom:8px}.queueItem.active{border-color:#6d91e9;box-shadow:0 0 0 3px #e8efff}.queueItem b,.queueItem span,.queueItem small{display:block}.queueItem span{font-size:11px;color:#6d788b;margin:5px 0}.queueItem small{font-size:10px;color:#9aa3b2}.detail{padding:32px 5vw}.detailTitle{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.detailTitle h2,.detailTitle h3{margin:5px 0}.actions{display:flex;justify-content:flex-end;gap:8px}.successBtn,.danger{border:0;border-radius:9px;padding:11px 14px;font-weight:700}.successBtn{background:#15803d;color:#fff}.danger{background:#fff0ee;color:#b43d2e}.returnBox,.completeBox{display:flex;gap:8px;padding-top:14px;border-top:1px solid #edf0f5}.returnBox input,.completeBox input{flex:1}.empty{height:55vh;display:grid;place-items:center;align-content:center;color:#8c97aa;text-align:center}.accounting{max-width:1200px;margin:auto}.accountGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:14px}.approvalCard{background:#fff;border:1px solid #e4e9f1;border-radius:14px;padding:18px}.approvalCard dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 16px}.approvalCard dl div{background:#f7f9fc;padding:9px;border-radius:9px}.approvalCard dt{font-size:10px;color:#8a95a7}.approvalCard dd{margin:3px 0 0;font-size:13px;font-weight:600}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 80% 20%,#3767ca,transparent 30%),linear-gradient(135deg,#0c1735,#173a77)}.loginCard{width:min(430px,92vw);background:#fff;border-radius:22px;padding:40px;box-shadow:0 40px 90px #07142e77}.loginCard h1{margin:18px 0 7px}.loginCard p{color:#6c778c;line-height:1.55;margin:0 0 25px}@media(max-width:800px){header{padding:0 13px}.brand{min-width:0}.brand div:last-child{display:none}nav button{font-size:0}.user>div>div{display:none}.hero{padding:42px 20px 55px}.hero h2{font-size:28px}.content{padding:20px 15px 100px}.itemCard{grid-template-columns:100px 1fr}.match{display:none}.workspace{grid-template-columns:1fr}.queue{border-right:0}.detail{padding:20px}.grid2{grid-template-columns:1fr}.accountGrid{grid-template-columns:1fr}.fab{right:15px;bottom:15px}}

.exportCheck{display:flex;align-items:center;gap:10px;width:max-content;margin-bottom:12px;font-weight:700;color:#29448f}.exportCheck input{width:20px;height:20px;accent-color:#29448f}

nav button{white-space:nowrap}
@media(max-width:800px){header{height:auto;min-height:72px;padding:10px 13px 0;gap:10px;flex-wrap:wrap}.brand{min-width:0;flex:1}.user{margin-left:auto}nav{order:3;flex:0 0 calc(100% + 26px);margin:0 -13px;overflow-x:auto;padding:0 13px 8px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}nav button{font-size:13px;flex:0 0 auto;padding:10px 12px}}
.expiryWarning{grid-column:1/-1;background:#fff3cd;border:1px solid #f2cc60;border-left:4px solid #e09b00;color:#7a4c00;border-radius:8px;padding:10px 12px;margin-bottom:10px;font-size:14px;line-height:1.45}.historyRow{flex-wrap:wrap}.historyRow .expiryWarning{flex:0 0 100%}
.logoutBtn{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e4e6eb;color:#050505;transition:background .15s ease,transform .15s ease}.logoutBtn:hover{background:#d8dadf;transform:scale(1.04)}.logoutBtn:active{transform:scale(.96)}.logoutBtn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.returnReason{color:#b42318!important;margin-top:7px!important}.returnReasonDetail{grid-column:1/-1;background:#fff0f0!important;border:1px solid #f7c8c4}.returnReasonDetail dt{color:#b42318!important;font-weight:800}.returnReasonDetail dd{color:#7a271a}
.searchMotionIcon{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;color:#315dd6;animation:searchIconFloat 2.2s ease-in-out infinite}.searchMotionIcon svg{width:28px;height:28px;overflow:visible}.scanFrame,.scanLine,.spark{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.scanLine{stroke:#6b8cf0;stroke-dasharray:12 12;animation:searchScan 1.5s ease-in-out infinite}.spark{transform-box:fill-box;transform-origin:center;animation:searchSpark 1.6s ease-in-out infinite}.sparkTwo{animation-delay:.7s}@keyframes searchIconFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes searchScan{0%{transform:translateY(-4px);stroke-dashoffset:12;opacity:.3}50%{opacity:1}100%{transform:translateY(4px);stroke-dashoffset:0;opacity:.3}}@keyframes searchSpark{0%,100%{opacity:.25;transform:scale(.7) rotate(0)}50%{opacity:1;transform:scale(1.15) rotate(90deg)}}@media(prefers-reduced-motion:reduce){.searchMotionIcon,.scanLine,.spark{animation:none}}
