.crm dialog.property-photo-workspace{width:920px;max-height:92vh;border-radius:5px}
.crm dialog.property-photo-workspace[open]{display:flex;flex-direction:column;overflow:hidden}
.property-photo-workspace .modal-head{flex:0 0 auto;gap:16px}
.property-photo-workspace .modal-head>div{min-width:0}
.property-photo-workspace .modal-head small{overflow-wrap:anywhere;display:block;line-height:1.7}
.property-photo-body{padding:24px;overflow:auto;flex:1;min-height:0}
.property-photo-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:20px}
.property-photo-heading h3{font-size:16px;line-height:1.5}
.property-photo-heading p,.property-photo-upload label span,.property-photo-upload>p{font-size:12px;color:var(--text-muted);line-height:1.8}
.property-photo-heading p{margin-top:6px;max-width:530px}
.property-photo-count{white-space:nowrap;font-size:11px;color:var(--link);border:1px solid var(--line);border-radius:3px;padding:7px 10px}
.property-photo-upload{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:18px;border:1px dashed var(--line);background:var(--surface-soft);border-radius:4px;margin-bottom:22px}
.property-photo-upload label{grid-column:1/-1;display:flex;flex-direction:column;gap:5px}
.property-photo-upload label strong{font-size:13px}
.property-photo-upload input[type=file]{width:100%;max-width:100%;min-width:0;grid-column:1;padding:8px;min-height:44px;font-size:12px;background:var(--surface);border:1px solid var(--line);border-radius:3px;box-sizing:border-box;color:var(--text-muted)}
.property-photo-upload input::file-selector-button{border:0;border-radius:3px;padding:8px 10px;margin-right:9px;color:var(--text);background:var(--surface-raised);cursor:pointer;font:inherit}
.property-photo-upload>button{grid-column:2;grid-row:2;min-height:44px}
.property-photo-upload>p,.property-photo-status,.property-photo-error{grid-column:1/-1}
.property-photo-status{font-size:12px;color:#c3e991;line-height:1.7}
.property-photo-error{font-size:12px;color:#ffbaa7;line-height:1.8;overflow-wrap:anywhere}
.property-photo-error:empty,.property-photo-status:empty{display:none}
.property-photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.property-photo-tile{border:1px solid var(--line);background:var(--surface-soft);border-radius:4px;overflow:hidden;min-width:0}
.crm .property-photo-preview{border:0;padding:0;background:var(--surface-raised);width:100%;display:block;aspect-ratio:4/3;border-radius:0;overflow:hidden;min-height:0}
.property-photo-preview img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .2s ease}
.property-photo-preview:hover img{transform:scale(1.04)}
.property-photo-tile-footer{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:8px 10px}
.property-photo-tile-footer>span{font-size:10px;color:var(--text-muted)}
.property-photo-tile-footer button{font-size:11px;min-height:44px;padding:5px 7px}
.property-photo-tile-footer button svg{width:13px;height:13px}
.property-photo-empty{padding:30px 20px;border:1px solid var(--line);border-radius:4px;text-align:center;color:var(--text-muted)}
.property-photo-empty>svg{width:30px;height:30px;margin-bottom:10px;color:var(--link)}
.property-photo-empty strong{display:block;font-size:14px;color:var(--text);line-height:1.6}
.property-photo-empty p{font-size:12px;line-height:1.8;margin-top:8px}
.property-photo-bottom{display:flex;justify-content:flex-end;margin-top:22px}
.property-photo-bottom button{min-height:44px}
.property-photo-loading{font-size:13px;color:var(--text-muted);padding:18px 0}
.property-photo-viewer>button{margin-bottom:16px;min-height:44px}
.property-photo-viewer img{display:block;width:100%;max-height:65vh;object-fit:contain;background:var(--surface-soft)}
.property-photo-viewer p{font-size:12px;text-align:center;margin-top:12px;color:var(--text-muted)}
.property-photo-cover{width:100%;height:180px;object-fit:cover;display:block}
@media(max-width:750px){.property-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.property-photo-heading{flex-direction:column;gap:10px}}
@media(max-width:480px){.crm dialog.property-photo-workspace{max-width:calc(100vw - 20px);max-height:94vh}.property-photo-body{padding:17px}.property-photo-workspace .modal-head{padding:17px}.property-photo-upload{grid-template-columns:minmax(0,1fr);padding:13px}.property-photo-upload>button{grid-column:1;grid-row:auto}.property-photo-gallery{grid-template-columns:minmax(0,1fr)}.property-photo-preview{max-height:250px}.property-photo-heading h3{font-size:15px}}
@media(prefers-reduced-motion:reduce){.property-photo-preview img{transition:none}.property-photo-preview:hover img{transform:none}}
.property-visual{position:relative;overflow:hidden}.property-visual>.property-card-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.property-visual>.reference,.property-visual>.tag{position:relative;z-index:1;background:var(--card);padding:4px 8px}.client-workspace-toolbar{flex-wrap:wrap}
