.navbar-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.navbar {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    min-height: auto !important;
}

.navbar-brand {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 2.45rem;
    letter-spacing: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.08;
    display: flex;
    align-items: center;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.site-footer {
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-columns {
        /* 2fr:1fr:1fr:1fr keeps the 40/20/20/20 ratio while letting column-gap
           subtract from the available space instead of overflowing it, which
           percentage tracks would do. */
        grid-template-columns: 2fr 1fr 1fr 1fr;
        column-gap: 1.5rem;
    }
}

.site-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-shell > main {
    flex: 1 0 auto;
}

.workspace-layout {
    display: grid;
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.workspace-sidebar {
    border-right: 1px solid #dee2e6;
    padding-right: 1.25rem;
}

.workspace-label {
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.workspace-sidebar .nav-link {
    border-radius: 0.375rem;
    color: #495057;
    padding: 0.5rem 0.75rem;
}

.workspace-sidebar .nav-link:hover,
.workspace-sidebar .nav-link.active {
    background: #e9f2ff;
    color: #0d6efd;
}

.workspace-sidebar .nav-link.disabled {
    color: #adb5bd;
    cursor: not-allowed;
}

.assumption-pill {
    align-items: center;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.3rem 0.6rem;
}

.assumption-pill.validated {
    background: #e7f7ed;
    border-color: #a9d9b8;
}

.assumption-check,
.pill-remove {
    background: transparent;
    border: 0;
    line-height: 1;
    padding: 0;
}

.assumption-check { color: #198754; }
.pill-remove { color: #6c757d; font-size: 1.1rem; }

.status-widget { background: #fff; border: 1px solid #dee2e6; border-radius: .5rem; height: 100%; padding: 1.1rem 1.2rem; }
.status-widget-label { color: #6c757d; font-size: .75rem; font-weight: 700; letter-spacing: .07em; margin: 0 0 .4rem; text-transform: uppercase; }
.status-widget-value { font-size: 1.35rem; font-weight: 700; margin: 0 0 .25rem; }
.gantt-scroll { overflow-x: auto; }
.gantt-chart { min-width: 560px; }
.gantt-months, .gantt-row { display: grid; grid-template-columns: 145px repeat(4, 1fr); }
.gantt-months { color: #6c757d; font-size: .75rem; margin-bottom: .4rem; text-align: center; }.gantt-months span:first-child { grid-column: 2; }
.gantt-row { align-items: center; font-size: .875rem; min-height: 2.45rem; }.gantt-row > span { padding-right: 1rem; }
.gantt-track { background: repeating-linear-gradient(90deg, #f8f9fa 0, #f8f9fa calc(25% - 1px), #dee2e6 calc(25% - 1px), #dee2e6 25%); grid-column: 2 / -1; height: 1.35rem; position: relative; }
.gantt-bar { border-radius: 999px; height: .7rem; left: calc(var(--start) * 1%); position: absolute; top: .325rem; width: calc(var(--span) * 1%); }.gantt-bar.complete { background: #198754; }.gantt-bar.active { background: #0d6efd; }.gantt-bar.planned { background: #9ec5fe; }
.status-list { list-style: none; margin: 0; padding: 0; }.status-list li { border-top: 1px solid #edf0f2; display: flex; gap: .8rem; padding: .8rem 0; }.status-list li:first-child { border-top: 0; padding-top: 0; }.status-list time { color: #6c757d; flex: 0 0 3.3rem; font-size: .8rem; padding-top: .1rem; }.status-list-note { color: #6c757d; }

.user-account-card > button { cursor: pointer; }
.user-account-card > button:hover { background: #f8f9fa !important; }
.user-editor-card + .user-editor-card { margin-top: 1rem; }

.proposal-intake { margin: 0 auto; max-width: 960px; width: 100%; }
.proposal-intake-title { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 300; margin: 1.5rem 0 3rem; text-align: center; }
.proposal-intake .nav-tabs { border-bottom-color: #dee2e6; justify-content: flex-start; }
.proposal-intake .nav-item { flex: 0 0 auto; }
.proposal-intake .nav-link { color: #6c757d; font-size: .875rem; padding: .55rem 1rem; }
.proposal-intake .nav-link.active { color: #212529; font-weight: 600; }
.consultation-panel { display: flex; justify-content: center; min-height: 20rem; padding: 3.5rem 1rem 2rem; }
.consultation-copy { font-size: 1.1rem; line-height: 1.75; margin-inline: auto; max-width: 700px; text-align: center; width: 100%; }
.consultation-invitation { margin: 4.5rem auto 2rem; padding: 1.5rem 2rem; }

/* Categorical palette, fixed order — do not reorder or recolor per instance. */
.career-slot-1 { background: #2a78d6; }
.career-slot-2 { background: #eb6834; }
.career-slot-3 { background: #1baf7a; }
.career-slot-4 { background: #eda100; }
.career-slot-5 { background: #e87ba4; }
.career-slot-6 { background: #008300; }

.career-bar { background: #fff; border-radius: 12px; display: flex; gap: 2px; height: 24px; overflow: hidden; width: 100%; }
.career-bar > span { display: block; flex-grow: var(--span); }

.career-legend { display: flex; flex-wrap: wrap; column-gap: 1.25rem; row-gap: .5rem; list-style: none; margin: .9rem 0 0; padding: 0; }
.career-legend li { align-items: center; color: #52514e; display: inline-flex; font-size: .8125rem; gap: .4rem; }
.career-legend .swatch { border-radius: 3px; display: inline-block; flex: none; height: 11px; width: 11px; }

@media (max-width: 767.98px) {
    .workspace-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .workspace-sidebar {
        border-bottom: 1px solid #dee2e6;
        border-right: 0;
        padding-bottom: 1rem;
        padding-right: 0;
    }
}
