/* Client-facing summaries and shared project organization. */
#app-view .client-project-experience{display:grid;gap:20px;margin:0 0 24px}
#app-view .workspace .client-experience-panel{box-sizing:border-box;background:#fff;border:1px solid #d3d6ce;border-radius:8px;overflow:hidden;margin:0 0 22px;padding:0;color:#30382e}
#app-view .client-project-experience .client-experience-panel{margin:0}
#app-view .client-experience-heading{padding:18px 20px;background:#30382e;color:#fff;border-left:4px solid #899777}
#app-view .client-experience-heading h2{margin:0;font-size:22px;font-weight:400}
#app-view .client-experience-heading p{margin:7px 0 0;color:#e1e5d9;font-size:12px;line-height:1.5}
#app-view .client-summary-project{padding:18px 20px;border-bottom:1px solid #d3d6ce}
#app-view .client-summary-project:last-child{border-bottom:0}
#app-view .client-summary-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#app-view .client-summary-title h3{font-size:18px;margin:0;font-weight:500;overflow-wrap:anywhere}
#app-view .client-phase-label{font-size:11px;padding:5px 9px;background:#e7eddf;border:1px solid #c8d3be;border-radius:4px}
#app-view .client-summary-facts{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin:16px 0}
#app-view .client-summary-facts dt{font-size:11px;color:#68715f;margin-bottom:5px}
#app-view .client-summary-facts dd{font-size:14px;margin:0;line-height:1.5;overflow-wrap:anywhere}
#app-view .client-decision-row{padding:18px 20px;border-bottom:1px solid #d3d6ce;display:flex;align-items:center;justify-content:space-between;gap:16px}
#app-view .client-decision-row:last-child{border-bottom:0}
#app-view .client-decision-row>div:first-child{display:grid;gap:5px;min-width:0}
#app-view .client-decision-row strong{font-size:13px;overflow-wrap:anywhere}
#app-view .client-decision-row small,#app-view .client-decision-state{font-size:11px}
#app-view .client-decision-state{color:#826a1b}
#app-view .client-decision-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:stretch}
#app-view .client-decision-actions button{font-size:11px;padding:10px 12px;white-space:normal}
#app-view .client-decision-clear{padding:20px;margin:0}
#app-view .client-project-timeline{background:#fff;border:1px solid #d3d6ce;border-radius:8px;overflow:hidden}
#app-view .client-project-timeline>summary{padding:17px 20px;font-size:16px;cursor:pointer;background:#f3f4ed}
#app-view .client-project-timeline>ol{list-style:none;margin:0;padding:0 20px}
#app-view .client-project-timeline li{padding:16px 0;border-bottom:1px solid #d3d6ce;display:grid;gap:6px;overflow-wrap:anywhere}
#app-view .client-project-timeline time{font-size:10px;color:#68715f}
#app-view .client-project-timeline strong{font-size:13px}
#app-view .client-project-timeline p{font-size:12px;line-height:1.5;margin:0}
#app-view .client-project-timeline>button,#app-view .client-project-timeline>.message{margin:14px 20px}
#app-view .workspace #files-list>.document-phase-heading{grid-column:1/-1;margin:0;padding:14px 16px;background:#f0f2eb;border-top:1px solid #d3d6ce;border-bottom:1px solid #d3d6ce;font-size:15px;font-weight:400}
#app-view .document-phase-editor{display:flex;gap:8px;align-items:center;font-size:10px;margin-top:8px}
#app-view .document-phase-editor select{font-size:11px;width:auto;min-width:0;max-width:100%;padding:6px}
#app-view .workspace #files-list.client-image-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0}
#app-view .workspace #files-list.client-image-gallery>.file-row:not(.client-gallery-image){grid-column:1/-1}
#app-view .workspace #files-list.client-image-gallery>.client-gallery-image{display:flex;flex-direction:column;position:relative;gap:0;align-items:stretch;margin:0;padding:0;border:1px solid #d3d6ce;border-radius:8px!important;overflow:hidden;min-width:0}
#app-view .workspace #files-list.client-image-gallery>.client-gallery-image>.thumbnail-button{display:block;align-self:stretch;width:100%;height:auto;padding:0;border:0;max-width:none;min-width:0;background:#e9e8df;margin:0}
#app-view .workspace #files-list.client-image-gallery>.client-gallery-image .file-thumbnail{display:block;object-fit:cover;width:100%;height:auto;aspect-ratio:4/3;max-width:none;border:0;border-radius:0}
#app-view .workspace #files-list.client-image-gallery>.client-gallery-image>.file-info{padding:12px 14px;min-width:0}
#app-view .workspace #files-list.client-image-gallery>.client-gallery-image>.file-info strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#app-view .workspace #files-list.client-image-gallery>.client-gallery-image>.file-info>small{font-size:10px;margin-top:5px}
#app-view .workspace #files-list.client-image-gallery>.client-gallery-image>.file-actions,#app-view .workspace #files-list.client-image-gallery>.client-gallery-image>.image-inline-comments{display:none!important}
#app-view .workspace #files-list.client-image-gallery>.client-gallery-image>.bulk-file-choice{position:absolute;z-index:2;top:10px;left:10px;background:#fff;border:1px solid #d3d6ce;border-radius:4px;padding:5px;width:auto}
.image-detail-panel{box-sizing:border-box;padding:18px 22px;background:#fff;color:#30382e;border-top:1px solid #d3d6ce;width:100%;font:13px/1.6 Inter,"Segoe UI",Arial,sans-serif}
.image-lightbox .image-stage{min-height:160px;max-height:65dvh}
.image-lightbox .image-stage>img:not(.image-expanded){max-height:62dvh}
.image-details-meta{font-size:11px;color:#68715f;margin:0 0 12px}
.document-comment-panel{display:grid;gap:14px;min-width:0}
.document-comment-panel h3{font-size:17px;font-weight:400;margin:0}
.document-comment-panel form{display:grid;gap:12px}
.document-comment-panel textarea{box-sizing:border-box;width:100%;max-width:100%;font-size:14px}
.document-comment-row{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid #d3d6ce;font-size:12px}
.document-comment-row time{font-size:10px;color:#68715f}
.document-comment-row p{margin:3px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.document-comment-actions{display:flex;gap:6px;flex-wrap:wrap}
.document-comment-actions button{font-size:11px;padding:7px 10px}
.comment-reply-context:empty{display:none}
.account-device-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #d3d6ce}
.account-device-row>div{display:grid;gap:5px;min-width:0}
.account-device-row strong{font-size:14px}.account-device-row span,.account-device-row small{font-size:11px}
@media(max-width:700px){
 #app-view .client-experience-heading{padding:16px}#app-view .client-experience-heading h2{font-size:20px}
 #app-view .client-summary-project,#app-view .client-decision-row{padding:16px}
 #app-view .client-summary-facts{grid-template-columns:1fr}
 #app-view .client-decision-row{flex-direction:column;align-items:stretch;gap:12px}
 #app-view .client-decision-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
 #app-view .client-decision-actions button{min-width:0;padding:9px 5px;font-size:10px}
 #app-view .workspace #files-list.client-image-gallery{grid-template-columns:1fr;gap:12px}
 .image-detail-panel{padding:16px}.document-comment-panel textarea{font-size:16px}
 .account-device-row{flex-wrap:wrap}.account-device-row>button{font-size:11px}
}

#app-view .client-project-info{margin:0 0 22px;background:#fff;border:1px solid #d3d6ce;border-radius:8px;overflow:hidden}#app-view .client-project-info>summary{padding:16px 20px;font-size:14px;cursor:pointer;background:#f3f4ed}#app-view .client-project-info>.project-heading{margin:0;border:0;border-radius:0}#app-view .workspace #project-view:has(.client-project-experience .client-decisions) .followup-quote-decisions{display:none!important}
