*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(135deg,#f8fafc,#eef2ff);color:#0f172a}body{padding:24px}.app-shell{max-width:1180px;margin:0 auto}.hero{background:#fff;border:1px solid #e2e8f0;border-radius:28px;padding:34px;display:flex;justify-content:space-between;gap:24px;align-items:flex-end;box-shadow:0 14px 40px rgba(15,23,42,.06)}.eyebrow{font-size:12px;letter-spacing:.22em;font-weight:800;color:#64748b}.hero h1{font-size:clamp(38px,6vw,68px);line-height:.98;margin:12px 0}.hero p{max-width:680px;color:#64748b;font-size:17px}.header-stats{display:flex;gap:14px}.header-stats div{min-width:90px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:12px 16px}.header-stats strong{display:block;font-size:28px}.header-stats span{font-size:12px;color:#64748b}.grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;margin-top:20px}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:28px;padding:24px;box-shadow:0 14px 40px rgba(15,23,42,.05)}.panel-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.panel h2{margin:0;font-size:23px}.panel p{margin:6px 0 0;color:#64748b}.mode-row,.action-row,.sort-row,.task-input-row,.custom-row,.note-actions,.energy-buttons,.presets{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.mode-row{margin:18px 0}.mode-btn,.presets button,.energy-buttons button,.action-row button,.custom-row button,.sort-row select{border:1px solid #cbd5e1;background:#fff;border-radius:12px;padding:10px 13px;cursor:pointer}.mode-btn.active,.selected{background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}.pill,.local-badge{font-size:12px;padding:7px 10px;border-radius:999px;background:#f1f5f9;color:#475569}.presets{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:14px}.presets button{text-align:left}.custom-row{padding:14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px}.custom-row label{font-size:12px;color:#64748b}.custom-row input,.task-input-row input,.task-input-row select,.sort-row select{display:block;border:1px solid #cbd5e1;border-radius:11px;padding:10px;background:#fff;color:#0f172a}.timer-card{background:#111827;color:#fff;border-radius:24px;padding:34px;text-align:center;margin:16px 0}.timer-caption{font-size:11px;letter-spacing:.25em;color:#94a3b8}.timer-card #timerDisplay{font-size:clamp(58px,9vw,92px);font-weight:750;letter-spacing:-.05em;font-variant-numeric:tabular-nums;margin:8px 0 14px}.progress-track{height:10px;background:#334155;border-radius:99px;overflow:hidden}.progress-track div{height:100%;width:0;background:#fff;border-radius:99px;transition:width .2s}.primary{background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}.ghost-btn{background:transparent;border:1px solid #cbd5e1;border-radius:12px;padding:10px 13px;cursor:pointer}.action-row{margin-bottom:16px}.helper-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.helper-grid article{padding:15px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.helper-grid span,.energy-title{font-size:11px;font-weight:800;letter-spacing:.14em;color:#64748b}.helper-grid p{color:#0f172a}.link-btn{background:none;border:0;padding:0;margin-top:8px;color:#334155;text-decoration:underline;cursor:pointer}.energy{margin-top:12px;padding:15px;border:1px solid #e2e8f0;border-radius:18px;background:#fff}.energy-buttons{margin-top:10px}.energy-buttons button{font-size:12px}.task-input-row{margin:18px 0 12px;display:grid;grid-template-columns:1fr 100px 145px 46px}.task-input-row input,.task-input-row select{width:100%}.task-input-row button{border:0;border-radius:12px;background:#0f172a;color:#fff;font-size:22px;height:42px;cursor:pointer}.sort-row{justify-content:space-between;color:#64748b;font-size:12px;margin-bottom:12px}.sort-row label{display:flex;gap:7px;align-items:center}.task-list{display:flex;flex-direction:column;gap:8px;max-height:430px;overflow:auto}.task-item{border:1px solid #e2e8f0;border-radius:18px;padding:13px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:start}.task-check{width:20px;height:20px;margin-top:3px}.task-title{font-weight:650}.task-item.done .task-title{text-decoration:line-through;color:#94a3b8}.task-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.meta{font-size:11px;padding:4px 7px;border-radius:999px;background:#f1f5f9;color:#475569}.meta.overdue{background:#fee2e2;color:#991b1b}.meta.today{background:#ffedd5;color:#9a3412}.task-delete,.note-delete{border:0;background:transparent;color:#94a3b8;cursor:pointer}.notes-panel{margin-top:20px}.note-input-row{display:grid;grid-template-columns:1fr auto;gap:12px;margin-top:16px}.note-input-row textarea{resize:vertical;border:1px solid #cbd5e1;border-radius:16px;padding:13px;font:inherit}.note-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:14px}.note-card{border:1px solid #e2e8f0;border-radius:18px;padding:15px;background:#fffbeb;min-height:90px;position:relative}.note-card p{white-space:pre-wrap;color:#334155;padding-right:24px}.note-delete{position:absolute;right:10px;top:10px}footer{display:flex;justify-content:space-between;gap:12px;padding:18px 4px;color:#64748b;font-size:12px}.danger-link{border:0;background:transparent;color:#b91c1c;cursor:pointer}.focus-only .tasks-panel,.focus-only .notes-panel,.focus-only footer,.focus-only .hero .header-stats{display:none}.focus-only .grid{grid-template-columns:1fr}.focus-only .timer-panel{min-height:calc(100vh - 80px)}@media(max-width:900px){body{padding:12px}.grid{grid-template-columns:1fr}.hero{align-items:flex-start;flex-direction:column}.header-stats{width:100%}.header-stats div{flex:1}.presets{grid-template-columns:repeat(2,1fr)}.task-input-row{grid-template-columns:1fr 100px}.task-input-row input[type=date]{grid-column:1}.task-input-row button{grid-column:2;grid-row:2}.helper-grid{grid-template-columns:1fr}.note-input-row{grid-template-columns:1fr}.note-actions{justify-content:flex-end}footer{flex-direction:column}}