:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d252c;background:#eef1f2;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,textarea,input{font:inherit}button{cursor:pointer}button:disabled,textarea:disabled{cursor:not-allowed}.app-shell{display:grid;grid-template-columns:minmax(0,1fr) 8px minmax(320px,var(--side-pane-width, 430px));height:100vh;overflow:hidden}.reader-pane{display:flex;min-width:0;min-height:0;flex-direction:column;border-right:1px solid #d3d8dc;background:#e4e8eb}.pane-resizer{position:relative;z-index:4;width:8px;min-width:8px;border:0;background:#dbe1e4;cursor:col-resize;touch-action:none}.pane-resizer:after{content:"";position:absolute;top:50%;left:50%;width:2px;height:44px;border-radius:999px;background:#9aa8af;transform:translate(-50%,-50%)}.pane-resizer:hover,.pane-resizer:focus-visible,body.resizing-side-pane .pane-resizer{background:#cbd5d8;outline:none}.pane-resizer:hover:after,.pane-resizer:focus-visible:after,body.resizing-side-pane .pane-resizer:after{background:#1f6f68}body.resizing-side-pane{cursor:col-resize;-webkit-user-select:none;user-select:none}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);background:#f4f6f5;color:#1d2928}.auth-loading{min-height:100vh;display:grid;place-items:center;background:#f4f6f5;color:#526460;font-size:14px;font-weight:650}.auth-intro{display:flex;flex-direction:column;justify-content:center;padding:clamp(48px,8vw,120px);background:#173d39;color:#f7fbfa}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:64px;font-size:19px}.auth-brand img{background:#fff;border-radius:50%;padding:2px;box-shadow:0 1px 4px #00000040}.auth-brand .wordmark-dark{color:#f7fbfa}.auth-brand .wordmark-dark .wordmark-accent{color:#5e9bff}.auth-intro h1{max-width:720px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(38px,5vw,68px);line-height:1.06;font-weight:500;letter-spacing:0}.auth-intro p{max-width:620px;margin:28px 0 0;color:#c8d8d5;font-size:18px;line-height:1.6}.auth-panel{align-self:center;width:min(420px,calc(100% - 48px));margin:40px auto;padding:32px;border:1px solid #d8dfdd;border-radius:8px;background:#fff;box-shadow:0 18px 60px #173d391a}.auth-form-header span{color:#60716e;font-size:12px;font-weight:700;text-transform:uppercase}.auth-form-header h2{margin:8px 0 28px;font-size:28px;letter-spacing:0}.auth-panel form,.auth-panel label{display:grid;gap:8px}.auth-panel form{gap:18px}.auth-panel label{color:#334440;font-size:13px;font-weight:650}.auth-input{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 12px;border:1px solid #cbd5d2;border-radius:6px;color:#6b7b78}.auth-input:focus-within{border-color:#23776f;box-shadow:0 0 0 3px #23776f1f}.auth-input input{width:100%;border:0;outline:0;background:transparent;color:#1d2928;font:inherit;font-size:15px}.auth-submit{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;border-radius:6px;background:#23776f;color:#fff;font-weight:700;cursor:pointer}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-message{margin:0;padding:10px 12px;border-left:3px solid #23776f;background:#edf6f4;color:#284943;font-size:13px;line-height:1.45}.auth-message.error{border-color:#b54747;background:#fff1f1;color:#7c2e2e}.auth-actions{display:flex;justify-content:space-between;gap:16px;margin-top:22px}.auth-actions button,.auth-back{border:0;background:transparent;color:#23776f;font-weight:650;cursor:pointer}.auth-back{margin-top:22px;padding:0}.account-menu,.account-profile-button{display:flex;align-items:center}.account-menu{gap:6px;padding-left:8px;border-left:1px solid #d8dfdd}.account-profile-button{gap:6px;max-width:150px;padding:6px;border:0;border-radius:4px;background:transparent;overflow:hidden;color:#42514f;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.account-profile-button span{overflow:hidden;text-overflow:ellipsis}.account-menu>button:not(.account-profile-button){display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:4px;background:transparent;color:#526460;cursor:pointer}.account-menu button:hover{background:#edf2f1;color:#1f5f59}.account-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:0;border:1px solid #cfd8d6;border-radius:8px;background:#fff;color:#1d2928;box-shadow:0 24px 80px #0d1f1d3d}.account-dialog::backdrop{background:#1523216b}.account-dialog-header,.account-section{padding:22px 24px}.account-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e1e7e5}.account-dialog-header span{color:#697976;font-size:11px;font-weight:750;text-transform:uppercase}.account-dialog-header h2,.account-danger-zone h3{margin:5px 0 0;letter-spacing:0}.account-dialog-header h2{font-size:22px}.account-dialog-header button{display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:4px;background:transparent;color:#526460}.account-section{display:grid;gap:16px}.account-section+.account-section{border-top:1px solid #e1e7e5}.account-section label{display:grid;gap:7px;color:#40504d;font-size:13px;font-weight:650}.account-section input{min-height:42px;padding:0 11px;border:1px solid #cbd5d2;border-radius:6px;outline:0;color:#1d2928}.account-section input:focus{border-color:#23776f;box-shadow:0 0 0 3px #23776f1f}.account-section input:disabled{background:#f3f5f4;color:#6a7876}.account-primary-action,.account-delete-action{display:inline-flex;width:fit-content;min-height:40px;align-items:center;justify-content:center;gap:7px;padding:0 14px;border:0;border-radius:6px;color:#fff;font-weight:700}.account-primary-action{background:#23776f}.account-delete-action{background:#a23d3d}.account-primary-action:disabled,.account-delete-action:disabled{opacity:.55}.account-danger-zone{background:#fff9f8}.account-danger-zone h3{font-size:16px}.account-danger-zone p{margin:6px 0 0;color:#755b58;font-size:13px;line-height:1.5}.account-usage-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-usage-header h3{font-size:16px}.account-usage-refresh{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid #cbd5d2;border-radius:6px;background:#fff;color:#2c3a38;font-size:12px;font-weight:650}.account-usage-refresh:disabled{opacity:.55}.account-usage-empty{margin:0;color:#6a7876;font-size:13px}.account-usage-period{margin:0;color:#40504d;font-size:13px}.account-usage-period strong{text-transform:capitalize;color:#1d2928}.account-credit-meter{display:grid;gap:8px}.account-credit-headline{display:flex;align-items:baseline;gap:8px}.account-credit-used{color:#15211f;font-size:30px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1}.account-credit-allowance{color:#6a7876;font-size:14px;font-weight:650}.account-credit-bar{height:8px;border-radius:999px;background:#e1e7e5;overflow:hidden}.account-credit-bar span{display:block;height:100%;border-radius:999px;background:#23776f}.account-credit-remaining{margin:0;color:#40504d;font-size:12px;font-weight:650}.account-usage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:0}.account-usage-grid div{display:grid;gap:2px}.account-usage-grid dt{color:#6a7876;font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.03em}.account-usage-grid dd{margin:0;color:#15211f;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}.account-usage-mode{text-transform:capitalize}.account-usage-models{width:100%;border-collapse:collapse;font-size:12px}.account-usage-models th,.account-usage-models td{padding:6px 8px;text-align:right;font-variant-numeric:tabular-nums}.account-usage-models th:first-child,.account-usage-models td:first-child{text-align:left;font-variant-numeric:normal}.account-usage-models thead th{border-bottom:1px solid #e1e7e5;color:#6a7876;font-weight:650}.account-usage-models tbody td{border-bottom:1px solid #f0f3f2;color:#2c3a38}.account-dialog>.auth-message{margin:0 24px 22px}.development-user{color:#71807d;font-size:12px}@media(max-width:840px){.auth-shell{grid-template-columns:1fr}.auth-intro{min-height:300px;padding:40px 28px}.auth-brand{margin-bottom:36px}.auth-intro h1{font-size:38px}}@media(max-width:980px){.development-user,.account-profile-button span,.account-profile-button .lucide-settings{display:none}.account-menu{padding-left:4px}.account-profile-button{padding:6px}}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:14px 18px;border-bottom:1px solid #d3d8dc;background:#f8f9f9eb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar h1{margin:0;font-size:17px;font-weight:720;letter-spacing:0}.brand{display:flex;align-items:center;gap:10px}.brand-logo{width:34px;height:34px;flex-shrink:0}.wordmark{font-weight:800;letter-spacing:-.02em;color:#0d1f39}.wordmark-accent{color:#0060fa}.topbar p{margin:3px 0 0;color:#61707a;font-size:13px}.toolbar{display:flex;align-items:center;gap:8px}.primary-button,.ghost-button,.composer>button[type=submit],.message-actions button,.note button,.highlight-note button,.zoom-control button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;border:1px solid transparent;min-height:34px;padding:0 12px;font-size:13px;font-weight:620;line-height:1}.zoom-control{display:inline-flex;align-items:center;overflow:hidden;border:1px solid #cfd6da;border-radius:7px;background:#fff}.zoom-control button{min-width:34px;min-height:32px;border:0;border-radius:0;padding:0 9px;color:#2b363d;background:transparent;font-size:12px}.zoom-control button+button{border-left:1px solid #e0e4e6}.zoom-control button:hover{background:#f4f6f6}.primary-button{color:#fff;background:#1f6f68}.primary-button:hover{background:#195f59}.primary-button input{display:none}.ghost-button{color:#2b363d;border-color:#cfd6da;background:#fff}.ghost-button:hover{background:#f4f6f6}.pdf-scroll{flex:1;min-height:0;overflow:auto;padding:26px 24px 42px}.pdf-page{position:relative;width:fit-content;max-width:100%;margin:0 auto 28px}.margin-note{position:absolute;width:190px;pointer-events:auto;color:#1f6fc4;font-family:Gochi Hand,Bradley Hand,Comic Sans MS,cursive;font-size:17px;line-height:1.34;cursor:pointer;transform:rotate(-.7deg);transition:color .14s ease}.margin-note:hover,.margin-note.active{color:#14559e}.margin-note.active{text-shadow:0 0 .6px currentColor}.margin-note-arrow{position:absolute;overflow:visible;pointer-events:none;color:#1f6fc4;opacity:.85}.margin-note.side-left{transform:rotate(.6deg)}.margin-note-body :where(p,ul,ol){margin:0 0 4px;font-size:inherit;line-height:inherit}.margin-note-body :where(p,ul,ol):last-child{margin-bottom:0}.margin-note-body strong{font-weight:700}.page-number{margin:0 0 7px 2px;color:#687782;font-size:12px}.page-surface{position:relative;overflow:visible;border-radius:6px;box-shadow:0 14px 38px #1b262c21,0 1px 2px #1b262c1f;background:#fff}.page-surface canvas{display:block;max-width:100%;height:auto}.text-layer{position:absolute;inset:0;z-index:1;-webkit-user-select:text;user-select:text}.text-layer span{position:absolute;overflow:hidden;color:#00000003;line-height:1;white-space:pre;-webkit-user-select:text;user-select:text;transform-origin:0 0}.text-layer ::selection{color:transparent;background:#1f6f6847}.highlight-layer{position:absolute;inset:0;z-index:2;pointer-events:none}.highlight-box{position:absolute;border-radius:2px;background:linear-gradient(104deg,#ffdd6300 .5%,#ffdd635c 2.4%,#ffd5404d 96%,#ffdd6300 99.5%);box-shadow:none;transition:background-color .16s ease,box-shadow .16s ease}.highlight-box.transient{background:#52b2a829;box-shadow:none;border-radius:2px}.highlight-box.focused{background:#ffb73b80;box-shadow:0 0 0 1px #9d630559,0 0 0 5px #ffb73b2e}.spotlight-layer{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;animation:spotlight-in .32s ease both}@keyframes spotlight-in{0%{opacity:0}to{opacity:1}}.agent-callout-layer{position:absolute;inset:0;z-index:5;pointer-events:none}.agent-callout{position:absolute;width:max-content;max-width:min(270px,58%);transform:translate(-100%,calc(-100% - 10px)) rotate(-.7deg);border:1.4px solid rgba(31,111,104,.5);border-radius:5px 14px 7px 12px/12px 6px 13px 7px;padding:8px 13px 9px;color:#1b5f58;background:linear-gradient(174deg,#fdf9ec,#f8f1da);box-shadow:inset 0 1px #ffffffa6,0 10px 22px #40341633;font-family:Gochi Hand,Bradley Hand,Comic Sans MS,cursive;font-size:14px;line-height:1.28;animation:spotlight-in .32s ease both}.agent-callout.below{transform:translate(-100%,10px) rotate(.7deg)}.agent-callout:after{content:"";position:absolute;right:16px;bottom:-6px;width:10px;height:10px;background:#f8f1da;border-right:1.4px solid rgba(31,111,104,.5);border-bottom:1.4px solid rgba(31,111,104,.5);border-bottom-right-radius:3px;transform:rotate(45deg)}.agent-callout.below:after{top:-6px;bottom:auto;background:#fdf9ec;border:0;border-left:1.4px solid rgba(31,111,104,.5);border-top:1.4px solid rgba(31,111,104,.5);border-top-left-radius:3px;transform:rotate(45deg)}.highlight-box.note-linked{background:linear-gradient(104deg,#63a2e900 .5%,#63a2e952 2.4%,#5096e147 96%,#63a2e900 99.5%);box-shadow:none}.block-hover-layer{position:absolute;inset:0;z-index:3;pointer-events:none}.block-hover-box{position:absolute;border-radius:4px;background:#1f6f6814;box-shadow:0 0 0 1px #1f6f6833,0 5px 15px #113f3a24;transition:background-color .12s ease,box-shadow .12s ease}.pdf-note-layer{position:absolute;inset:0;z-index:4;pointer-events:none}.pdf-note-anchor{position:absolute;pointer-events:auto;transform:translate(-50%,-50%)}.pdf-note-marker{display:grid;width:31px;height:31px;place-items:center;border:1px solid rgba(158,116,6,.34);border-radius:7px;padding:0;color:#5f4507;background:#ffe76a;box-shadow:0 7px 16px #48350729,inset 0 -2px #7e5b001f}.pdf-note-marker:hover,.pdf-note-anchor.active .pdf-note-marker{border-color:#7e5b007a;background:#ffdf3f}.pdf-note-popover{position:absolute;top:39px;right:-10px;display:grid;gap:9px;width:min(330px,42vw);max-height:280px;overflow:auto;border:1px solid rgba(125,91,7,.24);border-radius:8px;padding:12px;color:#2d260f;background:#fff6bd;box-shadow:0 18px 36px #261f0a3d}.pdf-note-popover:before{content:"";position:absolute;top:-7px;right:19px;width:12px;height:12px;border-top:1px solid rgba(125,91,7,.24);border-left:1px solid rgba(125,91,7,.24);background:#fff6bd;transform:rotate(45deg)}.pdf-note-popover-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.pdf-note-popover-head strong{min-width:0;color:#2f2506;font-size:13px;line-height:1.3}.pdf-note-popover-head button{flex:0 0 auto;min-height:24px;border:1px solid rgba(125,91,7,.2);border-radius:6px;padding:0 8px;color:#5a450a;background:#ffffff7a;font-size:11px;font-weight:650}.pdf-note-popover p,.pdf-note-popover ul,.pdf-note-popover ol,.pdf-note-popover blockquote,.pdf-note-popover pre{margin-top:0;margin-bottom:8px;font-size:12px;line-height:1.42}.pdf-note-popover p:last-of-type,.pdf-note-popover ul:last-child,.pdf-note-popover ol:last-child,.pdf-note-popover blockquote:last-child,.pdf-note-popover pre:last-child{margin-bottom:0}.pdf-note-popover ul,.pdf-note-popover ol{padding-left:18px}.pdf-note-popover code{border-radius:4px;background:#7e5b001a;padding:1px 4px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.pdf-note-popover time{color:#7b6721;font-size:11px}.pdf-context-menu{position:fixed;z-index:30;display:grid;gap:5px;width:268px;border:1px solid rgba(28,38,44,.14);border-radius:8px;padding:7px;color:#26333a;background:#fffffff7;box-shadow:0 14px 34px #12181c38;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.pdf-context-preview{overflow:hidden;border-bottom:1px solid #eef1f2;padding:4px 5px 8px;color:#63727a;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.pdf-context-menu>button{display:flex;align-items:center;gap:8px;width:100%;min-height:32px;border:0;border-radius:6px;padding:0 8px;color:#26333a;background:transparent;font-size:13px;font-weight:620}.pdf-context-menu>button:hover:not(:disabled){background:#edf4f2}.pdf-context-menu>button:disabled{opacity:.46}.pdf-context-note{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:6px;padding-top:4px}.pdf-context-note input{min-width:0;height:30px;border:1px solid #d7dde1;border-radius:6px;padding:0 8px;outline:none;color:#26333a;background:#fbfbfa;font-size:12px}.pdf-context-note input:focus{border-color:#1f6f68;box-shadow:0 0 0 3px #1f6f681a}.pdf-context-note button{display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:6px;color:#fff;background:#1f6f68}.pdf-context-note button:disabled{opacity:.48}.pdf-context-native{padding:3px 5px 1px;color:#7b878f;font-size:11px}.empty-state{display:grid;flex:1;place-content:center;gap:12px;color:#52616b;text-align:center}.empty-state.error{color:#9a3412}.highlight-box[data-color=green]{background:linear-gradient(104deg,#a7e0a000 .5%,#a0dc9b5c 2.4%,#96d6964d 96%,#a7e0a000 99.5%)}.highlight-box[data-color=lavender]{background:linear-gradient(104deg,#cebdee00 .5%,#cab8ec5c 2.4%,#c4b0e94d 96%,#cebdee00 99.5%)}.highlight-box[data-color=coral]{background:linear-gradient(104deg,#ffb3a200 .5%,#ffa8965c 2.4%,#fa96824d 96%,#ffb3a200 99.5%)}.ink-mark{position:absolute;overflow:visible;pointer-events:none;color:#cf922f}.ink-mark[data-color=green]{color:#3f9256}.ink-mark[data-color=lavender]{color:#7d5fbb}.ink-mark[data-color=coral]{color:#df4636}.underline-mark{overflow:visible}.ink-layer{position:absolute;inset:0;pointer-events:none;z-index:4}.ink-el{position:absolute;overflow:visible;pointer-events:none;color:#2b4d9c}.ink-el path{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;opacity:.82}.ink-el[data-color=amber],.ink-connectors g[data-color=amber]{color:#cf922f}.ink-el[data-color=green],.ink-connectors g[data-color=green]{color:#3f9256}.ink-el[data-color=lavender],.ink-connectors g[data-color=lavender]{color:#7d5fbb}.ink-el[data-color=coral],.ink-connectors g[data-color=coral]{color:#df4636}.ink-symbol path{stroke-width:2.1px}.ink-el.ink-highlight{color:#ffd84d;mix-blend-mode:multiply}.ink-el.ink-highlight path{stroke-linecap:butt;vector-effect:none;opacity:.42}.ink-el.ink-highlight[data-color=amber]{color:#ffc94d}.ink-el.ink-highlight[data-color=green]{color:#7fdc92}.ink-el.ink-highlight[data-color=lavender]{color:#c9aef5}.ink-el.ink-highlight[data-color=coral]{color:#ffa18f}.ink-leader path{opacity:.55;stroke-dasharray:none}.ink-writing{position:absolute;pointer-events:none;font-family:Gochi Hand,Bradley Hand,Comic Sans MS,cursive;line-height:1.25;color:#2b4d9c;opacity:.88;text-shadow:0 0 2px rgba(255,255,255,.85);overflow-wrap:break-word}.ink-writing[data-color=amber]{color:#9c6c14}.ink-writing[data-color=green]{color:#2f7a44}.ink-writing[data-color=lavender]{color:#6a4cab}.ink-writing[data-color=coral]{color:#c43a2b}.side-pane{display:flex;min-width:0;min-height:0;overflow:hidden;flex-direction:column;background:#fbfbfa}.doc-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;padding:16px;border-bottom:1px solid #e0e4e6}.doc-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:7px;color:#1f6f68;background:#e1f0ee}.doc-card strong,.doc-card span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.doc-card strong{margin-top:1px;font-size:14px}.doc-card span{margin-top:4px;color:#697882;font-size:12px}.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px 12px;border-bottom:1px solid #e0e4e6}.library-panel{flex:1;min-height:0;overflow:auto;padding:18px 16px 28px}.library-panel>header{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px}.library-panel h2{margin:0;color:#61707a;font-size:13px;letter-spacing:0;text-transform:uppercase}.library-panel header span{color:#7a878f;font-size:11px}.library-list article{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:4px;border-bottom:1px solid #e1e5e7}.library-list article.active{border-left:3px solid #1f6f68;background:#eef5f4}.library-open,.library-remove{border:0;background:transparent}.library-open{display:flex;min-width:0;align-items:center;gap:10px;padding:12px 8px;color:#30403e;text-align:left}.library-open>span,.library-open strong,.library-open small{display:block;min-width:0}.library-open>span{overflow:hidden}.library-open strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.library-open small{margin-top:3px;color:#74817f;font-size:11px}.library-open:disabled{opacity:.55}.library-remove{display:grid;width:30px;height:30px;place-items:center;color:#8a3b31}.library-remove:hover{background:#fff0ed}.tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;border:0;border-radius:7px;color:#5d6971;background:transparent;font-size:13px;font-weight:640}.tabs button.active{color:#162126;background:#eef1f2}.chat-panel{display:flex;flex:1;min-height:0;flex-direction:column}.conversation-bar{display:grid;grid-template-columns:minmax(0,1fr) 34px 34px;gap:6px;padding:9px 12px;border-bottom:1px solid #e0e4e6;background:#f7f8f7}.conversation-bar select,.conversation-bar button{min-height:32px;border:1px solid #d1d9d7;border-radius:5px;background:#fff;color:#344440}.conversation-bar select{min-width:0;padding:0 9px;font-size:12px}.conversation-bar button{display:grid;place-items:center;padding:0}.conversation-bar button:hover:not(:disabled){border-color:#aebbb8;background:#eef3f2}.message-list-wrap{position:relative;display:flex;flex:1;min-height:0;flex-direction:column}.message-list{flex:1;min-height:0;overflow:auto;padding:18px 16px}.scroll-to-bottom{position:absolute;right:16px;bottom:14px;z-index:5;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #d1d9d7;border-radius:50%;background:#fff;color:#344440;box-shadow:0 4px 12px #14282429;cursor:pointer}.scroll-to-bottom:hover{border-color:#aebbb8;background:#eef3f2;color:#1f3038}.message{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.message.user{align-items:flex-end}.message-body{width:fit-content;max-width:min(100%,352px);border:1px solid #e0e4e6;border-radius:8px;padding:11px 12px;background:#fff;color:#243039;font-size:14px;line-height:1.48}.message.assistant .message-body{max-width:min(100%,540px)}.message.user .message-body{border-color:#1f6f68;color:#fff;background:#1f6f68}.message-body p{margin:0 0 10px}.message-body h3,.message-body h4{margin:0 0 8px;color:#18242b;font-weight:760;letter-spacing:0;line-height:1.25}.message-body h3{font-size:15px}.message-body h4{font-size:14px}.message-body ul,.message-body ol{margin:0 0 10px;padding-left:20px}.message-body li{margin:0 0 5px;padding-left:1px}.message-body li:last-child{margin-bottom:0}.message-body blockquote{margin:0 0 10px;padding:7px 9px;border-left:3px solid #bdd0cd;border-radius:0 6px 6px 0;background:#f4f8f7;color:#405059}.message-body pre{max-width:100%;overflow:auto;margin:0 0 10px;padding:9px 10px;border:1px solid #dbe2e5;border-radius:7px;background:#f6f8f8;color:#1d2b33;font-size:12px;line-height:1.45}.message-body code{border-radius:4px;background:#eef3f3;padding:1px 4px;color:#163b3a;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.message-body pre code{padding:0;background:transparent;color:inherit;font-size:inherit}.message-table-wrap{max-width:100%;overflow-x:auto;margin:0 0 10px;border:1px solid #dbe2e5;border-radius:7px}.message-body table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.45}.message-body th,.message-body td{padding:6px 10px;border-bottom:1px solid #e4eaec;text-align:left;vertical-align:top}.message-body th{background:#f6f8f8;color:#1d2b33;font-weight:680;white-space:nowrap}.message-body tbody tr:last-child td{border-bottom:0}.mermaid-diagram{position:relative;width:min(100%,516px);overflow:auto;margin:0 0 10px;padding:10px;border:1px solid #dbe2e5;border-radius:7px;background:#fbfcfc}.mermaid-diagram-expand{position:absolute;top:8px;right:8px;z-index:1;display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #dbe2e5;border-radius:6px;background:#ffffffe6;color:#52616a;cursor:pointer}.mermaid-diagram-expand:hover{border-color:#aebbb8;background:#eef3f2;color:#1f3038}.mermaid-diagram-expand:focus-visible{outline:2px solid rgba(31,111,104,.38);outline-offset:2px}.mermaid-diagram--fullscreen{display:flex;width:100vw;height:100vh;max-width:none;margin:0;padding:24px;border:0;border-radius:0;background:#fff;overflow:hidden}.mermaid-diagram--fullscreen .mermaid-diagram-svg{flex:1;min-width:0;min-height:0}.mermaid-diagram--fullscreen .mermaid-diagram-svg svg{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}.mermaid-diagram--fullscreen .mermaid-diagram-expand{position:fixed;top:16px;right:16px;width:36px;height:36px}.mermaid-diagram-svg{min-width:280px}.mermaid-diagram-svg svg{display:block;width:100%;max-width:100%;height:auto;margin:0 auto}.mermaid-diagram-status{color:#52616a;font-size:12px;font-weight:650}.mermaid-diagram-error{margin:5px 0 8px;color:#8d3b2f;font-size:12px;line-height:1.35}.message-body a{color:#146861;font-weight:620;text-decoration:none}.message-body a:hover{text-decoration:underline}.inline-citations{display:inline;margin-left:2px;color:#146861;font-size:.78em;font-weight:720;line-height:0;white-space:nowrap;vertical-align:super}.inline-citation{appearance:none;min-width:0;min-height:0;margin:0;border:0;border-radius:2px;padding:0;color:inherit;background:transparent;font:inherit;line-height:inherit;cursor:pointer}.inline-citation:hover{text-decoration:underline}.inline-citation:focus-visible{outline:2px solid rgba(31,111,104,.38);outline-offset:2px}.message-body p:last-child,.message-body ul:last-child,.message-body ol:last-child,.message-body blockquote:last-child,.message-body pre:last-child,.message-table-wrap:last-child,.mermaid-diagram:last-child{margin-bottom:0}.message.user .message-body h3,.message.user .message-body h4,.message.user .message-body a,.message.user .message-body code,.message.user .inline-citations{color:#fff}.message.user .message-body code,.message.user .message-body blockquote{background:#ffffff24}.message.user .message-body blockquote{border-left-color:#ffffff80;color:#eef7f6}.message-activity-log{margin-bottom:8px}.message-activity-log:has(.message-activity-steps){border-bottom:1px solid #eef1f1;padding-bottom:8px}.message-activity-toggle{display:inline-flex;align-items:center;gap:6px;width:100%;border:0;padding:0;color:#65737e;background:transparent;cursor:pointer;text-align:left}.message-activity-toggle:hover{color:#34464d}.message-activity-chevron{flex:none;transition:transform .15s ease}.message-activity-log.expanded .message-activity-chevron{transform:rotate(90deg)}.message-activity-summary{min-width:0;overflow:hidden;font-size:12px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}.message-activity-steps{margin:7px 0 0;padding:0 0 0 5px;list-style:none;border-left:2px solid #eaeeee;display:flex;flex-direction:column;gap:4px}.message-activity-step{display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:7px}.message-activity-step-icon{color:#1f6f68}.message-activity-step.tool .message-activity-step-icon{color:#245c91}.message-activity-step-text{min-width:0;overflow:hidden;font-size:11.5px;line-height:1.5;white-space:nowrap;text-overflow:ellipsis}.message-activity-step-text strong{font-weight:650;color:#34464d}.message-activity-step-text span{margin-left:6px;color:#69777e}.message-actions{display:flex;flex-wrap:wrap;gap:7px;max-width:100%}.message.user .message-actions{justify-content:flex-end}.message-actions button,.note button,.highlight-note button{min-height:28px;padding:0 9px;border-color:#d9dee1;color:#34424b;background:#fff;font-size:12px}.message-actions button:hover,.note button:hover,.highlight-note button:hover{border-color:#b7c0c6;background:#f4f6f6}.message-actions{align-items:center}.message-actions span{color:#798691;font-size:11px}.composer{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:9px;padding:12px;border-top:1px solid #e0e4e6;background:#fff}.input-shell{grid-column:1;grid-row:1;position:relative;min-width:0}.input-shell.recording{overflow:hidden;border-radius:22px;background:#2c2c2b}.composer-mode{grid-column:1;display:inline-flex;align-items:center;gap:2px;width:fit-content;padding:2px;border:1px solid #e0e4e6;border-radius:999px;background:#f6f7f7}.composer-mode-option{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:999px;padding:4px 11px;font-size:12px;font-weight:650;color:#5b6a6e;background:transparent;cursor:pointer}.composer-mode-option.active{color:#14201f;background:#fff;box-shadow:0 1px 2px #00000014}.composer-mode-option:disabled{color:#aab4b3;cursor:not-allowed}.message-followups{display:flex;flex-direction:column;gap:8px;margin-top:10px}.insight-card{display:flex;gap:9px;padding:10px 12px;border-radius:10px;background:#f0f6f5;border:1px solid #cfe0dd;animation:insight-rise .28s ease both}@keyframes insight-rise{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.insight-icon{color:#1f6f68;margin-top:1px;flex:0 0 auto}.insight-body{display:flex;flex-direction:column;gap:6px;font-size:.9rem;color:#1d2b33;min-width:0}.insight-show{align-self:flex-start;font-size:.78rem;padding:3px 11px;border-radius:999px;border:1px solid #1f6f68;background:transparent;color:#1f6f68;cursor:pointer}.insight-show:hover{background:#1f6f68;color:#fff}.followup-chips{display:flex;flex-wrap:wrap;gap:6px}.followup-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:999px;border:1px solid #dbe2e5;background:#fbfcfc;color:#243039;font-size:.82rem;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.followup-chip:hover{border-color:#1f6f68;background:#eef3f3;color:#163b3a}.followup-chip svg{opacity:.55}.live-voice-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 12px 12px;border:1px solid #212426;border-radius:8px;padding:12px;color:#f8f8f6;background:#1e2021;box-shadow:0 10px 24px #12181c29}.live-voice-card.attention{border-color:#5d4440;background:#282322}.live-voice-orb{display:grid;width:42px;height:42px;place-items:center;border-radius:999px;color:#fff;background:#080909}.live-voice-card.connected .live-voice-orb{box-shadow:0 0 0 5px #41b69e21}.live-voice-main{display:grid;min-width:0;gap:6px}.live-voice-meta{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px}.live-voice-meta strong{overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.live-voice-meta time{color:#c8c8c4;font-size:12px;font-variant-numeric:tabular-nums}.live-voice-main .waveform{height:24px}.live-voice-main .waveform span{background:#f8f8f6}.live-voice-main p{min-width:0;overflow:hidden;margin:0;color:#d4d5d2;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.live-voice-diagnostic{border:1px solid rgba(255,255,255,.12);border-radius:7px;padding:7px 8px;color:#f1e9df;background:#ffffff0f;font-size:12px;line-height:1.3}.live-voice-transcript{display:grid;gap:5px;max-height:116px;overflow:auto;padding-top:4px}.live-voice-turn{display:grid;grid-template-columns:42px minmax(0,1fr);gap:7px;align-items:start;color:#e8e8e4}.live-voice-turn span{color:#a9aaa5;font-size:11px;font-weight:650}.live-voice-turn p{white-space:normal;font-size:12px;line-height:1.3}.live-voice-turn.user p{color:#fff}.live-voice-controls{display:flex;align-items:center;gap:7px}.live-voice-mute,.live-voice-retry,.live-voice-end{display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:999px;padding:0}.live-voice-mute{color:#f7f7f6;background:#3c3c3b}.live-voice-mute.active{color:#1e2021;background:#f7f7f6}.live-voice-retry{color:#f7f7f6;background:#3c3c3b}.live-voice-end{background:#f7f7f6}.live-voice-end span{display:block;width:11px;height:11px;border-radius:3px;background:#242628}.voice-recorder{display:grid;grid-template-columns:24px minmax(82px,1fr) minmax(0,auto) auto 34px;align-items:center;gap:8px;min-height:46px;padding:5px 7px;color:#f7f7f6;background:transparent}.voice-plus,.voice-stop{display:grid;place-items:center;border:0;padding:0}.voice-plus{width:24px;height:24px;color:#9a9a98;background:transparent;font-size:24px;font-weight:260}.waveform{display:flex;align-items:center;gap:3px;min-width:0;height:32px;overflow:hidden}.waveform span{display:block;width:3px;height:var(--bar-height);min-height:4px;border-radius:999px;background:#f8f8f6;opacity:.9;transform-origin:center}.waveform.active span{transition:height 90ms linear,opacity 90ms linear}.voice-recorder time{color:#c8c8c4;font-size:13px;font-variant-numeric:tabular-nums}.voice-recorder-status{min-width:0;overflow:hidden;color:#d6d6d2;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.voice-stop{width:34px;height:34px;border-radius:999px;background:#3c3c3b}.voice-stop span{display:block;width:11px;height:11px;border-radius:3px;background:#f7f7f6}.voice-stop:disabled{opacity:.55}.composer textarea{width:100%;height:72px;resize:none;border:1px solid #d7dde1;border-radius:8px;padding:10px 86px 10px 11px;outline:none;color:#202a31;background:#fbfbfa;font-size:14px;line-height:1.35}.composer textarea:focus{border-color:#1f6f68;box-shadow:0 0 0 3px #1f6f681f}.input-actions{position:absolute;right:8px;bottom:8px;display:inline-flex;align-items:center;gap:6px}.composer-icon-button{display:inline-grid;width:30px;height:30px;place-items:center;border:0;border-radius:999px;padding:0;color:#1f2931;background:transparent}.composer-icon-button:hover:not(:disabled){background:#edf1f2}.composer-icon-button:disabled{opacity:.45}.live-voice-button{color:#fff;background:#080909}.live-voice-button:hover:not(:disabled),.live-voice-button.active{background:#1b1d1f}.voice-status-line{grid-column:1;color:#697882;font-size:12px;line-height:1.2}.agent-activity{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:9px;margin:0 12px 10px;border:1px solid #d7e3e0;border-radius:8px;padding:8px 10px;color:#233138;background:#f4faf8}.agent-activity-avatar{display:grid;width:30px;height:30px;place-items:center;border-radius:999px;color:#1f6f68;background:#dcefed}.agent-activity.tool{border-color:#d9e3ec;background:#f5f9fd}.agent-activity.tool .agent-activity-avatar{color:#245c91;background:#dfeefa}.agent-activity.observation{border-color:#e5dec7;background:#fffaf0}.agent-activity.observation .agent-activity-avatar{color:#8a5c05;background:#f8e9b8}.agent-activity strong,.agent-activity span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-activity strong{font-size:12px}.agent-activity span{color:#62727a;font-size:12px}.composer>button[type=submit]{grid-column:2;grid-row:1 / span 3;align-self:end;width:42px;min-height:42px;padding:0;color:#fff;background:#1f6f68}.composer>button[type=submit]:disabled{opacity:.55}.notes-panel{flex:1;min-height:0;overflow:auto;padding:18px 16px 28px}.notes-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.notes-panel-count{color:#75838c;font-size:12px}.notes-edit-toggle{display:inline-flex;align-items:center;gap:6px;min-height:30px;border:1px solid #cfd6da;border-radius:7px;padding:0 11px;color:#2b363d;background:#fff;font-size:12px;font-weight:620;cursor:pointer}.notes-edit-toggle:hover:not(:disabled){background:#f4f6f6}.notes-edit-toggle:disabled{opacity:.45;cursor:default}.notes-edit-toggle.active{color:#fff;border-color:#1f6f68;background:#1f6f68}.note.editing,.highlight-note.editing{border-color:#e6c4be;box-shadow:0 0 0 1px #b04a3c1f}.note.confirm-remove,.highlight-note.confirm-remove{border-color:#c97f73;box-shadow:0 0 0 1px #b04a3c47}.confirm-remove-hint{flex:0 0 auto;color:#8a3b31;font-size:11px;font-weight:620}.notes-panel section+section{margin-top:24px}.notes-panel h2{margin:0 0 10px;font-size:13px;letter-spacing:0;text-transform:uppercase;color:#61707a}.muted{margin:0;color:#75838c;font-size:13px}.note,.highlight-note{border:1px solid #e0e4e6;border-radius:8px;padding:12px;background:#fff}.note+.note,.highlight-note+.highlight-note{margin-top:10px}.note>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}.note strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.note time{flex:0 0 auto;color:#7d8991;font-size:11px}.note-heading-actions{display:flex;flex:0 0 auto;align-items:center;gap:5px}.note .note-remove{width:26px;min-width:26px;min-height:26px;padding:0;color:#8a3b31}.note p{margin:0 0 10px;color:#2d3941;font-size:13px;line-height:1.45}.note h3,.note h4{margin:0 0 8px;color:#223038;font-size:13px;line-height:1.3}.note ul,.note ol{margin:0 0 10px;padding-left:20px;color:#2d3941;font-size:13px;line-height:1.45}.note blockquote{margin:0 0 10px;padding:7px 9px;border-left:3px solid #bdd0cd;border-radius:0 6px 6px 0;background:#f4f8f7;color:#405059;font-size:13px;line-height:1.45}.note pre{overflow:auto;margin:0 0 10px;padding:9px 10px;border:1px solid #dbe2e5;border-radius:7px;background:#f6f8f8;color:#1d2b33;font-size:12px;line-height:1.45}.note code{border-radius:4px;background:#eef3f3;padding:1px 4px;color:#163b3a;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.note pre code{padding:0;background:transparent;color:inherit;font-size:inherit}.note a{color:#146861;font-weight:620;text-decoration:none}.note a:hover{text-decoration:underline}.note p:last-of-type,.note ul:last-child,.note ol:last-child,.note blockquote:last-child,.note pre:last-child{margin-bottom:0}.highlight-note{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:10px}.highlight-note-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.highlight-note-actions>button:first-child{min-width:0}.highlight-note .highlight-remove{width:30px;min-width:30px;padding:0;color:#8a3b31}.highlight-note .highlight-remove:hover{border-color:#d7aaa4;background:#fff4f2}.highlight-note p{margin:0;overflow:hidden;color:#34424b;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.spin{animation:spin .9s linear infinite}.pulse{animation:pulse 1s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.88)}}@media(max-width:980px){.app-shell{grid-template-columns:1fr;grid-template-rows:58vh 42vh}.pane-resizer{display:none}.reader-pane{border-right:0;border-bottom:1px solid #d3d8dc}.side-pane{min-height:0}.topbar{min-height:62px;padding:12px}.topbar h1{font-size:16px}.ghost-button,.primary-button{width:38px;padding:0;overflow:hidden;color:transparent}.ghost-button svg,.primary-button svg{color:currentColor;color:#2b363d}.primary-button svg{color:#fff}.zoom-control button{min-width:32px;padding:0 7px}.pdf-scroll{padding:18px 12px 26px}}
