.preview-banner{max-width:960px;margin:0 auto 12px;padding:10px 14px;background:#edf4ef;color:#234737;font-size:.875rem}
.workspace .sheet{background:white;border:1px solid #bdcbc1;box-shadow:0 3px 12px #1c3a2e15;border-radius:0;container-type:inline-size}
.workspace .paper-top{border-top:5px solid #20503e;padding-block:8px}
.workspace .paper-footer{border-top:1px solid #bdcbc1;padding-top:8px}
.workspace .agreement-title-row{min-width:0;justify-content:center}
.workspace .agreement-title-row h2{min-width:0;white-space:nowrap;font:700 clamp(11px,5cqi,32px)/1.2 Georgia,serif;text-align:center;color:#204c3c}
#leaseHeading{white-space:nowrap;font-size:clamp(12px,4.4vw,36px);line-height:1.2}
.workspace .sheet .field{border-radius:2px;border-color:#9cb0a3}
.workspace .sheet .field:focus-visible{outline:2px solid #317753;outline-offset:2px}
#editor[data-paper-guided] .dialog-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px}
#editor[data-paper-guided] .dialog-actions :is(#paper-back,#paper-edit,#editorNext){min-height:44px;min-width:62px;padding:4px 8px}
#editor[data-paper-guided] #editFields :is(input,select,textarea):focus{background:#edf7ee;border-color:#317753}
@media(max-width:600px){
 .workspace .sheet{padding-inline:clamp(12px,3vw,20px)}
 .workspace .sheet :is(.parties-grid,.sig-grid){grid-template-columns:minmax(0,1fr)}
 .workspace .sheet .field{max-width:100%;overflow-wrap:anywhere}
 #editor[data-paper-guided] .dialog-actions{gap:8px}
}

#editor[data-paper-guided] #uiEditorBack{display:none!important}
@media(max-width:600px){
 #editor[data-paper-guided] .dialog-actions{flex:0 0 auto;gap:5px 8px;padding-top:4px}
 #editor[data-paper-guided] .dialog-actions :is(#editorSave,[data-close]){min-height:36px;padding:4px 8px}
 #editor[data-paper-guided] #editFields textarea{min-height:48px;max-height:clamp(48px,calc(var(--editor-visible-height,100dvh) - 195px),115px)}
}
