:root{color:#141414;font-synthesis:none;background:#f5f5f5;font-family:Segoe UI,Arial,sans-serif}*{box-sizing:border-box}html,body,#app{height:100%}body{background:#f5f5f5;min-width:280px;margin:0;overflow:hidden}#app{flex-direction:column;min-height:0;display:flex}button,input,textarea,select{font:inherit}[hidden]{display:none!important}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.favorite-setting{background:#e5f4f1;border-radius:10px;margin-bottom:18px;padding:14px}.theme-setting{background:#f8faf9;border:1px solid #d8e1dd;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:10px;padding:12px 14px;display:flex}.theme-setting p,.favorite-setting p{margin:6px 0;font-size:12px;line-height:1.5}.reply-style-setting{border:1px solid #8a999966;border-radius:10px;margin-bottom:10px;padding:12px 14px}.reply-style-setting>p{margin:6px 0;font-size:12px;line-height:1.5}.reply-style-fields{flex-wrap:wrap;gap:10px;display:flex}.reply-style-fields .settings-field{flex:90px;min-width:0}.reply-style-fields .settings-field:first-child{flex-basis:160px}.reply-style-fields input{width:100%}.reply-style-fields input[type=color]{height:36px;padding:4px}.reply-style-setting>.reply-style-preview{overflow-wrap:anywhere;background:#fff;border:1px solid #8a999966;border-radius:6px;padding:10px}.theme-select{color:#0f4a54;cursor:pointer;background:#fff;border:1px solid #d8e1dd;border-radius:8px;flex:none;max-width:100%;padding:8px 10px;font-size:12px;font-weight:650}.text-scope{color:#52656b;flex:none;margin:4px 2px 10px;font-size:12px}.attachments{border:1px solid #8a999966;border-radius:8px;flex:none;max-height:180px;margin:4px 0;padding:0 8px;font-size:12px;overflow:auto}.attachments summary{cursor:pointer;padding:7px 0;font-weight:600}.attachments summary:focus-visible{outline-offset:-2px;border-radius:4px;outline:2px solid}.attachments details[open]{padding-bottom:4px}.attachment-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;display:flex}.attachments p{opacity:.8;margin:4px 0;font-size:11px}.attachment-row{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 6px;padding:4px 0;display:grid}.attachment-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.attachment-row small{overflow-wrap:anywhere;opacity:.8;grid-column:2}.settings-action__editor summary{color:#0f4a54;padding:5px 0;font-size:12px}.settings-action__editor[open] .settings-action__fields{margin-top:10px}.settings-action__toggle{overflow-wrap:anywhere}.action-instruction,.proofread-original{margin-top:8px;font-size:12px}.text-changes{flex-basis:100%;min-width:0;margin:10px 0;font-size:12px}.text-changes>p{opacity:.8;font-size:11px}.text-changes__content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.text-changes del{color:#8b1717;background:#ffe4e4;text-decoration:line-through}.text-changes ins{color:#165823;background:#dcf5df;text-decoration:underline}.stop-button{flex-shrink:0;align-self:center}:root[data-theme=dark] .text-changes del{color:#ffd4d4;background:#562d34}:root[data-theme=dark] .text-changes ins{color:#c8f5d4;background:#244a36}.proofread-original{border-left:3px solid #63c2b5;padding:8px}summary{cursor:pointer}.reorder-actions{gap:5px;display:flex}.reorder-actions button{width:32px;height:32px}.eyebrow{color:#bcd4ca;letter-spacing:.18em;margin:0 0 1px;font-size:9px;font-weight:700}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:16px;line-height:1.2}h2{margin-bottom:0;font-size:15px}main{flex:1;min-height:0;padding:12px;display:flex;overflow:hidden}#workspace{flex-direction:column;gap:10px;width:100%;min-height:0;display:flex}.mail-context,.assistant-section,.status-card{background:#fff;border:1px solid #d8e1dd;border-radius:12px}.mail-context{flex:none;padding:11px 13px}.mail-context__summary,.assistant-header,.assistant-header__actions{align-items:center;display:flex}.mail-context__summary{justify-content:space-between;gap:10px}.mail-context__title{min-width:0}.mail-context__title strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.35;display:block;overflow:hidden}.mail-context__mode{color:#66736e;letter-spacing:.06em;text-transform:uppercase;margin-bottom:2px;font-size:10px;font-weight:700;display:block}.mail-context__details{border-top:1px solid #edf0ee;margin-top:10px;padding-top:10px}dl,dd{margin:0}dt{color:#66736e;letter-spacing:.06em;text-transform:uppercase;margin-bottom:2px;font-size:10px;font-weight:700}dd{overflow-wrap:anywhere;font-size:13px;line-height:1.4}.text-button,.icon-button,.message-action{color:#0f4a54;cursor:pointer;background:0 0;border:0}.text-button{flex:none;padding:5px;font-size:11px;font-weight:600}.icon-button{border:1px solid #d3dfda;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;height:36px;padding:0;font-size:17px;transition:border-color .12s,background-color .12s,color .12s;display:grid}.icon-button--favorite{color:#8a6716;font-size:20px;line-height:1}.icon-button--favorite[aria-pressed=true]{color:#9a6f00;background:#fff8e5;border-color:#d7bc75}.text-button:hover:not(:disabled),.icon-button:hover:not(:disabled),.message-action:hover:not(:disabled){color:#0f4a54;background:#e5f4f1}.text-button:disabled,.icon-button:disabled{cursor:default;opacity:.4}.assistant-section{border-color:#bed1c9;flex-direction:column;flex:1;min-height:0;padding:13px;display:flex;position:relative}.chat-view{flex-direction:column;flex:1;min-height:0;display:flex}.assistant-header{background:#fbfcfb;border:1px solid #e0e8e4;border-radius:10px;flex:none;justify-content:space-between;gap:12px;margin-bottom:8px;padding:8px}.assistant-header__model{flex:0 auto;align-items:center;gap:7px;min-width:0;display:flex}.quick-actions[hidden]+.assistant-header__model{margin-left:auto}.model-label{color:#52656b;letter-spacing:.05em;text-transform:uppercase;flex:none;font-size:10px;font-weight:700}.assistant-header__actions{gap:6px;min-width:0}.eyebrow--dark{color:#4d6c61;margin-bottom:2px}.model-select{color:#0f4a54;text-overflow:ellipsis;background:#f8faf9;border:1px solid #c5d4ce;border-radius:8px;width:min(230px,34vw);min-width:120px;height:36px;padding:4px 28px 4px 9px;font-size:11px;transition:border-color .12s,background-color .12s;overflow:hidden}.model-select:disabled{cursor:wait;color:#66736e;background:#edf0ee}.model-status{color:#66736e;text-align:right;margin:0 2px 6px;font-size:10px}.model-status--error{color:#8b2b2b}.quick-actions{flex-wrap:wrap;flex:auto;gap:7px;min-width:0;margin:0;padding:0;display:flex;overflow:visible}.quick-more{flex:none;display:inline-flex;position:relative}.quick-more>.quick-action{align-items:center;gap:6px;display:inline-flex}.quick-more__chevron{font-size:10px;transition:transform .12s;display:inline-block}.quick-more>.quick-action[aria-expanded=true] .quick-more__chevron{transform:rotate(180deg)}.quick-more__menu{z-index:15;background:#fff;border:1px solid #c5d4ce;border-radius:10px;gap:2px;width:max-content;min-width:190px;max-width:min(280px,100vw - 32px);padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 10px 30px #14231e2e}.quick-more__item{color:#0f4a54;cursor:pointer;text-align:left;white-space:normal;background:0 0;border:0;border-radius:7px;width:100%;min-height:36px;padding:7px 10px;font-size:12px;font-weight:600;line-height:1.35}.quick-more__item:hover:not(:disabled),.quick-more__item:focus-visible{color:#0f4a54;background:#e5f4f1}.quick-more__item:disabled{cursor:wait;opacity:.55}.quick-action{overflow-wrap:anywhere;color:#0f4a54;cursor:pointer;background:#f6faf8;border:1px solid #b8cbc3;border-radius:999px;flex:none;max-width:100%;min-height:36px;padding:5px 10px;font-size:12px;font-weight:600;transition:border-color .12s,background-color .12s,transform 80ms}.quick-action:hover:not(:disabled){background:#e5f4f1;border-color:#258577}.quick-action:active:not(:disabled){transform:translateY(1px)}.quick-action:disabled{cursor:wait;opacity:.55}.settings-panel{flex:1;min-height:0;padding:2px;overflow-y:auto}.settings-header,.settings-toolbar,.settings-footer,.settings-action__top{align-items:center;display:flex}.settings-header{border-bottom:1px solid #e3e9e6;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px}.settings-header h3{margin:0 0 3px;font-size:15px}.settings-header p{color:#66736e;margin:0;font-size:11px;line-height:1.4}.settings-action-list{gap:10px;display:grid}.settings-action{background:#f8faf9;border:1px solid #d8e1dd;border-radius:10px;padding:11px}.settings-action__top{flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:9px}.settings-action__toggle{color:#0f4a54;align-items:center;gap:7px;font-size:11px;font-weight:650;display:inline-flex}.settings-action__toggle input{accent-color:#0f4a54;width:16px;height:16px}.settings-action__fields{grid-template-columns:minmax(120px,.8fr) minmax(120px,1.2fr);gap:8px;display:grid}.settings-field{color:#596862;gap:4px;font-size:10px;font-weight:600;display:grid}.settings-field--prompt{grid-column:1/-1}.settings-field input,.settings-field select,.settings-field textarea{color:#141414;background:#fff;border:1px solid #c5d4ce;border-radius:7px;outline:0;width:100%;min-height:34px;padding:7px 9px;font-size:12px;font-weight:400}.settings-field textarea{resize:vertical;min-height:58px;line-height:1.4}.settings-field input:focus,.settings-field select:focus,.settings-field textarea:focus{border-color:#258577;box-shadow:0 0 0 3px #2f74601f}.settings-field textarea:disabled,.settings-field select:disabled{color:#66736e;background:#edf0ee}.settings-action__delete{color:#8b2b2b;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:600}.settings-action__delete:hover{background:#fdecec}.settings-toolbar{justify-content:space-between;gap:10px;margin-top:12px}.settings-status{color:#7a2424;background:#fff1f1;border-radius:7px;margin:10px 0 0;padding:8px 10px;font-size:11px}.settings-footer{background:linear-gradient(#fff0,#fff 10px);justify-content:flex-end;gap:8px;margin-top:14px;padding:10px 0 2px;position:sticky;bottom:0}.chat-log{overscroll-behavior:contain;background:#fff;flex-direction:column;flex:1;gap:10px;min-height:150px;padding:10px;display:flex;overflow-y:auto}.empty-chat{color:#66736e;text-align:center;flex-direction:column;align-items:center;max-width:330px;margin:auto;font-size:12px;line-height:1.45;display:flex}.empty-chat strong{color:#0f4a54;margin:7px 0 2px;font-size:13px}.empty-chat__icon{object-fit:contain;background:#fff;border-radius:8px;width:40px;height:40px;display:block}.chat-message{overflow-wrap:anywhere;border-radius:11px;max-width:min(88%,680px);padding:9px 11px;font-size:14px;line-height:1.65}.chat-message p{white-space:pre-wrap;margin:3px 0 0}.chat-message--user{color:#fff;background:#0f4a54;border-bottom-right-radius:4px;align-self:flex-end}.chat-message--assistant{background:#f5f5f5;border:1px solid #0000;border-bottom-left-radius:4px;align-self:flex-start}.chat-message--error{color:#7a2424;background:#fff6f6;border:1px solid #e3b9b9;justify-content:space-between;align-self:stretch;align-items:center;gap:10px;max-width:none;display:flex}.chat-message--pending{color:#66736e;align-items:center;gap:8px;display:flex}.chat-message__label{letter-spacing:.07em;opacity:.72;text-transform:uppercase;font-size:9px;font-weight:700;display:block}.citations{color:#465a52;border-top:1px solid #e3e9e6;margin-top:9px;padding-top:8px;font-size:11px}.citations summary{color:#0f4a54;cursor:pointer;border-radius:5px;width:fit-content;padding:3px 5px;font-weight:700}.citations summary:hover{background:#e5f4f1}.citation-list{gap:8px;margin:8px 0 0;padding-left:24px;display:grid}.citation{padding-left:2px}.citation strong,.citation a{color:#0f4a54;overflow-wrap:anywhere;font-size:11px;font-weight:700}.citation a:hover{color:#123f32}.citation__source{color:#6d7a75;overflow-wrap:anywhere;margin-top:1px;display:block}.citation p{color:#596862;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:3px 0 0;line-height:1.4;display:-webkit-box;overflow:hidden}.message-actions{border-top:1px solid #edf0ee;flex-wrap:wrap;gap:5px;margin-top:8px;padding-top:7px;display:flex}.message-action{border-radius:6px;min-height:36px;padding:8px 12px;font-size:12px;font-weight:600}.message-action--primary{color:#fff;background:#0f4a54}.message-action--primary:hover:not(:disabled){color:#fff;background:#093740}.message-action--retry{color:#7a2424;background:#fde7e7;flex:none}.composer{background:#fff;border:1px solid #aebbb5;border-radius:12px;flex:none;align-items:flex-end;gap:8px;margin-top:10px;padding:7px 7px 7px 11px;display:flex}.composer:focus-within{border-color:#258577;box-shadow:0 0 0 3px #2f746029}#chat-input{resize:none;color:#141414;background:0 0;border:0;outline:0;width:100%;min-height:38px;max-height:132px;padding:8px 2px;line-height:1.45;overflow-y:auto}#chat-input:disabled{cursor:wait}.send-button{color:#fff;cursor:pointer;background:#0f4a54;border:0;border-radius:10px;flex:0 0 38px;place-items:center;width:38px;height:38px;padding:0;font-size:18px;font-weight:700;display:grid}.send-button:hover:not(:disabled){background:#093740}.send-button:disabled{cursor:default;opacity:.42}.composer-note{color:#7a8580;flex:none;margin:4px 3px 0;font-size:9px}button:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:2px solid #0f4a54}.chat-message--user summary:focus-visible{outline-color:#63c2b5}.status-card{align-self:flex-start;width:100%;padding:16px;font-size:13px}#loading.status-card{align-items:center;gap:10px;display:flex}.status-card--error{color:#7a2424;border-color:#e3b9b9}.status-card--error p{margin:8px 0 14px}.button{cursor:pointer;border:1px solid #0000;border-radius:8px;min-height:36px;padding:8px 12px;font-weight:650}.button--secondary{color:#0f4a54;background:#fff;border-color:#8eaaa0}.button--primary{color:#fff;background:#0f4a54;border-color:#0f4a54}.button--primary:hover:not(:disabled){background:#093740}.button--danger{color:#8b2b2b;background:#fff6f6;border-color:#d8a4a4}.button--danger:hover:not(:disabled){background:#fde7e7}.unsaved-dialog{z-index:20;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#12181675;place-items:center;padding:20px;display:grid;position:absolute;inset:0}.unsaved-dialog[hidden]{display:none}.unsaved-dialog__card{background:#fff;border:1px solid #c5d4ce;border-radius:12px;width:min(100%,440px);padding:20px;box-shadow:0 18px 48px #14231e33}.unsaved-dialog__card h3{margin:0 0 7px;font-size:16px}.unsaved-dialog__card p{color:#66736e;margin:0;font-size:13px;line-height:1.5}.unsaved-dialog__actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.spinner{border:2px solid #c4d4ce;border-top-color:#0f4a54;border-radius:50%;flex:0 0 16px;width:16px;height:16px;animation:.8s linear infinite spin}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f2f2f2;background:#202020}:root[data-theme=dark] body{background:#202020}:root[data-theme=dark] .mail-context,:root[data-theme=dark] .assistant-section,:root[data-theme=dark] .status-card,:root[data-theme=dark] .chat-log,:root[data-theme=dark] .composer{background:#292929;border-color:#444}:root[data-theme=dark] .assistant-section{background:#242424;border-color:#4a4a4a}:root[data-theme=dark] .assistant-header{background:#292929;border-color:#414141}:root[data-theme=dark] .model-label{color:#b8b8b8}:root[data-theme=dark] .chat-log{background:#242424}:root[data-theme=dark] .mail-context__mode,:root[data-theme=dark] dt,:root[data-theme=dark] .model-status,:root[data-theme=dark] .settings-header p,:root[data-theme=dark] .settings-field,:root[data-theme=dark] .empty-chat,:root[data-theme=dark] .chat-message--pending,:root[data-theme=dark] .composer-note,:root[data-theme=dark] .text-scope,:root[data-theme=dark] .citation__source,:root[data-theme=dark] .citation p{color:#b8b8b8}:root[data-theme=dark] .mail-context__details,:root[data-theme=dark] .settings-header,:root[data-theme=dark] .citations,:root[data-theme=dark] .message-actions{border-color:#414141}:root[data-theme=dark] .text-button,:root[data-theme=dark] .icon-button,:root[data-theme=dark] .message-action,:root[data-theme=dark] .settings-action__editor summary,:root[data-theme=dark] .settings-action__toggle,:root[data-theme=dark] .empty-chat strong,:root[data-theme=dark] .citations summary,:root[data-theme=dark] .citation strong,:root[data-theme=dark] .citation a{color:#82d2c4}:root[data-theme=dark] .icon-button{background:#303030;border-color:#4c4c4c}:root[data-theme=dark] .text-button:hover:not(:disabled),:root[data-theme=dark] .icon-button:hover:not(:disabled),:root[data-theme=dark] .message-action:hover:not(:disabled),:root[data-theme=dark] .citations summary:hover{color:#b8eee5;background:#343a38}:root[data-theme=dark] .icon-button--favorite{color:#e2c36d}:root[data-theme=dark] .icon-button--favorite[aria-pressed=true]{color:#f3d77f;background:#3a321e;border-color:#8e7433}:root[data-theme=dark] .model-select,:root[data-theme=dark] .theme-select,:root[data-theme=dark] .settings-field input,:root[data-theme=dark] .settings-field select,:root[data-theme=dark] .settings-field textarea{color:#f2f2f2;background:#303030;border-color:#505050}:root[data-theme=dark] .model-select:disabled,:root[data-theme=dark] .settings-field textarea:disabled,:root[data-theme=dark] .settings-field select:disabled{color:#9c9c9c;background:#363636}:root[data-theme=dark] .quick-action{color:#9edfd4;background:#2d2d2d;border-color:#52746d}:root[data-theme=dark] .quick-action:hover:not(:disabled){background:#343a38;border-color:#61b8a8}:root[data-theme=dark] .quick-more__menu{background:#303030;border-color:#505050;box-shadow:0 12px 34px #0006}:root[data-theme=dark] .quick-more__item{color:#9edfd4}:root[data-theme=dark] .quick-more__item:hover:not(:disabled),:root[data-theme=dark] .quick-more__item:focus-visible{color:#b8eee5;background:#3a4240}:root[data-theme=dark] .theme-setting,:root[data-theme=dark] .settings-action{background:#2d2d2d;border-color:#464646}:root[data-theme=dark] .favorite-setting{background:#2c3432;border:1px solid #43524f}:root[data-theme=dark] .settings-action__delete{color:#ffaaa7}:root[data-theme=dark] .settings-action__delete:hover,:root[data-theme=dark] .message-action--retry{background:#492b2b}:root[data-theme=dark] .settings-status,:root[data-theme=dark] .chat-message--error,:root[data-theme=dark] .status-card--error,:root[data-theme=dark] .model-status--error{color:#ffc0bd}:root[data-theme=dark] .settings-status,:root[data-theme=dark] .chat-message--error,:root[data-theme=dark] .status-card--error{background:#3b2525;border-color:#704342}:root[data-theme=dark] .settings-footer{background:linear-gradient(#24242400,#242424 10px)}:root[data-theme=dark] .empty-chat__icon{filter:invert();background:#000}:root[data-theme=dark] .chat-message--user,:root[data-theme=dark] .message-action--primary,:root[data-theme=dark] .send-button,:root[data-theme=dark] .button--primary{color:#fff;background:#126b76;border-color:#126b76}:root[data-theme=dark] .chat-message--assistant{background:#303030;border-color:#424242}:root[data-theme=dark] .citations{color:#d0d0d0}:root[data-theme=dark] #chat-input{color:#f2f2f2}:root[data-theme=dark] #chat-input::placeholder{color:#999}:root[data-theme=dark] .button--secondary{color:#9edfd4;background:#303030;border-color:#58736d}:root[data-theme=dark] .button--danger{color:#ffb8b5;background:#3a2929;border-color:#75504f}:root[data-theme=dark] .button--danger:hover:not(:disabled){background:#493030}:root[data-theme=dark] .unsaved-dialog{background:#00000094}:root[data-theme=dark] .unsaved-dialog__card{background:#2d2d2d;border-color:#555;box-shadow:0 18px 54px #00000073}:root[data-theme=dark] .unsaved-dialog__card p{color:#b8b8b8}:root[data-theme=dark] .message-action--primary:hover:not(:disabled),:root[data-theme=dark] .send-button:hover:not(:disabled),:root[data-theme=dark] .button--primary:hover:not(:disabled){color:#fff;background:#1b7683}:root[data-theme=dark] button:focus-visible,:root[data-theme=dark] select:focus-visible,:root[data-theme=dark] summary:focus-visible{outline-color:#78cdbd}:root[data-theme=dark] .spinner{border-color:#8ed8ca #465852 #465852}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=840px){.model-label{display:none}}@media (width<=680px){.assistant-header{flex-wrap:wrap;align-items:stretch}.assistant-header__model{order:1;justify-content:flex-end;width:100%}.quick-actions{flex-basis:100%;order:2;width:100%}.assistant-header__actions{width:100%}.model-select{flex:1;width:auto;min-width:0}}@media (width<=480px){.chat-message{max-width:94%}.settings-action__fields{grid-template-columns:1fr}.settings-field--prompt{grid-column:auto}.unsaved-dialog__actions{flex-direction:column;align-items:stretch}}@media (height<=600px){main{padding:8px}.mail-context{padding-block:8px}.chat-log{min-height:110px}}.chat-message__preview{overflow-wrap:anywhere;line-height:1.55}.chat-message__preview p,.chat-message__preview div{white-space:normal;margin:0 0 .65em}.chat-message__preview ul,.chat-message__preview ol{margin:.4em 0 .8em;padding-inline-start:1.6em}.chat-message__preview li{margin:.15em 0}.chat-message__preview li>p{margin:0}.chat-message__preview>:last-child{margin-bottom:0}
