.legend{background:#fff;border-radius:18px;flex-wrap:wrap;gap:14px;margin-bottom:18px;padding:14px 18px;display:flex}.legendItem{align-items:center;gap:8px;font-size:14px;display:flex}.legendItem span{border-radius:999px;width:14px;height:14px}.day{height:auto;min-height:54px;padding:4px;position:relative}.dayNumber{margin-bottom:4px;font-size:13px;display:block}.peopleDots{flex-wrap:wrap;justify-content:center;gap:2px;display:flex}.personDot{color:#fff;border-radius:999px;min-width:16px;height:16px;padding:0 3px;font-size:9px;font-weight:700;line-height:16px}.selectedCurrent{outline:3px solid #111827}body{color:#0f172a;background:#f5f7fb;margin:0;font-family:Segoe UI,Arial,sans-serif}button,select{font:inherit}.loginPage{background:linear-gradient(135deg,#eff6ff,#f0fdf4);place-items:center;min-height:100vh;padding:16px;display:grid}.loginCard{text-align:center;background:#fff;border-radius:28px;width:100%;max-width:420px;padding:36px 24px;box-shadow:0 20px 60px #0f172a1f}.logoCircle,.brandIcon{color:#fff;background:#22c55e;border-radius:16px;place-items:center;width:48px;height:48px;font-weight:800;display:grid}.logoCircle{margin:0 auto 18px}.primaryButton{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:14px;padding:14px 22px;font-weight:700}.appShell{min-height:100vh;display:flex}.sidebar{background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;flex-shrink:0;width:260px;padding:24px;display:flex}.brand{align-items:center;gap:12px;margin-bottom:32px;display:flex}.brand span,.sidebarFooter span{color:#64748b;font-size:13px;display:block}.navItem{color:#475569;cursor:pointer;border-radius:14px;margin-bottom:8px;padding:13px 16px;font-weight:600;text-decoration:none}.navItem.active{color:#15803d;background:#dcfce7}.sidebarFooter{border-top:1px solid #e5e7eb;margin-top:auto;padding-top:18px}.sidebarFooter button{color:#b91c1c;cursor:pointer;background:#fee2e2;border:0;border-radius:12px;width:100%;margin-top:12px;padding:10px 14px;font-weight:700}.main{flex:1;min-width:0;padding:28px}.topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.topbar h1{margin:0;font-size:30px}.topbar p{color:#64748b;margin:6px 0 0}.topbarActions{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.refreshButton{color:#475569;cursor:pointer;white-space:nowrap;background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:8px;padding:8px 14px;font-size:14px;font-weight:500;transition:all .2s;display:flex;box-shadow:0 1px 2px #0000000d}.refreshButton:hover{color:#1e293b;background-color:#f8fafc;border-color:#cbd5e1}.refreshButton:active{transform:scale(.98)}.refreshButton:disabled{opacity:.6;cursor:not-allowed}.refreshButton.spinning svg{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.yearPicker{background:#fff;border:1px solid #e5e7eb;border-radius:18px;align-items:center;display:flex;overflow:hidden}.yearPicker button{cursor:pointer;background:#fff;border:0;padding:10px 16px;font-size:24px}.yearPicker strong{padding:0 20px;font-size:20px}.summaryGrid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:16px;display:grid}.summaryCard{background:#fff;border:1px solid #e5e7eb;border-radius:20px;flex-direction:column;justify-content:center;padding:18px;display:flex}.summaryCard span{color:#64748b;margin-bottom:8px;font-size:13px;display:block}.summaryCard strong{word-break:break-word;font-size:22px}.summaryCard small{color:#64748b;margin-top:4px;display:block}.summaryCard select{background:#fff;border:1px solid #e5e7eb;border-radius:12px;outline:none;width:100%;padding:10px}.notice{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:16px;margin-bottom:16px;padding:14px 18px;font-weight:700}.peopleLegend{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e5e7eb;border-radius:20px;gap:10px;margin-bottom:18px;padding:14px;display:flex;overflow-x:auto}.personChip{cursor:pointer;text-align:left;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;flex-shrink:0;align-items:center;gap:10px;min-width:210px;padding:10px;display:flex}.personChip.selected{background:#fff;outline:3px solid #111827}.personChip span{color:#fff;border-radius:999px;flex:none;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.personChip strong{font-size:14px;display:block}.personChip small{color:#64748b;font-size:11px}.calendarGrid{grid-template-columns:repeat(auto-fill,200px);justify-content:start;align-items:start;gap:14px;display:grid}.monthCard{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:22px;width:200px;height:fit-content;padding:12px;box-shadow:0 6px 20px #0f172a0a}.monthHeader h3{text-align:center;margin:0 0 8px;font-size:15px}.weekdays,.days{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.weekdays div{text-align:center;color:#64748b;justify-content:center;align-items:center;height:18px;font-size:11px;font-weight:800;display:flex}.weekdays div:nth-child(6),.weekdays div:nth-child(7){color:#dc2626}.days{grid-auto-rows:auto}.day,.emptyDay{aspect-ratio:1;box-sizing:border-box;border:0;border-radius:3px;justify-content:center;align-items:center;width:100%;height:auto;min-height:0;padding:0;display:flex;position:relative;overflow:hidden}.day{cursor:pointer}.emptyDay{cursor:default}.day.weekend{background:#fff1f2}.day.weekend .dayNumber{color:#dc2626}.day.holiday{background:#fee2e2}.day.holiday .dayNumber{color:#b91c1c}.day.holiday.hasVacation{box-shadow:inset 0 0 0 2px #dc2626}.day.holiday.hasVacation .dayNumber{color:#fff;text-shadow:0 1px 2px #0000008c}.dayNumber{z-index:2;color:#0f172a;font-size:11px;font-weight:700;position:relative}.moreBadge{z-index:3;color:#fff;background:#111827;border-radius:999px;padding:1px 3px;font-size:8px;position:absolute;bottom:0;right:1px}.selectedByCurrent{box-shadow:inset 0 0 0 2px #111827!important}.overlapLegend{background:#fff;border:1px solid #e5e7eb;border-radius:20px;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px;padding:16px;display:flex}.sample{border-radius:7px;width:36px;height:24px;display:inline-block}.sample.one{background:linear-gradient(135deg,#22c55e 0 50%,#0000 50% 100%)}.sample.two{background:linear-gradient(135deg,#22c55e 0 50%,#3b82f6 50% 100%)}.sample.three{background:conic-gradient(#22c55e 0deg 120deg,#3b82f6 120deg 240deg,#f97316 240deg 360deg)}.sample.four{background:conic-gradient(#22c55e 0deg 90deg,#3b82f6 90deg 180deg,#f97316 180deg 270deg,#8b5cf6 270deg 360deg)}.sample.many{background:repeating-linear-gradient(45deg,#22c55e 0 6px,#3b82f6 6px 12px,#f97316 12px 18px,#8b5cf6 18px 24px)}.settingsTable{background:#fff;border:1px solid #e5e7eb;border-radius:20px;overflow-x:auto}.settingsHeader,.settingsRow{grid-template-columns:1.5fr 2fr 1fr 1fr 120px;align-items:center;gap:12px;min-width:650px;padding:14px 18px;display:grid}.settingsHeader{color:#475569;background:#f8fafc;font-weight:800}.settingsRow{border-top:1px solid #e5e7eb}.settingsRow button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:10px;padding:9px 12px;font-weight:700}.settingsRow input{width:18px;height:18px}.settingsAddBar{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.settingsAddBar select,.settingsAddBar input{background:#fff;border:1px solid #d1d5db;border-radius:12px;flex:1;min-width:200px;padding:12px 14px;font-size:14px}.settingsAddBar button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:12px;padding:12px 18px;font-weight:700}@media (width<=1024px){.main{padding:20px}.topbar h1{font-size:26px}}@media (width<=900px){.appShell{flex-direction:column}.sidebar{border-bottom:1px solid #e5e7eb;border-right:none;width:100%;padding:16px 20px}.brand{margin-bottom:16px}nav{flex-direction:row;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.navItem{white-space:nowrap;margin-bottom:0;padding:10px 14px;font-size:14px}.sidebarFooter{display:none}}@media (width<=480px){.main{padding:16px}.topbar h1{font-size:22px}.topbarActions{justify-content:space-between;width:100%}.yearPicker button{padding:8px 12px;font-size:20px}.yearPicker strong{padding:0 14px;font-size:16px}}
