/* Small font, clean layout */
.mtft-wrap { font-size: 12px; line-height: 1.35; max-width: 980px; margin: 0 auto; }
.mtft-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 10px; padding: 12px; margin: 12px 0; }
.mtft-card-title { font-size: 13px; font-weight: 700; margin-bottom: 10px; }

.mtft-form { display: grid; grid-template-columns: 1fr; gap: 8px; }
.mtft-row label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.mtft-input { width: 100%; padding: 6px 8px; font-size: 12px; border: 1px solid #dcdcdc; border-radius: 8px; background: #fff; box-sizing: border-box; }
.mtft-btn { font-size: 12px; padding: 7px 12px; border-radius: 10px; border: 1px solid #111; background: #111; color: #fff; cursor: pointer; }
.mtft-btn:hover { opacity: 0.92; }

.mtft-alert { padding: 8px 10px; border-radius: 10px; margin: 8px 0 10px; font-size: 12px; }
.mtft-alert-ok { background: #eef8f0; border: 1px solid #bfe6c7; }
.mtft-alert-err { background: #fff1f1; border: 1px solid #f2b6b6; }

.mtft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 820px) { .mtft-grid { grid-template-columns: 1fr; } }

.mtft-balance { border: 1px solid #eee; border-radius: 10px; padding: 10px; }
.mtft-balance-name { font-weight: 700; font-size: 12px; margin-bottom: 4px; }
.mtft-balance-val { font-weight: 800; font-size: 14px; }
.mtft-balance-sub { color: #666; font-size: 11px; margin-top: 4px; }

.mtft-section-title { font-weight: 800; font-size: 12px; margin: 8px 0 8px; }
.mtft-month-title { font-weight: 800; font-size: 12px; margin: 12px 0 6px; }
.mtft-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mtft-table th, .mtft-table td { border: 1px solid #eee; padding: 6px 8px; text-align: left; }
.mtft-table th { background: #fafafa; font-weight: 800; }
.mtft-total-row td { background: #fcfcfc; }
.mtft-muted { color: #666; font-size: 12px; }
