.photo-crop-dialog{width:min(460px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:1px solid #9baeb8;border-radius:16px;padding:24px;background:var(--panel,#fff);color:var(--ink,#16354a)}
.photo-crop-dialog::backdrop{background:rgba(3,20,32,.72)}
.photo-crop-dialog canvas{display:block;width:min(100%,320px);height:auto;aspect-ratio:1;margin:20px auto;border-radius:50%;outline:3px solid #ffdf00;cursor:grab;touch-action:none}
.photo-crop-dialog canvas:active{cursor:grabbing}
.photo-crop-dialog label{display:block}.photo-crop-dialog input[type=range]{display:block;width:100%;margin:12px 0 20px;accent-color:#b29b00}
.photo-crop-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.photo-crop-actions button{min-height:44px;padding:8px 14px;border:1px solid #8296a3;border-radius:6px;cursor:pointer}
.photo-crop-result{display:block;width:96px;height:96px;object-fit:cover;border-radius:50%;margin:16px 0}
.dark .photo-crop-dialog{background:#152f41;color:#eef5f8}


.profile-settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:32px;align-items:start}
.profile-photo-card{text-align:center;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--bg)}
.profile-photo-card h2,.profile-photo-card h3{font-size:19px;margin:0 0 16px}
.profile-photo-card img,.profile-photo-placeholder{width:112px;height:112px;border-radius:50%;object-fit:cover;margin:0 auto 16px;display:block}
.profile-photo-placeholder{background:#ffdd00;color:#193a50;font-size:42px;line-height:112px;font-weight:600}
.profile-photo-card input[type=file]{width:100%;font-size:12px}.profile-photo-card label{font-size:13px}
@media(max-width:850px){.profile-settings-layout{grid-template-columns:minmax(0,1fr)}.profile-photo-card{grid-row:1;max-width:340px;width:100%;justify-self:end}}

.minimal-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 32px;margin:24px 0}.minimal-profile-photo{display:flex;align-items:center;justify-content:center}
.profile-photo-trigger{display:block;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;width:112px;height:112px}.profile-photo-trigger img{width:112px;height:112px;object-fit:cover;border-radius:50%}.profile-photo-trigger .profile-photo-placeholder{margin:0}.profile-photo-trigger:hover{outline:3px solid #ffdd00;outline-offset:4px}
@media(max-width:600px){.minimal-profile-grid{grid-template-columns:minmax(0,1fr)}.minimal-profile-photo{grid-row:1;justify-content:flex-end}}

.minimal-profile-photo .profile-photo-trigger,.minimal-profile-photo .profile-photo-trigger img,.minimal-profile-photo .profile-photo-placeholder{width:160px;height:160px}.minimal-profile-photo .profile-photo-placeholder{line-height:160px;font-size:56px}

.service-map-controls{background:var(--panel,#fff);color:var(--ink,#16354a);padding:14px;border:1px solid var(--border,#ccc);border-radius:10px;width:280px;max-width:calc(100vw - 115px);box-shadow:0 2px 10px #0003}.service-map-controls label{display:block;width:100%;margin-bottom:10px;font-size:13px}.service-map-controls input{width:100%}.service-map-controls p{margin:8px 0 0;font-size:12px}.service-map-controls input[type=range]{accent-color:#aa8f00}
