:root{--color-bg: #f9f9f8;--color-surface: #ffffff;--color-border: #e5e5e3;--color-text: #1a1a1a;--color-muted: #9a9a96;--color-weekend: #6b7280;--color-today-bg: #1d4ed8;--color-today-text: #ffffff;--color-holiday-bg: #fef2f2;--color-holiday-text: #b91c1c;--color-holiday-dot: #dc2626;--color-nav: #1d4ed8;--radius-cell: 6px;--radius-card: 12px;--cell-size: 2.75rem;--font-base: system-ui, -apple-system, sans-serif;--color-popover-bg: #1a1a1a;--color-popover-text: #ffffff}[data-theme=dark]{--color-bg: #111827;--color-surface: #1f2937;--color-border: #374151;--color-text: #f9fafb;--color-muted: #6b7280;--color-weekend: #9ca3af;--color-today-bg: #3b82f6;--color-today-text: #ffffff;--color-holiday-bg: #3b1515;--color-holiday-text: #f87171;--color-holiday-dot: #ef4444;--color-nav: #60a5fa;--color-popover-bg: #f9fafb;--color-popover-text: #111827}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-base);background:var(--color-bg);color:var(--color-text);min-height:100dvh;touch-action:manipulation}.calendar-app{max-width:480px;margin:0 auto;padding:0 0 3rem}.app-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem;background:var(--color-surface);border-bottom:1px solid var(--color-border)}.today-btn{font-family:var(--font-base);font-size:.875rem;font-weight:600;color:var(--color-nav);background:transparent;border:1.5px solid var(--color-nav);border-radius:999px;padding:.3rem .875rem;cursor:pointer;transition:background .15s,color .15s;-webkit-tap-highlight-color:transparent}.today-btn:hover,.today-btn:focus-visible{background:#eff6ff;outline:none}.today-btn:disabled{color:var(--color-muted);border-color:var(--color-border);cursor:default;background:transparent}.nav-btn{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border:none;border-radius:50%;background:transparent;color:var(--color-nav);font-size:1.1rem;cursor:pointer;transition:background .15s;-webkit-tap-highlight-color:transparent}.nav-btn:hover,.nav-btn:focus-visible{background:#eff6ff;outline:none}.nav-btn.lang-btn{font-size:.7rem;font-weight:700;letter-spacing:.05em}[data-theme=dark] .nav-btn:hover,[data-theme=dark] .nav-btn:focus-visible{background:#1e3a5f}.months-list{display:flex;flex-direction:column;gap:1.5rem;padding:1.25rem 1rem}.month{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card);overflow:hidden}.month-title{padding:.75rem 1rem .625rem;font-size:1rem;font-weight:700;letter-spacing:.01em;border-bottom:1px solid var(--color-border)}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:var(--color-border);border-top:none}.day-header{background:var(--color-bg);text-align:center;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--color-muted);padding:.5rem 0}.day,.holiday{position:relative;background:var(--color-surface);display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1;cursor:default;-webkit-user-select:none;user-select:none}.day.empty{background:var(--color-bg)}.day-number{font-size:.875rem;font-weight:500;line-height:1}.day.weekend .day-number{color:var(--color-weekend)}.day.today .day-number,.holiday.today .day-number{display:flex;align-items:center;justify-content:center;width:1.875rem;height:1.875rem;border-radius:50%;background:var(--color-today-bg);color:var(--color-today-text);font-weight:700}.holiday{background:var(--color-holiday-bg);cursor:pointer;-webkit-tap-highlight-color:transparent}.day.holiday .day-number{color:var(--color-holiday-text);font-weight:700}.holiday:after{content:"";display:block;width:4px;height:4px;border-radius:50%;background:var(--color-holiday-dot);margin-top:3px}.holiday.today:after{background:var(--color-today-text);opacity:.7}.popover{position:absolute;z-index:100;background:var(--color-popover-bg);color:var(--color-popover-text);font-family:var(--font-base);font-size:.78rem;font-weight:500;padding:.35rem .65rem;border-radius:6px;white-space:nowrap;pointer-events:none;box-shadow:0 4px 12px #0000002e}.popover:before{content:"";position:absolute;top:-5px;left:var(--arrow-left, 50%);transform:translate(-50%);border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid var(--color-popover-bg)}@media(min-width:520px){.calendar-app{padding-bottom:4rem}.months-list{padding:1.5rem 1.25rem;gap:2rem}.month-title{font-size:1.05rem;padding:.875rem 1.25rem .75rem}.day-number{font-size:.925rem}}
