/* Фото к смете */
.photos-card { display: flex; flex-direction: column; gap: 10px; }
.photos-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.photos-title { font-size: 17px; font-weight: 600; color: var(--text); }
.photos-sub { font-size: 17px; color: var(--text-muted); line-height: 1.3; }
.photos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-thumb { position: relative; aspect-ratio: 1 / 1; min-height: 48px; padding: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface-2); cursor: pointer; }
.photo-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-thumb-busy { display: flex; align-items: center; justify-content: center; cursor: default; }
.photo-thumb-busy span { font-size: 17px; color: var(--text-muted); }
.photos-add-btn { width: 100%; min-height: 52px; font-size: 17px; }
.photo-viewer { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: var(--bg); }
.photo-viewer-img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.photo-viewer-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); }
.photo-viewer-bar .btn { min-height: 52px; font-size: 17px; }
