:root{color:#201c19;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f4efe5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:500;line-height:1.45}*{box-sizing:border-box}body{min-width:320px;min-height:100svh;margin:0}button,input,select,textarea{font:inherit}button:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #286aa147}img,svg{display:block}.app-shell{background:linear-gradient(180deg, var(--page-top), var(--page)), var(--page);min-height:100svh;color:var(--ink);grid-template-columns:72px minmax(0,1fr);display:grid}.theme-warm{--daruma-red:#f0182d;--page:#f4efe5;--page-top:#fbf6ed;--surface:#fffaf1;--surface-strong:#fff;--surface-muted:#eee4d5;--ink:#201c19;--muted:#6d6259;--faint:#94887b;--line:#dfd1c0;--line-strong:#cbb89f;--accent:#e11d2e;--accent-ink:#fff;--accent-soft:#ffe1e5;--accent-ring:#e11d2e33;--blue:#356c9a;--teal:#1f7f70;--gold:#a46b14;--slate:#68727d;--shadow:0 18px 45px #402a181f}.theme-cool{--daruma-red:#f0182d;--page:#e9f0f7;--page-top:#f5f9fc;--surface:#f9fcff;--surface-strong:#fff;--surface-muted:#dbe7f1;--ink:#172334;--muted:#5f6f82;--faint:#8492a5;--line:#ccd9e6;--line-strong:#afc1d2;--accent:#286aa1;--accent-ink:#fff;--accent-soft:#dcecf8;--accent-ring:#286aa133;--blue:#245d98;--teal:#147d8c;--gold:#957031;--slate:#5f6f82;--shadow:0 18px 45px #1c3e5e1f}.rail{border-right:1px solid var(--line);background:color-mix(in srgb, var(--surface) 92%, transparent);flex-direction:column;align-items:center;gap:18px;height:100svh;padding:18px 10px;display:flex;position:sticky;top:0}.brand-mark{border:1px solid color-mix(in srgb, var(--daruma-red) 32%, var(--surface-strong));background:var(--surface-strong);width:46px;height:46px;color:var(--daruma-red);box-shadow:0 0 0 6px var(--accent-ring);border-radius:50%;place-items:center;font-weight:900;display:grid}.daruma-logo{width:39px;height:39px}.daruma-body{fill:var(--daruma-red)}.daruma-face{fill:var(--surface-strong)}.daruma-gold{fill:none;stroke:var(--gold);stroke-linecap:round;stroke-width:3.2px}.daruma-eye{fill:var(--ink)}.daruma-spark{fill:var(--surface-strong)}.daruma-brow,.daruma-mark,.daruma-base{fill:none;stroke:var(--surface-strong);stroke-linecap:round;stroke-linejoin:round;stroke-width:3.8px}.daruma-mark{stroke:var(--ink);stroke-width:3px}.rail-nav{gap:10px;display:grid}.rail-item,.icon-action{width:42px;height:42px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;display:grid}.rail-item:hover,.icon-action:hover{border-color:var(--line);background:var(--surface-muted);color:var(--ink)}.rail-item.active{background:var(--accent);color:var(--accent-ink)}.rail .icon-action{margin-top:auto}.workspace{min-width:0;padding:22px 24px 30px}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.eyebrow{color:var(--accent);letter-spacing:0;text-transform:uppercase;margin:0 0 3px;font-size:12px;font-weight:850}h1,h2,p{margin-top:0}h1{letter-spacing:0;margin-bottom:0;font-size:31px;line-height:1.1}h2{letter-spacing:0;margin-bottom:10px;font-size:18px;line-height:1.18}.topbar-actions{align-items:center;gap:9px;display:flex}.search-button,.theme-toggle,.add-button{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 13px;font-size:14px;font-weight:750;display:inline-flex}.search-button input{width:140px;color:var(--ink);background:0 0;border:0;outline:0}.search-button input::placeholder{color:var(--muted)}.add-button{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}.search-button:hover,.theme-toggle:hover{border-color:var(--line-strong);background:var(--surface-strong)}.add-button:hover{filter:brightness(.96)}.content-grid{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:16px;display:grid}.primary-pane,.detail-pane,.month-view,.summary-panel,.filter-panel,.outlook-panel,.project-detail-panel,.focus-view,.tasks-view,.projects-view{min-width:0}.month-view,.summary-panel,.filter-panel,.outlook-panel,.project-detail-panel,.focus-view,.task-stack,.timeline{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:8px}.month-header{border-bottom:1px solid var(--line);grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:12px;padding:16px;display:grid}.month-header h2{margin-bottom:0;font-size:23px}.weekday-row{border-bottom:1px solid var(--line);background:var(--surface-muted);grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.weekday-row span{min-width:0;color:var(--muted);text-align:center;text-transform:uppercase;padding:10px 8px;font-size:12px;font-weight:850}.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.day-cell{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface);min-width:0;min-height:116px;color:var(--ink);text-align:left;cursor:pointer;flex-direction:column;gap:6px;padding:8px;display:flex}.day-cell:nth-child(7n){border-right:0}.day-cell:hover{background:var(--surface-strong);outline:2px solid var(--accent-ring);outline-offset:-2px}.day-cell.selected{background:var(--accent-soft);outline:2px solid var(--accent);outline-offset:-2px}.day-cell.today .day-number{background:var(--accent);color:var(--accent-ink)}.muted-day{background:color-mix(in srgb, var(--surface-muted) 58%, var(--surface));color:var(--faint)}.day-number{border-radius:50%;place-items:center;width:26px;height:26px;font-size:13px;font-weight:850;display:grid}.day-items{flex-direction:column;gap:4px;display:flex;overflow:hidden}.event-pill,.task-dot{color:#fff;text-overflow:ellipsis;white-space:nowrap;border-radius:4px;padding:3px 5px;font-size:11px;font-weight:750;line-height:1.25;display:block;overflow:hidden}.event-pill.blue,.timeline-item.blue{--item-color:var(--blue)}.event-pill.teal,.timeline-item.teal{--item-color:var(--teal)}.event-pill.red,.timeline-item.red{--item-color:var(--accent)}.event-pill.gold,.timeline-item.gold{--item-color:var(--gold)}.event-pill.slate,.timeline-item.slate{--item-color:var(--slate)}.event-pill{background:var(--item-color)}.task-dot{background:color-mix(in srgb, var(--ink) 82%, var(--surface))}.detail-pane{gap:14px;display:grid}.summary-panel,.filter-panel,.quick-add-panel,.task-detail-panel,.outlook-panel,.project-detail-panel,.focus-view,.tasks-view,.projects-view{padding:16px}.quick-add-panel,.task-detail-panel,.outlook-panel,.project-detail-panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:8px}.quick-add-row{grid-template-columns:minmax(0,1fr) 42px;gap:8px;display:grid}.quick-add-row input,.task-detail-panel input,.task-detail-panel select,.task-detail-panel textarea,.project-detail-panel input,.project-detail-panel select,.project-detail-panel textarea{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-height:40px;color:var(--ink);border-radius:8px;padding:0 11px}.task-detail-panel textarea,.project-detail-panel textarea{resize:vertical;padding-top:9px}.quick-add-row input:focus,.task-detail-panel input:focus,.task-detail-panel select:focus,.task-detail-panel textarea:focus,.project-detail-panel input:focus,.project-detail-panel select:focus,.project-detail-panel textarea:focus{border-color:var(--accent);outline:3px solid var(--accent-ring)}.quick-add-row button{border:1px solid var(--accent);background:var(--accent);width:42px;height:40px;color:var(--accent-ink);cursor:pointer;border-radius:8px;place-items:center;display:grid}.task-detail-panel,.project-detail-panel{gap:12px;display:grid}.task-detail-panel label,.project-detail-panel label{color:var(--muted);text-transform:uppercase;gap:6px;font-size:12px;font-weight:850;display:grid}.field-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.outlook-panel{gap:12px;display:grid}.outlook-panel p:not(.eyebrow){color:var(--muted);margin-bottom:0;font-size:12px;font-weight:700}.outlook-actions,.button-row{gap:8px;display:flex}.outlook-actions button,.danger-action{border:1px solid var(--line);background:var(--surface-strong);min-height:38px;color:var(--ink);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 11px;font-weight:800;display:inline-flex}.outlook-actions button:first-child{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}.outlook-actions button:disabled{cursor:not-allowed;opacity:.55}.danger-action{width:44px;color:var(--accent)}.wide-action{border:1px solid var(--accent);background:var(--accent-soft);min-height:42px;color:var(--accent);cursor:pointer;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:8px;font-weight:850;display:inline-flex}.checklist-block{gap:8px;display:grid}.checklist-block h3{color:var(--muted);text-transform:uppercase;margin:0;font-size:12px;font-weight:850}.check-row{border:1px solid var(--line);background:var(--surface-strong);min-height:34px;color:var(--ink);text-align:left;cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.check-row.complete{opacity:.66;text-decoration:line-through}.summary-stats{grid-template-columns:1fr 1fr;gap:8px;margin:12px 0;display:grid}.summary-stats span{border:1px solid var(--line);min-height:38px;color:var(--muted);border-radius:8px;align-items:center;gap:7px;padding:0 10px;font-size:13px;font-weight:800;display:flex}.focus-view,.tasks-view{gap:14px;display:grid}.focus-hero{background:linear-gradient(135deg, var(--accent-soft), transparent 68%), var(--surface-strong);border-radius:8px;justify-content:space-between;align-items:center;gap:14px;min-height:128px;padding:18px;display:flex}.focus-hero h2{margin-bottom:0;font-size:28px}.focus-ring{border:9px solid var(--accent);background:var(--surface);border-radius:50%;place-items:center;width:94px;height:94px;display:grid}.focus-ring strong{font-size:26px;line-height:1;display:block}.focus-ring span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800;display:block}.timeline,.task-stack{padding:14px}.timeline.compact,.task-stack.compact{box-shadow:none;background:0 0;border:0;padding:0}.timeline-item,.task-item{border-bottom:1px solid var(--line);grid-template-columns:24px minmax(0,1fr) auto auto;align-items:center;gap:9px;min-height:54px;padding:10px 0;display:grid}.task-item.selected{background:var(--accent-soft);box-shadow:0 0 0 8px var(--accent-soft);border-radius:8px}.timeline-item{grid-template-columns:22px minmax(0,1fr) auto}.timeline-item svg{color:var(--item-color)}.timeline-item a{color:var(--muted)}.timeline-item:last-child,.task-item:last-child{border-bottom:0}.timeline-item strong,.task-item strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.25;display:block;overflow:hidden}.timeline-item span,.task-item span,.project-card p,.project-meta,.empty-copy{color:var(--muted);font-size:12px;font-weight:650}.task-item svg{color:var(--accent)}.task-check,.task-main{color:inherit;cursor:pointer;background:0 0;border:0}.task-check{place-items:center;width:24px;height:24px;padding:0;display:grid}.task-main{text-align:left;min-width:0;padding:0;display:block}.task-delete{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.task-delete:hover{background:var(--surface-muted);color:var(--accent)}.filter-tabs{flex-wrap:wrap;gap:8px;display:flex}.filter-tabs button{border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--ink);cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:0 11px;font-weight:800;display:inline-flex}.filter-tabs button.active,.filter-list button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.filter-tabs strong{color:var(--accent)}.task-item b{background:var(--accent-soft);min-width:26px;height:26px;color:var(--accent);border-radius:50%;place-items:center;font-size:12px;display:grid}.task-item.complete{opacity:.68}.task-item.complete strong{text-decoration:line-through}.projects-view{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.project-card{border:1px solid var(--line);border-left:6px solid var(--project-color);background:var(--surface);min-height:150px;box-shadow:var(--shadow);border-radius:8px;flex-direction:column;justify-content:space-between;padding:15px;display:flex}.project-card.red{--project-color:var(--accent)}.project-card.blue{--project-color:var(--blue)}.project-card.teal{--project-color:var(--teal)}.project-card.gold{--project-color:var(--gold)}.project-card.slate{--project-color:var(--slate)}.project-card.selected{outline:2px solid var(--accent);outline-offset:-2px}.project-main{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.project-card h2{margin-bottom:5px}.project-progress{background:var(--surface-muted);border-radius:999px;height:8px;overflow:hidden}.project-progress span{border-radius:inherit;background:var(--project-color);height:100%;display:block}.project-meta{justify-content:space-between;align-items:center;gap:8px;display:flex}.project-meta button{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.project-meta button:hover{background:var(--surface-muted);color:var(--accent)}.panel-heading{align-items:center;gap:8px;margin-bottom:12px;display:flex}.panel-heading h2{margin-bottom:0}.filter-list{gap:8px;display:grid}.filter-list button{border:1px solid var(--line);background:var(--surface-strong);min-height:42px;color:var(--ink);font:inherit;cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:0 12px;font-size:14px;font-weight:750;display:flex}.filter-list button:hover{border-color:var(--accent)}.filter-list strong{color:var(--accent)}.bottom-nav{display:none}@media (width<=980px){.app-shell{padding-bottom:74px;display:block}.rail{display:none}.workspace{padding:16px 12px 22px}.topbar{align-items:flex-start}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.search-button span{display:none}.search-button input{width:92px}.content-grid{grid-template-columns:1fr}.detail-pane{order:-1}.summary-panel{display:none}.detail-pane,.projects-view{grid-template-columns:1fr}.bottom-nav{inset-inline:0;z-index:20;border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface) 96%, transparent);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;box-shadow:0 -10px 30px #00000014}.bottom-item{min-width:0;height:66px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;place-items:center;gap:3px;font-size:11px;font-weight:800;display:grid}.bottom-item.active{color:var(--accent)}}@media (width<=720px){h1{font-size:26px}.theme-toggle span,.add-button span{display:none}.theme-toggle,.add-button,.search-button{width:40px;padding:0}.search-button input{width:0;display:none}.month-header{padding:12px}.month-header h2{font-size:20px}.weekday-row span{padding:8px 3px;font-size:10px}.day-cell{min-height:82px;padding:5px}.day-number{width:22px;height:22px;font-size:12px}.event-pill,.task-dot{padding:2px 4px;font-size:9px}.focus-hero{min-height:108px;padding:14px}.focus-hero h2{font-size:22px}.focus-ring{border-width:7px;width:78px;height:78px}.field-grid{grid-template-columns:1fr}.outlook-actions,.button-row{flex-wrap:wrap}}
