/* B: a continuous original-text stream, with a secondary companion work surface. */
:root{--ink:#24292e;--muted:#69727b;--faint:#7b858e;--line:#e9edf0;--surface:#f5f7f8;--focus:#496a7e;--record-width:61fr;--chat-width:39fr;font-size:14px;letter-spacing:0}
.toolbar{height:64px;padding:0 34px;border-bottom:0;max-width:1560px;margin:auto}
.toolbar-left{gap:15px}.toolbar-right{gap:14px}.profile-button{font-size:17px;font-weight:600;gap:11px}.profile-button .caret{margin-left:7px}
.iconbutton,.quiet-button,.profile-button,.search-button,.storage-button{border-radius:4px}
.toolbar-separator{display:none}.search-button{gap:7px}.search-button kbd{margin-left:12px;border:0;background:#f3f5f6;font-size:11px;padding:1px 5px}
.storage-button{font-size:11px;color:#69767f}.status-dot{background:#738a7d;width:4px;height:4px}
#workspace{height:calc(100dvh - 88px);grid-template-columns:minmax(0,var(--record-width)) 30px minmax(342px,var(--chat-width));max-width:1500px;padding:0 28px;margin:0 auto;gap:0}
.pane-heading{height:71px;padding:0 20px 0 25px;align-items:center}.pane-title{gap:9px}.pane-title h1{font-size:16px;letter-spacing:.015em;font-weight:600}.pane-title>span{font-size:11px;color:#7f8991}
.pane-actions{gap:13px}.pane-actions .quiet-button{font-size:12px;color:#606d78}.memory-button{background:#f4f6f7}.pane-actions .memory-button:hover{background:#eaf0f3}
.record-scroller{padding:18px 20px 24px 25px;scrollbar-width:thin;scroll-padding-top:20px}
.day-group{display:grid;grid-template-columns:83px minmax(0,1fr);column-gap:12px;align-items:start;margin:0}
.day-group+.day-group{margin-top:26px}
.day-heading{display:block;position:sticky;top:2px;margin:0!important;padding:0;font-weight:400;color:#59656e;line-height:1.5;min-width:0}
.day-date{display:block}.day-date .date-month{display:block;font-size:11px;color:#74808a;margin-bottom:0}.day-date strong{font-size:28px;font-weight:480;line-height:1.3;letter-spacing:-.04em;font-variant-numeric:tabular-nums;display:block;color:#37424b}.day-date small{font-size:10px;font-weight:400;letter-spacing:0;margin-left:5px;color:#8b9399}.day-heading .weekday{font-size:10px;display:block;margin-top:5px;color:#7e8993}.day-heading .day-note{display:none}
.day-entries{min-width:0}.record-row{grid-template-columns:39px minmax(0,1fr);gap:12px;margin:0 0 19px;position:relative}
.record-time{padding-top:5px;font-size:11px;color:#7a8690;line-height:1.85}.record-time svg{margin-top:7px;color:#587183}
.record-body{padding:0 26px 0 0;background:transparent;border:0;border-radius:0;font-size:15px;line-height:1.85;letter-spacing:.005em;transition:none;min-height:30px}
.record-body:hover{background:transparent}.record-row.selected .record-body{background:transparent;border:0;color:#162e3c}.record-row.selected::before{content:"";height:5px;width:5px;border-radius:100%;background:#6f8b9e;position:absolute;left:-11px;top:12px}
.record-row.selected .record-time{color:#416478}.record-row:focus-visible .record-body{outline:2px solid #b7c9d4;outline-offset:5px}.record-row.highlight .record-body{outline:2px solid #b5c8d5;outline-offset:5px}
.record-controls{right:-8px;top:-4px;background:#fff;padding-left:0;gap:0;border-radius:4px;box-shadow:0 0 0 3px #fff}
.record-controls .record-more,.record-quote{height:28px;width:26px;color:#7c8a94}.record-controls button:hover{background:#edf2f4}
.record-extra{padding:5px 0 0;font-size:11px;color:#8b7465;gap:7px}.record-extra button{font-size:11px;color:#5e788a;padding:3px 6px}.record-extra .error-dot{background:#a78f7c}
.file-tile{display:flex;align-items:center;background:#f5f7f8;width:fit-content;max-width:100%;padding:9px 11px;margin:0 0 11px;border-radius:4px;font-size:12px;gap:9px;line-height:1.5}.file-tile svg{width:19px;height:21px;color:#73848f}.file-tile small{font-size:10px;color:#7e8992;margin-top:3px}.file-tile>div{min-width:0;overflow-wrap:anywhere}
.audio-line{justify-content:flex-start;gap:14px;padding:2px 0 7px}.audio-wave{height:20px;gap:2px}.audio-wave i{width:2px;background:#8c9eaa}.audio-line>span{font-size:10px;color:#73828c}
.record-origin{font-size:11px;color:#758897;margin-top:5px}.list-end{font-size:11px;color:#9ba4aa;text-align:left;margin:15px 0 10px 146px}
.capture{padding:10px 20px 13px 120px;border-top:0;background:linear-gradient(#ffffff00,#fff 10px);position:relative}.capture-idle{background:#f4f6f7;padding:10px 12px 10px 11px;border-radius:5px;min-height:54px}.voice-button{font-size:13px;gap:10px}.voice-icon{border-radius:4px;width:33px;height:33px;background:#34434d}.voice-icon svg{width:19px;height:19px}.voice-button:hover .voice-icon{background:#526672}.capture-options{gap:9px}.option-line{display:none}.capture-options .iconbutton{height:30px;width:30px}.capture-options .quiet-button{font-size:12px;color:#6c7a83}.capture-note{font-size:10px;color:#7d8891;margin-top:7px;line-height:1.5}.capture-editor{border:0;border-radius:4px;background:#f4f6f7;box-shadow:none;padding:10px 13px;margin-bottom:0}.capture-editor:focus-within{border-color:transparent;box-shadow:0 0 0 2px #cbd9e2}.editor-top{color:#697c8a}.editor-bottom>span{font-size:10px;line-height:1.6}.solid-button{border-radius:4px;background:#344854}.capture-editor textarea{font-size:15px;line-height:1.85}
.splitter{background:transparent;margin-top:98px;cursor:col-resize;z-index:2}.splitter:after{content:"";inset:0 -2px}.splitter:before{content:"";width:3px;height:26px;border-radius:2px;background:#cbd4db;position:absolute;top:32%;left:calc(50% - 1.5px);opacity:.45}.splitter:hover:before,.splitter:focus-visible:before{opacity:1;background:#718897}.splitter:focus-visible{outline:1px solid #d7e0e6;outline-offset:0}
.companion-pane{margin:67px 5px 24px 7px;background:#f5f7f8;border-radius:5px;position:relative;isolation:isolate}
.companion-pane:before{content:"";position:absolute;left:0;top:-14px;width:26px;height:3px;background:#d9e1e7;border-radius:3px}
.companion-heading{height:86px;padding:0 23px}.companion-identity{display:flex;gap:11px;align-items:center}.companion-heading h2{font-size:14px;font-weight:600}.companion-heading .secondary{font-size:11px;color:#71808b;margin-top:5px}.companion-heading>div:last-child{gap:0}.companion-heading .iconbutton{color:#84919a}
.identity-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;height:32px;width:32px;background:#e7edf1;border-radius:4px}.identity-icon .tormie-mark{transform:rotate(-7deg) scale(.68)}.identity-icon .tormie-mark i{background:#667c8a}
.message-scroller{padding:0 25px 22px;scrollbar-color:#dbe3e8 transparent}.message-day{font-size:10px;text-align:left;color:#8b98a1;margin:0 0 22px;padding-top:3px}
.message{font-size:14px;line-height:1.9;margin-bottom:24px}.message.user{max-width:92%;margin-left:24px;margin-right:0;width:auto;padding:0;background:transparent;border-radius:0}.message.user .author{color:#8b969e}.message.assistant{padding:0;max-width:100%}.message .author{font-size:11px;margin-bottom:7px;color:#648092}.message.assistant p{color:#3d4f5c}.sent-source{border-left:0;background:#eaf0f4;border-radius:3px;padding:9px 11px;font-size:12px;color:#536c7e;line-height:1.8;width:100%}.sent-source span{font-size:10px;color:#748995}.sent-source:hover{background:#e3ebf0}
.empty-chat{margin-top:7vh;padding:22px 8px;font-size:11px;color:#81909b;line-height:1.9;text-align:left}.empty-chat svg{width:21px;height:21px;margin:0 0 10px;color:#9aabb7}
.chat-input-wrap{margin:0 17px 18px}.chat-input{padding:12px 13px 10px;background:#fff;border:0;border-radius:4px;box-shadow:0 2px 8px #33495904}.chat-input:focus-within{border:0;box-shadow:0 0 0 2px #c5d6e1}.chat-input textarea{font-size:14px;line-height:1.8;min-height:52px}.chat-input textarea::placeholder{color:#94a0a9}.chat-input-bottom>span{font-size:10px;color:#81929e}.send-button{height:28px;width:28px;border-radius:4px;background:#546e7f}.send-button:disabled{background:#aab7bf;opacity:.65}.send-button svg{height:15px;width:15px}
.context-tray{background:#eaf0f4;border:0;border-radius:4px;padding:10px 12px;max-height:min(30dvh,260px)}.context-tray .tray-header{font-size:10px;color:#6b8393;gap:8px}.context-tray .tray-header button{font-size:10px;white-space:nowrap;color:#4e7188}.context-item{border-left:0;padding-left:0;margin-top:11px}.context-item p{font-size:12px;line-height:1.8;color:#496576}.context-item .context-source{font-size:10px;color:#6f8797;margin-top:5px}
.memory-list{padding:0 23px 24px}.memory-intro{font-size:11px;color:#7b8c98;margin:0 0 18px;line-height:1.9}.memory-card{border:0;padding:15px 15px 17px;background:#fff;border-radius:4px;margin-bottom:12px}.memory-card .memory-meta{font-size:10px;color:#82939e;gap:12px;line-height:1.6}.memory-card p{font-size:14px;line-height:1.9}.memory-card .memory-source{font-size:10px;color:#607f94;padding:4px 0}.memory-card .memory-actions{gap:17px;margin-top:10px}.memory-card .memory-actions button{font-size:11px;color:#4e7087}
.proposal{border:0;border-radius:4px;background:#fff}.proposal-header{font-size:10px;padding:11px 13px;background:#e8eef2;color:#6c8595}.proposal-body{padding:12px 13px}.proposal-body p{font-size:13px}.proposal-footer{padding:0 13px 13px}.proposal-footer button{background:#eaf0f4;border-radius:3px;font-size:11px}.proposal-source{font-size:11px}.proposal-footer>span{font-size:10px}
.prototype-footer{height:24px;border-top:0;color:#8d979f;background:#fff;font-size:9px}.prototype-footer>div{right:35px;gap:15px}.prototype-footer button{font-size:9px}.footer-divider{background:#e7ecef}
.source-return{padding:0 20px 12px 120px;gap:10px;font-size:10px}.source-return button{font-size:11px}.source-highlight{background:#dbe8f1}.drop-overlay{border-radius:5px;border-color:#a4b8c6}
.focused #workspace,.pane-closed #workspace{grid-template-columns:minmax(0,1fr)}.focused .records-pane,.pane-closed .records-pane{width:min(960px,100%)}.pane-closed .pane-heading{padding-right:20px}.pane-closed #paneButton{background:#eef2f5;color:#5b788b}.focused .companion-pane{right:24px;top:116px;bottom:50px;width:440px;margin:0;background:#f5f7f8;border:0;box-shadow:0 8px 40px #2c465714;border-radius:5px}.focused .companion-heading{background:transparent}
dialog{border:0;border-radius:7px;box-shadow:0 15px 80px #2c465725}dialog::backdrop{background:#354e6027;backdrop-filter:none}.dialog-textarea,.original-content,.dialog-note{border-radius:4px}.dialog-actions button,.dialog-row button{border-radius:4px}.popover{border:0;border-radius:5px;box-shadow:0 5px 30px #2b465323}.popover button{border-radius:3px}.toast{border:0;border-radius:4px;box-shadow:0 5px 24px #28435020}.search-dialog{border-radius:6px}.search-result{border-radius:3px}.selection-quote{border-radius:4px}
@media(min-width:1650px){#workspace{padding:0 30px}.record-scroller{padding-left:25px;padding-right:20px}.pane-heading{padding-left:25px;padding-right:20px}.capture{padding-left:120px;padding-right:20px}.message-scroller{padding-left:25px;padding-right:25px}.chat-input-wrap{margin-left:17px;margin-right:17px}}
@media(max-width:1100px) and (min-width:900px){#workspace{padding:0 15px;grid-template-columns:minmax(0,var(--record-width)) 18px minmax(330px,var(--chat-width))}.record-scroller{padding-left:10px;padding-right:10px}.day-group{grid-template-columns:58px minmax(0,1fr);gap:8px}.record-row{grid-template-columns:34px minmax(0,1fr);gap:8px}.pane-heading{padding-left:10px;padding-right:10px}.pane-actions{gap:3px}.capture{padding-left:76px;padding-right:10px}.record-body{font-size:14px;line-height:1.85;padding-right:10px}.record-controls{right:-2px;top:-18px}.companion-pane{margin-right:0;margin-left:0}.companion-heading{padding:0 18px}.message-scroller{padding:0 19px 20px}.source-return{padding-left:76px;padding-right:10px}.list-end{margin-left:108px}}
@media(max-width:899px){
.toolbar{height:60px;padding:0 17px}.toolbar-left{gap:8px}.toolbar-right{gap:8px}.profile-button{font-size:16px;gap:8px}.profile-button .caret{margin-left:4px}.storage-button{font-size:10px;padding:6px 3px}.search-button{padding:6px}.iconbutton{width:32px;height:32px}
#workspace{height:calc(100dvh - 84px);padding:0;display:grid;grid-template-columns:minmax(0,1fr)}.records-pane{width:100%!important}.pane-heading{height:60px;padding:0 22px!important}.pane-title h1{font-size:15px}.pane-title>span{font-size:10px}.pane-actions{gap:6px}.pane-actions .quiet-button{font-size:11px;padding:6px}.pane-actions .memory-button{gap:4px}.pane-actions .memory-button svg{height:14px;width:14px}
.record-scroller{padding:15px 22px 28px}.day-group{display:block}.day-group+.day-group{margin-top:25px}.day-heading{display:flex;align-items:baseline;position:static;gap:9px;margin:0 0 19px!important;line-height:1.5}.day-date{display:flex;gap:5px;align-items:baseline}.day-date .date-month{font-size:12px;color:#5e6d78}.day-date strong{font-size:18px;letter-spacing:-.03em;font-weight:550;line-height:1.5}.day-date small{font-size:11px;margin-left:4px}.day-heading .weekday{display:inline;font-size:10px;margin:0;color:#8b969e}.day-heading .day-note{display:none}.record-row{grid-template-columns:34px minmax(0,1fr);gap:11px;margin-bottom:23px}.record-time{font-size:10px;padding-top:3px;color:#84929c}.record-body{font-size:15px;line-height:1.9;letter-spacing:0;padding:0 0 0 0}.record-controls{opacity:1;top:auto;right:0;bottom:-21px;background:#fff;box-shadow:none;height:22px}.record-controls .record-quote{display:none}.record-controls .record-more{width:28px;height:22px;padding:3px;color:#9aa8b2}.record-controls .record-more svg{width:16px;height:16px}.record-row.selected:before{left:-9px;top:11px;width:4px;height:4px}.record-extra{padding-top:6px;font-size:10px;gap:5px}.record-extra button{font-size:10px}.file-tile{font-size:11px;line-height:1.55;padding:8px 10px;gap:7px;margin-bottom:10px}.file-tile small{font-size:9px}.file-tile svg{width:17px;height:20px}.audio-line{gap:10px;padding:2px 0 8px}.audio-line>span{font-size:9px;white-space:nowrap}.audio-wave{gap:2px}.audio-wave i{width:2px}.list-end{margin-left:45px;margin-top:18px}
.capture{padding:12px 18px 9px;background:#fff}.capture-idle{padding:9px 11px;min-height:52px}.voice-icon{width:32px;height:32px}.voice-button{font-size:13px;gap:9px}.capture-note{font-size:9px;line-height:1.6;margin-top:6px}.capture-options{gap:7px}.capture-options .quiet-button{font-size:11px}.capture-editor{padding:8px 12px}.capture-editor textarea{font-size:15px;min-height:70px}.editor-bottom>span{font-size:9px;max-width:205px}.solid-button{font-size:11px;padding:8px 10px}.source-return{padding:0 22px 10px;font-size:9px}.source-return button{font-size:10px}
.focused .companion-pane{position:fixed;left:12px;right:12px;top:72px;bottom:35px;width:auto;margin:0;background:#f5f7f8;border:0;border-radius:5px;box-shadow:0 0 0 15px #fff;z-index:4}.companion-pane:before{display:none}.companion-heading{height:82px;padding:0 19px}.companion-identity{gap:10px}.companion-heading h2{font-size:15px}.companion-heading .secondary{font-size:11px}.identity-icon{height:32px;width:32px}.message-scroller{padding:0 20px 20px}.message-day{font-size:10px;margin-bottom:22px}.message{font-size:14px;line-height:1.9}.message.user{margin-left:22px;max-width:calc(100% - 22px)}.message .author{font-size:11px}.empty-chat{margin-top:8vh;font-size:11px;padding:20px 0}.chat-input-wrap{margin:0 12px 13px}.chat-input{padding:11px 12px}.chat-input textarea{font-size:14px;min-height:52px}.context-tray{max-height:29dvh;padding:10px 11px}.context-tray .tray-header{font-size:10px}.context-tray .tray-header button{font-size:10px}.context-item p{font-size:12px}.context-item .context-source{font-size:10px}.memory-list{padding:0 18px 20px}.memory-intro{font-size:11px}.memory-card{padding:13px 13px 15px}.memory-card .memory-meta{font-size:10px}.memory-card p{font-size:14px}.memory-card .memory-source{font-size:10px}.companion-heading .quiet-button{font-size:11px}
.prototype-footer{height:24px;padding:0 18px;gap:6px;font-size:7px}.prototype-footer>div{right:18px;gap:9px}.prototype-footer button{font-size:8px}.footer-divider{height:7px}.toast{bottom:132px;font-size:11px;max-width:calc(100vw - 32px)}dialog{padding:20px}.search-dialog{padding:0;margin-top:75px}.search-field{padding:16px}.search-field input{font-size:14px}.dialog-actions{gap:7px}.dialog-actions button{font-size:11px;padding:8px 10px}
}
@media(prefers-contrast:more){.record-time,.capture-note,.message .author,.companion-heading .secondary{color:#536777}.record-row.selected:before{background:#35566f}.companion-pane{background:#edf2f5}}
