#inventory-photo-camera { background:#18181b; color:#fff; border:1px solid #52525b; border-radius:24px; padding:24px; width:min(720px,calc(100vw - 32px)); max-width:calc(100vw - 32px); max-height:calc(100dvh - 32px); overflow:auto; box-sizing:border-box; }
#inventory-photo-camera::backdrop { background:rgba(0,0,0,.85); }
#inventory-photo-camera [hidden] { display:none !important; }
#inventory-photo-camera .ipc-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
#inventory-photo-camera h2 { font-size:22px; font-weight:700; margin:0; }
#inventory-photo-camera button, #inventory-photo-camera select { border:1px solid #52525b; background:#27272a; color:#fff; border-radius:12px; padding:12px 16px; font-size:14px; cursor:pointer; }
#inventory-photo-camera button:focus-visible, #inventory-photo-camera select:focus-visible { outline:2px solid #f59e0b; outline-offset:2px; }
#inventory-photo-camera button:disabled { opacity:.45; cursor:not-allowed; }
#inventory-photo-camera .ipc-frame { background:#09090b; border-radius:16px; overflow:hidden; min-height:160px; display:flex; justify-content:center; align-items:center; }
#inventory-photo-camera video, #inventory-photo-camera img { display:block; width:100%; max-height:min(58dvh,540px); object-fit:contain; }
#inventory-photo-status { color:#d4d4d8; font-size:14px; line-height:1.5; margin:16px 0; }
#inventory-photo-device-label { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
#inventory-photo-device { min-width:0; flex:1; }
#inventory-photo-camera .ipc-actions { display:flex; gap:12px; flex-wrap:wrap; }
#inventory-photo-capture, #inventory-photo-use { background:#f59e0b !important; color:#09090b !important; font-weight:600; flex:1; }
@media(max-width:560px) { #inventory-photo-camera { padding:18px; border-radius:20px; } #inventory-photo-camera h2 { font-size:18px; } }
