/* Portal del socio (/socios, 09/10/2026). Usa los colores y botones de sitio.css. Pensado primero para el celular. */
.oculto { display: none !important; }
html, body { touch-action: pan-x pan-y; }  /* sin zoom con los dedos en el celular (20/10/2026) */
.pt-cargando { min-height: 100vh; display: flex; align-items: center; justify-content: center; color: var(--suave); }

/* ---- ingreso: pasos (ingresar / pedir enlace / elegir clave) */
.caja-ingreso .pt-msj { margin: 0 0 14px; padding: 11px 14px; border-radius: 12px; font-size: 14px; }
.pt-msj.error { background: #fdecec; color: #9b1c1c; }
.pt-msj.ok { background: var(--verde-claro); color: var(--verde-osc); }
.pt-msj.info { background: #eef4fb; color: #1d4f91; }
.caja-ingreso .pt-ayuda { font-size: 12.5px; color: var(--suave); margin: -6px 0 14px; }
.pt-ojo { position: relative; } .pt-ojo input { padding-right: 70px; }
.pt-ojo button { position: absolute; right: 8px; bottom: 7px; border: 0; background: none; color: var(--verde); font-weight: 600; font-size: 12.5px; cursor: pointer; padding: 4px 6px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
/* Mientras trabaja (ingresar, mandar el enlace): ruedita en el botón y aviso con barrita (30/10/2026) */
.btn.ocupado { opacity: .8; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.pt-rueda { width: 17px; height: 17px; border: 3px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: pt-gira .8s linear infinite; flex: none; }
@keyframes pt-gira { to { transform: rotate(360deg); } }
.pt-msj.esperando { background: #fff8e1; color: #6b5200; border: 1px solid #f0d98a; }
.pt-msj .pt-barra { height: 5px; border-radius: 3px; background: #f0e2b0; overflow: hidden; margin-top: 8px; }
.pt-msj .pt-barra i { display: block; height: 100%; width: 40%; background: #d8a520; border-radius: 3px; animation: pt-va 1.3s ease-in-out infinite; }
@keyframes pt-va { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }

/* ---- panel */
.pt { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 100vh; background: var(--gris); }
.pt-lado { background: #fff; border-right: 1px solid var(--borde); padding: 20px 16px; display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.pt-medico { padding: 14px; border-radius: 14px; background: var(--verde-claro); }
.pt-medico b { display: block; font-size: 16px; color: var(--verde-osc); line-height: 1.25; }
.pt-medico small { display: block; color: var(--suave); font-size: 12.5px; margin-top: 2px; }
.pt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pt-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: #fff; color: var(--verde-osc); border: 1px solid #bfe0cb; white-space: nowrap; }
.pt-chip.cat { background: var(--verde); color: #fff; border-color: var(--verde); }
.pt-menu { display: grid; gap: 2px; }
.pt-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--suave); font-weight: 500; font-size: 14.5px; }
.pt-menu a .pt-ic { width: 32px; height: 32px; border-radius: 10px; }
.pt-menu a .pt-ic svg { width: 18px; height: 18px; }
.pt-menu a:hover { background: var(--gris); color: var(--texto); }
.pt-menu a.activo { background: var(--verde-claro); color: var(--verde-osc); font-weight: 600; }
.pt-salir { margin-top: auto; }
.pt-salir button { width: 100%; }
.pt-salir svg, .pt-btn-salir svg { width: 18px; height: 18px; }
.pt-main { padding: 26px 28px 40px; min-width: 0; }
.pt-cab { display: none; }
.pt-titulo { margin: 0 0 4px; font-size: 24px; color: var(--verde-osc); }
.pt-sub { margin: 0 0 20px; color: var(--suave); font-size: 14.5px; }

.pt-tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.pt-tarjeta { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid var(--borde); }
.pt-tarjeta span { display: block; font-size: 13px; color: var(--suave); }
.pt-tarjeta b { display: block; font-size: 23px; margin: 4px 0 2px; color: var(--texto); }
.pt-tarjeta small { color: var(--suave); font-size: 12.5px; }
.pt-tarjeta.rojo b { color: #b42318; } .pt-tarjeta.verde b { color: var(--verde); }
a.pt-tarjeta:hover { border-color: #bfe0cb; }

.pt-caja { background: #fff; border-radius: 14px; border: 1px solid var(--borde); padding: 16px 18px; margin-bottom: 16px; }
.pt-caja h3 { margin: 0 0 10px; font-size: 16px; color: var(--verde-osc); }
.pt-aviso { padding: 12px 14px; border-radius: 12px; background: #fef3c7; color: #92400e; font-size: 14px; margin-bottom: 16px; }
.pt-vacio { color: var(--suave); padding: 20px 4px; text-align: center; }

/* preliquidación publicada (todavía puede cambiar) */
.pt-preliq { border: 1.5px solid #f2c94c; background: #fffdf5; }
.pt-preliq-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.pt-preliq-cab h3 { margin: 6px 0 0; } .pt-preliq-cab small { color: var(--suave); }
.pt-preliq-neto { text-align: right; } .pt-preliq-neto span { display: block; font-size: 12.5px; color: var(--suave); }
.pt-preliq-neto b { display: block; font-size: 24px; color: var(--verde-osc); margin-bottom: 6px; }
.pt-preliq-ret { margin-top: 10px; }
.pt-tarjeta-preliq { display: block; margin-bottom: 12px; border: 1.5px solid #f2c94c; background: #fffdf5; }
.pt-tarjeta-preliq b { color: var(--verde-osc); }

/* tablas que en el celular pasan a tarjetas */
.pt-tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.pt-tabla th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .02em; color: var(--suave); font-weight: 600;
  padding: 6px 10px; border-bottom: 1px solid var(--borde); }
.pt-tabla td { padding: 5px 10px; border-bottom: 1px solid var(--borde); vertical-align: middle; line-height: 1.35; }
.pt-tabla tr:last-child td { border-bottom: 0; }
.pt-tabla .num { text-align: right; white-space: nowrap; }
.pt-tabla .neto { font-weight: 700; color: var(--verde-osc); }
.pt-tabla tfoot td { font-weight: 700; border-top: 2px solid var(--borde); }
.btn-chico { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--verde); color: var(--verde); background: #fff; cursor: pointer; white-space: nowrap; }
.btn-chico:hover { background: var(--verde-claro); }
.btn-chico svg { width: 15px; height: 15px; }
.pt-tabla .btn-chico { padding: 3px 10px; }
/* descargar planilla: solo el ícono (el nombre de la planilla, al pasar el mouse) */
.btn-icono { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px;
  border: 1.5px solid var(--verde); color: var(--verde); background: #fff; }
.btn-icono:hover { background: var(--verde); color: #fff; }
.btn-icono svg { width: 17px; height: 17px; }
.pt-etq { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pt-etq.debito { background: #fdecec; color: #9b1c1c; } .pt-etq.credito { background: var(--verde-claro); color: var(--verde-osc); }
.pt-etq.gris { background: #eef1f3; color: var(--suave); } .pt-etq.no { background: #fef3c7; color: #92400e; }
.pt-viejo { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: 11px; background: #e0f2fe; color: #0369a1; white-space: nowrap; }
.pt-etq.si { background: var(--verde-claro); color: var(--verde-osc); } .pt-etq.parcial { background: #ffedd5; color: #b54708; }

/* valores de consulta */
.pt-buscar { width: 100%; max-width: 360px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--borde); font-size: 15px; margin-bottom: 12px; }
.pt-tabla th.mia, .pt-tabla td.mia { background: var(--verde-claro); }
/* encabezado con fondo, para que no parezca texto suelto (Gustavo 20/10/2026) */
.pt-tabla thead th { background: #e3eee8; color: var(--verde-osc); border-bottom: 2px solid #c6dccf; }
.pt-tabla thead th:first-child { border-top-left-radius: 8px; } .pt-tabla thead th:last-child { border-top-right-radius: 8px; }
.pt-tabla thead th.mia { background: #c6e3d2; }
.pt-ult-pago b { display: block; font-weight: 600; } .pt-ult-pago small { color: var(--suave); font-size: 12px; white-space: nowrap; }
.pt-tabla td.mia { font-weight: 700; color: var(--verde-osc); }
.pt-tabla tr.sc td { color: #8a949e; background: #f4f5f6; } .pt-tabla tr.sc .os-nombre { text-decoration: line-through; }
.pt-tabla tr.norec td { background: #fffaf0; }
.os-nombre { font-weight: 600; }
.pt-plan { display: flex; flex-wrap: wrap; gap: 6px; }

/* mis datos */
.pt-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4px 24px; }
.pt-dato { padding: 8px 0; border-bottom: 1px solid var(--borde); }
.pt-dato span { display: block; font-size: 12px; color: var(--suave); text-transform: uppercase; letter-spacing: .02em; }
.pt-dato b { font-weight: 500; }
.pt-form textarea, .pt-form input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--borde); font-size: 15px; font-family: inherit; }
.pt-form label { display: block; font-size: 13px; font-weight: 600; color: var(--suave); margin-bottom: 10px; }
.pt-form .pt-fila { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 12px; }

/* ---- promedio de liquidación */
.pt-prom-filtro { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.pt-prom-filtro label { margin: 0; width: 170px; }
.pt-prom-filtro .btn svg { width: 17px; height: 17px; vertical-align: -3px; margin-right: 6px; }
.pt-prom-cab { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pt-prom-cab b { display: block; font-size: 17px; color: var(--verde-osc); } .pt-prom-cab small { display: block; color: var(--suave); font-size: 12.5px; }
.pt-prom-cab .der { text-align: right; } .pt-prom-cab .der b { font-size: 15px; color: var(--texto); }
.pt-prom-tarjetas { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.pt-prom-tarjetas .pt-tarjeta b { font-size: 20px; }
.pt-prom-destacada { background: var(--verde-osc); border-color: var(--verde-osc); }
.pt-prom-destacada span, .pt-prom-destacada small { color: #d1fae5; } .pt-prom-destacada b { color: #fff !important; }
.pt-prom-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .pt-prom-dos .pt-caja { margin-bottom: 16px; }
.pt-barra { height: 5px; background: var(--gris); border-radius: 3px; margin-top: 3px; } .pt-barra i { display: block; height: 100%; background: var(--verde); border-radius: 3px; }
.pt-prom-neto td { font-weight: 700; color: var(--verde-osc); border-top: 2px solid var(--borde); }
@media (max-width: 1000px) { .pt-prom-dos { grid-template-columns: 1fr; } }
@media print {
  .pt { display: block; } .pt-lado, .pt-cab, .pt-filtro { display: none !important; }
  .pt-main { padding: 0; } body { background: #fff; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pt-caja, .pt-tarjeta { break-inside: avoid; }
}

/* ---- Mi cuenta (09/10/2026) */
.pt-cm-grafico { width: 100%; max-width: 640px; height: auto; display: block; }
.pt-cm-total { font-size: 12px; font-weight: 700; fill: #1f2933; } .pt-cm-mes { font-size: 12px; fill: #5b6876; }
.pt-cm-ley { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; margin-top: 6px; }
.pt-cm-ley i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.pt-cm-nota { margin: 8px 0 0; font-size: 12.5px; color: var(--suave); }
.pt-etq.pt-cm-presentado { background: #fef3c7; color: #92400e; } .pt-etq.pt-cm-facturado { background: #e0f2fe; color: #0369a1; }
.pt-etq.pt-cm-cobrado { background: var(--verde-claro); color: var(--verde-osc); } .pt-etq.pt-cm-preliq { background: #ede9fe; color: #5b21b6; }

@media (max-width: 640px) {
  .pt-tabla.resp thead { display: none; }
  .pt-tabla.resp, .pt-tabla.resp tbody, .pt-tabla.resp tr, .pt-tabla.resp td { display: block; width: 100%; }
  .pt-tabla.resp tr { border: 1px solid var(--borde); border-radius: 12px; padding: 4px 12px; margin-bottom: 8px; background: #fff; }
  .pt-tabla.resp td { border: 0; padding: 2px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; }
  .pt-tabla.resp td::before { content: attr(data-t); color: var(--suave); font-size: 12.5px; text-align: left; flex: none; }
  .pt-tabla.resp td.sin-titulo::before { content: none; }
  .pt-tabla.resp td.sin-titulo { justify-content: flex-start; text-align: left; }
  .pt-tabla.resp tfoot { display: block; } .pt-tabla.resp tfoot tr { display: flex; justify-content: space-between; }
  .pt-caja { padding: 14px; }
  .pt-prom-tarjetas { grid-template-columns: 1fr 1fr; gap: 8px; } .pt-prom-tarjetas .pt-tarjeta { padding: 12px; }
  .pt-prom-tarjetas .pt-tarjeta b { font-size: 16px; } .pt-prom-destacada { grid-column: 1 / -1; }
  .pt-prom-filtro label { width: calc(50% - 6px); }
  .pt-cm-tarjetas { grid-template-columns: 1fr 1fr; gap: 8px; } .pt-cm-tarjetas .pt-tarjeta { padding: 12px; }
  .pt-cm-tarjetas .pt-tarjeta b { font-size: 16px; } .pt-cm-tarjetas .pt-tarjeta:first-child { grid-column: 1 / -1; }
}

/* ---- 14/10/2026: pago de deudas, descargar planillas (modelo C), carga de prestaciones, club */
.pt-pronto { display: inline-block; margin-left: auto; font-size: 10.5px; font-weight: 700; background: #6b7280; color: #fff; border-radius: 999px; padding: 0 7px; }
.pt-paso { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--verde); color: #fff; align-items: center;
  justify-content: center; font-size: 13px; margin-right: 8px; vertical-align: 1px; }
.pt-deudas th.chk, .pt-deudas td.chk { width: 34px; text-align: center; }
.pt-deudas input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--verde); cursor: pointer; }
.pt-deudas tr.verif td { color: var(--suave); }
.pt-banco { background: var(--verde-claro); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.pt-banco div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 0; flex-wrap: wrap; }
.pt-banco span { color: var(--suave); } .pt-banco b { font-family: Consolas, monospace; font-size: 14.5px; word-break: break-all; text-align: right; }
.pt-ref { margin-top: 12px; background: #fff7ed; border-radius: 10px; padding: 10px 14px; font-size: 14px; color: #92400e; }
.pt-copiar { border: 1px solid #bfe0cb; background: #fff; color: var(--verde); border-radius: 8px; font: inherit; font-size: 12px; font-weight: 600;
  padding: 2px 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; vertical-align: 1px; font-family: "Segoe UI", system-ui, sans-serif; }
.pt-copiar svg { width: 13px; height: 13px; } .pt-copiar i { font-style: normal; }
.pt-form input[type=file] { padding: 8px; background: var(--gris); border-style: dashed; }

.pt-pl-grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pt-pl-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--borde); background: #fff; }
.pt-pl-top { background: linear-gradient(135deg, var(--verde-osc), var(--verde-medio)); color: #fff; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.pt-pl-top svg { width: 28px; height: 28px; flex: none; opacity: .9; }
.pt-pl-top b { display: block; font-size: 15.5px; line-height: 1.25; } .pt-pl-top small { opacity: .85; font-size: 12.5px; }
.pt-pl-items { padding: 4px 14px 10px; }
.pt-pl-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--borde); font-size: 14px; }
.pt-pl-item:last-child { border-bottom: 0; }
.pt-pl-item a { display: inline-flex; align-items: center; gap: 5px; color: var(--verde); font-weight: 600; white-space: nowrap; }
.pt-pl-item a svg { width: 17px; height: 17px; }
.pt-pl-aviso { font-size: 13px; color: #b45309; display: flex; gap: 6px; align-items: center; padding: 9px 0; }
.pt-pl-aviso svg { width: 17px; height: 17px; flex: none; }

.pt-pronto-caja { text-align: center; padding: 40px 20px; color: var(--suave); }
.pt-pronto-caja svg { width: 52px; height: 52px; color: var(--verde); }
.pt-pronto-caja h3 { color: var(--verde-osc); margin: 8px 0 4px; }

.pt-carga select { width: 100%; max-width: 320px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--borde); font-size: 15px; font-family: inherit; background: #fff; }
.pt-carga-fila { grid-template-columns: minmax(220px, 2fr) minmax(150px, 1.2fr) 100px 150px !important; }
.pt-cg-desc { font-size: 13.5px; color: var(--verde-osc); margin: -4px 0 10px; min-height: 18px; }
.pt-cg-sin { color: #9b1c1c; }
.pt-cg-mas summary { cursor: pointer; color: var(--verde); font-weight: 600; font-size: 13.5px; margin-bottom: 8px; }
.pt-cg-botones { display: flex; gap: 10px; flex-wrap: wrap; }
.pt-cg-acc { display: flex; gap: 4px; justify-content: flex-end; }
.pt-sug { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: #fff; border: 1px solid var(--borde); border-radius: 10px;
  box-shadow: var(--sombra); max-height: 280px; overflow-y: auto; margin-top: 2px; font-weight: 400; color: var(--texto); }
.pt-sug div { padding: 8px 12px; font-size: 14px; cursor: pointer; }
.pt-sug div.marcada, .pt-sug div:hover { background: var(--verde-claro); color: var(--verde-osc); }
@media (max-width: 760px) { .pt-carga-fila { grid-template-columns: 1fr 1fr !important; } .pt-cg-obra, .pt-cg-cod { grid-column: 1 / -1; } }
.pt-pl-modo { margin: 10px 14px 0; padding: 7px 10px; border-radius: 8px; background: var(--verde-claro); color: var(--verde-osc); font-size: 13px; font-weight: 600; line-height: 1.35; }
.pt-pl-modo span { display: block; font-size: 11px; font-weight: 600; color: var(--suave); text-transform: uppercase; letter-spacing: .04em; }

/* ======== Formato de app (16/10/2026, maqueta docs/maqueta_portal_app.html) ======== */
.pt-ic { display: inline-grid; place-items: center; flex: none; }
.c1 { background: #e8f4ec; color: #17753a; } .c2 { background: #e8f0fb; color: #1d4f91; } .c3 { background: #fdecec; color: #b03a2e; }
.c4 { background: #fff2dc; color: #a35f00; } .c5 { background: #f0eafb; color: #5b3a9b; } .c6 { background: #e3f6f6; color: #0f7272; }
.c7 { background: #fbe9f3; color: #a3306e; } .c8 { background: #eef1f4; color: #4a5560; }
.pt-der { min-width: 0; }
.pt-top, .pt-tabs { display: none; }
.pt-sec { margin: 22px 2px 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }

/* tarjeta verde grande del inicio */
.pt-hero { background: linear-gradient(135deg, var(--verde) 0%, var(--verde-medio) 100%); color: #fff; border-radius: 22px; padding: 22px 26px;
  box-shadow: 0 10px 24px rgba(23, 117, 58, .22); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pt-hero span { font-size: 14px; opacity: .92; }
.pt-hero .monto { font-size: 34px; font-weight: 700; margin: 2px 0 8px; letter-spacing: -.01em; line-height: 1.15; }
.pt-hero .fila { display: flex; gap: 8px; flex-wrap: wrap; }
.pt-hero .pill { background: rgba(255, 255, 255, .18); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; opacity: 1; }
.btn-hero { border-radius: 14px; background: #fff; color: var(--verde-osc); font-weight: 700; font-size: 16px; padding: 14px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-hero svg { width: 20px; height: 20px; }
.pt-aviso-app { display: flex; gap: 12px; align-items: center; background: #fff8e1; border: 1px solid #f2dc9a; border-radius: 16px; padding: 12px 14px;
  margin-top: 14px; color: var(--texto); }
.pt-aviso-app .ic { width: 42px; height: 42px; border-radius: 12px; background: #ffe7a3; color: #8a5a00; display: grid; place-items: center; flex: none; }
.pt-aviso-app .ic svg { width: 22px; height: 22px; }
.pt-aviso-app .t { flex: 1; } .pt-aviso-app b { display: block; font-size: 15px; } .pt-aviso-app small { color: #6b5a2a; font-size: 13px; }
.pt-aviso-app > svg { width: 20px; height: 20px; color: #8a5a00; }

/* botones grandes */
.pt-mosaico { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.pt-boton { background: #fff; border-radius: 20px; padding: 16px 14px 14px; min-height: 120px; display: flex; flex-direction: column; gap: 10px; position: relative;
  color: var(--texto); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 14px rgba(0, 0, 0, .05); transition: transform .1s, box-shadow .15s; }
.pt-boton:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 8px 22px rgba(15, 79, 39, .12); }
.pt-boton:active { transform: scale(.97); }
.pt-boton .pt-ic { width: 50px; height: 50px; border-radius: 16px; } .pt-boton .pt-ic svg { width: 26px; height: 26px; }
.pt-boton b { font-size: 15.5px; line-height: 1.2; } .pt-boton small { font-size: 12.5px; color: var(--suave); margin-top: -6px; line-height: 1.3; }
.pt-boton .badge { position: absolute; top: 12px; right: 12px; background: #c0392b; color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.pt-boton .pronto { position: absolute; top: 12px; right: 12px; background: #eef1f4; color: var(--suave); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 9px; }

/* "Más" */
.pt-perfil { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 16px; margin-bottom: 14px; }
.pt-perfil .av { width: 56px; height: 56px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; font-size: 21px; font-weight: 700; flex: none; }
.pt-perfil b { display: block; font-size: 16.5px; line-height: 1.25; } .pt-perfil small { color: var(--suave); font-size: 13px; }
.pt-lista { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 14px rgba(0, 0, 0, .04); }
.pt-lista a { display: flex; align-items: center; gap: 14px; padding: 11px 14px; min-height: 62px; border-bottom: 1px solid var(--borde); color: var(--texto); }
.pt-lista a:last-child { border-bottom: 0; }
.pt-lista .pt-ic { width: 40px; height: 40px; border-radius: 12px; } .pt-lista .pt-ic svg { width: 21px; height: 21px; }
.pt-lista b { flex: 1; font-size: 16px; font-weight: 600; } .pt-lista a > svg { width: 18px; height: 18px; color: #a8b2ad; }
.pt-lista .pt-pronto { margin: 0; }
.pt-btn-salir { width: 100%; margin-top: 16px; min-height: 50px; }

/* pagos de las obras sociales */
.pt-filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.pt-filtros .pt-buscar { margin: 0; }
.pt-chips-filtro { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.pt-chips-filtro button { border: 1px solid var(--borde); background: #fff; border-radius: 999px; padding: 9px 15px; font: inherit; font-weight: 600;
  font-size: 14px; white-space: nowrap; cursor: pointer; color: var(--texto); }
.pt-chips-filtro button.on { background: var(--verde); color: #fff; border-color: var(--verde); }
.pt-op-ley { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--suave); margin: 0 2px 12px; }
.pt-op-ley i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.pt-op .sem { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none; }
.sem.verde, .pt-op-ley i.verde { background: #22a55a; } .sem.amarillo, .pt-op-ley i.amarillo { background: #f0a020; }
.sem.rojo, .pt-op-ley i.rojo { background: #d64534; } .sem.gris, .pt-op-ley i.gris { background: #b3bcb7; }
.pt-op { background: #fff; border-radius: 16px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 14px rgba(0, 0, 0, .04); overflow: hidden; }
.pt-op summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; min-height: 64px; }
.pt-op summary::-webkit-details-marker { display: none; }
.pt-op summary .t { flex: 1; min-width: 0; } .pt-op summary b { display: block; font-size: 15.5px; line-height: 1.25; }
.pt-op summary small { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pt-op summary small.med { display: block; color: var(--suave); font-size: 13px; }
.pt-op summary small.med b { display: inline; font-size: inherit; color: var(--texto); }
.pt-op summary > svg { width: 18px; height: 18px; color: #a8b2ad; transition: transform .15s; flex: none; }
.pt-op[open] summary > svg { transform: rotate(90deg); }
.pt-op-meses { border-top: 1px solid var(--borde); padding: 4px 16px 8px; }
.pt-op-meses .mes { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--borde); align-items: flex-start; }
.pt-op-meses .mes:last-child { border-bottom: 0; }
.pt-op-meses .per { width: 64px; flex: none; } .pt-op-meses .per b { display: block; font-size: 15px; }
.pt-op-meses .per small { font-size: 11px; color: var(--verde); font-weight: 700; text-transform: uppercase; }
.pt-op-meses .det { flex: 1; min-width: 0; } .pt-op-meses .det small { display: block; color: var(--suave); font-size: 13px; margin-top: 3px; }
.pt-op-meses .sit.vencida { color: #b42318; font-weight: 600; } .pt-op-meses .sit.tarde { color: #b54708; font-weight: 600; }
.pt-op-meses .sit.ok { color: var(--verde); font-weight: 600; }

/* ---- celular: barra arriba, pestañas abajo, botones grandes */
@media (max-width: 860px) {
  .pt { display: block; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .pt-lado, .pt-solo-pc, .pt-titulo { display: none; }
  .pt-top { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 30; padding: 12px 16px; background: #fff;
    border-bottom: 1px solid var(--borde); min-height: 64px; }
  .pt-top .t { flex: 1; min-width: 0; line-height: 1.2; }
  .pt-top .t b { display: block; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pt-top .t small { font-size: 13px; opacity: .85; }
  .pt-top .redondo { width: 44px; height: 44px; border-radius: 50%; background: var(--verde-claro); color: var(--verde-osc); display: grid; place-items: center; flex: none; }
  .pt-top .redondo svg { width: 22px; height: 22px; }
  .pt-top.inicio { background: var(--verde); color: #fff; border: 0; }
  .pt-top-logo { width: 42px; height: 42px; border-radius: 12px; background: #fff; object-fit: contain; padding: 3px; flex: none; }
  .pt-main { padding: 16px 14px 24px; }
  .pt-sub { margin-bottom: 14px; font-size: 14px; }
  .pt-tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--borde);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0, 0, 0, .04); }
  .pt-tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; color: #7b8780; font-size: 11.5px; font-weight: 600; }
  .pt-tabs .burbuja { width: 56px; height: 32px; border-radius: 16px; display: grid; place-items: center; }
  .pt-tabs .burbuja svg { width: 24px; height: 24px; }
  .pt-tabs a.activo { color: var(--verde); } .pt-tabs a.activo .burbuja { background: var(--verde-claro); }
  .pt-tabs a.central .burbuja, .pt-tabs a.central.activo .burbuja { background: var(--verde); color: #fff; width: 52px; height: 52px; border-radius: 18px;
    margin-top: -22px; box-shadow: 0 6px 16px rgba(23, 117, 58, .35); }
  .pt-hero { padding: 18px; }
  .pt-hero .monto { font-size: 30px; }
  .btn-hero { width: 100%; }
  .pt-mosaico { grid-template-columns: 1fr 1fr; }
  .pt-tarjetas { grid-template-columns: 1fr 1fr; gap: 10px; } .pt-tarjeta { border-radius: 16px; padding: 14px; } .pt-tarjeta b { font-size: 18px; }
  .pt-caja { border-radius: 18px; border: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 14px rgba(0, 0, 0, .04); }
  .pt-buscar { max-width: none; padding: 13px 14px; font-size: 16px; border-radius: 14px; }
  /* botones y campos de un dedo */
  .btn { min-height: 48px; border-radius: 14px; }
  .btn-chico { padding: 10px 14px; font-size: 14px; border-radius: 12px; min-height: 42px; }
  .pt-tabla .btn-chico { padding: 8px 14px; }
  .btn-icono { width: 42px; height: 42px; border-radius: 12px; }
  .pt-form input, .pt-form textarea, .pt-form select, .pt-carga select { font-size: 16px; padding: 13px 14px; border-radius: 14px; }
  .pt-op-meses { padding: 2px 14px 6px; }
}
@media (max-width: 640px) {
  .pt-tabla.resp tr { border: 1px solid var(--borde); border-radius: 16px; padding: 10px 14px; margin-bottom: 10px; }
  .pt-tabla.resp td { padding: 4px 0; font-size: 15px; }
  .pt-tabla.resp td.sin-titulo { padding-top: 8px; }
  .pt-tabla.resp td.sin-titulo > .btn-chico { flex: 1; min-height: 46px; font-size: 15px; }
}
@media print { .pt-top, .pt-tabs { display: none !important; } }

/* Mis horarios (16/10/2026; el editor tiene su propio horarios_editor.css) */
.pt-hs-ultima { margin: 0 0 6px; }
.pt-hs-ultima .btn-chico { flex: none; }
.pt-hs-guardar { width: 100%; margin-top: 16px; min-height: 52px; font-size: 16px; }
#m_hs .pt-msj { margin-top: 14px; }

/* Valor de una práctica (20/10/2026) */
.pt-vp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pt-vp label { display: flex; flex-direction: column; gap: 4px; }
.pt-vp-tit b { display: block; font-size: 15px; } .pt-vp-tit small { color: var(--suave); }
.pt-vp-tit div { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.pt-vp-v { border: 1px solid var(--borde); border-radius: 12px; padding: 14px 16px; background: #fff; margin-top: 12px; max-width: 420px; }
.pt-vp-v span { display: block; font-size: 12px; letter-spacing: .04em; color: var(--suave); font-weight: 600; }
.pt-vp-v b { display: block; font-size: 28px; margin-top: 4px; color: #1f2933; white-space: nowrap; }
.pt-vp-v.total { background: var(--verde-claro); border-color: #c6dccf; } .pt-vp-v.total b { color: var(--verde-osc); }
.pt-vp-v:not(.total) { margin-top: 8px; padding: 10px 16px; } .pt-vp-v:not(.total) b { font-size: 20px; }
@media (max-width: 860px) { .pt-vp { grid-template-columns: 1fr; } .pt-vp-v { max-width: none; } }
.pt-favor { background: #ecf8f1; border-color: #9fd2b5; color: #1e6b52; } .pt-favor small { display: block; color: #1e6b52; margin-top: 4px; }

/* ---- Beneficios (26/10/2026): anticipo y lucro cesante, con fotos de la documentación */
.pt-bn-volver { margin-bottom: 12px; border: 0; cursor: pointer; }
.pt-bn-card { display: flex; gap: 14px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--borde); border-radius: 16px;
  padding: 16px; margin-bottom: 12px; cursor: pointer; font: inherit; color: inherit; }
.pt-bn-card:hover { border-color: #bfe0cb; box-shadow: var(--sombra); }
.pt-bn-card .pt-ic { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.pt-bn-card .pt-ic svg { width: 26px; height: 26px; }
.pt-bn-card b { display: block; font-size: 16px; } .pt-bn-card small { display: block; color: var(--suave); font-size: 13.5px; margin: 3px 0 8px; line-height: 1.4; }
.pt-bn-card i { font-style: normal; color: var(--verde); font-weight: 700; font-size: 13.5px; }
.pt-bn-pedidos { display: grid; gap: 8px; margin-bottom: 16px; }
.pt-bn-ped { display: flex; justify-content: space-between; gap: 12px; align-items: center; width: 100%; text-align: left; background: #fff;
  border: 1px solid var(--borde); border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; }
.pt-bn-ped:hover { border-color: #bfe0cb; }
.pt-bn-ped b { display: block; font-size: 14.5px; } .pt-bn-ped small { color: var(--suave); font-size: 12.5px; }
.pt-bn-ped .d { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.pt-bn-form { max-width: 620px; }
.pt-form .pt-bn-grande { font-size: 24px; font-weight: 700; color: var(--texto); }
.pt-bn-lab { font-size: 13px; font-weight: 600; color: var(--suave); margin: 4px 0 8px; } .pt-bn-lab small { font-weight: 400; }
.pt-bn-cuotas { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pt-bn-cuotas button { width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--borde); background: #fff; font-weight: 700;
  font-size: 16px; cursor: pointer; color: var(--texto); }
.pt-bn-cuotas button.on { background: var(--verde); color: #fff; border-color: var(--verde); }
.pt-bn-calc { display: flex; justify-content: space-between; align-items: center; background: var(--verde-claro); border-radius: 14px;
  padding: 12px 14px; margin-bottom: 14px; }
.pt-bn-calc span { color: var(--verde-osc); font-size: 13.5px; } .pt-bn-calc small { display: block; color: var(--suave); font-size: 12px; }
.pt-bn-calc b { font-size: 21px; color: var(--verde-osc); }
.pt-form label.pt-bn-autorizo { display: flex; gap: 10px; align-items: flex-start; background: var(--gris); border-radius: 12px; padding: 12px;
  font-weight: 400; color: var(--texto); font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.pt-form label.pt-bn-autorizo input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--verde); }
.pt-bn-info { background: #eef4fb; color: #1d4f91; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; margin: 0 0 14px; }
.pt-bn-fotos-btn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.pt-form .pt-bn-fotos-btn label { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; margin: 0;
  border-radius: 14px; border: 1.5px dashed #9fcfb0; background: #f7fbf8; color: var(--verde-osc); font-weight: 700; font-size: 14px;
  cursor: pointer; text-align: center; }
.pt-bn-fotos-btn svg { width: 30px; height: 30px; } .pt-bn-fotos-btn small { font-weight: 400; color: var(--suave); font-size: 12px; }
.pt-bn-fotos-btn label { position: relative; overflow: hidden; }
.pt-bn-fotos-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }  /* oculto sin display:none (Safari) */
.pt-bn-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 6px; }
.pt-bn-fotos.ver { margin-top: 12px; }
.pt-bn-foto { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--gris); border: 1px solid var(--borde); display: block; }
.pt-bn-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-bn-foto .doc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 6px; font-size: 11.5px; color: var(--suave); text-align: center; word-break: break-all; }
.pt-bn-foto .doc svg { width: 28px; height: 28px; color: #8aa093; }
.pt-bn-foto button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6);
  color: #fff; cursor: pointer; font-weight: 700; font-size: 16px; line-height: 1; }
.pt-bn-cont { font-size: 12.5px; color: var(--suave); margin-bottom: 14px; }
.pt-bn-ok { text-align: center; padding: 26px 18px; }
.pt-bn-ok .tilde { width: 72px; height: 72px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; margin: 0 auto 12px; }
.pt-bn-ok .tilde svg { width: 38px; height: 38px; } .pt-bn-ok h2 { margin: 0 0 6px; color: var(--verde-osc); } .pt-bn-ok p { color: var(--suave); margin: 0 0 4px; }
.pt-bn-ok .pt-bn-linea { text-align: left; max-width: 360px; margin: 18px auto; }
.pt-bn-linea { position: relative; padding-left: 32px; }
.pt-bn-linea::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--borde); }
.pt-bn-linea .paso { position: relative; margin-bottom: 16px; } .pt-bn-linea .paso:last-child { margin-bottom: 0; }
.pt-bn-linea .p { position: absolute; left: -32px; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--borde);
  display: grid; place-items: center; font-weight: 700; }
.pt-bn-linea .paso.hecho .p { background: var(--verde); border-color: var(--verde); color: #fff; } .pt-bn-linea .p svg { width: 14px; height: 14px; }
.pt-bn-linea .paso.ahora .p { border-color: #f0b429; background: #fff4d6; }
.pt-bn-linea .paso.no .p { border-color: #b42318; background: #fdecec; color: #b42318; }
.pt-bn-linea b { display: block; font-size: 14.5px; } .pt-bn-linea small { color: var(--suave); font-size: 12.5px; display: block; }
.pt-bn-linea .det { margin-top: 6px; background: var(--gris); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.5; }
.pt-bn-linea .cambio { color: #8a5a00; font-weight: 700; }
.pt-bn-datos div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--borde); font-size: 14px; }
.pt-bn-datos div:last-child { border: 0; } .pt-bn-datos span { color: var(--suave); } .pt-bn-datos b { text-align: right; font-weight: 600; }
.pt-bn-h { display: none; margin: 0 0 10px; font-size: 19px; color: var(--verde-osc); }
@media (max-width: 860px) { .pt-bn-h { display: block; } }

/* ventana "Enviando tu pedido" con la barra de subida */
.pt-bn-envio { position: fixed; inset: 0; z-index: 200; background: rgba(15, 30, 22, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.pt-bn-envio .bne-caja { background: #fff; border-radius: 20px; padding: 26px 24px 22px; width: min(340px, 100%); text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.pt-bn-envio .bne-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--verde-claro); color: var(--verde); display: grid; place-items: center; margin: 0 auto 12px;
  animation: pt-bn-late 1.2s ease-in-out infinite; }
.pt-bn-envio .bne-ic svg { width: 32px; height: 32px; fill: none; }
.pt-bn-envio b { display: block; font-size: 17px; color: var(--verde-osc); } .pt-bn-envio small { display: block; color: var(--suave); margin: 4px 0 14px; }
.pt-bn-envio .bne-barra { height: 10px; border-radius: 999px; background: #e6ece8; overflow: hidden; }
.pt-bn-envio .bne-barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--verde-medio), var(--verde)); border-radius: 999px; transition: width .2s; }
.pt-bn-envio.final .bne-barra i { background: repeating-linear-gradient(45deg, var(--verde) 0 10px, var(--verde-medio) 10px 20px); background-size: 28px 28px; animation: pt-bn-raya .8s linear infinite; }
.pt-bn-envio .bne-pct { display: block; margin-top: 8px; font-weight: 700; color: var(--verde-osc); }
@keyframes pt-bn-late { 50% { transform: translateY(-4px); } }
@keyframes pt-bn-raya { to { background-position: 28px 0; } }

/* foto de la documentación ajustada a la pantalla */
.pt-bn-visor { position: fixed; inset: 0; z-index: 210; background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center; padding: 14px; }
.pt-bn-visor img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; background: #fff; }
.pt-bn-visor button { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92);
  color: #111; font-size: 26px; line-height: 1; cursor: pointer; }
