/* Company shell; the existing HR layout and workflow styles stay in style.css. */
html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}
.login-layout{min-height:100dvh}
.sidebar nav{display:grid;gap:8px}.sidebar .nav-item{text-decoration:none;min-height:44px;background:transparent;color:#74837e}
.sidebar .nav-item[aria-current=page]{background:#edf5f1;color:#227367}
.sidebar .nav-item:focus-visible,.module-card:focus-visible{outline:3px solid #8acbc4;outline-offset:3px}
header{gap:18px}.breadcrumb{display:flex;align-items:center;gap:10px;min-width:0;white-space:nowrap}
.breadcrumb span{padding:0}.breadcrumb span:first-child{color:#7f8c88}.breadcrumb span:last-child{color:#60746b;overflow:hidden;text-overflow:ellipsis}
.account{min-width:0}#actor-name{min-width:0;max-width:24ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account .quiet{flex-shrink:0;white-space:nowrap;min-height:44px}
.workbench-message{font-size:13px;color:#758382;line-height:1.8;margin:0 0 20px}.workbench-message:empty{display:none}
.portal-title{margin-bottom:48px}.portal-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
.portal-section-heading h2{font-size:16px;font-weight:600;margin:0}.portal-section-heading>span{font-size:12px;color:#7c8c84}
.portal-section-heading b{font-weight:550;font-variant-numeric:tabular-nums;color:#496b5a}
.module-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px}
#module-list,#future-module-list{display:grid;gap:18px;min-width:0}
.module-card{display:flex;flex-direction:column;min-height:302px;padding:28px;border:1px solid #dfe7e2;border-radius:12px;background:#fff;text-decoration:none;color:#1e3031;min-width:0}
.module-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}
.module-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:10px;background:#edf5f1;color:#227367}
.module-icon svg{width:25px;height:25px}.module-status{font-size:11px;color:#5c7d6c;background:#edf5f1;padding:5px 8px;border-radius:4px}
.module-card h3{font-size:23px;font-weight:550;margin:0 0 12px;letter-spacing:-.02em}.module-card p{font-size:13px;line-height:1.9;color:#6d8177;margin:0 0 15px;overflow-wrap:anywhere}
.module-card small{font-size:11px;color:#8a9a92;line-height:1.8}.module-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf1ee;margin-top:auto;padding-top:20px;color:#227367;font-size:13px;font-weight:550}
.module-arrow{font-size:21px;line-height:1}.module-card.module-planned{background:#f8faf8;border-color:#e6ebe7}
.module-planned .module-icon{background:#edf0ed;color:#8c9991}.module-planned .module-status{background:#edf0ed;color:#85938a}.module-planned h3{color:#7a8a80}.module-planned small{margin-top:auto}
.module-empty{padding:32px;border:1px solid #e2e8e6;border-radius:12px;font-size:14px;line-height:1.9;color:#758382}
.portal-note{display:flex;gap:10px;align-items:flex-start;margin-top:27px;color:#8a9a91;font-size:12px;line-height:1.9}.portal-note>span{color:#5d9179}.portal-note p{margin:0}
button,a[data-workbench-route]{touch-action:manipulation;user-select:none;-webkit-user-select:none}
.module-ready:active{transform:scale(.995)}
@media(hover:hover) and (pointer:fine){.module-ready:hover{border-color:#91b5a0;background:#fdfefd}.sidebar .nav-item:hover{color:#227367;background:#f4f8f5}}
@media(max-width:1050px){.module-layout{grid-template-columns:1fr 1fr}.module-card{padding:24px}}
@media(max-width:640px){
 .sidebar{padding-top:max(18px,env(safe-area-inset-top));padding-bottom:12px}.sidebar nav{display:flex;gap:10px;margin-top:14px}
 .sidebar .nav-item{display:flex;gap:8px;padding:9px 12px;font-size:13px}.sidebar .brand{font-size:15px}
 .portal-title{margin-bottom:32px}.portal-title>.tag{white-space:normal;max-width:105px;line-height:1.6;margin-top:16px}
 .portal-section-heading{align-items:baseline;gap:10px}.portal-section-heading>span{font-size:11px}
 .module-layout{grid-template-columns:1fr;gap:18px}.module-card{min-height:265px;padding:24px}.module-head{margin-bottom:20px}
 .module-planned{min-height:210px}.portal-note{font-size:11px}.content{padding-bottom:max(26px,env(safe-area-inset-bottom))}
 .intro{padding-top:max(25px,env(safe-area-inset-top))}header{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
 .breadcrumb{max-width:30%;flex-shrink:0}.breadcrumb span:nth-child(-n+2){display:none}.account{max-width:65%;margin-left:auto}
}
/* Prevent input zoom on touch devices without disabling user zoom. */
@media(pointer:coarse){input,select,textarea{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.module-ready:active{transform:none}}
