:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100svh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{width:min(1180px,100%);margin:0 auto;padding:24px}.topbar{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:20px;display:flex}.eyebrow{color:#64748b;letter-spacing:0;text-transform:uppercase;margin:0 0 4px;font-size:.82rem;font-weight:700}h1,h2,h3,p{margin-top:0}h1{color:#111827;letter-spacing:0;margin-bottom:0;font-size:clamp(1.8rem,4vw,3rem);line-height:1.1}h2{color:#111827;letter-spacing:0;margin-bottom:12px;font-size:1.18rem}h3{color:#111827;letter-spacing:0;margin-bottom:8px;font-size:1rem}.tabs{background:#fff;border:1px solid #d8dee8;border-radius:8px;gap:4px;min-width:280px;padding:4px;display:inline-flex}.tabs button{color:#475569;background:0 0;border:0;border-radius:6px;flex:1;min-height:38px}.tabs button.active{color:#fff;background:#2563eb}.screen-grid,.schedule-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:16px;display:grid}.panel,.focus-panel{background:#fff;border:1px solid #d8dee8;border-radius:8px;box-shadow:0 1px 2px #0f172a0d}.panel{padding:18px}.focus-panel{border-left:6px solid #2563eb;padding:22px;position:sticky;top:16px}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.panel-heading h2{margin-bottom:0}.clock,.panel-heading span{color:#64748b;font-size:.9rem}.field{color:#334155;gap:6px;margin-bottom:12px;font-size:.9rem;font-weight:700;display:grid}input,select,textarea{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:6px;width:100%;min-height:42px;padding:8px 10px}textarea{resize:vertical;line-height:1.5}input:focus,select:focus,textarea:focus,button:focus-visible{outline-offset:2px;outline:3px solid #2563eb33}.form-row{grid-template-columns:1fr 150px;gap:10px;display:grid}.task-form{border-top:1px solid #e2e8f0;margin-top:16px;padding-top:16px}.bulk-input{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-top:16px;padding:14px}.panel-heading.compact{margin-bottom:8px}.panel-heading.compact h2{font-size:1rem}.primary,.secondary,.ghost,.progress-actions button{border-radius:6px;min-height:40px;padding:8px 12px;font-weight:700}.primary{color:#fff;background:#2563eb;border:1px solid #1d4ed8}.secondary{color:#1f2937;background:#f8fafc;border:1px solid #cbd5e1}.ghost{color:#64748b;background:0 0;border:0}.action-row,.progress-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.task-list,.timeline,.log-list{gap:10px;display:grid}.task-row,.timeline-item,.log-row,.carry-row{background:#fff;border:1px solid #e2e8f0;border-left-width:5px;border-radius:8px;gap:8px;padding:12px;display:grid}.task-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:center}.check-row{align-items:center;gap:10px;min-width:0;font-weight:700;display:flex}.check-row input{width:18px;min-height:18px}.check-row span{overflow-wrap:anywhere}.task-meta{color:#64748b;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;font-size:.86rem;display:flex}.badge{color:#111827;background:#eef2ff;border-radius:999px;padding:3px 8px;font-weight:700}.priority-must{border-left-color:#dc2626}.priority-should{border-left-color:#2563eb}.priority-could{border-left-color:#16a34a}.priority-fun{border-left-color:#d97706}.priority-break{background:#f8fafc;border-left-color:#94a3b8}.focus-panel h2{overflow-wrap:anywhere;margin-bottom:10px;font-size:clamp(1.7rem,4vw,2.5rem);line-height:1.1}.focus-meta{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.focus-meta span,.next-task,.notice,.warning{color:#1e40af;background:#eff6ff;border-radius:6px;padding:8px 10px;font-weight:700}.warning{color:#9a3412;background:#fff7ed}.notice{color:#166534;background:#ecfdf5;margin-top:14px}.timeline-item{grid-template-columns:132px minmax(0,1fr) 56px auto;align-items:center}.timeline-item.active{background:#eff6ff;border-color:#93c5fd #93c5fd #93c5fd #2563eb}.timeline-item.completed{opacity:.72}.timeline-main{align-items:center;gap:10px;display:grid}.timeline-main.task{grid-template-columns:24px 22px minmax(0,1fr)}.timeline-main.break{grid-template-columns:24px minmax(0,1fr)}.timeline-main input{width:18px;min-height:18px}.drag-handle{color:#64748b;cursor:grab;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;width:24px;min-height:32px;padding:0;font-weight:800;line-height:1}.drag-handle:active{cursor:grabbing}.timeline-item.dragging{opacity:.46}.timeline-item.drop-target{background:#dbeafe;border-color:#2563eb}.timeline-item strong,.timeline-item span,.log-row span{overflow-wrap:anywhere;display:block}.timeline-item time,.timeline-item span,.carry-row span:last-child{color:#64748b;font-size:.88rem}.timeline-item b{text-align:right}.timeline-controls{justify-content:flex-end;gap:4px;display:inline-flex}.timeline-controls button{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:6px;width:34px;min-height:34px;font-weight:800}.progress-panel{background:#fffbeb;border:1px solid #f59e0b;border-radius:8px;margin-top:18px;padding:14px}.progress-actions button{color:#7c2d12;background:#fff;border:1px solid #d97706;flex:150px}.carry-over{border-top:1px solid #e2e8f0;margin-top:18px;padding-top:16px}.carry-row{grid-template-columns:minmax(0,1fr) auto auto;margin-top:8px}.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.metric{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:14px}.metric span,.metric strong{display:block}.metric span{color:#64748b;font-size:.85rem}.metric strong{color:#111827;margin-top:4px;font-size:1.35rem}.empty{color:#64748b;margin:0}@media (width<=820px){.app-shell{padding:14px}.topbar,.screen-grid,.schedule-layout{grid-template-columns:1fr}.topbar{align-items:stretch;display:grid}.tabs{width:100%;min-width:0}.focus-panel{position:static}.form-row,.task-row,.timeline-item,.carry-row,.summary-grid{grid-template-columns:1fr}.timeline-item b{text-align:left}.timeline-controls,.task-meta{justify-content:flex-start}}
