.daily-checkin-backdrop{z-index:160;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#17141d73;place-items:center;padding:16px;animation:.18s ease-out checkin-fade-in;display:grid;position:fixed;inset:0}@keyframes checkin-fade-in{0%{opacity:0}to{opacity:1}}.daily-checkin-dialog{background:var(--surface-paper,#fff);border:1px solid var(--border-subtle,#e5e5e7);box-sizing:border-box;border-radius:16px;flex-direction:column;width:min(380px,100vw - 32px);padding:18px 20px 16px;animation:.22s cubic-bezier(.16,1,.3,1) checkin-scale-in;display:flex;position:relative;box-shadow:0 20px 48px #17141d29,0 2px 8px #17141d0f}@keyframes checkin-scale-in{0%{opacity:0;transform:translateY(8px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.daily-checkin-title-row{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.daily-checkin-title-group{align-items:center;gap:8px;display:flex}.daily-checkin-title-icon{color:var(--accent-primary,#6366f1);justify-content:center;align-items:center;display:flex}.daily-checkin-title-text{color:var(--text-primary);letter-spacing:-.2px;margin:0;font-size:16px;font-weight:600;line-height:22px}.daily-checkin-close-btn{width:28px;height:28px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;transition:background .12s,color .12s;display:flex}.daily-checkin-close-btn:hover{background:var(--surface-muted);color:var(--text-primary)}.daily-checkin-month-bar{justify-content:space-between;align-items:center;margin-bottom:12px;padding:0 2px;display:flex}.checkin-month-selector{align-items:center;gap:6px;display:flex}.checkin-current-month-text{color:var(--text-primary);text-align:center;-webkit-user-select:none;user-select:none;min-width:82px;margin:0 4px;font-size:14px;font-weight:600}.checkin-nav-btn{border:1px solid var(--border-subtle);background:var(--surface-paper);width:26px;height:26px;color:var(--text-secondary);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;transition:background .12s,color .12s,border-color .12s;display:flex}.checkin-nav-btn:hover{background:var(--surface-muted);color:var(--text-primary);border-color:var(--text-secondary)}.checkin-month-action-slot{justify-content:flex-end;min-width:60px;display:flex}.checkin-today-pill{border:1px solid var(--border-subtle);background:var(--surface-muted,#f8f8fa);height:24px;color:var(--accent-primary,#6366f1);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:12px;align-items:center;gap:4px;padding:0 8px;font-size:11px;font-weight:600;transition:all .15s;display:inline-flex}.checkin-today-pill:hover{border-color:var(--accent-primary,#6366f1);background:#6366f114}.checkin-today-pill.is-hidden{opacity:0;pointer-events:none;visibility:hidden}.checkin-stats-strip{background:var(--surface-muted,#f8f8fa);border:1px solid var(--border-subtle,#e5e5e7);border-radius:10px;grid-template-columns:repeat(3,1fr);margin-bottom:14px;display:grid;overflow:hidden}.checkin-stat-col{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:8px 6px;display:flex}.checkin-stat-col:not(:last-child){border-right:1px solid var(--border-subtle,#e5e5e7)}.checkin-stat-label{color:var(--text-secondary);font-size:11px;font-weight:500;line-height:14px}.checkin-stat-value{color:var(--text-primary);white-space:nowrap;align-items:center;gap:3px;font-size:13px;font-weight:600;line-height:18px;display:flex}.checkin-stat-value strong{font-weight:700}.checkin-stat-value small{color:var(--text-secondary);margin-left:1px;font-size:10px;font-weight:500}.checkin-stat-value.is-checked{color:#059669}[data-theme=dark] .checkin-stat-value.is-checked{color:#34d399}.checkin-stat-value.is-pending{color:var(--accent-primary,#6366f1)}.checkin-calendar-box{width:100%;margin-bottom:14px}.checkin-weekdays-row{text-align:center;border-bottom:1px solid var(--border-subtle,#f0f0f2);grid-template-columns:repeat(7,1fr);margin-bottom:6px;padding-bottom:6px;display:grid}.checkin-weekday-cell{color:var(--text-secondary);-webkit-user-select:none;user-select:none;padding:2px 0;font-size:11px;font-weight:500}.checkin-weekday-cell.is-weekend{color:var(--text-secondary)}.checkin-days-grid{grid-template-rows:repeat(6,40px);grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.checkin-day-cell{-webkit-user-select:none;user-select:none;box-sizing:border-box;background:0 0;border:1px solid #0000;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;height:40px;padding:2px 0;transition:background .15s,border-color .15s,transform .15s,box-shadow .15s;display:flex;position:relative}.checkin-day-num{color:var(--text-primary);font-size:13px;font-weight:500;line-height:14px;display:block}.checkin-day-slot{justify-content:center;align-items:center;height:13px;min-height:13px;margin-top:1px;display:flex}.checkin-day-cell.other-month{opacity:.22;pointer-events:none}.checkin-day-cell.past:not(.checked) .checkin-day-num{color:var(--text-secondary);opacity:.6}.checkin-day-cell:not(.other-month):not(.checked):not(.today):hover{background:var(--surface-muted)}.checkin-day-cell.checked{background:#10b98114;border-color:#10b98140}.checkin-day-cell.checked .checkin-day-num{color:#047857;font-weight:600}[data-theme=dark] .checkin-day-cell.checked{background:#10b9811f;border-color:#10b98159}[data-theme=dark] .checkin-day-cell.checked .checkin-day-num{color:#34d399}.checkin-day-cell.today{border-color:var(--accent-primary,#6366f1);box-shadow:0 0 0 1px var(--accent-primary,#6366f1)}.checkin-day-cell.today.checked{background:#10b98126;border-color:#10b981;box-shadow:0 0 0 1px #10b981,0 2px 6px #10b9812e}.checkin-day-cell.today.unchecked{cursor:pointer;background:#6366f10f;animation:2s ease-in-out infinite checkin-today-pulse}.checkin-day-cell.today.unchecked:hover{background:#6366f11f;transform:scale(1.04)}@keyframes checkin-today-pulse{0%{box-shadow:0 0 #6366f166}70%{box-shadow:0 0 0 4px #6366f100}to{box-shadow:0 0 #6366f100}}.checkin-stamp-badge{color:#fff;background:#10b981;border-radius:50%;justify-content:center;align-items:center;width:12px;height:12px;animation:.28s cubic-bezier(.175,.885,.32,1.275) checkin-stamp-pop;display:inline-flex}@keyframes checkin-stamp-pop{0%{opacity:0;transform:scale(.2)}60%{transform:scale(1.25)}to{opacity:1;transform:scale(1)}}.checkin-today-hint{color:var(--accent-primary,#6366f1);font-size:9px;font-weight:700;line-height:11px}.checkin-weekend-hint{color:var(--text-secondary);opacity:.7;font-size:8px;font-weight:600;line-height:11px}.checkin-action-area{flex-direction:column;gap:8px;display:flex}.checkin-submit-btn{background:var(--text-primary);width:100%;height:40px;color:var(--surface-paper);cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:600;transition:opacity .15s,transform .15s;display:flex;box-shadow:0 2px 8px #17141d1a}.checkin-submit-btn:hover{opacity:.92;transform:translateY(-1px)}.checkin-submit-btn:active{transform:translateY(0)}.checkin-submit-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.checkin-done-banner{color:#065f46;box-sizing:border-box;background:#10b98114;border:1px solid #10b9814d;border-radius:10px;justify-content:center;align-items:center;gap:6px;width:100%;height:40px;font-size:13px;font-weight:500;display:flex}[data-theme=dark] .checkin-done-banner{color:#34d399;background:#10b9811f;border-color:#10b98140}.checkin-dialog-footer-note{color:var(--text-secondary);text-align:center;margin:0;font-size:11px;line-height:15px}
@media (max-width:1023px){.app-shell .mobile-nav:before{height:calc(104px + var(--app-safe-bottom));background:linear-gradient(to bottom, transparent, color-mix(in srgb, var(--surface-muted) 90%, transparent) 48px, var(--surface-muted));-webkit-backdrop-filter:none;backdrop-filter:none}}
