/* Customer-first workspace. Permissions are also checked on the server. */
body:not([data-workspace-role="staff"]) .staff-only{display:none!important}
.workspace-summary{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;gap:24px;margin:24px 0;padding:24px;border:1px solid #ced8cf;border-radius:16px;background:#f5f8f1;align-items:center}
.workspace-summary .eyebrow{font-size:10px;letter-spacing:.12em;display:block;margin-bottom:8px}
.overview-grid>.workspace-summary{grid-column:1/-1;order:2;margin:0}.overview-grid>.overview-map-panel{order:0}.overview-grid>.locations-panel{order:1}
.workspace-summary h3{margin:0;font-size:21px;color:#193d32}.workspace-summary p{margin:6px 0 0}.workspace-summary strong,.workspace-summary small{display:block}.workspace-summary small{color:#586d62;margin-top:6px}
.workspace-next-action{display:flex;flex-direction:column;gap:10px}.workspace-next-action button{white-space:normal}
.workspace-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #cdd8d1;margin:24px 0 20px;padding-bottom:8px}
.workspace-tabs button{padding:12px 16px;border:0;background:transparent;color:#40594e;border-radius:8px;font-weight:600}
.workspace-tabs button[aria-selected="true"]{background:#193e32;color:white}.workspace-tabs button:focus-visible{outline:3px solid #9cba64;outline-offset:2px}
.workspace-section[hidden]{display:none!important}.workspace-section{min-width:0}
.workspace-evidence,.document-group,.workspace-road-requirements,.workspace-road-qc{padding:16px;border:1px solid #d8dfd8;border-radius:12px;margin:16px 0;background:#fff}
.workspace-evidence>summary,.document-group>summary,.workspace-road-requirements>summary,.workspace-road-qc>summary{cursor:pointer;font-weight:600;color:#254b3b}
.workspace-evidence[open]>summary,.document-group[open]>summary{margin-bottom:18px}
.document-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(140px,.7fr) auto;gap:16px;align-items:center;border-top:1px solid #e2e7e0;padding:16px 0}
.document-row a{overflow-wrap:anywhere}.document-row small{color:#63776c}.workspace-order-picker{width:min(560px,90vw)}.workspace-order-picker>button{display:block;width:100%;margin:12px 0;text-align:left}
#workspace-section-overview .rag-summary{margin-top:16px}.workspace-section .project-info-summary:empty{display:none}
.port-supplementary{margin:16px 0}.port-supplementary .port-tabs{margin-top:12px}.port-evidence{padding:18px;border:1px solid #d5dfd5;border-radius:12px;margin-top:24px}
#workspace-section-scope .road-panel{margin-top:24px}.road-fields>[hidden]{display:none!important}
#locations-list{max-height:390px;overflow:auto;padding-right:4px}#project-detail-content>.page-heading{margin-bottom:24px;padding-bottom:0}
@media(max-width:1000px){.workspace-summary{grid-template-columns:1fr 1fr}.workspace-next-action{align-items:flex-start}}
@media(max-width:600px){.workspace-summary{gap:18px;padding:18px;grid-template-columns:1fr}.workspace-summary h3{font-size:20px}.workspace-tabs{gap:4px}.workspace-tabs button{font-size:13px;flex:1 1 42%;padding:12px 8px}.document-row{grid-template-columns:1fr;gap:8px}.document-row button{justify-self:start}.workspace-next-action,.workspace-next-action button{width:100%}.workspace-evidence .rag-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-section .project-info-fields{grid-template-columns:1fr}}
@media(max-width:600px){.overview-grid>.workspace-summary{order:1}.overview-grid>.locations-panel{order:2}#locations-list{max-height:240px}}
.survey-image-section{margin:20px 0}.survey-image-section>summary{cursor:pointer;font-weight:600;padding:8px 0}.survey-image-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:18px;margin-top:12px}.survey-image-card{min-width:0;border:1px solid #dce4dc;border-radius:8px;overflow:hidden;padding:12px;background:#fff}.survey-image-card>strong,.survey-image-card>small{display:block;margin-top:10px}.survey-image-card>small{font-size:.8125rem;color:#63776c}.survey-image-card>p{font-size:.875rem;line-height:1.5}.survey-image-preview{display:block;width:100%;padding:0;border:0;background:#edf2ef;border-radius:4px;overflow:hidden;cursor:zoom-in}.survey-image-preview img{display:block;width:100%;height:190px;object-fit:contain}.survey-image-dialog{box-sizing:border-box;width:min(1100px,94vw);max-height:94vh;overflow:auto;border:1px solid #b9cbbc;border-radius:10px;padding:20px;color:#173b32}.survey-image-dialog::backdrop{background:#10241dd0}.survey-image-dialog>button{float:right}.survey-image-dialog>img{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:16px auto}.survey-image-dialog>h3{padding-right:110px}@media(max-width:600px){.survey-image-dialog{padding:12px}.survey-image-grid{grid-template-columns:1fr}}
