#ottoEmailDiscussion{position:fixed;left:98px;right:16px;top:136px;bottom:16px;z-index:70;background:var(--surface,#fff);color:var(--text,#252537);border:1px solid #ded8ef;border-radius:14px;display:flex;flex-direction:column;box-shadow:0 12px 45px #34216b18;overflow:hidden}#ottoEmailDiscussion[hidden]{display:none}#ottoEmailDiscussion .ed-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #e7e1f4}#ottoEmailDiscussion h2{font-size:24px;margin:4px 0}#ottoEmailDiscussion h3{font-size:18px;margin:0 0 12px}#ottoEmailDiscussion .ed-eyebrow{font-size:12px;letter-spacing:.08em;font-weight:750;color:#574096}#ottoEmailDiscussion .ed-columns{display:grid;grid-template-columns:minmax(0,43fr) minmax(0,57fr);min-height:0;flex:1}#ottoEmailDiscussion .ed-source,#ottoEmailDiscussion .ed-chat{padding:20px;overflow:auto;min-width:0}#ottoEmailDiscussion .ed-source{border-right:1px solid #e7e1f4}#ottoEmailDiscussion .ed-email-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65}#ottoEmailDiscussion .ed-muted{color:#6d7183;font-size:12px}#ottoEmailDiscussion .ed-warning{background:#fff5dd;color:#725010;padding:10px;border-radius:8px;font-size:13px}#ottoEmailDiscussion .ed-message{padding:12px 14px;background:#f7f4fd;border-radius:10px;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}#ottoEmailDiscussion .ed-message strong{font-size:12px;color:#6744a7}#ottoEmailDiscussion .ed-message p{margin:6px 0 0}#ottoEmailDiscussion .ed-user{background:#f4f5f8}#ottoEmailDiscussion .ed-system{background:#eff8f4;font-size:13px}#ottoEmailDiscussion .ed-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}#ottoEmailDiscussion label{display:block;margin:12px 0 6px;font-weight:650;font-size:13px}#ottoEmailDiscussion input,#ottoEmailDiscussion textarea{box-sizing:border-box;width:100%;border:1px solid #d8d1e9;border-radius:8px;padding:10px;background:#fff;color:#262336;font:inherit;resize:vertical}#ottoEmailDiscussion .ed-work,#ottoEmailDiscussion .ed-resume{padding:16px;border:1px solid #ddd3f2;border-radius:10px;margin:14px 0}#ottoEmailDiscussion .ed-work p{font-size:14px;line-height:1.6}#ottoEmailDiscussion .ed-record{padding:12px 0;border-bottom:1px solid #e7e1f4}#ottoEmailDiscussion .ed-thread-message{padding:12px 0;border-top:1px solid #e7e1f4}#ottoEmailDiscussion [role=alert]{color:#a82832;white-space:pre-wrap}#ottoEmailDiscussion .ed-confirmed{color:#23724f}#ottoEmailDiscussion .btn{white-space:normal}#ottoEmailDiscussion .ed-resume .btn{margin:5px}@media(max-width:820px){#ottoEmailDiscussion{left:76px;right:8px;top:120px}.ed-columns{grid-template-columns:1fr!important;overflow:auto}#ottoEmailDiscussion .ed-source,#ottoEmailDiscussion .ed-chat{overflow:visible}#ottoEmailDiscussion .ed-source{border-right:0;border-bottom:1px solid #e7e1f4}}@media(max-width:480px){#ottoEmailDiscussion{left:8px;top:100px}.ed-heading{flex-wrap:wrap}#ottoEmailDiscussion h2{font-size:20px}}

/* Reply with OTTO: a persistent draft beside its source, with optional AI suggestions. */
#ottoEmailReply{--or-line:#e5e2ee;--or-muted:#6d7183;--or-paper:var(--surface,#fff);position:fixed;inset:136px 16px 16px 98px;z-index:71;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--or-line);border-radius:16px;background:var(--or-paper);color:var(--text,#252537);box-shadow:0 10px 36px #34216b12;font-size:13px}
#ottoEmailReply[hidden],#ottoEmailReply [hidden]{display:none!important}
#ottoEmailReply *{box-sizing:border-box}
#ottoEmailReply button{min-height:36px;padding:8px 12px;border:1px solid var(--or-line);border-radius:9px;background:var(--or-paper);color:inherit;font:inherit;font-weight:600;line-height:1.25;cursor:pointer;transition:background .15s,border-color .15s}
#ottoEmailReply button:hover{background:#f2eefb;border-color:#b9a8df}
#ottoEmailReply button:disabled{opacity:.5;cursor:default}
#ottoEmailReply :is(button,input,textarea):focus-visible{outline:2px solid var(--purple,#6040b8);outline-offset:2px}
#ottoEmailReply button.or-primary{background:var(--purple,#514097);border-color:transparent;color:#fff}
#ottoEmailReply .or-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 22px;border-bottom:1px solid var(--or-line);flex:none}
#ottoEmailReply h2{font-size:22px;margin:4px 0 0;letter-spacing:-.025em;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#ottoEmailReply .or-eyebrow{font-size:10px;letter-spacing:.1em;font-weight:700;color:var(--or-muted)}
#ottoEmailReply .or-assist-badge{font-size:11px;letter-spacing:0;font-weight:600;color:var(--purple,#6040b8);background:#f0eafa;padding:5px 9px;border-radius:20px}
#ottoEmailReply .or-header-actions{display:flex;gap:8px}
#ottoEmailReply .or-header-actions button:first-child{border-color:transparent;color:var(--or-muted)}
#ottoEmailReply .or-columns{display:grid;grid-template-columns:minmax(0,45fr) minmax(0,55fr);flex:1;min-height:0}
#ottoEmailReply .or-source,#ottoEmailReply .or-editor{min-width:0;min-height:0;display:flex;flex-direction:column}
#ottoEmailReply .or-source{border-right:1px solid var(--or-line);background:#fcfbfe}
#ottoEmailReply .or-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px;border-bottom:1px solid var(--or-line);flex:none}
#ottoEmailReply .or-panel-heading strong{font-size:14px}
#ottoEmailReply .or-panel-heading span{font-size:11px;color:var(--or-muted)}
#ottoEmailReply .or-source-content{padding:22px;overflow:auto;min-height:0;flex:1}
#ottoEmailReply h3{font-size:20px;line-height:1.35;margin:0 0 18px;letter-spacing:-.02em}
#ottoEmailReply .or-sender{display:flex;align-items:center;gap:10px;margin-bottom:24px;font-size:12px;min-width:0}
#ottoEmailReply .or-sender>div{min-width:0;overflow-wrap:anywhere;display:grid;gap:4px}
#ottoEmailReply .or-sender span:not(.or-avatar),#ottoEmailReply time{color:var(--or-muted);font-size:11px}
#ottoEmailReply .or-sender time{margin-left:auto;flex:none}
#ottoEmailReply .or-avatar{display:grid;place-items:center;background:#ece6f8;border-radius:50%;color:#6444a4;font-weight:700;font-size:15px;width:36px;height:36px;flex:none}
#ottoEmailReply .or-email-text{font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
#ottoEmailReply .or-history{margin-top:24px;border-top:1px solid var(--or-line);padding-top:16px}
#ottoEmailReply summary{cursor:pointer;color:var(--or-muted);font-size:12px;font-weight:600;padding:3px 0 10px}
#ottoEmailReply .or-history article{padding:16px 0;border-bottom:1px solid var(--or-line)}
#ottoEmailReply .or-editor-scroll{padding:16px 22px;overflow:auto;flex:1;min-height:0}
#ottoEmailReply .or-addresses{display:grid;gap:9px;padding-bottom:14px;border-bottom:1px solid var(--or-line)}
#ottoEmailReply .or-addresses label,#ottoEmailReply .or-from{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center;margin:0;font-size:12px;font-weight:500;color:var(--or-muted)}
#ottoEmailReply .or-from{min-height:28px}
#ottoEmailReply .or-from strong{font-weight:500;color:var(--text,#252537);overflow-wrap:anywhere}
#ottoEmailReply input,#ottoEmailReply textarea{border:1px solid var(--or-line);border-radius:8px;background:var(--or-paper);color:inherit;font:inherit;line-height:1.5;min-width:0;width:100%;padding:8px 10px;margin:0}
#ottoEmailReply .or-ai-tools{padding:14px 0}
#ottoEmailReply .or-tools-title{display:flex;gap:6px;align-items:center;flex-wrap:wrap;color:var(--purple,#6040b8);font-size:12px}
#ottoEmailReply .or-tools-title>span{font-size:16px}
#ottoEmailReply .or-tools-title small{margin-left:auto;font-size:10px;color:var(--or-muted)}
#ottoEmailReply .or-quick-actions{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
#ottoEmailReply .or-quick-actions button{font-size:11px;min-height:32px;padding:6px 9px;background:#f8f6fd;color:#584180;border-color:#e6def3}
#ottoEmailReply [data-or-instruct]{display:flex;gap:8px;margin:0}
#ottoEmailReply [data-or-instruct] button{flex:none;color:var(--purple,#6040b8)}
#ottoEmailReply .or-ai-status{margin:7px 0 0;font-size:11px;color:var(--or-muted);line-height:1.45}
#ottoEmailReply .or-draft-label{display:flex;align-items:center;justify-content:space-between;margin:0 0 7px;font-size:12px;font-weight:650}
#ottoEmailReply .or-draft-label button{border:0;padding:4px 0;min-height:24px;font-size:11px;color:var(--purple,#6040b8);background:transparent}
#ottoEmailReply #orMessage{min-height:220px;height:clamp(220px,28vh,440px);resize:vertical;font-size:14px;line-height:1.75;padding:16px}
#ottoEmailReply .or-signature{padding:14px 0 6px;overflow:auto;max-width:100%}
#ottoEmailReply .or-signature>small{display:block;color:var(--or-muted);font-size:10px;margin-bottom:10px}
#ottoEmailReply .or-signature table{max-width:100%}
#ottoEmailReply .or-footer{padding:13px 22px;border-top:1px solid var(--or-line);display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;background:var(--or-paper)}
#ottoEmailReply .or-footer>div:first-child{min-width:0;flex:1}
#ottoEmailReply .or-footer small{font-size:10px;color:var(--or-muted)}
#ottoEmailReply .or-footer-actions{display:flex;gap:8px;flex:none}
#ottoEmailReply .or-coverage{font-size:11px;line-height:1.5;color:#806426;margin:0 0 5px;overflow-wrap:anywhere;max-height:80px;overflow:auto}
#ottoEmailReply .or-error{font-size:12px;color:#a62c3c;margin:0 0 5px;overflow-wrap:anywhere}
#ottoEmailReply .or-error:empty{display:none}
#ottoEmailReply .or-suggestion{border:1px solid #d9ccef;background:#f9f6ff;border-radius:12px;padding:14px;margin:0 0 14px}
#ottoEmailReply .or-suggestion-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#573389;font-size:12px}
#ottoEmailReply .or-suggestion-heading span{font-size:10px;color:var(--or-muted)}
#ottoEmailReply .or-suggestion p{font-size:12px;line-height:1.5;color:var(--or-muted);margin:8px 0}
#ottoEmailReply .or-suggestion-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto;font-size:13px;line-height:1.7}
#ottoEmailReply .or-suggestion-actions{display:flex;gap:8px;margin-top:12px}
#ottoEmailReply .or-mobile-tabs{display:none}
#ottoEmailReply .or-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1100px){#ottoEmailReply .or-footer{flex-wrap:wrap}#ottoEmailReply .or-footer-actions{margin-left:auto}#ottoEmailReply .or-tools-title small{flex-basis:100%;margin:0}}
@media(max-width:820px){#ottoEmailReply{left:76px;right:8px;top:120px}#ottoEmailReply .or-columns{display:flex;flex-direction:column}#ottoEmailReply .or-columns>section,#ottoEmailReply .or-columns>article{flex:1}#ottoEmailReply .or-mobile-tabs{display:flex;gap:6px;padding:8px 14px;border-bottom:1px solid var(--or-line)}#ottoEmailReply .or-mobile-tabs button{flex:1;border:0;background:#f7f5fb}#ottoEmailReply .or-mobile-tabs button.is-active{background:#ebe3f8;color:#58388f}#ottoEmailReply[data-panel="draft"] .or-source,#ottoEmailReply[data-panel="email"] .or-editor{display:none}#ottoEmailReply .or-heading{padding:12px 14px;flex-wrap:wrap;gap:10px}#ottoEmailReply .or-heading h2{font-size:20px}#ottoEmailReply .or-assist-badge{display:none}#ottoEmailReply .or-source{border-right:0}#ottoEmailReply .or-editor-scroll,#ottoEmailReply .or-source-content{padding:14px}#ottoEmailReply .or-panel-heading{padding:12px 14px}#ottoEmailReply .or-footer{padding:10px 14px}#ottoEmailReply .or-footer-actions{width:100%}#ottoEmailReply .or-footer-actions button{flex:1}}
@media(max-width:480px){#ottoEmailReply{left:8px;top:100px;bottom:8px}#ottoEmailReply .or-header-actions{width:100%;justify-content:space-between}#ottoEmailReply .or-sender{flex-wrap:wrap}}
:is(html[data-color-mode="dark"],html[data-theme="dark"],body.dark-mode) #ottoEmailReply{--or-line:#3b354e;--or-muted:#bcb6ca;--or-paper:#1d1b27;color:#eeeaf6}
:is(html[data-color-mode="dark"],html[data-theme="dark"],body.dark-mode) #ottoEmailReply :is(.or-source,.or-suggestion,.or-quick-actions button,.or-mobile-tabs button){background:#252130;color:#eeeaf6}
:is(html[data-color-mode="dark"],html[data-theme="dark"],body.dark-mode) #ottoEmailReply :is(.or-tools-title,.or-from strong,.or-suggestion-heading){color:#d8c8f8}
@media(prefers-reduced-motion:reduce){#ottoEmailReply button{transition:none}}
#emailView.or-reply-open #owPanel{visibility:hidden}
@media(max-width:820px){
 #ottoEmailReply .or-editor-scroll{display:flex;flex-direction:column}
 #ottoEmailReply .or-addresses{order:0;flex:none}
 #ottoEmailReply .or-draft-label{order:1;flex:none;margin-top:12px}
 #ottoEmailReply #orMessage{order:2;flex:none;height:250px;min-height:250px}
 #ottoEmailReply .or-ai-tools{order:3;flex:none}
 #ottoEmailReply .or-suggestion{order:4;flex:none}
 #ottoEmailReply .or-signature{order:5;flex:none}
}
:is(html[data-color-mode="dark"],html[data-theme="dark"],body.dark-mode) #ottoEmailReply button{background:#302a40!important;color:#eee8fa!important;border-color:#534963!important}
:is(html[data-color-mode="dark"],html[data-theme="dark"],body.dark-mode) #ottoEmailReply button.or-primary{background:#7150bd!important;color:#fff!important;border-color:#7150bd!important}
:is(html[data-color-mode="dark"],html[data-theme="dark"],body.dark-mode) #ottoEmailReply .or-draft-label button{background:transparent!important;color:#d7c2ff!important}
:is(html[data-color-mode="dark"],html[data-theme="dark"],body.dark-mode) #ottoEmailReply .or-coverage{color:#e5c77c}
:is(html[data-color-mode="dark"],html[data-theme="dark"],body.dark-mode) #ottoEmailReply .or-error{color:#ffabb4}
