.portal{max-width:1280px;margin:auto;padding:70px 6%;min-height:65vh}.login-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:8%;align-items:center}.portal h1{font-size:clamp(36px,4.5vw,64px);letter-spacing:-2px}.card{background:#f5f4f2;padding:36px;border:1px solid #e3e0dc}.card h2{font-size:28px;letter-spacing:-1px}.card label{display:block;font-weight:600;font-size:13px;margin:18px 0 6px}.card input:not([type=hidden]){display:block;width:100%;padding:13px;border:1px solid #aaa;background:white;font:inherit;border-radius:0}.card input:focus{outline:2px solid #d91c45;outline-offset:2px}.card .button{margin-top:25px;width:100%;font-size:14px}.help{font-size:12px;margin-top:24px}.help a{text-decoration:underline}.notice{padding:16px;border-left:4px solid #d91c45;background:#fff0f3;color:#7e1830}.portal-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}.documents{border-top:1px solid #ddd;margin-top:35px}.document{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 0;border-bottom:1px solid #ddd}.document h2{font-size:24px;letter-spacing:-.6px;overflow-wrap:anywhere}.document p{font-size:12px;overflow-wrap:anywhere;color:#666}.document .eyebrow{margin-bottom:12px}.document .button{flex-shrink:0}.pagination{display:flex;margin-top:25px;justify-content:center;gap:24px}.pagination a{text-decoration:underline}@media(max-width:760px){.login-grid{grid-template-columns:1fr;gap:24px}.portal{padding:35px 6%}.card{padding:24px}.portal-heading,.document{align-items:flex-start;flex-direction:column}.brand img{width:150px}header{padding:0 6%}.pagination{display:flex;font-size:12px;flex-wrap:wrap}}

.portal-sections{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #ddd;padding:0 0 16px;margin:0 0 30px}
.portal-sections a{display:block;padding:12px 22px;border:1px solid #ddd;border-radius:4px;font-size:14px;font-weight:600}
.portal-sections a.selected{background:#d91443;border-color:#d91443;color:#fff}
.portal-sections a:hover{border-color:#d91443}
.portal .section-title{font-size:26px;margin:0 0 6px}
.portal .section-description{margin:0 0 32px;color:#666}
@media(max-width:600px){.portal-sections a{padding:12px 16px}.portal-heading h1{font-size:36px}}

.project-list{display:grid;gap:20px}
.project-card{border:1px solid #dedee2;border-radius:8px;padding:28px;background:#fff}
.project-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:30px}
.project-top h3{font-size:21px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.project-status{display:inline-block;flex-shrink:0;background:#f3f3f5;padding:5px 12px;border-radius:20px;font-size:12px;font-weight:600}
.project-progress-label{display:flex;justify-content:space-between;gap:16px;font-size:13px;margin-bottom:10px}
.project-progress-label strong{font-size:18px}
.project-progress{display:block;width:100%;height:12px;border:0;border-radius:10px;overflow:hidden;background:#ececf0;accent-color:#d91443}
.project-progress::-webkit-progress-bar{background:#ececf0;border-radius:10px}
.project-progress::-webkit-progress-value{background:#d91443;border-radius:10px}
.project-progress::-moz-progress-bar{background:#d91443;border-radius:10px}
@media(max-width:600px){.project-card{padding:20px}.project-top{flex-direction:column;gap:12px}.project-top h3{font-size:19px}}

/* Portal navigation stays in the document flow, including on mobile.
   Override the shared site's generic mobile nav rules. */
.portal .portal-sections,
.portal .pagination{
  position:static;inset:auto;z-index:auto;width:auto;height:auto;
  background:transparent;box-shadow:none;transform:none;
  display:flex;flex-direction:row;
}
.portal .portal-sections{align-items:stretch;gap:8px;padding:0 0 16px;margin:24px 0 30px}
.portal .pagination{align-items:center;justify-content:center;flex-wrap:wrap;gap:16px;padding:0;margin:28px 0 0;font-size:13px}
.portal .pagination a{padding:10px 4px}
.portal-heading>div,.document>div{min-width:0}
.portal .portal-sections a.selected:hover{color:#fff}
@media(max-width:780px){
  .portal{padding:28px 6% 40px}
  .portal .portal-sections{display:grid;grid-template-columns:1fr;gap:8px;margin:24px 0;padding:0 0 20px}
  .portal .portal-sections a{padding:12px 16px;min-height:48px;font-size:14px;line-height:1.5;text-align:left}
  .portal-heading{align-items:flex-start;flex-direction:column;gap:14px}
  .portal-heading h1{font-size:34px;line-height:1.15;letter-spacing:-1px;margin:12px 0 16px}
  .portal-heading p{margin:0;font-size:14px;line-height:1.6}
  .portal-heading .button{min-height:44px;padding:10px 22px}
  .portal .section-title{font-size:26px;line-height:1.2;letter-spacing:-.7px}
  .portal .section-description{font-size:14px;line-height:1.65;margin:12px 0 24px}
  .documents{margin-top:24px}
  .document{flex-direction:column;align-items:stretch;gap:18px;padding:24px 0}
  .document h2{font-size:22px;line-height:1.3;margin:0}
  .document p{font-size:12px;line-height:1.6}
  .document .eyebrow{font-size:10px;letter-spacing:1.5px}
  .document .button{width:100%;min-height:48px;justify-content:space-between;padding:14px 18px;font-size:14px}
  .login-grid{grid-template-columns:1fr;gap:24px}
  .card{padding:22px}
  .card input:not([type=hidden]){font-size:16px;min-height:48px}
  .project-card{padding:20px}
  .project-top{flex-direction:column;gap:12px;margin-bottom:22px}
  .project-top h3{font-size:19px}
  .project-status{max-width:100%;white-space:normal}
  header .brand img{width:145px;max-width:42vw}
  header .text-link{font-size:11px;white-space:nowrap}
  footer{padding:32px 6% 24px}
  footer>div{align-items:flex-start;gap:16px}
}
