@charset "UTF-8";
/* app/assets/stylesheets/components/metric_card.scss */
/* line 3, app/assets/stylesheets/components/metric_card.scss */
.metric-card-shell {
  background: #FFFEFB;
  border: 1px solid #E6DCC8;
  border-top: 3px solid #E6DCC8;
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(30, 24, 12, 0.05), 0 10px 24px -14px rgba(30, 24, 12, 0.22);
}

/* line 15, app/assets/stylesheets/components/metric_card.scss */
.metric-card-shell.accent-primary {
  border-top-color: var(--color-primary);
}

/* line 16, app/assets/stylesheets/components/metric_card.scss */
.metric-card-shell.accent-secondary {
  border-top-color: var(--color-secondary);
}

/* line 17, app/assets/stylesheets/components/metric_card.scss */
.metric-card-shell.accent-success {
  border-top-color: var(--color-success);
}

/* line 18, app/assets/stylesheets/components/metric_card.scss */
.metric-card-shell.accent-danger {
  border-top-color: var(--color-danger);
}

/* line 19, app/assets/stylesheets/components/metric_card.scss */
.metric-card-shell.accent-warning {
  border-top-color: var(--color-warning);
}

/* line 20, app/assets/stylesheets/components/metric_card.scss */
.metric-card-shell.accent-info {
  border-top-color: var(--color-info);
}

/* 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: #FFFEFB;
  border: 1px solid #E6DCC8;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(30, 24, 12, 0.05), 0 10px 24px -14px rgba(30, 24, 12, 0.22);
}

/* line 11, app/assets/stylesheets/components/panel.scss */
.panel-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* line 18, app/assets/stylesheets/components/panel.scss */
.panel-rule {
  width: 48px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* 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 #E6DCC8;
  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: #E6DCC8;
  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: #8A7C68;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}

/* line 56, app/assets/stylesheets/components/editorial_list.scss */
.editorial-abtn:hover {
  background-color: #F1EBDF;
  color: #2A2118;
}

/* 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: #5b5140;
  border-left: 2px solid #E6DCC8;
  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 rgba(230, 220, 200, 0.6);
}

/* 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(--brass);
}

/* 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 #E6DCC8;
}

/* 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: #FFFEFB;
  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 */
.finance-track {
  height: 10px;
  border-radius: 5px;
  background: #F1EBDF;
  overflow: hidden;
}

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

/* line 15, app/assets/stylesheets/web/finances/dashboard.scss */
.money {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

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

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

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

/* line 57, 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 65, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-hero-desc {
  color: var(--color-muted);
  font-size: .8rem;
  margin: 3px 0 0;
}

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

/* line 79, 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 rgba(230, 220, 200, 0.6);
}

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

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

/* line 99, 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 107, app/assets/stylesheets/web/finances/dashboard.scss */
.top-expenses-cat {
  font-size: .9rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

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

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

/* Proyeccion de inversion futura: stat central + linea de tiempo */
/* line 129, app/assets/stylesheets/web/finances/dashboard.scss */
.investment-projection-stat {
  text-align: center;
}

/* line 133, app/assets/stylesheets/web/finances/dashboard.scss */
.investment-projection-stat-label {
  font-size: .85rem;
  color: var(--color-muted);
  margin: 0 0 6px;
}

/* line 139, app/assets/stylesheets/web/finances/dashboard.scss */
.investment-projection-stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0;
}

/* line 146, app/assets/stylesheets/web/finances/dashboard.scss */
.investment-projection-stat-rate {
  font-size: .88rem;
  margin: 10px 0 0;
}

/* line 151, app/assets/stylesheets/web/finances/dashboard.scss */
.investment-projection-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
}

/* line 158, app/assets/stylesheets/web/finances/dashboard.scss */
.investment-projection-timeline::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(201, 162, 75, 0.28);
}

/* line 168, app/assets/stylesheets/web/finances/dashboard.scss */
.investment-projection-point {
  position: relative;
  flex: 1;
  text-align: center;
}

/* line 174, app/assets/stylesheets/web/finances/dashboard.scss */
.investment-projection-point:not(:first-child) {
  margin-left: 12px;
}

/* line 178, app/assets/stylesheets/web/finances/dashboard.scss */
.investment-projection-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brass);
  border: 3px solid #FFFEFB;
  margin: 0 auto 14px;
  position: relative;
  z-index: 1;
}

/* line 189, app/assets/stylesheets/web/finances/dashboard.scss */
.investment-projection-period {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 6px;
}

/* line 198, app/assets/stylesheets/web/finances/dashboard.scss */
.investment-projection-amt {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--mint);
}

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

/* line 213, 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 223, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-medal.accent-success {
  background: var(--color-success-subtle);
  color: var(--color-success);
}

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

/* line 226, 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 236, 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 244, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-hero-desc {
  color: var(--color-muted);
  font-size: .85rem;
  margin: 3px 0 0;
}

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

/* line 256, 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 rgba(230, 220, 200, 0.6);
}

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

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

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

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

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

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

/* line 300, 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 308, 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 315, 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 321, 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 330, app/assets/stylesheets/web/finances/dashboard.scss */
.budget-alerts-section-title:first-child {
  margin-top: 0;
}

/* line 334, 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 rgba(230, 220, 200, 0.6);
}

/* app/assets/stylesheets/web/finances/debts_calendar.scss */
/* line 3, app/assets/stylesheets/web/finances/debts_calendar.scss */
.debts-calendar {
  --cal-paper:  #FFFEFB;
  --cal-rule:   #E6DCC8;
  --cal-ink:    #2A2118;
  --cal-muted:  #8A7C68;
  --cal-faint:  #C9BCA6;
  --cal-fill:   #FAF6ED;
}

/* ── Encabezado ─────────────────────────────────────────────────────── */
/* line 14, 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 22, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

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

/* line 47, 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 55, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-nav-today {
  margin-left: 4px;
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid var(--cal-rule);
  background: var(--cal-paper);
  color: var(--cal-ink);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s;
}

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

/* ── Resumen del mes ────────────────────────────────────────────────── */
/* line 71, 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(--cal-paper);
  border: 1px solid var(--cal-rule);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(30, 24, 12, 0.05), 0 10px 24px -14px rgba(30, 24, 12, 0.22);
}

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

/* line 91, 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(--cal-muted);
}

/* line 103, 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 111, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-summary-meta {
  font-size: .82rem;
  color: var(--cal-muted);
}

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

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

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

/* line 133, 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 138, 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 147, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-grid-panel {
  background: var(--cal-paper);
  border: 1px solid var(--cal-rule);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(30, 24, 12, 0.05), 0 10px 24px -14px rgba(30, 24, 12, 0.22);
}

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

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

/* line 165, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-weekday--rest {
  color: var(--cal-faint);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ── Agenda ─────────────────────────────────────────────────────────── */
/* line 247, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-agenda {
  background: var(--cal-paper);
  border: 1px solid var(--cal-rule);
  border-radius: 12px;
  padding: 20px 22px 8px;
  box-shadow: 0 1px 2px rgba(30, 24, 12, 0.05), 0 10px 24px -14px rgba(30, 24, 12, 0.22);
}

/* line 255, 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 262, 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 269, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  position: relative;
}

/* line 275, 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(--cal-rule);
}

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

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

/* line 286, 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 294, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-weekday {
  font-size: .6rem;
  margin-bottom: 2px;
}

/* line 299, 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 306, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-entry-day--upcoming {
  color: var(--color-primary);
}

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

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

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

/* line 315, 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(--cal-rule);
  margin-bottom: 7px;
}

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

/* line 331, 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: 20px;
}

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

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

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

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

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

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

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

/* line 367, 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 374, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-line-toggle {
  border: 1px solid var(--cal-rule);
  background: var(--cal-paper);
  color: var(--cal-muted);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}

/* line 386, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-line-toggle:hover {
  background: var(--cal-fill);
  color: var(--cal-ink);
  border-color: var(--cal-faint);
}

/* line 391, 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 396, 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 404, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-empty {
  padding: 22px 0 26px;
}

/* line 407, 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 413, app/assets/stylesheets/web/finances/debts_calendar.scss */
.cal-empty-text {
  font-size: .85rem;
  color: var(--cal-muted);
  margin-bottom: 0;
}

/* ── Accesibilidad y responsive ─────────────────────────────────────── */
/* line 421, 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-primary);
  outline-offset: 2px;
}

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

@media (max-width: 820px) {
  /* line 434, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .debts-calendar {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* line 435, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-title {
    font-size: 1.8rem;
  }
  /* line 436, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  /* line 437, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-summary-facts {
    gap: 24px;
  }
  /* line 438, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-day {
    min-height: 78px;
    padding: 6px 5px 8px;
  }
  /* line 439, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-mark {
    padding: 3px 5px 4px;
  }
  /* line 440, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-mark-creditor {
    display: none;
  }
  /* line 441, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-mark-amount {
    font-size: .7rem;
  }
  /* line 442, app/assets/stylesheets/web/finances/debts_calendar.scss */
  .cal-nav-label {
    min-width: 118px;
    font-size: .95rem;
  }
}

/* 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;
}

/* line 1, app/assets/stylesheets/header.css */
.navbar {
  /* height: 100vh; */
  width: 10%;
  /* Ajusta el ancho que prefieras */
  /* padding: 1rem; */
  /* justify-content: space-between; */
}

/* line 8, app/assets/stylesheets/header.css */
.navbar-title {
  margin: 1.5rem;
}

/* line 12, app/assets/stylesheets/header.css */
.navbar-links {
  margin-bottom: 1rem;
  gap: 1rem;
  /* Espacio entre cada enlace */
  height: 100vh;
}

/* line 18, app/assets/stylesheets/header.css */
.logout-link a {
  margin: 1.5rem;
  display: inline-block;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.3s ease;
}

/* Estilos propios del sidebar (chrome oscuro app-specific, no Bootstrap).
   Enganchan a las clases estables .sidebar-link / .sidebar-active en los
   enlaces del sidebar, tras la migración a Tailwind. */
/* 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 8, app/assets/stylesheets/layout/sidebar.css */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1045;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }
  /* line 17, app/assets/stylesheets/layout/sidebar.css */
  .sidebar.sidebar-open {
    transform: translateX(0);
  }
}

/* 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 25, app/assets/stylesheets/layout/sidebar.css */
  .sidebar {
    transition: width 0.25s ease, min-width 0.25s ease;
  }
  /* line 28, app/assets/stylesheets/layout/sidebar.css */
  .sidebar.sidebar-collapsed {
    width: 0 !important;
    min-width: 0 !important;
    overflow: hidden;
  }
}

/* line 35, app/assets/stylesheets/layout/sidebar.css */
.sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
}

/* line 40, app/assets/stylesheets/layout/sidebar.css */
.sidebar-link:hover i {
  color: #ffffff;
}

/* line 44, app/assets/stylesheets/layout/sidebar.css */
.sidebar-active {
  background-color: rgba(255, 255, 255, 0.08);
  position: relative;
}

/* line 49, 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: #0d6efd;
}

/* line 60, app/assets/stylesheets/layout/sidebar.css */
.sidebar-active > .sidebar-link {
  color: #ffffff !important;
}

/* line 64, app/assets/stylesheets/layout/sidebar.css */
.sidebar-active .sidebar-link i {
  color: #ffffff;
}

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

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

/* 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;
  }
}

@media (max-width: 992px) {
  /* line 22, app/assets/stylesheets/bank_accounts/dashboard.css */
  .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* line 28, app/assets/stylesheets/bank_accounts/dashboard.css */
.top-bank-amount {
  font-size: 0.4rem;
}

/* line 1, app/assets/stylesheets/users/show.css */
.profile-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

/* line 8, app/assets/stylesheets/users/show.css */
.card-custom {
  border: none;
  border-radius: 12px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* line 14, app/assets/stylesheets/users/show.css */
.table td {
  vertical-align: middle;
  font-size: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* line 21, app/assets/stylesheets/users/show.css */
.table td:first-child {
  width: 180px;
  color: #6c757d;
  font-weight: 500;
}

/* line 27, app/assets/stylesheets/users/show.css */
.table td:last-child {
  font-weight: 400;
  padding-left: 2rem;
}

/* 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;
}

/* Barra de navegación inferior fija */
/* line 36, 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 52, 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 59, app/assets/stylesheets/mobile/mobile_nav.css */
.bottom-nav .nav-item.active {
  color: var(--brass);
  /* Activo */
}

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

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

/* Shell principal: deja espacio para header y bottom nav */
/* line 74, 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 81, 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 86, 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 91, 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 98, 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);
}

/* line 1, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #ced4da;
  background: transparent;
  margin: 0 6px;
  transition: background-color .15s, border-color .15s, transform .15s;
}

/* line 12, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-dot.filled {
  background-color: #0d6efd;
  border-color: #0d6efd;
  transform: scale(1.1);
}

/* LAYOUT GENERAL */
/* line 19, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-page-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.5rem;
  box-sizing: border-box;
  background-color: #f8f9fa;
  /* Fondo claro por defecto */
}

/* HEADER: Logo y Saludo */
/* line 30, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-page-header {
  margin-top: 8vh;
  /* Más abajo como pidió el usuario */
  margin-bottom: 2rem;
  text-align: center;
}

/* line 36, app/assets/stylesheets/mobile/auth/pin/pin.css */
.totum-logo {
  font-size: 2.5rem;
  /* Más grande */
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #212529;
  letter-spacing: -0.5px;
}

/* line 44, app/assets/stylesheets/mobile/auth/pin/pin.css */
.user-greeting {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* CONTENEDOR DEL PAD */
/* line 51, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-pad-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  /* Esto empuja el contenido para distribuir espacio si es necesario */
}

/* line 58, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-pad-internal-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* DOTS */
/* line 65, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: auto;
  /* Empuja el teclado hacia abajo */
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* GRILLA NUMÉRICA */
/* line 75, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.5rem;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 3rem auto;
  /* Margen inferior para separar del footer */
}

/* line 84, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-key {
  font-size: 28px;
  font-weight: 500;
  color: #212529;
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background-color 0.2s;
  cursor: pointer;
}

/* line 101, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-key:active {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Botón Backspace */
/* line 106, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-key-action {
  background: transparent;
  border: none;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #212529;
  cursor: pointer;
}

/* FOOTER */
/* line 120, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-page-footer {
  margin-top: auto;
  padding-bottom: 1rem;
}

/* line 125, app/assets/stylesheets/mobile/auth/pin/pin.css */
.footer-link {
  font-size: 0.85rem;
  text-decoration: none;
  color: #0d6efd;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Estado Bloqueado */
/* line 135, app/assets/stylesheets/mobile/auth/pin/pin.css */
.locked-message {
  color: #dc3545;
  font-weight: 600;
  text-align: center;
}

/* Compatibilidad con estilos anteriores por si acaso */
/* line 142, app/assets/stylesheets/mobile/auth/pin/pin.css */
.pin-container {
  display: none;
}

/* Ocultamos el viejo container si existe */
/* 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;
  padding: 14px 10px;
  text-align: center;
}

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

/* line 176, 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 184, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-qs-amount {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--paper);
}

/* Panel compartido (distribucion de gastos, ultimos movimientos) */
/* line 192, 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 199, 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 206, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-panel-title {
  font-weight: 700;
  color: var(--paper);
  font-size: 0.95rem;
}

/* line 212, 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 223, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-donut {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
}

/* line 231, 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 245, 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 252, 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 260, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

/* line 278, 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 286, 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 294, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.budget-alert-row:last-of-type {
  border-bottom: none;
}

/* line 298, 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 305, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.budget-alert-icon--pace {
  color: var(--brass);
}

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

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

/* line 321, 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 329, 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 338, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.flow-positive {
  color: var(--mint);
}

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

/* line 341, 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 348, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-flow-fill {
  height: 100%;
  border-radius: 999px;
}

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

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

/* Pill de estado (a pagar este mes) */
/* line 358, 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 367, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-status-pill--warning {
  background: rgba(201, 162, 75, 0.16);
  color: var(--brass);
}

/* line 372, 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 379, 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 393, 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 400, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-filter-pills-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

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

/* line 413, 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 421, 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 432, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-search-input:focus {
  outline: none;
  border-color: var(--brass);
}

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

/* line 441, 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 448, 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 457, 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 463, app/assets/stylesheets/mobile/finances/dash_bank_accounts.scss */
.dash-movement-title,
.dash-movement-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

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

/* line 483, 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-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-item:active {
  background: var(--brass-dim);
}

/* line 36, app/assets/stylesheets/mobile/finances/expense_categories.scss */
.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 3, app/assets/stylesheets/mobile/notifications.scss */
.notification-row--unread {
  border-color: var(--brass);
}

/* line 7, 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 18, app/assets/stylesheets/mobile/notifications.scss */
.dash-notification-action--accept {
  background: var(--brass);
  border: none;
  color: var(--ink);
}

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

/* line 1, app/assets/stylesheets/custom_dropdown.css */
.custom-dropdown-container {
  position: relative;
  display: inline-block;
}

/* line 6, app/assets/stylesheets/custom_dropdown.css */
.custom-dropdown-menu {
  display: none;
  position: absolute;
  z-index: 1000;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  right: 0;
  left: auto;
}

/* line 26, app/assets/stylesheets/custom_dropdown.css */
.custom-dropdown-container:hover .custom-dropdown-menu,
.custom-dropdown-container:focus-within .custom-dropdown-menu {
  display: block;
}

/* line 31, app/assets/stylesheets/custom_dropdown.css */
.custom-dropdown-menu .custom-dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

/* line 45, app/assets/stylesheets/custom_dropdown.css */
.custom-dropdown-menu .custom-dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

/* line 59, app/assets/stylesheets/custom_dropdown.css */
.custom-dropdown-menu .custom-dropdown-item:hover,
.custom-dropdown-menu .custom-dropdown-item:focus {
  color: #1e2125;
  background-color: #e9ecef;
}

/* line 65, app/assets/stylesheets/custom_dropdown.css */
.test-debug-rojo {
  color: red !important;
  border: 1px dashed red;
}

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