.agenda-month { padding:16px 16px 96px; background:var(--bg-app); color:var(--text-primary); }
.agenda-month-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.agenda-month-heading h2 { font-size:18px; font-weight:600; }
.agenda-month-heading p, .agenda-month-hint { margin-top:4px; font-size:13px; color:var(--text-muted); }
.agenda-month-nav { display:flex; gap:8px; }
.agenda-month-nav button, .agenda-month-close, .agenda-month-open-day { min-height:40px; border:1px solid var(--border-default); border-radius:12px; padding:8px 12px; color:var(--text-secondary); font-size:14px; font-weight:600; }
.agenda-month svg, .agenda-month-dialog svg { width:16px; height:16px; }
.agenda-month-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:1px; border:1px solid var(--border-default); border-radius:12px; overflow:hidden; background:var(--border-default); }
.agenda-month-weekday { padding:8px 0; text-align:center; font-size:12px; color:var(--text-muted); background:var(--bg-surface-secondary); }
.agenda-month-cell { min-width:0; min-height:142px; padding:4px; background:var(--bg-surface); }
.agenda-month-blank { background:var(--bg-app); }
.agenda-month-day { display:block; min-height:32px; min-width:32px; border-radius:8px; font-size:13px; font-weight:600; margin-bottom:4px; }
.agenda-month-day[aria-current="date"] { background:#6d28d9; color:white; }
.agenda-month-item { display:block; width:100%; overflow:hidden; border:1px solid var(--border-default); border-left:3px solid #7c3aed; border-radius:6px; margin-bottom:4px; padding:8px; background:var(--bg-surface-secondary); color:var(--text-secondary); text-align:left; font-size:12px; }
.agenda-month-item-name { display:block; font-weight:600; }
.agenda-month-item-service { display:block; color:var(--text-muted); }
.agenda-month-item-compact { padding:3px 4px; font-size:11px; }
.agenda-month-item-compact span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.agenda-month-block { border-left-color:#e11d48; }
.agenda-month-more { display:block; width:100%; min-height:28px; font-size:11px; font-weight:600; color:var(--brand-primary-hover); }
.agenda-month-notice { padding:16px; margin-bottom:12px; background:var(--bg-surface); border-radius:12px; text-align:center; font-size:14px; color:var(--text-muted); }
.agenda-month-dialog { position:fixed; inset:0; margin:auto; width:calc(100% - 32px); max-width:480px; max-height:calc(100dvh - 32px); overflow-y:auto; border:1px solid var(--border-default); border-radius:16px; padding:16px; background:var(--bg-surface); color:var(--text-primary); box-shadow:0 25px 50px -12px rgb(0 0 0 / .25); }
.agenda-month-dialog::backdrop { background:rgb(0 0 0 / .5); }
.agenda-month-open-day { width:100%; margin-top:12px; }
.agenda-month button:focus-visible, .agenda-month-dialog button:focus-visible { outline:2px solid #7c3aed; outline-offset:1px; }
@media (max-width:600px) {
 .agenda-page-month > .sticky { position:static; }
 .agenda-month { padding:12px 6px 80px; }
 .agenda-month-heading { align-items:flex-start; flex-wrap:wrap; }
 .agenda-month-cell { min-height:128px; padding:2px; }
 .agenda-month-item-compact { padding:3px 2px; font-size:10px; border-left-width:2px; }
 .agenda-month-item-compact .agenda-month-item-service { display:none; }
 .agenda-month-item-compact .agenda-month-item-time { display:none; }
 .agenda-month-heading h2 { font-size:16px; }
}
