.ri-element-quantity-editor{display:grid;gap:12px;min-width:0;container-type:inline-size;container-name:ri-element-quantity}
.ri-element-quantity-row{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:12px;align-items:start;min-width:0}
#report-intake .ri-workbench-core .ri-element-quantity-choice{grid-template-columns:minmax(0,1fr);grid-template-rows:18px auto}
#report-intake .ri-workbench-core .ri-element-quantity-choice>.ri-repair-quantity-select{grid-column:1;grid-row:2}
.ri-quantity-source{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.ri-quantity-source-element{grid-template-columns:minmax(0,1fr)}
.ri-quantity-source-element .ri-quantity-source-search{margin-bottom:-5px}
.ri-quantity-source-dimensions{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(70px,.6fr)}
.ri-quantity-source-location_height>.ri-field:first-child{grid-column:1/-1}
.ri-quantity-source-net_area>.ri-field{grid-column:1/-1}
.ri-quantity-deductions{grid-column:1/-1;border:1px solid var(--border,#d7ddeb);border-radius:7px;margin:0;padding:10px 12px;min-width:0}
.ri-quantity-deductions legend{font-size:12px;padding:0 4px}
.ri-quantity-deductions>div{max-height:190px;overflow:auto;scrollbar-gutter:stable}
.ri-quantity-deductions label{display:flex;align-items:center;gap:9px;padding:7px 0;font-size:13px;font-weight:400;cursor:pointer}
.ri-quantity-deductions label>input{width:15px;height:15px;flex:none;margin:0;accent-color:#090d36}
.ri-quantity-deductions label>span{flex:1;min-width:0}
.ri-quantity-deductions label>small{white-space:nowrap;color:#596078;font-size:12px}
.ri-quantity-deductions p{font-size:12px;margin:5px 0;color:#596078}
#report-intake .ri-element-quantity-editor .ri-field>:is(input,select)[data-ri-element-quantity-value="automatic"]:not([aria-invalid="true"]){background:#edf3ff;color:#235b9e;border-color:#9dbdf4}
#report-intake select[data-ri-element-quantity-value="automatic"]:disabled{opacity:1;-webkit-text-fill-color:#235b9e;cursor:default}
#report-intake .ri-element-quantity-editor .ri-field>:is(input,select).ri-quantity-invalid[aria-invalid="true"]{background:#fff5ce;color:#875d19;border-color:#ebbc55}
#report-intake .ri-element-quantity-editor .ri-quantity-source-value{background:#edf3ff;color:#235b9e;border-color:#9dbdf4}
#report-intake .ri-element-quantity-editor [data-ri-quantity-number][aria-invalid="true"]{background:#fff5ce;color:#875d19;border-color:#ebbc55}
.ri-quantity-feedback{display:block;color:#875d19;font-size:12px;line-height:1.5}
.ri-quantity-feedback[hidden]{display:none}
.ri-quantity-missing{color:#875d19}
.ri-quantity-deductions label>small.ri-quantity-missing{color:#875d19}
@container ri-element-quantity (max-width:280px){
 .ri-element-quantity-row{grid-template-columns:minmax(0,1fr) 44px;gap:6px}
 #report-intake .ri-element-quantity-row>.ri-workbench-measure-pair{grid-template-columns:minmax(0,1fr) 52px}
 #report-intake .ri-element-quantity-row>.ri-workbench-measure-pair>.ri-field>input{padding-left:8px;padding-right:8px}
 #report-intake .ri-element-quantity-choice .ri-repair-quantity-select>svg{left:7px}
 #report-intake .ri-element-quantity-choice .ri-repair-quantity-select>select{background-position:right 5px center}
}
@media(max-width:650px){.ri-quantity-source{grid-template-columns:minmax(0,1fr)}}
@media(pointer:coarse){#report-intake .ri-element-quantity-row>.ri-workbench-measure-pair>.ri-field>:is(input,select){height:44px;min-height:44px}}
