@import "https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap";:root{--background:30 25% 97%;--foreground:20 15% 15%;--card:30 20% 99%;--primary:4 60% 55%;--primary-foreground:0 0% 100%;--secondary:25 15% 93%;--muted:25 12% 92%;--muted-foreground:20 8% 55%;--border:25 15% 88%;--timer-fill:4 55% 52%;--timer-track:25 12% 92%;--success:145 45% 45%;--ring:4 60% 55%;color:hsl(var(--foreground));background:hsl(var(--background));font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Noto Sans KR,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}#root{min-height:100vh}body{background:radial-gradient(circle at top, #fcefee 0, transparent 32rem), hsl(var(--background));min-width:320px;margin:0}button,input{font:inherit}.app{min-height:100vh;padding:36px 18px 112px}.app-shell{gap:18px;width:min(512px,100%);margin:0 auto;display:grid}.hero-header{text-align:center;gap:8px;padding:8px 8px 4px;display:grid}.hero-header h1,.section-heading h2,.todo-main h3{margin:0}.hero-header h1{letter-spacing:-.045em;font-size:clamp(1.72rem,8vw,2.28rem);font-weight:800;line-height:1.12}.hero-header p,.timer-helper,.filter-caption,.history-empty,.session-item span,.date-group-item span,.today-record-card p,.record-summary-card p{color:hsl(var(--muted-foreground));margin:0;font-size:.92rem;line-height:1.55}.section-label,.timer-task span,.time-label{letter-spacing:.07em;color:hsl(var(--muted-foreground));margin:0;font-size:.72rem;font-weight:700;line-height:1.25}.panel{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:28px;padding:22px;box-shadow:0 16px 42px #70524314}.timer-card{justify-items:center;gap:22px;padding-top:26px;display:grid}.timer-task{text-align:center;gap:4px;display:grid}.timer-task strong{max-width:18rem;color:hsl(var(--foreground));text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;font-weight:800;line-height:1.35;overflow:hidden}.interactive-timer{background:hsl(var(--timer-track));width:280px;height:280px;box-shadow:inset 0 0 0 1px hsl(var(--border)), inset 0 8px 22px #4d3c330f, 0 24px 50px #98443e29;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:50%;place-items:center;display:grid;position:relative}.interactive-timer:focus-visible{outline:3px solid hsl(var(--ring) / .32);outline-offset:6px}.interactive-timer-face{cursor:grab;width:100%;height:100%}.interactive-timer.running .interactive-timer-face,.interactive-timer.paused .interactive-timer-face,.interactive-timer.finished .interactive-timer-face{cursor:default}.interactive-timer-dial{fill:hsl(var(--timer-track));stroke:hsl(var(--border));stroke-width:1.5px}.interactive-timer-sector{fill:hsl(var(--timer-fill));opacity:.9;filter:drop-shadow(0 6px 10px #7e353024);transition:opacity .2s,filter .2s}.interactive-timer.idle .interactive-timer-sector,.interactive-timer.dragging .interactive-timer-sector{opacity:.82}.interactive-timer.dragging .interactive-timer-sector{filter:drop-shadow(0 9px 16px #7e353038)}.interactive-timer.paused .interactive-timer-sector{opacity:.62}.interactive-timer.finished .interactive-timer-sector{fill:hsl(var(--success))}.interactive-timer-inner{fill:hsl(var(--card) / .92);stroke:#ffffffb3;stroke-width:1px}.interactive-timer-tick{stroke:hsl(var(--foreground) / .16);stroke-linecap:round;stroke-width:2px}.interactive-timer-handle{fill:hsl(var(--card));stroke:hsl(var(--primary));stroke-width:3px;filter:drop-shadow(0 4px 8px #2c242129)}.interactive-timer.finished .interactive-timer-handle{display:none}.interactive-timer-marker{stroke:hsl(var(--foreground));stroke-linecap:round;stroke-width:5px;opacity:.7}.interactive-timer-center{border:1px solid hsl(var(--border) / .72);background:hsl(var(--card) / .86);text-align:center;pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:24px;gap:4px;width:150px;padding:13px 10px;display:grid;position:absolute;box-shadow:0 10px 24px #3d302914}.interactive-timer-center span{color:hsl(var(--primary));letter-spacing:.06em;font-size:.76rem;font-weight:800;line-height:1.2}.interactive-timer-center strong{color:hsl(var(--foreground));letter-spacing:-.04em;font-size:1.92rem;font-weight:800;line-height:1.08}.interactive-timer-center small{color:hsl(var(--muted-foreground));font-size:.72rem;line-height:1.35}.quick-chip-row,.timer-controls,.button-row,.todo-actions,.filter-group{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.timer-notice{color:hsl(var(--muted-foreground));text-align:center;margin:-8px 0 0;font-size:.84rem;line-height:1.45}.quick-chip,.filter-chip,.primary-button,.secondary-button,.button-row button,.todo-create-form button,.todo-actions button,.todo-edit-form button{border:1px solid hsl(var(--border));color:hsl(var(--foreground));background:hsl(var(--card));cursor:pointer;border-radius:999px;padding:9px 14px;font-size:.9rem;font-weight:700;line-height:1.2;transition:transform .16s,border-color .16s,background .16s}.quick-chip:hover,.filter-chip:hover,.primary-button:hover,.secondary-button:hover,.button-row button:hover,.todo-create-form button:hover,.todo-actions button:hover,.todo-edit-form button:hover{transform:translateY(-1px)}.quick-chip.active,.filter-chip.active,.primary-button{border-color:hsl(var(--primary));color:hsl(var(--primary-foreground));background:hsl(var(--primary))}.secondary-button,.button-row button,.todo-create-form button,.todo-actions button,.todo-edit-form button{background:hsl(var(--secondary))}button:disabled{opacity:.48;cursor:not-allowed}.today-record-card{justify-content:space-between;align-items:center;gap:16px;display:flex}.today-record-card div,.record-summary-card,.feedback-card,.section-heading,.todo-section,.history-panel,.records-card{gap:12px;display:grid}.app-notice{border:1px solid hsl(var(--primary) / .28);color:hsl(var(--foreground));background:#fdf3f2;border-radius:18px;gap:6px;padding:14px 16px;display:grid}.app-notice strong{font-size:.9rem;line-height:1.35}.app-notice p,.feedback-card p,.feedback-message{color:hsl(var(--muted-foreground));margin:0}.feedback-card{gap:14px}.supabase-sync-card,.supabase-sync-header,.supabase-auth-form,.supabase-authenticated,.supabase-user-summary{gap:12px;display:grid}.supabase-sync-header strong,.supabase-status-card strong,.supabase-user-summary strong{color:hsl(var(--foreground));font-size:.98rem;font-weight:800;line-height:1.35}.supabase-sync-header p,.supabase-status-card p,.supabase-help,.supabase-user-summary p{color:hsl(var(--muted-foreground));margin:0;font-size:.84rem;line-height:1.5}.supabase-status-card{border:1px dashed hsl(var(--border));background:hsl(var(--background));border-radius:18px;gap:8px;padding:14px;display:grid}.supabase-auth-form,.supabase-authenticated{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:22px;padding:14px}.supabase-field{gap:8px;display:grid}.supabase-field span{color:hsl(var(--foreground));font-size:.84rem;font-weight:700;line-height:1.35}.supabase-field input{border:1px solid hsl(var(--border));width:100%;min-width:0;color:hsl(var(--foreground));background:hsl(var(--card));box-sizing:border-box;border-radius:18px;padding:12px 14px;font-size:.92rem;line-height:1.45}.supabase-field input::placeholder{color:hsl(var(--muted-foreground) / .8)}.supabase-field input:focus{outline:3px solid hsl(var(--ring) / .22);outline-offset:2px}.supabase-actions{flex-wrap:wrap;gap:10px;display:flex}.supabase-inline-message{border-radius:16px;margin:0;padding:11px 13px;font-size:.84rem;line-height:1.45}.supabase-inline-message.info{color:hsl(var(--foreground));background:hsl(var(--secondary))}.supabase-inline-message.success{color:hsl(var(--success));background:#e8f7ee}.supabase-inline-message.error{color:hsl(var(--primary));background:#fdf3f2}.feedback-card strong{color:hsl(var(--foreground));font-size:.98rem;font-weight:800;line-height:1.35}.feedback-card button{justify-self:start}.feedback-message{background:hsl(var(--secondary));border-radius:14px;padding:10px 12px;font-size:.84rem;line-height:1.45}.timer-feedback-settings{gap:16px}.setting-row{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:18px;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.setting-row div{gap:3px;min-width:0;display:grid}.setting-row strong{color:hsl(var(--foreground));font-size:.92rem;line-height:1.35}.setting-row p{color:hsl(var(--muted-foreground));margin:0;font-size:.82rem;line-height:1.45}.setting-toggle{border:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));background:hsl(var(--secondary));cursor:pointer;border-radius:999px;flex:none;padding:8px 13px;font-size:.86rem;font-weight:800}.setting-toggle.active{border-color:hsl(var(--primary));color:hsl(var(--primary-foreground));background:hsl(var(--primary))}.completion-toast{z-index:20;border:1px solid hsl(var(--primary) / .3);width:min(360px,100% - 36px);color:hsl(var(--foreground));background:hsl(var(--card) / .94);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:20px;gap:3px;padding:14px 16px;display:grid;position:fixed;bottom:86px;right:50%;transform:translate(50%);box-shadow:0 18px 44px #4c382e2e}.completion-toast strong{font-size:.92rem;line-height:1.3}.completion-toast p{color:hsl(var(--muted-foreground));margin:0;font-size:.84rem;line-height:1.45}.today-record-card strong,.record-summary-card strong,.history-today-card strong{color:hsl(var(--foreground));letter-spacing:-.04em;font-size:1.48rem;font-weight:800;line-height:1.15;display:block}.record-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.record-summary-card{align-content:start;min-height:136px}.todo-toolbar,.todo-create-form,.todo-create-row,.todo-item,.todo-main,.todo-side,.todo-actions,.todo-edit-form,.todo-toggle,.session-item,.date-group-item{display:flex}.todo-toolbar{justify-content:space-between;align-items:center;gap:12px}.todo-create-form{gap:10px}.todo-create-card{border:1px solid hsl(var(--border));background:linear-gradient(135deg, hsl(var(--card)) 0%, #fdf7f6 100%);border-radius:24px;gap:14px;padding:16px;display:grid}.todo-create-copy{gap:4px;display:grid}.todo-create-copy strong{color:hsl(var(--foreground));font-size:.96rem;font-weight:800;line-height:1.35}.todo-create-copy p{color:hsl(var(--muted-foreground));margin:0;font-size:.84rem;line-height:1.5}.todo-create-row{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:999px;align-items:center;gap:10px;padding:6px;box-shadow:inset 0 1px #ffffffb8}.todo-create-form input,.todo-create-row input,.todo-edit-form input,.todo-edit-form textarea{border:1px solid hsl(var(--border));width:100%;min-width:0;max-width:100%;color:hsl(var(--foreground));background:hsl(var(--background));border-radius:18px;flex:1;padding:12px 14px;font-size:.92rem;line-height:1.45}.todo-edit-form textarea{overflow-wrap:anywhere;resize:none;min-height:92px;line-height:1.5}.todo-edit-form textarea[aria-invalid=true]{border-color:hsl(var(--primary) / .62);background:#fdf3f2}.form-error{color:hsl(var(--primary));margin:-2px 0 0;font-size:.78rem;font-weight:700;line-height:1.4}.todo-create-row input{background:0 0;border:0;border-radius:999px;padding:11px 13px}.todo-create-row input::placeholder{color:hsl(var(--muted-foreground) / .78)}.todo-create-row:focus-within{border-color:hsl(var(--primary) / .52);box-shadow:0 0 0 4px hsl(var(--ring) / .12), inset 0 1px 0 #ffffffb8}.todo-create-row button{border:1px solid hsl(var(--primary));color:hsl(var(--primary-foreground));background:hsl(var(--primary));cursor:pointer;border-radius:999px;flex:none;padding:10px 15px;font-size:.9rem;font-weight:800}.todo-create-row button:disabled{border-color:hsl(var(--border));color:hsl(var(--muted-foreground));background:hsl(var(--muted))}.todo-create-form input:focus,.todo-create-row input:focus,.todo-edit-form input:focus,.todo-edit-form textarea:focus,button:focus-visible{outline:3px solid hsl(var(--ring) / .22);outline-offset:2px}.todo-create-row input:focus{outline:0}.todo-list,.session-list,.date-group-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.todo-item{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:22px;justify-content:space-between;align-items:flex-start;gap:14px;min-width:0;padding:16px;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;position:relative;overflow:hidden}.todo-item:before{background:hsl(var(--border));content:"";width:4px;position:absolute;inset:0 auto 0 0}.todo-item.selected{border-color:hsl(var(--primary) / .55);box-shadow:inset 0 0 0 1px hsl(var(--primary) / .18)}.todo-item.is-running{border-color:hsl(var(--primary) / .62);background:#fdf3f2}.todo-item.is-running:before{background:hsl(var(--primary))}.todo-item.is-completed{background:hsl(var(--secondary))}.todo-item.is-completed:before{background:hsl(var(--success));opacity:.72}.todo-item.is-new{animation:.9s todo-added}.todo-main{flex:1;align-items:center;gap:10px;min-width:0}.todo-select-button{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;min-width:0;padding:0;display:inline-flex}.todo-title{margin:0;font-size:.94rem;font-weight:800;line-height:1.4}.todo-title.completed{color:hsl(var(--muted-foreground));text-decoration:line-through}@keyframes todo-added{0%{border-color:hsl(var(--primary) / .72);box-shadow:0 0 0 4px hsl(var(--primary) / .1);transform:translateY(-2px)}to{border-color:hsl(var(--border));box-shadow:none;transform:translateY(0)}}.todo-meta,.todo-side,.todo-edit-form{flex-direction:column}.todo-meta{align-items:flex-end;gap:2px}.todo-side{align-items:flex-end;gap:10px}.todo-meta strong{font-size:.88rem;line-height:1.25}.todo-toggle{flex:none;align-items:center;gap:8px}.todo-toggle input{width:18px;height:18px;accent-color:hsl(var(--primary));margin:0}.todo-edit-form{flex:1;gap:10px;width:100%;min-width:0;max-width:100%}.todo-edit-form .todo-actions{justify-content:flex-start}.todo-edit-form .todo-actions button{flex:88px}.status-badge{text-align:center;white-space:nowrap;border-radius:999px;flex:none;justify-content:center;align-items:center;min-width:52px;padding:4px 9px;font-size:.7rem;font-weight:800;line-height:1;display:inline-flex}.status-badge.done{color:hsl(var(--success));background:#e0f5e9}.status-badge.running{color:hsl(var(--primary));background:#fbeae9}.status-badge.pending{color:hsl(var(--muted-foreground));background:hsl(var(--muted))}.empty-state,.history-empty{border:1px dashed hsl(var(--border));background:hsl(var(--background));border-radius:22px;padding:22px}.empty-state{gap:8px;display:grid}.empty-state strong,.empty-state span{color:hsl(var(--foreground));line-height:1.45}.empty-state span{color:hsl(var(--muted-foreground));font-size:.86rem}.weekday-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.weekday-card{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:18px;grid-template-rows:auto 88px auto;justify-items:center;gap:8px;padding:12px 6px;display:grid}.weekday-card span,.weekday-card strong{font-size:.7rem;line-height:1.25}.weekday-bar-track{background:hsl(var(--muted));border-radius:999px;align-items:flex-end;width:18px;height:88px;display:flex;overflow:hidden}.weekday-bar-fill{background:hsl(var(--timer-fill));border-radius:999px;width:100%}.session-item,.date-group-item{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:20px;justify-content:space-between;gap:12px;padding:14px}.session-item div,.date-group-item div{gap:4px;display:grid}.danger-button{color:hsl(var(--primary));border-color:hsl(var(--primary) / .3);background:#fceeed}.bottom-tabbar{z-index:10;border:1px solid hsl(var(--border));background:hsl(var(--card) / .9);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:999px;grid-template-columns:repeat(2,minmax(0,1fr));width:min(360px,100% - 36px);padding:7px;display:grid;position:fixed;bottom:18px;right:50%;transform:translate(50%);box-shadow:0 16px 42px #4c382e29}.tabbar-button{color:hsl(var(--muted-foreground));cursor:pointer;background:0 0;border:0;border-radius:999px;padding:10px 14px;font-size:.9rem;font-weight:800}.tabbar-button.active{color:hsl(var(--primary-foreground));background:hsl(var(--primary))}.summary-grid,.active-task-section,.history-section,.app-header{display:none}@media (width<=560px){.app{padding-top:26px}.panel{border-radius:24px;padding:17px}.interactive-timer{width:min(280px,100vw - 76px);height:min(280px,100vw - 76px)}.today-record-card,.todo-toolbar,.todo-create-form,.todo-create-row,.todo-item,.todo-main,.todo-toggle{flex-direction:column;align-items:flex-start}.todo-side,.todo-meta{align-items:flex-start}.todo-edit-form,.todo-edit-form .todo-actions{width:100%}.todo-edit-form .todo-actions button{flex:120px}.todo-create-row{border-radius:22px}.setting-row{flex-direction:column;align-items:flex-start}.supabase-actions{flex-direction:column;width:100%}.supabase-actions button,.todo-create-row input,.todo-create-row button{width:100%}.record-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-summary-card{min-height:126px}.record-summary-card strong{font-size:1.22rem}.weekday-grid{gap:6px}}
