/* Keep the original HR shell around both boards and account settings. */
.hr-access-shell{--hr-sidebar-width:208px;--hr-topbar-height:56px;--hr-bg:#f3f6f8;--hr-surface:#fff;--hr-text:#233b49;--hr-secondary:#405a68;--hr-muted:#647b87;--hr-border:#d8e4e7;--hr-soft:#eaf5ef;--hr-primary:#167963;--hr-on-primary:#fff;--hr-navy:#243b4e;margin:0;background:var(--hr-bg);color:var(--hr-text);font:14px/1.6 "Microsoft YaHei","PingFang SC",sans-serif}
.hr-access-shell.shell-dark{--hr-bg:#142029;--hr-surface:#1d2d38;--hr-text:#e6eef1;--hr-secondary:#c4d3dc;--hr-muted:#a3b6bf;--hr-border:#3a505b;--hr-soft:#253f39;--hr-primary:#7dd8b4;--hr-on-primary:#10271f;--hr-navy:#101e2a;color-scheme:dark}
.hr-access-shell *{box-sizing:border-box}
.hr-access-shell [hidden]{display:none!important}
.hr-topbar{position:fixed;z-index:30;inset:0 0 auto;height:56px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 24px;background:var(--hr-navy,#243b4e);color:#fff;border:0}
.hr-topbar-logo{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600;letter-spacing:.03em;color:#fff;text-decoration:none;white-space:nowrap}
.hr-topbar-logo small{color:#b9cbd7;font-size:12px;font-weight:400;letter-spacing:0}
.hr-topbar-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0;font-size:12px}
.hr-topbar-tools a,.hr-topbar-tools button{font:inherit;line-height:1.5;text-decoration:none;color:#fff;background:transparent;border:1px solid #587081;border-radius:7px;padding:5px 10px;cursor:pointer;white-space:nowrap}
.hr-topbar-tools a:hover,.hr-topbar-tools button:hover{background:#344f62;border-color:#8297a5}
.hr-topbar-tools #signed-name{margin:0;color:#fff;font-size:12px}
.hr-sidebar{position:fixed;z-index:20;top:56px;bottom:0;left:0;width:208px;overflow-y:auto;display:flex;flex-direction:column;background:var(--hr-surface);border-right:1px solid var(--hr-border);padding:17px 10px;color:var(--hr-text)}
.hr-sidebar-section{padding:7px 12px;color:var(--hr-muted);font-size:11px;letter-spacing:.05em}
.hr-sidebar-link{display:flex;align-items:center;gap:10px;min-height:43px;margin:3px 0;padding:11px 12px;border-radius:7px;text-decoration:none;color:var(--hr-secondary);font-size:13px;line-height:1.6;white-space:nowrap}
.hr-sidebar-link:hover{background:var(--hr-soft);color:var(--hr-primary)}
.hr-sidebar-link.active,.hr-sidebar-link[aria-current="page"]{background:var(--hr-primary);color:var(--hr-on-primary);font-weight:600}
.hr-sidebar-icon{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;font-size:17px;line-height:1}
.hr-sidebar-icon svg{display:block;width:20px;height:20px}
.hr-sidebar-divider{height:1px;min-height:1px;margin:16px 12px;background:var(--hr-border)}
.hr-sidebar-footer{margin-top:auto;padding:22px 12px 5px;font-size:11px;color:var(--hr-muted);overflow-wrap:anywhere}
.hr-sidebar-footer strong{display:block;color:var(--hr-secondary);font-size:12px;font-weight:500;margin-bottom:3px}
.hr-main{margin:56px 0 0 208px;min-width:0;min-height:calc(100vh - 56px);background:var(--hr-bg)}
.hr-main .module-frame{display:block;width:100%;height:calc(100vh - 56px);border:0;margin:0;background:var(--hr-bg)}
.hr-main #hr-business-notice{padding:0 24px;margin:0;color:#ad4038;font-size:12px}
.hr-main #hr-business-notice:not(:empty){padding-top:10px;padding-bottom:10px}
.hr-access-shell .access-wrap.hr-main{max-width:none;padding:26px 28px 36px}
.hr-access-shell .access-header{margin-bottom:24px}
.hr-access-shell #portal-panel>.section-head{margin-top:0}
.hr-access-shell #members-panel{margin-top:18px}
.hr-access-shell a:focus-visible,.hr-access-shell button:focus-visible{outline:2px solid #167963;outline-offset:3px}
@media(max-width:1000px){.hr-topbar-logo small{display:none}.hr-topbar-tools{gap:8px}}
@media(max-width:760px){
 .hr-access-shell{--hr-sidebar-width:64px}
 .hr-topbar{padding:0 14px;gap:8px}.hr-topbar-logo{font-size:14px}.hr-topbar-tools{gap:6px}.hr-topbar-tools a,.hr-topbar-tools button{padding:5px 7px}
 .hr-sidebar{width:64px;padding:14px 5px}.hr-sidebar-section,.hr-sidebar-footer{display:none}.hr-sidebar-link{justify-content:center;padding:11px 5px;font-size:0;gap:0}.hr-sidebar-icon{font-size:18px}.hr-sidebar-divider{margin:14px 7px}
 .hr-main{margin-left:64px}.hr-access-shell .access-wrap.hr-main{padding:20px 16px}.hr-topbar-tools #signed-name{display:none}
}
