/* app.css — sistema de diseño JPR Repuestos. CSS propio, variables, sin frameworks. */

:root {
    --brand-900: #1a1a2e;
    --brand-700: #16213e;
    --brand-500: #0f3460;
    --brand-300: #e94560;
    --brand-100: #f6c9d1;
    --cream:    #f8f9fa;
    --cream-2:  #eceef2;
    --ink:      #20232b;
    --muted:    #666b76;
    --line:     #d9dce3;
    --white:    #ffffff;
    --ok:       #2e7d32;
    --warn:     #b8860b;
    --err:      #c0392b;
    --radius:   10px;
    --shadow:   0 2px 8px rgba(26, 26, 46, .10);
    --shadow-lg:0 12px 40px rgba(26, 26, 46, .25);
    --font:     system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--cream);
    min-height: 100vh;
}

a { color: var(--brand-700); }

/* ── Layout ─────────────────────────────────────────────────────────── */
.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

/* ── Topbar ─────────────────────────────────────────────────────────── */
.topbar {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--brand-700);
    color: var(--cream);
    padding: 10px 20px;
    box-shadow: var(--shadow);
}
.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
}
.topbar-nav {
    display: flex;
    gap: 4px;
    flex: 1;
}
.topbar-nav a {
    color: var(--cream);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: .95rem;
    opacity: .9;
}
.topbar-nav a:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.topbar-user { display: flex; align-items: center; gap: 10px; }
.topbar-user-name { font-size: .9rem; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
    text-align: center;
    color: var(--muted);
    font-size: .82rem;
    padding: 24px;
    border-top: 1px solid var(--line);
}

/* ── Tipografía ─────────────────────────────────────────────────────── */
h1 { font-size: 1.6rem; margin: 0 0 6px; color: var(--brand-900); }
.subtitle { color: var(--muted); margin: 0 0 24px; }

/* ── Badges ─────────────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.badge-rol { background: var(--brand-300); color: var(--white); }

/* ── Botones ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-700); color: var(--cream); }
.btn-primary:hover { background: var(--brand-900); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }

/* ── Cards ──────────────────────────────────────────────────────────── */
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 8px;
}
.card-module {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform .1s, box-shadow .15s;
}
.card-module:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-module h3 { margin: 0 0 4px; color: var(--brand-700); }
.card-module p { margin: 0; color: var(--muted); font-size: .88rem; }
.card-module .card-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.card-module.is-soon { opacity: .55; pointer-events: none; }

/* ── Formularios ────────────────────────────────────────────────────── */
.form-field { margin-bottom: 16px; }
.form-field label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--brand-900);
    margin-bottom: 6px;
}
.input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
    color: var(--ink);
}
.input:focus {
    outline: none;
    border-color: var(--brand-300);
    box-shadow: 0 0 0 3px rgba(200, 133, 63, .2);
}
.form-hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.field-offscreen { position: absolute; left: -9999px; top: 0; }

/* ── Alerts ─────────────────────────────────────────────────────────── */
.alert {
    padding: 11px 14px;
    border-radius: 8px;
    font-size: .9rem;
    margin-bottom: 16px;
    border: 1px solid transparent;
}
.alert-error   { background: #fdecea; color: var(--err);  border-color: #f5c6c0; }
.alert-success { background: #eaf5eb; color: var(--ok);   border-color: #c3e6c5; }
.alert-info    { background: var(--cream-2); color: var(--ink); border-color: var(--line); }

/* ── Login ──────────────────────────────────────────────────────────── */
.login-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
    padding: 20px;
}
.login-card {
    width: 100%;
    max-width: 380px;
    background: var(--white);
    border-radius: 14px;
    padding: 34px 30px;
    box-shadow: var(--shadow-lg);
}
.login-logo { text-align: center; margin-bottom: 18px; }
.login-logo img { height: 72px; width: auto; }
.login-logo h1 { font-size: 1.25rem; margin: 12px 0 2px; }
.login-logo p { margin: 0; color: var(--muted); font-size: .85rem; }

/* ── Messagebox (JS, ver app.js · CLAUDE.md §6) ─────────────────────── */
.msgbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42, 35, 32, .5);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s;
    z-index: 1000;
}
.msgbox-overlay.open { opacity: 1; pointer-events: auto; }
.msgbox {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: calc(100% - 40px);
    box-shadow: var(--shadow-lg);
    transform: translateY(8px);
    transition: transform .18s;
}
.msgbox-overlay.open .msgbox { transform: translateY(0); }
.msgbox-icon { font-size: 2rem; margin-bottom: 8px; }
.msgbox-msg { margin: 0 0 20px; color: var(--ink); line-height: 1.5; }
.msgbox-actions { display: flex; justify-content: flex-end; gap: 10px; }
.msgbox-info    .msgbox-icon { color: var(--brand-500); }
.msgbox-success .msgbox-icon { color: var(--ok); }
.msgbox-warning .msgbox-icon { color: var(--warn); }
.msgbox-error   .msgbox-icon { color: var(--err); }

/* ── Encabezado de página con acción ───────────────────────────────────── */
.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.page-head h1 { margin-bottom: 2px; }

/* ── Barra de búsqueda ──────────────────────────────────────────────────── */
.search-bar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.search-bar .input { flex: 1; min-width: 220px; }

/* ── Tablas (listados ABM) ─────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 60vh;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--cream-2);
    color: var(--brand-900);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-weight: 700;
}
.table tbody tr:hover { background: var(--cream); }
.table tbody tr:last-child td { border-bottom: none; }
.table td a { text-decoration: none; font-weight: 600; }
.table-empty { text-align: center; color: var(--muted); padding: 32px !important; white-space: normal; }
.table-actions { text-align: right; white-space: nowrap; }
.table-actions form { display: inline; }
.table-count { color: var(--muted); font-size: .85rem; margin: 12px 2px 0; }

/* Signo $ de los importes: siempre en un span dentro de la celda (workspace §1). */
.signo-peso { font-size: .82em; color: #888; margin-inline-end: 3px; font-weight: 400; }

.badge-ok  { background: #eaf5eb; color: var(--ok); }
.badge-off { background: var(--cream-2); color: var(--muted); }

/* ── Paginación ─────────────────────────────────────────────────────────── */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pagina-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--brand-700);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
}
.pagina-link:hover { background: var(--cream-2); }
.pagina-link.is-active { background: var(--brand-700); border-color: var(--brand-700); color: var(--cream); }

/* ── Modal genérico (formularios cargados por HTMX en #modal-root) ────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42, 35, 32, .55);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s;
    z-index: 900;
    padding: 20px;
    overflow-y: auto;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
    background: var(--white);
    border-radius: 14px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateY(8px);
    transition: transform .18s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font-size: 1.15rem; color: var(--brand-900); flex: 1; }
.modal-subtitle { color: var(--muted); font-size: .85rem; }
.modal-close { background: none; border: none; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
.modal-close:hover { color: var(--ink); }
.modal-body { flex: 1 1 auto; min-height: 0; padding: 20px 24px; overflow-y: auto; }
.modal-actions { flex: 0 0 auto; display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field-check { margin-top: -4px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink); font-weight: 500; cursor: pointer; }
.form-hint-inline { font-weight: 400; color: var(--muted); font-size: .78rem; }

@media (max-width: 560px) {
    .form-grid { grid-template-columns: 1fr; }
}

/* ── Fase 1: utilidades de tablas y formularios ─────────────────────────── */
[x-cloak] { display: none !important; }
.table .num, .table th.num { text-align: right; white-space: nowrap; }
.search-bar { flex-wrap: wrap; align-items: center; }
.search-bar .checkbox-label { white-space: nowrap; }
.fecha-campo { position: relative; display: inline-flex; gap: 6px; align-items: center; }
.fecha-campo .input { width: 7.5em; text-align: center; letter-spacing: .08em; }
.fecha-nativa { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ── Fase 2: mostrador ──────────────────────────────────────────────────── */
.wrap-ancho { max-width: 1400px; }
kbd { font: inherit; font-size: .72em; font-weight: 600; padding: 1px 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; background: var(--cream); color: var(--muted); }
.btn-primary kbd { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); color: #fff; }
.input-sm { padding: 5px 8px; font-size: .9rem; }
.input.num { text-align: right; }
.htmx-indicator { opacity: 0; transition: opacity .15s; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }

.mostrador { display: flex; flex-direction: column; gap: 12px; }
.mostrador .card { padding: 12px 16px; }
.mostr-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.mostr-cli { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1 1 360px; }
.mostr-etq { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.mostr-cli-btn { font: inherit; font-weight: 700; font-size: 1.05rem; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer; color: var(--brand-700); }
.mostr-cli-btn:hover, .mostr-cli-btn:focus-visible { border-color: var(--brand-500); outline: none; }
.mostr-saldo { font-size: .9rem; color: var(--muted); }
.mostr-cc.desactivado { opacity: .5; }
.mostr-vend { display: flex; align-items: center; gap: 8px; }

.mostr-busq #busq { font-size: 1.1rem; padding: 12px 14px; width: 100%; }
.ar-cuit { display: flex; gap: 6px; }
.ar-cuit .input { flex: 1; min-width: 0; }
.ar-cuit .btn { white-space: nowrap; }
.ar-padron-msg:empty { display: none; }
.ar-padron-msg { margin-top: 10px; padding: 8px 12px; border-radius: 8px; font-size: .9rem; background: var(--cream); color: var(--muted); }
.ar-padron-msg.ok { background: #eaf5eb; color: var(--ok); }
.ar-padron-msg.aviso { background: #fdf6e3; color: var(--warn); }
.ar-padron-msg.error { background: #fdecea; color: #b3261e; }
.mostr-resultados:empty { display: none; }
.mostr-resultados { margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); }
/* Un solo scroll: el de la tabla (así el encabezado sticky queda fijo) */
.mostr-resultados .table-wrap { border: none; box-shadow: none; margin: 0; max-height: 300px; }
.res-table tr.res { cursor: pointer; }
.res-table tr.res.activo { background: #e8eefb; box-shadow: inset 3px 0 0 var(--brand-500); }
.stock-bajo { color: var(--err); font-weight: 700; }

.mostr-tabla td { vertical-align: middle; }
.mostr-tabla .mostr-desc { white-space: normal; min-width: 260px; }
.mostr-tabla .input-sm { width: 100%; }
.mostr-tabla td.num .input-sm { width: 6.5em; }
.mostr-tabla tr.sin-precio td { background: #fff7ec; }
.mostr-libre-link { padding-top: 8px; }

.mostr-pie { display: grid; grid-template-columns: 1fr auto; gap: 14px 28px; align-items: start; }
.mostr-pie-datos { display: flex; flex-wrap: wrap; gap: 0 18px; }
.mostr-pie-datos .form-field { margin-bottom: 8px; min-width: 150px; }
.mostr-pie-datos .mostr-obs { flex: 1 1 220px; }
.mostr-totales { text-align: right; }
.mostr-total { font-size: 1.9rem; color: var(--brand-900); }
.mostr-total strong { font-weight: 800; }
.mostr-subtotal, .mostr-recargo { font-size: .85rem; color: var(--muted); }
.mostr-aviso { margin-top: 6px; padding: 6px 10px; background: #fff3e0; color: #8a5a00; border-radius: 6px; font-size: .85rem; }
.mostr-acciones { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mostr-caja { display: inline-flex; gap: 6px; align-items: center; margin-left: auto; }
.mostr-ayuda { margin: 0; }
.mostr-resultado { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.mostr-resultado-acc { display: inline-flex; gap: 8px; }

.mostr-overlay { position: fixed; inset: 0; background: rgba(26,26,46,.45); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px 16px; z-index: 50; overflow-y: auto; }
.mostr-panel { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px 24px; width: min(920px, 100%); }
.mostr-panel h3 { margin: 18px 0 8px; font-size: 1rem; color: var(--brand-900); }
.mostr-panel h3:first-child { margin-top: 0; }
.mostr-panel-x { position: absolute; top: 10px; right: 12px; }
.mostr-panel .modal-actions { padding: 14px 0 0; border-top: none; }

@media (max-width: 760px) {
    .mostr-pie { grid-template-columns: 1fr; }
    .mostr-totales { text-align: left; }
    .mostr-caja { margin-left: 0; }
}

/* ── Fase 3: caja ───────────────────────────────────────────────────────── */
.topbar-caja { font-size: .8rem; font-weight: 600; text-decoration: none; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.topbar-caja.abierta { background: #e3f4e5; color: var(--ok); }
.topbar-caja.cerrada { background: rgba(255,255,255,.14); color: #fff; }
.caja { display: flex; flex-direction: column; gap: 12px; }
.caja .card { padding: 14px 18px; }
.caja-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.caja-cab-acc { display: flex; gap: 8px; }
.caja-efectivo { color: var(--ok); font-size: 1.1rem; }
.caja-abrir .form-field { max-width: 320px; }
.caja-grid { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 12px; align-items: start; }
.caja h3 { margin: 0 0 8px; font-size: 1rem; color: var(--brand-900); }
.cola-lista { display: flex; flex-direction: column; gap: 6px; }
.cola-item { display: grid; grid-template-columns: auto auto 1fr auto; gap: 4px 10px; align-items: center; text-align: left; font: inherit; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.cola-item:hover { border-color: var(--brand-500); }
.cola-item.activo { background: #e8eefb; border-color: var(--brand-500); box-shadow: inset 3px 0 0 var(--brand-500); }
.cola-hora { color: var(--muted); font-size: .85rem; }
.cola-tipo { font-weight: 700; color: var(--brand-700); }
.cola-cli small { display: block; color: var(--muted); font-size: .78rem; }
.cola-total { font-weight: 700; white-space: nowrap; }
.caja-cobro-cab { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; align-items: baseline; }
.caja-items { max-height: 220px; overflow-y: auto; margin-bottom: 8px; }
.caja-total { text-align: right; font-size: 1.15rem; margin: 6px 0; }
.caja-total strong { font-size: 1.6rem; color: var(--brand-900); }
.caja-medios td { vertical-align: middle; }
.caja-medios .input-sm { width: 100%; }
.caja-medios td.num .input-sm { width: 9em; }
.caja-medios-acc { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 6px 0; }
.caja-resumen { text-align: right; }
.caja-recibido { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 4px; }
.caja-recibido .input { width: 9em; }
@media (max-width: 860px) { .caja-grid { grid-template-columns: 1fr; } }

/* ── Fase 6: consultas de caja y tablero ────────────────────────────────── */
.consulta-hoja { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.consulta-hoja.pdf { width: 186mm; border: none; padding: 0; border-radius: 0; }
.consulta-tit { margin: 0 0 6px; font-size: 1.2rem; color: var(--brand-900); }
.consulta-sec { margin: 18px 0 6px; font-size: .95rem; letter-spacing: .03em; color: var(--brand-700); border-bottom: 2px solid var(--brand-700); padding-bottom: 3px; }
.consulta-hoja h4 { margin: 12px 0 4px; font-size: .9rem; color: var(--muted); }
.consulta-tabla th, .consulta-tabla td { padding: 6px 10px; }
.consulta-grupo td { background: var(--cream-2); font-weight: 700; font-size: .8rem; letter-spacing: .05em; }
.consulta-total td { font-weight: 700; border-top: 1px solid var(--line); }
.consulta-saldo td { font-weight: 800; background: #e8eefb; }
.consulta-efectivo { font-size: 1.05rem; }
.consulta-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 24px; }
.consulta-detalle { margin-top: 14px; }
.consulta-detalle summary { cursor: pointer; font-weight: 600; }
.tablero { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 22px; }
.tablero-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: inherit; display: block; }
a.tablero-item:hover { border-color: var(--brand-500); }
.tablero-item .rotulo { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.tablero-item .cifra { font-size: 1.6rem; font-weight: 800; color: var(--brand-900); line-height: 1.2; }
.tablero-item .sub { color: var(--muted); font-size: .85rem; }
.tablero-item.alerta .cifra { color: var(--err); }
@media print {
    .topbar, .search-bar, .page-head .table-actions, .footer, .consulta-nav { display: none !important; }
    body { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .wrap { max-width: none; padding: 0; }
    .consulta-hoja { border: none; padding: 0; }
    @page { size: A4 portrait; margin: 10mm 12mm; }
}

/* ── Fase 8: stock y precios ────────────────────────────────────────────── */
.stk-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; border-bottom: 2px solid var(--line); }
.stk-tabs a { padding: 8px 14px; text-decoration: none; color: var(--muted); font-weight: 600; border-radius: 8px 8px 0 0; margin-bottom: -2px; border-bottom: 2px solid transparent; }
.stk-tabs a:hover { color: var(--ink); }
.stk-tabs a.activo { color: var(--brand-500); border-bottom-color: var(--brand-500); background: var(--white); }
.stk-res { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-height: 320px; overflow: auto; }
.stk-fila { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--cream-2); padding: 8px 12px; cursor: pointer; font: inherit; color: var(--ink); }
.stk-fila small { color: var(--muted); margin-left: 6px; }
.stk-fila span { float: right; color: var(--muted); font-size: .85em; }
.stk-fila:hover, .stk-fila.sel { background: var(--cream-2); }
.stk-vacio { padding: 10px 12px; color: var(--muted); }
