/* ===== SCORECAR PRO: identidad (rojo y grafito) ===== */
:root { --brand: #c1121f; --brand-dark: #8f0d17; --brand-soft: #fdecee; }
.cp-login { background: radial-gradient(120% 90% at 100% 0%, #3a3f47 0%, #1f2329 50%, #0f1115 100%); }
.cp-login::after { border-color: #c1121f; }
.cp-foto { background: linear-gradient(135deg, #15181d 0%, #2a2f37 55%, #c1121f 140%); }
.cp-foto::before { background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 14px, transparent 14px 46px); }
.cp-foto-txt span { color: #ff8a8a; }
.cp-login .login-card { border-top-color: #c1121f; }
.cp-bienvenida { background: linear-gradient(120deg, rgba(15,17,21,.92) 0%, rgba(42,47,55,.85) 55%, rgba(193,18,31,.85) 130%), #1f2329; }
.cp-bv-saludo { color: #ff9b9b; }
.fab-hero, .fx-hero { background: linear-gradient(135deg, #1f2329, #c1121f); }

/* ===== Taller ===== */
.tl-teclas { border-radius: 8px; margin: 8px 0 12px; background: #f4f4f6; }
.tl-teclas kbd { color: #8f0d17; border-color: #e3b7bb; }
.tl-tabla { font-size: 14px; }
.tl-tabla td, .tl-tabla th { padding: 8px 9px; }
.tl-tabla tbody tr.sel { background: var(--brand-soft); box-shadow: inset 4px 0 0 var(--brand); }
.tl-tabla tbody tr:hover { background: #fafafa; }
.tl-tabla tbody tr.sel:hover { background: var(--brand-soft); }
.tl-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tl-pick { width: 100%; text-align: left; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.tl-pick:focus { outline: 2px solid var(--brand); }
.tl-est { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.tl-e-rec { background: #eef2f6; color: #344054; }
.tl-e-pro { background: #fff4e5; color: #b54708; }
.tl-e-ter { background: #e8f3ff; color: #175cd3; }
.tl-e-ent { background: #dcfae6; color: #067647; }
.tl-e-anu { background: #fee4e2; color: #b42318; }
.tl-chapa { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; background: #fff8d6; border: 1px solid #e9d68a; border-radius: 4px; padding: 0 6px; }
.tl-os-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.tl-os-est { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tl-caja { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.tl-caja.falta { background: #fef0c7; color: #93370d; }
.tl-caja.ok { background: #dcfae6; color: #067647; }
.tl-os-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; align-items: start; }
.tl-os-grid th { width: 150px; color: var(--muted); font-weight: 600; text-transform: none; font-size: 13px; letter-spacing: 0; }
.tl-peligro { color: #b42318; border-color: #f2b8b5; }
.tl-p-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.tl-pantalla .tl-tabla { font-size: 17px; }
.tl-pantalla:fullscreen { background: var(--bg); padding: 18px; overflow: auto; }
.tl-p-cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tl-ocupado td:first-child { box-shadow: inset 4px 0 0 #b54708; }
.tl-libre td:first-child { box-shadow: inset 4px 0 0 #12b76a; }
.tl-foco { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 6px; }
.tl-propio td { font-weight: 600; }
.tl-vig { color: #067647; }
@media (max-width: 900px) {
  .tl-os-grid, .tl-p-dos { grid-template-columns: 1fr; }
  .tl-tabla { font-size: 15px; }
  .tl-teclas { display: none; }
}
.grid-form input[type="datetime-local"], .grid-form input[type="date"] { width: 100%; }
/* En el celular se ven todas las columnas de las tablas del taller (con desplazamiento lateral) */
@media (max-width: 640px) {
  .tl-tabla th:nth-child(2), .tl-tabla td:nth-child(2), .tl-kv th:nth-child(2), .tl-kv td:nth-child(2) { display: table-cell; }
  .tl-os-grid th { width: 110px; }
}
/* Logo SCORECAR PRO (horizontal) */
.login-logo, .cp-login .login-logo { width: 280px; max-width: 85%; margin: 6px auto 18px; }
.brand img { height: 26px; }
.cp-bv-logo { width: 300px; max-width: 80%; padding: 14px 18px; }
.vt-emp img { max-height: 28px; padding: 6px 8px; }
@media (max-width: 900px) { .brand img { height: 16px; } .cp-bv-logo { width: 220px; } }
