/* Original shared CSS: native editor previews import this same file. */
.request-photos { grid-column: 1 / -1; min-width: 0; margin: 16px 0; padding: 16px; border: 1px solid #d9ddce; border-radius: 5px; background: #f6f7f0; color: #30372a; font-family: inherit; }
.request-photos *, .request-photos *::before, .request-photos *::after { box-sizing: border-box; }
.request-photos [hidden] { display: none !important; }
.request-photos .request-photos-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.request-photos .request-photos-heading > span:first-child { min-width: 0; }
.request-photos .request-photos-heading strong { display: block; font-size: 14px; font-weight: 750; line-height: 1.5; color: #20271d; }
.request-photos .request-photos-heading small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; line-height: 1.5; color: #626b58; }
.request-photos .request-photos-count { flex-shrink: 0; padding: 3px 7px; border: 1px solid #dce0d1; border-radius: 3px; background: #fff; color: #515a46; font-size: 11px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.request-photos .request-photos-list { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 12px; max-width: calc(100% + 16px); margin: 0 -8px 10px; padding: 8px; overflow-x: scroll; overflow-y: hidden; overscroll-behavior-x: contain; scroll-padding-inline: 8px; scroll-snap-type: x proximity; scrollbar-width: auto; scrollbar-color: auto; }
.request-photos .request-photos-list::-webkit-scrollbar { height: 8px; }
.request-photos .request-photos-list::-webkit-scrollbar-track { background: #e4e8db; border-radius: 6px; }
.request-photos .request-photos-list::-webkit-scrollbar-thumb { background: #939d85; border: 2px solid #e4e8db; border-radius: 6px; }
.request-photos .request-photo { position: relative; flex: 0 0 104px; width: 104px; max-width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; scroll-snap-align: start; scroll-margin-inline: 8px; }
.request-photos button { font: inherit; cursor: pointer; touch-action: manipulation; text-transform: none; letter-spacing: normal; }
.request-photos button:disabled { cursor: default; opacity: .5; }
.request-photos button:focus-visible { outline: 3px solid #807019; outline-offset: 3px; }
.request-photos .request-photo-preview { position: relative; display: grid; place-items: center; width: 104px; max-width: 100%; height: 84px; min-height: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid #bdc6ad; border-radius: 4px; background: #e4e8da; }
.request-photos .request-photo-preview img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; object-position: center; background: #e8eadd; }
.request-photos .request-photo-placeholder { font-size: 11px; color: #66715a; }
.request-photos .request-photo-remove { position: absolute; z-index: 1; top: -4px; right: -4px; display: grid; place-items: center; width: 32px; height: 32px; min-height: 0; margin: 0; padding: 0; border: 2px solid #f6f7f0; border-radius: 50%; background: #252d20; color: #fff; font-size: 23px; line-height: 1; }
.request-photos .request-photo-remove:focus-visible { outline-offset: 1px; }
.request-photos .request-photo-remove:hover { background: #49513e; }
.request-photos .request-photo-progress { position: absolute; inset: 0; display: grid; place-items: center; margin: auto; width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(#f7df22 var(--photo-progress), #252d20aa 0); padding: 4px; }
.request-photos .request-photo-progress > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; background: #252d20; color: #fff; font-size: 10px; font-weight: 700; line-height: 1; }
.request-photos .is-error .request-photo-progress { background: #a53821; }
.request-photos .request-photo-done { position: absolute; bottom: 4px; right: 4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #33472c; color: #fff; font-size: 12px; }
.request-photos .request-photo-order { display: flex; justify-content: space-between; gap: 4px; margin-top: 4px; }
.request-photos .request-photo-order button { display: grid; place-items: center; flex: 1 1 0; height: 32px; min-height: 0; margin: 0; padding: 0; border: 1px solid #cbd2bf; border-radius: 3px; background: #fff; color: #36462a; font-size: 18px; line-height: 1; }
.request-photos .request-photo-retry { width: 100%; min-height: 32px; margin-top: 4px; padding: 5px; border: 1px solid #ba7a65; border-radius: 3px; background: #fff4ed; color: #85371d; font-size: 11px; font-weight: 700; }
.request-photos .request-photo-error { margin: 5px 0 0; color: #983920; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.request-photos .request-photos-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.request-photos :is(.request-photos-add, .request-photos-view-all) { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; max-width: 100%; margin: 0; padding: 10px 14px; border: 1px solid #c4c9b8; border-radius: 4px; background: #fff; color: #303c25; font-size: 13px; font-weight: 700; line-height: 1.5; }
.request-photos :is(.request-photos-add, .request-photos-view-all):hover { background: #fffbe0; border-color: #baaa47; }
.request-photos .request-photos-add svg { flex-shrink: 0; width: 20px; height: 20px; }
.request-photos .request-photos-note { margin: 10px 0 0; color: #646d59; font-size: 11px; line-height: 1.6; }
.request-photos .request-photos-error { margin: 10px 0 0; color: #9c3520; font-size: 12px; font-weight: 600; line-height: 1.5; }
.request-photos .request-photos-input, .request-photos .request-photos-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 480px) { .request-photos { padding: 13px; } .request-photos .request-photos-list { gap: 12px; } }
.request-draft-note { grid-column: 1 / -1; margin: 0 0 12px; color: #646d59; font-size: 11px; line-height: 1.6; }
