/* V1.26.2: consistent action controls, editable dialogs and card spacing. */
.theme-resi-orange .panel :is(.pro-grid,.pro-actions,.pro-result,.ops-form,.ops-inline,.pro-canvas,.pro-check-list,.pro121-tools,.pro121-actions,.pro121-preview):not(.dv-modal-body *){box-sizing:border-box;max-width:calc(100% - 2 * var(--dv-card-gutter));margin-left:var(--dv-card-gutter);margin-right:var(--dv-card-gutter)}
.theme-resi-orange .panel > :is(h3,h4,p):not(.panel-heading *){margin-left:var(--dv-card-gutter);margin-right:var(--dv-card-gutter);line-height:1.6}
.theme-resi-orange .panel :is(.pro-field,.eweb-field){min-width:0}
.theme-resi-orange .panel :is(.pro-field,.eweb-field) > span:first-child{margin-bottom:6px;display:block}
.theme-resi-orange .dv-heading-actions{display:flex;flex-wrap:wrap;gap:8px}
.theme-resi-orange .pro121-readonly{font-size:12px;line-height:1.55;white-space:normal;overflow-wrap:anywhere;color:#263243}
.theme-resi-orange .pro121-buttons{display:flex;flex-wrap:wrap;gap:6px}
.dv-question-overlay{position:fixed;inset:0;z-index:4000;background:rgba(15,23,42,.64);display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:18px;backdrop-filter:blur(3px)}
.dv-question-dialog{max-height:90dvh;overflow:hidden;display:flex;flex-direction:column;width:min(510px,100%);border-radius:16px;background:white;color:#273346;border:1px solid #fed8b8;box-shadow:0 30px 90px rgba(15,23,42,.28)}
.dv-question-head{padding:22px 24px 17px;border-bottom:1px solid #f2e8e0;background:linear-gradient(130deg,#fff1e6 0%,#fff 94%)}
.dv-question-head h2{font-size:18px;margin:7px 0 8px;line-height:1.4;color:#253247}
.dv-question-head p{margin:0;color:#667085;white-space:pre-line;line-height:1.65;font-size:13px}
.dv-question-form{min-height:0;display:flex;flex-direction:column}
.dv-question-body{padding:22px 24px;overflow-y:auto;display:grid;gap:17px}
.dv-question-body:empty{display:none}
.dv-question-field{font-size:12px;font-weight:600;color:#334155;display:grid;gap:7px}
.dv-question-field .field{box-sizing:border-box;width:100%;height:42px;padding:9px 12px;border:1px solid #cdd5e2;border-radius:9px;background:#fff;color:#172b42;font-size:13px}
.dv-question-field textarea.field{height:auto;min-height:100px;resize:vertical}
.dv-question-field .field:focus{border-color:#ea580c;outline:3px solid rgba(249,115,22,.18)}
.dv-question-foot{display:flex;justify-content:flex-end;gap:10px;padding:15px 24px;background:#fafafa;border-top:1px solid #ebedf2}
.dv-question-dialog :is(button,input,select,textarea):focus-visible{outline:2px solid #ea580c;outline-offset:3px}
.dv-danger-action{color:white!important;background:#c2410c!important}
.dv-modal-body .dv-related-output{margin-top:15px;border-top:1px solid #e5e7eb;padding-top:14px}
.dv-modal-body .dv-related-output:empty{display:none}
.theme-resi-orange .dv-open-inline{margin:0 var(--dv-card-gutter) 16px}
.theme-resi-orange .panel > .dv-form-anchor{display:none!important}
@media(max-width:720px){.dv-question-overlay{padding:10px}.dv-question-head,.dv-question-body,.dv-question-foot{padding-left:18px;padding-right:18px}.dv-question-dialog{max-height:95dvh}.dv-question-foot .btn{flex:1}}
