:root {
  --bg: #0f1117;
  --surface: #181c27;
  --surface2: #1e2335;
  --border: #2a3050;
  --accent: #4ade80;
  --accent2: #22d3ee;
  --danger: #f87171;
  --warning: #fbbf24;
  --purple: #a78bfa;
  --text: #e8ecf5;
  --muted: #7a839e;
  --font: "Plus Jakarta Sans", sans-serif;
  --mono: "DM Mono", monospace;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
.app {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: 56px 1fr;
  height: 100vh;
}
/* TOPBAR */
.topbar {
  grid-column: 1/-1;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  z-index: 100;
}
.logo {
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: -0.5px;
  cursor: pointer;
}
.logo span {
  color: var(--text);
}
.topbar-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}
.topbar-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge-health {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #0f1117;
  cursor: pointer;
}
.period-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
}
.period-tab {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.period-tab.active {
  background: var(--surface2);
  color: var(--text);
}
/* SIDEBAR */
.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 16px 0;
  overflow-y: auto;
}
.business-switcher {
  margin: 0 12px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}
.bs-label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.bs-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}
.bs-tag {
  display: inline-flex;
  margin-top: 4px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--accent2);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}
.nav-section {
  padding: 0 12px;
  margin-bottom: 20px;
}
.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0 8px;
  margin-bottom: 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 2px;
  user-select: none;
}
.nav-item:hover {
  background: var(--surface2);
  color: var(--text);
}
.nav-item.active {
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent);
}
.nav-item .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.nav-badge {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}
/* MAIN */
.main {
  overflow-y: auto;
  padding: 28px;
  background: var(--bg);
}
.main::-webkit-scrollbar {
  width: 4px;
}
.main::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.sidebar::-webkit-scrollbar {
  width: 3px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
/* PAGE HEADER */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.page-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.page-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.btn-group {
  display: flex;
  gap: 8px;
}
/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #0f1117;
}
.btn-primary:hover {
  background: #86efac;
}
.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-danger {
  background: rgba(248, 113, 113, 0.15);
  color: var(--danger);
  border: 1px solid rgba(248, 113, 113, 0.3);
}
.btn-danger:hover {
  background: rgba(248, 113, 113, 0.25);
}
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}
.btn-icon {
  padding: 8px;
  border-radius: 8px;
}
/* CARDS */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.card:hover {
  border-color: rgba(74, 222, 128, 0.3);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}
.card.income::before {
  background: var(--accent);
}
.card.expense::before {
  background: var(--danger);
}
.card.profit::before {
  background: var(--accent2);
}
.card.cashflow::before {
  background: var(--warning);
}
.card-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.card-value {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 500;
  margin: 8px 0 4px;
  letter-spacing: -1px;
}
.card.income .card-value {
  color: var(--accent);
}
.card.expense .card-value {
  color: var(--danger);
}
.card.profit .card-value {
  color: var(--accent2);
}
.card.cashflow .card-value {
  color: var(--warning);
}
.card-delta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
}
.delta-up {
  color: var(--accent);
}
.delta-down {
  color: var(--danger);
}
.card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.card.income .card-icon {
  background: rgba(74, 222, 128, 0.1);
}
.card.expense .card-icon {
  background: rgba(248, 113, 113, 0.1);
}
.card.profit .card-icon {
  background: rgba(34, 211, 238, 0.1);
}
.card.cashflow .card-icon {
  background: rgba(251, 191, 36, 0.1);
}
/* GRIDS */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.three-col {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pill {
  background: var(--surface2);
  border: 1px solid var(--border);
  font-size: 10px;
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
/* TABLE */
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 11px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(42, 48, 80, 0.5);
}
tr:hover td {
  background: rgba(30, 35, 53, 0.5);
}
tr:last-child td {
  border-bottom: none;
}
/* TRANSACTIONS */
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--surface2);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.15s;
  cursor: pointer;
}
.tx-item:hover {
  border-color: var(--border);
}
.tx-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.tx-icon.in {
  background: rgba(74, 222, 128, 0.12);
}
.tx-icon.out {
  background: rgba(248, 113, 113, 0.12);
}
.tx-icon.debt {
  background: rgba(251, 191, 36, 0.12);
}
.tx-info {
  flex: 1;
  min-width: 0;
}
.tx-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-cat {
  font-size: 11px;
  color: var(--muted);
}
.tx-amount {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}
.tx-amount.in {
  color: var(--accent);
}
.tx-amount.out {
  color: var(--danger);
}
.tx-amount.debt {
  color: var(--warning);
}
.tx-time {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
  text-align: right;
}
/* FORM */
.input-group {
  margin-bottom: 12px;
}
.input-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
}
.input-field {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
}
.input-field:focus {
  border-color: var(--accent);
}
select.input-field {
  cursor: pointer;
}
.input-field option {
  background: var(--surface2);
}
.input-prefix {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
}
.input-prefix span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.input-prefix input {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--text);
  outline: none;
  font-weight: 500;
}
/* CHART */
.chart-area {
  background: var(--surface2);
  border-radius: 10px;
  overflow: hidden;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  padding: 6px 4px 0;
  font-size: 10px;
  color: var(--muted);
}
/* ALERT */
.alert-card {
  background: linear-gradient(
    135deg,
    rgba(248, 113, 113, 0.08),
    rgba(251, 191, 36, 0.08)
  );
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.alert-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.alert-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--danger);
}
.alert-text {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.5;
}
.alert-cta {
  font-size: 11px;
  font-weight: 700;
  color: var(--warning);
  margin-top: 6px;
  cursor: pointer;
}
/* HP */
.hp-tabs {
  display: flex;
  gap: 2px;
  background: var(--surface2);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 14px;
}
.hp-tab {
  flex: 1;
  padding: 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s;
}
.hp-tab.active {
  background: var(--surface);
  color: var(--text);
}
.hp-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--surface2);
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid var(--border);
}
.hp-name {
  font-size: 12px;
  font-weight: 600;
}
.hp-due {
  font-size: 10px;
  color: var(--muted);
}
.hp-amount {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--warning);
  font-weight: 500;
}
.hp-progress {
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.hp-bar {
  height: 100%;
  background: var(--warning);
  border-radius: 2px;
}
/* KUR */
.kur-card {
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.06),
    rgba(74, 222, 128, 0.06)
  );
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 12px;
  padding: 16px;
}
.kur-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 12px;
}
.kur-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.kur-check:last-of-type {
  border-bottom: none;
}
.check-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
}
.check-dot.done {
  background: rgba(74, 222, 128, 0.2);
  color: var(--accent);
}
.check-dot.pending {
  background: rgba(251, 191, 36, 0.2);
  color: var(--warning);
}
.check-dot.missing {
  background: rgba(248, 113, 113, 0.2);
  color: var(--danger);
}
.check-label {
  flex: 1;
  color: var(--text);
}
.check-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}
.check-tag.done {
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent);
}
.check-tag.pending {
  background: rgba(251, 191, 36, 0.1);
  color: var(--warning);
}
.check-tag.missing {
  background: rgba(248, 113, 113, 0.1);
  color: var(--danger);
}
.kur-score {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.score-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.score-inner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent2);
}
.score-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.score-text strong {
  color: var(--text);
  font-weight: 700;
}
/* BANK */
.bank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 6px;
}
.bank-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.bank-name {
  font-size: 12px;
  font-weight: 600;
}
.bank-acc {
  font-size: 10px;
  color: var(--muted);
  font-family: var(--mono);
}
.bank-balance {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-left: auto;
}
.bank-status {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  cursor: pointer;
}
.bank-status.connected {
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent);
}
.bank-status.disconnected {
  background: rgba(248, 113, 113, 0.1);
  color: var(--danger);
}
/* CAT CHIPS */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.cat-chip {
  padding: 6px 4px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 11px;
  text-align: center;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s;
}
.cat-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cat-chip.selected {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(74, 222, 128, 0.1);
}
.cat-chip span {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}
/* QUICK ENTRY */
.quick-entry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.entry-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.entry-tab {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.15s;
}
.entry-tab.pemasukan.active {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.4);
  color: var(--accent);
}
.entry-tab.pengeluaran.active {
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.4);
  color: var(--danger);
}
/* SEARCH */
.search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.search-input {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px 9px 36px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Ccircle cx='6' cy='6' r='4' stroke='%237a839e' stroke-width='1.5'/%3E%3Cpath d='M9 9l2.5 2.5' stroke='%237a839e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
}
.search-input:focus {
  border-color: var(--accent);
}
/* STATUS BADGES */
.badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}
.badge-success {
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent);
}
.badge-warning {
  background: rgba(251, 191, 36, 0.1);
  color: var(--warning);
}
.badge-danger {
  background: rgba(248, 113, 113, 0.1);
  color: var(--danger);
}
.badge-info {
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent2);
}
/* STAT CARD */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--surface2);
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
}
.stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-value {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  margin-top: 4px;
}
/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 480px;
  max-width: 95vw;
  max-height: 85vh;
  overflow-y: auto;
}
.modal-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}
.modal-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.modal-footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
/* TOAST */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
  pointer-events: none;
}
/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.fade-in {
  animation: fadeUp 0.35s ease both;
}
.fade-in-1 {
  animation: fadeUp 0.35s 0.05s ease both;
}
.fade-in-2 {
  animation: fadeUp 0.35s 0.1s ease both;
}
.fade-in-3 {
  animation: fadeUp 0.35s 0.15s ease both;
}
.fade-in-4 {
  animation: fadeUp 0.35s 0.2s ease both;
}
/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}
.empty-state .empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 13px;
}
/* PROGRESS BAR */
.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 6px;
}
.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}
/* SEPARATOR */
.separator {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}
/* LABA RUGI TABLE */
.lr-table {
  width: 100%;
  border-collapse: collapse;
}
.lr-table tr:hover td {
  background: rgba(30, 35, 53, 0.6);
}
.lr-table td,
.lr-table th {
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(42, 48, 80, 0.4);
}
.lr-table th {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lr-table .section-row td {
  font-weight: 700;
  color: var(--accent2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 16px;
  border-bottom: none;
  background: rgba(34, 211, 238, 0.04);
}
.lr-table .total-row td {
  font-weight: 700;
  font-size: 14px;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  background: rgba(74, 222, 128, 0.05);
}
.lr-table .amount {
  font-family: var(--mono);
  text-align: right;
}
.lr-table .green {
  color: var(--accent);
}
.lr-table .red {
  color: var(--danger);
}
/* PISAH KEUANGAN */
.mix-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(248, 113, 113, 0.05);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 10px;
  margin-bottom: 8px;
}
.mix-badge {
  background: rgba(248, 113, 113, 0.15);
  color: var(--danger);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .app {
    grid-template-columns: 1fr;
    grid-template-rows: 56px auto 1fr;
  }
  .sidebar {
    display: none;
  }
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .three-col {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .main {
    padding: 16px;
  }
}
