@import "https://fonts.googleapis.com/css2?family=Fraunces:wght@500&family=Inter:wght@400;500&family=IBM+Plex+Mono:wght@400;500&display=swap";html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-font-smoothing:antialiased}#root{min-height:100svh}:root{--ink:#1b1f3b;--bg:#f7f8fc;--accent:#5b5fef;--urgent-bg:#fdecdc;--urgent-text:#8a4b12;--success-bg:#e4f4ec;--success-text:#1e6b45;--border:#e4e6f1;--muted:#8a8fa3}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Inter,sans-serif}.app-shell{flex-direction:column;max-width:480px;min-height:100vh;margin:0 auto;display:flex}.tab-bar{gap:6px;padding:16px 16px 0;display:flex}.tab{color:var(--muted);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;flex:1;padding:10px 0;font-size:14px;font-weight:500}.tab--active{color:var(--ink);border-bottom:2px solid var(--accent)}.app-content{flex:1;padding:16px}.panel-title{margin:4px 0 2px;font-family:Fraunces,serif;font-size:24px;font-weight:500}.panel-subtitle{color:var(--muted);margin:0 0 16px;font-size:13px}.panel-error{color:#791f1f;background:#fcebeb;border-radius:8px;margin-bottom:12px;padding:8px 12px;font-size:13px}.reminder-list,.project-list{flex-direction:column;gap:8px;margin-bottom:20px;display:flex}.reminder-card,.project-card{border:.5px solid var(--border);background:#fff;border-radius:12px;padding:12px 14px}.reminder-card{flex-direction:column;gap:8px;display:flex}.reminder-card-main{justify-content:space-between;align-items:center;display:flex}.reminder-card--done .reminder-title{color:var(--muted);text-decoration:line-through}.reminder-title{margin:0 0 4px;font-size:14px}.reminder-due{color:var(--muted);margin:0;font-family:IBM Plex Mono,monospace;font-size:11px}.reminder-toggle{border:1px solid var(--border);cursor:pointer;width:28px;height:28px;color:var(--accent);background:#fff;border-radius:50%;font-size:14px}.reminder-snooze{gap:6px;display:flex}.reminder-snooze-btn{border:.5px solid var(--border);color:var(--muted);cursor:pointer;background:0 0;border-radius:14px;padding:4px 10px;font-size:11px}.reminder-snooze-btn:hover{color:var(--accent);border-color:var(--accent)}.capture-mic{border:.5px solid var(--border);cursor:pointer;background:#fff;border-radius:50%;flex-shrink:0;width:44px;height:44px;font-size:16px}.capture-mic--active{background:var(--urgent-bg);border-color:var(--urgent-text);color:var(--urgent-text);animation:1.2s infinite pulse}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.notif-banner{color:#3c3489;background:#eeedfe;border-radius:10px;align-items:center;gap:10px;margin-bottom:16px;padding:10px 12px;font-size:12px;display:flex}.notif-enable{background:var(--accent);color:#fff;cursor:pointer;white-space:nowrap;border:none;border-radius:14px;padding:6px 12px;font-size:12px;font-weight:500}.empty-state{color:var(--muted);text-align:center;padding:24px 0;font-size:13px}.capture-bar{gap:8px;display:flex;position:sticky;bottom:16px}.capture-input{border:.5px solid var(--border);color:var(--ink);background:#fff;border-radius:24px;flex:1;padding:12px 16px;font-size:14px}.capture-input:focus{border-color:var(--accent);outline:none}.capture-submit{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:24px;padding:0 18px;font-size:14px;font-weight:500}.capture-submit:disabled{opacity:.5;cursor:not-allowed}.capture-error{color:#a32d2d;margin:0 0 6px;font-size:12px}.capture-info{color:var(--muted);margin:0 0 6px;font-size:12px}.reminder-card--pending{opacity:.6}.project-card-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.project-title{margin:0;font-size:14px;font-weight:500}.project-status{color:#3c3489;background:#eeedfe;border-radius:20px;padding:4px 10px;font-size:11px;font-weight:500}.project-deadline{color:var(--muted);margin:0 0 8px;font-size:12px}.project-advance{border:.5px solid var(--border);color:var(--accent);cursor:pointer;background:0 0;border-radius:16px;padding:6px 12px;font-size:12px}.project-create{flex-wrap:wrap;gap:8px;display:flex}.project-create-type{flex:1;min-width:100px}.project-progress{color:var(--muted);margin:0 0 8px;font-size:11px}.project-actions{gap:8px;display:flex}.project-toggle-checklist{border:.5px solid var(--border);color:var(--muted);cursor:pointer;background:0 0;border-radius:16px;padding:6px 12px;font-size:12px}.checklist{border-top:.5px solid var(--border);flex-direction:column;gap:6px;margin-top:12px;padding-top:12px;display:flex}.checklist-item{align-items:center;gap:8px;display:flex}.checklist-item--done .checklist-title{color:var(--muted);text-decoration:line-through}.checklist-check{border:1px solid var(--border);cursor:pointer;width:22px;height:22px;color:var(--accent);background:#fff;border-radius:50%;flex-shrink:0;padding:0;font-size:12px}.checklist-title{flex:1;font-size:13px}.checklist-due{color:var(--muted);font-family:IBM Plex Mono,monospace;font-size:11px}.checklist-remove{color:var(--muted);cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:16px}.checklist-remove:hover{color:#a32d2d}.project-generate{background:var(--success-bg);color:var(--success-text);cursor:pointer;border:none;border-radius:16px;margin-top:6px;padding:8px 12px;font-size:12px;font-weight:500}.project-generate:disabled{opacity:.5;cursor:not-allowed}.checklist-add{gap:8px;margin-top:4px;display:flex}.empty-state--small{padding:8px 0}.capture-wrap{flex-direction:column;display:flex;position:sticky;bottom:16px}.capture-wrap .capture-bar{position:static}.capture-manual{color:var(--muted);align-items:center;gap:8px;margin-bottom:8px;font-size:12px;display:flex}.capture-date{border:.5px solid var(--border);font:inherit;color:var(--ink);background:#fff;border-radius:10px;padding:6px 10px}@media (width>=768px){.app-shell{max-width:640px;padding-top:24px}}.capture-wrap{bottom:calc(16px + env(safe-area-inset-bottom,0px))}.app-content{padding-left:max(16px, env(safe-area-inset-left,0px));padding-right:max(16px, env(safe-area-inset-right,0px));padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}@media (width<=767px){input,select,textarea{font-size:16px}.reminder-toggle{width:40px;height:40px;font-size:16px}.reminder-snooze-btn{padding:8px 12px;font-size:12px}.checklist-check{width:32px;height:32px;font-size:14px}.checklist-remove{padding:8px 12px;font-size:20px}.project-advance,.project-toggle-checklist,.project-generate,.notif-enable{padding:10px 14px}.capture-mic{width:48px;height:48px}.capture-submit{min-height:48px}.project-create-deadline{flex:100%}}.capture-input,.capture-date{min-width:0;max-width:100%}.capture-input{width:100%}.project-create>.capture-input:first-child{flex:100%}.project-create-type{flex:120px}.project-create-deadline{flex:140px}.capture-bar .capture-input,.checklist-add .capture-input{flex:1 1 0}.notif-banner{flex-wrap:wrap}.notif-banner .capture-error{flex-basis:100%}.reminder-card-main>*,.project-card-header>*,.checklist-item>*{min-width:0}.reminder-title,.project-title,.checklist-title{overflow-wrap:anywhere}.reminder-snooze,.project-actions{flex-wrap:wrap}.app-shell{overflow-x:clip}.rt-subnav{border:.5px solid var(--border);background:#fff;border-radius:12px;gap:6px;margin-bottom:16px;padding:4px;display:flex}.rt-subtab{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:9px;flex:1;padding:8px 4px;font-size:13px;font-weight:500}.rt-subtab--active{background:var(--accent);color:#fff}.rt-link{color:var(--accent);cursor:pointer;background:0 0;border:none;padding:8px 4px;font-size:13px;text-decoration:underline}.rt-progress{margin-bottom:16px}.rt-progress-text{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;font-size:13px;display:flex}.rt-bar{background:var(--border);border-radius:4px;height:8px;overflow:hidden}.rt-bar-fill{background:var(--accent);border-radius:4px;height:100%;transition:width .25s}.rt-badge{border-radius:10px;padding:2px 8px;font-size:11px}.rt-badge--ok{background:var(--success-bg);color:var(--success-text)}.rt-group{margin-bottom:8px}.rt-group-title{margin:8px 0;font-family:Fraunces,serif;font-size:16px;font-weight:500}.rt-task{flex-direction:row;align-items:center;gap:12px}.rt-task-body{flex:1;min-width:0}.rt-task-title{overflow-wrap:anywhere;margin:0;font-size:14px}.rt-task-meta{color:var(--muted);flex-wrap:wrap;gap:4px 10px;margin:2px 0 0;font-size:11px;display:flex}.rt-task-meta:empty{display:none}.rt-task--done .rt-task-title{color:var(--muted);text-decoration:line-through}.rt-task--missed,.rt-task--carried{opacity:.7}.rt-check{border:1.5px solid var(--accent);color:#fff;cursor:pointer;background:#fff;border-radius:50%;flex-shrink:0;width:36px;height:36px;padding:0;font-size:16px}.rt-check--done{background:var(--accent)}.rt-review-toggle{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:24px;width:100%;margin:8px 0 16px;padding:14px;font-size:14px;font-weight:500}.rt-review{background:#eeedfe;border-radius:12px;padding:4px 12px 12px}.rt-btn-ok{color:var(--success-text);border-color:var(--success-text)}.rt-btn-danger{color:#a32d2d;border-color:#a32d2d}.rt-verdict{margin:8px 0 0;font-size:14px}.rt-verdict--ok{color:var(--success-text);font-weight:500}.rt-verdict-list{color:var(--muted);margin-top:6px;font-size:13px}.rt-week{grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:16px;display:grid}.rt-day{border:.5px solid var(--border);background:#fff;border-radius:10px;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:8px 0;display:flex}.rt-day-label{color:var(--muted);font-size:11px}.rt-day-mark{font-size:12px;font-weight:500}.rt-day--ok{background:var(--success-bg);color:var(--success-text)}.rt-day--ko{background:var(--urgent-bg);color:var(--urgent-text)}.rt-day--today{outline:2px solid var(--accent)}.rt-stats{gap:4px;margin-bottom:16px;font-size:14px}.rt-missed-row{flex-direction:row;justify-content:space-between;align-items:center;gap:8px}.rt-form{gap:12px;margin-bottom:20px}.rt-field{flex-direction:column;gap:6px;display:flex}.rt-label{color:var(--muted);font-size:12px}.rt-chips{flex-wrap:wrap;gap:6px;display:flex}.rt-chip{border:.5px solid var(--border);color:var(--ink);cursor:pointer;background:#fff;border-radius:18px;padding:8px 14px;font-size:13px}.rt-chip--day{border-radius:50%;width:40px;height:40px;padding:0}.rt-chip--on{background:var(--accent);border-color:var(--accent);color:#fff}.rt-presets{gap:8px;display:flex}.rt-important{align-items:center;gap:8px;font-size:13px;display:flex}.rt-important input{flex-shrink:0;width:20px;height:20px}.rt-form-actions{align-items:center;gap:10px;display:flex}.rt-form-actions .capture-submit{padding:12px 22px}.rt-manage-card{gap:10px}.rt-manage-card--paused{opacity:.55}.rt-settings-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;display:grid}.rt-setting{flex-direction:column;gap:4px;min-width:0;display:flex}.rt-setting .capture-input{border-radius:10px}@media (width<=767px){.rt-subtab{padding:10px 4px}.rt-link{padding:10px 6px}}.rt-offline{color:#7a5200;background:#fff6e0;border-radius:8px;margin:0 0 12px;padding:8px 12px;font-size:12px}.rt-task-wrap{flex-direction:column;gap:6px;min-width:0;display:flex}.rt-task .reminder-snooze-btn{flex-shrink:0}.wk-panel{border:.5px solid var(--border);background:#f1f4ff;border-radius:12px;padding:12px}.wk-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.wk-title{margin:0;font-family:Fraunces,serif;font-size:16px;font-weight:500}.wk-exercise{margin-bottom:14px}.wk-exercise-name{overflow-wrap:anywhere;margin:0 0 6px;font-size:14px;font-weight:500}.wk-target{color:var(--muted);margin-left:6px;font-size:12px;font-weight:400}.wk-sets-head,.wk-set{grid-template-columns:minmax(64px,1.2fr) 1fr 1fr 40px;align-items:center;gap:6px;display:grid}.wk-sets-head{color:var(--muted);margin-bottom:2px;font-size:11px}.wk-set{margin-bottom:6px}.wk-set-label{flex-direction:column;min-width:0;font-size:12px;display:flex}.wk-prev{color:var(--muted);font-size:10px}.wk-input{text-align:center;border-radius:10px;padding:8px 10px}.wk-check{width:40px;height:40px}.wk-set--done .wk-input{background:var(--success-bg)}.wk-done{color:var(--success-text);align-items:center;gap:12px;font-size:14px;font-weight:500;display:flex}.wk-edit-row{border-bottom:.5px solid var(--border);grid-template-columns:1fr 1fr auto;align-items:end;gap:8px;padding-bottom:10px;display:grid}.wk-edit-name{grid-column:1/-1}@media (width<=767px){.rt-subtab{font-size:12px}}.login-card{flex-direction:column;gap:12px;padding:48px 16px;display:flex}.login-card .panel-subtitle{margin:0}.login-submit{min-height:48px;padding:14px 18px}.logout-link{color:var(--muted);margin:24px auto 0;display:block}
