/* V861.5 — Firma y huella. Interfaz simple, sin columnas comprimidas. */
#gy8531SignatureModal{width:min(740px,calc(100vw - 24px))!important;max-height:min(88vh,850px)!important;overflow-x:hidden!important;overflow-y:auto!important;box-sizing:border-box}
#gy8531SignatureModal *,#gy8615PreviewModal *{box-sizing:border-box}
#gy8531SignatureModal .gy8531ModalHead{position:sticky;top:0;z-index:2;background:#fff;padding:16px 20px}
#gy8531SignatureModal .gy8531ModalHead h3{font-size:19px;line-height:1.3;overflow-wrap:normal;word-break:normal}
#gy8531SignatureModal #workerSignaturePanelV340.gy8615Profile{margin:0!important;padding:18px 20px 20px!important;border:0!important;background:#fff!important;max-width:100%!important;width:100%!important;min-width:0!important;color:#16395a!important;overflow-x:hidden!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
.gy8615Profile .gy8615Help{font-size:13px;color:#52708c;margin:0 0 15px;line-height:1.5}
.gy8615Profile .gy8615Cards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;width:100%}
.gy8615Profile .gy8615Card{min-width:0;width:100%;padding:15px;border-radius:12px;border:1px solid #d7e5f4;background:#fbfdff;display:flex;flex-direction:column;gap:11px;overflow-wrap:normal;word-break:normal}
.gy8615Profile .gy8615CardHead{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0;flex-wrap:wrap}
.gy8615Profile .gy8615CardHead strong{font-size:16px;font-weight:800;color:#122f4d}
.gy8615Profile .gy8615Status{font-size:11px;font-weight:700;color:#6a7c8e;white-space:normal}
.gy8615Profile .gy8615ImagePreview{min-height:135px;height:135px;border:1px dashed #bcd0e5;border-radius:10px;background-color:#fff;background-image:linear-gradient(45deg,#f1f5f9 25%,transparent 25%),linear-gradient(-45deg,#f1f5f9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f1f5f9 75%),linear-gradient(-45deg,transparent 75%,#f1f5f9 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;display:flex;align-items:center;justify-content:center;padding:10px;overflow:hidden!important;min-width:0}
.gy8615Profile .gy8615ImagePreview img{display:block;max-width:100%!important;max-height:100%!important;object-fit:contain!important;aspect-ratio:auto!important}
.gy8615Profile .gy8615CardActions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gy8615Profile .gy8615Primary,.gy8615Profile .gy8615Delete{display:inline-flex;align-items:center;justify-content:center;min-height:38px;font-size:12px;font-weight:750;border-radius:8px;padding:9px 12px;line-height:1.3;cursor:pointer;text-align:center;min-width:0}
.gy8615Profile .gy8615Primary{border:1px solid #0c69cb;background:#0b69cf;color:#fff!important}
.gy8615Profile .gy8615Delete{background:#fff;border:1px solid #f1c3c8;color:#b51d32}
.gy8615Profile .gy8615Delete:disabled{opacity:.5;cursor:not-allowed}
.gy8615Profile .gy8615InlineMsg{font-size:12px;line-height:1.4;color:#476682;min-height:14px}
.gy8615Profile .gy8615Footnote{margin:14px 0 0;font-size:12px;line-height:1.5;color:#54718a;max-width:100%;white-space:normal;overflow-wrap:break-word;word-break:normal}
#gy8615PreviewModal{border:0;padding:0;width:min(720px,calc(100vw - 20px));max-height:90vh;overflow:auto;border-radius:15px;box-shadow:0 20px 80px rgba(8,23,45,.34);color:#123451}
#gy8615PreviewModal::backdrop{background:rgba(5,18,35,.60)}
.gy8615PreviewWrap{padding:18px 20px 20px}
.gy8615PreviewWrap h3{font-size:19px;margin:0 0 5px}
.gy8615PreviewWrap p{font-size:12px;line-height:1.5;color:#506b83;margin:0 0 14px}
.gy8615PreviewCols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gy8615PreviewCols>div{min-width:0}
.gy8615PreviewCols b{font-size:12px;display:block;margin-bottom:7px}
.gy8615PreviewImg{height:200px;border:1px solid #d5e4f3;border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:8px;background:#fff}
.gy8615PreviewImg.checker{background-color:#fff;background-image:linear-gradient(45deg,#e9eef5 25%,transparent 25%),linear-gradient(-45deg,#e9eef5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9eef5 75%),linear-gradient(-45deg,transparent 75%,#e9eef5 75%);background-position:0 0,0 9px,9px -9px,-9px 0;background-size:18px 18px}
.gy8615PreviewImg img{max-height:100%;max-width:100%;object-fit:contain}
.gy8615PreviewConsent{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.5;padding:12px;border-radius:9px;border:1px solid #d6e2ee;margin-top:14px;overflow-wrap:break-word}
.gy8615PreviewConsent input{flex:0 0 auto;margin-top:3px}
.gy8615PreviewMessage{font-size:12px;color:#b24718;line-height:1.5;margin-top:12px;min-height:16px}
.gy8615PreviewActions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:12px}
.gy8615PreviewActions button{min-height:40px;border-radius:9px;padding:10px 18px;border:1px solid #c6d9f1;background:#f3f8ff;color:#0b4e93;font-weight:800;cursor:pointer}
.gy8615PreviewActions button.primary{background:#0b69cf;color:#fff;border-color:#0b69cf}
.gy8615PreviewActions button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:580px){#gy8531SignatureModal .gy8531ModalHead{padding:12px 14px}#gy8531SignatureModal #workerSignaturePanelV340.gy8615Profile{padding:12px!important}.gy8615Profile .gy8615Cards{grid-template-columns:minmax(0,1fr)}.gy8615Profile .gy8615Card{padding:12px}.gy8615Profile .gy8615ImagePreview{height:120px;min-height:120px}.gy8615PreviewCols{grid-template-columns:minmax(0,1fr)}.gy8615PreviewImg{height:150px}.gy8615PreviewWrap{padding:14px}.gy8615PreviewActions button{flex:1}}

#gy8615ConsentLine[hidden]{display:none!important}


/* V861.5.2 — Aviso de autorización centrado y legible.
   Se sobreescribe exclusivamente la casilla del diálogo, porque estilos globales
   input{width:100%} la expandían y comprimían el texto a una sola letra por línea. */
#gy8615PreviewModal {
  box-sizing:border-box!important;
  min-width:0!important;
  width:min(720px, calc(100vw - 20px))!important;
  max-width:calc(100vw - 20px)!important;
  overflow-x:hidden!important;
}
#gy8615PreviewModal .gy8615PreviewWrap,
#gy8615PreviewModal .gy8615PreviewCols,
#gy8615PreviewModal .gy8615PreviewConsent {
  min-width:0!important;
  max-width:100%!important;
}
#gy8615PreviewModal .gy8615PreviewConsent {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:20px minmax(0, 1fr)!important;
  align-items:start!important;
  justify-items:start!important;
  column-gap:11px!important;
  width:100%!important;
  margin:14px auto 0!important;
  padding:13px 14px!important;
  background:#f3f8ff;
  border:1px solid #c9dff7;
  border-radius:10px;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.5!important;
  color:#244668!important;
  white-space:normal!important;
}
#gy8615PreviewModal .gy8615PreviewConsent input[type="checkbox"] {
  box-sizing:border-box!important;
  display:block!important;
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  margin:1px 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  flex:0 0 18px!important;
  accent-color:#126dd3;
}
#gy8615PreviewModal .gy8615PreviewConsent span {
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  display:block!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.5!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  text-align:left!important;
}
@media(max-width:580px){
  #gy8615PreviewModal .gy8615PreviewConsent {padding:12px!important;font-size:12px!important;}
  #gy8615PreviewModal .gy8615PreviewConsent span {font-size:12px!important;}
}
