.month-panel{margin-bottom:18px}.year-switch{display:flex;justify-content:center;align-items:center;gap:18px}.year-switch h2{margin:0}.month-tabs{display:grid;grid-template-columns:repeat(12,1fr);gap:7px;margin-top:18px}.month-tabs a{padding:10px 5px;border-radius:9px;background:#f2f3f7;text-align:center;font-size:.76rem;font-weight:800;color:var(--muted)}.month-tabs a.active{background:var(--primary);color:#fff}.month-heading{display:flex;align-items:end;justify-content:space-between;margin:24px 2px 14px}.month-heading small{color:var(--primary);font-weight:850}.month-heading h2{margin:3px 0 0}.month-heading>span{color:var(--muted)}.recurring-month-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.section-heading>div{display:flex;align-items:center;gap:10px}.section-heading h2{margin:0 0 3px}.section-heading small{color:var(--muted)}.section-heading>strong{font-size:1.1rem}.type-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#ddf7eb;color:var(--green);font-size:1.2rem;font-weight:900}.expense-list .type-icon{background:#ffebed;color:var(--red)}.monthly-item{display:grid;grid-template-columns:1fr auto;gap:8px 14px;padding:14px 0;border-bottom:1px solid var(--border)}.monthly-item>div:first-child{display:grid;gap:4px}.monthly-item small{color:var(--muted)}.monthly-action{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:8px}.badge.late{background:#fff0d8;color:#9a5d00}.recurring-admin{margin-top:18px}.rule-groups h3{margin:20px 0 5px;color:var(--muted);font-size:.78rem;text-transform:uppercase}.rule-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--border)}.rule-item>div{display:grid;gap:3px}.rule-item small{color:var(--muted)}.empty.compact{padding:12px}@media(max-width:900px){.month-tabs{grid-template-columns:repeat(6,1fr)}.recurring-month-grid{grid-template-columns:1fr}}@media(max-width:650px){.month-tabs{grid-template-columns:repeat(4,1fr)}.month-heading{align-items:flex-start;flex-direction:column;gap:5px}.monthly-item{grid-template-columns:1fr}.monthly-action{grid-column:1;align-items:flex-start;flex-direction:column}.monthly-action .btn{width:100%}}
