/* Readable Byggspor topbar menus; native selects remain the change-event source. */
.topbar #authButton{min-height:44px;padding:5px 12px 5px 5px;gap:9px}.topbar #authButton .user-button-name{font:500 15px var(--bs-font-family)}.topbar #authButton .user-button-initials{width:32px;height:32px;font-size:13px}
.project-native-select{display:none!important}.project-context .project-chevron{display:none}.project-chooser-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:46px;padding:10px 13px;border:1px solid #cbd6da;border-radius:8px;background:#fff;color:#182f3d;font:400 16px var(--bs-font-family);text-align:left;line-height:1.4;cursor:pointer}.project-chooser-trigger>span{font-size:18px}.topbar .project-context{min-width:220px;max-width:480px}.topbar .project-label{font-size:11px;font-weight:500;letter-spacing:.06em}.topbar .project-chooser-trigger{padding:6px 10px;min-height:40px;border-color:#ffffff20;background:#ffffff08;color:#fff;font-weight:500}.project-chooser-trigger:hover{border-color:#6ca88e}.project-chooser-trigger:focus-visible{outline:3px solid #6ca88e;outline-offset:2px}.project-chooser-dialog{width:min(650px,calc(100vw - 32px))}.project-chooser-body{padding:20px 24px 24px}.project-chooser-body .module-register-search{display:block}.project-chooser-list{max-height:min(54vh,540px);overflow-y:auto;margin-top:16px}.project-chooser-list h3{font:500 12px var(--bs-font-family);letter-spacing:.04em;text-transform:uppercase;color:#657582;margin:18px 4px 8px}.project-chooser-list h3:first-child{margin-top:0}.project-choice{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:78px;width:100%;padding:14px;border:1px solid #e1e8ea;border-left:3px solid transparent;border-radius:9px;background:#fff;color:#304352;text-align:left;margin-bottom:8px;cursor:pointer}.project-choice:hover{background:#f4f9f6;border-color:#b7d9c9}.project-choice.active{background:#eaf5f0;border-left-color:#2d8f68}.project-choice strong{display:block;font:500 16px var(--bs-font-family);line-height:1.4;overflow-wrap:anywhere}.project-choice small{display:block;margin-top:5px;font:400 14px var(--bs-font-family);color:#657582}.project-choice-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#f1f5f7;color:#587181}.project-choice.active .project-choice-icon{background:#d9ebe2;color:#287d5e}.project-choice-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.project-choice-status{font:500 14px var(--bs-font-family);color:#287d5e}.project-choice:focus-visible{outline:3px solid #6ca88e;outline-offset:-3px}
.user-menu-project-switcher{display:none}.user-menu-project-toggle{width:100%;border:0;background:#fff;color:#182f3d;display:grid;grid-template-columns:24px minmax(0,1fr) 20px;align-items:center;gap:12px;text-align:left;padding:14px 16px;min-height:66px;font-family:var(--bs-font-family);cursor:pointer}.user-menu-project-toggle:hover{background:#f7f9fa}.user-menu-project-toggle>svg:first-child{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.user-menu-project-toggle .user-menu-copy{min-width:0}.user-menu-project-toggle .user-menu-copy strong{display:block;font:600 16px var(--bs-font-family)}.user-menu-project-toggle .user-menu-copy small{display:block;margin-top:3px;color:#65747d;font:400 14px var(--bs-font-family);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-menu-project-chevron{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}.user-menu-project-switcher.open .user-menu-project-chevron{transform:rotate(180deg)}.user-menu-project-list{margin:0 16px 14px;border:1px solid #dce3e6;border-radius:10px;overflow:hidden;background:#fff}
/* Keep the nested project buttons independent of the generic .user-menu button grid. */
#userMenu .user-menu-project-option{width:100%;min-height:54px;margin:0;border:0;border-bottom:1px solid #e8edef;border-radius:0;background:#fff;color:#18252d;display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:12px;padding:11px 14px;text-align:left;font-family:var(--bs-font-family);cursor:pointer;transform:none}
#userMenu .user-menu-project-option:last-child{border-bottom:0}#userMenu .user-menu-project-option:hover{background:#f7f9fa}#userMenu .user-menu-project-option.active{background:#eef5f2}.user-menu-project-option-copy{min-width:0;width:auto;display:block}.user-menu-project-option-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 15px var(--bs-font-family);line-height:1.35}.user-menu-project-option-copy small{display:block;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#65747d;font:400 13px var(--bs-font-family)}#userMenu .user-menu-project-check{width:28px;min-width:28px;text-align:center;color:#287d5e;font:700 16px var(--bs-font-family)}
@media(max-width:760px){.project-chooser-dialog{width:calc(100vw - 16px)}.project-chooser-body{padding:16px}.project-choice{padding:12px;gap:10px}.project-choice strong{font-size:16px}.topbar .project-context{min-width:0}.topbar .project-chooser-trigger{font-size:15px}.user-menu-project-switcher{display:block}.topbar .project-context{display:none}.user-menu-project-list{margin-left:12px;margin-right:12px}#userMenu .user-menu-project-option{padding:12px 14px;min-height:56px}}
