.project-detail-layout{--detail-cream:#f8f6ef;--detail-ink:#233e40;--detail-green:#416c5d;--detail-line:#e4e7e2;color:var(--detail-ink)}
.project-milestone-surface{background:var(--detail-cream);border:1px solid #e5e4dc;border-radius:25px;padding:26px}.project-step-layout{display:grid;grid-template-columns:216px minmax(0,1fr);gap:22px}.current-stage-card,.project-milestones-card{background:#fff;border:1px solid #e4e7e2;border-radius:18px;min-width:0;box-shadow:0 5px 16px #3d4e3b04}.current-stage-card{aspect-ratio:1;align-self:start;min-height:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:20px 16px}.current-stage-card>p{margin:0 0 8px;color:#6b7770;font-size:12px}.current-stage-card h2{font-size:clamp(20px,2vw,27px);letter-spacing:-.8px;line-height:1.2;margin:0;font-weight:700}.step-illustration{display:grid;place-items:center;width:85px;height:85px;border-radius:50%;background:#e9f0e5;color:#5b7e61;margin:15px 0 10px}.step-illustration svg{width:58px;height:58px}.step-current-caption{font-size:10px;color:#5f6e60;line-height:1.5}
.project-milestones-card{padding:24px;display:flex;flex-direction:column;justify-content:space-between}.project-path-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.project-panel-eyebrow{font-size:10px;color:#5d6b5e;margin:0 0 8px;letter-spacing:.4px}.project-path-heading h2{font-size:17px;font-weight:650;letter-spacing:-.3px;margin:0;line-height:1.35}.milestone-position{font-size:10px;white-space:nowrap;background:#f3f6f0;color:#61765d;border-radius:5px;padding:5px 7px}
.project-milestone-scroll{min-width:0;overflow-x:auto;scrollbar-width:thin}.project-milestone-scroll:focus-visible{outline:2px solid #bf8e49;outline-offset:4px}.connected-project-milestones{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));list-style:none;margin:25px 0 20px;padding:0}.connected-project-milestones li{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;position:relative;padding:0 5px}.connected-project-milestones li:after{content:"";position:absolute;left:50%;top:18px;height:3px;width:100%;background:#edf0ea;z-index:0}.connected-project-milestones li:last-child:after{display:none}.connected-project-milestones .milestone-completed:after{background:var(--detail-green)}.milestone-marker{width:38px;height:38px;border:3px solid #f1f3ee;background:#fff;border-radius:50%;display:grid;place-items:center;position:relative;z-index:1;color:#fff;font-size:17px;font-weight:700;box-shadow:0 4px 8px #243a2e09}.milestone-completed .milestone-marker{background:var(--detail-green);border-color:var(--detail-green)}.milestone-current .milestone-marker{border-color:var(--detail-green);box-shadow:0 0 0 5px #edf3e9}.milestone-current .milestone-marker>span{width:10px;height:10px;background:var(--detail-green);border-radius:50%}.milestone-upcoming .milestone-marker i{width:5px;height:5px;background:#cbd3c7;border-radius:50%}.connected-project-milestones strong{font-size:11px;line-height:1.4;font-weight:600;min-height:31px;margin-top:11px;max-width:110px;color:#5c6b5c}.milestone-current strong{color:#254d3f}.milestone-state{font-size:9px;color:#65715f;line-height:1.4;margin-top:3px}.milestone-current .milestone-state{color:#537b5b;font-weight:650}
.project-handoff-summary{display:flex;align-items:center;gap:11px;border-top:1px solid #edf0e9;padding-top:14px}.handoff-symbol{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:50%;background:#eef4e8;color:#658263;font-size:15px}.project-handoff-summary p{display:grid;gap:4px;margin:0;flex-shrink:0}.project-handoff-summary p span{font-size:9px;color:#5f6f5c}.project-handoff-summary p strong{font-size:11px;font-weight:650;line-height:1.35}.project-handoff-note{font-size:10px;line-height:1.5;color:#616e5d;margin-left:auto;max-width:265px}
.project-detail-bottom{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.35fr);gap:22px;margin-top:22px}.project-roles-card,.project-history-card{border-radius:18px;background:#fffefa;min-width:0;padding:24px}.project-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.project-panel-heading h2{font-size:24px;font-weight:700;letter-spacing:-.65px;margin:0}.project-panel-heading>span{font-size:9px;text-align:right;color:#606e59}.project-panel-description{font-size:10px;color:#626e5e;line-height:1.5;margin:10px 0 0}.project-assigned-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;padding:0;margin:30px 0 12px}.project-assigned-people li{display:flex;align-items:center;flex-direction:column;gap:8px;text-align:center;min-width:0}.project-person-avatar{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#d9e7de;color:#456653;font-size:21px;font-weight:550;box-shadow:inset 0 0 0 1px #ffffffb0}.project-person-avatar.avatar-tone-1{background:#e4e9ee;color:#526d7a}.project-person-avatar.avatar-tone-2{background:#eee4d7;color:#8a7151}.project-assigned-people strong{font-size:11px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}.project-assigned-people li>span:last-child{font-size:10px;color:#5d6b59;line-height:1.4}.project-role-empty{display:grid;place-items:center;text-align:center;gap:8px;min-height:200px;padding:25px 15px}.project-role-empty>span{font-size:34px;color:#a7b69e}.project-role-empty p{font-size:12px;margin:0;line-height:1.6}.project-role-empty small{font-size:10px;color:#66715e;line-height:1.5}
.project-history-list{margin:22px 0 4px;padding:0;list-style:none}.project-history-list li{display:grid;grid-template-columns:8px minmax(0,1fr);gap:10px;padding:0 0 16px;position:relative}.project-history-list li:not(:last-child):before{content:"";position:absolute;width:1px;top:9px;bottom:0;left:3px;background:#e4e9de}.history-dot{width:7px;height:7px;border-radius:50%;background:#79946f;position:relative;z-index:1;margin-top:5px}.project-history-action{display:flex;justify-content:space-between;gap:14px;align-items:baseline}.project-history-action strong{font-size:11px;font-weight:650;line-height:1.5}.project-history-action time{font-size:9px;color:#65715f;white-space:nowrap}.project-history-actor{font-size:10px!important;color:#61745d;margin:4px 0 0!important;line-height:1.5}.project-history-detail{font-size:10px!important;color:#5d6c59;margin:6px 0 0!important;line-height:1.55}.history-admin-note{display:inline-block;font-size:9px;color:#766542;margin-top:6px;background:#f7f0df;padding:3px 5px;border-radius:4px}.project-history-link{font-size:10px;border:0;background:transparent;padding:7px 0;color:#557751;min-height:32px;font-weight:600}.project-history-link:hover{background:transparent;color:#315a32;text-decoration:underline}.project-history-link span{margin-left:8px}.project-history-empty{padding:32px 0;min-height:185px}.project-history-empty p{font-size:12px;margin:0 0 8px;color:#5e7159}.project-history-empty small{font-size:10px;color:#616e58;line-height:1.5}.project-detail-layout button:focus-visible{outline:3px solid #bf8e49;outline-offset:3px}
@media(min-width:1200px){.project-section-panel:has(.project-detail-layout){max-width:1280px}.project-step-layout{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:1000px){.project-milestone-surface{padding:18px}.project-step-layout{grid-template-columns:190px minmax(0,1fr);gap:16px}.project-milestones-card{padding:20px 16px}.current-stage-card h2{font-size:22px}.project-handoff-note{display:none}.project-detail-bottom{gap:16px}.project-roles-card,.project-history-card{padding:20px}.project-assigned-people{gap:10px}.project-person-avatar{width:58px;height:58px;font-size:18px}}
@media(max-width:760px){.project-milestone-surface{padding:14px;border-radius:20px}.project-step-layout{grid-template-columns:minmax(0,1fr);gap:14px}.current-stage-card{aspect-ratio:auto;min-height:210px;padding:20px}.current-stage-card h2{font-size:27px}.step-illustration{width:76px;height:76px;margin:12px 0 8px}.step-current-caption{font-size:11px}.project-milestones-card{padding:20px 14px}.project-path-heading{gap:10px}.project-path-heading h2{font-size:16px}.project-panel-eyebrow{font-size:10px}.project-milestone-scroll{margin:0 -2px}.connected-project-milestones{min-width:620px;margin:25px 0 20px}.connected-project-milestones li{padding:0 2px}.milestone-marker{width:29px;height:29px;border-width:2px;font-size:13px}.connected-project-milestones li:after{top:13px;height:2px}.milestone-current .milestone-marker{box-shadow:0 0 0 4px #edf3e9}.milestone-current .milestone-marker>span{width:8px;height:8px}.connected-project-milestones strong{font-size:11px;min-height:32px;margin-top:10px;line-height:1.45;letter-spacing:-.15px}.milestone-state{font-size:10px}.project-handoff-summary p span{font-size:10px}.project-handoff-summary p strong{font-size:12px}.project-detail-bottom{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:14px}.project-roles-card,.project-history-card{padding:22px 18px;border-radius:15px}.project-panel-heading h2{font-size:25px}.project-panel-description{font-size:11px}.project-assigned-people{margin-top:26px;gap:13px}.project-person-avatar{width:62px;height:62px;font-size:19px}.project-assigned-people strong{font-size:12px}.project-assigned-people li>span:last-child{font-size:10px}.project-panel-heading>span{font-size:10px}.project-history-action{align-items:flex-start;gap:10px}.project-history-action strong{font-size:12px}.project-history-action time{font-size:9px;line-height:1.5;max-width:80px;white-space:normal;text-align:right}.project-history-actor,.project-history-detail{font-size:11px!important}.project-history-list li{padding-bottom:20px}.project-history-link{font-size:11px;min-height:40px}}

/* Keep text readable at normal browser zoom; small labels never carry the only meaning. */
.project-step-layout .step-current-caption{font-size:11px}.project-path-heading h2{font-size:18px}.project-panel-eyebrow,.milestone-position{font-size:11px}.connected-project-milestones strong{font-size:12px}.milestone-state{font-size:10px}.project-handoff-summary p span{font-size:11px}.project-handoff-summary p strong{font-size:13px}.project-handoff-note{font-size:12px}.project-panel-heading>span{font-size:11px}.project-panel-description{font-size:12px}.project-assigned-people strong{font-size:13px}.project-assigned-people li>span:last-child{font-size:12px}.project-history-action strong{font-size:13px}.project-history-action time{font-size:11px}.project-history-actor,.project-history-detail{font-size:12px!important}.history-admin-note{font-size:10px}.project-history-link{font-size:12px}.project-role-empty small,.project-history-empty small{font-size:11px}
@media(max-width:760px){.connected-project-milestones strong{font-size:12px}.project-path-heading h2{font-size:17px}.project-history-action time{font-size:10px}.project-history-action strong{font-size:13px}.project-assigned-people strong{font-size:13px}.project-assigned-people li>span:last-child{font-size:11px}}
.project-history-detail,.project-history-actor,.project-handoff-summary strong{overflow-wrap:anywhere}.project-finance-note{font-size:11px;line-height:1.5;color:#6b5528;background:#faf4e5;padding:8px 10px;border-radius:7px;margin:8px 0 0}.project-detail-layout .project-assigned-people{grid-template-columns:repeat(3,minmax(0,1fr))}.project-detail-layout .project-assigned-people li>span:last-child{max-width:100%;overflow-wrap:anywhere}

/* Keep the stage card and journey proportionate; only the milestone region scrolls. */
.project-step-layout{grid-template-columns:232px minmax(0,1fr);align-items:stretch}.current-stage-card{aspect-ratio:auto;align-self:stretch;min-height:232px}.project-milestones-card{min-height:232px;padding:20px}.step-illustration{width:70px;height:70px;margin:14px 0 0}.step-illustration svg{width:48px;height:48px}.project-path-heading h2{font-size:19px}.connected-project-milestones{margin:20px 0 16px}.project-journey-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#4f6568;margin-top:12px}.project-journey-controls[hidden]{display:none}.project-journey-controls>div{display:flex;gap:8px}.project-journey-controls button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:1px solid #ced9d0;border-radius:9px;background:#fff;color:#254d3f;font-size:19px}.project-journey-controls button:disabled{opacity:.4;cursor:default}.project-milestone-scroll{max-width:100%;overscroll-behavior-x:contain;touch-action:pan-x pan-y}.project-handoff-summary p{flex-shrink:1;min-width:0}.project-handoff-note{overflow-wrap:anywhere}.project-panel-heading{flex-wrap:wrap}.project-history-action time{font-size:12px;color:#4f6568}.milestone-state{font-size:11px}.milestone-position{font-size:12px}
@media(min-width:761px) and (max-width:1100px){.project-step-layout{grid-template-columns:210px minmax(0,1fr)}.connected-project-milestones{min-width:620px}.current-stage-card{min-height:260px}.project-milestones-card{min-height:260px}}
@media(max-width:760px){.project-step-layout{grid-template-columns:minmax(0,1fr)}.current-stage-card{min-height:106px;display:grid;grid-template-columns:minmax(0,1fr) 66px;text-align:left;align-content:center;column-gap:12px;padding:18px 20px}.current-stage-card>p{grid-column:1;margin:0 0 6px}.current-stage-card h2{grid-column:1;font-size:25px}.step-illustration{grid-column:2;grid-row:1/3;margin:0;width:62px;height:62px}.step-illustration svg{width:42px;height:42px}.project-milestones-card{min-height:0;padding:18px 14px}.project-path-heading h2{font-size:19px}.project-journey-controls{margin-top:10px}.connected-project-milestones{min-width:620px;margin:17px 0 18px}.project-history-action time{font-size:12px}.project-history-actor,.project-history-detail{font-size:12px!important}}

.milestone-skipped .milestone-marker{color:#6d6759;background:#f4f1e9;border-color:#dcd4c2}.milestone-skipped .milestone-state{color:#6d6759}

/* Keep the recorded stage distinct from the signed-in person's responsibility. */
.connected-project-milestones li.milestone-actionable{background:#fff1df;border-radius:10px;box-shadow:inset 0 0 0 1px #efd6b7;padding-block:8px;margin-block:-8px}
.connected-project-milestones .milestone-actionable:after{top:26px}
.milestone-actionable .milestone-marker{border-color:#ae601d;box-shadow:0 0 0 4px #ffe7c9}
.milestone-actionable .milestone-marker>span{background:#ae601d}
.connected-project-milestones .milestone-actionable strong,.milestone-actionable .milestone-state{color:#88511c}
