:root{color:#141414;background:#f7f7f3;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;height:100vh;overflow:hidden}@keyframes surface-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes grid-drift{0%{background-position:0 0}to{background-position:24px 24px}}@keyframes working-pulse{0%,to{box-shadow:0 0 #1fbe8f00}50%{box-shadow:0 0 24px #1fbe8f38}}button,input,select,textarea{font:inherit}button{border:1px solid #151515;background:#fff;color:#141414;border-radius:0;padding:9px 12px;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}button:hover:not(:disabled){background:#f2f2ea;border-color:#151515;transform:translateY(-1px);box-shadow:4px 4px #151515}button:disabled{cursor:not-allowed;opacity:.48}input,select,textarea{width:100%;border:1px solid #151515;border-radius:0;background:#fff;color:#141414;transition:border-color .16s ease,box-shadow .16s ease}input{height:38px;padding:0 11px}select{height:38px;padding:0 9px}textarea{resize:none;line-height:1.5}input:focus,select:focus,textarea:focus{outline:none;border-color:#3366e9;box-shadow:0 0 0 3px #3366e929}.boot,.boot-error{display:grid;min-height:100vh;place-items:center;padding:24px}.boot-error{color:#963528}.workspace-shell{position:relative;height:100vh;display:flex;flex-direction:column;background:#f7f7f3;overflow:hidden}.workspace-shell:before{position:fixed;inset:0;z-index:0;pointer-events:none;content:"";background-image:radial-gradient(rgba(20,20,20,.1) 1px,transparent 1px);background-size:24px 24px;opacity:.18;animation:grid-drift 18s linear infinite}.topbar{position:relative;z-index:1;display:grid;grid-template-columns:minmax(320px,1fr) auto;gap:18px;align-items:center;min-height:78px;padding:16px 24px;border-bottom:2px solid #151515;background:#fff}.brand-lockup{display:flex;gap:12px;align-items:center;min-width:0}.brand-mark{display:grid;width:40px;height:40px;place-items:center;border-radius:0;background:#151515;color:#fff;font-weight:760;box-shadow:5px 5px #ffcf24}.brand-lockup h1,.brand-lockup p,.section-heading h2,.focus-header h2{margin:0}.brand-lockup h1{font-size:24px;line-height:1.1;letter-spacing:0}.brand-lockup p{margin-top:3px;color:#5e5e56;font-size:13px}.eyebrow,.section-heading span,.playbook-card span,.automation-message,.empty,.status,.settings-note{color:#6f6a60;font-size:12px}.settings-button{font-weight:650;border-top:4px solid #151515}.icon-button{display:grid;width:30px;height:30px;place-items:center;padding:0;font-size:18px;font-weight:760;line-height:1}.nav-row .icon-button{width:38px;height:auto;min-height:100%;border-top:4px solid #ffcf24;font-size:22px}.layout{position:relative;z-index:1;flex:1 1 auto;height:calc(100vh - 78px);min-height:0;display:grid;grid-template-columns:276px minmax(440px,1fr) 520px;gap:0;background:#151515}.sidebar,.focus-pane,.command-rail{min-width:0;min-height:0;background:#fff}.sidebar{display:flex;flex-direction:column;overflow:auto}.sidebar-section{padding:16px;border-bottom:1px solid #151515}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.section-heading h2{font-size:12px;line-height:1.2;text-transform:uppercase;color:#141414;letter-spacing:.06em}.system-nav{display:grid;gap:8px}.nav-row{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:8px}.system-nav button{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;text-align:left;padding:11px;border-color:#151515;background:#fff;animation:surface-enter .36s ease both}.system-nav span{font-weight:680}.system-nav strong{color:#1f5f50;font-size:12px}.system-nav .icon-button{display:grid;grid-template-columns:1fr;place-items:center;padding:0;text-align:center}.modal-form{display:grid;gap:10px;padding-top:14px;border-top:1px solid #151515}.modal-form label{display:grid;gap:5px}.modal-form label span{color:#5e5e56;font-size:12px}.modal-form input,.modal-form select{height:38px;background:#fff}.modal-form button{font-weight:700}.sidebar-message{margin:0;color:#5e5e56;font-size:12px;line-height:1.4}.tree{list-style:none;margin:0 0 0 12px;padding:0}.tree.root{margin:2px 0 0}.tree li{margin:2px 0}.tree button{width:100%;display:flex;gap:8px;align-items:center;border:0;background:transparent;padding:6px 7px;text-align:left;color:#2e302f}.tree button:hover{background:#f2f2ea;box-shadow:none}.tree button.selected{background:#fff0f0;color:#141414;font-weight:700}.tree-label{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-caret{width:0;height:0;margin-left:auto;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:6px solid #6f6a60;transition:transform .14s ease}.tree-caret.expanded{transform:rotate(90deg)}.node-kind{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#9b9b93}.node-kind.directory{background:#ff6a6a}.focus-pane{display:flex;flex-direction:column;gap:12px;min-height:0;padding:24px 34px 22px;overflow:hidden;border-left:1px solid #151515;border-right:1px solid #151515;animation:surface-enter .42s ease both;background:linear-gradient(90deg,rgba(255,207,36,.1),transparent 34%),#fff}.intent-header{flex:0 0 auto;max-width:840px}.intent-header h2{margin:0;font-size:28px;line-height:1.15;letter-spacing:0}.intent-form{position:sticky;bottom:0;z-index:2;flex:0 0 auto;display:grid;gap:10px;max-width:920px;margin-top:0;padding:12px;border:1px solid #151515;background:#fff;box-shadow:6px 6px #ffcf248c}.intent-form textarea{min-height:54px;max-height:130px;padding:10px 12px;border:0;background:transparent;font-size:16px;line-height:1.45}.intent-form textarea:focus{box-shadow:none}.composer-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border-top:1px solid #e2e0d8;padding-top:10px}.composer-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.intent-form button{justify-self:end;min-width:84px;padding:9px 14px;background:linear-gradient(90deg,#151515,#263735 45%,#151515);background-size:180% 100%;border-color:#151515;color:#fff;font-weight:760;box-shadow:5px 5px #ffcf24}.intent-form .secondary-action{min-width:0;background:#fff;color:#5e5e56;box-shadow:none}.intent-form .secondary-action:hover:not(:disabled){background:#f2f2ea;color:#141414;box-shadow:3px 3px #14141429}.intent-form button:hover:not(:disabled){background-position:100% 0}.focus-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.eyebrow{margin:0 0 5px;text-transform:uppercase}.focus-header h2{font-size:32px;line-height:1.1}.toolbar{display:flex;gap:8px;align-items:center;color:#5e5e56;font-size:12px}.editor-frame{flex:1;min-height:260px;border:1px solid #151515;border-radius:0;background:#fff;overflow:hidden;box-shadow:none}.editor-frame textarea{height:100%;border:0;border-radius:0;padding:19px;font-family:inherit;font-size:16px;outline:none}.note-view{height:100%;overflow:auto;padding:22px;color:#222;font-size:16px;line-height:1.45}.editable-line{min-width:0;outline:none;border-radius:3px}.editable-line:focus{background:#fff9dc;box-shadow:0 0 0 3px #ffcf2447}.note-heading{margin:0 0 12px;font-weight:760}.note-heading.level-1{font-size:22px}.note-heading.level-2{margin-top:18px;font-size:17px}.note-heading.level-3{margin-top:14px;font-size:15px}.note-task{display:flex;gap:10px;align-items:flex-start;max-width:760px;padding:7px 0}.note-task input{width:17px;height:17px;flex:0 0 auto;margin:2px 0 0;accent-color:#151515}.note-task-text{min-width:0;flex:1}.note-task input:checked+.note-task-text{color:#777;text-decoration:line-through}.note-bullet{display:flex;gap:10px;align-items:flex-start;max-width:760px;padding:5px 0}.note-bullet span{width:6px;height:6px;flex:0 0 auto;margin-top:10px;border-radius:50%;background:#9b9b93}.note-bullet-text,.note-paragraph{max-width:760px;margin:0}.note-space{height:10px}.calendar-view{height:100%;display:flex;flex-direction:column;gap:8px;overflow:hidden;padding:12px}.calendar-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.calendar-header h3{margin:0;font-size:18px}.calendar-header span,.calendar-empty{color:#6f6a60;font-size:12px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays{border:1px solid #151515;border-bottom:0;background:#f7f7f3}.calendar-weekdays span{padding:5px 6px;color:#5e5e56;font-size:11px;font-weight:760;text-transform:uppercase;text-align:center}.calendar-grid{flex:1 1 auto;min-height:0;grid-template-rows:repeat(6,minmax(54px,1fr));border-top:1px solid #151515;border-left:1px solid #151515;overflow:hidden}.calendar-day{min-width:0;min-height:0;padding:6px;border-right:1px solid #151515;border-bottom:1px solid #151515;background:#fff;overflow:hidden}.calendar-day.muted{background:#f7f7f3;color:#9b9b93}.calendar-day.today{background:#ffcf241f;box-shadow:inset 0 4px #ffcf24}.calendar-day-number{margin-bottom:4px;font-size:12px;font-weight:760}.calendar-event{display:grid;gap:2px;margin-top:4px;padding:4px 5px;background:#151515;color:#fff;font-size:11px;line-height:1.15;overflow:hidden}.calendar-event strong{color:#ffcf24;font-size:10px;text-transform:uppercase}.calendar-event span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-event.done{background:#e9e9e1;color:#6f6a60;text-decoration:line-through}.calendar-empty{flex:0 0 auto;margin:0;padding:8px 0 0;border-top:1px solid #e2e0d8;line-height:1.35}.project-list-view{height:100%;display:grid;align-content:start;gap:18px;overflow:auto;padding:16px}.project-list-section{display:grid;gap:10px}.project-rows{display:grid;gap:8px}.project-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid #151515;background:#fff}.project-row strong,.project-row span{display:block}.project-row strong{font-size:14px;line-height:1.25}.project-row span{margin-top:3px;color:#6f6a60;font-size:11px}.project-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.project-actions button{padding:6px 8px;font-size:12px}.command-rail{display:flex;flex-direction:column;overflow:auto}.file-viewer,.planning-panel{padding:16px}.file-viewer{border-bottom:1px solid #151515;background:#fff;animation:surface-enter .42s ease both}.file-viewer .focus-header{margin-bottom:12px}.file-viewer .focus-header h2{font-size:22px}.file-viewer .editor-frame{height:min(52vh,520px);min-height:260px;flex:initial}.playbook-list{display:grid;gap:9px}.playbook-card{display:grid;gap:5px;text-align:left;padding:12px;background:#fff;border-top-width:4px;animation:surface-enter .42s ease both}.playbook-card:nth-child(1){border-top-color:#ffcf24}.playbook-card:nth-child(2){border-top-color:#3366e9;animation-delay:70ms}.playbook-card:nth-child(3){border-top-color:#ff6a6a;animation-delay:.14s}.playbook-card:hover:not(:disabled){box-shadow:4px 4px #151515,0 0 34px #bf8dff2e}.playbook-card strong{font-size:14px}.automation-message{margin:0;line-height:1.45}.conversation-view{flex:1 1 auto;min-height:0;overflow:auto;padding:8px 4px 14px;scrollbar-gutter:stable}.conversation-list{display:grid;gap:14px;margin:0;padding:0;list-style:none}.conversation-item{display:grid;gap:5px;max-width:min(700px,76%);padding:0;border-bottom:0;animation:surface-enter .26s ease both}.conversation-item.user{justify-self:end}.conversation-item.assistant{justify-self:start}.conversation-item.toolResult,.conversation-item.bashExecution{max-width:min(680px,82%);color:#5e5e56;font-size:12px;justify-self:start}.conversation-item.error{color:#963528}.conversation-meta{display:flex;gap:8px;align-items:center;color:#6f6a60;font-size:11px}.conversation-meta strong{color:#141414;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.conversation-item.user .conversation-meta{justify-content:flex-end}.conversation-bubble{display:grid;gap:8px;padding:10px 12px;border:1px solid #151515;background:#fff;box-shadow:2px 2px #1414141a}.conversation-item.user .conversation-bubble{background:#151515;color:#fff;box-shadow:4px 4px #ffcf24}.conversation-item.assistant .conversation-bubble{border-left:4px solid #3366e9}.conversation-item.toolResult .conversation-bubble,.conversation-item.bashExecution .conversation-bubble{border-color:#d7d5ce;background:#f7f7f3;box-shadow:none}.conversation-item p,.conversation-empty,.conversation-pending p{margin:0;line-height:1.45;white-space:pre-wrap}.conversation-empty{max-width:420px;margin:42px auto 0;color:#5e5e56;text-align:center}.conversation-tools{display:flex;flex-wrap:wrap;gap:6px}.conversation-tools span{padding:3px 6px;border:1px solid #d7d5ce;background:#f7f7f3;color:#5e5e56;font-size:12px}.conversation-pending{display:grid;grid-template-columns:10px minmax(0,1fr);gap:10px;align-items:start;margin-top:12px;color:#5e5e56;font-size:12px}.activity-dot{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#1fbe8f;box-shadow:0 0 0 4px #1fbe8f29;animation:working-pulse 1.4s ease-in-out infinite}.status{line-height:1.45}.status.good{color:#247145}.status.bad{color:#963528}.settings-backdrop,.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:start end;padding:14px;background:#14141438}.settings-panel,.add-modal,.confirm-modal{width:min(430px,calc(100vw - 28px));display:grid;gap:16px;padding:18px;border:2px solid #151515;border-radius:0;background:#fff;box-shadow:12px 12px #14141433;animation:surface-enter .18s ease both}.modal-backdrop{place-items:start start;padding-left:294px}.add-modal{width:min(460px,calc(100vw - 322px))}.settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.settings-header h2{margin:0;font-size:22px}.settings-fields{display:grid;gap:12px}.settings-fields label{display:grid;gap:6px;font-size:13px;font-weight:650}.settings-note{margin:0;padding:10px 12px;border:1px solid #151515;border-left:4px solid #ffcf24;border-radius:0;background:#fff}.settings-reset{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid #151515;background:#fff8f7}.settings-reset strong,.settings-reset p{margin:0}.settings-reset p{margin-top:3px;color:#6f6a60;font-size:12px;line-height:1.35}.confirm-modal{position:fixed;top:50%;left:50%;z-index:21;width:min(420px,calc(100vw - 32px));transform:translate(-50%,-50%);box-shadow:14px 14px #1414144d}.confirm-modal h2,.confirm-modal p{margin:0}.confirm-modal p{color:#5e5e56;line-height:1.45}.confirm-actions{display:flex;gap:8px;justify-content:flex-end}.danger-action{background:#963528;border-color:#963528;color:#fff}.settings-panel pre{max-height:160px;margin:0;overflow:auto;border:1px solid #222c2b;border-radius:0;background:#182120;color:#f8faf7;padding:12px;font-family:SFMono-Regular,Consolas,Liberation Mono,ui-monospace,monospace;font-size:12px;line-height:1.45;white-space:pre-wrap}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}@media(max-width:1060px){.topbar{grid-template-columns:1fr}.layout{grid-template-columns:260px minmax(0,1fr)}.command-rail{grid-column:1 / 3}}@media(max-width:720px){body{height:auto;min-height:100vh;overflow:auto}.workspace-shell{height:auto;min-height:100vh}.layout,.command-rail,.settings-reset{grid-template-columns:1fr}.layout{height:auto;grid-template-rows:auto auto auto}.sidebar,.focus-pane,.command-rail{grid-column:auto;grid-row:auto}.sidebar{max-height:360px}.focus-pane{min-height:520px}}
