/* ============================================================
   Sistema de diseno - Flat UI
   ============================================================ */

:root {
  --bg:        #f3f4f6;
  --card:      #ffffff;
  --border:    #e5e7eb;
  --primary:   #2563eb;
  --primary-d: #1d4ed8;
  --text:      #111827;
  --text-2:    #6b7280;
  --muted:     #9ca3af;
  --field:     #f9fafb;

  --ok:      #059669;
  --warn:    #d97706;
  --danger:  #dc2626;
  --info:    #2563eb;
  --violet:  #7c3aed;

  --radius:    12px;
  --radius-sm: 8px;
  --sidebar-w: 244px;
  --header-h:  58px;

  --shadow-hover: 0 4px 16px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--text); }
h1 { font-size: 20px; }
h2 { font-size: 17px; }
h3 { font-size: 15px; }

.ic { flex: none; vertical-align: middle; }

/* ---------- Layout ---------- */

.shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex: none;
  background: var(--card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  overflow-y: auto;
  z-index: 40;
}

.sidebar__brand {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  flex: none;
}
.sidebar__logo {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.sidebar__logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.sidebar__name { font-weight: 600; font-size: 14px; letter-spacing: -.01em; }

.nav { padding: 12px 10px 24px; }
.nav__group {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
  padding: 14px 10px 6px;
}
.nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-weight: 500;
  font-size: 13.5px;
  transition: background .12s, color .12s;
}
.nav__item:hover { background: var(--field); color: var(--text); text-decoration: none; }
.nav__item.is-active { background: rgba(37, 99, 235, .08); color: var(--primary); font-weight: 600; }
/* Grupos plegables del menu */
.nav__acc > summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.nav__acc > summary::-webkit-details-marker { display: none; }
.nav__acc > summary::marker { content: ''; }
.nav__caret { color: var(--muted); transition: transform .15s ease; }
.nav__acc[open] > summary { color: var(--text); }
.nav__acc[open] > summary .nav__caret { transform: rotate(180deg); }
.nav__acc > .nav__sub { padding-bottom: 4px; }

.nav__sub { display: flex; flex-direction: column; margin-left: 26px; }
.nav__sub a {
  padding: 6px 10px;
  font-size: 13px;
  color: var(--text-2);
  border-radius: var(--radius-sm);
}
.nav__sub a:hover { background: var(--field); color: var(--text); text-decoration: none; }
.nav__sub a.is-active { color: var(--primary); font-weight: 600; }

.main {
  flex: 1;
  margin-left: var(--sidebar-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.header {
  height: var(--header-h);
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.header__title { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; }
.header__title .ic { color: var(--primary); }
.header__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__user {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
}
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  flex: none;
}

.content { padding: 20px; flex: 1; }

.burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  color: var(--text-2); padding: 6px; border-radius: var(--radius-sm);
}

/* ---------- Cards ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.card--accent::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, var(--primary));
}
.card--hover { transition: box-shadow .15s ease; }
.card--hover:hover { box-shadow: var(--shadow-hover); }
.card__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.card__head h2, .card__head h3 { margin: 0; }
.card__head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.card__body { padding: 16px; }
.card__body--flush { padding: 0; }

/* Cards de metricas */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 16px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .15s ease;
}
.stat:hover { box-shadow: var(--shadow-hover); }
.stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent, var(--primary));
}
.stat__label {
  font-size: 10px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.stat__value { font-size: 22px; font-weight: 700; margin-top: 6px; letter-spacing: -.02em; }
.stat__hint { font-size: 12px; color: var(--text-2); margin-top: 2px; }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { background: var(--field); text-decoration: none; }
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-d); border-color: var(--primary-d); }
.btn--danger { background: #fff; border-color: var(--border); color: var(--danger); }
.btn--danger:hover { background: rgba(220, 38, 38, .06); }
.btn--ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn--ok:hover { filter: brightness(.95); }
.btn--sm { padding: 5px 9px; font-size: 12px; border-radius: 7px; }
.btn--icon { padding: 6px; }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Formularios ---------- */

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field--full { grid-column: 1 / -1; }

label.lbl, .lbl {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  font-weight: 600;
}

input[type=text], input[type=password], input[type=email], input[type=number],
input[type=date], input[type=time], input[type=tel], input[type=search],
input[type=month], select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}
input[readonly], input[disabled], select[disabled] { background: var(--field); color: var(--text-2); }
textarea { resize: vertical; min-height: 84px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}
.help { font-size: 11.5px; color: var(--muted); }

.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); cursor: pointer; }
.check input { width: 15px; height: 15px; accent-color: var(--primary); }

.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--field);
}
.filters .field { min-width: 140px; }
.filters input, .filters select { background: #fff; }

/* ---------- Tablas ---------- */

.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tbl th {
  text-align: left;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 600;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--field);
  white-space: nowrap;
}
table.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: #fbfcfd; }
table.tbl tfoot td { padding: 12px 14px; font-weight: 600; background: var(--field); border-top: 1px solid var(--border); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.acciones { display: flex; gap: 6px; justify-content: flex-end; }

.empty { padding: 44px 20px; text-align: center; color: var(--muted); }
.empty .ic { color: var(--border); margin-bottom: 8px; }
.empty p { margin: 6px 0 0; font-size: 13px; }

/* ---------- Badges ---------- */

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 600;
  background: color-mix(in srgb, var(--badge, var(--primary)) 12%, #fff);
  color: var(--badge, var(--primary));
  white-space: nowrap;
}
.badge--reservada { --badge: #2563eb; }
.badge--pendiente { --badge: #d97706; }
.badge--pagada    { --badge: #059669; }
.badge--cancelada { --badge: #6b7280; }
.badge--rojo      { --badge: #dc2626; }

/* ---------- Alertas ---------- */

.alert {
  display: flex; align-items: flex-start; gap: 9px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13px;
  margin-bottom: 14px;
}
.alert .ic { margin-top: 1px; flex: none; }
.alert--ok     { border-left-color: var(--ok);     color: #065f46; background: rgba(5, 150, 105, .05); }
.alert--error  { border-left-color: var(--danger); color: #991b1b; background: rgba(220, 38, 38, .05); }
.alert--warn   { border-left-color: var(--warn);   color: #92400e; background: rgba(217, 119, 6, .05); }
.alert--info   { border-left-color: var(--primary); color: #1e40af; background: rgba(37, 99, 235, .05); }

/* ---------- Tabs ---------- */

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; flex-wrap: wrap; }
.tabs a {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.is-active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* ---------- Agenda ---------- */

.agenda-nav { display: flex; align-items: center; gap: 10px; }
.agenda-nav__fecha { font-weight: 600; font-size: 14px; min-width: 210px; text-align: center; text-transform: capitalize; }

.agenda-wrap { overflow-x: auto; }
table.agenda { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
table.agenda th, table.agenda td { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
table.agenda th:last-child, table.agenda td:last-child { border-right: 0; }

table.agenda thead th {
  background: var(--field);
  padding: 10px 12px;
  text-align: left;
  position: sticky; top: 0; z-index: 5;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--text);
}
table.agenda thead th .sub {
  display: block;
  font-size: 10.5px; font-weight: 500; color: var(--muted);
  text-transform: none; letter-spacing: 0;
}
.agenda__hora {
  width: 74px;
  background: var(--field);
  color: var(--text-2);
  font-weight: 600;
  font-size: 11.5px;
  text-align: center;
  vertical-align: middle;
  position: sticky; left: 0; z-index: 4;
  font-variant-numeric: tabular-nums;
}
.agenda__hora--hh { color: var(--text); }
table.agenda tbody td { height: 40px; padding: 0; vertical-align: top; }
.agenda__cell { height: 100%; padding: 3px; }
.agenda__free {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  border: 1px dashed transparent;
  border-radius: 7px;
  color: transparent;
  font-size: 11.5px; font-weight: 500;
  cursor: pointer;
  transition: all .12s;
  background: none;
  font-family: inherit;
}
/* Marca discreta de bloque libre: un "+" tenue que se convierte en "Asignar" al pasar el mouse */
.agenda__free::before {
  content: '+';
  color: #dbe0e6;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}
.agenda__cell:hover .agenda__free {
  border-color: rgba(37, 99, 235, .35);
  color: var(--primary);
  background: rgba(37, 99, 235, .04);
  text-decoration: none;
}
.agenda__cell:hover .agenda__free::before { display: none; }
.agenda__off { background: repeating-linear-gradient(45deg, #fafafa, #fafafa 6px, #f4f4f5 6px, #f4f4f5 12px); }
.agenda__turno {
  display: block;
  height: 100%;
  border-radius: 7px;
  padding: 5px 8px;
  background: color-mix(in srgb, var(--c, var(--primary)) 10%, #fff);
  border-left: 3px solid var(--c, var(--primary));
  color: var(--text);
  overflow: hidden;
  line-height: 1.28;
}
.agenda__turno:hover { text-decoration: none; box-shadow: var(--shadow-hover); }
.agenda__turno b { font-weight: 600; font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda__turno span { font-size: 11px; color: var(--text-2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda__turno.is-pagada { --c: #059669; }
.agenda__turno.is-pendiente { --c: #d97706; }

/* Chips de trabajadores */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  color: var(--text-2);
  font-size: 13px; font-weight: 500;
  transition: all .12s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.chip .avatar { width: 22px; height: 22px; font-size: 9.5px; }
.chip.is-active .avatar { background: rgba(255, 255, 255, .22); color: #fff; }

/* Carga semanal */
.carga { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; border-radius: 20px; padding: 2px 8px; }
.carga-cero  { background: #f3f4f6; color: #6b7280; }
.carga-baja  { background: rgba(5, 150, 105, .12);  color: #047857; }
.carga-media { background: rgba(217, 119, 6, .13);  color: #b45309; }
.carga-alta  { background: rgba(220, 38, 38, .11);  color: #b91c1c; }

.barra { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; margin-top: 6px; }
.barra i { display: block; height: 100%; background: var(--primary); border-radius: 4px; }
.barra.carga-alta i  { background: #dc2626; }
.barra.carga-media i { background: #d97706; }
.barra.carga-baja i  { background: #059669; }

/* ---------- Modal ---------- */

.modal-bg {
  position: fixed; inset: 0;
  background: rgba(17, 24, 39, .35);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px;
  z-index: 90;
  overflow-y: auto;
}
.modal {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 620px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .14);
}
.modal--sm { max-width: 460px; }
.modal--lg { max-width: 900px; }
.modal__head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.modal__head h2 { font-size: 15px; }
.modal__head .close { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 6px; }
.modal__head .close:hover { background: var(--field); color: var(--text); }
.modal__body { padding: 18px; }
.modal__foot { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 18px; border-top: 1px solid var(--border); background: var(--field); border-radius: 0 0 var(--radius) var(--radius); }

/* ---------- Login ---------- */

.login {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: var(--bg);
}
.login__box { width: 100%; max-width: 380px; }
.login__card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.login__logo {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.login h1 { text-align: center; font-size: 18px; margin-bottom: 4px; }
.login p.sub { text-align: center; color: var(--text-2); font-size: 13px; margin: 0 0 20px; }
.login .field { margin-bottom: 14px; }
.login__foot { text-align: center; color: var(--muted); font-size: 11.5px; margin-top: 16px; }

/* ---------- Utilidades ---------- */

.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row--end { justify-content: flex-end; }
.row--between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.small { font-size: 12px; }
.strong { font-weight: 600; }
.danger { color: var(--danger); }
.ok { color: var(--ok); }
.center { text-align: center; }
.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hide { display: none !important; }

.cliente-alerta {
  display: flex; align-items: center; gap: 8px;
  background: rgba(220, 38, 38, .07);
  border: 1px solid rgba(220, 38, 38, .25);
  color: #991b1b;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 500;
}

.lista-simple { list-style: none; margin: 0; padding: 0; }
.lista-simple li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.lista-simple li:last-child { border-bottom: 0; }
.lista-simple .k { color: var(--text-2); }
.lista-simple .v { margin-left: auto; font-weight: 600; }

/* Autocomplete */
.ac { position: relative; }
.ac__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  max-height: 260px; overflow-y: auto; z-index: 20;
}
.ac__item { padding: 9px 12px; cursor: pointer; font-size: 13px; border-bottom: 1px solid var(--border); }
.ac__item:last-child { border-bottom: 0; }
.ac__item:hover, .ac__item.is-sel { background: var(--field); }
.ac__item small { display: block; color: var(--muted); font-size: 11.5px; }
.ac__item.is-problematico { color: var(--danger); font-weight: 600; }

/* Toast */
.toast-wrap { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 200; }
.toast {
  background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm); padding: 11px 14px; font-size: 13px;
  box-shadow: var(--shadow-hover); min-width: 240px;
}
.toast--ok { border-left-color: var(--ok); }
.toast--error { border-left-color: var(--danger); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0,0,0,.1); }
  body.nav-open .sidebar { transform: translateX(0); }
  .main { margin-left: 0; }
  .burger { display: inline-flex; }
  .content { padding: 14px; }
  .header__user span { display: none; }
  .form-grid--2 { grid-template-columns: 1fr; }
}

/* ---------- Impresion ---------- */

@media print {
  .sidebar, .header, .filters, .btn, .no-print { display: none !important; }
  .main { margin-left: 0; }
  .content { padding: 0; }
  .card { border: 0; }
  body { background: #fff; }
}

/* ---------- Presupuesto ---------- */
.dia-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px; padding: 0 7px;
  background: #f9fafb; border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
}
tr.is-off { opacity: .5; }
tr.is-off .dia-pill { background: transparent; }
.fijo-pagado { opacity: .55; }
.fijo-vence { border-left: 3px solid #d97706; }
.tbl--presu .num { white-space: nowrap; }
.tbl--presu .acciones { flex-wrap: nowrap; }
table.is-off { opacity: .45; }
