/* v0214: one coherent project page. Sections stay visible and anchor links only aid navigation. */
.app-shell .project-page-head,
.app-shell .project-errors,
.app-shell .project-edit-form,
.app-shell .project-team-panel,
.app-shell .project-next-panel{
  width:min(1400px,calc(100% - 24px));
  margin-left:auto;
  margin-right:auto;
}
.app-shell .project-page-head{margin-bottom:10px;padding:8px 0}
.app-shell .project-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.project-section-nav{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:11px;background:#f3f6f3}
.project-section-nav a{min-height:36px;display:flex;align-items:center;padding:7px 11px;border-radius:8px;color:var(--forest);font-size:11px;font-weight:850;text-decoration:none;white-space:nowrap}
.project-section-nav a:hover,.project-section-nav a:focus-visible{background:#fff;box-shadow:0 1px 5px #17302018;outline:none}
.app-shell #overview,.app-shell #team,.app-shell #next{scroll-margin-top:74px}
.app-shell .project-core-panel,.app-shell .project-team-panel,.app-shell .project-next-panel{padding:14px 16px}
.app-shell .project-edit-form{margin-bottom:10px}
.app-shell .project-team-panel,.app-shell .project-next-panel{margin-top:0;margin-bottom:10px}
.app-shell .project-section-head{margin-bottom:10px}
.app-shell .project-section-head h2{font-size:18px}
.app-shell .project-section-head p:last-child{max-width:760px;margin-top:3px}
.app-shell .project-next-panel{display:block;min-height:0}
.app-shell .project-next-panel .project-section-head{display:block;margin:0 0 10px}
.app-shell .project-next-panel .project-section-head .eyebrow{display:block}
.app-shell .project-next-panel .project-section-head h2{font-size:18px;white-space:normal}
.app-shell .project-next-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.app-shell .project-next-cards a{min-height:64px;padding:11px 13px;border-radius:10px}
.app-shell .project-next-cards strong{font-size:12px;line-height:1.2}
.app-shell .project-next-cards span{margin-top:3px;font-size:10px;line-height:1.3}

@media(max-width:900px){
  .app-shell .project-page-head{align-items:stretch}
  .app-shell .project-page-actions{width:100%;justify-content:space-between}
  .project-section-nav{overflow-x:auto;max-width:100%;scrollbar-width:none}
  .project-section-nav::-webkit-scrollbar{display:none}
  .project-section-nav a{min-height:42px}
  .app-shell .project-core-panel,.app-shell .project-team-panel,.app-shell .project-next-panel{padding:12px}
}
@media(max-width:620px){
  .app-shell .project-page-head,.app-shell .project-errors,.app-shell .project-edit-form,.app-shell .project-team-panel,.app-shell .project-next-panel{width:calc(100% - 14px)}
  .project-section-nav{order:2;width:100%}
  .project-section-nav a{flex:1;justify-content:center;padding:8px}
  .app-shell .project-next-cards{grid-template-columns:1fr}
}
