.header-register {
    font-weight: 750;
    white-space: nowrap;
}
.header-register:hover { color: var(--gold); }
.field-help, .auth-privacy {
    color: var(--muted);
    font-size: 12px;
    margin: -4px 0 8px;
}
.auth-privacy { margin-top: 18px; line-height: 1.45; }
.form-error ul { margin: 8px 0 0; padding-left: 20px; }
.project-card-image { display: block; }
.project-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 18px 0;
}
.project-card-stats span { padding: 10px 12px; background: var(--background); border-radius: 7px; }
.project-card-stats strong, .project-card-stats small { display: block; }
.project-card-stats strong { color: var(--navy-dark); }
.project-card-stats small { color: var(--muted); }
.status-approved { color: #145a85; background: #e2f2fa; }
.status-implementation { color: #17643a; background: #def5e7; }
.status-completed { color: #17643a; background: #def5e7; }
.status-draft, .status-submitted, .status-paused { color: #765000; background: #fff0c7; }
.status-funding { color: #7a3d00; background: #ffead2; }
.page-hero {
    max-width: 1320px;
    margin: 0 auto;
    padding: 58px 24px 34px;
}
.compact-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}
.page-hero h1 {
    color: var(--navy-dark);
    font-size: clamp(35px, 4vw, 56px);
    line-height: 1.08;
    margin: 0 0 12px;
}
.page-hero p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 18px; }
.projects-section { padding-top: 18px; }
.filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) minmax(190px, 1fr) minmax(170px, .8fr) auto auto;
    align-items: end;
    gap: 13px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(23,52,111,.04);
}
.filter-bar label { display: grid; gap: 6px; }
.filter-bar label span { color: var(--navy-dark); font-size: 12px; font-weight: 750; }
.filter-bar input, .filter-bar select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd4e2;
    border-radius: 6px;
    padding: 0 12px;
    background: #fff;
    color: var(--text);
}
.filter-bar input:focus, .filter-bar select:focus {
    outline: 3px solid rgba(23,52,111,.11);
    border-color: var(--navy);
}
.clear-filter { min-height: 44px; display: grid; place-content: center; font-size: 13px; font-weight: 700; }
.results-heading { display: flex; justify-content: space-between; align-items: center; margin: 38px 0 16px; }
.results-heading h2 { margin: 0; }
.results-heading span { color: var(--muted); }
.project-list { display: grid; gap: 15px; }
.project-list-card {
    display: grid;
    grid-template-columns: 230px 1fr auto;
    gap: 22px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px;
}
.project-list-image { min-height: 170px; border-radius: 7px; }
.project-list-content h3 { margin: 8px 0; font-size: 24px; }
.project-list-content p { margin: 0; color: var(--muted); }
.project-list-topline { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 12px; }
.project-list-details { display: grid; grid-template-columns: repeat(4, minmax(90px, auto)); gap: 18px; margin-top: 18px; }
.project-list-details strong, .project-list-details small { display: block; }
.project-list-details strong { color: var(--navy-dark); }
.project-list-details small { color: var(--muted); }
.project-list-action { align-self: stretch; display: grid; place-content: center; padding: 0 16px; border-left: 1px solid var(--line); font-weight: 750; white-space: nowrap; }
.wide-empty { text-align: center; border-radius: 10px; }
.project-detail-shell {
    max-width: 1420px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    padding: 38px 24px 72px;
}
.breadcrumbs { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.project-title-row { display: flex; justify-content: space-between; align-items: start; gap: 25px; }
.project-title-row h1 { color: var(--navy-dark); font-size: clamp(36px, 4vw, 56px); line-height: 1.05; margin: 12px 0; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: end; }
.detail-actions button:disabled { opacity: .7; cursor: not-allowed; }
.project-cover {
    min-height: 420px;
    border-radius: 12px;
    margin: 28px 0 0;
    position: relative;
    background: linear-gradient(155deg, #95bb82 0 43%, #3e79a4 43% 58%, #ceaa63 58% 100%);
    overflow: hidden;
}
.project-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,37,88,.35), transparent 45%);
}
.project-cover-label { position: absolute; z-index: 1; left: 22px; bottom: 20px; color: #fff; font-weight: 750; }
.detail-tabs { display: flex; gap: 24px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-top: 22px; }
.detail-tabs a { padding: 17px 0 13px; white-space: nowrap; font-weight: 700; }
.detail-tabs a.active { color: var(--gold); border-bottom: 3px solid var(--gold); }
.detail-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.detail-section h2 { font-size: 30px; margin: 0 0 13px; }
.lead-text { font-size: 18px; color: var(--text); max-width: 920px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 25px; }
.benefit-grid article { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 8px; padding: 20px; }
.benefit-grid strong, .benefit-grid span { display: block; }
.benefit-grid span { color: var(--muted); font-size: 14px; margin-top: 6px; }
.small-heading { align-items: start; }
.timeline-preview { display: grid; gap: 0; margin-top: 22px; }
.timeline-preview article { position: relative; display: grid; grid-template-columns: 25px 1fr; gap: 14px; min-height: 82px; }
.timeline-preview article::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: -5px; width: 2px; background: var(--line); }
.timeline-preview article:last-child::before { display: none; }
.timeline-preview article > span { width: 16px; height: 16px; border-radius: 50%; background: #bcc5d4; margin-top: 4px; z-index: 1; }
.timeline-preview article.done > span { background: var(--success); }
.timeline-preview strong, .timeline-preview small { display: block; }
.timeline-preview small { color: var(--muted); margin-top: 4px; }
.placeholder-section { border-bottom: 0; }
.project-aside { display: grid; gap: 18px; align-content: start; padding-top: 70px; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 23px; }
.summary-card p { color: var(--muted); }
.big-number { display: block; color: var(--navy-dark); font-size: 29px; line-height: 1.15; margin-bottom: 5px; }
.progress { height: 8px; background: #edf0f5; border-radius: 99px; overflow: hidden; margin: 18px 0 10px; }
.progress span { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.progress-green span { background: var(--success); }
.summary-list { margin: 18px 0 0; }
.summary-list div { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid var(--line); }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; text-align: right; font-weight: 700; color: var(--navy-dark); }
.callout-card { border-top: 4px solid var(--gold); }
.callout-card h2 { margin-top: 0; }
.simple-message { min-height: 65vh; display: grid; place-items: center; align-content: center; text-align: center; padding: 50px 20px; }
.simple-message h1 { color: var(--navy-dark); font-size: 42px; margin: 8px 0; }
.simple-message p { color: var(--muted); }
.roadmap-done { color: var(--success) !important; }
@media (max-width: 1100px) {
    .filter-bar { grid-template-columns: 1fr 1fr; }
    .project-list-card { grid-template-columns: 190px 1fr; }
    .project-list-action { grid-column: 2; border-left: 0; justify-content: start; padding: 0; }
    .project-detail-shell { grid-template-columns: 1fr; }
    .project-aside { padding-top: 0; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .header-register { display: none; }
    .compact-hero, .project-title-row { display: block; }
    .compact-hero .button, .detail-actions { margin-top: 20px; }
    .filter-bar { grid-template-columns: 1fr; }
    .project-list-card { grid-template-columns: 1fr; }
    .project-list-image { min-height: 210px; }
    .project-list-details { grid-template-columns: 1fr 1fr; }
    .project-list-action { grid-column: 1; border-top: 1px solid var(--line); padding-top: 14px; }
    .project-cover { min-height: 280px; }
    .benefit-grid, .project-aside { grid-template-columns: 1fr; }
    .project-detail-shell { padding-left: 18px; padding-right: 18px; }
}
