/* Studio dashboard and project workspace reference refinement. */
.portal-shell{max-width:1920px;grid-template-columns:230px minmax(0,1fr)}
.portal-shell main{padding:0 32px 50px;background:#fff}
.portal-shell .portal-sidebar{padding:30px 24px;background:#ffffff}
.portal-shell .topbar{border:0;min-height:54px;color:#777;font-size:10px}
.portal-shell .page-heading{margin:15px 0 20px}
.portal-shell .page-heading h1{font-size:clamp(34px,3.6vw,55px);letter-spacing:-1.5px}
.portal-shell .page-heading #dashboard-description{font:16px/1.5 Arial,sans-serif;color:#666}
.portal-shell .eyebrow{font-family:Arial,sans-serif;font-weight:700;font-size:11px;letter-spacing:2px}
.portal-shell .metrics{gap:12px}
.portal-shell .metrics .metric{padding:22px 18px;box-shadow:none;border-color:#efe9e9;border-radius:10px;align-items:flex-start}
.portal-shell .metrics .metric:nth-child(1){background:#f0f4f7}.portal-shell .metrics .metric:nth-child(2){background:#ffffff}.portal-shell .metrics .metric:nth-child(3){background:#f0f7f2}.portal-shell .metrics .metric:nth-child(4){background:#f0f4f7}
.portal-shell .metrics .metric div>span{font:13px/1.4 Arial,sans-serif}
.portal-shell .metrics .metric strong{font-size:33px;font-weight:400}
.portal-shell .dashboard-columns{grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:16px}
.portal-shell .dashboard-panel{box-shadow:none;border-color:#e9e6e3;border-radius:9px;padding:22px}
.portal-shell .dashboard-panel>.section-heading{border:0;padding:0;margin-bottom:18px}
.portal-shell .dashboard-panel h2{font-size:28px;letter-spacing:-.7px}
.project-filter-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 23px}
.project-filter-chip{background:#fff;color:#333;border:1px solid #ddd;border-radius:6px;font-size:11px;padding:8px 12px}
.project-filter-chip.selected{background:#3f5b8c;border-color:#3f5b8c;color:#fff}
.portal-shell .project-table-heading,.portal-shell .project-card{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(90px,1fr) minmax(90px,1fr) 65px;gap:12px;align-items:center}
.project-table-heading{font:10px/1.3 Arial,sans-serif;text-transform:uppercase;color:#777;padding-bottom:10px;border-bottom:1px solid #eee}
.portal-shell .project-card{width:100%;text-align:left;padding:12px 0;border-color:#eee}
.project-row-identity{display:flex;align-items:center;gap:14px;min-width:0}
.portal-shell .project-thumbnail{width:78px;height:61px;aspect-ratio:auto;background:#f4efe8}
.portal-shell .project-card h3{font-size:18px;margin:0;line-height:1.25;letter-spacing:-.4px}
.portal-shell .project-card p{font-size:11px;color:#777;margin:5px 0 0}
.project-row-date,.project-row-hours{font-size:11px;color:#333}
.project-row-hours{display:flex;justify-content:space-between;align-items:center}.project-row-hours>span{font-size:24px}
.portal-shell .pill{font:12px/1.25 Arial,sans-serif;border-radius:9px;padding:6px 10px;display:inline-block;background:#f0f4f7;color:#3f5b8c}
.portal-shell .pill.progress{background:#e5f2e7;color:#215b34}.portal-shell .pill.feedback{background:#f0e8fa;color:#67389a}.portal-shell .pill.completed{background:#e5f3fa;color:#14618a}
.portal-shell .activity-item{padding:14px 0 14px 20px;border-color:#eee}.portal-shell .activity-item time{font-size:11px}.portal-shell .activity-item strong{font-size:13px}
.portal-shell .quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.portal-shell .quick-actions button{background:#fff;border:1px solid #ece5e4;text-align:left;color:#222;font-size:12px;padding:15px}
.portal-shell .dashboard-bottom>.dashboard-panel{background:#f0f4f7}.portal-shell .help-panel{background:#f8f5ef;border:1px solid #ece7df;border-radius:9px}
.portal-shell .project-hero h1{font-size:clamp(35px,4vw,58px);letter-spacing:-1.5px}
.portal-shell .project-client-identity{gap:12px;margin:0 0 15px;font-size:12px;color:#666}.portal-shell .project-client-identity img{width:90px;height:45px}
.portal-shell .project-client-type{font-size:12px!important;color:#666;margin:10px 0}
.project-workspace-top{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;margin:25px 0 12px;align-items:stretch}
.project-snapshot{display:flex;gap:24px;align-items:center;background:#f8f5f0;padding:22px;border-radius:7px;min-width:0}
.project-snapshot-cover{width:145px;max-height:205px;object-fit:contain;border-radius:5px;flex-shrink:0;background:#eee8dd}
.project-snapshot-copy{flex:1;min-width:0}
.portal-shell .project-key-facts{margin:0 0 17px;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}
.portal-shell .project-key-facts>div{padding:0 0 0 16px;background:none;border:0;border-left:1px solid #e6ddd5;border-radius:0}
.portal-shell .project-key-facts>div:first-child{border:0;padding:0}.portal-shell .project-key-facts>div>span:first-child{font:11px Arial,sans-serif;color:#777}
.portal-shell .project-key-facts strong{font:21px/1.3 Palatino,Georgia,serif}.portal-shell .project-key-facts .pill{font:18px Palatino,Georgia,serif;background:#f5e4d8}
.project-snapshot-description{font:13px/1.65 Arial,sans-serif;color:#444;border-top:1px solid #e6ddd5;padding-top:16px;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.project-next-steps{padding:22px;background:#f0f4f7;border-radius:7px}.project-next-steps h2{font-size:25px}.project-next-steps .button{margin-top:22px;width:100%}.project-next-steps .task-row{font-size:13px}
.portal-shell .project-heading-actions{justify-content:flex-end;margin:4px 0 22px}.portal-shell .project-heading-actions .quiet{background:#3f5b8c;color:white;padding:12px 18px;border-radius:5px}
.portal-shell .workspace-grid{grid-template-columns:minmax(0,1fr) 280px;align-items:start}
.portal-shell .project-summary{display:flex;flex-direction:column}.portal-shell .project-summary>.side-panel:last-child{order:-1}
.portal-shell .side-panel{border:1px solid #e8e4e0;background:#fff;box-shadow:none;border-radius:7px;padding:20px}
.portal-shell .side-empty{background:white;border:1px dashed #ddd;border-radius:5px}.portal-shell .tabs{gap:20px;border-color:#e8e4e0}.portal-shell .tab{font-size:12px}
.portal-shell .overview-top{grid-template-columns:1fr}.portal-shell .overview-panel{box-shadow:none;background:#fff;border-color:#e8e4e0}
.portal-shell .project-folder-roots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}
.portal-shell .project-folder-roots .button{display:flex;gap:14px;align-items:center;justify-content:flex-start;padding:17px 14px;text-align:left;background:#f0f4f7;color:#3f5b8c;border:1px solid #f3e3c7;font-size:13px}
.portal-shell .project-folder-roots .button.secondary{background:#fff;color:#222;border-color:#e7e4e1}
.project-folder-roots small{display:block;font-size:11px;font-weight:400;color:#777;margin-top:5px}
.project-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.portal-shell .project-file-grid .file-card{margin:0;min-width:0;border:1px solid #e6e2df;border-radius:6px;padding:7px;background:white}
.portal-shell .project-file-grid .file-thumbnail{height:150px;width:100%;border-radius:4px;margin-bottom:8px;object-fit:contain;background:#f5f0e9}
.portal-shell .project-file-grid .file-card h3{font:600 12px/1.4 Arial,sans-serif;overflow-wrap:anywhere;margin:6px 3px}
.portal-shell .project-file-grid .entry-meta{font-size:9px;display:block;color:#777;margin:3px}.portal-shell .project-file-grid .entry-meta span{display:block;margin-top:3px}
.portal-shell .project-file-grid .small{font-size:10px;margin:5px 3px}.portal-shell .project-file-grid .file-actions{display:flex;flex-wrap:wrap;gap:7px;padding:8px 3px}.portal-shell .project-file-grid .file-actions>*{font-size:10px;line-height:1.4}
.project-file-grid>.empty{grid-column:1/-1}
@media(min-width:1250px){#dashboard .dashboard-columns:not(.dashboard-bottom){grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr)}#dashboard .dashboard-bottom{width:calc((100% - 16px)/2.8);margin-left:auto;grid-template-columns:1fr}.dashboard-bottom .help-panel{padding:20px} }
@media(min-width:1650px){.project-file-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.portal-shell{grid-template-columns:200px minmax(0,1fr)}.portal-shell main{padding-left:24px;padding-right:24px}.portal-shell .dashboard-columns{grid-template-columns:1fr}.project-workspace-top{grid-template-columns:minmax(0,1fr) 240px}.project-snapshot-cover{width:105px}.project-snapshot{gap:15px;padding:18px}.portal-shell .project-key-facts{gap:10px}.portal-shell .project-key-facts strong{font-size:17px}.portal-shell .workspace-grid{grid-template-columns:minmax(0,1fr) 240px}.project-file-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.project-workspace-top{grid-template-columns:1fr}.portal-shell .workspace-grid{grid-template-columns:1fr}.project-next-steps .task-list{grid-template-columns:1fr 1fr}.portal-shell .project-summary{display:grid;grid-template-columns:1fr 1fr}.project-next-steps .button{width:auto}.project-snapshot-cover{width:140px}}
@media(max-width:760px){.portal-shell{display:block}.portal-shell .portal-sidebar{padding:18px 22px}.portal-shell main{padding:0 20px 35px}.portal-shell .project-table-heading{display:none}.portal-shell .project-card{grid-template-columns:minmax(0,1fr) auto}.project-row-date{grid-column:1;padding-left:92px}.project-row-hours{justify-content:flex-end;gap:12px}.portal-shell .project-card h3{font-size:18px}.portal-shell .project-thumbnail{width:76px;height:65px}.portal-shell .dashboard-panel{padding:18px}.portal-shell .project-heading-actions{justify-content:flex-start;gap:10px}.portal-shell .project-summary{grid-template-columns:1fr}.portal-shell .project-folder-roots{grid-template-columns:1fr}.portal-shell .project-folder-roots .button{padding:12px}.project-snapshot{align-items:flex-start}.portal-shell .project-key-facts{grid-template-columns:1fr 1fr}.portal-shell .project-key-facts .project-stage{grid-column:1/-1}.portal-shell .project-key-facts>div{padding-left:0;border:0}.project-snapshot-cover{width:95px}.project-snapshot-description{font-size:12px}.project-next-steps .task-list{grid-template-columns:1fr}.project-file-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.project-snapshot{flex-direction:column}.project-snapshot-cover{width:100%;height:160px;object-fit:contain}.project-file-grid{grid-template-columns:1fr}.portal-shell .quick-actions{grid-template-columns:1fr}.portal-shell .metrics{grid-template-columns:1fr 1fr}.portal-shell .metrics .metric{padding:15px 10px;gap:8px}.portal-shell .metrics .metric strong{font-size:26px}}

.portal-shell .dashboard-columns{align-items:start}.dashboard-rail{display:grid;gap:14px}.dashboard-rail .quick-action-panel{background:#f0f4f7}.dashboard-rail .help-panel{padding:22px}.portal-shell .project-heading-actions{margin-top:16px;margin-bottom:16px}.portal-shell .project-workspace-top{margin-top:0}.portal-shell .project-client-identity{margin-top:0}.portal-shell .project-hero{padding-top:0}

.portal-shell .project-folder-roots .portal-icon{width:27px;height:27px;flex-shrink:0}@media(min-width:761px){.portal-shell .portal-sidebar{position:sticky;top:0;height:100vh;box-sizing:border-box;overflow-y:auto;align-self:start}}

.prospect-filters{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:25px 0}.prospect-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.prospect-card{border:1px solid #e7e2df;border-radius:9px;padding:22px}.prospect-card h2{font-size:27px}.prospect-card dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;font-size:13px;margin:20px 0}.prospect-card dt{color:#777}.prospect-card dd{margin:0;overflow-wrap:anywhere}.prospect-card details{padding:15px 0;border-top:1px solid #eee;margin-bottom:15px}.prospect-card summary{cursor:pointer;color:#3f5b8c;font-weight:600}.prospect-card details p{font-size:13px;line-height:1.6;margin-top:12px}.prospect-card .pill{margin-left:7px}.prospect-card .actions{flex-wrap:wrap}.prospect-card .button{font-size:12px}@media(max-width:1100px){.prospect-list{grid-template-columns:1fr}}@media(max-width:600px){.prospect-filters{grid-template-columns:1fr}.prospect-card{padding:18px}}
