:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#292820;background:#f4efe5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}.gate{min-height:100vh;display:grid;place-content:center;text-align:center;max-width:470px;margin:auto;padding:32px}.mark{width:62px;height:62px;border-radius:50% 50% 42% 42%;background:#bc5f3e;color:#fff;display:grid;place-items:center;font-family:Georgia;font-size:34px;margin:auto;box-shadow:0 8px 24px #8b3d2528}.mark.small{width:32px;height:32px;font-size:18px;margin:0}.gate h1{font:48px Georgia;margin:18px 0 5px}.gate p{color:#696558}.gate form{display:grid;gap:12px;margin:26px 0;text-align:left}.gate label{font-size:13px}.gate input,.row input{display:block;width:100%;padding:13px;border:1px solid #cfc7b7;border-radius:8px;background:#fff;margin-top:7px}.gate button,.new,.row button,.button{background:#354d3d;color:#fff;border:0;border-radius:8px;padding:12px 16px;text-align:center}.gate small,.fine{font-size:12px;color:#777164;line-height:1.5}.error{color:#a33!important}.app{height:100vh;display:grid;grid-template-columns:250px minmax(420px,1fr) 330px;background:#faf8f2}.app>aside{background:#e9e2d4;border-right:1px solid #d6cebf;padding:18px 13px;display:flex;flex-direction:column;overflow:hidden}.brand{display:flex;align-items:center;gap:10px;font:22px Georgia;padding:0 7px 18px}.new{width:100%;padding:10px}.search{margin:14px 0 8px;padding:9px;border:1px solid #d2c9b8;background:#f7f3eb;border-radius:7px}nav{overflow:auto;flex:1}nav button{display:grid;grid-template-columns:48px 1fr;text-align:left;width:100%;gap:8px;border:0;background:none;padding:10px 7px;border-radius:7px}nav button.active{background:#d8cdb9}nav time{font-size:12px;color:#837b6c}nav span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}aside footer{display:flex;justify-content:space-between;border-top:1px solid #d4caba;padding-top:10px}aside footer button{border:0;background:none}.page{padding:30px clamp(28px,6vw,90px);overflow:auto;position:relative}.warning{background:#f5dfb9;padding:10px 14px;border-radius:7px;font-size:13px;margin-bottom:18px}.warning button{border:0;background:none;text-decoration:underline}.meta{display:flex;justify-content:space-between;align-items:center;color:#8a8172;font-size:12px}.meta input{border:0;background:none}.date-title{font:42px Georgia;margin:25px 0 13px;color:#292820}.toolbar{display:flex;gap:3px;flex-wrap:wrap;border-block:1px solid #ded8cc;padding:7px 0}.toolbar button{border:0;background:none;border-radius:5px;padding:6px 8px;font-size:12px}.toolbar button:hover,.toolbar .on{background:#e8e1d4}.tiptap{font:18px/1.43 Georgia;min-height:50vh;outline:0;padding:22px 0}.tiptap p{margin:.55em 0}.tiptap ul,.tiptap ol{margin:.35em 0;padding-left:1.6em}.tiptap li{margin:.14em 0}.tiptap li>p{margin:.08em 0}.tiptap li>ul,.tiptap li>ol{margin:.12em 0}.tiptap p.is-editor-empty:first-child:before{color:#aaa;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.tiptap table{border-collapse:collapse}.tiptap td,.tiptap th{border:1px solid #aaa;padding:4px 8px}.tiptap mark{background:#f7d881}.wordcount{text-align:right;color:#8b8478;font-size:12px}.reflect{border-left:1px solid #d9d2c6;padding:20px;display:flex;flex-direction:column;min-height:0}.reflect h2{font:26px Georgia;margin:4px 0 15px}.manifest{display:flex;flex-direction:column;gap:4px;padding:5px 3px 13px;color:#716b60}.manifest b{color:#3d3a34;font-size:13px}.manifest span,.manifest small{font-size:11px}.key-required{border:1px solid #c8bda8;background:#f5e7c9;border-radius:7px;padding:9px;margin-bottom:10px}.thread{flex:1;overflow:auto;border-top:1px solid #ddd6c9;padding-top:10px}.thread article{padding:9px 0;font-size:13px}.thread article p{white-space:pre-wrap;line-height:1.5;margin:5px 0}.thread article.assistant{color:#33493c}.thread article.failed{background:#fbefeb;border:1px solid #e7c2b7;border-radius:8px;color:#6f2f26;margin:6px 0;padding:10px}.error-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.error-actions small{opacity:.78}.error-actions a,.error-actions button{background:#fff;border:1px solid #d5a89d;border-radius:6px;color:#75372e;padding:6px 8px;text-decoration:none}.thread details small{display:block}.reflect textarea{resize:none;height:88px;padding:10px;border:1px solid #cec6b8;border-radius:8px;background:#fff}.row{display:flex;gap:8px;margin-top:8px}.row>*{flex:1}.row .secondary{background:#ded8cc;color:#292820}.reflect .row button{padding:9px}.modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#27251f77;display:grid;place-items:center;z-index:5;padding:20px}.modal section{background:#faf8f2;width:min(620px,100%);max-height:90vh;overflow:auto;padding:26px;border-radius:13px;box-shadow:0 20px 70px #0004}.modal header{display:flex;justify-content:space-between}.modal header h2{font:30px Georgia;margin:0}.modal header button{border:0;background:none;font-size:25px}.modal h3{margin:28px 0 6px}.modal p{color:#686256;font-size:14px}.modal>section>button,.modal .button{border:1px solid #bbb1a2;border-radius:7px;background:#fff;color:inherit;padding:10px 14px}.key-status{display:flex;align-items:center;gap:9px;border:1px solid #d1c8b9;border-radius:9px;padding:12px}.key-status>div{display:flex;flex-direction:column;gap:2px;flex:1}.key-status span{font-size:12px;color:#657766}.key-status b{letter-spacing:.08em}.key-status button{border:1px solid #bfb6a7;background:#fff;border-radius:7px;padding:8px 11px}.key-status button.danger{color:#9a3328}@media(max-width:900px){.app{grid-template-columns:190px 1fr}.reflect{position:fixed;right:0;top:0;bottom:0;width:330px;background:#faf8f2;box-shadow:-5px 0 30px #0002}.page{padding:25px}}@media(max-width:650px){.app{grid-template-columns:1fr}.app>aside{display:none}.reflect{display:none}.page{padding:20px}.date-title{font-size:36px}}:root,.mark,.gate h1,.brand,.date-title,.tiptap,.reflect h2,.modal header h2{font-family:Arial,Helvetica,sans-serif}.gate h1{font-size:48px}.brand{font-size:22px}.date-title{font-size:42px;font-weight:700}.tiptap{font-size:18px;line-height:1.43}.reflect h2{font-size:26px;font-weight:700}.modal header h2{font-size:30px;font-weight:700}nav button{display:block;text-align:left}nav button span{display:block}.thread{display:flex;flex-direction:column;gap:8px;border-top:0;padding:4px 0 12px}.thread article{display:flex;padding:0}.thread article.user{justify-content:flex-end}.thread article.assistant{justify-content:flex-start}.thread article.failed{background:none;border:0;margin:0;padding:0}.bubble{max-width:88%;padding:9px 11px;border-radius:14px;background:#e7e1d5;color:#292820}.user .bubble{background:#354d3d;color:#fff;border-bottom-right-radius:4px}.assistant .bubble{background:#ebe6dc;border-bottom-left-radius:4px}.failed .bubble{background:#fbefeb;border:1px solid #e7c2b7;color:#6f2f26}.bubble b{display:block;font-size:11px;margin-bottom:3px;opacity:.78}.bubble p{margin:0}.markdown{line-height:1.45}.markdown>*:first-child{margin-top:0}.markdown>*:last-child{margin-bottom:0}.markdown p{margin:.55em 0}.markdown h1,.markdown h2,.markdown h3,.markdown h4{font-size:1em;margin:1em 0 .4em}.markdown ul,.markdown ol{margin:.45em 0;padding-left:1.35em}.markdown li{margin:.25em 0}.markdown blockquote{border-left:3px solid #aaa;margin:.7em 0;padding-left:.75em;color:#5d5a53}.markdown code{background:#fff8;padding:.1em .3em;border-radius:3px;font-size:.9em}.markdown pre{overflow:auto;background:#fff8;padding:.7em;border-radius:6px}.markdown a[data-entry-id]{display:inline-block;color:#315b49;background:#dbe8df;border-radius:999px;padding:1px 7px;text-decoration:none;font-size:.9em;font-weight:600}.markdown a[data-entry-id]:hover{text-decoration:underline}.typing .bubble{min-width:62px}.typing-dots{display:flex;align-items:center;gap:4px;height:17px}.typing-dots i{width:6px;height:6px;border-radius:50%;background:#6f746e;animation:lantern-typing 1.15s infinite ease-in-out}.typing-dots i:nth-child(2){animation-delay:.16s}.typing-dots i:nth-child(3){animation-delay:.32s}@keyframes lantern-typing{0%,60%,to{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}@media(prefers-reduced-motion:reduce){.typing-dots i{animation:none;opacity:.75}}.context-menu{position:fixed;z-index:20;min-width:145px;padding:5px;background:#fff;border:1px solid #d1c8b9;border-radius:8px;box-shadow:0 8px 28px #0003}.context-menu button{width:100%;padding:8px 10px;border:0;border-radius:5px;background:none;color:#9a3328;text-align:left}.context-menu button:hover{background:#fbefeb}.reflect{position:relative;min-width:0}.resize-handle{position:absolute;z-index:3;left:-5px;top:0;bottom:0;width:10px;cursor:col-resize;touch-action:none}.resize-handle:after{content:"";position:absolute;left:4px;top:0;bottom:0;width:2px;background:transparent;transition:background .15s}.resize-handle:hover:after,.resize-handle:active:after{background:#bc5f3e}.meta{justify-content:flex-end;gap:18px}.lock-countdown{color:#6b786d}.date-control{position:relative;display:inline-block;margin:25px 0 13px}.date-control button{border:0;background:none;padding:0;font-size:42px;font-weight:700;letter-spacing:-.02em}.date-control input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.editor-area .toolbar{max-height:0;opacity:0;overflow:hidden;padding-block:0;border-color:transparent;transition:max-height .18s,opacity .18s,padding .18s,border-color .18s}.editor-area:hover .toolbar,.editor-area:focus-within .toolbar{max-height:55px;opacity:1;padding-block:7px;border-color:#ded8cc}.wordcount{display:none}.settings-section{padding:18px 0;border-bottom:1px solid #e2dbcf}.settings-section:last-of-type{border-bottom:0}.settings-section h3{margin:0 0 6px}.settings-section h4{margin:12px 0 7px}.settings-section h3 small{font-size:12px;font-weight:400;color:#7a7469}.settings-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.settings-actions button,.settings-actions .button{display:grid;place-items:center;min-height:44px;border:1px solid #bcb2a3;border-radius:7px;background:#fff;color:#292820;padding:9px}.settings-actions button:first-child{background:#354d3d;color:#fff;border-color:#354d3d}.setting-field{display:flex;align-items:center;justify-content:space-between;gap:20px}.setting-field select{border:1px solid #cfc7b7;border-radius:7px;background:#fff;padding:9px 30px 9px 10px}nav,.thread{scrollbar-width:thin;scrollbar-color:#a99f8d transparent}nav::-webkit-scrollbar,.thread::-webkit-scrollbar{width:9px}nav::-webkit-scrollbar-track,.thread::-webkit-scrollbar-track{background:transparent}nav::-webkit-scrollbar-thumb,.thread::-webkit-scrollbar-thumb{background:#b8ae9c;border:2px solid transparent;border-radius:999px;background-clip:padding-box}nav::-webkit-scrollbar-thumb:hover,.thread::-webkit-scrollbar-thumb:hover{background:#8e8474;background-clip:padding-box}.app>aside nav{display:flex;flex-direction:column;gap:3px;padding:10px 3px 10px 0}.app>aside nav button{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:7px;text-align:right;padding:8px 10px}.app>aside nav button span{text-align:right}.app>aside nav button small{display:inline-block;padding:2px 6px;border-radius:999px;background:#dfe9df;color:#315442;font-size:9px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.app>aside nav button small{order:-1}.app>aside nav button.is-today:not(.active){box-shadow:inset -3px 0 #557461}.app>aside footer{flex-direction:column;align-items:center;gap:10px;padding-top:14px}.lock-control{display:flex;flex-direction:column;align-items:center;gap:4px;color:#6b746b;font-size:11px}.lock-ring{position:relative;width:80px;height:80px;display:grid;place-items:center}.lock-ring svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;transform:rotate(-90deg)}.lock-ring circle{fill:none;stroke-width:6}.lock-track{stroke:#d4cabb}.lock-progress{stroke:#354d3d;stroke-linecap:round;transition:stroke-dashoffset .35s linear}.lock-ring button{position:relative;width:58px;height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;border-radius:50%;background:#f7f3eb;color:#354d3d;box-shadow:inset 0 0 0 1px #cfc5b5}.lock-ring button .lock-icon{position:static;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transform:none}.lock-ring button span{font-size:9px;font-weight:700;line-height:1}.lock-ring button .lock-icon-closed,.lock-ring button .lock-label-lock{display:none}.lock-ring button:hover .lock-icon-open,.lock-ring button:hover .lock-label-unlocked,.lock-ring button:focus-visible .lock-icon-open,.lock-ring button:focus-visible .lock-label-unlocked{display:none}.lock-ring button:hover .lock-icon-closed,.lock-ring button:hover .lock-label-lock,.lock-ring button:focus-visible .lock-icon-closed,.lock-ring button:focus-visible .lock-label-lock{display:block}.lock-ring button:hover{background:#354d3d;color:#fff}.lock-ring button:focus-visible{background:#354d3d;color:#fff;outline:2px solid #728779;outline-offset:2px}.settings-link{padding:6px 14px!important;border-radius:6px!important}.settings-link:hover,.settings-link:focus-visible{background:#ddd4c5!important;outline:none}.date-error{margin:-5px 0 12px;color:#8d352a;font-size:13px}.calendar{position:absolute;z-index:10;top:calc(100% + 8px);left:0;width:292px;padding:12px;background:#faf8f2;border:1px solid #c8bfaf;border-radius:10px;box-shadow:0 14px 38px #29282033;font-size:13px;font-weight:400;letter-spacing:0}.calendar header{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;margin-bottom:8px}.calendar header b{text-align:center;font-size:14px}.calendar button{border:0;background:none;border-radius:6px;padding:0}.calendar header button{height:32px;font-size:22px}.calendar header button:hover,.calendar header button:focus-visible,.calendar footer button:hover,.calendar footer button:focus-visible{background:#e7dfd2;outline:none}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.calendar-weekdays span{padding:5px 0;text-align:center;color:#777164;font-size:10px;font-weight:700}.calendar-grid button{height:32px;text-align:center}.calendar-grid button:hover:not(.unavailable),.calendar-grid button:focus-visible:not(.unavailable){background:#e7dfd2;outline:2px solid #bc5f3e;outline-offset:-2px}.calendar-grid button.outside{color:#aaa294}.calendar-grid button.today{box-shadow:inset 0 0 0 1px #557461;color:#315442;font-weight:700}.calendar-grid button.selected{background:#354d3d;color:#fff;box-shadow:none;font-weight:700}.calendar-grid button.unavailable{color:#b8b0a3;text-decoration:line-through;background:#eee9df;cursor:not-allowed;opacity:.65}.calendar-grid button.future{text-decoration:none;background:transparent;opacity:.48}.calendar footer{display:flex;justify-content:space-between;margin-top:10px;padding-top:9px;border-top:1px solid #dfd7ca}.calendar footer button{padding:6px 9px;color:#315442;font-weight:700}.calendar footer button:disabled{color:#aaa;cursor:not-allowed}.reflect{gap:0}.thread-shell{position:relative;flex:1;min-height:0;margin:8px 0 12px;overflow:hidden}.thread-shell .thread{height:100%;padding:22px 2px 18px;gap:16px}nav,.page,.thread{scrollbar-width:thin;scrollbar-color:#a99f8d transparent}nav::-webkit-scrollbar,.page::-webkit-scrollbar,.thread::-webkit-scrollbar{width:9px;height:9px}nav::-webkit-scrollbar-track,.page::-webkit-scrollbar-track,.thread::-webkit-scrollbar-track{background:transparent}nav::-webkit-scrollbar-thumb,.page::-webkit-scrollbar-thumb,.thread::-webkit-scrollbar-thumb{background:#b8ae9c;border:2px solid transparent;border-radius:999px;background-clip:padding-box}nav::-webkit-scrollbar-thumb:hover,.page::-webkit-scrollbar-thumb:hover,.thread::-webkit-scrollbar-thumb:hover{background:#8e8474;background-clip:padding-box}@media(prefers-reduced-motion:reduce){.lock-progress{transition:none}}.date-control .calendar,.date-control .calendar *{font-family:Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:0}.date-control .calendar{font-size:12px;line-height:1.2}.date-control .calendar header b{font-size:14px;font-weight:700}.date-control .calendar header button{font-size:20px;font-weight:400}.date-control .calendar-grid button{font-size:12px;font-weight:500}.date-control .calendar-weekdays span{font-size:11px}.date-control .calendar footer button{font-size:12px}.date-control>button{display:inline-flex;align-items:center;gap:9px;border:0;border-radius:10px;background:transparent;padding:3px 7px 3px 0;font-size:36px;line-height:1.1;text-align:left;transition:background-color .15s ease,color .15s ease}.date-control>button:hover,.date-control>button:focus-visible{background:#eee8dd;color:#354d3d;outline:none}.date-control>button:focus-visible{box-shadow:inset 0 0 0 2px #557461}.date-control>button svg{flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.date-calendar-icon{width:22px;height:22px}.date-chevron{width:16px;height:16px;transition:transform .15s ease}.date-control>button[aria-expanded=true] .date-chevron{transform:rotate(180deg)}.entry-date-picker{position:absolute;z-index:14;top:calc(100% + 7px);left:0;width:min(320px,calc(100vw - 32px));max-height:min(440px,65vh);overflow:auto;padding:7px;border:1px solid #c8bfaf;border-radius:11px;background:#faf8f2;box-shadow:0 14px 38px #29282033;scrollbar-width:thin;scrollbar-color:#b8ae9c transparent}.entry-date-picker section{margin-top:5px;padding-top:6px;border-top:1px solid #e2dbcf}.entry-date-picker h3{margin:0;padding:5px 8px;color:#81796c;font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.entry-date-picker button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:36px;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:#3f3b34;text-align:left}.entry-date-picker button:hover,.entry-date-picker button:focus-visible{background:#e7dfd2;outline:none}.entry-date-picker button.selected{background:#354d3d;color:#fff;font-weight:700}.entry-date-picker button.selected:hover,.entry-date-picker button.selected:focus-visible{background:#45634f}.entry-date-today{padding-bottom:2px}.entry-date-check{font-size:12px}@media(max-width:650px){.date-control>button{font-size:32px}.date-calendar-icon{width:20px;height:20px}}.editor-area .toolbar{position:sticky;z-index:4;top:8px;flex-wrap:nowrap;align-items:center;gap:0;width:calc(100% + 36px);max-width:none;margin-inline:-18px;opacity:1;background:#f5f1e9;border:0;border-radius:0;padding:4px 18px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;-webkit-mask-image:linear-gradient(to right,transparent,#000 18px,#000 calc(100% - 18px),transparent),linear-gradient(to bottom,transparent,#000 7px,#000 calc(100% - 7px),transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 18px,#000 calc(100% - 18px),transparent),linear-gradient(to bottom,transparent,#000 7px,#000 calc(100% - 7px),transparent);mask-composite:intersect}.toolbar>div{display:flex;align-items:center;flex:0 0 auto;padding:0 5px;border-right:1px solid #d2c9ba}.toolbar>div:first-child{padding-left:0}.toolbar>div:last-child{border-right:0;padding-right:0}.toolbar button{display:grid;place-items:center;min-width:30px;height:30px;padding:4px 7px;border-radius:6px}.toolbar button:hover{background:#ded6c8}.toolbar button.on{background:#cbd9ce;color:#243e2e}.toolbar-styles button{white-space:nowrap;padding-inline:9px}.reflect h2{margin-bottom:8px}.thread-shell .thread{display:flex;flex-direction:column;gap:12px}.thread article{display:flex;align-items:flex-end;gap:6px;padding:0;max-width:88%}.thread article.user{align-self:flex-end;flex-direction:row-reverse}.thread article.assistant{align-self:flex-start}.thread .bubble{min-width:38px;padding:8px var(--bubble-padding-x);border-radius:15px 15px 15px 4px;background:#e3eadf;color:#293c30;box-shadow:0 1px 2px #29282012;font-size:13px;overflow-wrap:anywhere}.thread article.user .bubble{border-radius:15px 15px 4px;background:#354d3d;color:#fff}.thread article.failed{background:transparent;border:0;margin:0;padding:0;color:#6f2f26}.thread article.failed .bubble{background:#fbefeb;border:1px solid #e7c2b7}.thread .bubble p{margin:0;white-space:pre-wrap;line-height:1.45}.thread .markdown p+p{margin-top:.55em}.composer{display:flex;align-items:center;gap:7px;padding:5px 6px 5px 12px;border:1px solid #c9c1b4;border-radius:18px;background:#fff;box-shadow:0 1px 3px #29282010}.reflect .composer textarea{flex:1;min-width:0;height:auto;min-height:18px;max-height:120px;padding:0;border:0;border-radius:0;resize:none;overflow-y:auto;line-height:18px;outline:0;background:transparent}.composer button{flex:0 0 31px;width:31px;height:31px;padding:0;border:0;border-radius:50%;background:#354d3d;color:#fff;font-size:15px}.composer button:disabled{opacity:.42;cursor:not-allowed}.composer button.stop{background:#bc5f3e;font-size:11px}.prompt-chips{position:relative;z-index:3;display:flex;align-items:center;gap:8px;margin:auto 0 -12px;padding-bottom:12px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#b8ae9c transparent}.prompt-chips:before,.prompt-chips:after{content:"";position:sticky;z-index:2;align-self:stretch;flex:0 0 16px;pointer-events:none}.prompt-chips:before{left:0;margin-right:-24px;background:linear-gradient(to right,#faf7f0b3,transparent)}.prompt-chips:after{right:0;margin-left:-24px;background:linear-gradient(to left,#faf7f0b3,transparent)}.prompt-chips button{flex:0 0 auto;padding:8px 11px;border:1px solid #d4c3ad;border-radius:15px;background:#fffaf2;color:#5c4939;font-size:13px;line-height:1.45;white-space:nowrap;text-align:left;box-shadow:0 2px 7px #6f4c2c12}.prompt-chips button{animation:prompt-bubble-in .32s ease-out backwards}.prompt-chips button:nth-of-type(2){animation-delay:.12s}.prompt-chips button:nth-of-type(3){animation-delay:.24s}.prompt-chips button:nth-of-type(4){animation-delay:.36s}.prompt-chips button:hover,.prompt-chips button:focus-visible{background:#f1dfcb;border-color:#bc6a49;outline:none}.prompt-chips::-webkit-scrollbar{height:7px}.prompt-chips::-webkit-scrollbar-track{background:transparent}.prompt-chips::-webkit-scrollbar-thumb{background:#b8ae9c;border:2px solid transparent;border-radius:999px;background-clip:padding-box}@keyframes prompt-bubble-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.prompt-chips button{animation:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.unlock-options{display:grid}.unlock-options.has-touch{grid-template-columns:minmax(0,1fr) 48px 48px;align-items:stretch}.passphrase-unlock{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:end;gap:6px}.passphrase-unlock label{min-width:0}.passphrase-unlock input{height:48px;margin-top:0}.passphrase-unlock .passphrase-submit{width:48px;height:48px;padding:0;display:grid;place-items:center}.passphrase-submit .gate-lock-icon{grid-area:1/1;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.passphrase-submit .gate-lock-open{display:none}.passphrase-submit:not([aria-busy=true]):is(:hover,:focus-visible) .gate-lock-closed{display:none}.passphrase-submit:not([aria-busy=true]):is(:hover,:focus-visible) .gate-lock-open{display:block}.passphrase-submit .unlock-working i{background:currentColor}.gate .touch-unlock{position:relative;overflow:hidden;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.gate .touch-unlock:after{content:"";position:absolute;inset:-40% auto -40% -45%;width:32%;background:linear-gradient(105deg,transparent,#fff7,transparent);transform:skew(-16deg);pointer-events:none}.gate .touch-unlock:not(:disabled):hover:after{animation:unlock-sheen .55s ease-out forwards}.unlock-divider{position:relative;display:grid;place-items:end center;padding-bottom:14px}.unlock-divider:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;background:#cbc2b4;transform:translate(-.5px)}.unlock-divider span{position:relative;padding:5px 0;background:#f4efe5;color:#8a8172;font-size:10px;font-weight:700;text-align:center;text-transform:uppercase}.gate .touch-unlock{align-self:end;width:48px;height:48px;min-height:0;padding:0;display:grid;place-items:center;background:#fff;color:#354d3d;border:1px solid #9faf9f}.gate .touch-unlock:not(:disabled):hover{background:#e4eee6;border-color:#557461;box-shadow:inset 0 0 0 1px #ffffff70,0 5px 15px #263a2d20}.gate .touch-unlock svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.gate .touch-unlock span{display:none}@keyframes unlock-sheen{0%{left:-45%}to{left:120%}}@media(max-width:520px){.unlock-options.has-touch{grid-template-columns:1fr}.unlock-divider{height:29px;padding-bottom:0;place-items:center}.unlock-divider:before{left:0;right:0;top:14px;bottom:auto;width:auto;height:1px;transform:none}.unlock-divider span{padding:0 7px}.gate .touch-unlock{width:48px;min-height:48px;justify-self:center}}.security .setting-field{align-items:flex-start}.security .setting-field>div{flex:1}.security .setting-field p{margin:4px 0 0}.security .setting-field>button{border:1px solid #bcb2a3;border-radius:7px;background:#fff;padding:8px 12px}.modal .settings-section>h3{font-size:18px;line-height:1.25;margin:0 0 12px;font-weight:750}.modal .settings-section h4{font-size:14px;line-height:1.3;margin:0 0 5px;font-weight:700}.modal .settings-section>p,.modal .setting-field p{font-size:13px;line-height:1.4}.persona-setting textarea{display:block;width:100%;min-height:132px;padding:10px 12px;border:1px solid #cfc7b7;border-radius:8px;background:#fff;resize:vertical;font:13px/1.5 Inter,ui-sans-serif,system-ui,sans-serif}.assistant-name{display:flex;gap:8px}.assistant-name input{flex:1;min-width:0;padding:10px 12px;border:1px solid #cfc7b7;border-radius:8px;background:#fff}.assistant-name button{border:1px solid #354d3d;border-radius:7px;background:#354d3d;color:#fff;padding:8px 12px}.assistant-name button:disabled{opacity:.5;cursor:not-allowed}.persona-setting textarea:focus{outline:2px solid #557461;outline-offset:1px}.persona-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:9px}.persona-actions button{border:1px solid #bcb2a3;border-radius:7px;background:#354d3d;color:#fff;padding:8px 12px}.persona-actions button.secondary{background:#fff;color:#292820}.persona-actions button:disabled{opacity:.5;cursor:not-allowed}.modal{z-index:50}.modal section>header{position:sticky;z-index:51;top:-26px;margin:-26px -26px 0;padding:26px 26px 12px;background:#faf8f2;border-bottom:1px solid transparent}.modal section>header button{align-self:flex-start}.page{display:flex;flex-direction:column;overflow:hidden}.page-header{position:relative;z-index:6;flex:0 0 auto;background:#faf8f2}.page-header:after{content:"";position:absolute;z-index:7;left:0;right:0;bottom:-28px;height:28px;background:linear-gradient(to bottom,#faf8f2 5%,#faf8f2d9 35%,transparent);pointer-events:none}.page-header .date-control{margin:20px 0}.page-header .editor-area{position:relative;z-index:8}.editor-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#a99f8d transparent}.editor-scroll::-webkit-scrollbar{width:9px;height:9px}.editor-scroll::-webkit-scrollbar-track{background:transparent}.editor-scroll::-webkit-scrollbar-thumb{background:#b8ae9c;border:2px solid transparent;border-radius:999px;background-clip:padding-box}.editor-scroll::-webkit-scrollbar-thumb:hover{background:#8e8474;background-clip:padding-box}.editor-scroll .tiptap{min-height:100%;padding-top:20px}.page-header .toolbar{position:relative;top:auto}.find-replace{position:absolute;z-index:12;top:calc(100% + 7px);left:0;right:0;display:flex;align-items:center;gap:5px;padding:6px 7px;border:1px solid #d2c9ba;border-radius:10px;background:#f5f1e8;box-shadow:0 7px 20px #2928202b;overflow-x:auto}.find-replace label{display:flex;align-items:center;gap:5px;flex:0 0 auto;color:#6f695d;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.find-replace input{width:clamp(105px,14vw,190px);height:29px;padding:5px 8px;border:1px solid #c9c0b2;border-radius:6px;background:#fff;font-size:12px;font-weight:400;text-transform:none;letter-spacing:0}.find-replace input:focus{outline:2px solid #557461;outline-offset:1px}.find-replace button{flex:0 0 auto;height:29px;padding:4px 8px;border:0;border-radius:6px;background:#e4ddd1;font-size:11px}.find-replace button:hover:not(:disabled),.find-replace button:focus-visible{background:#d3dfd4;outline:none}.find-replace button:disabled{opacity:.45;cursor:not-allowed}.find-replace .match-count{flex:0 0 64px;text-align:center;color:#777164;font-size:10px}.find-replace .find-close{margin-left:auto;background:transparent;font-size:18px}.tiptap .find-match{background:#f3dd79;border-radius:2px;box-shadow:0 0 0 1px #d4b94455}.tiptap .find-match.current{background:#edb85f;box-shadow:0 0 0 2px #9b6529}.brand{position:relative;z-index:3;flex:0 0 auto;background:#e9e2d4}.brand:after{content:"";position:absolute;left:0;right:0;bottom:-22px;height:22px;background:linear-gradient(to bottom,#e9e2d4 8%,#e9e2d4d9 40%,transparent);pointer-events:none}.app>aside nav{position:relative;padding-top:18px}.app>aside footer{position:relative;z-index:3;flex:0 0 auto;border-top:0;background:#e9e2d4}.app>aside footer:before{content:"";position:absolute;left:0;right:0;top:-28px;height:28px;background:linear-gradient(to top,#e9e2d4 8%,#e9e2d4d9 40%,transparent);pointer-events:none}.reflect{background-color:#faf7f0;background-image:radial-gradient(circle at 18% 12%,#e8cdb633 0,transparent 34%),radial-gradient(circle at 82% 62%,#d9e3d633 0,transparent 38%),repeating-linear-gradient(0deg,#6d583008 0,#6d583008 1px,transparent 1px,transparent 5px)}.reflect>h2{position:relative;z-index:4;flex:0 0 auto;margin-bottom:2px;background:transparent;color:#3d332b}.reflect>h2:after{display:none}.analysis-subtitle{position:relative;z-index:4;flex:0 0 auto;margin:0 0 8px;color:#83766a;font:12px/1.4 Georgia,serif}.analysis-subtitle:after{content:"";position:absolute;left:0;right:0;bottom:-26px;height:26px;background:linear-gradient(to bottom,#faf7f0 8%,#faf7f0d9 42%,transparent);pointer-events:none}.mark,.gate h1,.brand,.date-title,.tiptap,.reflect h2,.modal header h2,.analysis-subtitle{font-family:Inter,ui-sans-serif,system-ui,sans-serif}.gate h1,.brand,.reflect h2,.modal header h2{font-weight:750}.date-title,.date-control>button{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-weight:750}.modal section>header:after{content:"";position:absolute;left:0;right:0;bottom:-24px;height:24px;background:linear-gradient(to bottom,#faf8f2 8%,#faf8f2d9 40%,transparent);pointer-events:none}.app{grid-template-columns:250px minmax(0,1fr)}.workspace{position:relative;min-width:0;min-height:0;overflow:hidden;background:#faf8f2}.workspace>.page{width:100%;height:100%}.workspace:not(.chat-open) .editor-scroll{padding-bottom:82px}.chat-backdrop{position:absolute;z-index:18;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:#2928204d;opacity:0;visibility:hidden;pointer-events:none;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);transition:opacity .2s ease,visibility 0s linear .2s}.chat-backdrop.open{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}.reflect.chat-overlay{position:absolute;z-index:20;inset:clamp(18px,4vw,48px);display:flex;width:auto;height:auto;min-width:0;margin:auto;padding:clamp(20px,3vw,38px) clamp(20px,5vw,72px) 20px;border:1px solid #cfc4b4;border-radius:24px;box-shadow:0 24px 70px #29282059,0 4px 16px #29282024;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(14px) scale(.985);transition:opacity .2s ease,transform .2s ease,visibility 0s linear .2s}.reflect.chat-overlay.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);transition-delay:0s}.reflect-header{position:relative;z-index:4;display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:16px}.reflect.chat-overlay .reflect-header h2{margin:0;color:#3d332b;font-size:clamp(26px,3vw,38px);font-weight:750}.chat-close{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:0;border:1px solid #d3c8b8;border-radius:50%;background:#fffaf2;color:#5d4b3e;font-size:27px;line-height:1;box-shadow:0 3px 12px #4e37251b}.chat-close:hover,.chat-close:focus-visible{border-color:#bc5f3e;background:#f5dfd4;color:#8d352a;outline:none}.reflect.chat-overlay .thread-shell,.reflect.chat-overlay .composer,.reflect.chat-overlay>.key-required{width:100%;margin-left:0;margin-right:0}.reflect.chat-overlay .thread article{max-width:min(88%,720px)}.chat-launcher{position:absolute;z-index:15;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));display:grid;place-items:center;width:56px;height:56px;padding:0;border:0;border-radius:50%;background:#bc5f3e;color:#fff;box-shadow:0 8px 24px #71331f55;transition:opacity .16s ease,transform .16s ease,background-color .16s ease,box-shadow .16s ease}.chat-launcher svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chat-launcher:focus-visible{background:#a8482f;box-shadow:0 10px 28px #71331f70;transform:translateY(-2px);outline:2px solid #fff;outline-offset:2px}@media(hover:hover){.chat-launcher:hover{background:#a8482f;box-shadow:0 10px 28px #71331f70;transform:translateY(-2px);outline:2px solid #fff;outline-offset:2px}}.chat-open .chat-launcher{opacity:0;pointer-events:none;transform:scale(.88)}.chat-activity{position:absolute;top:-4px;right:-4px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:2px solid #faf8f2;border-radius:999px;background:#354d3d;color:#fff;font-size:10px;font-weight:750}.chat-launcher.busy:before{content:"";position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px;border:2px solid #bc5f3e66;border-radius:50%;animation:chat-busy 1.5s ease-out infinite}@keyframes chat-busy{0%{opacity:.8;transform:scale(.86)}70%,to{opacity:0;transform:scale(1.18)}}@media(max-width:900px){.app{grid-template-columns:190px minmax(0,1fr)}}@media(max-width:650px){.app{grid-template-columns:minmax(0,1fr)}.workspace{grid-column:1}.reflect.chat-overlay{display:flex;inset:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));padding:18px 16px max(16px,env(safe-area-inset-bottom));border-radius:18px}.chat-launcher{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}.workspace:not(.chat-open) .editor-scroll{padding-bottom:76px}}@media(prefers-reduced-motion:reduce){.chat-backdrop,.reflect.chat-overlay,.chat-launcher{transition:none}.chat-launcher.busy:before{animation:none}}.app{grid-template-columns:minmax(0,1fr)}.workspace{grid-column:1}.reflect.chat-overlay{inset:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));width:auto;height:auto;margin:0}.reflect.chat-overlay .reflect-header h2{font-size:26px}.utility-controls{position:absolute;z-index:15;left:max(24px,env(safe-area-inset-left));display:flex;gap:10px;transition:opacity .16s ease,transform .16s ease}.utility-button{display:grid;place-items:center;width:56px;height:56px;padding:0;border:1px solid #cfc4b4;border-radius:50%;background:#f5f1e9;color:#354d3d;box-shadow:0 7px 22px #4e372529;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.utility-button:focus-visible{background:#e7eee8;border-color:#8ba093;box-shadow:0 9px 26px #354d3d33;outline:2px solid #fff;outline-offset:2px}@media(hover:hover){.utility-button:hover{background:#e7eee8;border-color:#8ba093;box-shadow:0 9px 26px #354d3d33;outline:2px solid #fff;outline-offset:2px}}.utility-button.mode-toggle[aria-pressed=true]{border-color:#354d3d;background:#354d3d;color:#fff}.utility-button.mode-toggle[aria-pressed=true]:focus-visible{background:#45634f}@media(hover:hover){.utility-button.mode-toggle[aria-pressed=true]:hover{background:#45634f}}.utility-icon{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.lock-icon-closed{display:none}.lock-button:hover .lock-icon-open,.lock-button:focus-visible .lock-icon-open{display:none}.lock-button:hover .lock-icon-closed,.lock-button:focus-visible .lock-icon-closed{display:block}.chat-open .utility-controls{opacity:0;pointer-events:none;transform:scale(.92)}.utility-controls .settings-button{overflow:hidden;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,width .2s ease,margin .2s ease,opacity .2s ease,transform .2s ease}.workspace.editing .settings-button{width:0;margin-left:calc(-1 * var(--control-gap));border-width:0;opacity:0;transform:scale(.6);pointer-events:none}.workspace.editing .chat-launcher{opacity:0;pointer-events:none;transform:scale(.92)}.calendar-grid button.unavailable{cursor:not-allowed;text-decoration:none;opacity:.32}.calendar-grid button:disabled:hover{background:none}@media(max-width:650px){.reflect.chat-overlay{inset:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.utility-controls{left:max(16px,env(safe-area-inset-left))}}@media(max-width:360px){:root{--control-size:50px;--control-gap:8px}.utility-controls,.corner-controls{gap:var(--control-gap)}.utility-button,.chat-launcher{width:50px;height:50px}.utility-icon{width:23px;height:23px}}@media(prefers-reduced-motion:reduce){.utility-controls,.corner-controls,.utility-button,.utility-controls .settings-button{transition:none}}.overlay-root{position:fixed;top:0;left:0;right:auto;bottom:auto;display:block;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;overflow:hidden}.overlay-root:not([open]){display:none}:root{--keyboard-ease:linear(0,.04 2.5%,.146 5.8%,.27 10.4%,.38 12.9%,.49 16.2%,.58 20.2%,.66 23.3%,.72 27.5%,.78 30.2%,.83 34%,.86 37.5%,.89 40.6%,.91 44.4%,.925 47.9%,.95 54.6%,.97 68.8%,.99 89.6%,1)}.overlay-root{height:var(--modal-viewport-height,100dvh);transition:height .48s var(--keyboard-ease) var(--keyboard-delay,0ms)}.overlay-viewport{transition:padding-bottom .48s var(--keyboard-ease) var(--keyboard-delay,0ms)}.overlay-root{--modal-keyboard-gap:16px}.overlay-root.keyboard-open .overlay-viewport{padding-bottom:var(--modal-keyboard-gap)}.overlay-root::backdrop{background:#36363680;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.overlay-viewport{width:100%;height:100%;display:grid;padding:var(--modal-inset-top) var(--modal-inset-right) var(--modal-inset-bottom) var(--modal-inset-left);pointer-events:none}.overlay-panel{position:relative;display:flex;flex-direction:column;width:100%;max-width:calc(var(--journal-max-width) - var(--modal-inset-left) - var(--modal-inset-right));height:100%;max-height:var(--modal-max-height);min-width:0;justify-self:center;align-self:center;min-height:0;margin:0;padding:20px;border:1px solid #cfc4b4;border-radius:24px;background:#faf7f0;overflow:hidden}.overlay-panel{pointer-events:auto}.overlay-root[open] .overlay-panel{animation:overlay-panel-enter .2s ease-out both}@keyframes overlay-panel-enter{0%{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}.overlay-header{position:relative;z-index:4;display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px}.overlay-scroll{flex:1 1 auto;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.overlay-footer{flex:0 0 auto;min-width:0}.overlay-header h2{margin:0;color:#3d332b;font-size:26px;line-height:1.2;font-weight:750}.overlay-close{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:0;border:1px solid #d3c8b8;border-radius:50%;background:#fffaf2;color:#5d4b3e;font-size:27px;line-height:1;box-shadow:0 3px 12px #4e37251b}.overlay-close:hover,.overlay-close:focus-visible{border-color:#bc5f3e;background:#f5dfd4;color:#8d352a;outline:none}.overlay-panel.reflect.chat-overlay{position:relative;inset:auto;width:100%;height:100%;margin:0;padding:20px;border:1px solid #cfc4b4;border-radius:24px;box-shadow:none;opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:none}.overlay-panel.reflect.chat-overlay .overlay-header{width:100%}.chat-scroll{display:flex;flex-direction:column}.settings-panel{background-color:#faf7f0;background-image:radial-gradient(circle at 18% 12%,#e8cdb633 0,transparent 34%),radial-gradient(circle at 82% 62%,#d9e3d633 0,transparent 38%),repeating-linear-gradient(0deg,#6d583008 0,#6d583008 1px,transparent 1px,transparent 5px)}.settings-scroll{flex:1 1 auto;width:100%;margin:0;min-height:0;overflow:auto;padding:0 12px 24px;scrollbar-gutter:stable both-edges;scrollbar-width:thin;scrollbar-color:#a99f8d transparent}.settings-scroll::-webkit-scrollbar{width:9px}.settings-scroll::-webkit-scrollbar-track{background:transparent}.settings-scroll::-webkit-scrollbar-thumb{background:#b8ae9c;border:2px solid transparent;border-radius:999px;background-clip:padding-box}.settings-panel .settings-section{display:grid;gap:var(--section-gap);background:transparent}.settings-panel .settings-section:last-of-type{padding-bottom:0}.settings-panel .settings-section>h3{font-size:18px;line-height:1.25;margin:0;font-weight:750}.settings-panel .settings-section>p{color:#686256;font-size:13px;line-height:1.4}.settings-panel .settings-section>button{border:1px solid #bcb2a3;border-radius:7px;background:#fff;color:#292820;padding:9px 12px}.api-key-row{display:grid;grid-template-columns:minmax(78px,auto) minmax(140px,1fr) minmax(54px,auto) auto;align-items:center;gap:10px}.api-key-row input{width:100%;min-width:0;padding:10px 12px;border:1px solid #cfc7b7;border-radius:8px;background:#fff}.api-key-row input:focus{outline:2px solid #557461;outline-offset:1px}.api-key-row button{border:1px solid #d2b7ae;border-radius:7px;background:#fff;color:#9a3328;padding:9px 12px}.api-key-row button:disabled{opacity:.42;cursor:not-allowed}.persona-setting textarea::placeholder{color:#8c877d;opacity:.72}.backup-actions{display:grid;gap:var(--section-gap)}.backup-action{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:48px;padding:11px 14px;border:1px solid #bcb2a3;border-radius:9px;background:#fff;color:#292820;text-align:left;cursor:pointer}.backup-action:hover,.backup-action:focus-within{border-color:#7f9586;background:#edf2ed;outline:none}.backup-action svg{flex:0 0 16px;width:16px;height:16px;fill:none;stroke:#354d3d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.backup-action:first-child{background:#354d3d;color:#fff;border-color:#354d3d}.backup-action:first-child:hover,.backup-action:first-child:focus-within{background:#45634f}.backup-action:first-child svg{stroke:#fff}.ai-chat-section{display:grid;gap:var(--section-gap)}.ai-chat-row{display:grid;gap:8px}.ai-chat-row label{display:grid;gap:6px;color:#554f45;font-size:12px;font-weight:700}.ai-chat-row input{width:100%;height:42px;padding:9px 11px;border:1px solid #cfc7b7;border-radius:8px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.ai-chat-row input:hover{border-color:#8ba093;background:#fcfdfb}.ai-chat-row input:focus{border-color:#557461;outline:none;box-shadow:inset 0 0 0 1px #557461}.ai-key-row{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:0}.field-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}.save-status{color:#8a8172;font-size:12px;font-weight:400;white-space:nowrap}.save-status[data-tone=saved]{color:#4f7a5c}.save-status[data-tone=pending]{color:#96601b}.save-status[data-tone=error]{color:#a33}.platform-picker{position:relative;width:100%;font-weight:400}.platform-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;height:42px;padding:9px 11px;border:1px solid #cfc7b7;border-radius:8px;background:#fff;text-align:left;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.platform-trigger:hover{border-color:#8ba093;background:#fcfdfb}.platform-trigger:focus-visible,.platform-trigger[aria-expanded=true]{border-color:#557461;outline:none;box-shadow:inset 0 0 0 1px #557461}.platform-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s ease}.platform-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.platform-options{position:absolute;z-index:8;top:calc(100% + 2px);left:0;right:0;padding:5px;border:1px solid #bfb5a5;border-radius:9px;background:#faf7f0;box-shadow:0 12px 30px #29282038}.platform-options button{display:grid;grid-template-columns:20px 1fr;align-items:center;gap:7px;width:100%;padding:9px 10px;border:0;border-radius:6px;background:#e4ebe3;color:#2f4838;text-align:left}.platform-options button:hover,.platform-options button:focus-visible{background:#d3dfd4;outline:none}.ai-chat-row.persona-setting label{display:grid}.ai-chat-row.persona-setting textarea{margin-top:0;border:1px solid #cfc7b7;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.ai-chat-row.persona-setting textarea:hover{border-color:#8ba093;background:#fcfdfb}.ai-chat-row.persona-setting textarea:focus{border-color:#557461;outline:none;box-shadow:inset 0 0 0 1px #557461}.utility-lock{position:relative;width:56px;height:56px}.utility-lock .utility-button{position:absolute;top:0;right:0;bottom:0;left:0}.utility-lock-progress{position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;width:56px;height:56px;overflow:visible;pointer-events:none;transform:rotate(-90deg)}.utility-lock-progress circle{fill:none;stroke-width:3}.utility-lock-track{stroke:#d4cabb}.utility-lock-value{stroke:#354d3d;stroke-linecap:round;transition:stroke-dashoffset .35s linear}@media(max-width:650px){.overlay-panel,.overlay-panel.reflect.chat-overlay{padding:16px;border-radius:18px}}@media(prefers-reduced-motion:reduce){.overlay-root,.overlay-viewport{transition:none}.overlay-root[open] .overlay-panel{animation:none}.utility-lock-value{transition:none}}.page{padding:20px max(20px,env(safe-area-inset-right)) 20px max(20px,env(safe-area-inset-left))}.page-header .date-control{margin:20px 0 20px -12px}.date-control>button{padding:7px 12px;font-size:32px}.date-calendar-icon{width:1em;height:1em}.date-chevron{width:.55em;height:.55em}.entry-date-picker{left:12px}.entry-date-meta{display:flex;align-items:center;gap:8px;color:#81796c;font-size:11px;font-weight:600;white-space:nowrap}.entry-date-picker button.selected .entry-date-meta{color:#eef4ef}.editor-area .toolbar,.editor-area:hover .toolbar,.editor-area:focus-within .toolbar{scrollbar-width:thin;scrollbar-color:#b8ae9c transparent}.editor-area .toolbar::-webkit-scrollbar{height:7px}.editor-area .toolbar::-webkit-scrollbar-track{background:transparent}.editor-area .toolbar::-webkit-scrollbar-thumb{background:#b8ae9c;border:2px solid transparent;border-radius:999px;background-clip:padding-box}.overlay-panel{--modal-edge:16px;--section-gap:12px}.overlay-panel,.overlay-panel.reflect.chat-overlay{padding:16px;border-radius:18px}.overlay-header{margin-bottom:0}.thread-shell .thread{padding:8px 2px 18px}.settings-panel .settings-section:first-child{padding-top:0}.utility-controls{left:max(16px,env(safe-area-inset-left))}.chat-launcher{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}.page-header,.editor-scroll .tiptap{width:min(100%,var(--journal-max-width));margin-inline:auto}.api-key-input{position:relative;width:100%}.api-key-input input{display:block;color:transparent;caret-color:transparent;transition:color .14s ease}.api-key-input.revealed input{color:#292820;caret-color:auto}.api-key-mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;min-width:0;padding:9px 11px;color:#554f45;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;opacity:1;transition:opacity .14s ease}.api-key-input.revealed .api-key-mask{opacity:0}.prompt-chips{width:calc(100% + 36px);margin:auto -18px 0;padding:0 18px 4px;-webkit-mask-image:linear-gradient(to right,transparent 18px,#000 36px,#000 calc(100% - 36px),transparent calc(100% - 18px));mask-image:linear-gradient(to right,transparent 18px,#000 36px,#000 calc(100% - 36px),transparent calc(100% - 18px))}.prompt-chips:before,.prompt-chips:after{display:none}.thread-shell .thread{padding-inline:0;overflow-x:hidden}.thread-shell.has-prompts .thread{padding-bottom:0}@media(prefers-reduced-motion:reduce){.api-key-input input,.api-key-mask{transition:none}}.gate{width:min(560px,calc(100% - 32px));max-width:none}.social-actions{display:grid;width:min(100%,390px);margin-inline:auto;gap:10px}.social-actions button{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;min-height:50px;border:1px solid #c8beae;border-radius:10px;background:#fff;color:#292820;box-shadow:0 3px 12px #4e372511}.social-actions button:hover,.social-actions button:focus-visible{border-color:#7e9384;background:#f8faf7;box-shadow:0 6px 18px #354d3d1c;outline:none}.social-mark{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-weight:800}.google-mark{color:#4285f4;border:1px solid #d6dce8}.gate.entry-gate{display:flex;align-items:center;justify-content:center}.entry-stack{display:grid;gap:32px;width:100%;max-width:430px}.entry-heading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%}.entry-icon{display:grid;place-items:center;height:64px;aspect-ratio:38/61;flex:none}.entry-lantern{display:block;width:100%;height:100%;color:#354d3d}.gate .entry-heading h1{margin:0;color:#292820;font-size:48px;letter-spacing:-.035em;line-height:1.1;font-weight:750;text-align:left;white-space:nowrap}.entry-content{display:grid;min-height:24px}.spinner{display:block;width:18px;height:18px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:spinner-turn .8s linear infinite}@keyframes spinner-turn{to{transform:rotate(360deg)}}.entry-content>.spinner{justify-self:center;color:#696558}.gate .error .text-button{padding:0;border:0;background:none;color:inherit;font:inherit;text-decoration:underline}.entry-controls{animation:gate-controls-in .15s ease-out both}@keyframes gate-controls-in{0%{opacity:0}}.vault-gate form{width:100%;margin:0}.vault-gate .unlock-options{display:grid;gap:0}.unlock-method{display:grid;gap:7px;margin:0;padding:0;border:0}.unlock-method>label,.unlock-label{min-height:15px;color:#554f45;font-size:12px;font-weight:750;line-height:15px;letter-spacing:.01em}.unlock-method>.passphrase-label.invalid{color:#a33}.vault-gate .passphrase-unlock{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:stretch;gap:8px}.vault-gate .passphrase-field{grid-area:1/1;position:relative;contain:layout;min-width:0;width:100%;height:52px}.vault-gate .passphrase-unlock input{min-width:0;width:100%;height:52px;margin:0;padding:10px 13px;border:1px solid #bfb5a5;border-radius:10px;background:#fff;font-size:16px}.vault-gate .passphrase-unlock input:hover{border-color:#8ba093}.vault-gate .passphrase-unlock input:focus{border-color:#557461;outline:none;box-shadow:inset 0 0 0 1px #557461,0 0 0 3px #55746120}.vault-gate .passphrase-unlock input[aria-invalid=true]{border-color:#b7473d;background:#fff8f6;box-shadow:inset 0 0 0 1px #b7473d}.vault-gate .passphrase-unlock input[aria-invalid=true]:focus{border-color:#b7473d;box-shadow:inset 0 0 0 1px #b7473d,0 0 0 3px #b7473d24}.vault-gate .passphrase-submit{grid-area:1/2;display:grid;place-items:center;width:100%;height:52px;padding:0}.vault-gate .passphrase-submit .gate-lock-icon{width:25px;height:25px}.vault-gate .unlock-divider{position:relative;display:grid;height:12px;margin:10px 0;padding:0;place-items:center}.vault-gate .unlock-divider:before{position:absolute;inset:auto 0 50%;width:auto;height:1px;transform:none;background:#d7cebf}.vault-gate .unlock-divider span{padding:0 9px;background:#f4efe5;font-size:10px;line-height:12px}.gate .biometric-unlock{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:52px;min-height:52px;padding:0 16px}.gate :is(.passphrase-submit,.biometric-unlock){position:relative;overflow:hidden;border:1px solid #78907e;border-radius:10px;background:#fff;color:#354d3d;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.gate :is(.passphrase-submit,.biometric-unlock):after{content:"";position:absolute;inset:-40% auto -40% -45%;width:32%;background:linear-gradient(105deg,transparent,#fff9,transparent);transform:skew(-16deg);pointer-events:none}.gate :is(.passphrase-submit:not([aria-busy=true]),.biometric-unlock:not(:disabled)):hover:after{animation:unlock-sheen .55s ease-out forwards}.gate :is(.passphrase-submit:not([aria-busy=true]),.biometric-unlock:not(:disabled)):is(:hover,:focus-visible){background:#e4eee6;border-color:#557461;box-shadow:inset 0 0 0 1px #ffffff70,0 5px 15px #263a2d20;outline:none}.gate .biometric-unlock svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.vault-gate .error{margin:12px 0 0;text-align:left}.account-section>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0;color:#554f45}.account-section button{padding:8px 12px;border:1px solid #bcb2a3;border-radius:7px;background:#fff;color:#8d352a}@media(max-width:520px){.gate{width:min(100% - 24px,430px);padding:20px}.entry-icon{height:56px}.gate .entry-heading h1{font-size:40px}.vault-gate .passphrase-unlock{grid-template-columns:minmax(0,1fr) 50px}.vault-gate .passphrase-field,.vault-gate .passphrase-unlock input,.vault-gate .passphrase-submit,.gate .biometric-unlock{height:50px;min-height:50px}}@media(prefers-reduced-motion:reduce){.entry-controls{animation:none}.gate :is(.passphrase-submit,.biometric-unlock){transition:none}.gate :is(.passphrase-submit,.biometric-unlock):after{animation:none!important}}html.journal-open,html.journal-open body,html.journal-open #root{background:#faf8f2}html:has(main.gate),html:has(main.gate) body{height:100%;overflow:hidden;overscroll-behavior:none}html:has(main.gate) body{position:fixed;top:0;right:0;bottom:0;left:0;width:100%}html:has(main.gate) #root{height:100%;overflow-y:auto;overscroll-behavior:none}main.gate{min-height:100%}.toolbar button:disabled{opacity:.38;cursor:not-allowed}@media(max-width:650px){html.journal-open,html.journal-open body,html.journal-open #root{height:100%;overflow:hidden;overscroll-behavior:none}html.journal-open body{position:fixed;top:0;right:0;bottom:0;left:0;width:100%}.app{position:fixed;top:var(--app-visual-top,0px);left:0;width:100%;height:var(--app-resting-height,100dvh);min-height:0;overflow:hidden;overscroll-behavior:none;background:#faf8f2;transition:top .28s ease,height .28s ease}html.journal-keyboard-targeted .app{height:var(--app-keyboard-height,var(--app-resting-height,100dvh))}html.modal-active .app{top:0;height:var(--app-resting-height,100dvh);transition:none}.workspace{height:100%;min-height:0;overflow:hidden;overscroll-behavior:none}.page{min-height:0;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:0;overscroll-behavior:none}.workspace:not(.chat-open) .editor-scroll{padding-bottom:0}.editor-scroll .tiptap{min-height:100%;padding-bottom:96px}.utility-button,.utility-button:hover,.utility-button:focus-visible{box-shadow:0 1px 4px #4e372514}.chat-launcher,.chat-launcher:hover,.chat-launcher:focus-visible{box-shadow:0 1px 4px #71331f14}.overlay-root{overscroll-behavior:none}.overlay-panel{min-height:0}.overlay-panel.reflect.chat-overlay .composer{flex:0 0 auto}.settings-scroll,.thread,.entry-date-picker,.editor-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.settings-scroll,.thread-shell .thread{overflow-anchor:none;scroll-behavior:auto}.ai-chat-row :is(input,textarea),.settings-panel :is(input,textarea,select),.composer textarea{font-size:16px}}.page-header .date-control{position:relative;z-index:2;display:block;min-width:0;margin:0 0 0 -12px;background:#faf8f2}.page-title-row{position:relative;z-index:9;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#faf8f2}.page-title-row:after{content:"";position:absolute;z-index:1;top:-20px;right:-30px;bottom:-2px;left:-30px;background:#faf8f2;pointer-events:none}.page-header .meta{position:relative;z-index:2;flex-direction:column;align-items:flex-end;justify-content:center;gap:2px;line-height:1.25;white-space:nowrap}.page-header .date-control>button{position:relative;z-index:2}.page-header .editor-area{position:relative;z-index:8;pointer-events:none}.page-header .editor-area.editing{pointer-events:auto}.page-header .toolbar-slot{position:relative;width:calc(100% + 36px);height:0;margin-inline:-18px;overflow:visible;transition:height .28s ease}.page-header .editor-area.editing .toolbar-slot{height:54px}.page-header .editor-area .toolbar,.page-header .editor-area:hover .toolbar,.page-header .editor-area:focus-within .toolbar{position:absolute;top:8px;left:0;width:100%;height:46px;min-height:46px;max-height:46px;margin:0;padding:4px 18px 12px;border:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x;-webkit-overflow-scrolling:touch}.page-header .editor-area .toolbar{transform:translateY(-54px);transition:transform .28s ease}.page-header .editor-area.editing .toolbar{transform:translateY(0)}.app>aside nav,.entry-date-list{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%)}.editor-scroll .tiptap{padding-top:12px}.settings-scroll{margin-block:var(--modal-edge);padding-block:0}.thread-shell,.thread-shell.has-prompts{margin:var(--modal-edge) 0 calc(var(--modal-edge) - 4px)}.thread-shell .thread{padding-top:0;padding-bottom:4px}.thread-shell.has-prompts .thread{padding-top:0;padding-bottom:0}.editor-scroll.fade-top,.settings-scroll.fade-top,.thread-shell .thread.fade-top{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 24px);mask-image:linear-gradient(to bottom,transparent 0,#000 24px)}.editor-scroll.fade-bottom,.settings-scroll.fade-bottom,.thread-shell .thread.fade-bottom{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent 100%)}.editor-scroll.fade-top.fade-bottom,.settings-scroll.fade-top.fade-bottom,.thread-shell .thread.fade-top.fade-bottom{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%)}.app>aside nav{padding-top:26px;padding-bottom:26px}.entry-date-list{padding-top:26px;padding-bottom:26px}.editor-area .toolbar,.prompt-chips,.find-replace,.markdown pre{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%)}.find-replace,.markdown pre{padding-inline:26px}.editor-scroll{scroll-behavior:auto;overflow-anchor:none}.thread-shell .thread{scroll-behavior:smooth}.page-header:after{display:none}.passphrase-shake{animation:passphrase-shake .3s ease-in-out}@keyframes passphrase-shake{0%,to{transform:translate(0)}20%,60%{transform:translate(-5px)}40%,80%{transform:translate(5px)}}.biometric-offer>div{display:flex;gap:8px}.biometric-offer button{flex:1;min-height:44px;padding:9px 13px;border:1px solid #354d3d;border-radius:9px;background:#354d3d;color:#fff}.biometric-offer button.secondary{flex:none;border-color:#cfc7b7;background:#fff;color:#354d3d}.biometric-offer button:disabled{opacity:.6}.overlay-root.open .thread article.welcome .bubble{animation:welcome-in .3s ease-out .3s both}.prompt-chips button{animation:none}.overlay-root.open .prompt-chips button{animation:prompt-bubble-in .32s ease-out both}.overlay-root.open .prompt-chips button:nth-of-type(2){animation-delay:.12s}.overlay-root.open .prompt-chips button:nth-of-type(3){animation-delay:.24s}.overlay-root.open .prompt-chips button:nth-of-type(4){animation-delay:.36s}@keyframes welcome-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.page-header .toolbar-slot,.page-header .editor-area .toolbar{transition:none}.passphrase-shake,.overlay-root.open .thread article.welcome .bubble{animation:none}.overlay-root.open .prompt-chips button{animation:none}.editor-scroll,.thread-shell .thread{scroll-behavior:auto}}:root{--font-family:Inter,ui-sans-serif,system-ui,sans-serif;--font-title:750 48px/1.1 var(--font-family);--font-h1:750 28px/1.15 var(--font-family);--font-h2:750 20px/1.25 var(--font-family);--font-h3:700 18px/1.3 var(--font-family);--font-h4:700 14px/1.4 var(--font-family);--font-body-large:400 16px/1.5 var(--font-family);--font-body-medium:400 14px/1.5 var(--font-family);--font-body-small:400 12px/1.5 var(--font-family);--font-label:700 12px/1.25 var(--font-family);--font-meta:400 12px/1.25 var(--font-family);--font-button:600 14px/1.2 var(--font-family);--gutter:20px;--journal-max-width:960px;--bubble-padding-x:11px;--modal-max-height:900px;--controls-bottom:max(16px,env(safe-area-inset-bottom));--scroll-inset:calc(var(--gutter) * .6 - 4.5px);--controls-band:96px;--fade-band:120px}@media(max-width:520px){:root{--font-title:750 40px/1.1 var(--font-family)}}.gate .entry-heading h1{font:var(--font-title);letter-spacing:-.035em}.gate .entry-heading h1{font-size:clamp(25px,5vw,36px);white-space:nowrap}.entry-icon{aspect-ratio:1;height:64px}.gate .entry-heading h1{text-align:center}.page-header .date-control>button,.overlay-header h2{font:var(--font-h1)}.settings-panel .settings-section>h3{font:var(--font-h2)}.tiptap h1{font:var(--font-h2);margin:1em 0 .4em}.tiptap h2{font:var(--font-h3);margin:1em 0 .4em}.tiptap :is(h3,h4,h5,h6){font:var(--font-h4);margin:1em 0 .4em}.markdown :is(h1,h2){font:700 14px/1.4 var(--font-family);margin:1em 0 .4em}.markdown :is(h3,h4,h5,h6){font:700 12px/1.5 var(--font-family);margin:1em 0 .4em}.tiptap>:first-child,.markdown>:first-child{margin-top:0}.tiptap,.ai-chat-row input,.api-key-mask,.persona-setting textarea,.reflect .composer textarea,.find-replace input,.vault-gate .passphrase-unlock input,.platform-trigger,.platform-options button,.account-section>div>span,.entry-date-picker button{font:var(--font-body-medium)}.thread .bubble,.prompt-chips button{font:var(--font-body-small)}.thread .bubble p,.thread .bubble .markdown{line-height:inherit}.reflect .composer textarea{min-height:21px}.ai-chat-row label,.unlock-method>label,.unlock-label,.find-replace label,.entry-date-picker h3{font:var(--font-label)}.save-status,.page-header .meta,.entry-date-meta,.find-replace .match-count{font:var(--font-meta)}.toolbar button,.account-section button,.find-replace button:not(.find-close),.backup-action,.social-actions button,.gate :is(.passphrase-submit,.biometric-unlock),.biometric-offer button,.error-actions :is(a,button),.key-required{font:var(--font-button)}.page{padding-left:max(var(--gutter),env(safe-area-inset-left));padding-right:max(var(--gutter),env(safe-area-inset-right))}.editor-scroll{margin-left:calc(-1*max(var(--gutter),env(safe-area-inset-left)));margin-right:calc(var(--scroll-inset) - max(var(--gutter),env(safe-area-inset-right)));padding-left:max(var(--gutter),env(safe-area-inset-left));padding-right:calc(max(var(--gutter),env(safe-area-inset-right)) - var(--scroll-inset))}.overlay-panel,.overlay-panel.reflect.chat-overlay{padding-inline:var(--gutter)}.overlay-scroll.chat-scroll,.thread-shell{overflow:visible}.settings-scroll,.thread-shell .thread{width:auto;margin-left:calc(-1 * var(--gutter));margin-right:calc(var(--scroll-inset) - var(--gutter));padding-left:var(--gutter);padding-right:calc(var(--gutter) - var(--scroll-inset));scrollbar-gutter:auto}.prompt-chips{--chips-right:calc(var(--gutter) - var(--scroll-inset));width:calc(100% + var(--gutter) + var(--chips-right));margin:auto calc(-1 * var(--chips-right)) 0 calc(-1 * var(--gutter));padding:0 var(--chips-right) 4px var(--gutter);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--gutter),#000 calc(100% - var(--chips-right)),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 var(--gutter),#000 calc(100% - var(--chips-right)),transparent 100%)}.corner-controls{position:absolute;z-index:15;right:max(16px,env(safe-area-inset-right));display:flex;align-items:center;gap:10px;transition:opacity .16s ease,transform .16s ease}.corner-controls .chat-launcher{position:relative;right:auto;bottom:auto;transition:background-color .16s ease,box-shadow .16s ease,opacity .2s ease,transform .2s ease}.utility-controls,.corner-controls{bottom:var(--controls-bottom)}.chat-open .corner-controls{opacity:0;pointer-events:none;transform:scale(.92)}@media(max-width:650px){.editor-scroll .tiptap{padding-bottom:var(--controls-band)}}.editor-scroll.fade-bottom{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - var(--fade-band)),transparent calc(100% - 16px));mask-image:linear-gradient(to bottom,#000 calc(100% - var(--fade-band)),transparent calc(100% - 16px))}.editor-scroll.fade-top.fade-bottom{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 24px,#000 calc(100% - var(--fade-band)),transparent calc(100% - 16px));mask-image:linear-gradient(to bottom,transparent 0,#000 24px,#000 calc(100% - var(--fade-band)),transparent calc(100% - 16px))}@media(prefers-reduced-motion:reduce){.corner-controls .chat-launcher{transition:none}}.thread article,.reflect.chat-overlay .thread article{flex-direction:column;align-items:flex-start;gap:0;max-width:min(92%,720px)}.thread article .bubble{max-width:100%}.thread article.user{flex-direction:column;align-items:flex-end}.thread article.same-author{margin-top:-8px}.thread article .message-author{margin:4px var(--bubble-padding-x) 0;color:#8a8172;font:var(--font-meta);white-space:nowrap}.thread article .message-author strong{font-weight:700}.markdown table,.tiptap table{width:100%;margin:.6em 0;border-collapse:collapse}.markdown :is(th,td),.tiptap :is(th,td){padding:6px 8px;border:1px solid #d6ccbb;text-align:left;vertical-align:top}.markdown th,.tiptap th{font-weight:700}.tiptap :is(th,td){border-color:#d6ccbb}.tiptap th{background:#ece5d8}.tiptap td{background:#fff}.tiptap tr:nth-child(2n) td{background:#f5f1e9}.thread .markdown :is(th,td){border-color:#c3d1c0}.thread .markdown th{background:#d3dfcf}.thread .markdown td{background:#f2f6f0}.thread .markdown tbody tr:nth-child(2n) td{background:#e9efe6}.tiptap :is(th,td) p{margin:0}.markdown table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.thread article.user .markdown :is(th,td){border-color:#ffffff40}.thread article.user .markdown th{background:#ffffff2e}.thread article.user .markdown td{background:#ffffff14}.thread article.user .markdown tbody tr:nth-child(2n) td{background:#ffffff0a}:root{--control-size:56px;--control-gap:10px}.utility-controls{gap:var(--control-gap)}.overlay-root.open .thread article.welcome .message-author{animation:welcome-in .3s ease-out .3s both}@media(prefers-reduced-motion:reduce){.overlay-root.open .thread article.welcome .message-author{animation:none}}.entry-date-picker{display:flex;flex-direction:column;padding:0;overflow:hidden}.entry-date-list{flex:1 1 auto;min-height:0;padding-inline:7px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
