/* Shared, keyboard-accessible public-project navigation. Native details works without JavaScript. */
.nav-projects { position: relative; }
.nav-projects > summary { display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; padding-block: 12px; white-space: nowrap; }
.nav-projects > summary::-webkit-details-marker { display: none; }
.nav-projects > summary:hover, .nav-projects[open] > summary { color: #137c3f; }
.nav-projects > summary:focus-visible { outline: 3px solid #137c3f; outline-offset: 6px; }
.public-project-menu { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; width: 260px; max-width: calc(100vw - 40px); padding: 8px; border: 1px solid #d9dfce; border-radius: 4px; background: #fffcf5; box-shadow: 0 8px 24px #163e2a20; color: #20372a; }
nav .public-project-menu a { display: block; padding: 12px; min-height: 44px; font-size: 14px; line-height: 1.4; white-space: normal; }
nav .public-project-menu a:hover, nav .public-project-menu a[aria-current="page"] { background: #f1f3e6; color: #137c3f; }
@media(max-width:600px) { .nav-projects > summary { min-height: 44px; padding: 8px 4px; white-space: normal; line-height: 1.4; } }
