.inventory-photos{--photo-ink:#17211d;--photo-muted:#647168;--photo-line:#e4e9e6;margin:24px 0 30px;padding:22px;border:1px solid var(--photo-line);border-radius:22px;background:#fff;min-width:0;color:var(--photo-ink)}
.inventory-photos-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.inventory-photos-heading h3{margin:0;font-size:22px;line-height:1.3;letter-spacing:-.65px;font-weight:600;color:var(--photo-ink)}
.inventory-photos-intro{margin:8px 0 0;font-size:13px;line-height:1.6;color:var(--photo-muted)}
.inventory-photos-count{padding:8px 11px;border-radius:20px;background:#f1f4f2;color:#526158;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.inventory-photo-picker{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:16px;border:1px dashed #ccd7d0;border-radius:16px;background:#fafbfa}
.inventory-photo-picker>p{margin:0;font-size:12px;line-height:1.7;color:var(--photo-muted)}
.inventory-photo-picker>p>span{display:block}
.inventory-photo-import-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#17211d;color:#fff;border:1px solid #17211d;border-radius:12px;cursor:pointer;margin:0;min-height:48px;padding:11px 20px;font-size:14px;font-weight:500;line-height:1.5;transition:background .18s,transform .18s}
.inventory-photo-import-button>span{font-size:22px;font-weight:400;line-height:1}
.inventory-photo-import-button:hover{background:#2a3c31}
.inventory-photo-import-button:active{transform:scale(.985)}
.inventory-photo-input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0!important}
.inventory-photo-input:focus-visible+label{outline:2px solid #247049;outline-offset:4px}
.inventory-photo-input:disabled+label{opacity:.45;cursor:not-allowed;transform:none}
.inventory-photo-picker.is-empty{justify-content:center;flex-direction:column;padding:30px 20px;gap:18px;text-align:center}
.inventory-photo-empty{display:grid;justify-items:center;gap:14px}
.inventory-photo-empty>span{display:grid;place-items:center;width:56px;height:56px;border:1px solid #e2e8e3;border-radius:17px;background:#fff;font-size:32px;color:#53655a}
.inventory-photo-empty strong{font-size:14px;font-weight:500;color:var(--photo-ink)}
.inventory-photo-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 12px}
.inventory-photo-navigation>p{margin:0;color:var(--photo-muted);font-size:13px;font-variant-numeric:tabular-nums}
.inventory-photo-navigation>button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--photo-line);border-radius:50%;background:#fff;color:var(--photo-ink);font-size:20px;cursor:pointer}
.inventory-photo-navigation>button:disabled{opacity:.3;cursor:default}
.inventory-photo-track{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b9c5bc transparent;scroll-padding-inline:0;padding:2px 1px 12px;touch-action:pan-x pan-y}
.inventory-photo-track::after{content:'';flex:0 0 16px}
.inventory-photo-card{flex:0 0 calc(100% - 28px);min-width:0;scroll-snap-align:start;border:1px solid var(--photo-line);border-radius:17px;overflow:hidden;background:#fff;transition:border-color .2s,box-shadow .2s}
.inventory-photo-card[data-photo-current=true]{border-color:#b8c7bd;box-shadow:0 3px 10px #17211d06}
.inventory-photo-picture{position:relative;aspect-ratio:3/2;background:#f2f4f2;display:flex;align-items:center;justify-content:center;overflow:hidden}
.inventory-photo-picture img{width:100%;height:100%;object-fit:contain;display:block}
.inventory-photo-picture img[hidden]{display:none}
.inventory-photo-placeholder{padding:24px;font-size:13px;text-align:center;color:var(--photo-muted);line-height:1.7}
.inventory-photo-position{position:absolute;left:14px;top:14px;border:1px solid #ffffffb3;border-radius:30px;padding:8px 12px;color:#29352d;background:#fffffff0;backdrop-filter:blur(10px);font-size:12px;font-weight:500;line-height:1}
.inventory-photo-position.is-cover{background:#ecf6efed;border-color:#e0f0e4;color:#246341}
.inventory-photo-drag{position:absolute;right:14px;top:10px;color:#fff;filter:drop-shadow(0 1px 3px #0008);font-size:27px;cursor:grab}
.inventory-photo-info{padding:16px}
.inventory-photo-name{margin:0;font-size:14px;font-weight:500;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--photo-ink)}
.inventory-photo-state{font-size:12px;line-height:1.6;margin:3px 0 14px;color:var(--photo-muted)}
.inventory-photo-state[data-state=ready]{color:#35704e}
.inventory-photo-state[data-state=uploading],.inventory-photo-state[data-state=queued]{color:#80641f}
.inventory-photo-state[data-state=error],.inventory-photo-error{color:#a43b31}
.inventory-photo-error{font-size:12px;line-height:1.6;margin:0 0 12px;overflow-wrap:anywhere}
.inventory-photo-cover{width:100%;min-height:44px;border:1px solid #dce3de;border-radius:10px;background:#fff;color:var(--photo-ink);font:inherit;font-size:13px;cursor:pointer}
.inventory-photo-cover[aria-pressed=true]{background:#eef6f0;border-color:#dfece3;color:#2b6743;opacity:1;cursor:default}
.inventory-photo-actions{display:flex;gap:8px;margin-top:8px}
.inventory-photo-actions button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:0;min-height:44px;border:1px solid #e3e8e4;border-radius:10px;font:inherit;font-size:12px;color:#4e5f54;background:#fff;cursor:pointer}
.inventory-photo-actions button>span{font-size:17px}
.inventory-photo-actions button:disabled{opacity:.38;cursor:default}
.inventory-photo-secondary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px}
.inventory-photo-secondary button,.inventory-photo-undo button,.inventory-photo-warning button{border:0;background:transparent;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:8px 0;color:#53655a;cursor:pointer}
.inventory-photo-secondary button[data-photo-action=remove],.inventory-photo-secondary button[data-photo-action=discard]{color:#8d5149}
.inventory-photo-secondary button:disabled,.inventory-photo-undo button:disabled,.inventory-photo-warning button:disabled{opacity:.4;cursor:default}
.inventory-photo-demo,.inventory-photo-privacy{margin:14px 0 0;font-size:12px;line-height:1.7;color:var(--photo-muted)}
.inventory-photo-demo{padding:12px 14px;background:#fbf5e8;border-radius:10px;color:#7b6438}
.inventory-photo-status{font-size:12px;line-height:1.7;margin-top:8px;color:#486151;min-height:18px}
.inventory-photo-status:empty{display:none}
.inventory-photo-warning{margin-top:12px;padding:14px;background:#fff6f0;border:1px solid #eeded3;border-radius:12px;color:#89533b;font-size:12px;line-height:1.7}
.inventory-photo-warning p{margin:0}
.inventory-photo-warning ul{padding-left:18px;margin:7px 0}
.inventory-photo-warning li+li{margin-top:5px}
.inventory-photo-warning strong{font-weight:500}
.inventory-photo-warning button{color:#865139}
.inventory-photo-card.has-error{border-color:#d6aa96}
.inventory-photo-undo{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding:7px 14px;background:#eef5f0;border-radius:12px;font-size:12px;color:#486151}
.inventory-photo-undo span{overflow-wrap:anywhere}
.inventory-photo-error-anchor{display:block;position:relative;top:-20px}
.inventory-photos.is-dragover{outline:2px solid #4c815d;outline-offset:3px}
.inventory-photo-card:focus-within{border-color:#478461}
.inventory-photos button:focus-visible,.inventory-photo-track:focus-visible{outline:2px solid #247049;outline-offset:3px}
@media(max-width:700px){.inventory-photos{margin:18px -2px 26px;padding:18px 12px;border-radius:18px}.inventory-photos-heading{gap:10px;margin-bottom:16px}.inventory-photos-heading h3{font-size:20px}.inventory-photos-intro{font-size:12px}.inventory-photos-count{font-size:12px;padding:7px 9px}.inventory-photo-picker{padding:14px;gap:10px}.inventory-photo-import-button{width:100%;min-height:50px}.inventory-photo-picker>p{width:100%;text-align:center}.inventory-photo-picker.is-empty{padding:24px 16px;gap:18px}.inventory-photo-info{padding:14px}.inventory-photo-actions button{gap:4px;min-height:46px}.inventory-photo-cover{min-height:46px}.inventory-photo-picture{aspect-ratio:4/3}.inventory-photo-drag{display:none}.inventory-photo-position{left:10px;top:10px}.inventory-photo-secondary button{min-height:46px}}
@media(prefers-reduced-motion:reduce){.inventory-photo-track{scroll-behavior:auto}.inventory-photo-card,.inventory-photo-import-button{transition:none}.inventory-photo-import-button:active{transform:none}}
