@charset "UTF-8";
/* app/assets/stylesheets/components/metric_card.scss */
/* line 3, app/assets/stylesheets/components/metric_card.scss */
.metric-card-shell {
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  padding: 16px;
}

/* app/assets/stylesheets/components/password_input.scss */
/* Campo de contraseña con ojo para mostrar/ocultar. El boton se apoya sobre
 * el borde derecho del input, asi que el input reserva espacio a la derecha. */
/* line 5, app/assets/stylesheets/components/password_input.scss */
.password-input {
  position: relative;
}

/* line 9, app/assets/stylesheets/components/password_input.scss */
.password-input input {
  width: 100%;
  padding-right: 42px;
}

/* line 14, app/assets/stylesheets/components/password_input.scss */
.password-input-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #8c7f6a;
  cursor: pointer;
  line-height: 1;
}

/* line 31, app/assets/stylesheets/components/password_input.scss */
.password-input-toggle:hover {
  color: #5b5245;
}

/* line 35, app/assets/stylesheets/components/password_input.scss */
.password-input-toggle .material-symbols-outlined {
  font-size: 20px;
}

/* Cuando el metodo "contraseña" esta desmarcado el input queda deshabilitado
 * (ver entry_auth_methods_controller.js): el ojo se apaga con el. */
/* line 41, app/assets/stylesheets/components/password_input.scss */
.auth-password-field--disabled .password-input-toggle {
  opacity: 0.5;
  pointer-events: none;
}

/* app/assets/stylesheets/components/panel.scss */
/* line 3, app/assets/stylesheets/components/panel.scss */
.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  padding: 16px;
}

/* line 10, app/assets/stylesheets/components/panel.scss */
.panel-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

/* line 19, app/assets/stylesheets/components/panel.scss */
.panel-rule {
  height: 1px;
  background: var(--color-rule);
  margin: 12px 0 16px;
}

/* app/assets/stylesheets/components/flatpickr.scss
   Tema del calendario (Flatpickr, CSS del CDN) con los tokens de Libro mayor.
   Solo web: el prefijo html.web-ui sube la especificidad sobre el CSS del CDN. */
/* line 6, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-calendar {
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-family: inherit;
}

/* line 13, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-calendar::before, html.web-ui .flatpickr-calendar::after {
  display: none;
}

/* line 19, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-months .flatpickr-month,
html.web-ui .flatpickr-current-month .flatpickr-monthDropdown-months,
html.web-ui .flatpickr-current-month input.cur-year {
  color: var(--color-ink);
  fill: var(--color-ink);
  font-weight: 600;
}

/* line 27, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-current-month .flatpickr-monthDropdown-months {
  background: var(--color-surface);
}

/* line 31, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-months .flatpickr-prev-month,
html.web-ui .flatpickr-months .flatpickr-next-month {
  color: var(--color-ink-secondary);
  fill: var(--color-ink-secondary);
}

/* line 36, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-months .flatpickr-prev-month:hover svg,
html.web-ui .flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--color-ink);
}

/* line 41, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui span.flatpickr-weekday {
  color: var(--color-muted);
  font-weight: 500;
}

/* line 46, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-day {
  color: var(--color-ink);
  border-radius: var(--radius-md);
}

/* line 50, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-day:hover, html.web-ui .flatpickr-day:focus {
  background: var(--color-app-bg);
  border-color: var(--color-rule);
}

/* line 56, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-day.prevMonthDay, html.web-ui .flatpickr-day.nextMonthDay, html.web-ui .flatpickr-day.flatpickr-disabled {
  color: var(--color-muted);
  opacity: 0.6;
}

/* line 63, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-day.today {
  border-color: var(--color-accent);
}

/* line 66, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-day.today:hover {
  background: var(--color-accent-subtle);
  color: var(--color-ink);
}

/* line 75, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-day.selected, html.web-ui .flatpickr-day.selected:hover, html.web-ui .flatpickr-day.selected:focus, html.web-ui .flatpickr-day.startRange, html.web-ui .flatpickr-day.startRange:hover, html.web-ui .flatpickr-day.startRange:focus, html.web-ui .flatpickr-day.endRange, html.web-ui .flatpickr-day.endRange:hover, html.web-ui .flatpickr-day.endRange:focus {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-surface);
}

/* line 85, app/assets/stylesheets/components/flatpickr.scss */
html.web-ui .flatpickr-day.inRange, html.web-ui .flatpickr-day.inRange:hover {
  background: var(--color-primary-subtle);
  border-color: var(--color-primary-subtle);
  box-shadow: -5px 0 0 var(--color-primary-subtle), 5px 0 0 var(--color-primary-subtle);
  color: var(--color-ink);
}

/* line 5, app/assets/stylesheets/components/icon_picker.scss */
.icon-picker-dialog .icon-picker-selected {
  border-color: var(--color-primary) !important;
  background-color: var(--color-primary-subtle) !important;
  color: var(--color-ink);
}

/* line 11, app/assets/stylesheets/components/icon_picker.scss */
.icon-picker-dialog .icon-picker-item:hover {
  border-color: var(--color-accent) !important;
  background-color: var(--color-accent-subtle) !important;
}

/* app/assets/stylesheets/components/editorial_list.scss */
/* line 3, app/assets/stylesheets/components/editorial_list.scss */
.editorial-row {
  padding: 20px 4px;
  border-bottom: 1px solid var(--color-rule);
  cursor: pointer;
}

/* line 8, app/assets/stylesheets/components/editorial_list.scss */
.editorial-row:last-child {
  border-bottom: none;
}

/* line 11, app/assets/stylesheets/components/editorial_list.scss */
.editorial-name {
  font-size: 1.12rem;
}

/* line 14, app/assets/stylesheets/components/editorial_list.scss */
.editorial-subcount {
  font-size: .78rem;
}

/* line 17, app/assets/stylesheets/components/editorial_list.scss */
.editorial-amount {
  font-size: 1.05rem;
}

/* line 20, app/assets/stylesheets/components/editorial_list.scss */
.editorial-bar-row {
  margin-top: 10px;
}

/* line 23, app/assets/stylesheets/components/editorial_list.scss */
.editorial-track {
  flex: 1;
  height: 4px;
  border-radius: 3px;
  background: var(--color-rule);
  overflow: hidden;
}

/* line 30, app/assets/stylesheets/components/editorial_list.scss */
.editorial-fill {
  border-radius: 3px;
}

/* line 33, app/assets/stylesheets/components/editorial_list.scss */
.editorial-pct {
  font-size: .78rem;
}

/* line 36, app/assets/stylesheets/components/editorial_list.scss */
.editorial-limit {
  font-size: .72rem;
  white-space: nowrap;
}

/* line 40, app/assets/stylesheets/components/editorial_list.scss */
.editorial-nolimit {
  font-size: .8rem;
  font-style: italic;
  margin-top: 8px;
}

/* line 45, app/assets/stylesheets/components/editorial_list.scss */
.editorial-abtn {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  text-decoration: none;
  transition: background-color .15s, color .15s;
}

/* line 56, app/assets/stylesheets/components/editorial_list.scss */
.editorial-abtn:hover {
  background-color: var(--color-primary-subtle);
  color: var(--color-ink);
}

/* line 60, app/assets/stylesheets/components/editorial_list.scss */
.editorial-abtn-sm {
  width: 26px;
  height: 26px;
}

/* line 64, app/assets/stylesheets/components/editorial_list.scss */
.editorial-subcategories {
  margin-top: 14px;
  padding-left: 4px;
}

/* line 68, app/assets/stylesheets/components/editorial_list.scss */
.editorial-subrow {
  padding: 7px 0 7px 18px;
  font-size: .84rem;
  color: var(--color-ink-secondary);
  border-left: 2px solid var(--color-rule);
  margin-left: 2px;
}

/* line 75, app/assets/stylesheets/components/editorial_list.scss */
.editorial-subname {
  color: inherit;
}

/* line 78, app/assets/stylesheets/components/editorial_list.scss */
.editorial-subamount {
  font-size: .84rem;
}

/* app/assets/stylesheets/components/top_categories_list.scss */
/* Desglose por subcategoria: ranking con indice + barra fina */
/* line 4, app/assets/stylesheets/components/top_categories_list.scss */
.top-categories-row {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--color-rule);
}

/* line 11, app/assets/stylesheets/components/top_categories_list.scss */
.top-categories-row:first-child {
  border-top: none;
  padding-top: 0;
}

/* line 16, app/assets/stylesheets/components/top_categories_list.scss */
.top-categories-idx {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--color-muted);
  padding-top: 2px;
  flex: none;
}

/* line 24, app/assets/stylesheets/components/top_categories_list.scss */
.top-categories-body {
  flex: 1;
  min-width: 0;
}

/* line 29, app/assets/stylesheets/components/top_categories_list.scss */
.top-categories-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 5px;
}

/* line 37, app/assets/stylesheets/components/top_categories_list.scss */
.top-categories-cat {
  font-size: .88rem;
  font-weight: 600;
}

/* line 42, app/assets/stylesheets/components/top_categories_list.scss */
.top-categories-amt {
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
}

/* line 48, app/assets/stylesheets/components/top_categories_list.scss */
.top-categories-track {
  height: 5px;
  border-radius: 3px;
  background: var(--color-app-bg);
  overflow: hidden;
}

/* line 55, app/assets/stylesheets/components/top_categories_list.scss */
.top-categories-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--color-accent);
}

/* app/assets/stylesheets/components/fixed_expenses_list.scss */
/* Gastos fijos del mes: total destacado + lista con barra de peso relativo */
/* line 4, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--color-rule);
}

/* line 13, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-total-amt {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

/* line 19, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-total-desc {
  font-size: .78rem;
  color: var(--color-muted);
}

/* line 24, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-row {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--color-rule);
  text-decoration: none;
  color: inherit;
}

/* line 33, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-row:first-of-type {
  border-top: none;
}

/* line 37, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-row:hover .fixed-expenses-cat {
  text-decoration: underline;
}

/* line 41, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-body {
  flex: 1;
  min-width: 0;
}

/* line 46, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 5px;
}

/* line 54, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-cat {
  font-size: .88rem;
  font-weight: 600;
}

/* line 59, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-amt {
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
}

/* line 65, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-track {
  height: 5px;
  border-radius: 3px;
  background: var(--color-app-bg);
  overflow: hidden;
}

/* line 72, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--color-accent);
}

/* line 78, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-empty {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

/* line 85, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-empty-title {
  font-size: .9rem;
  font-weight: 600;
  margin: 0;
}

/* line 91, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-empty-desc {
  font-size: .82rem;
  color: var(--color-muted);
  margin: 0;
}

/* line 97, app/assets/stylesheets/components/fixed_expenses_list.scss */
.fixed-expenses-empty-link {
  font-size: .82rem;
  font-weight: 600;
}

/* app/assets/stylesheets/components/timeline_list.scss */
/* Ultimos movimientos: linea de tiempo vertical con un punto por registro */
/* line 4, app/assets/stylesheets/components/timeline_list.scss */
.timeline-list {
  padding-left: 4px;
}

/* line 8, app/assets/stylesheets/components/timeline_list.scss */
.timeline-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0 14px 24px;
  border-left: 2px solid var(--color-rule);
}

/* line 18, app/assets/stylesheets/components/timeline_list.scss */
.timeline-row:last-child {
  border-left: 2px solid transparent;
  padding-bottom: 0;
}

/* line 23, app/assets/stylesheets/components/timeline_list.scss */
.timeline-row::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
}

/* line 35, app/assets/stylesheets/components/timeline_list.scss */
.timeline-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 41, app/assets/stylesheets/components/timeline_list.scss */
.timeline-cat {
  font-weight: 600;
  font-size: .94rem;
}

/* line 46, app/assets/stylesheets/components/timeline_list.scss */
.timeline-date {
  font-size: .78rem;
  color: var(--color-muted);
}

/* line 51, app/assets/stylesheets/components/timeline_list.scss */
.timeline-amt {
  font-weight: 600;
  font-size: .94rem;
  white-space: nowrap;
}

/* line 57, app/assets/stylesheets/components/timeline_list.scss */
.timeline-amt--danger {
  color: var(--color-danger);
}

/* line 61, app/assets/stylesheets/components/timeline_list.scss */
.timeline-amt--success {
  color: var(--color-success);
}

/* line 65, app/assets/stylesheets/components/timeline_list.scss */
.timeline-list--compact .timeline-row {
  padding: 8px 0 8px 24px;
}

/* line 69, app/assets/stylesheets/components/timeline_list.scss */
.timeline-list--compact .timeline-row:last-child {
  padding-bottom: 0;
}

/* line 73, app/assets/stylesheets/components/timeline_list.scss */
.timeline-list--compact .timeline-row::before {
  top: 16px;
}

/* app/assets/stylesheets/web/finances/dashboard.scss */
/* line 3, app/assets/stylesheets/web/finances/dashboard.scss */
.cash-flow-period {
  letter-spacing: 0.07em;
}

/* line 7, app/assets/stylesheets/web/finances/dashboard.scss */
.finance-track {
  height: 10px;
  border-radius: 5px;
  background: var(--color-primary-subtle);
  overflow: hidden;
}

/* line 14, app/assets/stylesheets/web/finances/dashboard.scss */
.finance-fill {
  height: 100%;
  border-radius: 5px;
}

/* line 19, app/assets/stylesheets/web/finances/dashboard.scss */
.money {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Mayores gastos: medallon para el #1 + lista compacta para el resto */
/* line 26, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--color-rule);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
}

/* line 36, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-medal {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-accent-subtle);
  color: var(--color-accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
}

/* line 51, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-hero-content {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

/* line 60, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-text {
  flex: 1;
  min-width: 0;
}

/* line 65, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-hero-cat {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

/* line 73, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-hero-desc {
  color: var(--color-muted);
  font-size: .8rem;
  margin: 3px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 82, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-hero-amt {
  flex: none;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-danger);
  white-space: nowrap;
  margin: 0;
}

/* line 91, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--color-rule);
}

/* line 100, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-row:first-child {
  border-top: none;
  padding-top: 0;
}

/* line 105, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-row-left {
  display: flex;
  flex: 1;
  gap: 10px;
  min-width: 0;
}

/* line 112, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-idx {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--color-muted);
  padding-top: 3px;
  flex: none;
}

/* line 120, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-cat {
  font-size: .9rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

/* line 127, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-desc {
  color: var(--color-muted);
  font-size: .78rem;
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 136, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-amt {
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
}

/* Alertas de presupuesto: hero para estado vacio/exito, lista de filas para categorias sobre el limite */
/* line 145, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-hero {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* line 151, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-medal {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 161, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-medal svg,
.budget-alerts-medal i {
  width: 20px;
  height: 20px;
}

/* line 167, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-medal.accent-success {
  background: var(--color-success-subtle);
  color: var(--color-success);
}

/* line 168, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-medal.accent-secondary {
  background: var(--color-secondary-subtle);
  color: var(--color-secondary);
}

/* line 170, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-hero-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* line 180, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-hero-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

/* line 188, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-hero-desc {
  color: var(--color-muted);
  font-size: .85rem;
  margin: 3px 0 0;
}

/* line 194, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-hero-link {
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* line 200, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--color-rule);
}

/* line 209, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-row:first-child {
  border-top: none;
  padding-top: 0;
}

/* line 214, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-row-left {
  display: flex;
  gap: 10px;
  min-width: 0;
}

/* line 220, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-row-icon {
  width: 16px;
  height: 16px;
  color: var(--color-danger);
  flex: none;
  margin-top: 2px;
}

/* line 228, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-row-cat {
  font-size: .92rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

/* line 235, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-row-desc {
  color: var(--color-muted);
  font-size: .78rem;
  margin: 2px 0 0;
}

/* line 241, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-row-right {
  text-align: right;
  flex: none;
}

/* line 246, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-row-amt {
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-danger);
  margin: 0;
  white-space: nowrap;
}

/* line 254, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-row-pct {
  font-size: .74rem;
  color: var(--color-danger);
  margin: 2px 0 0;
  white-space: nowrap;
}

/* line 261, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-row--pace .budget-alerts-row-icon,
.budget-alerts-row--pace .budget-alerts-row-amt,
.budget-alerts-row--pace .budget-alerts-row-pct {
  color: var(--color-warning);
}

/* line 267, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-section-title {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-muted);
  margin: 16px 0 4px;
}

/* line 276, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-section-title:first-child {
  margin-top: 0;
}

/* line 280, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-footer {
  font-size: .82rem;
  color: var(--color-muted);
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-rule);
}

/* Quick stats: una sola linea que corre de derecha a izquierda */
/* Reserva el alto de la franja mientras carga, para que la pagina no salte */
/* line 291, app/assets/stylesheets/web/finances/dashboard.scss */
.quick-stats-slot {
  min-height: 3rem;
}

/* line 295, app/assets/stylesheets/web/finances/dashboard.scss */
.quick-stats-ticker {
  overflow: hidden;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

/* line 301, app/assets/stylesheets/web/finances/dashboard.scss */
.quick-stats-label {
  letter-spacing: 0.05em;
}

/* line 305, app/assets/stylesheets/web/finances/dashboard.scss */
.quick-stats-ticker-track {
  display: flex;
  width: max-content;
  animation: quick-stats-scroll 40s linear infinite;
}

/* line 311, app/assets/stylesheets/web/finances/dashboard.scss */
.quick-stats-ticker:hover .quick-stats-ticker-track {
  animation-play-state: paused;
}

/* line 315, app/assets/stylesheets/web/finances/dashboard.scss */
.quick-stats-ticker-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  white-space: nowrap;
}

@keyframes quick-stats-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* line 330, app/assets/stylesheets/web/finances/dashboard.scss */
  .quick-stats-ticker {
    overflow-x: auto;
  }
  /* line 331, app/assets/stylesheets/web/finances/dashboard.scss */
  .quick-stats-ticker-track {
    animation: none;
  }
  /* line 332, app/assets/stylesheets/web/finances/dashboard.scss */
  .quick-stats-ticker-group[aria-hidden="true"] {
    display: none;
  }
}

/* app/assets/stylesheets/web/finances/debts_calendar.scss */
/* ── Encabezado ─────────────────────────────────────────────────────── */
/* line 5, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 2px;
}

/* line 13, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* line 19, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-rule);
  background: var(--color-surface);
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}

/* line 32, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-nav-btn:hover {
  background: var(--color-app-bg);
  color: var(--color-ink);
  border-color: var(--color-rule-strong);
}

/* line 38, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-nav-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  min-width: 148px;
  text-align: center;
}

/* line 46, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-nav-today {
  margin-left: 4px;
  padding: 7px 13px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-rule);
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s;
}

/* line 58, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-nav-today:hover {
  background: var(--color-app-bg);
}

/* ── Resumen del mes ────────────────────────────────────────────────── */
/* line 62, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  margin-bottom: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
}

/* line 75, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-summary-lead {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 81, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-summary-label,
.cal-fact-label,
.cal-weekday,
.cal-entry-weekday,
.cal-mark-creditor {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* line 93, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-summary-amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

/* line 101, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-summary-meta {
  font-size: .82rem;
  color: var(--color-muted);
}

/* line 106, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-summary-facts {
  display: flex;
  gap: 32px;
}

/* line 111, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-fact {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* line 117, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-fact-value {
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* line 123, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-fact--overdue .cal-fact-label,
.cal-fact--overdue .cal-fact-value {
  color: var(--color-danger);
}

/* ── Layout ─────────────────────────────────────────────────────────── */
/* line 128, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

/* ── Grilla del mes ─────────────────────────────────────────────────── */
/* line 137, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-grid-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* line 144, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--color-rule);
}

/* line 150, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-weekday {
  padding: 11px 0;
  text-align: center;
}

/* line 155, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

/* line 160, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-day {
  min-height: 108px;
  padding: 8px 8px 10px;
  border-right: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* line 169, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-day:nth-child(7n) {
  border-right: none;
}

/* line 170, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-day:nth-last-child(-n+7) {
  border-bottom: none;
}

/* line 172, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-day--outside {
  background: var(--color-app-bg);
}

/* line 173, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-day--outside .cal-day-number {
  color: var(--color-muted);
}

/* line 174, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-day--outside .cal-mark {
  opacity: .5;
}

/* line 176, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-day-number {
  font-size: .88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-muted);
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 188, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-day--due .cal-day-number {
  color: var(--color-ink);
}

/* line 190, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-day--today .cal-day-number {
  background: var(--color-ink);
  color: var(--color-surface);
  border-radius: 50%;
}

/* Marca de pago: una franja de color por acreedor, el monto manda. */
/* line 197, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-mark {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 7px 6px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--mark-color);
  background: var(--mark-bg);
}

/* line 207, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-mark-creditor {
  font-size: .6rem;
  letter-spacing: .07em;
  color: var(--color-ink);
  opacity: .62;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 217, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-mark-amount {
  font-size: .82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--mark-color);
}

/* line 224, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-mark-count {
  font-size: .62rem;
  color: var(--color-muted);
}

/* line 229, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-mark--upcoming {
  --mark-color: var(--color-primary);
  --mark-bg: var(--color-primary-subtle);
}

/* line 230, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-mark--overdue {
  --mark-color: var(--color-danger);
  --mark-bg: var(--color-danger-subtle);
}

/* line 231, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-mark--paid {
  --mark-color: var(--color-success);
  --mark-bg: var(--color-success-subtle);
}

/* ── Agenda ─────────────────────────────────────────────────────────── */
/* line 235, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-agenda {
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  padding: 20px 22px 8px;
}

/* line 242, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-agenda-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
}

/* line 249, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-agenda-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* La libreta de pagos: el hilo punteado enhebra los dias del mes. */
/* line 256, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  position: relative;
}

/* line 262, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 4px;
  border-left: 1px dashed var(--color-rule);
}

/* line 270, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry:last-child {
  padding-bottom: 12px;
}

/* line 271, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry:last-child::before {
  display: none;
}

/* line 273, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 42px;
  flex-shrink: 0;
}

/* line 281, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-weekday {
  font-size: .6rem;
  margin-bottom: 2px;
}

/* line 286, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* line 293, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-day--upcoming {
  color: var(--color-primary);
}

/* line 294, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-day--overdue {
  color: var(--color-danger);
}

/* line 295, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-day--paid {
  color: var(--color-success);
}

/* line 297, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-body {
  flex: 1;
  min-width: 0;
}

/* line 302, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--color-rule);
  margin-bottom: 7px;
}

/* line 312, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-total {
  font-size: 1.02rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* line 318, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-status {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-md);
}

/* line 326, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-status--upcoming {
  color: var(--color-primary);
  background: var(--color-primary-subtle);
}

/* line 327, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-status--overdue {
  color: var(--color-danger);
  background: var(--color-danger-subtle);
}

/* line 328, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-status--paid {
  color: var(--color-success);
  background: var(--color-success-subtle);
}

/* line 330, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

/* line 337, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-line-creditor {
  font-size: .87rem;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 346, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-line-creditor:hover {
  text-decoration: underline;
}

/* line 348, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-line-number {
  font-size: .7rem;
  color: var(--color-muted);
  white-space: nowrap;
}

/* line 354, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-line-amount {
  margin-left: auto;
  font-size: .87rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* line 361, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-line-toggle {
  border: 1px solid var(--color-rule);
  background: var(--color-surface);
  color: var(--color-muted);
  border-radius: var(--radius-md);
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}

/* line 373, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-line-toggle:hover {
  background: var(--color-app-bg);
  color: var(--color-ink);
  border-color: var(--color-rule-strong);
}

/* line 378, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-line-toggle--paid {
  color: var(--color-success);
  border-color: var(--color-success-subtle);
  background: var(--color-success-subtle);
}

/* line 383, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-line-toggle--paid:hover {
  color: var(--color-success-hover);
  border-color: var(--color-success);
  background: var(--color-success-subtle);
}

/* ── Vacio ──────────────────────────────────────────────────────────── */
/* line 391, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-empty {
  padding: 22px 0 26px;
}

/* line 394, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-empty-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

/* line 400, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-empty-text {
  font-size: .85rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* ── Accesibilidad y responsive ─────────────────────────────────────── */
/* line 408, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-nav-btn:focus-visible,
.cal-nav-today:focus-visible,
.cal-line-toggle:focus-visible,
.cal-line-creditor:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  /* line 417, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  /* line 421, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .debts-calendar {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* line 422, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-title {
    font-size: 1.8rem;
  }
  /* line 423, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  /* line 424, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-summary-facts {
    gap: 24px;
  }
  /* line 425, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-day {
    min-height: 78px;
    padding: 6px 5px 8px;
  }
  /* line 426, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-mark {
    padding: 3px 5px 4px;
  }
  /* line 427, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-mark-creditor {
    display: none;
  }
  /* line 428, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-mark-amount {
    font-size: .7rem;
  }
  /* line 429, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-nav-label {
    min-width: 118px;
    font-size: .95rem;
  }
}

/* app/assets/stylesheets/web/finances/debt_schedule.scss */
/* Plan de pagos del detalle de una deuda: una tira que resume todo el plan y
   las cuotas agrupadas por año. Usa los tokens de papel y tinta del sistema. */
/* ── Tira del plan ──────────────────────────────────────────────────── */
/* line 8, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-strip {
  display: flex;
  gap: 3px;
  margin-bottom: 28px;
}

/* line 14, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-tick {
  flex: 1 1 0;
  min-width: 4px;
  max-width: 48px;
  height: 10px;
  border-radius: 3px;
  background: var(--color-rule);
}

/* line 22, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-tick--paid {
  background: var(--color-success);
}

/* line 23, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-tick--next {
  background: var(--color-surface);
  box-shadow: inset 0 0 0 2px var(--color-warning);
}

/* ── Encabezado de cada año ─────────────────────────────────────────── */
/* line 27, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-year {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 24px 0 12px;
}

/* line 33, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-year:first-of-type {
  margin-top: 0;
}

/* line 35, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-year-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

/* line 42, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-year-count {
  font-size: .8rem;
  color: var(--color-muted);
  white-space: nowrap;
}

/* line 48, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-year-rule {
  flex: 1;
  height: 1px;
  background: var(--color-rule);
}

/* ── Cuotas ─────────────────────────────────────────────────────────── */
/* line 56, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
  gap: 12px;
}

/* line 62, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  color: var(--color-ink);
}

/* line 73, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 81, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card-eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* line 89, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card-icon {
  font-size: 1.3rem;
  color: var(--color-rule);
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* line 95, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card-amount {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

/* line 103, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card-date {
  font-size: .85rem;
  color: var(--color-muted);
  margin-bottom: 12px;
}

/* line 109, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card-tag {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: var(--radius-md);
  font-size: .7rem;
  font-weight: 600;
  color: var(--color-warning-text);
  background: var(--color-warning-subtle);
}

/* line 120, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card-form {
  margin-top: auto;
}

/* line 122, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card-action {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-ink);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}

/* line 134, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card-action:hover {
  background: var(--color-app-bg);
  border-color: var(--color-muted);
}

/* line 135, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card-action:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Pagada: se aparta para que lo pendiente sea lo que se lee primero. */
/* line 138, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card--paid {
  background: var(--color-app-bg);
}

/* line 139, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card--paid .sched-card-amount {
  color: var(--color-muted);
}

/* line 140, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card--paid .sched-card-icon {
  color: var(--color-success);
}

/* line 141, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card--paid .sched-card-action {
  color: var(--color-muted);
}

/* Próxima: la única que pide acción ahora. */
/* line 144, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card--next {
  border-color: var(--color-warning);
}

/* line 147, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card--next .sched-card-icon {
  color: var(--color-warning);
}

/* line 148, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card--next .sched-card-action {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-surface);
}

/* line 153, app/assets/stylesheets/web/finances/debt_schedule.scss */
.sched-card--next .sched-card-action:hover {
  filter: brightness(0.92);
}

/* app/assets/stylesheets/web/passwords/password_entries.scss */
/* Vault de contraseñas: extiende el sistema editorial (panel + editorial-row)
 * con un acento bronce propio, evocando los herrajes de una caja de seguridad. */
/* line 5, app/assets/stylesheets/web/passwords/password_entries.scss */
.password-vault .panel-rule {
  background: #b8935a;
}

/* line 9, app/assets/stylesheets/web/passwords/password_entries.scss */
.vault-row {
  padding: 14px 4px;
  border-bottom: 1px solid #e6dcc8;
  transition: background-color 0.15s ease;
}

/* line 15, app/assets/stylesheets/web/passwords/password_entries.scss */
.vault-row:last-child {
  border-bottom: none;
}

/* line 19, app/assets/stylesheets/web/passwords/password_entries.scss */
.vault-row:hover {
  background: #fbf7ef;
}

/* line 23, app/assets/stylesheets/web/passwords/password_entries.scss */
.vault-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fffefb;
  background: linear-gradient(155deg, #b8935a, #8c6a3d);
}

/* line 38, app/assets/stylesheets/web/passwords/password_entries.scss */
.vault-site {
  font-size: 1.05rem;
}

/* line 42, app/assets/stylesheets/web/passwords/password_entries.scss */
.vault-user {
  font-size: 0.8rem;
}

/* line 46, app/assets/stylesheets/web/passwords/password_entries.scss */
.vault-secret {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  min-width: 90px;
  text-align: right;
}

/* line 54, app/assets/stylesheets/web/passwords/password_entries.scss */
.vault-secret-mask {
  color: #9c917c;
}

/* line 58, app/assets/stylesheets/web/passwords/password_entries.scss */
.vault-secret-value {
  color: #2a2118;
  font-weight: 600;
}

/* line 63, app/assets/stylesheets/web/passwords/password_entries.scss */
.vault-empty {
  font-size: 0.85rem;
  padding: 4px;
}

/* Metodos de acceso: seleccion multiple en el formulario */
/* line 70, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-methods-hint {
  font-size: 0.8rem;
}

/* line 74, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 80, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #d9d2c4;
  border-radius: 10px;
  background: #fffefb;
  color: #5b5245;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

/* line 94, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-method:hover {
  border-color: #b8935a;
}

/* line 98, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-method:has(.auth-method-input:checked) {
  border-color: #b8935a;
  background: #f8f0e2;
  color: #2a2118;
  font-weight: 600;
}

/* line 105, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-method:has(.auth-method-input:focus-visible) {
  outline: 2px solid #b8935a;
  outline-offset: 2px;
}

/* line 110, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-method-input {
  width: 16px;
  height: 16px;
  accent-color: #b8935a;
  margin: 0;
}

/* line 117, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-method .auth-method-icon {
  font-size: 18px;
  color: #8c6a3d;
}

/* line 122, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-password-field--disabled {
  opacity: 0.5;
}

/* line 126, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-password-field--disabled input {
  background: #f3efe6;
  cursor: not-allowed;
}

/* Metodos de acceso: chips en el listado */
/* line 133, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-method-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

/* line 140, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-method-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #e6dcc8;
  background: #faf6ee;
  color: #6b6152;
  font-size: 0.7rem;
  line-height: 1.5;
  white-space: nowrap;
}

/* line 154, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-method-chip .auth-method-chip-icon {
  font-size: 14px;
}

/* line 158, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-method-chip--google {
  border-color: #cfe0d6;
  background: #eef6f1;
  color: #3f6b55;
}

/* line 164, app/assets/stylesheets/web/passwords/password_entries.scss */
.auth-method-chip--email-code {
  border-color: #dcd7ea;
  background: #f2f0f8;
  color: #56507a;
}

/* Sidebar del web, estilo Libro mayor (docs/design_direction.md): papel con una
   regla a la derecha, navegación en tinta y el ítem activo marcado en latón.
   Los componentes de Web::Layout::Sidebar solo ponen clases; los colores
   viven aquí, como tokens. */
/* Responsive: estático en desktop; drawer deslizable en móvil (reemplaza el
   offcanvas de Bootstrap, controlado por sidebar_controller.js). */
@media (max-width: 1023.98px) {
  /* line 9, app/assets/stylesheets/layout/sidebar.css */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1045;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  /* line 19, app/assets/stylesheets/layout/sidebar.css */
  .sidebar.sidebar-open {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }
}

/* Desktop: el sidebar es estatico por defecto; el toggle del navbar lo
   colapsa a ancho 0 en vez de mostrarlo como drawer (eso es solo mobile). */
@media (min-width: 1024px) {
  /* line 29, app/assets/stylesheets/layout/sidebar.css */
  .sidebar {
    transition: width 0.25s ease, min-width 0.25s ease;
  }
  /* visibility: hidden saca los enlaces del orden de tabulación mientras está colapsado. */
  /* line 33, app/assets/stylesheets/layout/sidebar.css */
  .sidebar.sidebar-collapsed {
    width: 0 !important;
    min-width: 0 !important;
    overflow: hidden;
    visibility: hidden;
    transition: width 0.25s ease, min-width 0.25s ease, visibility 0s linear 0.25s;
  }
}

/* line 42, app/assets/stylesheets/layout/sidebar.css */
.sidebar-section-label {
  margin: 24px 0 4px;
  padding: 0 12px;
  list-style: none;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* line 53, app/assets/stylesheets/layout/sidebar.css */
.sidebar-link {
  color: var(--color-ink-secondary);
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  transition: background-color 0.15s, color 0.15s;
}

/* line 60, app/assets/stylesheets/layout/sidebar.css */
.sidebar-link:hover {
  background-color: color-mix(in srgb, var(--color-ink) 6%, transparent);
  color: var(--color-ink);
}

/* line 65, app/assets/stylesheets/layout/sidebar.css */
.sidebar-link--danger,
.sidebar-link--danger:hover {
  color: var(--color-danger);
}

/* line 70, app/assets/stylesheets/layout/sidebar.css */
.sidebar-link--danger:hover {
  background-color: var(--color-danger-subtle);
}

/* line 74, app/assets/stylesheets/layout/sidebar.css */
.sidebar-active {
  position: relative;
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
}

/* line 80, app/assets/stylesheets/layout/sidebar.css */
.sidebar-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--color-accent);
}

/* line 91, app/assets/stylesheets/layout/sidebar.css */
.sidebar-active > .sidebar-link {
  color: var(--color-ink);
  font-weight: 600;
}

/* line 96, app/assets/stylesheets/layout/sidebar.css */
.sidebar-link[aria-expanded="true"] .sidebar-chevron {
  transform: rotate(180deg);
  transition: transform 0.3s;
}

/* line 101, app/assets/stylesheets/layout/sidebar.css */
.sidebar-link[aria-expanded="false"] .sidebar-chevron {
  transition: transform 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  /* line 106, app/assets/stylesheets/layout/sidebar.css */
  .sidebar,
.sidebar-link,
.sidebar-link .sidebar-chevron {
    transition: none !important;
  }
}

/* line 1, app/assets/stylesheets/bank_accounts/dashboard.css */
.chart-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
  padding-bottom: 1rem;
}

/* line 8, app/assets/stylesheets/bank_accounts/dashboard.css */
#monthly-expenses-chart {
  max-width: 100%;
  width: 100% !important;
  height: 300px !important;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  /* line 16, app/assets/stylesheets/bank_accounts/dashboard.css */
  #monthly-expenses-chart {
    height: 250px !important;
  }
}

/* line 1, app/assets/stylesheets/mobile/mobile_transactions.css */
.truncate-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* app/assets/stylesheets/mobile/mobile_nav.css */
/* Alturas base de header y bottom-nav */
/* line 4, app/assets/stylesheets/mobile/mobile_nav.css */
:root {
  --header-h: 56px;
  --bottom-h: 60px;
  /* Paleta "ledger" del dashboard movil */
  --ink: #15130F;
  --surface: #1D1A15;
  --surface-raised: #26221B;
  --hairline: rgba(239, 233, 221, 0.08);
  --paper: #EFE9DD;
  --paper-muted: #B8AF9E;
  --brass: #C9A24B;
  --brass-dim: rgba(201, 162, 75, 0.16);
  --mint: #4FAE8A;
  --mint-dim: rgba(79, 174, 138, 0.16);
  /* #DA6E53 en vez de un rust mas oscuro: da ~5.2:1 de contraste como texto
     sobre --surface/--ink, cumpliendo WCAG AA (el tono anterior daba 3.4-4.2:1) */
  --rust: #DA6E53;
  --rust-dim: rgba(218, 110, 83, 0.16);
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* Foco visible consistente con la paleta bespoke del dashboard, en vez de
   depender del outline por defecto del navegador */
/* line 29, app/assets/stylesheets/mobile/mobile_nav.css */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* Respuesta inmediata al toque: la navegación tarda un viaje al servidor */
/* line 36, app/assets/stylesheets/mobile/mobile_nav.css */
.mobile-shell a:active,
.mobile-shell button:active {
  opacity: .6;
}

/* Barra de navegación inferior fija */
/* line 42, app/assets/stylesheets/mobile/mobile_nav.css */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bottom-h);
  z-index: 1030;
  background: var(--ink);
  border-top: 1px solid var(--hairline);
  /* Fallback seguro para iOS (safe area bottom) */
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}

/* line 58, app/assets/stylesheets/mobile/mobile_nav.css */
.bottom-nav .nav-item {
  color: var(--paper-muted);
  /* Inactivo */
  transition: color 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* line 65, app/assets/stylesheets/mobile/mobile_nav.css */
.bottom-nav .nav-item.active {
  color: var(--brass);
  /* Activo */
}

/* line 69, app/assets/stylesheets/mobile/mobile_nav.css */
.bottom-nav .nav-item:hover {
  color: var(--brass);
}

@media (prefers-reduced-motion: reduce) {
  /* line 74, app/assets/stylesheets/mobile/mobile_nav.css */
  .bottom-nav .nav-item {
    transition: none;
  }
}

/* Shell principal: deja espacio para header y bottom nav */
/* line 80, app/assets/stylesheets/mobile/mobile_nav.css */
.mobile-shell {
  min-height: 100dvh;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px));
}

/* Cuando NO hay bottom nav, solo respeta safe-area inferior */
/* line 87, app/assets/stylesheets/mobile/mobile_nav.css */
.mobile-shell.no-bottom-nav {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Cuando NO hay header, solo respeta safe-area superior */
/* line 92, app/assets/stylesheets/mobile/mobile_nav.css */
.mobile-shell.no-header {
  padding-top: env(safe-area-inset-top, 0px);
}

/* Contenido scrolleable con pequeño respiro al final */
/* line 97, app/assets/stylesheets/mobile/mobile_nav.css */
.mobile-content {
  padding-bottom: 16px;
  overflow: auto;
}

/* Con bottom-nav visible tambien flota el FAB: deja espacio para que no tape
   el contenido cuando se hace scroll hasta el final */
/* line 104, app/assets/stylesheets/mobile/mobile_nav.css */
body:not(.no-bottom-nav) .mobile-content {
  padding-bottom: 104px;
}

/* Contenedor visual y proporciones mobile */
/* line 2, app/assets/stylesheets/mobile/forms.css */
.mobile-plain-form {
  padding-bottom: 88px;
}

/* hueco para CTA sticky */
/* line 3, app/assets/stylesheets/mobile/forms.css */
.mobile-input {
  border-radius: 14px;
  background: #fff;
}

/* line 7, app/assets/stylesheets/mobile/forms.css */
.mobile-input-prefix {
  border-radius: 14px 0 0 14px;
}

/* CTA sticky inferior tipo “píldora” */
/* line 12, app/assets/stylesheets/mobile/forms.css */
.mobile-sticky-cta {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  padding: 8px 0 0 0;
  z-index: 20;
}

/* line 21, app/assets/stylesheets/mobile/forms.css */
.mobile-cta-btn {
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font-weight: 600;
}

/* Ajustes de tipografía para evitar zoom en iOS */
@supports (-webkit-touch-callout: none) {
  /* line 29, app/assets/stylesheets/mobile/forms.css */
  .mobile-input, .mobile-input-prefix {
    font-size: 16px;
  }
}

/* Separadores sutiles por bloque */
/* line 33, app/assets/stylesheets/mobile/forms.css */
section + section {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 12px;
}

/* app/assets/stylesheets/mobile/pending_expenses.css */
/* Highlight breve cuando pasa de Pending → Confirmed */
@keyframes confirmPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.45);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(25, 135, 84, 0);
  }
}

/* line 9, app/assets/stylesheets/mobile/pending_expenses.css */
.pending-confirmed {
  animation: confirmPulse 300ms ease-out 1;
  transition: opacity 220ms ease, transform 220ms ease, background-color 120ms ease;
  background-color: rgba(25, 135, 84, 0.06);
  /* success suave */
}

/* Remoción suave */
/* line 16, app/assets/stylesheets/mobile/pending_expenses.css */
.fade-out-up {
  opacity: 0 !important;
  transform: translateY(-6px);
}

/* app/assets/stylesheets/mobile/refresh_highlight.css */
@keyframes softPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.35);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(13, 110, 253, 0);
  }
}

/* line 7, app/assets/stylesheets/mobile/refresh_highlight.css */
.just-updated {
  animation: softPulse 300ms ease-out 1;
  background-color: rgba(13, 110, 253, 0.06);
  /* azul Bootstrap muy suave */
  transition: background-color 240ms ease, opacity 200ms ease;
}

/* app/assets/stylesheets/mobile/standalone_safe_area.css */
/* Fix de viewport en iOS */
/* line 4, app/assets/stylesheets/mobile/standalone_safe_area.css */
html, body {
  height: 100%;
}

@supports (-webkit-touch-callout: none) {
  /* iOS */
  /* line 10, app/assets/stylesheets/mobile/standalone_safe_area.css */
  html, body {
    min-height: -webkit-fill-available;
  }
}

/* Cuando está instalada (standalone) aplicamos safe-areas */
/* line 16, app/assets/stylesheets/mobile/standalone_safe_area.css */
.is-standalone body,
body.is-standalone {
  /* Espacio superior para status bar (notch) */
  padding-top: env(safe-area-inset-top);
}

/* Contenedor principal (donde haces <main class="container py-3 mobile-content">) */
/* line 23, app/assets/stylesheets/mobile/standalone_safe_area.css */
body.is-standalone .mobile-content {
  /* Evita quedar tapado por bottom bar (home indicator) */
  /* CAMBIO: Usamos MAX() en mayúsculas para evitar conflicto con la función max() de Sass */
  padding-bottom: MAX(env(safe-area-inset-bottom), 16px);
}

/* Header sticky: que no quede pegado bajo el notch */
/* line 30, app/assets/stylesheets/mobile/standalone_safe_area.css */
body.is-standalone .sticky-top {
  top: env(safe-area-inset-top);
}

/* CTA pegada abajo en forms */
/* line 35, app/assets/stylesheets/mobile/standalone_safe_area.css */
body.is-standalone .mobile-sticky-cta {
  padding-bottom: calc(env(safe-area-inset-bottom) + 6px);
}

/* Bottom nav fijo: levantarlo sobre el home indicator */
/* line 40, app/assets/stylesheets/mobile/standalone_safe_area.css */
body.is-standalone .bottom-nav.fixed-bottom {
  padding-bottom: env(safe-area-inset-bottom);
}

/* Pantalla de desbloqueo del vault (layout mobile_lock) */
/* line 2, app/assets/stylesheets/mobile/passwords/unlock.css */
.lock-page-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.5rem;
  box-sizing: border-box;
  background-color: var(--ink);
}

/* line 12, app/assets/stylesheets/mobile/passwords/unlock.css */
.lock-page-header {
  margin-top: 8vh;
  margin-bottom: 2rem;
  text-align: center;
}

/* line 18, app/assets/stylesheets/mobile/passwords/unlock.css */
.totum-logo {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--paper);
  letter-spacing: -0.5px;
}

/* line 26, app/assets/stylesheets/mobile/passwords/unlock.css */
.user-greeting {
  font-size: 1.1rem;
  color: var(--paper-muted);
  margin-bottom: 0;
}

/* line 32, app/assets/stylesheets/mobile/passwords/unlock.css */
.lock-page-footer {
  margin-top: auto;
  padding-bottom: 1rem;
}

/* line 37, app/assets/stylesheets/mobile/passwords/unlock.css */
.footer-link {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--brass);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* app/assets/stylesheets/mobile/bank_accounts/_amount_with_card.css */
/* line 3, app/assets/stylesheets/mobile/bank_accounts/amount_with_card.css */
.card-label {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  max-width: 100%;
  /* Fade difuminado al final */
  mask-image: linear-gradient(to right, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

/* line 8, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.new-expense-container {
  background-color: var(--ink);
  color: var(--paper);
}

/* line 14, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-icon-btn {
  width: 40px;
  height: 40px;
  background-color: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--paper-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* line 23, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-icon-btn:hover {
  background-color: var(--surface-raised);
  color: var(--paper);
}

/* line 28, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
  font-weight: 600;
}

/* line 38, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-peso {
  color: var(--paper-muted);
  font-size: 2rem;
}

/* line 43, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-amount-input {
  color: var(--paper);
}

/* line 47, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-amount-input::placeholder {
  color: var(--paper-muted);
  opacity: 0.6;
}

/* line 54, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-amount-line {
  width: 78%;
  max-width: 240px;
  margin: 10px auto 0;
  border-bottom: 1px solid var(--hairline);
  transition: border-color 0.15s ease;
}

/* line 62, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-amount-line:focus-within {
  border-color: var(--brass);
}

/* line 66, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-date-pill {
  background-color: var(--surface);
  border: 1px solid rgba(239, 233, 221, 0.14);
  color: var(--paper-muted);
}

/* line 72, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-date-pill i {
  color: var(--brass);
}

/* line 77, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card {
  position: relative;
  background-color: var(--surface);
  border-color: var(--hairline) !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* line 83, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card:focus-within {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* line 88, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card .category-icon {
  background-color: var(--surface-raised);
  color: var(--paper-muted);
}

/* line 93, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card .category-label {
  color: var(--paper-muted);
}

/* line 97, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card .category-value {
  color: var(--paper);
}

/* line 102, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card.active {
  background-color: var(--brass-dim) !important;
  border-color: var(--brass) !important;
}

/* line 106, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card.active .category-icon {
  background-color: var(--brass) !important;
  color: var(--ink) !important;
}

/* line 111, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card.active .category-label {
  color: var(--brass) !important;
}

/* line 115, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card.active .category-value {
  color: var(--paper) !important;
}

/* line 119, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card.active i {
  color: var(--paper) !important;
}

/* line 125, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card.disabled, .category-card[disabled] {
  opacity: 0.5;
}

/* line 129, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.category-card.disabled .category-label, .category-card[disabled] .category-label {
  color: var(--paper-muted);
}

/* line 138, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-native-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* line 150, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-native-select:disabled {
  cursor: default;
}

/* line 155, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-row {
  position: relative;
  background-color: var(--surface);
  border: 1px solid var(--hairline);
}

/* line 161, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-row:focus-within {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* line 166, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-row-icon {
  background-color: var(--surface-raised);
  color: var(--paper-muted);
}

/* line 171, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-row-chevron {
  color: var(--paper-muted);
}

/* line 176, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-note {
  background-color: var(--surface);
  border: 1px solid var(--hairline);
}

/* line 181, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-note-label {
  color: var(--paper-muted);
  border-bottom: 1px solid var(--hairline);
}

/* line 186, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-note textarea {
  color: var(--paper);
}

/* line 190, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-note textarea::placeholder {
  color: var(--paper-muted);
}

/* line 195, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-submit {
  background-color: var(--brass);
  color: var(--ink);
  border: 0;
}

/* line 201, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-submit:hover {
  background-color: #d9b25f;
}

/* line 205, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-submit:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

/* line 211, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-delete-btn {
  background-color: transparent;
  color: var(--rust);
  border: 1px solid var(--rust);
}

/* line 217, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-delete-btn:hover {
  background-color: var(--rust-dim);
}

/* line 221, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.ne-delete-btn:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

/* line 227, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
.new-expense-container input:focus-visible,
.new-expense-container textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  /* line 234, app/assets/stylesheets/mobile/bank_accounts/new_expense.scss */
  .ne-icon-btn,
.category-card,
.ne-amount-line {
    transition: none;
  }
}

/* FAB Button */
/* line 2, app/assets/stylesheets/mobile/actions_sheet.scss */
.fab-button {
  position: fixed;
  bottom: calc(var(--bottom-h) + 20px);
  right: 20px;
  width: 56px;
  height: 56px;
  z-index: 1040;
  background-color: var(--brass);
  color: var(--ink);
  border: none;
  box-shadow: 0 10px 20px rgba(201, 162, 75, 0.3);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  /* Fallback for safe area */
  bottom: calc(var(--bottom-h) + 20px + env(safe-area-inset-bottom, 0px));
}

/* line 20, app/assets/stylesheets/mobile/actions_sheet.scss */
.fab-button i {
  color: var(--ink);
}

/* line 24, app/assets/stylesheets/mobile/actions_sheet.scss */
.fab-button:active {
  transform: scale(0.95);
}

/* Bottom Sheet Backdrop */
/* line 29, app/assets/stylesheets/mobile/actions_sheet.scss */
.bottom-sheet-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(2px);
}

/* line 43, app/assets/stylesheets/mobile/actions_sheet.scss */
.bottom-sheet-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* Bottom Sheet */
/* line 49, app/assets/stylesheets/mobile/actions_sheet.scss */
.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1060;
  background-color: #1a222b;
  /* Darker background for sheet */
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overscroll-behavior: contain;
  /* Safe area padding */
  padding-bottom: env(safe-area-inset-bottom, 20px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* line 66, app/assets/stylesheets/mobile/actions_sheet.scss */
.bottom-sheet.show {
  transform: translateY(0);
}

/* line 70, app/assets/stylesheets/mobile/actions_sheet.scss */
.bottom-sheet-handle-bar {
  cursor: grab;
}

/* line 74, app/assets/stylesheets/mobile/actions_sheet.scss */
.bottom-sheet-handle {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  margin: 0 auto;
}

/* Action Cards */
/* line 82, app/assets/stylesheets/mobile/actions_sheet.scss */
.bg-dark-surface {
  background-color: #1a222b !important;
}

/* line 86, app/assets/stylesheets/mobile/actions_sheet.scss */
.bg-dark-lighter {
  background-color: #252e38 !important;
}

/* line 90, app/assets/stylesheets/mobile/actions_sheet.scss */
.action-card {
  border: 1px solid transparent;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

/* line 95, app/assets/stylesheets/mobile/actions_sheet.scss */
.action-card:active {
  background-color: #2c3642 !important;
  transform: scale(0.98);
}

/* line 100, app/assets/stylesheets/mobile/actions_sheet.scss */
.icon-circle {
  font-size: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  /* line 105, app/assets/stylesheets/mobile/actions_sheet.scss */
  .fab-button,
.fab-button:active,
.bottom-sheet-backdrop,
.bottom-sheet,
.action-card,
.action-card:active {
    transition: none;
  }
}

/* app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
/* line 3, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.money {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Top bar */
/* line 10, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-avatar {
  width: 38px;
  height: 38px;
  background: var(--surface-raised);
  border: 1px solid var(--brass);
  color: var(--brass);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* line 20, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-bell-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  border: 1.5px solid var(--ink);
}

/* Boton icon-only con target tactil >= 40px (el icono solo mide 25px) */
/* line 32, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Selector de periodo (mes anterior / siguiente) */
/* line 44, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-period-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* line 50, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-period-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--paper-muted);
  text-transform: capitalize;
}

/* line 57, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-period-selector .dash-icon-btn {
  color: var(--paper-muted);
}

/* line 61, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-period-selector .dash-icon-btn.disabled {
  color: var(--hairline);
  pointer-events: none;
}

/* Hero de gasto del mes */
/* line 68, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-hero {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 26px 20px 22px;
  overflow: hidden;
}

/* line 77, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-hero::before {
  content: "";
  position: absolute;
  top: -60%;
  left: 50%;
  width: 220px;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--brass-dim) 0%, rgba(201, 162, 75, 0) 70%);
  pointer-events: none;
}

/* line 89, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-hero-eyebrow {
  position: relative;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
  font-weight: 600;
}

/* line 98, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-hero-amount {
  position: relative;
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--paper);
  margin-top: 4px;
}

/* Badge de variacion vs mes pasado */
/* line 109, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
}

/* line 119, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-badge.favorable {
  background: var(--mint-dim);
}

/* line 123, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-badge.unfavorable {
  background: var(--rust-dim);
}

/* line 127, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-badge.neutral {
  background: rgba(184, 175, 158, 0.16);
}

/* line 131, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-badge-value {
  font-weight: 700;
  font-size: 0.85rem;
}

/* line 136, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-badge.favorable .dash-badge-value {
  color: var(--mint);
}

/* line 137, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-badge.unfavorable .dash-badge-value {
  color: var(--rust);
}

/* line 138, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-badge.neutral .dash-badge-value {
  color: var(--paper-muted);
}

/* line 140, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-badge-label {
  font-size: 0.82rem;
  color: var(--paper-muted);
}

/* line 145, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.tri-up, .tri-down {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

/* line 152, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.tri-up {
  border-bottom: 6px solid currentColor;
}

/* line 153, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.tri-down {
  border-top: 6px solid currentColor;
}

/* Quick stats: hoy / semana / promedio diario */
/* line 157, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-quick-stats {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
}

/* line 165, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-qs-col {
  flex: 1;
  min-width: 0;
  padding: 14px 6px;
  text-align: center;
}

/* line 172, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-qs-divider {
  width: 1px;
  background: var(--hairline);
}

/* line 177, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-qs-label {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-bottom: 8px;
}

/* line 186, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-qs-amount {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--paper);
}

/* Panel compartido (distribucion de gastos, ultimos movimientos) */
/* line 195, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 16px;
}

/* line 202, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* line 209, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-panel-title {
  font-weight: 700;
  color: var(--paper);
  font-size: 0.95rem;
}

/* line 215, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-panel-link {
  color: var(--brass);
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 600;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Donut de distribucion de gastos */
/* line 226, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-donut {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
}

/* line 234, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

/* line 248, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-donut-total-label {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

/* line 255, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-donut-total-amount {
  font-weight: 700;
  color: var(--paper);
  font-size: 0.72rem;
  line-height: 1.15;
  word-break: break-word;
}

/* line 263, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* line 269, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* line 276, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-legend-name {
  font-size: 0.85rem;
  color: var(--paper);
}

/* line 281, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-legend-percent {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--paper);
}

/* Alertas de presupuesto */
/* line 289, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.budget-alert-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}

/* line 297, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.budget-alert-row:last-of-type {
  border-bottom: none;
}

/* line 301, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.budget-alert-icon {
  font-size: 18px;
  color: var(--rust);
  flex-shrink: 0;
  margin-top: 2px;
}

/* line 308, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.budget-alert-icon--pace {
  color: var(--brass);
}

/* line 312, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.budget-alert-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--paper);
}

/* line 318, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.budget-alert-desc {
  font-size: 0.78rem;
  color: var(--paper-muted);
  margin-top: 2px;
}

/* line 324, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.budget-alert-section-title {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin: 10px 0 4px;
}

/* line 332, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.budget-alert-more,
.budget-alert-footer {
  font-size: 0.78rem;
  color: var(--paper-muted);
  margin-top: 8px;
}

/* Flujo de fondos */
/* line 341, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.flow-positive {
  color: var(--mint);
}

/* line 342, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.flow-negative {
  color: var(--rust);
}

/* line 344, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-flow-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(184, 175, 158, 0.16);
  overflow: hidden;
}

/* line 351, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-flow-fill {
  height: 100%;
  border-radius: 999px;
}

/* line 356, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-flow-fill--incomes {
  background: var(--mint);
}

/* line 357, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-flow-fill--expenses {
  background: var(--rust);
}

/* Pill de estado (a pagar este mes) */
/* line 361, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* line 370, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-status-pill--warning {
  background: rgba(201, 162, 75, 0.16);
  color: var(--brass);
}

/* line 375, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-status-pill--neutral {
  background: rgba(184, 175, 158, 0.16);
  color: var(--paper-muted);
}

/* Filtros de categoria y lista de movimientos */
/* line 382, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-filter-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.82rem;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--paper-muted);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* line 396, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-filter-pill.active {
  background: var(--surface-raised);
  border-color: var(--brass);
  color: var(--paper);
  font-weight: 600;
}

/* line 403, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-filter-pills-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

/* line 410, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

/* line 416, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-search-icon {
  position: absolute;
  left: 14px;
  font-size: 20px;
  color: var(--paper-muted);
  pointer-events: none;
}

/* line 424, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-search-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px 10px 42px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--paper);
  font-size: 0.9rem;
}

/* line 435, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-search-input:focus {
  outline: none;
  border-color: var(--brass);
}

/* line 440, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-search-input::placeholder {
  color: var(--paper-muted);
}

/* line 444, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-movement {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(239, 233, 221, 0.05);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* line 451, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-movement-dot {
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 460, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-movement-dot .material-symbols-outlined {
  font-size: 20px;
  color: var(--paper);
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* line 466, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-movement-title,
.dash-movement-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 473, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-movement-title {
  color: var(--paper);
}

/* line 477, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-movement-sub {
  color: var(--paper-muted);
}

/* line 481, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-movement-amount {
  font-weight: 700;
  color: var(--rust);
}

/* line 486, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-movement-chevron {
  font-size: 18px;
  color: var(--paper-muted);
  opacity: .5;
}

/* app/assets/stylesheets/mobile/finances/bank_accounts.scss */
/* line 3, app/assets/stylesheets/mobile/finances/bank_accounts.scss */
.dash-page-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--paper);
}

/* Franja de total del mes (variante compacta del dash-hero) */
/* line 11, app/assets/stylesheets/mobile/finances/bank_accounts.scss */
.dash-ledger-total {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 18px 20px;
}

/* line 18, app/assets/stylesheets/mobile/finances/bank_accounts.scss */
.dash-ledger-count {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--paper-muted);
}

/* Encabezado de cada dia del libro de movimientos */
/* line 26, app/assets/stylesheets/mobile/finances/bank_accounts.scss */
.dash-ledger-date-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 2px 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}

/* line 35, app/assets/stylesheets/mobile/finances/bank_accounts.scss */
.dash-ledger-date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
}

/* line 42, app/assets/stylesheets/mobile/finances/bank_accounts.scss */
.dash-ledger-date-total {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--paper-muted);
}

/* line 48, app/assets/stylesheets/mobile/finances/bank_accounts.scss */
.dash-ledger-time {
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--paper-muted);
  font-family: var(--font-mono);
}

/* Boton flotante para nuevo gasto */
/* line 57, app/assets/stylesheets/mobile/finances/bank_accounts.scss */
.dash-fab {
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  background: var(--brass);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 1040;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* app/assets/stylesheets/mobile/finances/debts.scss */
/* line 5, app/assets/stylesheets/mobile/finances/debts.scss */
.dash-movement-dot--debt {
  background: var(--brass-dim);
}

/* line 9, app/assets/stylesheets/mobile/finances/debts.scss */
.dash-movement-dot--debt .material-symbols-outlined {
  color: var(--brass);
}

/* line 13, app/assets/stylesheets/mobile/finances/debts.scss */
.dash-movement--paid {
  opacity: 0.55;
}

/* line 17, app/assets/stylesheets/mobile/finances/debts.scss */
.dash-debt-paid-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--mint-dim);
  color: var(--mint);
}

/* line 29, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

/* line 39, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-status-badge--active {
  background: var(--mint-dim);
  color: var(--mint);
}

/* line 44, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-status-badge--paid {
  background: rgba(184, 175, 158, 0.16);
  color: var(--paper-muted);
}

/* line 50, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-next-installment {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--paper-muted);
}

/* line 56, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-next-installment--overdue {
  color: var(--rust);
  font-weight: 600;
}

/* line 62, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-stat-tile {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 12px 14px;
}

/* line 69, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-bottom: 4px;
}

/* line 77, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-stat-value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--paper);
}

/* line 83, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-progress-bar {
  margin-top: 8px;
  height: 4px;
  border-radius: 999px;
  background: var(--hairline);
  overflow: hidden;
}

/* line 91, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-progress-bar-fill {
  height: 100%;
  background: var(--brass);
  border-radius: 999px;
}

/* line 98, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-installment-row {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(239, 233, 221, 0.05);
}

/* line 103, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-installment-row--paid .dash-movement-title {
  color: var(--paper-muted);
}

/* line 107, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-installment-row--pending .dash-movement-amount {
  color: var(--paper);
}

/* line 111, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-toggle-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* line 124, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-installment-row--paid .debt-toggle-btn .material-symbols-outlined {
  color: var(--mint);
  font-variation-settings: "FILL" 1;
}

/* line 129, app/assets/stylesheets/mobile/finances/debts.scss */
.debt-installment-row--pending .debt-toggle-btn .material-symbols-outlined {
  color: var(--paper-muted);
}

/* app/assets/stylesheets/mobile/finances/bank_cards.scss */
/* line 4, app/assets/stylesheets/mobile/finances/bank_cards.scss */
.card-field-input {
  display: block;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--paper);
  font-size: 0.95rem;
}

/* line 15, app/assets/stylesheets/mobile/finances/bank_cards.scss */
.card-field-input:focus,
.card-field-input:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}

/* line 21, app/assets/stylesheets/mobile/finances/bank_cards.scss */
.card-field-input::placeholder {
  color: var(--paper-muted);
  opacity: 0.6;
}

/* app/assets/stylesheets/mobile/finances/expense_categories.scss */
/* line 8, app/assets/stylesheets/mobile/finances/expense_categories.scss */
.bottom-sheet--ledger {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
}

/* line 13, app/assets/stylesheets/mobile/finances/expense_categories.scss */
.bottom-sheet--ledger .bottom-sheet-handle {
  background: var(--paper-muted);
  opacity: 0.4;
}

/* line 18, app/assets/stylesheets/mobile/finances/expense_categories.scss */
.icon-picker-sheet-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* line 23, app/assets/stylesheets/mobile/finances/expense_categories.scss */
.icon-picker-sheet-body .icon-picker-item {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--paper-muted-dim, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--hairline);
  color: var(--paper-muted);
}

/* line 32, app/assets/stylesheets/mobile/finances/expense_categories.scss */
.icon-picker-sheet-body .icon-picker-item:active {
  background: var(--brass-dim);
}

/* line 36, app/assets/stylesheets/mobile/finances/expense_categories.scss */
.icon-picker-sheet-body .icon-picker-item.icon-picker-selected {
  border-color: var(--brass);
  background: var(--brass-dim);
  color: var(--brass);
}

/* app/assets/stylesheets/mobile/passwords/passwords.scss */
/* Vault de contraseñas en mobile: extiende el sistema "ledger" existente
 * (dash-panel/dash-movement/bottom-sheet) con el mismo acento brass que ya
 * usan Tarjetas y Deudas en el hub de Mas Opciones — no es un color nuevo,
 * es el mismo bronce que ya es la firma del vault en el dashboard web. */
/* Ojo: estos estilos comparten nombres de clase con el vault web y viven en
 * el mismo bundle, asi que van siempre acotados a un selector que solo existe
 * en mobile (.dash-movement-dot, .vault-secret-row). Sin ese scope pisan al
 * web, que tiene fondo claro, y la contraseña revelada queda ilegible. */
/* Medallon con la inicial del sitio/equipo/usuario. Se aplica junto a
 * .dash-movement-dot (que define tamaño/forma); acá solo se sobreescribe
 * el tratamiento visual, mismo recibo que ya usa .dash-avatar (anillo
 * brass + iniciales en mono) en vez de un fondo solido nuevo. */
/* line 16, app/assets/stylesheets/mobile/passwords/passwords.scss */
.dash-movement-dot.vault-badge {
  border-color: var(--brass);
  background: var(--brass-dim);
  color: var(--brass);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Contraseña enmascarada/revelada dentro del bottom sheet de acciones */
/* line 26, app/assets/stylesheets/mobile/passwords/passwords.scss */
.vault-secret-row {
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  font-size: 1.05rem;
}

/* line 32, app/assets/stylesheets/mobile/passwords/passwords.scss */
.vault-secret-row .vault-secret-mask {
  color: var(--paper-muted);
}

/* line 36, app/assets/stylesheets/mobile/passwords/passwords.scss */
.vault-secret-row .vault-secret-value {
  color: var(--paper);
  font-weight: 700;
}

/* Metodos de acceso: variante ledger de los chips y checkboxes del vault web
 * (ver web/passwords/password_entries.scss), con la paleta oscura de mobile. */
/* line 43, app/assets/stylesheets/mobile/passwords/passwords.scss */
.auth-method--ledger {
  border-color: var(--hairline);
  background: var(--surface-raised);
  color: var(--paper-muted);
}

/* line 49, app/assets/stylesheets/mobile/passwords/passwords.scss */
.auth-method--ledger:has(.auth-method-input:checked) {
  border-color: var(--brass);
  background: var(--brass-dim);
  color: var(--paper);
}

/* line 55, app/assets/stylesheets/mobile/passwords/passwords.scss */
.auth-method--ledger .auth-method-icon {
  color: var(--brass);
}

/* line 59, app/assets/stylesheets/mobile/passwords/passwords.scss */
.auth-method--ledger .auth-method-input {
  accent-color: var(--brass);
}

/* Ojo de mostrar/ocultar contraseña sobre los campos oscuros de mobile */
/* line 64, app/assets/stylesheets/mobile/passwords/passwords.scss */
.password-input--ledger .password-input-toggle {
  color: var(--paper-muted);
}

/* line 68, app/assets/stylesheets/mobile/passwords/passwords.scss */
.password-input--ledger .password-input-toggle:hover {
  color: var(--brass);
}

/* line 72, app/assets/stylesheets/mobile/passwords/passwords.scss */
.auth-method-chip--ledger {
  border-color: var(--hairline);
  background: var(--brass-dim);
  color: var(--paper-muted);
}

/* Variante del bottom-sheet base (actions_sheet.scss, fondo navy generico
 * #1a222b) con la paleta ledger, para que el sheet de contraseñas no
 * desentone del resto del modulo. */
/* line 81, app/assets/stylesheets/mobile/passwords/passwords.scss */
.bottom-sheet--ledger {
  background-color: var(--surface-raised);
  border-top: 1px solid var(--hairline);
}

/* line 86, app/assets/stylesheets/mobile/passwords/passwords.scss */
.bottom-sheet--ledger .bottom-sheet-handle {
  background: var(--paper-muted);
  opacity: 0.5;
}

/* app/assets/stylesheets/mobile/notifications.scss */
/* line 4, app/assets/stylesheets/mobile/notifications.scss */
.notification-row .dash-movement-title {
  white-space: normal;
  overflow: visible;
}

/* line 9, app/assets/stylesheets/mobile/notifications.scss */
.notification-row--unread {
  border-color: var(--brass);
}

/* line 13, app/assets/stylesheets/mobile/notifications.scss */
.dash-notification-action {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* line 24, app/assets/stylesheets/mobile/notifications.scss */
.dash-notification-action--accept {
  background: var(--brass);
  border: none;
  color: var(--ink);
}

/* line 30, app/assets/stylesheets/mobile/notifications.scss */
.dash-notification-action--decline {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--paper-muted);
}

/* Menú "Más acciones" de PageHeaderButtons. Es el menú flotante: la única
   superficie con sombra, según docs/design_direction.md. */
/* line 4, app/assets/stylesheets/custom_dropdown.css */
.custom-dropdown-container {
  position: relative;
  display: inline-block;
}

/* line 9, app/assets/stylesheets/custom_dropdown.css */
.custom-dropdown-menu {
  display: none;
  position: absolute;
  z-index: 1000;
  min-width: 10rem;
  padding: 4px;
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-ink);
  text-align: left;
  list-style: none;
  background-color: var(--color-surface);
  background-clip: padding-box;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(35, 31, 26, 0.12);
  right: 0;
  left: auto;
}

/* line 29, app/assets/stylesheets/custom_dropdown.css */
.custom-dropdown-container.is-open .custom-dropdown-menu {
  display: block;
}

/* line 33, app/assets/stylesheets/custom_dropdown.css */
.custom-dropdown-menu .custom-dropdown-item {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-weight: 400;
  color: var(--color-ink);
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-radius: var(--radius-md);
}

/* line 47, app/assets/stylesheets/custom_dropdown.css */
.custom-dropdown-menu .custom-dropdown-item:hover,
.custom-dropdown-menu .custom-dropdown-item:focus {
  background-color: var(--color-primary-subtle);
}

/* line 37, app/assets/stylesheets/application.scss */
html {
  height: 100%;
  margin: 0;
  padding: 0;
}
