/* iSignYourDocuments · editor de contratos a pantalla casi completa */
.overlay{padding:16px!important;z-index:200!important}
.sheet{max-width:1320px!important;height:calc(100vh - 32px);height:calc(100dvh - 32px);display:flex;flex-direction:column;border-radius:16px!important}
.sheet .top{flex:0 0 auto;padding:16px 26px!important}
.sheet .top h3{font-size:20px!important}
.sheet .cols{flex:1 1 auto;min-height:0;grid-template-columns:minmax(380px,.85fr) 1.15fr!important}
.sheet .form{overflow:auto;padding:24px 30px 48px!important}
.sheet .prev{max-height:none!important;overflow:auto;padding:32px 36px!important;background:#eceef3!important}
#shPrev>div{background:#fff;max-width:760px;margin:0 auto;padding:52px 60px;box-shadow:0 2px 16px rgba(20,24,40,.09);border-radius:6px;line-height:1.75}
.sheet label{font-size:13px!important;margin:16px 0 6px!important}
.sheet input,.sheet select{padding:12px 14px!important;font-size:15px!important}
.sheet .btn{padding:14px 20px!important;font-size:15.5px!important}
.tabsF button{padding:12px 8px!important;font-size:14px!important}
.clx{padding:14px 16px!important;margin-bottom:10px!important}
.clx .hd b{font-size:14px!important}
.clx .tools{gap:6px!important;margin-top:11px!important}
.clx .tools button{padding:8px 6px!important;font-size:12.5px!important}
.clx .tools button.on{background:var(--brand,#5b2fe0)!important;color:#fff!important;border-color:var(--brand,#5b2fe0)!important}
.clx textarea{font-size:14px!important;min-height:150px!important;line-height:1.65!important;padding:12px 14px!important}
.clx textarea.hidden{display:none!important}
.addcl{padding:13px!important;font-size:14px!important}
.ov2{z-index:300!important}
.ov2 .bx{max-width:720px!important;padding:26px 30px!important;max-height:86vh!important}
.ov2 .bx input,.ov2 .bx textarea{font-size:15px!important}
.ov2 .bx textarea{min-height:200px!important}
.libItem{padding:13px 15px!important}
@media(max-width:900px){
  .overlay{padding:0!important}
  .sheet{height:100vh;height:100dvh;border-radius:0!important}
  .sheet .cols{display:block!important;overflow:auto}
  .sheet .form{overflow:visible;border-right:none!important;padding:18px 18px 26px!important}
  .sheet .prev{overflow:visible;padding:16px 10px 30px!important}
  #shPrev>div{padding:26px 18px}
  .ov2{padding:10px!important}
  .ov2 .bx{padding:20px 18px!important;max-height:92vh!important}
}
body.embed .overlay{padding:0!important}
body.embed .sheet{height:100vh;height:100dvh;max-width:none!important;border-radius:0!important}
