/* Módulo LYN: la base viene del CSS del CRM para que todo el sistema se vea igual. Aquí solo va lo propio. */
.lc-page__head h1 { margin-right: auto; }
.lc-nav__n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: #3d2600; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.lc-top { min-height: 58px; }
.lc-top .chip:hover { text-decoration: none; border-color: var(--line-2); }
.kpi__value { font-size: clamp(23px, 2.1vw, 30px); }
@media (min-width: 1101px) { .kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.f-sub { color: var(--ink-2); margin: -10px 0 18px; max-width: 75ch; }
.seg { flex-wrap: wrap; border-radius: 18px; }
.seg b { margin-left: 5px; font-size: 12px; }
.tw { overflow-x: auto; }
.tw .t th, .tw .t td { padding: 10px 12px; }
.t .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.t td small { display: block; font-size: 13px; color: var(--ink-3); }
.t tr.strong td, .t tr.total td { font-weight: 700; background: #fbf6e9; }
.t tr.final td { font-weight: 700; background: var(--good-50); }
.card h2 { margin-bottom: 10px; }
.chip.warn { background: var(--warn-50); color: var(--warn); border-color: transparent; }
.chip.good { background: var(--good-50); color: var(--good); border-color: transparent; }
.chip.mute { background: #eeeff2; color: var(--ink-2); border-color: transparent; }
.split2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: start; }
.split2 > .card { margin: 0; }
.stack { display: grid; gap: 16px; min-width: 0; }
.stack > .card { margin: 0; }
.acts { white-space: nowrap; text-align: right; }
.acts .btn { margin-left: 4px; }
.msg { color: var(--ink-2); font-size: 14px; }
.msg.err { color: var(--bad); }
.msg.err:empty { display: none; }
.note { padding: 10px 12px; border-radius: var(--radius); background: var(--blue-50); font-size: 14px; }
.note a { font-weight: 600; }
.fg { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.fg label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fg .input, .fg .select, .fg textarea { display: block; width: 100%; margin-top: 4px; color: var(--ink); font-weight: 400; font-size: 15px; }
.fg .full { grid-column: 1 / -1; }
.fg textarea, .modal__body textarea { width: 100%; min-height: 96px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.modal { max-width: 640px; }
.inline { width: 96px; padding: 6px 8px; text-align: right; }
.tip { position: fixed; transform: none; }
@media (max-width: 860px) { .split2 { grid-template-columns: minmax(0, 1fr); } }

/* Nómina */
.mini { width: 100%; font-size: 14px; border-collapse: collapse; }
.mini td { padding: 5px 0; border-bottom: 1px solid var(--line); }
.mini td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pre { white-space: pre-wrap; background: var(--bg); border-radius: var(--radius); padding: 10px 12px; }
.pre.codes { font-family: ui-monospace, Menlo, monospace; font-size: 15px; letter-spacing: .04em; margin-bottom: 14px; word-break: break-word; }
.lc-auth__card label { font-size: 14px; }
.lc-auth__card input[type=submit] { margin-top: 4px; }
.tw .t td.acts { position: sticky; right: 0; background: var(--surface); white-space: normal; min-width: 128px; box-shadow: -1px 0 0 var(--line); }
.tw .t tr.total td.acts { background: #fbf6e9; }
.tw .t td.acts .btn { margin: 0 0 4px 4px; }
@media (max-width: 860px) { .tw .t td.acts { position: static; box-shadow: none; } }
