/* Two workspaces: supplemental styles. PC top-menu stable-480 is untouched. */
.nw-workspace-switch{position:absolute;left:calc(50% + 132px);top:50%;transform:translateY(-50%);z-index:510;display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #dce5f2;border-radius:13px;background:#f3f7fc;box-shadow:0 4px 14px rgba(15,23,42,.055);white-space:nowrap}
.nw-workspace-switch button{min-height:34px;border:0;border-radius:9px;background:transparent;color:#56677e;padding:7px 12px;font-size:12px;font-weight:850;cursor:pointer;transition:background .15s,color .15s}
.nw-workspace-switch button:hover{background:#e6effb;color:#125dba}
.nw-workspace-switch button.active{background:#176fd7;color:#fff;box-shadow:0 4px 10px rgba(23,111,215,.22)}
.nw-workspace-switch button:focus-visible,.nw-finance-link:focus-visible,#nwFinanceTopNav summary:focus-visible{outline:3px solid #8cbbff;outline-offset:2px}
#nwFinanceSidebar,#nwFinanceTopNav,#nwFinanceBottomNav{display:none}
body.nw-finance-mode #sidebar #nav{display:none!important}
body.nw-finance-mode #sidebar #erpMenuSearch,body.nw-finance-mode #sidebar .erp-nav-search{display:none!important}
body.nw-finance-mode #nwFinanceSidebar{display:flex!important}
#sidebar #nwFinanceSidebar{flex:1 1 auto;min-height:0;flex-direction:column;gap:9px;overflow-x:hidden;overflow-y:auto;padding:2px 1px 12px;scrollbar-width:thin}
#sidebar #nwFinanceSidebar .nw-finance-group{background:#fff;border:1px solid #e0e8f3;border-radius:17px;overflow:hidden;flex-shrink:0;box-shadow:0 4px 13px rgba(15,23,42,.04)}
#sidebar #nwFinanceSidebar .nw-finance-group[open]{border-color:#c9dcf6}

#sidebar #nwFinanceSidebar .nav-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:53px;box-sizing:border-box;padding:10px 12px 10px 14px;background:#fff;border:0;list-style:none;cursor:pointer}
#sidebar #nwFinanceSidebar .nav-group-title::-webkit-details-marker{display:none}
#sidebar #nwFinanceSidebar .nav-group-copy{min-width:0}
#sidebar #nwFinanceSidebar .nav-group-copy b{display:block;color:#1f2a3d;font-size:12px;line-height:1.35;font-weight:950}
#sidebar #nwFinanceSidebar .nav-group-copy small{display:block;margin-top:4px;color:#8799ad;font-size:9px;font-weight:700}
#sidebar #nwFinanceSidebar .nav-group-chevron{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:8px;background:#f2f6fa;color:#728399;font-size:16px}
#sidebar #nwFinanceSidebar details[open] .nav-group-chevron{transform:rotate(180deg);background:#edf6ff;color:#176fd7}
#sidebar #nwFinanceSidebar .nav-group-items{display:grid;gap:5px;padding:5px 8px 10px;background:#fcfdff}
#sidebar #nwFinanceSidebar .nw-finance-link{display:flex;align-items:center;gap:10px;width:100%;min-height:39px;padding:9px 11px;border:1px solid transparent;border-radius:11px;background:transparent;color:#46566d;text-align:left;white-space:normal;cursor:pointer;font-size:11.5px;line-height:1.35;font-weight:800}
#sidebar #nwFinanceSidebar .nw-finance-link:hover{background:#f1f7ff;color:#0d5cbb}
#sidebar #nwFinanceSidebar .nw-finance-link.active{background:#e8f3ff;border-color:#cfdef4;color:#135db2;font-weight:950}
.nw-finance-dot{display:inline-block;flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#bbcadb}
.nw-finance-link.active .nw-finance-dot{background:#1877f2}
body.nw-finance-mode #nwFinanceTopNav{display:flex!important}
body.nw-finance-mode #nwPcTopMenuPortal,
body.nw-finance-mode #topPrimaryMenu,
body.nw-finance-mode #topGroupNav{display:none!important;visibility:hidden!important;pointer-events:none!important}
#nwFinanceTopNav{position:relative;z-index:5100;box-sizing:border-box;align-items:center;gap:8px;flex-wrap:wrap;width:calc(100% - 32px);min-height:59px;margin:10px 16px 8px;padding:8px 10px;background:#f4f8fd;border:1px solid #e0eaf6;border-radius:18px;box-shadow:0 8px 20px rgba(15,23,42,.055)}
#nwFinanceTopNav .nw-finance-top-group{position:relative;flex:0 0 auto}
#nwFinanceTopNav summary{list-style:none;display:flex;align-items:center;gap:6px;min-height:40px;box-sizing:border-box;padding:9px 14px;background:#fff;border:1px solid #e0e8f1;border-radius:12px;color:#4b5c72;cursor:pointer;font-size:12px;font-weight:900}
#nwFinanceTopNav summary::-webkit-details-marker{display:none}
#nwFinanceTopNav summary:after{content:"▾";font-size:9px;color:#94a3b8}
#nwFinanceTopNav details.active summary,#nwFinanceTopNav details[open] summary{background:#eaf4ff;border-color:#bedafc;color:#1061b7}
#nwFinanceTopNav .nw-finance-top-drop{position:absolute;z-index:10000;top:calc(100% + 8px);left:0;display:grid;gap:4px;min-width:230px;max-width:min(310px,90vw);padding:9px;border:1px solid #dce6f3;border-radius:14px;background:#fff;box-shadow:0 16px 32px rgba(15,23,42,.15)}
#nwFinanceTopNav .nw-finance-link{display:block;text-align:left;box-sizing:border-box;width:100%;min-height:39px;padding:9px 12px;border:1px solid transparent;border-radius:10px;background:#fff;color:#3d536e;cursor:pointer;font-size:11.5px;font-weight:800}
#nwFinanceTopNav .nw-finance-link:hover,#nwFinanceTopNav .nw-finance-link.active{color:#1265bf;background:#eff6ff;border-color:#d8e8fb}
body.nw-finance-mode .app-shell #content{min-width:0}
body.nw-finance-mode .nw-accounting-page{max-width:100%;min-width:0}
body.nw-finance-mode .nw-accounting-page .table-wrap,
body.nw-finance-mode .nw-accounting-page .acct-scroll,
body.nw-finance-mode .nw-accounting-page .accounting-table-scroll{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y}
body.nw-finance-mode #bottomQuick{display:none!important}
@media (min-width:981px) and (max-width:1380px){
  .company-header.reference-header{margin-bottom:45px!important}
  .nw-workspace-switch{top:auto;bottom:-43px;left:50%;transform:translateX(-50%);z-index:5200}
}
@media (max-width:980px){
  .nw-workspace-switch{position:relative;left:auto;top:auto;transform:none;width:calc(100% - 20px);max-width:390px;margin:7px auto 0;justify-content:center;box-sizing:border-box;z-index:620}
  .nw-workspace-switch button{flex:1;font-size:11.5px;min-height:35px}
  body.nw-finance-mode #nwFinanceTopNav{display:flex!important;z-index:150;max-width:calc(100% - 20px);width:calc(100% - 20px);min-height:48px;margin:8px 10px;padding:7px;flex-wrap:wrap;overflow:visible;gap:6px}
  #nwFinanceTopNav .nw-finance-top-group{position:relative}
  #nwFinanceTopNav summary{padding:7px 10px;min-height:35px;white-space:nowrap;font-size:10.5px}
  #nwFinanceTopNav .nw-finance-top-drop{position:absolute;left:0;top:calc(100% + 3px);max-width:calc(100vw - 45px);width:max-content;box-sizing:border-box;z-index:1100}
  #nwFinanceTopNav .nw-finance-top-group:nth-last-child(-n+2) .nw-finance-top-drop{left:auto;right:0}
  body.nw-finance-mode #nwFinanceBottomNav{display:flex!important}
  #nwFinanceBottomNav{position:fixed;left:10px;right:10px;bottom:calc(10px + max(env(safe-area-inset-bottom,0px),var(--system-bottom,0px)));z-index:6000;align-items:stretch;gap:4px;padding:7px;border:1px solid #dce6f1;border-radius:18px;background:rgba(255,255,255,.97);box-shadow:0 12px 28px rgba(15,23,42,.13)}
  #nwFinanceBottomNav .nw-finance-link{min-width:0;flex:1;display:grid;place-items:center;min-height:48px;padding:6px 2px;border:1px solid transparent;border-radius:12px;background:#f7f9fc;color:#586a81;cursor:pointer;text-align:center;font-size:9.5px;font-weight:900;line-height:1.25}
  #nwFinanceBottomNav .nw-finance-link.active{background:#e9f4ff;border-color:#cfe2fa;color:#0964bc}
  body.nw-finance-mode .app-shell #content{padding-bottom:max(112px,calc(94px + max(env(safe-area-inset-bottom,0px),var(--system-bottom,0px))))!important}
}
@media print{
  #nwWorkspaceSwitch,#nwFinanceSidebar,#nwFinanceTopNav,#nwFinanceBottomNav{display:none!important}
  body.nw-finance-mode .app-shell #content{padding-bottom:0!important}
}