/* Approved Project stages presentation: shared by list, setup and continuation. */
.pw-focus .main{margin-right:0!important;min-width:0}.pw-focus .content{max-width:1180px;margin:auto;padding:30px 32px 60px}.pw-focus .ai-workspace,.pw-focus .ai-jump,.pw-focus .setup-nav{display:none!important}.pw-focus .ps-shell{max-width:1020px}.pw-focus .page-head{align-items:center;gap:24px;margin-bottom:22px}.pw-focus .page-head h1{font-size:32px;letter-spacing:-1px}.pw-focus .page-head p{font-size:14px;margin-top:9px}.pw-focus .page-head>.row{flex-wrap:wrap;justify-content:flex-end}.pw-focus .ps-stage{border:1px solid #e2e2e2;border-radius:24px;box-shadow:none;background:#fff}.pw-focus .ps-stage-heading h1{font-size:32px;letter-spacing:-.9px}.pw-focus .ps-stage-heading .eyebrow{font-size:11px;color:#777;letter-spacing:1.3px}.pw-focus .ps-stage-heading{margin-bottom:28px}.pw-focus .btn.primary{background:#202020;color:white;border-color:#202020}.pw-focus button:focus-visible,.pw-focus a:focus-visible,.pw-focus summary:focus-visible{outline:3px solid #6f8d7c;outline-offset:3px}.pw-project:has(>.pw-stage-nav){display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}.pw-project:has(>.pw-stage-nav)>.page-head,.pw-project:has(>.pw-stage-nav)>.pw-support{grid-column:1/-1;margin-bottom:0}.pw-project:has(>.pw-stage-nav)>.ps-stage{grid-column:2;min-width:0;margin:0}.pw-stage-nav{position:sticky;top:24px;align-self:start;min-width:0;margin:0;padding:8px 0}.pw-stage-nav>.pw-stage-caption{display:block;padding:5px 13px 8px;color:#7a7e78;font-size:10px;font-weight:600;letter-spacing:1.2px;text-transform:uppercase}.pw-stage-nav .ps-progress{position:relative;display:flex;flex-direction:column;align-items:stretch;margin:0;padding:4px;gap:2px;max-height:calc(100dvh - 100px);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d7dbd7 transparent}.pw-stage-nav .ps-progress-step{flex-shrink:0;justify-content:flex-start;padding:6px 12px;color:#747474;line-height:1.4;text-align:left;white-space:normal;min-height:40px;width:100%}.pw-stage-nav .ps-progress-step>span{flex:0 0 27px}.pw-stage-nav .ps-progress-step b{font-size:12px;font-weight:600}.pw-stage-nav .ps-progress-step small{display:block;font-size:10px;font-weight:400;line-height:1.2;margin-top:3px}.pw-stage-nav .ps-progress-step.active{background:#e9eee9;color:#273e31}.pw-stage-nav .ps-progress-step:disabled{opacity:1;color:#737773;cursor:not-allowed}.pw-stage-nav .ps-progress-step:disabled>span{opacity:1;border-color:#d9ddd8;color:#737773}.pw-focus .ps-stage-footer{border-color:#e5e5e5}.pw-focus .pw-support{margin:8px 0 18px;font-size:12px;color:#737773}.pw-support>summary{cursor:pointer;width:max-content;max-width:100%;padding:6px 0}.pw-support[open]{border-bottom:1px solid #e4e4e4;padding-bottom:18px}.pw-support .panel{margin-top:12px;padding:22px;box-shadow:none}.pw-support h2{font-size:18px}.pw-support .support-context{padding:12px}.pw-support[open] #project-support-body{max-height:60vh;overflow:auto}.pw-focus .pw-support+ .pw-stage-nav{margin-top:10px}.pw-existing{border-top:1px solid #e4e4e4;margin-top:32px;padding-top:20px}.pw-existing>summary{font-size:13px;cursor:pointer;color:#646964;padding:8px 0}.pw-existing .stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0}.pw-existing .assistant{display:none}.pw-existing .stage{display:block}.pw-engineering-return{display:flex;align-items:center;gap:20px;margin:12px 0 28px}.pw-engineering-return span{font-size:12px;color:#747474}#project-stage-frame{display:block;width:100%;min-height:540px;height:700px;border:0;background:white;overflow:hidden;color-scheme:light}.pw-project-list .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:28px 0}.pw-project-list .stat{border-radius:18px;box-shadow:none;padding:22px;min-height:145px;background:#fff}.pw-project-list .stat strong{font-size:30px;margin:20px 0 12px}.pw-project-list .stat-label{font-size:12px}.pw-project-list .stat-label>svg,.pw-project-list .stat-label>.chip{display:none}.pw-project-list .stat-foot{font-size:11px}.pw-project-list>.panel{border-radius:22px;overflow:hidden;box-shadow:none}.pw-project-list .toolbar{padding:20px 24px;gap:16px;flex-wrap:wrap}.pw-project-list .toolbar .tabs{gap:5px}.pw-project-list .tabs button{border:0!important;border-radius:11px!important;font-size:13px;background:transparent;color:#777}.pw-project-list .tabs button.selected{background:#e9eee9;color:#273e31;box-shadow:none}.pw-project-list table th{background:#fafafa;font-size:10px;letter-spacing:1px;padding:16px 24px;font-weight:600;color:#777}.pw-project-list table td{padding:24px;font-size:13px}.pw-list-stage{font-size:12px!important;font-weight:600}.pw-project-list .project-symbol{background:#f5f6f4;width:40px;height:40px;border-radius:12px}.pw-project-list .project-cell strong{font-size:14px}.pw-project-list .project-cell .sub{font-size:12px;line-height:1.7}.pw-list-caption{font-size:11px;line-height:2;color:#8a8a8a;margin:24px 0;max-width:850px}.pw-focus .topbar .demo-pill{font-size:9px}.pw-focus .ps-stage .field input,.pw-focus .ps-stage .field select,.pw-focus .ps-stage .field textarea{border-color:#dedede;background:#fff;border-radius:10px}.pw-focus .ps-group h2{font-size:20px}.pw-focus .ps-upload{background:#fafbf9;border-color:#d6ddd5}.pw-focus .ps-score{background:white}.pw-focus .ps-score.received{background:#f6f8f5}.pw-focus .ps-scorecard h2{font-size:20px}
@media(max-width:1100px){.pw-project-list .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pw-focus .content{padding:26px 24px}.pw-focus .page-head{align-items:flex-start}.pw-focus .topbar{padding:16px 24px}.pw-project-list table td,.pw-project-list table th{padding:18px}.pw-project-list table td:nth-child(2),.pw-project-list table th:nth-child(2){display:none}}
@media(max-width:850px){.pw-focus .main{margin-left:0!important}.pw-focus .sidebar{display:none}.pw-focus .sidebar.mobile-open{display:flex!important;z-index:60}.pw-focus .content{padding:20px 16px 40px}.pw-focus .page-head{flex-wrap:wrap;gap:14px}.pw-focus .page-head h1{font-size:27px}.pw-focus .page-head>.row{justify-content:flex-start;gap:8px}.pw-focus .page-head .btn{min-height:38px;font-size:12px;padding:8px 12px}.pw-stage-nav .ps-progress-step{min-height:48px;padding:8px 10px}.pw-stage-nav .ps-progress-step b{font-size:12px}.pw-focus .ps-stage{padding:24px 18px;border-radius:20px}.pw-focus .ps-stage-heading h1{font-size:27px}.pw-project-list .stats{gap:10px;margin:20px 0}.pw-project-list .stat{padding:17px;min-height:125px}.pw-project-list .stat strong{font-size:25px}.pw-project-list .toolbar{padding:16px}.pw-project-list .search{width:100%;min-width:0}.pw-project-list table td,.pw-project-list table th{padding:16px 12px}.pw-project-list table td:nth-child(3),.pw-project-list table th:nth-child(3){display:none}.pw-project-list table td:last-child button{font-size:11px;white-space:nowrap;padding:8px}.pw-project-list .project-symbol{display:none}.pw-project-list table{min-width:0}.pw-focus .breadcrumb{font-size:11px}.pw-focus .top-actions{display:none}.pw-engineering-return{flex-wrap:wrap;gap:8px}.pw-list-caption{font-size:10px}.pw-focus .ps-stage-footer{flex-wrap:wrap}}

body.pw-dialog-open{overflow:hidden}
.pw-focus #project-stage-frame.pw-modal-frame{position:fixed;inset:0;z-index:10000;width:100vw!important;height:100dvh!important;min-height:0;border-radius:0}

/* The Suite sidebar provides the parent navigation; avoid a legacy floating shortcut over Project content. */
body.pw-focus>a[aria-label="Back to Construck master portal"]{display:none!important}

/* Permanent stage navigation: separate from collapsible Support and content panels. */
@media(min-width:1001px){.pw-focus .content:has(.pw-project){max-width:1440px}.pw-focus .ps-shell.pw-project{max-width:1320px}}
@media(max-width:1000px){.pw-project:has(>.pw-stage-nav){display:block}.pw-stage-nav{position:static;padding:12px 10px;border:1px solid #e0e4de;border-radius:15px;background:#fff;margin:20px 0}.pw-stage-nav>.pw-stage-caption{padding:6px 12px 10px}.pw-stage-nav>.ps-progress{display:flex;max-height:none;overflow:visible}.pw-stage-nav .ps-progress-step{min-height:48px}.pw-project:has(>.pw-stage-nav)>.page-head{margin-bottom:22px}}

#pw-study-release-register,#pw-kickoff-register,#pw-mas-update{border:0;padding:0;box-shadow:none}#pw-study-release-register>h2{display:none}#pw-study-release-register .summary-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:12px;margin:24px 0}#pw-study-release-register .summary-metrics>div{display:grid;gap:6px;border:1px solid #e2e7e1;border-radius:12px;padding:14px}#pw-study-release-register .summary-metrics strong{font-size:26px}#pw-study-release-register .summary-metrics span{font-size:10px;letter-spacing:.04em;color:#657266;line-height:1.5}#pw-study-release-register label,#pw-kickoff-register label{display:grid;gap:7px;margin:12px 0}#pw-study-release-register input,#pw-study-release-register select,#pw-study-release-register textarea,#pw-kickoff-register input,#pw-kickoff-register textarea{box-sizing:border-box;max-width:100%;padding:10px;border:1px solid #d9dfd7;border-radius:8px;font:inherit}#pw-kickoff-register input[type=checkbox]{width:auto}#pw-kickoff-register fieldset{border:1px solid #d9dfd7;border-radius:10px;margin:16px 0}#pw-kickoff-register fieldset label{display:block}#pw-kickoff-register details,#pw-study-release-register details{margin:18px 0}#pw-study-release-register p,#pw-kickoff-register p{overflow-wrap:anywhere}

/* Five grouped pre-start stages. The rail never becomes a horizontal carousel. */
.pw-focus .content,.pw-project,.pw-project>*{min-width:0;max-width:100%}
.pw-project:has(>.pw-stage-nav){grid-template-columns:250px minmax(0,1fr);gap:24px;max-width:1360px}
.pw-project>.pw-stage-nav{grid-column:1;grid-row:2;position:sticky;top:18px;padding:0;margin:0;background:#fff;border:1px solid #e3e5e2;border-radius:18px;overflow:hidden}
.pw-project>.ps-stage{grid-row:2;padding:28px;overflow-wrap:anywhere}
.pw-project>.pw-support{grid-column:1/-1;grid-row:3}
.pw-stage-menu{max-height:calc(100dvh - 45px);overflow-y:auto;overflow-x:hidden;padding:14px 10px}
.pw-stage-caption{padding:8px 12px;color:#737773;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.pw-stage-group{padding:4px 0;margin:0;border-radius:12px}.pw-stage-group.active{background:#f0f3ee}
.pw-stage-group button{display:flex;align-items:flex-start;gap:10px;width:100%;min-height:44px;white-space:normal;text-align:left;overflow-wrap:anywhere;border:0;background:transparent;color:#565e54;padding:10px 12px;cursor:pointer;font:inherit}
.pw-stage-group button:disabled{color:#888;cursor:not-allowed}.pw-stage-group .pw-main-stage>span:first-child{display:grid;place-content:center;flex:0 0 25px;height:25px;border:1px solid #d5dad2;border-radius:50%;font-size:12px}
.pw-main-stage b{font-size:12px;line-height:1.55;display:block}.pw-main-stage small{display:block;font-size:10px;line-height:1.5;margin-top:3px;color:#747b70}
.pw-substeps{margin-left:29px;padding-bottom:4px}.pw-substeps button{font-size:12px;line-height:1.5;gap:9px}.pw-substeps [aria-current=page]{font-weight:600;color:#213d2d}
.pw-live-lock{display:flex;justify-content:space-between;gap:10px;padding:18px 12px;border-top:1px solid #e4e7e1;margin-top:10px;font-size:12px;flex-wrap:wrap}
.pw-stage-toggle{display:none}.pw-stage-heading p,.ps-stage-heading p{font-size:14px;line-height:1.7;color:#72796c}.ps-stage-heading .chip{margin-top:12px;white-space:normal}
.pw-current-summary{display:flex;flex-direction:column;gap:8px;padding:20px;border:1px solid #e3e7df;border-radius:14px;margin:0 0 26px;background:#fafbf9;font-size:12px;line-height:1.6}.pw-current-summary strong{font-size:18px}.pw-current-summary small{overflow-wrap:anywhere}
.pw-workstreams{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}.pw-workstream,.pw-handover-card{padding:24px;border:1px solid #e1e6dd;border-radius:18px;background:#fff;min-width:0;margin:0 0 22px}.pw-workstream h2,.pw-handover-card h2{font-size:22px;line-height:1.4;letter-spacing:-.4px;margin:10px 0}.pw-workstream p,.pw-handover-card p{font-size:13px;line-height:1.7;color:#697463}
.pw-status-facts{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:22px 0}.pw-status-facts>div{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;min-width:0}.pw-status-facts dt{font-size:12px;color:#76806f}.pw-status-facts dd{font-size:12px;margin:0;overflow-wrap:anywhere}
.pw-handover-sequence{list-style:none;padding:0;margin:22px 0}.pw-handover-sequence li{display:flex;gap:12px;padding:12px 0;min-width:0}.pw-handover-sequence li>span{flex:0 0 18px}.pw-handover-sequence b,.pw-handover-sequence small{display:block;font-size:12px;line-height:1.7}.pw-handover-sequence small{color:#78816f}.pw-next-action{margin-top:24px;padding:22px 0;border-top:1px solid #e0e4dc}.pw-next-action .eyebrow{display:block;margin-bottom:12px}.pw-next-action p{font-size:12px;line-height:1.7}
.pw-project button,.pw-project .btn{max-width:100%;white-space:normal;min-height:44px;overflow-wrap:anywhere}.pw-project input,.pw-project select,.pw-project textarea{max-width:100%;min-width:0}.pw-project .table-scroll{max-width:100%;overflow:auto}.pw-project img,.pw-project video,.pw-project svg{max-width:100%}
@media(max-width:1100px){.pw-project:has(>.pw-stage-nav){display:block}.pw-project>.pw-stage-nav{position:sticky;top:0;z-index:25;margin:16px 0;background:#fff;border-radius:14px}.pw-stage-toggle{display:flex;width:100%;min-height:52px;padding:14px 18px;justify-content:space-between;align-items:center;gap:12px;background:#fff;border:0;border-radius:14px;text-align:left;font:inherit;font-weight:600;font-size:13px}.pw-stage-toggle span{font-size:11px;color:#75806f;font-weight:400}.pw-stage-menu{display:none;max-height:65dvh}.pw-stage-nav.is-open .pw-stage-menu{display:block}.pw-project>.ps-stage{padding:24px}.pw-project>.page-head{margin-bottom:16px}.pw-focus .content{overflow-wrap:anywhere}}
@media(max-width:600px){.pw-project>.ps-stage{padding:20px 14px}.pw-current-summary,.pw-workstream,.pw-handover-card{padding:18px}.pw-project .ps-stage-heading h1{font-size:26px;line-height:1.2}.pw-status-facts>div{display:block}.pw-status-facts dd{margin-top:4px}.pw-project .summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pw-stage-group button:disabled{opacity:1;color:#798174}.pw-stage-group button:disabled .pw-main-stage b{color:inherit}

/* Activity navigation and Distributor-only progress projection. */
.pw-project>#pw-calc-progress{grid-column:1/-1;grid-row:2;min-width:0}
.pw-project>.pw-stage-nav,.pw-project>.ps-stage{grid-row:3}
.pw-project>.pw-support{grid-row:4}
.pw-calc-strip{border:1px solid #cfd9d2;border-radius:10px;background:#f7faf7;padding:15px 18px;margin:0;color:#274232}
.pw-calc-line,.pw-calc-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px}
.pw-calc-line b{font-size:14px}.pw-calc-line strong{margin-left:auto}.pw-calc-foot{justify-content:space-between;margin-top:8px}.pw-calc-foot small{font-size:11px;color:#667368}
.pw-calc-track{height:8px;background:#e0e7e1;border-radius:3px;overflow:hidden;margin-top:11px}.pw-calc-track>span{display:block;height:100%;background:#38664d;transition:width .3s}
.pw-calc-strip details{font-size:11px;margin-top:8px}.pw-calc-strip summary{cursor:pointer}.pw-calc-strip li{margin:6px 0}
.pw-group-label{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#6b7769;padding:12px 12px 4px}
.pw-stage-group.active{background:transparent}.pw-stage-group .pw-substeps{margin:0;padding:0 4px 8px}.pw-substeps button{border-radius:7px;margin:2px 0;align-items:center}
.pw-substeps button[aria-current=page]{background:#e4eee6;border-left:3px solid #38664d;padding-left:9px;font-weight:700;color:#203e2b;box-shadow:inset 0 0 0 1px #c9d9cd}
.pw-current-summary{padding:12px 16px;font-size:12px;gap:4px;margin-bottom:20px}
.pw-drawing-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.pw-drawing-toolbar b{font-size:13px}
.pw-drawing-scope{border-top:1px solid #e0e6df;padding-top:18px;margin-top:22px}.pw-drawing-scope>h3{font-size:14px}.pw-drawing-card{padding:18px!important;margin:12px 0!important}.pw-drawing-card h3{font-size:16px}.pw-drawing-card .btn{margin:4px 6px 4px 0}
@media(max-width:1100px){.pw-calc-strip{margin:16px 0}.pw-calc-line span{flex:1 1 180px}.pw-calc-line strong{margin-left:0}.pw-calc-foot{align-items:flex-start}}

.pw-project-list .stats{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.pw-project-list .stat strong{overflow-wrap:anywhere}

/* Auxiliary Project tools share the content column, never the sticky activity rail. */
.pw-project:has(>.pw-stage-nav)>.pw-support{grid-column:2;grid-row:auto;min-width:0;width:100%;box-sizing:border-box}
.pw-project>.ps-stage>.pw-support{width:100%;min-width:0;max-width:100%;margin-top:24px;box-sizing:border-box}
.pw-project .pw-support .panel,.pw-project .pw-support #project-support-body{min-width:0;max-width:100%;box-sizing:border-box}
.pw-project .pw-support .row{flex-wrap:wrap;gap:12px}.pw-project .pw-support .support-table{min-width:760px}
@media(max-width:1100px){.pw-project:has(>.pw-stage-nav)>.pw-support{grid-column:auto}}

/* Corrections belong to the content panel, outside the activity rail grid. */
.pw-project>.ps-stage>.pc-controls{margin:0 0 24px;min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
