/* DANGOFE OS · Taller · «Pagó por transferencia» en la ficha del equipo (prefijo tal-ptr-) · taller-ptr.css v1.0.0 · 2026-11-03
   Vive en <body>: trae sus propios valores (claro y «Noche azul» por [data-theme='dark']; rojo de Power Wave con html[data-pw]). Sin sombras. Nada se mueve solo. */
html.tal-ptr-abierta, html.tal-ptr-abierta body { overflow: hidden; }
.tal-ptr { --ptr-velo: rgba(8, 14, 36, .45); --ptr-hoja: rgba(255, 255, 255, .94); --ptr-hoja-bd: rgba(255, 255, 255, .9); --ptr-campo: rgba(255, 255, 255, .78); --ptr-linea: rgba(10, 22, 51, .26); --ptr-raya: rgba(10, 22, 51, .1);
  --ptr-t: #0b1540; --ptr-t2: #3d4868; --ptr-on: rgba(3, 38, 155, .07); --ptr-acento: #03269b; --ptr-pri: #03269b; --ptr-pri-h: #021d78; --ptr-foco: #03269b; --ptr-err: #c2410c; --ptr-toca: rgba(10, 22, 51, .05); --ptr-dis: #e8eaef; --ptr-dis-t: #565f72;
  position: fixed; top: 0; left: 0; right: 0; height: 100%; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box;
  color: var(--ptr-t); font-family: inherit; font-size: 15px; line-height: 1.35; }
[data-theme='dark'] .tal-ptr { --ptr-hoja: rgba(10, 18, 46, .95); --ptr-hoja-bd: rgba(255, 255, 255, .16); --ptr-campo: rgba(255, 255, 255, .07); --ptr-linea: rgba(255, 255, 255, .3); --ptr-raya: rgba(255, 255, 255, .12);
  --ptr-t: #eef1ff; --ptr-t2: #b6bfdf; --ptr-on: rgba(143, 180, 255, .14); --ptr-acento: #8fb4ff; --ptr-pri: #2f5bea; --ptr-pri-h: #2550d6; --ptr-foco: #8fb4ff; --ptr-err: #fdba74; --ptr-toca: rgba(255, 255, 255, .08); --ptr-dis: rgba(255, 255, 255, .08); --ptr-dis-t: #b4bcd8; color-scheme: dark; }
html[data-pw] .tal-ptr { --ptr-on: var(--pw-suave, rgba(236, 50, 55, .09)); --ptr-acento: var(--pw-txt, #c8191f); --ptr-pri: #c8191f; --ptr-pri-h: #ad1419; --ptr-foco: var(--pw-txt, #c8191f); --ptr-err: var(--pw-err-txt, #c2410c); }
html[data-pw][data-theme='dark'] .tal-ptr { --ptr-on: var(--pw-suave, rgba(255, 90, 95, .14)); --ptr-acento: var(--pw-txt, #ff8a8d); --ptr-pri: #c8191f; --ptr-pri-h: #dd2329; --ptr-foco: var(--pw-txt, #ff8a8d); --ptr-err: var(--pw-err-txt, #fdba74); }
.tal-ptr * { box-sizing: border-box; }
.tal-ptr__velo { position: absolute; inset: 0; background: var(--ptr-velo); }
.tal-ptr__hoja { position: relative; display: flex; flex-direction: column; width: 460px; max-width: 100%; max-height: 100%; min-height: 0; margin: 0; border-radius: 22px; border: 1px solid var(--ptr-hoja-bd); background: var(--ptr-hoja); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); outline: 0; }

.tal-ptr__cab { flex: none; display: flex; align-items: flex-start; gap: 10px; padding: 16px 12px 12px 18px; border-bottom: 1px solid var(--ptr-raya); }
.tal-ptr__cabt { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.tal-ptr__cabt h2 { margin: 0 0 2px; font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--ptr-t); }
.tal-ptr__cabt p { margin: 0; font-size: 13px; font-weight: 500; color: var(--ptr-t2); overflow-wrap: anywhere; }
.tal-ptr__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -6px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ptr-t2); cursor: pointer; }
.tal-ptr__cuerpo { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; display: grid; gap: 14px; padding: 14px 18px; }
.tal-ptr__c { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.tal-ptr__cuentas { gap: 8px; }
.tal-ptr__c legend, .tal-ptr__et { padding: 0; font-size: 13px; font-weight: 700; color: var(--ptr-t2); }
.tal-ptr__c legend { margin-bottom: 8px; }
.tal-ptr__et em { font-style: normal; font-weight: 500; }
.tal-ptr__dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }

/* cuentas: el nombre largo baja de línea; nunca se corta */
.tal-ptr__op { position: relative; display: block; min-width: 0; cursor: pointer; }
.tal-ptr__op + .tal-ptr__op { margin-top: 8px; }
.tal-ptr__op input { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin: -10px 0 0; border: 2px solid var(--ptr-linea); border-radius: 50%; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.tal-ptr__op input:checked { border: 6px solid var(--ptr-pri); background: #fff; }
.tal-ptr__opt { display: grid; gap: 1px; min-height: 56px; align-content: center; padding: 8px 14px 8px 46px; border-radius: 14px; border: 1px solid var(--ptr-linea); background: var(--ptr-campo); }
.tal-ptr__opt b { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ptr-t); overflow-wrap: anywhere; }
.tal-ptr__opt small { font-size: 12.5px; color: var(--ptr-t2); overflow-wrap: anywhere; }
.tal-ptr__op input:checked + .tal-ptr__opt { border-color: var(--ptr-acento); background: var(--ptr-on); }
.tal-ptr__op input:focus-visible + .tal-ptr__opt { outline: 2px solid var(--ptr-foco); outline-offset: 2px; }
.tal-ptr__sin { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--ptr-on); font-size: 14px; font-weight: 600; color: var(--ptr-t); }

/* campos: 16 px para que el teléfono no acerque la pantalla al tocarlos */
.tal-ptr input[type='text'], .tal-ptr input[type='date'], .tal-ptr textarea { display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--ptr-linea); background: var(--ptr-campo); color: var(--ptr-t); font: inherit; font-size: 16px; line-height: 1.3; outline: 0; -webkit-appearance: none; appearance: none; }
.tal-ptr textarea { resize: vertical; }
.tal-ptr input[type='date']::-webkit-date-and-time-value { text-align: left; }
.tal-ptr__monto { display: flex; align-items: center; min-width: 0; min-height: 48px; padding-left: 13px; border-radius: 12px; border: 1px solid var(--ptr-linea); background: var(--ptr-campo); }
.tal-ptr__monto i { flex: none; font-style: normal; font-size: 14px; font-weight: 700; color: var(--ptr-t2); }
.tal-ptr .tal-ptr__monto input[type='text'] { flex: 1 1 auto; width: 0; padding-left: 7px; border: 0; background: transparent; font-weight: 700; font-variant-numeric: tabular-nums; }
.tal-ptr input[type='text']:focus-visible, .tal-ptr input[type='date']:focus-visible, .tal-ptr textarea:focus-visible, .tal-ptr__monto:focus-within { border-color: var(--ptr-foco); outline: 2px solid var(--ptr-foco); outline-offset: -1px; }
.tal-ptr .tal-ptr__monto input[type='text']:focus-visible { outline: 0; }
.tal-ptr__pista { min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--ptr-t2); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.tal-ptr__pista:empty { display: none; }

/* lo que el servidor o la revisión rechazan */
.tal-ptr__c.is-mal .tal-ptr__opt, .tal-ptr__c.is-mal .tal-ptr__monto, .tal-ptr__c.is-mal input[type='date'], .tal-ptr__c.is-mal input[type='text'], .tal-ptr__c.is-mal textarea { border-color: var(--ptr-err); border-width: 2px; }
.tal-ptr__c.is-mal .tal-ptr__monto input[type='text'] { border: 0; }
.tal-ptr__c.is-mal .tal-ptr__et, .tal-ptr__c.is-mal legend { color: var(--ptr-err); }

.tal-ptr__pie { flex: none; display: grid; gap: 10px; padding: 12px 18px 16px; border-top: 1px solid var(--ptr-raya); }
.tal-ptr__err { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--ptr-err); overflow-wrap: anywhere; }
.tal-ptr__err:empty { display: none; }
.tal-ptr__acc { display: flex; gap: 10px; }
.tal-ptr__btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--ptr-linea); background: transparent; color: var(--ptr-t); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.tal-ptr__btn--pri { flex: 1.6 1 0; border-color: var(--ptr-pri); background: var(--ptr-pri); color: #fff; }
.tal-ptr__btn:disabled { border-color: transparent; background: var(--ptr-dis); color: var(--ptr-dis-t); cursor: default; }
@media (hover: hover) {
  .tal-ptr__btn:not(:disabled):hover, .tal-ptr__x:not(:disabled):hover { background: var(--ptr-toca); }
  .tal-ptr__btn--pri:not(:disabled):hover { background: var(--ptr-pri-h); border-color: var(--ptr-pri-h); }
}
.tal-ptr__btn:focus-visible, .tal-ptr__x:focus-visible { outline: 2px solid var(--ptr-foco); outline-offset: 2px; }
.tal-ptr__gira { flex: none; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: tal-ptr-gira .8s linear infinite; }
@keyframes tal-ptr-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tal-ptr__gira { animation: none; } }

/* teléfono: sube desde abajo */
@media (max-width: 560px) {
  .tal-ptr { align-items: flex-end; padding: 0; }
  .tal-ptr__hoja { width: 100%; max-height: 94%; border-radius: 22px 22px 0 0; border-width: 1px 0 0; }
  .tal-ptr__pie { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .tal-ptr__cuerpo { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 340px) { .tal-ptr__dos { grid-template-columns: minmax(0, 1fr); } }
