/* V14.3: readable state law library, customer lien rights and request/ticket dialogs. */
#stateLienRightsInfoModal .modal,#lawEditorModal .modal,#ownerRequestDetailModal .modal,#customerRequestDetailModal .modal{width:min(960px,calc(100vw - 28px));max-width:960px;max-height:calc(100dvh - 30px);overflow:auto;box-sizing:border-box}
#stateLienRightsInfoModal .modal-body,#lawEditorModal .modal-body{font-size:16px;line-height:1.65;overflow-wrap:anywhere}
#stateLienRightsInfoModal .detail-grid,#lawEditorModal .detail-grid,#ownerRequestDetailModal .detail-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:14px}
#stateLienRightsInfoModal .modal-body *,#lawEditorModal .modal-body *{overflow-wrap:anywhere}
#stateLienRightsInfoModal .modal-body p,#lawEditorModal .modal-body p{font-size:16px;line-height:1.65}
#stateLienRightsInfoModal .modal-body a,#lawEditorModal .modal-body a{text-decoration:underline;text-underline-offset:3px}
#page-owner-laws table,#page-owner-laws .panel{font-size:15px;line-height:1.55}
#page-owner-laws th,#page-owner-laws td{padding:10px 12px}
#stateLienRightsInfoModal .modal-header h2,#lawEditorModal .modal-header h2{font-size:21px;font-weight:750}
#stateLienRightsInfoModal .modal-body strong,#lawEditorModal .modal-body strong{font-weight:750}
#ownerRequestDetailModal label,#customerRequestDetailModal label{min-width:0;overflow-wrap:anywhere}
#ownerRequestDetailModal input,#customerRequestDetailModal input,#ownerRequestDetailModal select,#customerRequestDetailModal select{min-width:0;max-width:100%;box-sizing:border-box}
html[data-lti-theme="dark"] #stateLienRightsInfoModal .modal,html[data-lti-theme="dark"] #lawEditorModal .modal{background:#192638!important;color:#f1f5f9!important}
html[data-lti-theme="dark"] #stateLienRightsInfoModal .modal-body,html[data-lti-theme="dark"] #lawEditorModal .modal-body,html[data-lti-theme="dark"] #stateLienRightsInfoModal .detail-grid>*,html[data-lti-theme="dark"] #lawEditorModal .detail-grid>*{background:#192638!important;color:#f1f5f9!important;border-color:#64748b!important}
html[data-lti-theme="dark"] #stateLienRightsInfoModal .modal-body :is(p,span,div,small,label,strong,li),html[data-lti-theme="dark"] #lawEditorModal .modal-body :is(p,span,div,small,label,strong,li){color:#e2e8f0!important}
html[data-lti-theme="dark"] #stateLienRightsInfoModal a,html[data-lti-theme="dark"] #lawEditorModal a{color:#93c5fd!important}
html[data-lti-theme="dark"] #stateLienRightsInfoModal [class*="warning"],html[data-lti-theme="dark"] #lawEditorModal [class*="warning"]{background:#4a3614!important;color:#fde68a!important;border-color:#eab308!important}
html[data-lti-theme="dark"] #page-owner-laws :is(table,td,th,.panel){background:#1f2937!important;color:#e2e8f0!important;border-color:#475569!important}
@media(max-width:760px){#stateLienRightsInfoModal .detail-grid,#lawEditorModal .detail-grid{display:block}#stateLienRightsInfoModal .detail-grid>*,#lawEditorModal .detail-grid>*{margin-bottom:12px}#stateLienRightsInfoModal .modal,#lawEditorModal .modal{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}}
