.f360 {
  --bg: #0b1220;
  --muted: #9fb3c8;
  --text: #e9f1ff;
  --accent: #80EA11;
  --accent2: #32d399;
  --danger: #ff5a6a;
  --shadow: 0 10px 30px rgba(0,0,0,.18);
  --r: 18px;
  --sans: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
}

.f360 * { box-sizing: border-box; }

.f360 .wrap {
  max-width: 1450px;
  margin: 0 auto;
  padding: 16px;
}

/* HEADER */
.f360 .f360-header {
  background: rgba(11,18,32,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  margin-bottom: 12px;
}

.f360 .top {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.f360 .brand {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 260px;
}

.f360 .logoGlow {
  width: 72px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.f360 .logoGlow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(128,234,17,.55)) drop-shadow(0 0 28px rgba(50,211,153,.25));
}

.f360 .title h1 {
  font-size: 1.1rem;
  margin: 0;
}

.f360 .title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .78rem;
}

.f360 .kpiControls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: end;
  margin-top: 10px;
}

.f360 .topKpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 1fr));
  gap: 14px;
  flex: 1;
}

.f360 .kpiTile {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px;
  min-height: 90px;
  box-shadow: var(--shadow);
}

.f360 .kpiTile .t {
  font-size: .76rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.f360 .kpiTile .v {
  font-size: 1.05rem;
  font-weight: 900;
}

.f360.kpis-collapsed #topKpis { display: none !important; }

/* LAYOUT */
.f360 .f360-main { padding: 18px 0 30px; }

.f360 .card {
  width: 100%;
  max-width: none;
  margin: 0 auto 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.f360 .card .hd {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.f360 .card .hd h2 {
  margin: 0;
  font-size: .95rem;
}

.f360 .card .hd p {
  margin: 4px 0 0;
  font-size: .78rem;
  color: var(--muted);
}

.f360 .card .bd {
  width: 100%;
  padding: 14px;
  overflow-x: hidden;
}

.f360 .panel {
  display: none;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.f360 .panel.active { display: block; }

.f360 .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
  width: 100%;
}

.f360 .row > * {
  flex: 1;
  min-width: 0;
}

.f360 .split {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.f360 .hr {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 12px 0;
}

/* FORM ELEMENTS */
.f360 label {
  min-height: 18px;
  display: block;
  font-size: .76rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.f360 input,
.f360 select,
.f360 textarea,
.f360 .btn {
  min-height: 40px;
  height: 40px;
  padding: 8px 12px;
  line-height: 1.2;
  box-sizing: border-box;
}

.f360 input,
.f360 select,
.f360 textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(5,10,18,.55);
  color: var(--text);
  outline: none;
}

.f360 input[type="month"] {
  display: flex;
  align-items: center;
}

.f360 .btn {
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.f360 .btn.primary {
  background: rgba(128,234,17,.15);
  border-color: rgba(128,234,17,.35);
}

.f360 .btn.danger {
  background: rgba(255,90,106,.12);
  border-color: rgba(255,90,106,.30);
}

.f360 .btn.small {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: .75rem;
  min-height: 34px;
  height: auto;
}

.f360 .muted,
.f360 .hint {
  color: var(--muted);
  font-size: .78rem;
}

/* TABS / SELECTS */
.f360 .tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.f360 .tab {
  position: relative;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .78rem;
  color: var(--muted);
  transition: .15s ease;
}

.f360 .tab:hover {
  background: rgba(255,255,255,.08);
  color: var(--text);
}

.f360 .tab:active { transform: scale(.96); }

.f360 .tab.active {
  background: rgba(128,234,17,.18);
  border-color: rgba(128,234,17,.55);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(128,234,17,.25);
  transform: translateY(1px);
}

.f360 .period-select {
  width: auto;
  min-width: 110px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.f360 .listado-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f360 .listado-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.f360 .listado-title h3 {
  margin: 0;
  font-size: 13px;
}

.f360 .panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.f360 .panel-head h2 { margin: 0; }

.f360 #panelSelect {
  width: auto;
  min-width: 170px;
}

/* TABLES */
.f360 .f360-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.f360 .table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}

.f360 .table th,
.f360 .table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .78rem;
  word-break: break-word;
  vertical-align: middle;
}

.f360 .table th {
  color: var(--muted);
  font-weight: 900;
  background: rgba(255,255,255,.03);
}

.f360 .badge {
  font-size: .7rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(128,234,17,.12);
  border: 1px solid rgba(128,234,17,.28);
}

.f360 .pos {
  color: var(--accent2);
  font-weight: 900;
}

.f360 .neg {
  color: var(--danger);
  font-weight: 900;
}

/* MINI CHARTS */
.f360 .miniBarWrap {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.f360 .miniRow {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 110px;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.f360 .miniKey,
.f360 .miniVal {
  font-size: .75rem;
  color: var(--muted);
  min-width: 0;
}

.f360 .miniKey {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.f360 .miniVal {
  text-align: right;
  white-space: nowrap;
}

.f360 .miniBar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
  min-width: 0;
}

.f360 .miniFill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(128,234,17,.55), rgba(50,211,153,.35));
}

/* TOAST */
.f360 .toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, .96);
  color: #e9f1ff;
  border: 1px solid rgba(128, 234, 17, .28);
  box-shadow: 0 18px 40px rgba(0,0,0,.32);
  border-radius: 18px;
  padding: 13px 16px;
  display: none;
  z-index: 30000;
  font-size: 13px;
  font-weight: 800;
  max-width: calc(100% - 32px);
  min-width: 230px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.f360 .toast.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* MODAL */
.f360 .f360-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  padding: 20px;
}

.f360 .f360-modal.open { display: flex; }

.f360 .f360-modal-box {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 45px rgba(15,23,42,.25);
}

.f360 .f360-modal-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.f360 .f360-modal-box p {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 13px;
}

.f360 .f360-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.f360 .f360-modal-box input { width: 100%; }

/* ANALISIS */
.f360 .ana-select-box {
  width: 100%;
  max-width: 320px;
}

.f360 #p_analisis,
.f360 #anaControls2,
.f360 #anaOutput2 {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.f360 #p_analisis .card {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* NAVEGADORES DE PERIODO */
.f360 #btnPrev,
.f360 #btnToday,
.f360 #btnNext,
.f360 #incBtnPrev,
.f360 #incBtnToday,
.f360 #incBtnNext {
  width: auto;
  min-width: 44px;
  padding: 8px 12px;
}

.f360 .period-nav {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
}

/* PRESUPUESTO */
.f360 #p_presupuesto > .row,
.f360 #p_presupuesto .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.f360 #p_presupuesto > .row > div,
.f360 #p_presupuesto .row > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.f360 .budgetActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.f360 .budgetActions .btn {
  width: 100%;
  justify-content: center;
}

.f360 .budgetActions .btn:nth-child(3) {
  grid-column: 1 / -1;
}

.f360 #budgetTbody td { vertical-align: middle; }

.f360 #budgetTbody input {
  width: 90px;
  height: 36px;
  min-height: 36px;
  padding: 6px 8px;
}

/* MENU 3 PUNTOS */
.f360 .budget-menu-wrap,
.f360 .row-menu-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.f360 .budget-menu-btn,
.f360 .row-menu-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  font-size: 18px;
  line-height: 1;
  border-radius: 999px;
}

.f360 .budget-menu,
.f360 .row-menu {
  position: absolute;
  right: 0;
  top: 34px;
  width: 130px;
  min-width: 130px;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  display: none;
  z-index: 999;
}

.f360 .budget-menu.open,
.f360 .row-menu.open {
  display: grid;
  gap: 4px;
}

.f360 .budget-menu button,
.f360 .row-menu button {
  width: 100%;
  height: auto;
  min-height: 30px;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  padding: 7px 9px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 12px;
  justify-content: flex-start;
}

.f360 .budget-menu button:hover,
.f360 .row-menu button:hover {
  background: rgba(128,234,17,.14);
}

.f360 #budgetTbody tr.drag-enabled { cursor: grab; }
.f360 #budgetTbody tr.dragging { opacity: .45; }

/* LIGHT THEME */
body.light-theme .f360 {
  --bg: #f1f5f9;
  --muted: #64748b;
  --text: #0f172a;
  --shadow: 0 10px 30px rgba(15,23,42,.10);
  background: #f1f5f9;
}

body.light-theme .f360 .f360-header,
body.light-theme .f360 .card,
body.light-theme .f360 .kpiTile {
  background: #ffffff;
  border-color: #e2e8f0;
}

body.light-theme .f360 input,
body.light-theme .f360 select,
body.light-theme .f360 textarea,
body.light-theme .f360 .tab,
body.light-theme .f360 .btn {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

body.light-theme .f360 .budget-menu,
body.light-theme .f360 .row-menu {
  background: #ffffff;
  border-color: #dbe3ef;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .f360 .topKpis {
    grid-template-columns: repeat(2, minmax(145px, 1fr));
  }
}

@media (max-width: 700px) {
  html,
  body,
  .app,
  .workspace,
  .content-area,
  #contentView {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .f360 {
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
    overflow-x: hidden !important;
  }

  .f360 .wrap { padding: 12px; }

  .f360 .f360-main.wrap,
  .f360 .card,
  .f360 .card .bd,
  .f360 .panel,
  .f360 #p_analisis,
  .f360 #anaOutput2,
  .f360 #anaControls2 {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .f360 .top {
    flex-direction: column;
    align-items: center;
  }

  .f360 .brand {
    width: 100%;
    flex-direction: column;
    text-align: center;
  }

  .f360 .logoGlow {
    width: 72px;
    height: 72px;
  }

  .f360 .topKpis {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .f360 .tabs {
    justify-content: center;
    gap: 6px;
  }

  .f360 .tab {
    padding: 8px 10px;
    font-size: 11px;
  }

  .f360 #p_gastos > .row,
  .f360 #p_ingresos > .row,
  .f360 #p_metas > .row,
  .f360 #p_ahorros > .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .f360 #p_gastos > .row > *,
  .f360 #p_ingresos > .row > *,
  .f360 #p_metas > .row > *,
  .f360 #p_ahorros > .row > * {
    width: auto;
    min-width: 0;
  }

  .f360 .split {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .f360 .split .btn { width: auto; }

  .f360 .ana-select-box { max-width: 100%; }

  .f360 #p_analisis .row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: 100%;
  }

  .f360 #p_analisis .row > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .f360 #p_analisis .card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px 0 !important;
  }

  .f360 #p_analisis .kpiTile {
    width: 100% !important;
    max-width: 100% !important;
  }

  .f360 .listado-title { gap: 8px; }

  .f360 .period-select {
    min-width: 95px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .f360 .panel-head {
    flex-direction: row;
    align-items: center;
  }

  .f360 #panelSelect {
    min-width: 140px;
    font-size: 12px;
  }

  .f360 .miniRow {
    grid-template-columns: 80px minmax(0, 1fr) 80px;
  }

  .f360 .f360-table-wrap { overflow-x: hidden; }

  .f360 .table {
    width: 100%;
    min-width: 0 !important;
    table-layout: fixed;
  }

  .f360 .table th,
  .f360 .table td {
    font-size: 10.5px;
    padding: 8px 4px;
    line-height: 1.2;
    vertical-align: middle;
  }

  .f360 .table th:nth-child(1),
  .f360 .table td:nth-child(1) { width: 15%; white-space: nowrap; }
  .f360 .table th:nth-child(2),
  .f360 .table td:nth-child(2) { width: 26%; }
  .f360 .table th:nth-child(3),
  .f360 .table td:nth-child(3) { width: 18%; white-space: nowrap; }
  .f360 .table th:nth-child(4),
  .f360 .table td:nth-child(4) { width: 27%; }
  .f360 .table th:nth-child(5),
  .f360 .table td:nth-child(5) { width: 14%; text-align: center; }
  .f360 .table th:nth-child(5) { font-size: 0; }
  .f360 .table th:nth-child(5)::after { content: ""; }

  .f360 .table td:nth-child(5) {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
  }

  .f360 .table td:nth-child(5) .btn.small {
    width: 24px;
    height: 24px;
    min-width: 24px;
    padding: 0;
    border-radius: 9px;
    font-size: 11px;
  }

  /* Presupuesto móvil */
  .f360 #p_presupuesto > .row,
  .f360 #p_presupuesto .row {
    grid-template-columns: 1fr 1fr;
  }

  .f360 .budgetActions { grid-template-columns: 1fr 1fr; }

  .f360 .budgetActions .btn {
    font-size: 12px;
    padding: 9px 10px;
  }

  .f360 #p_presupuesto .table th,
  .f360 #p_presupuesto .table td {
    font-size: 9.5px;
    padding: 7px 2px;
    white-space: normal;
  }

  .f360 #p_presupuesto .table th:nth-child(1),
  .f360 #p_presupuesto .table td:nth-child(1) { width: 33% !important; }
  .f360 #p_presupuesto .table th:nth-child(2),
  .f360 #p_presupuesto .table td:nth-child(2) { width: 22% !important; }
  .f360 #p_presupuesto .table th:nth-child(3),
  .f360 #p_presupuesto .table td:nth-child(3) { width: 17% !important; white-space: nowrap; }
  .f360 #p_presupuesto .table th:nth-child(4),
  .f360 #p_presupuesto .table td:nth-child(4) { width: 20% !important; white-space: nowrap; }
  .f360 #p_presupuesto .table th:nth-child(5),
  .f360 #p_presupuesto .table td:nth-child(5) {
    width: 8% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
  }

  .f360 #p_presupuesto .table th:nth-child(5)::after { content: "" !important; }

  .f360 #budgetTbody input {
    width: 56px !important;
    max-width: 56px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 3px 5px !important;
    font-size: 9px !important;
  }

  .f360 #budgetTbody .pos,
  .f360 #budgetTbody .neg {
    font-size: 9.5px !important;
    white-space: nowrap;
  }

  .f360 .budget-menu-btn,
  .f360 .row-menu-btn {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    font-size: 13px !important;
  }

  /* Listado tipo movimiento para Gastos e Ingresos */
  .f360 #p_gastos .table,
  .f360 #p_ingresos .table {
    width: 100%;
    min-width: 0 !important;
    border: 0;
  }

  .f360 #p_gastos .table thead,
  .f360 #p_ingresos .table thead { display: none; }

  .f360 #p_gastos .table tbody,
  .f360 #p_ingresos .table tbody,
  .f360 #p_gastos .table tr,
  .f360 #p_ingresos .table tr,
  .f360 #p_gastos .table td,
  .f360 #p_ingresos .table td {
    display: block;
    width: 100%;
  }

  .f360 #p_gastos .table tr,
  .f360 #p_ingresos .table tr {
    position: relative;
    padding: 10px 86px 12px 0;
    border-bottom: 1px solid rgba(148,163,184,.25);
  }

  .f360 #p_gastos .table td,
  .f360 #p_ingresos .table td {
    border: 0;
    padding: 2px 0;
  }

  .f360 #p_gastos .table td:nth-child(1),
  .f360 #p_ingresos .table td:nth-child(1) {
    font-size: 11px;
    color: var(--muted);
  }

  .f360 #p_gastos .table td:nth-child(2),
  .f360 #p_ingresos .table td:nth-child(2) {
    font-size: 14px;
    font-weight: 900;
    color: var(--text);
  }

  .f360 #p_gastos .table td:nth-child(4),
  .f360 #p_ingresos .table td:nth-child(4) {
    font-size: 11px;
    color: var(--muted);
  }

  .f360 #p_gastos .table td:nth-child(3),
  .f360 #p_ingresos .table td:nth-child(3) {
    position: absolute;
    right: 36px;
    top: 22px;
    width: auto !important;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
  }

  .f360 #p_gastos .table td:nth-child(3) { color: var(--danger); }
  .f360 #p_ingresos .table td:nth-child(3) { color: var(--accent2); }

  .f360 #p_gastos .table td:nth-child(5),
  .f360 #p_ingresos .table td:nth-child(5) {
    position: absolute;
    right: 0;
    top: 18px;
    width: 28px !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .f360 .topKpis { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .f360 #p_presupuesto > .row,
  .f360 #p_presupuesto .row,
  .f360 .budgetActions {
    grid-template-columns: 1fr;
  }

  .f360 .budgetActions .btn:nth-child(3) { grid-column: auto; }
}

@media (max-width: 340px) {
  .f360 #p_gastos > .row,
  .f360 #p_ingresos > .row,
  .f360 #p_metas > .row,
  .f360 #p_ahorros > .row {
    grid-template-columns: 1fr;
  }
}

/* Metas como tarjetas */
.f360 #p_metas .table {
  border: 0;
  min-width: 0 !important;
}

.f360 #p_metas .table thead {
  display: none;
}

.f360 #p_metas .table,
.f360 #p_metas .table tbody,
.f360 #p_metas .table tr,
.f360 #p_metas .table td {
  display: block;
  width: 100%;
}

.f360 #p_metas .table td {
  border: 0;
  padding: 0;
}

.f360 .goals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.f360 .goal-card {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.f360 .goal-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.f360 .goal-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  color: var(--accent);
  background: rgba(128,234,17,.12);
  border: 1px solid rgba(128,234,17,.22);
  border-radius: 999px;
  padding: 4px 8px;
  margin-bottom: 6px;
}

.f360 .goal-card h3 {
  margin: 0;
  font-size: 15px;
}

.f360 .goal-card p {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.f360 .goal-money {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.f360 .goal-money small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 3px;
}

.f360 .goal-money strong {
  font-size: 14px;
}

.f360 .goal-progress {
  height: 10px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 14px;
}

.f360 .goal-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(128,234,17,.85), rgba(50,211,153,.65));
  border-radius: 999px;
}

.f360 .goal-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}

.f360 .goal-bottom b {
  color: var(--text);
}

.f360 .goal-empty {
  padding: 14px;
  color: var(--muted);
  text-align: center;
}

.f360 .goal-actions .action-menu-wrap {
  position: relative;
}

@media (max-width:700px) {
  .f360 .goals-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:700px) {
  .f360 #p_gastos .table tr:last-child .budget-menu,
  .f360 #p_gastos .table tr:nth-last-child(2) .budget-menu,
  .f360 #p_ingresos .table tr:last-child .budget-menu,
  .f360 #p_ingresos .table tr:nth-last-child(2) .budget-menu {
    top: auto !important;
    bottom: 30px !important;
  }
}

@media (max-width:700px){

  .f360 #p_ahorros .table thead {
    display:none;
  }

  .f360 #p_ahorros .table,
  .f360 #p_ahorros .table tbody,
  .f360 #p_ahorros .table tr,
  .f360 #p_ahorros .table td {
    display:block;
    width:100%;
  }

  .f360 #p_ahorros .table {
    min-width:0 !important;
    border:0;
  }

  .f360 #p_ahorros .table tr {
    position:relative;
    padding:10px 86px 12px 0;
    border-bottom:1px solid rgba(148,163,184,.25);
  }

  .f360 #p_ahorros .table td {
    border:0;
    padding:2px 0;
  }

  .f360 #p_ahorros .table td:nth-child(1) {
    font-size:11px;
    color:var(--muted);
  }

  .f360 #p_ahorros .table td:nth-child(2) {
    font-size:14px;
    font-weight:900;
    color:var(--text);
  }

  .f360 #p_ahorros .table td:nth-child(3) {
    position:absolute;
    right:36px;
    top:22px;
    width:auto !important;
    font-size:13px;
    font-weight:900;
    white-space:nowrap;
    color:var(--accent2);
  }

  .f360 #p_ahorros .table td:nth-child(4) {
    font-size:11px;
    color:var(--muted);
  }

  .f360 #p_ahorros .table td:nth-child(5) {
    position:absolute;
    right:0;
    top:18px;
    width:28px !important;
    padding:0 !important;
  }
}

.f360 .goal-card {
  cursor: pointer;
  transition: .18s ease;
}

.f360 .goal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(128,234,17,.25);
}

.f360 .goal-card:active {
  transform: scale(.99);
}

.f360 .goal-progress-fill.low {
  background: linear-gradient(90deg,#ef4444,#f97316);
}

.f360 .goal-progress-fill.medium {
  background: linear-gradient(90deg,#f59e0b,#facc15);
}

.f360 .goal-progress-fill.good {
  background: linear-gradient(90deg,#84cc16,#22c55e);
}

.f360 .goal-progress-fill.done {
  background: linear-gradient(90deg,#22c55e,#10b981);
}

.f360 .goal-pct {
  font-size: 15px;
  font-weight: 900;
  color: var(--accent);
}

.f360 .savings-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.f360 .saving-mini-card {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 12px;
}

.f360 .saving-mini-card span {
  font-size: 22px;
}

.f360 .saving-mini-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.f360 .saving-mini-card strong {
  font-size: 15px;
}

@media(max-width:700px){
  .f360 .savings-summary {
    grid-template-columns: 1fr;
  }
}

.f360 .savings-summary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:10px 0 18px;
}

.f360 .saving-mini-card{
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(148,163,184,.25);
  border-radius:16px;
  padding:12px;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}

.f360 .saving-mini-card span{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(128,234,17,.12);
  font-size:18px;
}

.f360 .saving-mini-card small{
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-bottom:3px;
}

.f360 .saving-mini-card strong{
  font-size:15px;
  font-weight:900;
}

@media(max-width:700px){
  .f360 .savings-summary{
    grid-template-columns:1fr;
    gap:10px;
  }

  .f360 .saving-mini-card{
    padding:10px 12px;
  }
}

.f360 .saving-goal-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:rgba(128,234,17,.12);
  border:1px solid rgba(128,234,17,.18);
  border-radius:999px;
  padding:4px 10px;
  font-size:11px;
  font-weight:700;
}

.f360 .saving-progress{
  margin-top:6px;
  height:6px;
  background:#e2e8f0;
  border-radius:999px;
  overflow:hidden;
}

.f360 .saving-progress div{
  height:100%;
  background:linear-gradient(90deg,#84cc16,#22c55e);
}

.f360 .saving-progress{
  margin-top:6px;
  height:6px;
  background:#e2e8f0;
  border-radius:999px;
  overflow:hidden;
}

.f360 .saving-progress div{
  height:100%;
  background:linear-gradient(90deg,#84cc16,#22c55e);
}

.f360 .saving-progress-text{
  display:block;
  margin-top:4px;
  font-size:10px;
  color:var(--muted);
}

.f360 .saving-progress-text.done{
  color:#16a34a;
  font-weight:700;
}

.f360 .saving-progress div.low{
  background:linear-gradient(90deg,#ef4444,#f97316);
}

.f360 .saving-progress div.medium{
  background:linear-gradient(90deg,#f59e0b,#facc15);
}

.f360 .saving-progress div.good{
  background:linear-gradient(90deg,#84cc16,#22c55e);
}

.f360 .saving-progress div.done{
  background:linear-gradient(90deg,#16a34a,#10b981);
}

@media(max-width:700px){
  .f360 .topKpis{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px;
    width:100%;
  }

  .f360 .kpiTile{
    min-height:86px;
    padding:12px;
  }

  .f360 .kpiTile .t{
    font-size:11px;
  }

  .f360 .kpiTile .v{
    font-size:16px;
  }
}

.f360 .f360-dashboard{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  margin-bottom:16px;
}

.f360 .f360-dashboard{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-bottom:14px;
}

.f360 .dash-card{
  min-height:72px;
  padding:14px;
  border-radius:18px;
  display:flex;
  align-items:center;
  gap:12px;
}

.f360 .dash-card span{
  flex-shrink:0;
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  border-radius:12px;
  background:rgba(128,234,17,.10);
  margin:0;
}

.f360 .dash-card small{
  display:block;
  font-size:11px;
  color:var(--muted);
  margin:0 0 4px;
}

.f360 .dash-card strong{
  display:block;
  font-size:17px;
  font-weight:900;
  line-height:1.1;
}

@media(max-width:700px){
  .f360 .f360-dashboard{
    grid-template-columns:repeat(2,1fr);
  }
}

.f360 .dash-card.saldo.ok strong{
  color:#84cc16;
}

.f360 .dash-card.saldo.bad strong{
  color:#ef4444;
}

.f360 .dash-card.saldo.bad{
  border-color:rgba(239,68,68,.25);
}

.f360 #p_presupuesto .table th:nth-child(5) {
  font-size: 0 !important;
}

.f360 #p_presupuesto .table th:nth-child(5) {
  font-size: 0;
}

/* Acceso directo y registro cotidiano */
.f360 .f360-section-nav { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 16px; }
.f360 .f360-section-nav .btn[aria-pressed="true"], .f360 .f360-shortcuts .btn[aria-pressed="true"] { background:var(--accent); color:#14220c; border-color:var(--accent); }
.f360 .f360-daily { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 0; }
.f360 .f360-daily > div { padding:14px;border:1px solid #9fb3c833;border-radius:12px; }
.f360 .f360-daily span { display:block;color:var(--muted);font-size:.8rem;margin-bottom:7px; }
.f360 .f360-daily strong { font-size:1.3rem;overflow-wrap:anywhere; }
.f360 .f360-quick-head { margin-bottom:12px; }
.f360 .f360-quick-head h3 { margin:0 0 6px; }
.f360 .f360-quick-head span { font-size:.85rem;color:var(--muted); }
.f360 .f360-shortcuts { display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px; }
.f360 #expAmount { font-size:1.5rem;font-weight:700; }
.f360 .f360-save-status { display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:12px;border-radius:10px;background:#80ea1114; }
.f360 .f360-save-status[hidden] { display:none; }
.f360 #panelSelect { display:none; }
@media(max-width:550px) { .f360 .f360-daily { gap:8px; } .f360 .f360-daily strong { font-size:1.1rem; } }

/* El contenido comienza directamente bajo la navegación. */
.f360 .f360-daily { grid-template-columns:repeat(4,minmax(0,1fr)); }
.f360 .f360-period-stat { min-width:0; }
.f360 .f360-period-stat.income strong,.f360 .f360-period-stat.positive strong { color:#2f9e44; }
.f360 .f360-period-stat.expense strong,.f360 .f360-period-stat.negative strong { color:#d9485f; }
.f360 .f360-period-stat.neutral strong { color:var(--text); }
@media(max-width:900px) { .f360 .f360-daily { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.f360 .f360-quick-head h2 { margin:0 0 6px;font-size:1.15rem; }
@media(max-width:550px) {
  .f360 .f360-daily { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .f360 .f360-period-stat { display:block; }
  .f360 .f360-period-stat strong { display:block;margin-top:4px;font-size:1.05rem; }
}

.f360 .finance-context { margin:0 0 26px;padding:18px;border:1px solid rgba(128,145,165,.18);border-radius:16px;background:rgba(128,145,165,.045); }
.f360 .finance-context-head { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px; }
.f360 .finance-context-head h2 { margin:3px 0 0;font-size:1.15rem; }
.f360 .finance-context-eyebrow { color:var(--muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em; }
.f360 .summary-toggle { border:0;background:transparent;color:var(--muted);min-height:38px; }
.f360 .summary-toggle:hover { color:var(--text);background:rgba(128,145,165,.10); }
.f360 .finance-context-controls { display:flex;align-items:center;gap:12px; }
.f360 .finance-context-controls .period-select { width:132px;flex:0 0 132px;min-height:44px; }
.f360 .finance-context-controls .period-nav { flex:1;display:grid !important;grid-template-columns:44px minmax(180px,1fr) 44px;gap:6px !important;padding:4px;border:1px solid rgba(128,145,165,.22);border-radius:12px;background:var(--bg); }
.f360 .period-nav-btn,.f360 .period-current { border:0;border-radius:9px;background:transparent;color:var(--text);cursor:pointer;min-height:40px;font:inherit; }
.f360 .period-nav-btn { font-size:26px;line-height:1; }
.f360 .period-nav-btn:hover,.f360 .period-current:hover { background:rgba(128,234,17,.13); }
.f360 .period-current { display:flex;align-items:center;justify-content:center;gap:10px;font-weight:750; }
.f360 .period-current small { color:var(--muted);font-size:.7rem;font-weight:650; }
.f360.period-summary-collapsed .f360-daily { display:none; }
.f360.period-summary-collapsed .finance-context { padding-bottom:18px; }
.f360 .f360-quick-head { margin-top:0; }

.finance-dialog { width:min(520px,92vw);max-height:90vh;overflow:auto;border:1px solid #64748b;border-radius:16px;padding:24px;background:#132033;color:#e9f1ff; }
.finance-dialog::backdrop { background:#0009; }
.finance-dialog label { display:flex;flex-direction:column;gap:6px;margin:12px 0; }
.finance-dialog input,.finance-dialog select { width:100%;box-sizing:border-box;padding:10px;border:1px solid #64748b;border-radius:8px;background:#0b1220;color:#e9f1ff;font:inherit; }
.finance-dialog button { padding:10px 16px;border:0;border-radius:8px;cursor:pointer; }
.finance-dialog button[type=submit] { background:#80ea11;color:#14220c;font-weight:700; }
.finance-error { color:#ffabb4; }
.finance-actions,.finance-favorites { display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0; }
.f360 .finance-backups { padding:14px;border:1px solid #64748b55;border-radius:12px;margin:12px 0; }
.finance-backups summary { cursor:pointer;font-weight:700; }
.finance-backups p { font-size:.85rem; }
.finance-pending-row { display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #64748b55; }
.finance-pending-row span { flex:1;min-width:180px; }
.finance-favorite { display:inline-flex;gap:2px;margin:4px; }
.f360 button:focus-visible,.f360 input:focus-visible,.f360 select:focus-visible { outline:2px solid var(--accent);outline-offset:3px; }
.f360 #financeImport { max-width:180px; }
.f360 #financeBudgetAlerts p { color:var(--danger); }
.f360 .btn[hidden] { display:none; }

/* Menús en la capa superior: no quedan recortados por las tablas. */
.f360 .budget-menu[popover] {
  position:fixed !important; margin:0; right:auto !important; bottom:auto !important;
  width:160px; min-width:160px; max-width:calc(100vw - 16px);
}
.f360 .budget-menu[popover] button { width:100% !important; height:auto !important; min-height:36px; padding:8px 10px !important; white-space:normal; }

/* Cabecera y resumen: una sola jerarquía y columnas consistentes. */
.f360 .f360-header { margin:0 0 16px; border-radius:20px; }
.f360 .f360-header .wrap { padding:24px; }
.f360 .f360-header .brand { flex-direction:row; text-align:left; min-width:0; width:100%; gap:16px; }
.f360 .f360-header .logoGlow { width:64px; height:64px; flex:0 0 64px; }
.f360 .f360-header .logoGlow img { filter:none; object-fit:contain; }
.f360 .f360-header .title { min-width:0; }
.f360 .f360-header h1 { font-size:clamp(20px,2.2vw,28px); line-height:1.2; letter-spacing:-.6px; }
.f360 .f360-header .title p { font-size:13px; line-height:1.5; margin-top:6px; }
.f360 .finance-toolbar { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-top:22px; padding-top:18px; border-top:1px solid rgba(128,145,165,.18); flex-wrap:wrap; }
.f360 .finance-period-label { display:block; font-size:11px; font-weight:600; color:var(--muted); margin-bottom:7px; }
.f360 .finance-month-picker { display:flex; align-items:center; gap:2px; padding:4px; border:1px solid rgba(128,145,165,.25); border-radius:12px; background:rgba(128,145,165,.06); }
.f360 .finance-month-picker select { width:auto; min-width:0; border:0; background:transparent; box-shadow:none; font:600 13px var(--sans); padding:6px 8px; height:36px; min-height:36px; color:var(--text); cursor:pointer; }
.f360 .finance-month-picker button { width:30px; height:36px; flex:0 0 30px; border:0; border-radius:8px; background:transparent; color:var(--text); font-size:24px; cursor:pointer; }
.f360 .finance-month-picker button:hover { background:rgba(128,234,17,.16); }
.f360 .finance-month-picker button:disabled { opacity:.3; cursor:default; }
.f360 #btnToggleKpis { height:44px; border-radius:12px; font-size:12px; }
.f360 #topMonth[hidden] { display:none !important; }
.f360 #topKpis { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:12px; width:100%; margin:0 0 16px; }
.f360 #topKpis .dash-card { min-width:0; min-height:96px; padding:18px; border-radius:16px; align-items:flex-start; border:1px solid rgba(128,145,165,.14); box-shadow:none; }
.f360 #topKpis .dash-card > span { display:none; }
.f360 #topKpis .dash-card > div { width:100%; min-width:0; }
.f360 #topKpis .dash-card small { font-size:12px; line-height:1.4; min-height:34px; margin:0 0 6px; }
.f360 #topKpis .dash-card strong { font-size:clamp(17px,2vw,23px); font-variant-numeric:tabular-nums; line-height:1.2; overflow-wrap:anywhere; color:var(--text); }
.f360 #topKpis .dash-card.saldo.ok { background:rgba(128,234,17,.12); border-color:rgba(95,170,35,.28); }
.f360 #topKpis .dash-card.saldo.ok strong { color:#44801b; }
.f360 #topKpis .dash-card.saldo.bad strong { color:#dc3545; }
.f360 #f360Dashboard:empty { display:none; }
.f360 .f360-main { padding-top:0; }
.f360 .savings-summary > .hint { grid-column:1 / -1; margin:0; }
.f360 input[type=date],.f360 input[type=month] { font-family:var(--sans); border-radius:12px; }
@media(max-width:700px) {
 .f360 .f360-header .wrap { padding:18px; }
 .f360 #topKpis { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px; }
 .f360 #topKpis .dash-card { padding:14px; min-height:94px; }
 .f360 .finance-toolbar { gap:10px; }
}
@media(max-width:380px) {
 .f360 .f360-header .logoGlow { width:48px; height:48px; flex-basis:48px; }
 .f360 .finance-toolbar { align-items:stretch; flex-direction:column; }
 .f360 .finance-month-picker { justify-content:space-between; }
}

/* Mantener el ancho al alternar secciones de distinta altura. */
html { scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } }

/* Ritmo visual consistente entre cabecera, resumen y contenido. */
.f360 > #topKpis {
  max-width: 1450px;
  margin: 0 auto 16px;
  padding: 0 16px;
}

.f360 .card .bd { padding: 20px; }
.f360 .f360-section-nav .btn { min-height: 42px; }

@media(max-width:700px) {
  .f360 { border-radius:16px; }
  .f360 > #topKpis { padding:0 12px; }
  .f360 .f360-header .wrap { padding:16px; }
  .f360 .f360-header h1 { font-size:22px; }
  .f360 .finance-toolbar { width:100%; align-items:stretch; flex-direction:column; }
  .f360 .finance-period { width:100%; }
  .f360 .finance-month-picker { width:100%; justify-content:space-between; }
  .f360 #btnToggleKpis { width:100%; }
  .f360 .f360-section-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .f360 .f360-section-nav .btn { width:100%; min-width:0; white-space:normal; }
  .f360 .card .bd { padding:16px; }
  .f360 .btn { min-height:42px; }
  .f360 input,.f360 select,.f360 textarea { min-height:44px; }
}

@media(max-width:520px) {
  .f360 #topKpis { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .f360 #topKpis .dash-card { min-height:78px; }
  .f360 #p_gastos > .row,
  .f360 #p_ingresos > .row,
  .f360 #p_metas > .row,
  .f360 #p_ahorros > .row { grid-template-columns:1fr; }
  .f360 .listado-head { align-items:flex-start; flex-direction:column; }
  .f360 .finance-context { padding:14px; }
  .f360 .finance-context-head { align-items:flex-start; }
  .f360 .finance-context-eyebrow { display:none; }
  .f360 .finance-context-head h2 { margin-top:6px;font-size:1.05rem;white-space:nowrap; }
  .f360 .summary-toggle { padding-inline:8px;white-space:nowrap; }
  .f360 .finance-context-controls { align-items:stretch;flex-direction:column; }
  .f360 .finance-context-controls .period-select { width:100%;flex-basis:auto; }
  .f360 .finance-context-controls .period-nav { width:100% !important;grid-template-columns:44px minmax(0,1fr) 44px; }
  .f360 .period-current { align-items:flex-start;flex-direction:column;gap:1px;padding:6px 10px; }
}

@media(max-width:340px) {
  .f360 #topKpis { grid-template-columns:1fr !important; }
}

.f360 .budget-start-state { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.f360 .budget-start-state .hint { flex:1; min-width:190px; }
.f360 #btnBudgetAuto { height:30px; min-height:30px; padding:5px 9px; font-size:11px; }
.f360 .goal-state { display:inline-flex; align-items:center; margin:0 0 6px 6px; padding:4px 8px; border-radius:999px; font-size:10px; font-weight:700; }
.f360 .goal-state.active { color:#64748b; background:rgba(100,116,139,.1); }
.f360 .goal-state.reached { color:#3f7b12; background:rgba(132,204,22,.15); }
.f360 .goal-state.closed { color:#2563eb; background:rgba(37,99,235,.1); }
.f360 .goal-state.archived { color:#64748b; background:rgba(100,116,139,.12); }
.f360 .saving-kind { display:block; width:max-content; margin-bottom:4px; padding:3px 7px; border-radius:999px; font-size:10px; font-weight:800; }
.f360 .saving-kind.deposit { color:#3f7b12; background:rgba(132,204,22,.14); }
.f360 .saving-kind.withdrawal { color:#b45309; background:rgba(245,158,11,.14); }
.f360 #savAvailable { margin-top:6px; color:#568b20; font-weight:650; }


/* Checkbox compacto: no hereda dimensiones de los campos de entrada. */
.f360 .finance-archive-toggle { display:flex; align-items:center; gap:8px; width:fit-content; min-height:24px; margin:0 0 16px; font-size:12px; line-height:1.4; cursor:pointer; }
.f360 #showArchivedGoals { appearance:auto; width:16px !important; height:16px !important; min-width:16px !important; min-height:16px !important; max-width:16px; flex:0 0 16px; padding:0 !important; margin:0; border-radius:4px; box-shadow:none; accent-color:#65a82e; cursor:pointer; }
