.month-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--border);border-radius:18px;background:var(--surface);padding:12px 15px;margin:0 0 27px}
.month-switcher{display:flex;align-items:center;gap:16px}
.month-title{min-width:190px;text-align:center}
.month-title h2{font-family:Manrope,system-ui,sans-serif;font-size:19px;font-weight:500;letter-spacing:-.5px;line-height:1.4}
.month-title small{display:block;margin-top:2px;font-size:10px;font-weight:400;color:var(--muted)}
.month-arrow{width:40px;height:40px;display:grid;place-items:center;background:var(--surface-soft);border:1px solid var(--border);color:var(--text);font-size:29px;font-weight:400;line-height:1;padding:0;border-radius:12px}
#saveMonth{font-size:12px;font-weight:500;padding:10px 14px;white-space:nowrap}
#monthLabel:focus{outline:none}#monthLabel:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.month-empty{flex:1;align-self:center;padding:45px 16px;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.month-empty p{font-size:12px;margin:0 0 16px}.month-empty button{font-size:12px;font-weight:400}
.repeat-options{border:1px solid var(--border);border-radius:12px;padding:13px 14px;margin:0 0 20px;background:var(--field)}
.repeat-options .checkbox{margin:0;font-weight:500}.repeat-options .hint{margin:7px 0 0;font-size:11px;line-height:1.5}
.form-row:has(#dateLabel[hidden]){grid-template-columns:1fr}
#billDateOptions .checkbox{font-weight:400;margin-bottom:14px}
#newMonthDialog{width:min(420px,calc(100% - 30px))}
#copyMonthHint{font-size:13px;line-height:1.6;margin-bottom:20px}
.new-month-options{display:grid;gap:10px;margin:18px 0}
.new-month-options button{font-size:13px;padding:13px}
#newMonthDialog>.hint{font-size:11px}
.month-stage{position:fixed;z-index:1100;pointer-events:none;perspective:1400px;perspective-origin:50% 50%;transform-style:preserve-3d;overflow:visible;will-change:transform,opacity}
.month-stage .month-leaf{position:absolute;min-height:0;max-width:none;margin:0;flex:none;transform-style:preserve-3d;will-change:transform,filter;pointer-events:none}
.month-leaf .check-shell{background:var(--bubble-fill,var(--surface));box-shadow:0 16px 40px #10251d24,3px 0 0 var(--border),6px 0 0 var(--surface)}
[data-theme=dark] .month-leaf .check-shell{background:var(--bubble-fill-dark,var(--surface));box-shadow:0 16px 40px #0005,3px 0 0 var(--border),6px 0 0 var(--surface)}
.month-leaf .icon,.month-leaf .pill-edit{display:none}
.month-leaf .bill{transition:none}
@media(max-width:650px){.month-bar{padding:10px;gap:8px;margin-bottom:23px;border-radius:16px}.month-switcher{gap:8px;flex:1;justify-content:center}.month-title{min-width:0;flex:1}.month-title h2{font-size:16px;letter-spacing:-.4px}.month-arrow{height:36px;width:32px;border-radius:10px;flex:0 0 32px}.month-title small{font-size:9px}#saveMonth{font-size:10px;padding:9px 10px}}
@media(max-width:380px){.month-bar{flex-wrap:wrap}.month-switcher{flex-basis:100%}#saveMonth{margin:2px auto 0}.month-title h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.month-arrow{transition:none}}
