.home-inv-photo-launch{width:100%;min-height:44px;margin-top:10px;border:1px solid #e0e2e6;border-radius:13px;background:#f7f8fa;color:#22313b;font-weight:700}
.inv-photo-manager{display:grid;gap:13px;padding:2px 0 18px}
.inv-photo-note{margin:0;background:#edf5f7;border:1px solid #dce9ec;border-radius:14px;padding:12px 14px;color:#324854;font-size:14px;line-height:1.45}
.inv-photo-grid-root{min-height:70px}
.inv-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.inv-photo-card{min-width:0;overflow:hidden;background:#fff;border:1px solid #e1e4e8;border-radius:16px;padding:8px}
.inv-photo-preview{height:145px;border-radius:11px;background:#eff1f4;overflow:hidden;display:grid;place-items:center}
.inv-photo-preview img{display:block;width:100%;height:100%;object-fit:cover}
.inv-photo-meta{min-width:0;display:grid;gap:3px;padding:8px 2px}
.inv-photo-meta b{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
.inv-photo-meta small{font-size:12px;color:#68737c}
.inv-photo-view,.inv-photo-select,.inv-photo-action,.inv-photo-save{min-height:46px;border-radius:13px;font-weight:720}
.inv-photo-view{width:100%;border:0;background:#edf0f3;color:#273640}
.inv-photo-select{display:flex;align-items:center;justify-content:center;padding:12px;text-align:center;border:1px dashed #8799a2;background:#fff;color:#203440;cursor:pointer}
.inv-photo-select input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.inv-photo-select:focus-within{outline:3px solid #86a9ff;outline-offset:2px}
.inv-photo-state{margin:0;color:#5f6d76;font-size:14px;line-height:1.4}
.inv-photo-state.is-error{color:#a23b3b}
.inv-photo-actions{display:grid;gap:8px;margin-top:6px}
.inv-photo-action{width:100%;border:0;padding:10px 12px}
.inv-photo-action.primary,.inv-photo-save{background:#142d3d;color:#fff}
.inv-photo-action.secondary{background:#eaf0f3;color:#243440}
.inv-photo-save{width:100%;border:0;padding:10px 12px}
.inv-photo-save:disabled{opacity:.5;cursor:not-allowed}
.inv-photo-picker-label{display:grid;gap:7px;font-size:14px;font-weight:700;color:#364751}
.inv-photo-picker-label select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #d7dce1;border-radius:13px;background:#fff;color:#1d2930}
.inv-photo-viewer[hidden]{display:none!important}
.inv-photo-viewer{position:fixed;inset:0;z-index:12031;display:flex;align-items:center;justify-content:center;padding:16px max(14px,env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left));background:rgba(9,13,17,.94);overscroll-behavior:contain}
.inv-photo-viewer-card{position:relative;width:min(94vw,760px);height:min(88dvh,900px);display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:48px 10px 10px;border-radius:18px;background:#fff}
.inv-photo-viewer-card img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;background:#f2f3f5;border-radius:11px}
.inv-photo-viewer-card p{margin:0;text-align:center;font-size:14px;font-weight:700;color:#29363f}
.inv-photo-viewer-close{position:absolute;top:8px;right:8px;width:38px;height:38px;border:0;border-radius:50%;background:#e9ecef;color:#111;font-size:25px}
.inv-photo-viewing{overflow:hidden}
@media(min-width:600px){.inv-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.inv-photo-preview{height:170px}}
