.build-record{max-width:1120px;margin:auto;padding:1.25rem 1rem 3rem;color:#172c39}.record-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.4rem}.record-heading h1{margin:.1rem 0 .6rem}.record-eyebrow{font-size:.85rem;font-weight:700;color:#4c6271;margin:0}.record-card{padding:1.25rem;border:1px solid #d7e1e5;border-radius:.75rem;background:#fff;margin:1rem 0;overflow-wrap:anywhere}.record-card h2{font-size:1.25rem;margin:.6rem 0}.record-card h3{font-size:1.08rem}.record-muted{color:#536774;font-size:.9rem}.record-meta,.record-actions,.record-filters{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:center}.record-meta{font-size:.87rem;color:#536774}.record-actions a,.record-filters a,.record-minor-link{display:inline-flex;align-items:center;min-height:44px}.record-filters a{padding:.25rem .8rem;border:1px solid #b9cbd2;border-radius:2rem}.record-filters [aria-current=page]{background:#174b55;color:white;border-color:#174b55}.record-filter-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;align-items:end}.build-record label{display:block}.build-record input:not([type=checkbox]):not([type=hidden]),.build-record select{width:100%;min-height:44px;border:1px solid #94a7b1;border-radius:.35rem;padding:.4rem .6rem;background:#fff;color:#172c39}.build-record input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:.4rem}.build-record fieldset{border:1px solid #d7e1e5;padding:1rem;margin:1rem 0}.build-record legend{font-size:1rem;font-weight:700;float:none;width:auto;padding:0 .4rem}.record-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.4rem}.record-checks label{padding:.6rem 0}.build-record summary{cursor:pointer;min-height:44px;padding:.65rem 0;font-weight:600}.record-text{white-space:normal;line-height:1.65;max-height:28rem;overflow:auto}.record-thumbnails{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.record-thumbnails a{display:flex;align-items:center;justify-content:center;width:140px;min-height:90px;border-radius:.5rem;overflow:hidden;background:#eef3f5}.record-thumbnails img{width:140px;height:105px;object-fit:cover}.record-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.record-details dt{font-size:.85rem;color:#536774}.record-details dd{margin:0;font-weight:600}.record-alert{padding:1rem;border:2px solid #a04a25;background:#fff7ee;border-radius:.5rem}.record-success{padding:1rem;border:1px solid #58926d;background:#f0faf3;border-radius:.5rem}.record-group-title{margin:1.8rem 0 .8rem;font-size:1.4rem}.record-org-toggle{margin-left:auto}.record-minor-link{font-size:.9rem;margin-right:1rem}.build-record button{min-height:44px}.build-record .item-quick-edit{margin:1rem 0}.record-log:target,.record-card:target{outline:3px solid #c4933a;scroll-margin-top:6rem}.nppsc-project-nav details{position:relative}.nppsc-project-nav summary{cursor:pointer;padding:.6rem;min-height:44px}.nppsc-project-nav .record-more-links{display:flex;flex-wrap:wrap;gap:.35rem}.nppsc-project-nav details[open]{flex-basis:100%}@media(max-width:600px){.build-record{padding:.8rem .7rem 2rem}.record-card{padding:1rem}.record-heading .btn{width:100%}.record-filter-form{grid-template-columns:1fr}.record-actions{align-items:stretch}.record-checks{grid-template-columns:1fr}.record-thumbnails a,.record-thumbnails img{width:115px}.record-text{max-height:none}}

/* Primary sections stay reachable without sideways scrolling. */
.nppsc-project-nav{flex-wrap:wrap;overflow:visible}
.nppsc-project-nav>details{margin:0;padding:0;border:0;background:transparent}
.nppsc-project-nav>details>summary{padding:.5rem .75rem;min-height:44px;border:1px solid #cbd5e1;border-radius:.5rem;gap:.35rem}
.nppsc-project-nav>details>summary:after{width:20px;height:20px;border:0}
.nppsc-project-nav>details[open]{flex-basis:100%}
.nppsc-project-nav a{min-height:44px}
@media(max-width:767px){.nppsc-project-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;padding:.6rem}.nppsc-project-nav>a{justify-content:center;white-space:normal;padding:.4rem;font-size:.85rem}.nppsc-project-nav>details{min-width:0}.nppsc-project-nav>details>summary{font-size:.85rem}.nppsc-project-nav>details[open]{grid-column:1/-1}.nppsc-project-nav .record-more-links{padding-top:.5rem}}
