/* OT-FIRMA · Ajustes del panel sobre panel.css + officetech.css */
.firmantes-edit .fila-f { display: grid; grid-template-columns: 2fr 2fr 1.3fr .8fr 1.2fr 1fr auto; gap: .4rem; align-items: end; margin-bottom: .4rem; }
.firmantes-edit .fila-f label { margin: 0; font-size: .75rem; }
.firmantes-edit .fila-f input, .firmantes-edit .fila-f select { margin: 0; }
@media (max-width: 760px) { .firmantes-edit .fila-f { grid-template-columns: 1fr 1fr; } }
.quitar { background: none; border: 0; color: var(--rojo); font-size: 1.1rem; cursor: pointer; padding: .4rem; }
.firma-mini { max-height: 48px; max-width: 140px; border: 1px solid var(--linea); border-radius: 6px; background: #fff; padding: 2px; }
.linea-tiempo { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.linea-tiempo li { padding: .35rem 0; border-bottom: 1px dashed var(--linea); display: flex; gap: .6rem; flex-wrap: wrap; }
.linea-tiempo time { color: var(--suave); font-size: .8rem; min-width: 130px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; word-break: break-all; }
.saldos { display: flex; gap: .5rem; flex-wrap: wrap; }
.saldos .pill { font-size: .85rem; padding: .25rem .7rem; }
textarea { width: 100%; font: inherit; padding: .5rem .7rem; border: 1px solid #c7cfd9; border-radius: 7px; }
input[type=file] { display: block; margin-top: .25rem; }
.secreto { font-family: ui-monospace, Consolas, monospace; background: #fff7e8; border: 1px solid #f5d9a8; padding: .6rem .8rem; border-radius: 8px; word-break: break-all; }

/* ----- 0.1.1 · Mi firma y Firmar documento ----- */
.opcion { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; margin: .35rem 0; cursor: pointer; }
.opcion input { margin-top: .2rem; width: 18px; height: 18px; flex: none; accent-color: var(--naranja); }
.firma-guardada { background: #fff; border: 1px solid var(--linea); border-radius: 10px; padding: .5rem; text-align: center; }
.firma-guardada img { max-width: 100%; max-height: 120px; }
.firma-guardada.peq img { max-height: 70px; }
.lienzo-caja { position: relative; height: 170px; border: 2px dashed #b9c0ca; border-radius: 10px; background: #fff; touch-action: none; }
.lienzo-caja canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.lienzo-linea { position: absolute; left: 8%; right: 8%; bottom: 34px; border-bottom: 1px solid #c9ced6; pointer-events: none; }
.af { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 860px) { .af { grid-template-columns: 1fr; } }
.af-nav { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; }
.af-tam { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 0 auto; font-weight: 400; font-size: .85rem; }
.af-hoja { position: relative; background: #e9edf2; border-radius: 6px; overflow: hidden; touch-action: none; cursor: crosshair; }
.af-hoja canvas { display: block; width: 100%; box-shadow: 0 2px 10px rgba(0,0,0,.15); background: #fff; }
.af-firma { position: absolute; border: 2px dashed var(--naranja); background: rgba(245,146,12,.12); border-radius: 4px; cursor: move; touch-action: none; display: flex; align-items: center; justify-content: center; }
.af-firma img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.af-firma span { font-size: .75rem; font-weight: 700; color: #8b5600; pointer-events: none; }
.af-firma.con-img span { display: none; }
.af-panel h2 { font-size: 1rem; }

.fp-canales { display: flex; flex-wrap: wrap; gap: .5rem; }
.fp-canales .btn { flex: 1 1 200px; justify-content: center; }
