/* Intrinsic camera orientation is handled by the browser, never by CSS rotation. */
#equipment-camera:not([hidden]){display:block;width:100%;height:clamp(180px,44dvh,360px);min-height:180px;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;transform:none;background:#13232d;border:1px solid #405664;border-radius:4px;margin:12px 0 8px;grid-column:1/-1;box-sizing:border-box}
.camera-stop{margin:0 0 8px!important}#equipment-scan-message{line-height:1.5;overflow-wrap:anywhere}
.asset-registry-form{width:min(760px,calc(100vw - 32px))!important}.asset-registry-form .ar-fields{display:block}.asset-form-section{padding:0 0 20px;margin:0 0 18px;border-bottom:1px solid var(--line,#d7e0e5)}.asset-form-section h3{font-size:16px;margin:0 0 14px;font-weight:650}.asset-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.asset-form-grid .full{grid-column:1/-1}.asset-form-grid .check{display:flex;align-items:flex-start;gap:10px;line-height:1.5;padding:10px 0;grid-column:1/-1}.asset-form-grid input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin-top:2px;accent-color:#087e79}.asset-registry-form .field{min-width:0}.asset-registry-form .field input,.asset-registry-form .field select{min-height:42px;border-radius:4px;font-size:16px}.asset-registry-form textarea{min-height:100px;font-size:16px}.asset-form-note{font-size:14px;line-height:1.5;color:var(--muted);margin:12px 0 0}.asset-form-4455 .rp-form-section{border-radius:4px}.asset-form-4455 .rp-form-section>header{padding:12px 16px}.asset-form-4455 .rp-form-section>header h3{font-size:16px}.asset-form-4455 .rp-form-section>header p{font-size:13px}.asset-form-4455 .asset-form-note{padding:0 16px 16px}
@media(max-width:650px){.asset-registry-form{width:100%!important}.asset-form-grid{grid-template-columns:minmax(0,1fr);gap:12px}.asset-form-section{padding-bottom:16px;margin-bottom:16px}.asset-registry-form .modal-foot{flex-wrap:wrap}.asset-registry-form .modal-foot .btn{flex:1}.asset-form-4455 input,.asset-form-4455 select,.asset-form-4455 textarea{font-size:16px!important}}
@media(orientation:landscape) and (max-height:500px){#equipment-camera:not([hidden]){height:200px;min-height:160px}}
/* Preserve a usable photo size on landscape phones, with normal dialog scrolling. */
body.resiro-common-workspace #overlay .secondary-gallery .photo-viewer img{max-width:100%;max-height:max(220px,calc(100dvh - 260px));width:auto;height:auto;object-fit:contain;image-orientation:from-image;flex-shrink:0;transform:none}
