/* Progress photos sheet (public/photos-ui.js). */
.view-sheet-body > .vs-content > .ph-sheet:first-child { padding-right: 0; }
.ph-sheet .ef-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 20px 2px 10px; }
.ph-sheet .ef-sec h3 { margin: 0; font-size: 15px; font-weight: 700; }
.ph-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ph-bar .btn { flex: 1 1 auto; }
.ph-hint { margin: 10px 2px 0; }
.ph-empty p { line-height: 1.5; color: var(--muted); }
.ph-add { width: 100%; }
.ph-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ph-thumb { position: relative; display: block; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: var(--u-tile); cursor: pointer; aspect-ratio: 3 / 4; -webkit-touch-callout: none; user-select: none; }
.ph-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ph-thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); text-align: left; }
.ph-thumb.on { border-color: var(--accent); }
.ph-thumb i { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.ph-preview, .ph-big { margin-top: 12px; border-radius: 18px; overflow: hidden; background: var(--u-tile); display: flex; justify-content: center; }
.ph-preview img { max-height: 46vh; max-width: 100%; display: block; }
.ph-big img { max-height: 68vh; max-width: 100%; display: block; }
.ph-note { margin: 10px 2px 0; line-height: 1.45; }
.ph-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.ph-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ph-field input { font: inherit; font-size: 16px; font-weight: 600; color: var(--text); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel-2); }
.ph-actions { display: flex; gap: 8px; margin-top: 14px; }
.ph-actions .btn { flex: 1; }
.ph-del { color: #dc2626; }
.ph-sheet .rv-modes { margin-top: 12px; }
.ph-side { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ph-side figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--u-tile); aspect-ratio: 3 / 4; }
.ph-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 18px 10px 8px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.ph-cap b { font-size: 13px; }
.ph-cap small { font-size: 12px; font-weight: 600; opacity: .85; }
.ph-slide { position: relative; margin-top: 12px; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 3 / 4; max-height: 62vh; margin-left: auto; margin-right: auto; }
.ph-slide > img, .ph-slide-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-slide-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.ph-slide-line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .5); }
.ph-slide-l, .ph-slide-r { position: absolute; bottom: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 700; }
.ph-slide-l { left: 10px; }
.ph-slide-r { right: 10px; }
.ph-range { width: 100%; margin-top: 12px; accent-color: var(--accent); }
.ph-sheet .btn, .rv-share-row .btn, .fr-actions .btn { justify-content: center; text-align: center; }
