/* A single comparison keeps building references separate from editable visit data. */
#report-intake .ri-location-master-facts.ri-location-comparison{padding:0;border:0;background:transparent;margin:0 0 22px;min-width:0}
#report-intake .ri-location-comparison>.ri-location-facts-heading{margin-bottom:12px;gap:12px}
#report-intake .ri-location-comparison>.ri-location-facts-heading h4{font-size:13px;font-weight:500}
#report-intake .ri-location-comparison>.ri-location-facts-heading p{font-size:12px}
#report-intake .ri-location-measure-table{width:100%;table-layout:fixed;border-collapse:collapse;border:0;font-size:12px;background:transparent}
#report-intake .ri-location-measure-name{width:26%}
#report-intake .ri-location-measure-building{width:29%}
#report-intake .ri-location-measure-inspection{width:45%}
#report-intake .ri-location-measure-table :is(th,td){border:0;border-bottom:1px solid #e6eaf1;background:transparent;text-align:left;padding:10px 10px;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
#report-intake .ri-location-measure-table thead th{padding-top:0;padding-bottom:9px;color:var(--text-muted);font-size:11px;font-weight:500}
#report-intake .ri-location-measure-table th:first-child{padding-left:0}
#report-intake .ri-location-measure-table td:last-child{padding-right:0}
#report-intake .ri-location-measure-table tbody th{padding-top:20px;font-size:12px;font-weight:500;line-height:1.6;color:var(--brand)}
#report-intake .ri-location-measure-table tbody th small{font-size:11px;color:var(--text-muted);font-weight:400;white-space:nowrap}
#report-intake .ri-location-measure-table tbody td:not(.ri-location-measure-input){padding-top:20px;line-height:1.6;font-variant-numeric:tabular-nums}
#report-intake .ri-location-measure-input>.ri-field{display:grid;gap:0;margin:0;min-width:0;font-weight:400}
#report-intake .ri-location-measure-input>.ri-field>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#report-intake .ri-location-measure-input>.ri-field>input{height:42px;min-height:42px;min-width:0;width:100%;padding:9px 10px;font-size:13px;font-weight:400;font-variant-numeric:tabular-nums}
#report-intake .ri-location-measure-input>.ri-field>small{margin-top:5px;font-size:11px;line-height:1.6}
#report-intake .ri-location-difference{display:block;margin-top:5px;font-size:10px;line-height:1.6;color:#855c22}
#report-intake .ri-location-difference[hidden]{display:none}
#report-intake .ri-location-measurement-row:is(.is-different,.is-invalid)>.ri-location-measure-input{box-shadow:inset 2px 0 #c9a764;padding-left:12px}
#report-intake .ri-location-measure-unknown{color:var(--text-muted);font-size:11px;line-height:1.6}
#report-intake .ri-location-comparison>.ri-location-comparison-note{margin:12px 0 0;font-size:11px;line-height:1.7;color:var(--text-muted)}
#report-intake .ri-location-comparison>.ri-location-measure-status{margin-top:6px;font-size:11px}
#report-intake .ri-location-measure-choice{display:flex;align-items:flex-end;gap:14px 22px;flex-wrap:wrap;margin:0 0 15px}
#report-intake .ri-location-measure-choice>.ri-field{width:190px;min-width:150px;margin:0;gap:6px;font-size:12px;font-weight:400}
#report-intake .ri-location-measure-choice select{min-height:40px;height:40px;padding:8px 30px 8px 10px;font-size:12px;width:100%;max-width:none}
#report-intake .ri-location-no-measures{display:flex;align-items:center;gap:8px;min-height:40px;font-size:12px;font-weight:400;cursor:pointer}
#report-intake .ri-location-no-measures input{width:15px;height:15px;min-height:0;margin:0;accent-color:var(--brand)}
#report-intake .ri-location-measure-requirement{color:#855c22;font-size:11px;line-height:1.7;margin:-5px 0 14px}
#report-intake .ri-location-measure-requirement[hidden]{display:none}
#report-intake .ri-location-master-list>button.ri-location-pending{box-shadow:inset 3px 0 #e7bd5c}
#report-intake .ri-location-raw-measures{margin-top:12px}
@media(max-width:650px){
 #report-intake .ri-location-measure-name{width:27%}
 #report-intake .ri-location-measure-building{width:27%}
 #report-intake .ri-location-measure-inspection{width:46%}
 #report-intake .ri-location-measure-table :is(th,td){padding-left:7px;padding-right:7px}
 #report-intake .ri-location-measure-table tbody th{font-size:11px}
 #report-intake .ri-location-measure-table tbody th small{display:block}
 #report-intake .ri-location-measure-table tbody td:not(.ri-location-measure-input){font-size:11px}
 #report-intake .ri-location-measure-input>.ri-field>input{padding-left:8px;padding-right:8px}
}
@media(pointer:coarse){
 #report-intake .ri-location-measure-input>.ri-field>input{height:44px;min-height:44px}
}

/* The selected location shares the element editor's frame and white panels. */
#report-intake .ri-location-workspace{min-width:0;padding:18px;border:1px solid #d8deea;border-radius:10px;background:#f5f7fa;container-type:inline-size;container-name:ri-location-workspace}
#report-intake .ri-location-workspace>.ri-record-title{flex-wrap:wrap;gap:12px;margin:0 0 18px}
#report-intake .ri-location-workspace>.ri-record-title>h3{margin:0;min-width:0;font-size:20px;line-height:1.4;overflow-wrap:anywhere}
#report-intake .ri-location-workspace>.ri-record-title>button{margin-left:auto;min-height:34px;padding:6px 9px;font-size:12px}
#report-intake .ri-location-workspace>.ri-location-overview{grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:12px;margin:0}
#report-intake .ri-location-workspace .ri-location-details{display:grid;gap:12px;align-content:start}
#report-intake .ri-location-workspace :is(.ri-location-panel,.ri-location-identity,.ri-location-observation-head,.ri-field-group,.ri-location-photo.ri-overview-photo){min-width:0;margin:0;padding:14px;border:1px solid #e3e8f0;border-radius:7px;background:#fff}
#report-intake .ri-location-workspace .ri-location-identity{gap:14px 20px}
#report-intake .ri-location-workspace :is(.ri-location-identity,.ri-location-notes) .ri-field{font-size:12px;font-weight:400;gap:6px}
#report-intake .ri-location-workspace .ri-location-measurements>.ri-location-master-facts{margin:0;padding:0;border:0;background:transparent}
#report-intake .ri-location-workspace .location-geometry-editor{margin:0}
#report-intake .ri-location-workspace .ri-location-observation-fields{margin:0}
#report-intake .ri-location-workspace .ri-location-notes>.ri-inventory-origin-detail{margin:0 0 14px}
#report-intake .ri-location-workspace .ri-location-source{margin-top:14px;padding-top:12px}
#report-intake .ri-location-workspace .ri-location-photo>h4{margin:0 0 12px;font-size:13px;font-weight:500;line-height:1.5}
#report-intake .ri-location-workspace .ri-location-unmapped-notice{margin:0;padding:12px 14px;border:1px solid #e8cf91;border-radius:7px;background:#fffcf4;font-size:12px;line-height:1.7}
#report-intake .ri-location-workspace>.ri-field-group{margin-bottom:12px}
#report-intake .ri-location-workspace>.ri-field-group:last-child{margin-bottom:0}
@container ri-location-workspace (max-width:760px){
 #report-intake .ri-location-workspace>.ri-location-overview{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
 #report-intake .ri-location-workspace{padding:12px}
 #report-intake .ri-location-workspace>.ri-record-title>h3{font-size:18px}
 #report-intake .ri-location-workspace :is(.ri-location-panel,.ri-location-identity,.ri-location-observation-head,.ri-field-group,.ri-location-photo.ri-overview-photo){padding:12px}
}
