/* Consistent NASJ factory identity. Patterns stay behind opaque work surfaces. */
:root{--hub-navy422:#071e40;--hub-ink422:#102b50;--hub-gold422:#d6a629;--hub-line422:#dce5ef;--hub-pattern422:url('/assets/images/factory-pattern422.19df1aea02cd5f43.svg')}
body.hubTheme422{color:var(--hub-ink422);font-family:Arial,'Helvetica Neue',sans-serif;background-color:#eaf1f8;background-image:var(--hub-pattern422),linear-gradient(120deg,#edf4fb,#e7f0f8);background-size:900px 680px,cover;background-attachment:fixed;padding-top:84px!important;--shell-offset:44px;--shell-rail:44px;--shell-drawer:192px}
body.hubTheme422.shellPinned361{--shell-offset:192px}
body.hubTheme422>header{left:44px!important;max-width:calc(100% - 44px)!important;width:calc(100% - 44px)!important;margin-left:0!important;background:linear-gradient(110deg,#04172f,#092951)!important;border-bottom:1px solid #c3a15b55;box-shadow:0 4px 16px #061f3c20;height:76px;min-height:76px;color:#fff}
body.hubTheme422 .hubBrand38 h1{font-weight:700;letter-spacing:-.3px;font-size:clamp(15px,1.4vw,24px)}body.hubTheme422 #companyLogo38{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0;width:44px;height:44px;object-fit:contain}body.hubTheme422 #appVersion314{opacity:.65}body.hubTheme422 #headerLogout414{border-color:#d9bd79;background:#ffffff08;border-radius:7px}body.hubTheme422 #pcOpen421{background:#ffffff08;border:1px solid #d9bd7950;color:#fff;font-size:12px;padding:7px 9px;min-height:34px}
body.hubTheme422>#main{box-sizing:border-box!important;margin-left:var(--shell-offset)!important;width:calc(100% - var(--shell-offset))!important;max-width:none!important;background:transparent;padding:22px 26px 26px!important;overflow:auto!important;height:calc(100dvh - 84px - var(--app-recovery-height363,0px))!important;min-height:0}
body.hubTheme422>#recoveryArea{box-sizing:border-box;margin-left:var(--shell-offset)!important;width:calc(100% - var(--shell-offset))!important;padding:0 26px!important;background:transparent}body.hubTheme422 #mainTabsTrigger414{left:var(--shell-offset)!important;width:calc(100% - var(--shell-offset))!important;background:#b4c7da40}body.hubTheme422 #mainTabsTrigger414:after{background:#6983a0}
body.hubTheme422 #shellRail361{width:44px;background:var(--hub-navy422);box-shadow:none}body.hubTheme422 .shellRailLabel361,body.hubTheme422 .shellRailBrand361{display:none}body.hubTheme422 #shellToggle361{width:40px;min-height:42px;margin-top:14px;font-size:23px}body.hubTheme422 #shellDrawer361{top:76px;left:0;width:192px;max-width:calc(100vw - 44px);background:linear-gradient(180deg,#082448,#041930);border:0;box-shadow:6px 0 18px #071c3610;color:#fff;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#335477 #071e40}body.hubTheme422 .shellDrawerHead361{order:3;background:transparent;border-top:1px solid #ffffff18;border-bottom:0;padding:12px;flex:none}body.hubTheme422 .shellDrawerTitle361{display:none}body.hubTheme422 .shellPin361{font-size:10px;line-height:1.3;min-height:30px;border-color:#ffffff35;color:#c8d7e8;background:#ffffff08;padding:7px}body.hubTheme422 .shellPin361[aria-pressed=true]{background:#ffffff14}body.hubTheme422 #shellMenu361{flex:none;overflow:visible;padding:8px 7px 14px;gap:3px;border-top:1px solid #ffffff18}body.hubTheme422 #shellMenu361>button{color:#d4e0ec;background:transparent;border:0;box-shadow:none;min-height:34px;padding:7px 10px;font-size:11px;text-align:left}body.hubTheme422 #shellMenu361>button:before{color:#a8bfd6}body.hubTheme422 #shellMenu361>button:hover{background:#ffffff10}body.hubTheme422 #shellBackdrop361{top:76px}
#hubWorkspaces422{display:flex;flex-direction:column;gap:2px;padding:10px 7px 12px;flex:none}#hubWorkspaces422 button{display:flex;align-items:center;gap:12px;text-align:left;color:#f1f5fb;background:transparent;border:0;border-left:4px solid transparent;border-radius:6px;box-shadow:none;min-height:43px;padding:8px 9px;font-size:12px;font-weight:600;line-height:1.25}#hubWorkspaces422 svg{width:23px;height:23px;flex:0 0 23px}#hubWorkspaces422 button.active{background:linear-gradient(110deg,#365575,#244668);border-left-color:#e2b43e}#hubWorkspaces422 button:hover{background:#ffffff12}#hubWorkspaces422 button:focus-visible{outline:2px solid #edc66c;outline-offset:-2px}
.hubDashboardFrame422{height:auto!important;min-height:0;display:block}.hubDashboardHead422{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:3px 0 26px}.hubDashboardHead422>div:first-child{border-left:5px solid var(--hub-gold422);padding-left:17px}.hubDashboardHead422 h1{font-size:clamp(22px,2.15vw,35px)!important;font-weight:750;letter-spacing:-.7px;margin:0 0 5px!important;line-height:1.15;color:#092141}.hubDashboardHead422 p{margin:0;font-size:15px;color:#455a73}.hubDashboardTools422{display:flex;align-items:center;gap:22px;flex:none}.hubDashboardTools422>span{font-size:12px;color:#52657b}.hubDashboardTools422 button{background:#fff!important;color:#15365d!important;border:1px solid #cfa33c!important;box-shadow:0 2px 4px #233f5a0d;border-radius:7px;padding:8px 14px;min-height:36px;font-size:13px;font-weight:650}
#dashBoard36.hubGrid422{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:none!important;gap:16px!important;align-content:start!important;justify-content:stretch!important;flex:none!important;height:auto!important;min-height:0!important}
.hubCard422{position:relative;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(76px,35%) minmax(0,1fr);gap:13px;align-items:center;min-width:0;width:100%;min-height:138px;height:auto;padding:16px 13px;text-align:left;background:linear-gradient(125deg,#fff,#fbfcfe)!important;color:#092344!important;border:1px solid #fff!important;border-bottom:2px solid #d6a629!important;border-radius:13px!important;box-shadow:0 5px 12px #152e4f16,0 1px 2px #142b4010!important;cursor:pointer;overflow:hidden;transition:transform .12s,box-shadow .12s}
.hubCard422:hover{transform:translateY(-2px);box-shadow:0 8px 20px #112b4925!important}.hubCard422:focus-visible{outline:3px solid #bb8c19;outline-offset:3px}.hubCard422 .dashArt361{display:block!important;position:static!important;margin:0!important;max-width:100%!important;width:100%!important;aspect-ratio:1;height:auto!important;max-height:105px;filter:drop-shadow(0 4px 2px #112a441c);background-size:500% 300%;background-position:var(--art-x) var(--art-y);background-image:var(--nasj-department-art361);background-repeat:no-repeat}
.hubSalesArt422,.hubManagementArt422{display:block;width:100%;height:110px;max-height:110px;object-fit:contain}.hubCardText422{display:flex;flex-direction:column;align-items:flex-start;min-width:0;position:relative;padding-left:14px;gap:2px;line-height:1.22}.hubCardText422:before{position:absolute;content:'';left:0;top:1px;bottom:0;width:1px;background:linear-gradient(#d8ae48,#e7d6af)}.hubCardText422>strong{font-size:15px;font-weight:750;color:#071e40;line-height:1.2;margin-bottom:2px;white-space:normal;overflow-wrap:anywhere}.hubCount422{font-size:32px;font-weight:750;color:#c88b12;line-height:1.05;margin:2px 0 1px}.hubCount422.zero{color:#8a8d92}.hubCountCaption422{font-size:12px;font-weight:400;color:#465367;line-height:1.25}.hubCardLink422{display:block;font-size:12px;font-weight:700;line-height:1.3;margin-top:8px;color:#0b315e;white-space:normal}.hubCardLink422>span{font-size:18px;line-height:12px;vertical-align:middle;margin-left:3px}.hubReservedSpace422{height:51px}.hubManagement422 .hubCardText422>strong{font-size:16px}body.hubTheme422 .dashboardPager363{justify-content:flex-end;padding-top:12px;min-height:26px;color:#5c718a;font-size:11px}.hubReservedPage422{min-height:270px}.hubReservedHeading422{display:flex;align-items:center;gap:22px;margin:28px 0}.hubReservedHeading422 .dashArt361{width:100px;height:100px;flex:none}.hubReservedHeading422 h1{font-size:28px;margin:0 0 10px;color:var(--hub-navy422)}
body.hubTheme422 .panel,body.hubTheme422 .workspace401,body.hubTheme422 .orderSection406,body.hubTheme422 .pcPanel421{background:#fff;border-color:var(--hub-line422);border-radius:12px;box-shadow:0 4px 12px #1b365012}body.hubTheme422 .tablewrap,body.hubTheme422 .table-wrap{background:#fff}body.hubTheme422 table thead th{background:#edf2f8;color:#223e5e;border-bottom:2px solid #c4d2e2}body.hubTheme422 input,body.hubTheme422 select,body.hubTheme422 textarea{border-color:#c5d2e1}body.hubTheme422 button.secondary{border-color:#bdcddd;color:#163c65;background:#f6f9fc}body.hubTheme422 .tabs401 button[aria-selected=true],body.hubTheme422 .pcTabs421 button:not(.secondary){background:var(--hub-navy422);border-color:var(--hub-navy422);color:#fff}body.hubTheme422 #amendBanner398{box-sizing:border-box;max-width:none;width:100%;margin:12px 0 0!important;border:1px solid #ba2727;border-radius:10px;background:linear-gradient(90deg,#fff0f0,#fff9f9);padding:14px 18px;color:#8f111a;box-shadow:0 3px 8px #75101c0a}body.hubTheme422 #amendBanner398>strong{font-size:15px;line-height:1.35}body.hubTheme422 #amendBanner398>div{font-size:12px;margin:3px 0 8px;color:#a02d34}body.hubTheme422 #amendBanner398 button{background:#a51620;color:#fff;border:1px solid #90131b;border-radius:6px;min-height:33px;font-size:12px;margin-right:7px;padding:7px 12px}
body.hubTheme422.salesPage411>#main{padding:0!important;background:#fff}body.hubTheme422.salesPage411>.salesHost410{background:#fff}
@media(min-width:1600px){.hubCard422{min-height:145px;padding:16px 17px}.hubCardText422>strong{font-size:17px}.hubCardLink422,.hubCountCaption422{font-size:13px}.hubCount422{font-size:35px}}
@media(max-width:1199px){#dashBoard36.hubGrid422{grid-template-columns:repeat(3,minmax(0,1fr))!important}.hubDashboardTools422>span{display:none}.hubDashboardHead422{margin-bottom:20px}.hubDashboardHead422 h1{font-size:27px!important}.hubDashboardTools422{gap:10px}body.hubTheme422.shellPinned361{--shell-offset:44px}body.hubTheme422 #shellDrawer361{left:44px;width:210px}.hubCard422{min-height:138px}}
@media(max-width:930px){#dashBoard36.hubGrid422{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.hubTheme422>#main{padding:18px!important}.hubDashboardHead422{gap:14px}.hubDashboardHead422 h1{font-size:25px!important}.hubDashboardHead422 p{font-size:13px}.hubCardText422>strong{font-size:15px}.hubCard422{min-height:140px}}
@media(max-width:580px){body.hubTheme422>#main{padding:16px 12px!important}body.hubTheme422>#recoveryArea{padding:0 12px!important}#dashBoard36.hubGrid422{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.hubDashboardHead422{align-items:flex-start;gap:8px;margin-bottom:18px}.hubDashboardHead422>div:first-child{padding-left:10px}.hubDashboardHead422 h1{font-size:22px!important;letter-spacing:-.3px}.hubDashboardHead422 p{font-size:12px}.hubDashboardTools422 button{font-size:11px;min-height:33px;padding:7px}.hubCard422{grid-template-columns:90px minmax(0,1fr);min-height:134px;padding:14px 17px}.hubCardText422>strong{font-size:17px}body.hubTheme422 #pcOpen421{display:none}.hubCount422{font-size:32px}.hubCardLink422{font-size:13px}}
@media(prefers-reduced-motion:reduce){.hubCard422{transition:none}.hubCard422:hover{transform:none}}

.hubReservedHeading422 .hubManagementArt422{width:110px;height:110px;object-fit:contain;flex:none}

/* Design422 correction: a nested nav must not inherit the app's white sticky nav. */
body.hubTheme422 #hubWorkspaces422{position:static!important;top:auto!important;left:auto!important;width:100%!important;max-width:none!important;box-sizing:border-box;background:#071e40!important;border:0!important;box-shadow:none!important;z-index:auto;flex-wrap:nowrap;align-items:stretch;overflow:visible}
body.hubTheme422 #hubWorkspaces422 button{color:#f1f5fb!important;opacity:1;flex:0 0 auto;width:100%;box-sizing:border-box}
body.hubTheme422 #hubWorkspaces422 svg{display:block!important;position:static!important;width:23px!important;height:23px!important;min-width:23px;max-width:23px;overflow:visible;color:inherit}
body.hubTheme422 #amendBanner398.hubWarning422{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:11px 16px}
.hubWarningCopy422{flex:1 1 360px;min-width:0}.hubWarningCopy422>strong{display:block;font-size:17px;color:#95121b;line-height:1.25}.hubWarningCopy422>div{font-size:11px;line-height:1.35;color:#94303a;margin:2px 0 0}
body.hubTheme422 #amendBanner398.hubWarning422>button{flex:0 0 auto;margin:0;min-height:33px}
@media(min-width:1200px){body.hubDashboardCompact422>#main{padding:14px 22px!important}.hubDashboardCompact422 .hubDashboardHead422{margin-bottom:14px}.hubDashboardCompact422 .hubDashboardHead422 h1{font-size:28px!important}.hubDashboardCompact422 .hubDashboardHead422 p{font-size:13px}.hubDashboardCompact422 #dashBoard36.hubGrid422{gap:10px!important}.hubDashboardCompact422 .hubCard422{height:var(--hub-card-height422,108px)!important;min-height:var(--hub-card-height422,108px)!important;grid-template-columns:72px minmax(0,1fr);padding:8px 12px;gap:9px;border-radius:11px!important}.hubDashboardCompact422 .hubCard422 .dashArt361,.hubDashboardCompact422 .hubSalesArt422,.hubDashboardCompact422 .hubManagementArt422{max-height:76px!important;height:76px!important;width:72px!important}.hubDashboardCompact422 .hubCardText422{padding-left:11px;gap:1px}.hubDashboardCompact422 .hubCardText422>strong{font-size:14px;line-height:1.15;margin:0}.hubDashboardCompact422 .hubCount422{font-size:27px;line-height:1;margin:1px 0}.hubDashboardCompact422 .hubCountCaption422{font-size:11px;line-height:1.15}.hubDashboardCompact422 .hubCardLink422{font-size:11px;margin-top:4px;line-height:1.2}.hubDashboardCompact422 .hubReservedSpace422{height:37px}.hubDashboardCompact422 #dashPager363{display:none}}
@media(min-width:1200px) and (max-width:1399px){#dashBoard36.hubGrid422{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(min-width:1200px) and (max-height:800px){body.hubTheme422 #hubWorkspaces422{gap:1px;padding-top:6px;padding-bottom:7px}body.hubTheme422 #hubWorkspaces422 button{min-height:32px;padding:5px 9px;font-size:11px;gap:9px}body.hubTheme422 #hubWorkspaces422 svg{width:21px!important;height:21px!important;min-width:21px;max-width:21px}}
/* Keep the warning message and actions on one compact desktop row. */
body.hubTheme422 #amendBanner398.hubWarning422{padding:8px 14px;gap:8px 12px;margin-top:8px!important;min-height:0}
body.hubTheme422 .hubWarningCopy422{flex:1 1 420px}
body.hubTheme422 .hubWarningCopy422>strong{font-size:15px;line-height:1.2}
body.hubTheme422 .hubWarningCopy422>div{font-size:11px;line-height:1.2;margin-top:3px}
body.hubTheme422 #amendBanner398.hubWarning422>button{font-size:11px;min-height:30px;padding:6px 10px;white-space:nowrap}
@media(max-width:650px){body.hubTheme422 .hubWarningCopy422{flex-basis:100%}body.hubTheme422 #amendBanner398.hubWarning422{padding:9px 11px}body.hubTheme422 .hubWarningCopy422>strong{font-size:13px}}
/* Dedicated SVG image assets avoid inline-SVG rendering conflicts. */
body.hubTheme422 #hubWorkspaces422 button>.hubNavIcon422{display:block!important;position:static!important;visibility:visible!important;opacity:1!important;flex:0 0 24px!important;width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;object-fit:contain;margin:0!important;padding:0!important;border:0!important;background:transparent!important;filter:none!important}
/* Screen-aware content density. Preserve legible text and scrollable long tables. */
body.hubTheme422{font-size:clamp(12px,.82vw,17px)}
body.hubTheme422>#recoveryArea{max-width:none!important;min-width:0!important;align-self:stretch!important;box-sizing:border-box!important}
body.hubTheme422 #amendBanner398{max-width:none!important;width:100%!important}
body.hubTheme422 #main .panel h2,body.hubTheme422 #main .orderSection406 h2{font-size:clamp(18px,1.35vw,26px)}
body.hubTheme422 #main table{font-size:clamp(12px,.76vw,16px);max-width:100%}
body.hubTheme422 #main th,body.hubTheme422 #main td{line-height:1.35}
body.hubTheme422 #main .tablewrap,body.hubTheme422 #main .table-wrap,body.hubTheme422 #main .sourceScroll407,body.hubTheme422 #main .sourceScroll408{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
body.hubTheme422 #main .field label,body.hubTheme422 #main label{font-size:clamp(12px,.76vw,15px)}
body.hubTheme422 #main input:not(.scanner):not(.posScan312),body.hubTheme422 #main select,body.hubTheme422 #main textarea{font-size:clamp(12px,.8vw,16px);max-width:100%;box-sizing:border-box}
body.hubTheme422 #main .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
body.hubTheme422 #hubWorkspaces422 button{min-height:var(--hub-nav-row422,40px);padding-top:5px;padding-bottom:5px;font-size:clamp(11px,.73vw,14px)}
@media(min-width:1200px){body.hubTheme422.hubDashboardCompact422>#main{padding:14px 22px!important;overflow-y:auto!important}.hubDashboardCompact422 .hubDashboardHead422{margin-bottom:14px}.hubDashboardCompact422 .hubDashboardHead422 h1{font-size:clamp(26px,1.9vw,42px)!important}.hubDashboardCompact422 #dashBoard36.hubGrid422{gap:var(--hub-grid-gap422,10px)!important}.hubDashboardCompact422 .hubCard422{height:var(--hub-card-height422,128px)!important;min-height:var(--hub-card-height422,128px)!important;grid-template-columns:clamp(64px,calc(var(--hub-card-height422,128px)*.64),160px) minmax(0,1fr);padding:8px 12px;gap:9px}.hubDashboardCompact422 .hubCard422 .dashArt361,.hubDashboardCompact422 .hubSalesArt422,.hubDashboardCompact422 .hubManagementArt422{height:clamp(60px,calc(var(--hub-card-height422,128px)*.64),160px)!important;max-height:none!important;width:100%!important}.hubDashboardCompact422 .hubCardText422>strong{font-size:clamp(13px,calc(var(--hub-card-height422,128px)*.12),24px);line-height:1.15}.hubDashboardCompact422 .hubCount422{font-size:clamp(25px,calc(var(--hub-card-height422,128px)*.24),52px)}.hubDashboardCompact422 .hubCountCaption422,.hubDashboardCompact422 .hubCardLink422{font-size:clamp(11px,calc(var(--hub-card-height422,128px)*.095),17px)}.hubDashboardCompact422 .hubReservedSpace422{height:clamp(30px,calc(var(--hub-card-height422,128px)*.3),65px)}.hubDashboardCompact422 #dashPager363{display:none}}
@media(min-width:1200px){body.hubTheme422.hubDashboardCompact422>#recoveryArea{padding-left:22px!important;padding-right:22px!important}}
/* The drawer starts AFTER the 44px menu rail; icons must never sit underneath it. */
body.hubTheme422{--shell-drawer:224px}
body.hubTheme422.shellPinned361{--shell-offset:268px}
body.hubTheme422 #shellDrawer361{left:44px!important;width:224px!important;max-width:calc(100vw - 44px)!important}
body.hubTheme422 #hubWorkspaces422 button>span{min-width:0;line-height:1.25;white-space:normal;overflow-wrap:normal;word-break:normal}
@media(max-width:1199px){body.hubTheme422.shellPinned361{--shell-offset:44px}}
