/* Progress 7.41 — one coherent Worker menu and one account-settings surface. */
/* Menu Workera batch: the Worker drawer's own light/branding theme (shell,
   header, search, groups, items, logout, footer badge) moved out of this
   file entirely, into assets/staff-nav.css's "Worker portal" section --
   same single-source-of-truth treatment already done for the Admin/PM/
   Supervisor drawer in core/Navigation.php + that file's own top section.
   Its "hidden-but-still-visible" [hidden] fix moved there too, alongside
   the rules it protects. What's left in this file is only the Worker
   account-settings hub (Profile modal) below, which this batch does not
   touch -- a separate screen from the drawer/menu, reached by clicking a
   drawer item rather than being part of the drawer itself. */
/* Account settings */
.workerProfileCard{display:flex!important;flex-direction:column!important;width:min(760px,calc(100% - 24px))!important;max-height:min(92dvh,900px)!important;padding:0!important;overflow:hidden!important;border-radius:18px!important;background:#f5f7fb!important}.workerProfileCard>.modal-head{flex:0 0 auto!important;padding:15px 18px!important;border-bottom:1px solid #dce4ee!important;background:#102a48!important;color:#fff!important}.workerProfileCard>.modal-head strong{color:#fff!important}.workerProfileCard>.modal-head span{color:#b8c8da!important}.workerProfileCard>.modal-head button{border-color:rgba(255,255,255,.14)!important;background:rgba(255,255,255,.07)!important;color:#fff!important}.workerProfileTabs{display:flex!important;flex:0 0 auto!important;gap:5px!important;padding:8px 12px!important;border-bottom:1px solid #dce4ee!important;background:#fff!important;overflow-x:auto!important;scrollbar-width:none!important}.workerProfileTabs::-webkit-scrollbar{display:none!important}.workerProfileTabs button{flex:0 0 auto!important;min-height:34px!important;padding:7px 11px!important;border:0!important;border-radius:8px!important;background:#eef2f7!important;color:#5c6c82!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important}.workerProfileTabs button.active{background:#1d5da3!important;color:#fff!important}.workerProfilePaneWrap{display:grid!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}.workerProfilePane{min-height:0!important;padding:15px 17px!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}.workerProfilePane[hidden]{display:none!important}.workerProfilePane .workerProfileSection{margin:12px 0 0!important}.workerProfileSettingsGrid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}.workerSettingsCard{display:grid!important;gap:10px!important;padding:14px!important;border:1px solid #dce4ee!important;border-radius:12px!important;background:#fff!important;box-shadow:0 5px 16px rgba(15,23,42,.04)!important}.workerSettingsCard h3,.workerSettingsCard p{margin:0!important}.workerSettingsCard h3{font-size:15px!important}.workerSettingsCard p{color:#64748b!important;font-size:11px!important}.workerSettingsCard label{display:grid!important;gap:5px!important;color:#334155!important;font-size:11px!important;font-weight:700!important}.workerSettingsCard input,.workerSettingsCard select,.workerSettingsCard textarea{width:100%!important;min-height:39px!important;margin:0!important;padding:8px 10px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;color:#172238!important;box-sizing:border-box!important}.workerSettingsCard button,.workerSettingsActions button{min-height:39px!important;padding:8px 12px!important;border:0!important;border-radius:8px!important;background:#2563eb!important;color:#fff!important;font-size:11px!important;font-weight:800!important}.workerSettingsActions{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.workerLanguageChoices{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.workerLanguageChoices label{display:flex!important;align-items:center!important;gap:8px!important;padding:9px!important;border:1px solid #dce4ee!important;border-radius:9px!important;background:#f8fafc!important}.workerLanguageChoices input{width:auto!important;min-height:0!important;margin:0!important}.workerCertificateForm .split{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}.workerCertificateList{display:grid!important;gap:7px!important}.workerCertificateRow{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;padding:10px!important;border:1px solid #dce4ee!important;border-radius:9px!important;background:#f8fafc!important}.workerCertificateRow div{display:grid!important;gap:3px!important}.workerCertificateRow small{color:#64748b!important}.workerCertificateRow>span{align-self:start!important;padding:4px 7px!important;border-radius:999px!important;background:#fff4c7!important;color:#785700!important;font-size:9px!important;font-weight:900!important;text-transform:uppercase!important}.workerCertificateRow>span.approved{background:#dcfce7!important;color:#166534!important}.workerCertificateRow>span.rejected{background:#fee2e2!important;color:#991b1b!important}.workerProfileMessage{min-height:17px!important;color:#2458a6!important;font-size:10px!important;font-weight:700!important}.workerFileControl{position:relative!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:7px!important}.workerFileControl>input[type="file"]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.workerFileButton{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:7px 11px!important;border:1px solid #bfd0e4!important;border-radius:8px!important;background:#eef5ff!important;color:#174ea6!important;font-size:10px!important;font-weight:800!important;cursor:pointer!important}.workerFileName{min-width:0!important;overflow:hidden!important;color:#64748b!important;font-size:10px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:700px){.workerProfileCard{width:calc(100% - 10px)!important;max-height:95dvh!important;border-radius:16px!important}.workerProfilePane{padding:12px!important}.workerProfileTabs{padding:7px!important}.workerProfileSettingsGrid,.workerLanguageChoices,.workerCertificateForm .split{grid-template-columns:1fr!important}.workerSettingsCard{padding:12px!important}.appOnline{gap:5px!important}.appOnline .workerOnlineDate{font-size:10px!important}}
