.team-calendar-tabs{display:flex;gap:4px;padding:4px;background:#edf2ed;border-radius:12px;margin:18px 0 20px}
.team-calendar-tabs button{flex:1;min-width:0;min-height:44px;border:0;border-radius:9px;background:transparent;color:#35513d;font:inherit;font-weight:600;cursor:pointer}
.team-calendar-tabs button[aria-pressed="true"]{background:#315c3c;color:#fff}
.team-calendar-tabs button:hover:not([aria-pressed="true"]){background:#dfe9df}
.team-calendar-tabs button:focus-visible,.animal-birthday-calendar button:focus-visible,.animal-birthday-form :is(input,select,button):focus-visible{outline:3px solid #367648;outline-offset:3px}
.animal-birthday-calendar{color:#223b29;--animal-muted:#4d6353}
.animal-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.animal-calendar-day{min-width:0;min-height:52px;border:1px solid #dce5dd;border-radius:10px;background:#fff;color:#263e2c;font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;font-variant-numeric:tabular-nums}
.animal-calendar-day:hover{background:#edf4ee}
.animal-calendar-day.selected{background:#315c3c;border-color:#315c3c;color:#fff}
.animal-calendar-day.today:not(.selected){border:2px solid #315c3c;font-weight:700}
.animal-day-paw{display:block;width:14px;height:14px}
.animal-day-paw svg,.animal-birthday-paw svg{display:block;width:100%;height:100%}
.animal-birthday-calendar .icon-button{min-width:44px;min-height:44px}
.animal-birthday-calendar .icon-button svg{width:22px;height:22px}
.animal-birthday-calendar .schedule-month-nav{margin-bottom:14px}
.animal-birthday-calendar .schedule-month-nav strong{text-transform:capitalize;font-size:18px;font-variant-numeric:tabular-nums}
.animal-birthday-calendar .schedule-weekdays{color:var(--animal-muted);margin-bottom:8px}
.animal-date-details{margin-top:24px}
.animal-date-details>h3{font-size:17px;margin:0 0 10px}
.animal-birthday-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #dce5dd}
.animal-birthday-paw{flex:none;width:36px;height:36px;color:#315c3c;padding:6px;background:#e7f0e8;border-radius:10px}
.animal-birthday-row>div{flex:1;min-width:0;overflow-wrap:anywhere}
.animal-birthday-row h3{margin:0 0 4px;font-size:18px}
.animal-birthday-row p{margin:0 0 4px;color:var(--animal-muted);line-height:1.4}
.animal-birthday-row small{color:var(--animal-muted);font-size:13px}
.animal-birthday-row button{min-height:44px;padding:8px;font-size:14px;color:#315c3c}
.animal-birthday-row[data-highlighted="true"] h3{text-decoration:underline;text-decoration-color:#315c3c;text-underline-offset:4px}
.animal-add-button{width:100%;min-height:48px;margin-top:20px}
.animal-calendar-help{color:var(--animal-muted);font-size:13px;line-height:1.55;margin:14px 0 0}
.animal-calendar-empty,.animal-calendar-status{color:var(--animal-muted);line-height:1.5;margin:14px 0}
.animal-birthday-form{display:grid;gap:18px;margin-top:20px}
.animal-birthday-form label{display:grid;gap:7px;color:#223b29;min-width:0}
.animal-birthday-form :is(input,select){width:100%;min-width:0;min-height:46px;font:inherit;caret-color:#315c3c}
.animal-birthday-form ::placeholder{color:#5b6b5f}
.animal-birthday-date{display:grid;grid-template-columns:64px minmax(100px,1.5fr) minmax(110px,1fr);gap:12px;padding:0;border:0;margin:0;min-width:0}
.animal-birthday-date legend{margin-bottom:12px;font-weight:600}
.animal-reminder-note{padding:14px;background:#edf4ee;border-radius:12px;color:#35513d;font-size:14px;line-height:1.55;margin:0}
.animal-form-error{color:#9c2e26;margin:0;line-height:1.5}
.animal-form-error:empty{display:none}
.animal-birthday-form .form-actions{margin-top:0}
.animal-birthday-form button{min-height:46px}
.animal-birthday-calendar button:disabled,.animal-birthday-form button:disabled{opacity:.55;cursor:default}
@media(max-width:380px){.animal-birthday-date{grid-template-columns:60px minmax(0,1fr);gap:12px}.animal-birthday-date label:last-child{grid-column:1/-1}.animal-birthday-row{gap:8px}.animal-birthday-paw{width:30px;height:30px}.animal-birthday-row button{max-width:92px}.animal-calendar-grid{gap:4px}}

.animal-birthday-form .primary,.animal-birthday-calendar .primary{background:#315c3c;color:#fff}
.animal-birthday-form .primary:hover,.animal-birthday-calendar .primary:hover{background:#21462c}
:root[data-theme="dark"] .team-calendar-tabs{background:var(--surface-2)}
:root[data-theme="dark"] .team-calendar-tabs button{color:var(--text)}
:root[data-theme="dark"] .team-calendar-tabs button:hover:not([aria-pressed="true"]){background:var(--green-2)}
:root[data-theme="dark"] :is(.animal-birthday-calendar,.animal-birthday-form){color:var(--text);--animal-muted:var(--muted)}
:root[data-theme="dark"] .animal-calendar-day{background:var(--surface);border-color:var(--line);color:var(--text)}
:root[data-theme="dark"] .animal-calendar-day:hover{background:var(--surface-2)}
:root[data-theme="dark"] .animal-calendar-day.selected{background:#315c3c;border-color:#80c692;color:#fff}
:root[data-theme="dark"] .animal-calendar-day.today:not(.selected){border-color:#80c692}
:root[data-theme="dark"] .animal-birthday-row{border-color:var(--line)}
:root[data-theme="dark"] .animal-birthday-row button{color:#93d6a5}
:root[data-theme="dark"] .animal-birthday-paw{background:var(--green-2);color:#93d6a5}
:root[data-theme="dark"] .animal-birthday-form label{color:var(--text)}
:root[data-theme="dark"] .animal-birthday-form ::placeholder{color:var(--muted)}
:root[data-theme="dark"] .animal-reminder-note{background:var(--green-2);color:#c4e8ce}
:root[data-theme="dark"] .animal-form-error{color:var(--red)}
:root[data-theme="dark"] .animal-birthday-row[data-highlighted="true"] h3{text-decoration-color:#93d6a5}
:root[data-theme="dark"] :is(.team-calendar-tabs button,.animal-birthday-calendar button,.animal-birthday-form input,.animal-birthday-form select,.animal-birthday-form button):focus-visible{outline-color:#93d6a5}
