/* Taller InKost (23-nov-2026): blanco, gris claro y negro, como inkost.co. El color solo marca estados (acierto, error, alerta). */
:root { --negro: #000; --texto: #111; --suave: #6b6b70; --tenue: #a1a1a6; --linea: #e3e3e6; --gris: #f5f5f7; --blanco: #fff; --verde: #1a7f4b; --rojo: #c9342f; --ambar: #b26a00; --radio: 20px; --fondo: var(--gris); --tarjeta: #fff; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--texto); background: var(--fondo); line-height: 1.45; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 700; } h2 { font-size: 1.3rem; font-weight: 650; } h3 { font-size: 1rem; font-weight: 650; }
p { margin: 0; } a { color: inherit; } button, input, select, textarea { font: inherit; color: inherit; }
.oculto { display: none !important; }
.suave { color: var(--suave); } .chico { font-size: .85rem; } .centro { text-align: center; } .der { text-align: right; }
.verde { color: var(--verde); } .rojo { color: var(--rojo); } .ambar { color: var(--ambar); }

.barra { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--linea); }
.barra .ancho { display: flex; align-items: center; gap: 12px; height: 54px; }
.barra img { height: 24px; width: auto; } .barra .titulo { font-weight: 600; font-size: .95rem; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ancho { max-width: 1080px; margin: 0 auto; padding: 0 18px; } .angosto { max-width: 560px; margin: 0 auto; padding: 0 18px; }
main { padding: 22px 0 80px; }
.pila { display: grid; gap: 14px; align-content: start; } .fila { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .entre { justify-content: space-between; }
.pila > *, .rejilla2 > *, .rejilla3 > *, .inf .dos > *, .fila > * { min-width: 0; }
.solo-movil { display: none; } @media (max-width: 640px) { .solo-movil { display: inline; } .solo-ancho { display: none; } .inf-pag { padding: 16px 12px; } .inf table { font-size: .76rem; } .inf td, .inf th { padding: 5px 4px; } .inf .diario td, .inf .diario th { padding: 5px 2px; font-size: .74rem; } .inf .diario td:first-child { white-space: nowrap; } }
.tarjeta { background: var(--tarjeta); border-radius: var(--radio); padding: 20px; border: 1px solid var(--linea); }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 600; color: var(--suave); }

.btn { appearance: none; border: 1px solid var(--negro); background: var(--negro); color: #fff; border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; transition: opacity .15s, transform .05s; }
.btn:active { transform: scale(.98); } .btn:disabled { opacity: .35; cursor: default; }
.btn.claro { background: #fff; color: var(--texto); border-color: var(--linea); } .btn.peligro { background: #fff; color: var(--rojo); border-color: var(--linea); }
.btn.chico { padding: 6px 14px; min-height: 34px; font-size: .85rem; } .btn.ancho-total { width: 100%; }
input[type=text], input[type=password], input[type=number], select, textarea { width: 100%; border: 1px solid var(--linea); background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 1rem; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--negro); }
textarea { min-height: 96px; resize: vertical; line-height: 1.4; }
label.campo { display: grid; gap: 6px; font-size: .85rem; color: var(--suave); font-weight: 500; }

.pastilla { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 11px; font-size: .78rem; font-weight: 600; background: var(--gris); color: var(--suave); border: 1px solid var(--linea); white-space: nowrap; }
.pastilla.ok { color: var(--verde); } .pastilla.mal { color: var(--rojo); } .pastilla.negra { background: var(--negro); color: #fff; border-color: var(--negro); }
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--tenue); display: inline-block; } .punto.on { background: var(--verde); }

/* Cuestionario */
.reloj { height: 6px; background: var(--linea); border-radius: 99px; overflow: hidden; } .reloj i { display: block; height: 100%; background: var(--negro); border-radius: 99px; width: 100%; transition: width .25s linear; } .reloj.poco i { background: var(--rojo); }
.enunciado { font-size: 1.05rem; color: #333; } .pregunta { font-size: 1.25rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
.opciones { display: grid; gap: 10px; }
.opcion { display: flex; gap: 14px; align-items: center; text-align: left; width: 100%; background: #fff; border: 1.5px solid var(--linea); border-radius: 18px; padding: 14px 16px; cursor: pointer; font-size: 1rem; min-height: 60px; transition: border-color .12s, background .12s; position: relative; overflow: hidden; }
.opcion .letra { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--gris); border: 1px solid var(--linea); position: relative; z-index: 1; }
.opcion span.txt { position: relative; z-index: 1; flex: 1; } .opcion .cuenta { position: relative; z-index: 1; font-weight: 700; }
.opcion.elegida { border-color: var(--negro); background: var(--negro); color: #fff; } .opcion.elegida .letra { background: #fff; color: #000; border-color: #fff; }
.opcion:disabled { cursor: default; } .opcion.apagada { opacity: .45; }
.opcion.correcta { border-color: var(--verde); background: #eef8f2; color: var(--texto); opacity: 1; } .opcion.correcta .letra { background: var(--verde); color: #fff; border-color: var(--verde); }
.opcion.errada { border-color: var(--rojo); background: #fdf1f0; color: var(--texto); opacity: 1; } .opcion.errada .letra { background: var(--rojo); color: #fff; border-color: var(--rojo); }
.opcion .barrita { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, .06); width: 0; transition: width .5s ease; }
.explica { border-left: 3px solid var(--negro); padding: 4px 0 4px 14px; }

.lista { list-style: none; margin: 0; padding: 0; } .lista li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--linea); } .lista li:last-child { border-bottom: 0; }
.puesto { width: 30px; height: 30px; border-radius: 50%; background: var(--gris); display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; } .lista li:first-child .puesto { background: var(--negro); color: #fff; }
.nombres { display: flex; flex-wrap: wrap; gap: 8px; }
.pestanas { display: flex; gap: 4px; background: #e9e9ec; border-radius: 999px; padding: 4px; overflow-x: auto; scrollbar-width: none; } .pestanas::-webkit-scrollbar { display: none; }
.pestanas button { flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .88rem; cursor: pointer; white-space: nowrap; color: var(--suave); }
.pestanas button.activa { background: #fff; color: var(--texto); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.aviso { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--negro); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .88rem; font-weight: 500; z-index: 50; opacity: 0; pointer-events: none; transition: opacity .2s; max-width: 90vw; text-align: center; } .aviso.ver { opacity: 1; }
.grande { font-size: clamp(2.6rem, 9vw, 4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
table.simple { width: 100%; border-collapse: collapse; font-size: .9rem; } table.simple th, table.simple td { padding: 9px 8px; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: middle; } table.simple th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--suave); font-weight: 600; }
.desliza { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rejilla2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .rejilla3 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ───────── Informe estilo InKost ───────── */
.informe { background: #fff; color: #111; }
.inf-pag { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 22px 20px; margin-bottom: 14px; }
.inf-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; } .inf-cab b { display: block; font-size: .95rem; letter-spacing: .02em; } .inf-cab small { display: block; font-size: .72rem; color: #333; line-height: 1.5; } .inf-cab img { height: 34px; }
.inf-cab .marca { text-align: center; } .inf-cab .marca span { display: block; font-size: .5rem; letter-spacing: .22em; color: var(--suave); margin-top: 2px; }
.inf-t { text-align: center; font-weight: 700; font-size: 1.05rem; margin: 6px 0 14px; letter-spacing: 0; } .inf-st { font-weight: 700; font-size: .78rem; margin: 18px 0 8px; letter-spacing: .02em; }
.inf table { width: 100%; border-collapse: collapse; font-size: .82rem; } .inf td, .inf th { padding: 5px 6px; text-align: right; white-space: nowrap; } .inf td:first-child, .inf th:first-child { text-align: left; white-space: normal; }
.inf .diario th { border-bottom: 1.5px solid #bbb; font-weight: 700; letter-spacing: .03em; } .inf .diario td { border-bottom: 1px solid #ddd; } .inf .diario tr.tot td { border-top: 2px solid #777; border-bottom: 0; font-weight: 700; }
.inf .caja { border: 1px solid #c8c8cc; border-radius: 12px; padding: 8px 12px; } .inf .cajas { display: grid; gap: 8px; }
.inf .par { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: .82rem; padding: 2px 0; } .inf .par b { font-weight: 700; }
.inf .dos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; } @media (max-width: 720px) { .inf .dos { grid-template-columns: 1fr; } }
.inf .er td { padding: 3px 6px; } .inf .er .sec td { font-weight: 700; padding-top: 12px; } .inf .er .sub td:first-child { padding-left: 26px; } .inf .er .per td { color: var(--rojo); } .inf .er .tot td { font-weight: 700; }
.inf .er .sup td { border-top: 1.5px solid #777; }
.inf .gran { border: 1.5px solid #222; border-radius: 14px; padding: 12px 18px; display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 1.05rem; margin-top: 14px; flex-wrap: wrap; }
.inf .bal td { padding: 2.5px 6px; } .inf .bal .sec td { text-align: center; font-weight: 700; padding-top: 10px; } .inf .bal .tot td { font-weight: 700; } .inf .nota { color: var(--rojo); font-size: .68rem; text-align: left !important; }
.inf .socio { border: 1px solid #999; border-radius: 12px; padding: 9px 13px; } .inf .socio .par:first-child { font-weight: 700; } .inf .socio .par.linea { border-top: 1px solid #333; margin-top: 3px; padding-top: 4px; font-weight: 700; } .inf .socio .par span:first-child { color: #666; } .inf .socio .par:first-child span:first-child, .inf .socio .par.linea span:first-child { color: #111; }
.inf .tabla-caja { border: 1px solid #c8c8cc; border-radius: 10px; overflow: hidden; } .inf .tabla-caja th { background: #f5f5f7; font-size: .68rem; letter-spacing: .03em; } .inf .tabla-caja td, .inf .tabla-caja th { text-align: center; border-bottom: 1px solid #e3e3e6; padding: 4px 6px; } .inf .tabla-caja tr:last-child td { border-bottom: 0; } .inf .tabla-caja td.i, .inf .tabla-caja th.i { text-align: left; } .inf .tabla-caja td.d, .inf .tabla-caja th.d { text-align: right; }
.inf .inv { columns: 2; column-gap: 18px; } @media (max-width: 720px) { .inf .inv { columns: 1; } } .inf .inv .it { display: grid; grid-template-columns: 1fr auto 46px 62px 78px; gap: 6px; font-size: .74rem; padding: 2.5px 0; break-inside: avoid; border-bottom: 1px dotted #ccc; } .inf .inv .it span { text-align: right; } .inf .inv .it span:first-child { text-align: left; } .inf .inv .it .u { color: #888; font-size: .66rem; }
.inf svg { max-width: 100%; height: auto; display: block; }
.bitacora li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--linea); align-items: start; font-size: .95rem; } .bitacora li b { font-size: .82rem; font-weight: 650; padding-top: 2px; } .bitacora { list-style: none; padding: 0; margin: 0; }

@media print {
  .solo-movil { display: none !important; } .solo-ancho { display: inline !important; }
  @page { size: letter; margin: 12mm; }
  body { background: #fff; font-size: 10pt; } .no-imprime, .barra { display: none !important; } main { padding: 0; } .ancho { max-width: none; padding: 0; }
  .inf-pag { border: 0; border-radius: 0; padding: 0; margin: 0; break-after: page; } .inf-pag:last-child { break-after: auto; } .tarjeta { border: 0; padding: 0; }
  .inf table { font-size: 8.6pt; } .inf .dos { grid-template-columns: 1fr 1fr; } .inf .inv { columns: 2; } .salto { break-before: page; }
  .renglones { border-bottom: 1px solid #999; height: 8mm; }
}
