:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#e8eaed;background:#0a0a0f}*{box-sizing:border-box}body{margin:0;min-width:0;min-height:100vh;background:#0a0a0f}button,input,textarea,select{font:inherit}button{border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:.5rem .85rem;color:#c9cdd3;background:#ffffff0a;cursor:pointer;font-size:.85rem;transition:background .15s,border-color .15s}button:hover{background:#ffffff14}button.active{background:#5865f2;border-color:#5865f2;color:#fff}input,textarea{width:100%;margin-top:.35rem;border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:.6rem .75rem;color:#f0f2f5;background:#ffffff0a;font-size:.875rem}textarea{resize:vertical}code{display:block;white-space:pre-wrap;word-break:break-word;font-size:.8rem;color:#9ca3af;margin-top:.25rem}.shell{display:flex;flex-direction:column;gap:.75rem;padding:1.25rem 1.5rem;max-width:1600px;margin:0 auto}.topbar,.toolbar,.lane,.detail-panel,.card,.summary-card,.automation-table-wrap,.health-card{background:#ffffff06;border:1px solid rgba(255,255,255,.06);border-radius:12px}.topbar{display:flex;justify-content:space-between;align-items:center;padding:.85rem 1.1rem}.topbar h1{margin:0;font-size:1.15rem;font-weight:600}.topbar-actions{display:flex;gap:.75rem;align-items:center}.status{color:#6b7280;font-size:.8rem}.eyebrow{margin:0 0 .25rem;text-transform:uppercase;font-size:.65rem;letter-spacing:.14em;color:#6b7280;font-weight:500}.subtitle{margin:.3rem 0 0;color:#6b7280;max-width:720px;font-size:.85rem}.toolbar{display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem}.mode-toolbar{justify-content:flex-start}.board-tabs,.view-tabs,.automation-breadcrumb{display:flex;gap:.35rem;align-items:center}.pill{border:1px solid rgba(255,255,255,.06);border-radius:999px;padding:.3rem .65rem;color:#9ca3af;background:#ffffff08;font-size:.75rem}.pill.muted{color:#6b7280}.pill-btn{border:1px solid rgba(88,101,242,.3);border-radius:999px;padding:.25rem .6rem;color:#5865f2e6;background:#5865f214;font-size:.72rem;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s;flex-shrink:0}.pill-btn:hover{background:#5865f22e;border-color:#5865f280;color:#fff}.card.project-card{border-color:#5865f259;background:#5865f20f}.card.project-card h3:before{content:""}.card.subtask-card{margin-left:.5rem;border-left:3px solid rgba(88,101,242,.3);opacity:.9}.kpi-hero-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem}.kpi-hero-card{background:#ffffff06;border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:.85rem 1rem .75rem;display:flex;flex-direction:column;gap:.2rem}.kpi-value-row{display:flex;align-items:baseline;gap:.35rem;flex-wrap:wrap}.kpi-value-row h2{margin:0;font-size:1.7rem;font-weight:700;line-height:1}.pill.kpi-good{background:#2ecc711f;border-color:#2ecc714d;color:#2ecc71}.pill.kpi-bad{background:#e74c3c1f;border-color:#e74c3c4d;color:#e74c3c}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:.75rem;min-height:calc(100vh - 140px)}.board-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,1fr);gap:.6rem;overflow-x:auto;padding-bottom:.25rem}.lane{display:flex;flex-direction:column;min-height:300px}.lane-header{display:flex;justify-content:space-between;padding:.7rem .75rem .5rem}.lane-header h2{margin:0;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#9ca3af}.lane-header p{color:#4b5563;font-size:.75rem;margin:0}.lane-cards{display:flex;flex-direction:column;gap:.4rem;padding:0 .6rem .75rem}.card{border-radius:10px;padding:.75rem .8rem;cursor:grab;transition:border-color .15s,background .15s}.card:hover{border-color:#ffffff1f;background:#ffffff0a}.card.selected{outline:1px solid rgba(88,101,242,.8)}.card h3{margin:0 0 .2rem;font-size:.875rem;font-weight:500}.card p{margin:0;color:#6b7280;font-size:.8rem;line-height:1.4}.card-meta{display:flex;justify-content:space-between;color:#4b5563;font-size:.72rem;margin-bottom:.35rem}.detail-panel{display:flex;flex-direction:column;gap:.75rem;padding:1rem;position:sticky;top:1rem;max-height:calc(100vh - 120px);overflow-y:auto}.detail-panel label{display:block;color:#9ca3af;font-size:.8rem}.detail-header h2{font-size:1rem}.empty-state{margin:auto 0;text-align:center}.empty-state h2{color:#4b5563;font-size:.9rem}.automation-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.6rem}.summary-card{padding:.8rem .9rem}.summary-card h2{margin:0;font-size:1.4rem;font-weight:600}.summary-card p{margin:.15rem 0 0;color:#6b7280;font-size:.8rem}.automation-workspace{grid-template-columns:minmax(0,1fr) 340px}.automation-main{display:flex;flex-direction:column;gap:.75rem}.top-gap{margin-top:.1rem}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:.6rem}.section-heading h2{margin:0;font-size:.95rem;font-weight:600}.section-heading.compact{margin-bottom:.6rem}.automation-table{display:flex;flex-direction:column;gap:.35rem}.automation-row{display:grid;grid-template-columns:1.5fr .7fr .8fr 1fr 1.2fr .6fr;gap:.5rem;align-items:center;font-size:.8rem}.automation-table-head{padding:0 .3rem .3rem;color:#6b7280;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em}.automation-item{width:100%;text-align:left;padding:.7rem .75rem}.automation-item.selected{outline:1px solid rgba(88,101,242,.8)}.automation-detail-panel .subtitle{max-width:none}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.detail-label{color:#6b7280;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;margin:0}.detail-grid p{margin:.1rem 0 0;font-size:.85rem}.health-grid{display:grid;grid-template-columns:1fr;gap:.5rem}.health-card{padding:.7rem .8rem}.path-block{padding:.7rem;border-radius:10px;background:#ffffff05;border:1px solid rgba(255,255,255,.04)}.updated-at{color:#4b5563;font-size:.75rem;margin-top:.5rem}.delete-btn{margin-top:.75rem;padding:.4rem .8rem;background:#dc26261a;color:#f87171;border:1px solid rgba(220,38,38,.2);border-radius:6px;font-size:.8rem;width:100%}.delete-btn:hover{background:#dc262633}.detail-panel select{width:100%;padding:.4rem .6rem;background:#ffffff0a;color:#e8eaed;border:1px solid rgba(255,255,255,.08);border-radius:6px;font-size:.85rem}.rd-workspace{display:flex;flex-direction:column;gap:.75rem;min-height:calc(100vh - 140px)}.rd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.rd-list{display:flex;flex-direction:column;gap:.5rem}.compact-list{gap:.35rem}.rd-item{display:flex;justify-content:space-between;gap:.6rem;align-items:flex-start;padding:.65rem .75rem;border-radius:10px;background:#ffffff05;border:1px solid rgba(255,255,255,.04)}.rd-item strong{font-size:.85rem;font-weight:500}.rd-item p{margin:.15rem 0 0;color:#6b7280;font-size:.78rem}.rd-meta{color:#4b5563!important;font-size:.72rem!important}.doc-folder{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;padding:.55rem .75rem;margin-bottom:.25rem;border-radius:8px;background:#ffffff06;border:1px solid rgba(255,255,255,.05);cursor:pointer;color:#c9cdd3;font-size:.85rem}.doc-folder:hover{background:#ffffff0d}.task-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:.75rem;min-height:calc(100vh - 140px)}.task-main{display:flex;flex-direction:column;gap:.75rem;overflow:hidden}.detail-panel select{width:100%;padding:.5rem .6rem;background:#ffffff0a;color:#e8eaed;border:1px solid rgba(255,255,255,.08);border-radius:6px;font-size:.85rem;margin-top:.35rem}.focus-card{border:1px solid rgba(88,101,242,.4);background:#5865f20f}.card.focused{border-color:#5865f259;background:#5865f20a}.progress-bar-wrap{height:4px;border-radius:2px;background:#ffffff0f;margin-top:.4rem;overflow:hidden}.progress-bar{height:100%;border-radius:2px;background:#5865f2;transition:width .3s ease}input[type=range]{width:100%;margin-top:.35rem;accent-color:#5865f2}.question-flag{margin:.3rem 0;padding:.35rem .6rem;border-radius:6px;background:#fbbf241a;border:1px solid rgba(251,191,36,.25);color:#fbbf24;font-size:.78rem;font-weight:500}.heartbeat-card{border-color:#5865f240}.heartbeat-timer{font-variant-numeric:tabular-nums;letter-spacing:.05em;color:#5865f2}.memory-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:.75rem;min-height:calc(100vh - 140px)}.memory-sidebar{background:#ffffff06;border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:0;overflow-y:auto;max-height:calc(100vh - 140px);position:sticky;top:1rem;display:flex;flex-direction:column}.memory-sidebar-header{padding:1rem 1rem .5rem;border-bottom:1px solid rgba(255,255,255,.06)}.memory-sidebar-title{margin:0;font-size:.95rem;font-weight:600}.memory-search-input{margin:.6rem .6rem 0;width:calc(100% - 1.2rem);border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:.5rem .7rem;color:#f0f2f5;background:#ffffff0a;font-size:.82rem;transition:border-color .15s}.memory-search-input:focus{outline:none;border-color:#5865f299}.memory-search-input::placeholder{color:#4b5563}.memory-file-list{display:flex;flex-direction:column;gap:2px;padding:.5rem;overflow-y:auto;flex:1}.memory-file-item{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;padding:.55rem .7rem;border-radius:8px;background:transparent;border:1px solid transparent;cursor:pointer;color:#c9cdd3;font-size:.82rem;transition:background .15s,border-color .15s}.memory-file-item:hover{background:#ffffff0d;border-color:#ffffff0f}.memory-file-item.selected{background:#5865f21f;border-color:#5865f259;color:#fff}.memory-file-info{display:flex;flex-direction:column;gap:1px}.memory-file-name{font-weight:500;font-size:.82rem}.memory-file-date{font-size:.68rem;color:#4b5563;font-variant-numeric:tabular-nums}.memory-file-size{font-size:.7rem;color:#4b5563;flex-shrink:0}.memory-month-group{display:flex;flex-direction:column;gap:2px}.memory-month-header{display:flex;align-items:center;gap:.5rem;width:100%;text-align:left;padding:.4rem .6rem;border-radius:7px;background:transparent;border:none;cursor:pointer;color:#9ca3af;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;transition:background .12s;margin-top:.25rem}.memory-month-header:hover{background:#ffffff0a;color:#e8eaed}.memory-month-chevron{font-size:.6rem;opacity:.6;width:.7rem;flex-shrink:0}.memory-month-label{flex:1}.memory-month-count{font-size:.68rem;background:#ffffff14;padding:.1rem .4rem;border-radius:10px;color:#6b7280}.memory-day-tile{display:flex;align-items:center;gap:.75rem;width:100%;text-align:left;padding:.6rem .75rem;border-radius:10px;background:#ffffff08;border:1px solid rgba(255,255,255,.06);cursor:pointer;color:#c9cdd3;transition:background .15s,border-color .15s}.memory-day-tile:hover{background:#ffffff12;border-color:#ffffff1a}.memory-day-tile.selected{background:#5865f226;border-color:#5865f273;color:#fff}.memory-day-tile.today{border-color:#5865f266}.memory-day-tile.today.selected{background:#5865f238}.memory-day-left{display:flex;align-items:center;justify-content:center;min-width:2.4rem;height:2.4rem;border-radius:8px;background:#ffffff0f;flex-shrink:0}.memory-day-tile.selected .memory-day-left{background:#5865f24d}.memory-day-tile.today .memory-day-left{background:#5865f240}.memory-day-num{font-size:1.15rem;font-weight:700;font-variant-numeric:tabular-nums;color:#e8eaed;line-height:1}.memory-day-right{display:flex;flex-direction:column;gap:1px;min-width:0}.memory-day-weekday{font-size:.85rem;font-weight:600;color:#e8eaed;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.memory-day-monthyear{font-size:.72rem;color:#6b7280}.memory-day-size{font-size:.68rem;color:#4b5563}.memory-empty-msg{color:#4b5563;font-size:.8rem;padding:1rem .5rem;text-align:center}.memory-content{display:flex;flex-direction:column;gap:.75rem;overflow-y:auto;max-height:calc(100vh - 140px)}.memory-daily-header-card{display:flex;align-items:center;gap:.75rem;background:#5865f212;border:1px solid rgba(88,101,242,.2);border-radius:12px;padding:.9rem 1.1rem}.memory-daily-header-card .memory-card-header-icon{font-size:1.4rem;flex-shrink:0;width:2.2rem;height:2.2rem;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#5865f226}.memory-daily-header-card .memory-card-title{margin:0;font-size:1rem;font-weight:700;color:#e8eaed}.memory-section-card{background:#ffffff06;border:1px solid rgba(255,255,255,.06);border-radius:10px;overflow:hidden}.memory-section-heading{display:flex;align-items:center;gap:.5rem;padding:.6rem .9rem;border-bottom:1px solid rgba(255,255,255,.05);background:#ffffff04}.memory-section-icon{font-size:.85rem;opacity:.6}.memory-section-title{margin:0;font-size:.85rem;font-weight:600;color:#c9cdd3}.memory-section-card .memory-rendered{padding:.6rem .9rem .8rem}.memory-daily-card{background:#ffffff06;border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:0;overflow:hidden}.memory-card-header{display:flex;align-items:center;gap:.75rem;padding:.9rem 1.1rem;border-bottom:1px solid rgba(255,255,255,.06);background:#ffffff04}.memory-card-header-icon{font-size:1.4rem;flex-shrink:0;width:2.2rem;height:2.2rem;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#5865f21a}.memory-lt-icon{background:#9b59b61f}.memory-card-title{margin:0;font-size:.95rem;font-weight:600;color:#e8eaed}.memory-daily-card .memory-rendered{padding:.75rem 1.1rem 1rem}.memory-longterm-card{background:#9b59b60a;border:1px solid rgba(155,89,182,.15);border-radius:12px;padding:0;overflow:hidden}.memory-longterm-card .memory-card-header{border-bottom-color:#9b59b61f;background:#9b59b60a}.memory-longterm-card .memory-rendered{padding:.75rem 1.1rem 1rem}.memory-empty-card{background:#ffffff06;border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:3rem 2rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.25rem}.memory-empty-icon{font-size:2rem;margin-bottom:.5rem;opacity:.5}.memory-empty-card h2{margin:0;font-size:.95rem;font-weight:600;color:#6b7280}.memory-empty-card p{margin:0;color:#4b5563;font-size:.82rem}.memory-rendered{padding:.75rem 0;max-height:600px;overflow-y:auto;line-height:1.7;color:#d1d5db}.md-h1{font-size:1.25rem;font-weight:700;color:#f0f2f5;margin:1.2rem 0 .5rem;padding-bottom:.4rem;border-bottom:1px solid rgba(255,255,255,.08)}.md-h1:first-child{margin-top:0}.md-h2{font-size:1.05rem;font-weight:600;color:#e0e3e8;margin:1rem 0 .4rem}.md-h2:first-child{margin-top:0}.md-h3{font-size:.92rem;font-weight:600;color:#c9cdd3;margin:.85rem 0 .3rem}.md-h4{font-size:.82rem;font-weight:600;color:#9ca3af;margin:.7rem 0 .25rem;text-transform:uppercase;letter-spacing:.04em}.md-p{margin:.35rem 0;font-size:.84rem;color:#b0b5bd;line-height:1.65}.md-hr{border:none;border-top:1px solid rgba(255,255,255,.08);margin:1rem 0}.md-list{margin:.4rem 0 .4rem .5rem;padding:0 0 0 1rem;list-style:disc}.md-list li{font-size:.84rem;color:#b0b5bd;margin:.2rem 0;line-height:1.6;padding-left:.15rem}.md-inline-code{background:#ffffff12;padding:.15rem .4rem;border-radius:4px;font-family:SF Mono,Cascadia Code,monospace;font-size:.78rem;color:#e8eaed;border:1px solid rgba(255,255,255,.05)}.md-link{color:#818cf8;text-decoration:none}.md-link:hover{text-decoration:underline}.doc-search-input{width:100%;margin-bottom:.6rem;border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:.6rem .75rem;color:#f0f2f5;background:#ffffff0a;font-size:.875rem;transition:border-color .15s}.doc-search-input:focus{outline:none;border-color:#5865f299}.doc-search-input::placeholder{color:#4b5563}.doc-no-results{text-align:center;padding:2rem 1rem;color:#6b7280;font-size:.85rem}.cal-workspace{display:flex;flex-direction:column;gap:.75rem;min-height:calc(100vh - 140px)}.cal-nav{display:flex;align-items:center;gap:.5rem;padding:.6rem .8rem;background:#ffffff06;border:1px solid rgba(255,255,255,.06);border-radius:12px}.cal-week-label{margin-left:.75rem;font-size:.9rem;font-weight:600;color:#c9cdd3}.cal-grid{display:grid;grid-template-columns:54px repeat(7,minmax(0,1fr));gap:0;background:#ffffff06;border:1px solid rgba(255,255,255,.06);border-radius:12px;overflow:hidden;flex:1;min-height:900px}.cal-time-col{display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.06)}.cal-time-col .cal-day-header{height:52px;border-bottom:1px solid rgba(255,255,255,.06)}.cal-time-marker{flex:1;display:flex;align-items:flex-start;justify-content:flex-end;padding:.2rem .4rem 0 0;font-size:.65rem;color:#4b5563;border-top:1px solid rgba(255,255,255,.03)}.cal-day-col{display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.06)}.cal-day-col:last-child{border-right:none}.cal-day-col.cal-today{background:#5865f20a}.cal-day-header{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.5rem .3rem;border-bottom:1px solid rgba(255,255,255,.06);height:52px}.cal-day-name{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:#6b7280;font-weight:500}.cal-day-date{font-size:1rem;font-weight:600;color:#c9cdd3;line-height:1.2}.cal-today-date{color:#5865f2;background:#5865f226;border-radius:50%;width:1.6rem;height:1.6rem;display:flex;align-items:center;justify-content:center}.cal-day-body{flex:1;position:relative;padding:.35rem;display:flex;flex-direction:column;gap:.3rem;min-height:800px}.cal-cron-pill{position:absolute;border-radius:6px;padding:.3rem .4rem;overflow:hidden;display:flex;flex-direction:column;gap:.1rem;cursor:default;box-sizing:border-box}.cal-cron-name{font-size:.68rem;font-weight:500;color:#e0e3e8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-cron-time{font-size:.6rem;color:#9ca3af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-task-card{position:relative;display:flex;align-items:flex-start;gap:.35rem;padding:.4rem .45rem;border-radius:6px;background:#2ecc7114;border:1px solid rgba(46,204,113,.25);margin-top:auto;z-index:10}.cal-task-status{font-size:.7rem;flex-shrink:0}.cal-task-card strong{font-size:.72rem;font-weight:500;color:#e0e3e8;display:block}.cal-task-card p{margin:0;font-size:.62rem;color:#6b7280}.cal-empty{display:flex;align-items:center;justify-content:center;flex:1;color:#2a2d33;font-size:.8rem}.cal-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.6rem .8rem;background:#ffffff06;border:1px solid rgba(255,255,255,.06);border-radius:12px}.cal-legend-label{font-size:.75rem;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.06em}.cal-legend-item{font-size:.75rem;color:#c9cdd3;padding:.25rem .5rem .25rem .6rem;border-radius:4px}.cal-legend-toggle{cursor:pointer;border:none;transition:opacity .15s,background .15s;font-family:inherit}.cal-legend-toggle:hover{opacity:.85!important;filter:brightness(1.15)}@media(max-width:1100px){.shell{padding:.85rem}.topbar{flex-direction:column;align-items:flex-start;gap:.75rem}.topbar-actions{width:100%;flex-wrap:wrap}.toolbar{overflow-x:auto}.board-tabs,.view-tabs,.automation-breadcrumb{width:max-content;flex-wrap:nowrap}.task-workspace,.workspace,.automation-workspace,.memory-workspace{grid-template-columns:minmax(0,1fr)}.detail-panel,.memory-sidebar{position:static;top:auto;max-height:none}.rd-grid,.detail-grid{grid-template-columns:1fr}.board-grid,.cal-grid{overflow-x:auto}}@media(max-width:760px){.shell{padding:.65rem}.topbar,.toolbar,.summary-card,.detail-panel,.lane,.memory-sidebar,.memory-empty-card,.memory-longterm-card,.memory-section-card,.cal-nav,.cal-legend{border-radius:10px}.topbar h1{font-size:1rem}.topbar-actions{gap:.5rem}.topbar-actions button,.topbar-actions .status{width:100%}.automation-summary-grid,.kpi-hero-grid{grid-template-columns:1fr 1fr}.board-grid{grid-auto-columns:minmax(82vw,1fr);scroll-snap-type:x proximity}.lane,.card,.summary-card,.kpi-hero-card{scroll-snap-align:start}.rd-item{flex-direction:column}.card.subtask-card{margin-left:0}.memory-day-tile{padding:.55rem .6rem}.memory-content,.memory-rendered{max-height:none}.cal-nav{flex-wrap:wrap}.cal-week-label{margin-left:0;width:100%}.cal-grid{min-width:900px;min-height:700px}.automation-table-wrap{overflow-x:auto}.automation-table{min-width:760px}}@media(max-width:520px){.automation-summary-grid,.kpi-hero-grid{grid-template-columns:1fr}.summary-card h2,.kpi-value-row h2{font-size:1.25rem}.card,.summary-card,.kpi-hero-card,.detail-panel{padding:.75rem}.board-grid{grid-auto-columns:minmax(88vw,1fr)}.pill,.pill-btn,button{font-size:.75rem}}
