/* Reference spacing and selected-equipment controls, V5.34.4. */
@media (max-width:599px), (min-height:500px) {
 body.exact-reference5341 .native-appbar{height:calc(74 * var(--reference-vertical5343))!important}
 body.exact-reference5341 .app-scroll{padding-top:calc(29 * var(--reference-vertical5343))!important}
}
/* Defeat older :has(selected asset) rules, not just the initial empty form. */
body.exact-reference5341 #form-view.exact-form5341 #description,
body.exact-reference5341 #form-view.exact-form5341 #description:focus{
 padding:calc(12 * var(--reference-unit5342)) calc(20 * var(--reference-unit5342)) calc(12 * var(--reference-unit5342)) calc(60 * var(--reference-unit5342))!important;
 font-size:calc(12 * var(--reference-unit5342))!important;line-height:calc(19 * var(--reference-unit5342))!important;
 text-indent:0!important;text-align:left!important;box-sizing:border-box!important;
}
body.exact-reference5341 #form-view.exact-form5341 #description::placeholder{font-size:inherit!important;line-height:inherit!important;text-indent:0!important}
body.exact-reference5341 #form-view.exact-form5341 .asset-card #asset-id,
body.exact-reference5341 #form-view.exact-form5341 .asset-card #asset-id:focus{font-size:calc(12 * var(--reference-unit5342))!important;line-height:calc(19 * var(--reference-unit5342))!important}
body.exact-reference5341 #form-view.exact-form5341 .asset-card:has(.asset-found.show) #asset-id{padding-top:calc(5 * var(--reference-vertical5343))!important;padding-bottom:calc(23 * var(--reference-vertical5343))!important}
body.exact-reference5341 #form-view.exact-form5341 .asset-card .asset-found.show{top:auto!important;bottom:calc(6 * var(--reference-vertical5343))!important;left:calc(60 * var(--reference-unit5342))!important;right:calc(34 * var(--reference-unit5342))!important;height:calc(17 * var(--reference-unit5342))!important;line-height:calc(17 * var(--reference-unit5342))!important;font-size:calc(12 * var(--reference-unit5342))!important;color:#526d80!important;pointer-events:none}
/* The real native file input covers the whole photo row; no synthetic picker. */
body.exact-reference5341 #form-view.exact-form5341 .photo-picker #photo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;z-index:3!important;cursor:pointer;padding:0!important;margin:0!important;pointer-events:auto!important}
#report-details5341 #urgency{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:3px!important}
#report-details5341 #urgency button:not(.legacy-service-priority5343){min-width:0!important;width:100%!important;margin:0!important;grid-column:auto!important}

body.exact-reference5341 #form-view.exact-form5341 .photo-picker:has(.photo-preview.show) .photo-icon{display:flex!important}
body.exact-reference5341 #form-view.exact-form5341 .photo-picker:has(.photo-preview.show) .photo-copy{display:block!important;min-width:0!important;padding-right:calc(35 * var(--reference-unit5342))!important}
body.exact-reference5341 #form-view.exact-form5341 .photo-copy strong{white-space:normal!important}

/* Separate remove action stays above the native picker, not inside its label. */
#remove-photo5345{position:absolute;right:calc(8 * var(--reference-unit5342));top:50%;transform:translateY(-50%);width:calc(62 * var(--reference-unit5342));height:36px;max-height:90%;border:1px solid #cbd7e7;border-radius:8px;background:#fff;color:#8a342e;font-size:calc(11 * var(--reference-unit5342));font-weight:600;z-index:5;cursor:pointer}
#remove-photo5345[hidden]{display:none!important}#remove-photo5345:disabled{opacity:.55;cursor:wait}
body.exact-reference5341 #form-view.exact-form5341 .photo-picker .photo-preview.show{right:calc(77 * var(--reference-unit5342))!important;top:50%!important;transform:translateY(-50%);width:calc(28 * var(--reference-unit5342))!important;height:calc(28 * var(--reference-unit5342))!important;pointer-events:none}
body.exact-reference5341 #form-view.exact-form5341 .photo-picker:has(.photo-preview.show) .photo-copy{padding-right:calc(100 * var(--reference-unit5342))!important}
