.birthday-toolbar { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; background:var(--surface); border-radius:13px; margin-bottom:13px; min-height:54px; }
.shell .birthday-toolbar h1 { margin:0; font-size:14px; display:flex; align-items:center; gap:7px; }
.birthday-toolbar svg { width:14px; height:14px; }
.birthday-menu-wrap { position:relative; }
.shell #birthday-options { padding:3px 9px; font-size:18px; border-radius:6px; }
#birthday-menu { position:absolute; right:0; top:36px; padding:6px; min-width:150px; background:var(--surface); border:1px solid var(--line); border-radius:7px; z-index:3; box-shadow:0 10px 25px #0005; }
.shell #birthday-menu button { display:block; background:transparent; border:0; color:var(--text); padding:9px; font-size:11px; text-align:left; width:100%; }
#birthday-menu button:hover { background:#ffffff08; }
.birthday-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:13px; align-items:start; }
.birthday-calendar { border:1px solid var(--line); background:var(--surface); border-radius:6px; padding:12px 8px; height:auto; position:static; display:block; }
.birthday-calendar-heading { display:flex; align-items:center; gap:5px; margin-bottom:10px; }
.shell .birthday-calendar-heading button { border:0; padding:3px; font-size:12px; background:transparent; color:var(--text); }
.shell #birthday-calendar-month { flex:1; text-align:left; color:var(--orange); background:#ff794f12; border-radius:15px; padding:5px 7px; }
.birthday-calendar-heading svg { width:18px; height:18px; display:block; }
.birthday-weekdays,.birthday-date-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); text-align:center; }
.birthday-weekdays { border-bottom:1px solid var(--line); padding:0 0 10px; font-size:9px; color:var(--muted); }
.birthday-date-grid { margin-top:6px; gap:3px 0; }
.shell .birthday-date-grid button { position:relative; width:28px; height:28px; margin:1px auto; padding:0; border:1px solid transparent; border-radius:50%; font-size:10px; background:transparent; color:var(--text); }
.birthday-date-grid button.outside { opacity:.35; }
.birthday-date-grid button.selected { border-color:var(--orange); }
.birthday-date-grid button.today { font-weight:700; }
.shell .birthday-date-grid button.has-anniversary { background:#ff794f20; border-color:#ff794f55; color:var(--orange); font-weight:700; }
.shell .birthday-date-grid button.has-anniversary.selected { background:var(--orange); border-color:var(--orange); color:var(--bg); }
.birthday-day-count { position:absolute; right:-5px; top:-4px; min-width:14px; height:14px; padding:0 3px; display:grid; place-items:center; border-radius:8px; background:var(--orange); color:var(--bg); font-size:8px; border:1px solid var(--surface); line-height:1; }
.birthday-date-grid { gap:6px 0; }
.shell .birthday-month-summary { font-size:11px; font-weight:600; line-height:1.5; color:var(--text); margin:15px 0 5px; text-align:center; }
.shell .birthday-calendar-legend { font-size:9px; line-height:1.5; color:var(--muted); margin:7px 0; text-align:center; }
.birthday-quick-days { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; max-height:140px; overflow:auto; padding:3px 0; }
.shell .birthday-quick-days button { display:flex; justify-content:space-between; align-items:center; gap:4px; padding:6px 8px; border:1px solid var(--line); border-radius:5px; background:transparent; color:var(--text); font-size:10px; }
.birthday-quick-days strong { color:var(--orange); }
.birthday-quick-days button.selected { border-color:var(--orange); background:#ff794f12; }
.birthday-calendar-actions { display:flex; gap:6px; margin-top:12px; border-top:1px solid var(--line); padding-top:8px; }
.shell .birthday-calendar-actions button { flex:1; width:auto; border:0; border-radius:5px; padding:7px 4px; background:transparent; color:var(--text); font-size:10px; margin:0; }
.shell #birthday-view-month.selected { background:#ff794f12; color:var(--orange); }
.birthday-main { min-width:0; }
#birthday-tabs { display:flex; border-bottom:1px solid var(--line); margin-bottom:17px; width:max-content; max-width:100%; }
.shell #birthday-tabs button { display:flex; align-items:center; justify-content:center; gap:8px; padding:14px 20px; font-size:13px; background:transparent; color:var(--muted); border:0; border-bottom:2px solid transparent; border-radius:0; }
#birthday-tabs button[aria-selected=true] { color:var(--orange); border-bottom-color:var(--orange); }
#birthday-tabs svg { width:18px; height:18px; }
.shell .birthday-selection { color:var(--muted); font-size:10px; margin:0 0 8px; }
.birthday-list { background:var(--surface); border-radius:13px; overflow:hidden; }
.birthday-list table { width:100%; min-width:620px; }
.birthday-list th,.birthday-list td { font-size:10px; padding:8px 12px; height:47px; border-bottom:1px solid var(--line); }
.birthday-list th { height:45px; font-weight:600; }
.birthday-list td:first-child,.birthday-list td:nth-child(2),.birthday-list td:last-child { white-space:nowrap; }
.birthday-list th:nth-child(3) { width:40%; }
.birthday-person { display:flex; align-items:center; gap:8px; min-width:0; }
.birthday-avatar { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; flex:none; background:#2bb6e9; color:#08232e; font-size:12px; overflow:hidden; }
.birthday-avatar img { width:100%; height:100%; object-fit:cover; }
.shell .birthday-person button { font-size:11px; text-align:left; padding:0; }
.birthday-list .birthday-empty { text-align:center; height:170px; color:var(--muted); }
.birthday-pagination { display:flex; align-items:center; justify-content:space-between; padding:15px 16px; gap:12px; font-size:10px; }
.birthday-page-controls { display:flex; gap:6px; align-items:center; }
.shell .birthday-page-controls label { display:flex; align-items:center; gap:6px; margin:0; font-size:9px; white-space:nowrap; }
.shell .birthday-page-controls select,.shell .birthday-page-controls input { margin:0; width:46px; height:28px; padding:4px 6px; font-size:10px; }
.shell .birthday-page-controls button { width:25px; height:25px; display:grid; place-items:center; padding:0; border:0; border-radius:50%; background:transparent; color:var(--text); font-size:11px; }
.birthday-page-controls svg { width:17px; height:17px; }
.birthday-page-controls button.selected { background:var(--orange); color:var(--bg); }
@media(max-width:1100px){.birthday-layout{grid-template-columns:210px minmax(0,1fr)}.birthday-pagination{flex-wrap:wrap}.birthday-page-controls{margin-left:auto}}
@media(max-width:700px){.birthday-layout{grid-template-columns:1fr}.birthday-calendar{max-width:300px;width:100%;margin:auto}.shell #birthday-tabs button{font-size:11px;padding:12px 10px;gap:5px}#birthday-tabs{width:100%;justify-content:space-between}.birthday-page-controls{flex-wrap:wrap}.birthday-pagination{padding:12px}.birthday-list .table-wrap{overflow:auto}}
