/* PRJ-001 customer project workspace; immutable customer-r194 asset. */
.customer-portal #customerProjectsView{min-width:0;overflow-x:hidden}
.customer-portal #customerProjectsView .customer-project-records{min-width:0;padding:12px;border-radius:12px}
.customer-portal #customerProjectsView .customer-project-controls-card{margin-bottom:10px;padding:12px;border:1px solid #dfe6f1;border-radius:11px;background:#f8faff}
.customer-portal #customerProjectsView .customer-project-record-head{display:grid;grid-template-columns:minmax(180px,auto) minmax(420px,1fr);gap:10px 16px;align-items:center;margin:0}
.customer-portal #customerProjectsView .customer-project-title-block{min-width:0}
.customer-portal #customerProjectsView .customer-project-title-line{display:flex;align-items:center;gap:8px}
.customer-portal #customerProjectsView .customer-project-title-block>span{display:block;margin-top:3px;color:#7a879b}
.customer-portal #customerProjectsView .customer-project-view-switch{display:none!important}
.customer-portal #customerProjectsView .customer-project-stats{display:grid;grid-template-columns:repeat(6,minmax(76px,1fr));gap:6px;min-width:0;margin:0}
.customer-portal #customerProjectsView .customer-project-stats button{min-width:0;min-height:38px;padding:6px 9px;border-radius:8px}
.customer-portal #customerProjectsView .customer-project-stats button.active{outline:2px solid #3564df;outline-offset:1px}
.customer-portal #customerProjectsView .customer-project-stats .stat-change_pending{color:#7147bd;border-color:#d9cbf4;background:#f6f1ff}
.customer-portal #customerProjectsView .customer-project-record-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(260px,1fr) auto auto auto auto auto;gap:7px;min-width:0;margin:0}
.customer-portal #customerProjectsView .customer-project-record-actions input{min-width:0;width:100%}
.customer-portal #customerProjectsView .customer-project-results-card{min-width:0;overflow:visible}
.customer-portal #customerProjectsView .project-report-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
.customer-portal #customerProjectsView .project-report-card{min-width:0;padding:12px 13px;border-radius:10px;box-shadow:0 4px 12px rgba(30,48,78,.05)}
.customer-portal #customerProjectsView .project-report-card header{align-items:flex-start}
.customer-portal #customerProjectsView .project-card-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-portal #customerProjectsView .project-report-card footer{gap:6px 10px}
.customer-portal #customerProjectsView .project-report-actions{margin-left:auto}
.customer-portal #customerProjectsView .customer-project-card-summary{display:grid;gap:7px;margin:9px 0;padding:9px 0;border-top:1px dashed #e2e7f0;border-bottom:1px dashed #e2e7f0}
.customer-portal #customerProjectsView .customer-project-card-summary>span:not(.customer-project-card-metrics){display:grid;min-width:0;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:8px}
.customer-portal #customerProjectsView .customer-project-card-summary small{color:#8a94a6;font-size:10px}
.customer-portal #customerProjectsView .customer-project-card-summary b{min-width:0;overflow:hidden;color:#2b3850;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.customer-portal #customerProjectsView .customer-project-card-metrics{display:flex;min-width:0;align-items:center;gap:8px}
.customer-portal #customerProjectsView .customer-project-card-metrics b{color:#16834d;font-size:12px}
.customer-portal #customerProjectsView .customer-project-card-metrics i{padding:3px 7px;border-radius:999px;color:#58667d;background:#f0f3f8;font-size:9px;font-style:normal;white-space:nowrap}
.customer-portal #customerProjectsView .customer-project-card-tools{display:flex;align-items:center;gap:6px;margin-left:auto}
.customer-portal #customerProjectsView .customer-project-card-detail{position:relative}
.customer-portal #customerProjectsView .customer-project-card-detail>summary{display:inline-flex;height:25px;align-items:center;padding:0 8px;border:1px solid #d5deec;border-radius:5px;color:#526078;background:#fff;font-size:10px;font-weight:700;list-style:none;cursor:pointer}
.customer-portal #customerProjectsView .customer-project-card-detail>summary::-webkit-details-marker{display:none}
.customer-portal #customerProjectsView .customer-project-card-detail[open]>summary{color:#3155c6;border-color:#c1d0f4;background:#edf2ff}
.customer-portal #customerProjectsView .customer-project-card-detail>div{position:absolute;z-index:20;right:0;bottom:calc(100% + 8px);display:grid;width:min(340px,calc(100vw - 40px));grid-template-columns:1fr 1fr;gap:9px 12px;padding:12px;border:1px solid #d6dfed;border-radius:9px;background:#fff;box-shadow:0 16px 36px rgba(24,41,72,.18)}
.customer-portal #customerProjectsView .customer-project-card-detail>div span{display:grid;min-width:0;gap:3px}
.customer-portal #customerProjectsView .customer-project-card-detail>div .wide{grid-column:1/-1}
.customer-portal #customerProjectsView .customer-project-card-detail>div small{color:#8a94a6;font-size:9px}
.customer-portal #customerProjectsView .customer-project-card-detail>div b{overflow-wrap:anywhere;color:#344158;font-size:10px}
.customer-portal #customerProjectsView #customerProjectPager{margin-top:10px}
.customer-portal #customerProjectsView #customerProjectPager .customer-portal-pager{width:100%}
@media(max-width:1180px){.customer-portal #customerProjectsView .customer-project-record-head{grid-template-columns:1fr}.customer-portal #customerProjectsView .customer-project-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-portal #customerProjectsView .project-report-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.customer-portal #customerProjectsView .customer-project-records{padding:8px}.customer-portal #customerProjectsView .customer-project-controls-card{padding:9px}.customer-portal #customerProjectsView .customer-project-title-block>span{display:none}.customer-portal #customerProjectsView .customer-project-stats{display:flex;overflow-x:auto;padding:2px;scrollbar-width:none}.customer-portal #customerProjectsView .customer-project-stats::-webkit-scrollbar{display:none}.customer-portal #customerProjectsView .customer-project-stats button{flex:0 0 88px}.customer-portal #customerProjectsView .customer-project-record-actions{grid-template-columns:1fr 1fr}.customer-portal #customerProjectsView .customer-project-record-actions input{grid-column:1/-1}.customer-portal #customerProjectsView .customer-project-record-actions #openCustomerProjectFormBtn{grid-column:1/-1}.customer-portal #customerProjectsView .project-report-list{grid-template-columns:1fr}.customer-portal #customerProjectsView .project-report-card{padding:11px}.customer-portal #customerProjectsView .customer-project-card-detail>div{position:fixed;right:12px;bottom:72px;left:12px;width:auto}.customer-portal #customerProjectsView .customer-portal-pager{align-items:stretch;flex-wrap:wrap}.customer-portal #customerProjectsView .customer-portal-pager>span:first-child{flex-basis:100%}.customer-portal #customerProjectsView .customer-portal-pager label:last-child{display:none}}
