/* Stable workspace hierarchy; no authorisation depends on presentation. */
.workspace-sidebar{background:#fafbf8;border-right:1px solid #dce4dc;padding:2rem 1.25rem;min-width:0}
.workspace-sidebar nav{display:grid;gap:.3rem}.workspace-sidebar nav a{display:flex;align-items:center;min-height:44px;padding:.7rem .85rem;border-radius:8px;border-left:3px solid transparent;text-decoration:none;font-size:.95rem;line-height:1.4;overflow-wrap:anywhere}
.workspace-sidebar nav a:hover{background:#eef3ed}.workspace-sidebar nav a[aria-current=page]{background:#e5eee2;color:#163f3b;border-left-color:#17685f;font-weight:700}
.workspace-label{margin:0 .85rem 1rem}.workspace-admin{border-top:1px solid #dce4dc;margin-top:1.5rem;padding-top:1rem}.workspace-admin summary{cursor:pointer;padding:.8rem;font-weight:700;min-height:44px}.workspace-admin nav{margin-top:.5rem}
.workspace-sidebar .sidebar-foot{border-top:1px solid #dce4dc;margin-top:1.5rem;padding-top:1rem;overflow-wrap:anywhere}.sidebar-foot p{font-size:.8rem;line-height:1.6;color:#526763}
.workspace-toggle{display:none}.workspace-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem;margin:1.5rem 0}
.workspace-shortcut{border:1px solid #dce4dc;border-top:3px solid #6e8d80;border-radius:12px;padding:1.35rem;background:#fff;display:flex;flex-direction:column;gap:.8rem;text-decoration:none;color:#173e3a;min-width:0}.workspace-shortcut:hover{background:#f2f6f0}.workspace-shortcut span{line-height:1.6;color:#526763}
.workspace-resources{margin-top:1.5rem}.workspace-resources summary{cursor:pointer;font-weight:700;padding:.5rem 0}.workspace-resources a{display:inline-block;margin:.5rem 1.5rem .5rem 0}
.account-details{display:grid;grid-template-columns:minmax(80px,140px) 1fr;gap:.7rem}.account-details dt{font-weight:600}.account-details dd{margin:0;overflow-wrap:anywhere}
.project-context{margin:1.5rem 0}.project-context>p{font-size:.9rem;color:#526763}.project-navigation{display:flex;gap:.5rem;flex-wrap:wrap;padding:.85rem 0;border-top:1px solid #dce4dc;border-bottom:1px solid #dce4dc}.project-navigation a{border-radius:7px;padding:.65rem .85rem;min-height:44px;background:#eef3ed;text-decoration:none}.project-navigation a[aria-current]{background:#173f3b;color:#fff}
.next-step{padding:1.3rem 1.5rem;background:#edf3e9;border-left:3px solid #537c68;border-radius:0 10px 10px 0;margin:1rem 0 2rem}.next-step p{margin:.5rem 0;line-height:1.7}.workspace-section{scroll-margin-top:2rem;border-top:1px solid #dce4dc;padding-top:1.5rem;margin-top:2rem}.workspace-section>h2{font-size:1.65rem}.workspace-section .panel h2{font-size:1.3rem}
.next-actions{border-top:3px solid #6e8d80}.invitation-note{padding:1rem 0;border-top:1px solid #dce4dc}.workspace-inline-links{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem}.project-role{font-size:.86rem;color:#536c60}.workspace-sidebar a:focus-visible,.workspace-toggle:focus-visible,.project-navigation a:focus-visible,.workspace-shortcut:focus-visible,summary:focus-visible{outline:3px solid #ac583b;outline-offset:3px}
@media(max-width:900px){.workspace-sidebar{width:auto;border-right:0;border-bottom:1px solid #dce4dc;padding:1rem}.workspace-toggle{display:flex;width:100%;justify-content:space-between;align-items:center;background:#173f3b;color:white;min-height:48px;text-align:left}.workspace-label{margin-top:1rem}.workspace-sidebar nav{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.workspace-sidebar .sidebar-foot{display:none}.workspace-sidebar [hidden]{display:none!important}.project-navigation a{flex:1 1 auto;text-align:center}.account-details{grid-template-columns:1fr}.account-details dd{margin-bottom:.5rem}}
@media(prefers-reduced-motion:reduce){.workspace-sidebar *{transition:none!important}}
@media(max-width:900px){.app-shell{display:block}.workspace-sidebar{display:block;overflow:visible;flex-basis:auto}.workspace-sidebar #workspace-navigation{width:100%}.workspace-sidebar nav a{white-space:normal}}
@media print{.workspace-sidebar,.project-navigation,.workspace-shortcuts{display:none}}
