.executive-agent{position:fixed;inset-inline-start:18px;bottom:18px;z-index:80;font:14px/1.6 Arial,Tahoma,sans-serif;color:#193c4e}.executive-agent button{font:inherit;cursor:pointer;border:1px solid #cbe0e6;border-radius:10px;background:#fff;color:#214b5c;padding:7px 11px;min-height:34px}.executive-agent button:disabled{opacity:.5;cursor:default}.executive-agent button:focus-visible,.executive-agent textarea:focus-visible,.executive-agent input:focus-visible{outline:3px solid #5bbcd1;outline-offset:2px}.exec-launcher{display:flex;align-items:center;gap:7px;box-shadow:0 5px 22px #143e4e25;background:#ecfbfc!important;border-color:#75c8d5!important;font-weight:700!important}.exec-robot{width:42px;height:42px;color:#169eaf;flex-shrink:0;animation:exec-float 4s ease-in-out infinite}.exec-eye{transform-origin:center;animation:exec-blink 5s ease-in-out infinite}.exec-robot.is-thinking{color:#8056bd;animation:exec-float 1.4s ease-in-out infinite}.exec-panel{position:absolute;inset-inline-start:0;bottom:70px;width:min(430px,calc(100vw - 32px));height:min(780px,calc(100dvh - 145px));display:flex;flex-direction:column;background:#fff;border:1px solid #c6dfe6;border-radius:18px;box-shadow:0 12px 50px #143a4c30;overflow:hidden}.exec-header{display:flex;align-items:center;gap:8px;background:#f0fafb;padding:9px 12px;border-bottom:1px solid #d5e7eb}.exec-header>div{flex:1}.exec-header strong,.exec-header small{display:block}.exec-header small{font-size:11px;color:#5a7886}.exec-source{padding:9px 14px;background:#fafdfd;border-bottom:1px solid #e1ecef}.exec-source>strong,.exec-source>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.exec-source>strong{font-size:12px}.exec-source>small{font-size:11px;color:#607a87}.exec-source label{display:flex;gap:6px;align-items:center;font-size:11px;margin-top:7px}.exec-source input{accent-color:#159bac}.exec-scroll{flex:1;overflow:auto;padding:12px;overscroll-behavior:contain;min-height:0}.exec-chat{display:flex;flex-direction:column;gap:10px}.exec-message{padding:10px 12px;border-radius:13px;background:#f1f7f9;white-space:pre-wrap;overflow-wrap:anywhere}.exec-message.user{background:#e5f7f6;margin-inline-start:24px}.exec-message.assistant{margin-inline-end:12px}.exec-message>small{display:block;font-weight:700;color:#587582;font-size:10px;margin-bottom:3px}.exec-evidence{margin-top:8px;font-size:11px;white-space:normal}.exec-evidence summary{cursor:pointer;color:#087c90}.exec-evidence>div{border-top:1px solid #cfe2e8;padding:6px 0}.exec-evidence strong,.exec-evidence small{display:block}.exec-evidence p{margin:4px 0;max-height:150px;overflow:auto}.exec-thinking{padding:10px;color:#6c5494;font-size:12px}.exec-thinking>span{display:inline-block;animation:exec-pulse 1.4s infinite;margin-inline-end:8px}.exec-thinking button{font-size:11px;padding:3px 6px;margin-inline-start:8px}.exec-quick-actions,.exec-draft-actions{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.exec-quick-actions button,.exec-draft-actions button{font-size:11px;padding:6px 8px}.exec-note,.exec-proposal,.exec-send-review{border:1px solid #cfe2e9;background:#fbfdfd;border-radius:12px;padding:11px;margin-top:10px}.exec-note label,.exec-proposal>strong,.exec-proposal>small{display:block}.exec-note input,.exec-note textarea,.exec-proposal>textarea,.exec-input textarea{box-sizing:border-box;width:100%;font:inherit;border:1px solid #cadae2;border-radius:9px;padding:9px;color:#183d50;background:#fff}.exec-note textarea{min-height:85px;margin:7px 0}.exec-proposal h3{font-size:14px;margin:0 0 7px}.exec-proposal>div{font-size:11px;overflow-wrap:anywhere}.exec-proposal>strong{font-size:12px;margin:5px 0}.exec-proposal>textarea{min-height:230px;resize:vertical;line-height:1.8}.exec-saved{display:block;font-size:10px!important;color:#43856b!important;margin-top:4px}.exec-send-review{background:#f1faf6;border-color:#91c4ae}.exec-send-review pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto}.exec-send-review>button{margin:4px;background:#e1f3e8}.exec-error{border:1px solid #e3bdc2;color:#973b4a;background:#fff5f5;border-radius:10px;padding:9px;font-size:12px;margin-top:10px;overflow-wrap:anywhere}.exec-error button{font-size:10px;margin:4px}.exec-input{padding:10px;border-top:1px solid #d8e6eb;background:#fff}.exec-input textarea{height:74px;resize:none}.exec-input>div{display:flex;gap:7px;margin-top:6px;justify-content:space-between}.exec-input select{border:1px solid #d5e5e9;border-radius:8px;background:#f7fbfc;padding:5px}.exec-input button{background:#138e9f;color:#fff;border-color:#138e9f}.executive-image-controls{display:flex;gap:8px;margin:4px 0 9px}.executive-image-controls button{font:inherit;font-size:11px;border:1px solid #d4e4ea;border-radius:8px;background:#f7fbfc;padding:5px 8px;cursor:pointer}.executive-mail-frame iframe{display:block;min-height:80px}.sm-signature .executive-mail-frame iframe{width:100%}
@keyframes exec-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes exec-blink{0%,43%,47%,100%{opacity:1}45%{opacity:.1}}@keyframes exec-pulse{50%{opacity:.3}}
@media(max-width:600px){.executive-agent{inset-inline-start:10px;bottom:12px}.exec-launcher{font-size:12px!important}.exec-panel{bottom:66px;width:calc(100vw - 20px);height:min(760px,calc(100dvh - 110px))}.exec-source>small{max-width:calc(100vw - 70px)}}
@media(prefers-reduced-motion:reduce){.exec-robot,.exec-eye,.exec-thinking>span{animation:none}}
/* Email bot: free-standing draggable character, with a separate speech panel. */
.executive-agent{inset:auto;bottom:auto;width:84px;height:98px;pointer-events:none;z-index:160}
.executive-agent .exec-launcher{pointer-events:auto;display:flex;flex-direction:column;gap:0;width:84px;height:98px;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.executive-agent .exec-launcher:active{cursor:grabbing}
.exec-launcher .exec-robot{width:76px;height:76px;filter:drop-shadow(0 5px 4px #08658130);color:#0d9eaf}
.exec-launcher>span{font-size:12px;color:#105569;text-shadow:0 1px 4px white,0 0 6px white;font-weight:700}
.exec-panel{position:fixed;inset:auto;bottom:auto;pointer-events:auto;border-radius:25px 25px 25px 8px;border:1px solid #93ced7;box-shadow:0 16px 55px #0d475332;background:#f7fcfd}
.exec-header{background:linear-gradient(120deg,#dcf9f4,#e8efff);border-bottom:1px solid #afdce1;min-height:58px}
.exec-header .exec-robot{width:47px;height:47px}
.exec-header strong{font-size:17px;letter-spacing:.3px;color:#12697e}
.exec-header small{font-size:11px}.exec-message.assistant{border:1px solid #d5e9ed;background:white;border-radius:17px 17px 5px 17px}
@media(max-width:600px){.executive-agent{inset:auto;bottom:auto}.exec-panel{bottom:auto;border-radius:22px}.exec-launcher{font-size:12px!important}}
/* Use the actual site's computed font, even though the bot is portalled to body. */
.executive-agent{font-family:var(--email-bot-font,"Cairo","Manrope",sans-serif);font-size:14px;line-height:1.8;letter-spacing:normal}
.executive-agent button,.executive-agent input,.executive-agent textarea,.executive-agent select,.executive-agent pre,.exec-rich,.exec-rich *{font-family:var(--email-bot-font,"Cairo","Manrope",sans-serif)!important;letter-spacing:normal}
.exec-panel{background:#f8fcfd}.exec-header{gap:11px;padding:12px 14px}.exec-header>div{min-width:0}.exec-header strong{font-size:17px}.exec-header small{font-size:11px;line-height:1.7;color:#536f7d}
.exec-presence{display:flex;align-items:center;gap:6px;color:#078177;font-size:11px;line-height:1.7;margin-top:3px}.exec-presence i{width:6px;height:6px;background:currentColor;border-radius:50%;flex:none}
.exec-character-status{position:absolute;top:100%;left:0;width:84px;font-size:10px;line-height:1.45;font-weight:600;text-align:center;color:#225b69;text-shadow:0 1px 4px white,0 0 5px white;pointer-events:none}
.exec-scroll{padding:15px 14px}.exec-chat{gap:14px}.exec-message{padding:12px 14px;white-space:normal;line-height:1.95;font-size:14px;animation:exec-message-in .22s ease-out}.exec-message>small{font-size:11px;margin-bottom:7px;line-height:1.5}.exec-message.user .exec-rich{white-space:pre-wrap}.exec-message.user{margin-inline-start:28px}.exec-message.assistant{margin-inline-end:8px}
.exec-rich{text-align:start;overflow-wrap:anywhere;line-height:1.95}.executive-agent[dir=ltr] .exec-rich{line-height:1.75}.exec-rich .message-content{font-size:inherit;line-height:inherit;max-width:100%}.exec-rich p{margin:0 0 .8em!important}.exec-rich p:last-child{margin-bottom:0!important}.exec-rich ul,.exec-rich ol{margin:.6em 0!important;padding-inline-start:1.45em!important}.exec-rich li{margin:.35em 0!important}.exec-rich h1,.exec-rich h2,.exec-rich h3,.exec-rich h4{font-size:1.05em!important;line-height:1.65;margin:.9em 0 .45em!important}.exec-rich strong{font-weight:750}.exec-rich blockquote{border-inline-start:3px solid #78c8cc;padding-inline-start:10px;margin:.7em 0;color:#496c78}.exec-rich pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:9px;background:#eef5f7;border-radius:8px}.exec-rich table{font-size:12px;border-collapse:collapse;max-width:100%;display:block;overflow:auto}.exec-rich th,.exec-rich td{border:1px solid #d8e6ec;padding:7px;text-align:start}
.exec-input textarea,.exec-note textarea,.exec-note input,.exec-proposal>textarea{font-size:14px;line-height:1.9}.exec-input textarea{height:84px}.exec-quick-actions button,.exec-draft-actions button{font-size:12px;line-height:1.6;padding:7px 10px}.exec-evidence{font-size:12px;line-height:1.8}.exec-source>strong{font-size:13px}.exec-source>small{font-size:11px}.exec-proposal h3{font-size:15px}.exec-saved{font-size:11px!important}.exec-input select{font-size:12px}
.exec-launcher:hover .exec-robot{filter:drop-shadow(0 5px 9px #0c9bac40)}.exec-launcher:active .exec-robot{filter:drop-shadow(0 3px 4px #0c9bac35)}.executive-agent button{transition:background-color .15s,border-color .15s,box-shadow .15s}.executive-agent button:not(:disabled):hover{border-color:#58b9c7;background-color:#effafb}.executive-agent .exec-launcher:hover{background:transparent!important}
.exec-robot .exec-mouth{transition:d .2s}.exec-robot.mood-attentive{animation:exec-attentive 1.8s ease-in-out infinite}.exec-robot.mood-attentive .exec-eye{transform:translateY(1px);animation:none}.exec-robot.mood-reading .exec-eye{animation:exec-scan 2.1s ease-in-out infinite}.exec-robot.mood-thinking .exec-antenna,.exec-robot.mood-drafting .exec-antenna,.exec-robot.mood-translating .exec-antenna{animation:exec-antenna-pulse 1s ease-in-out infinite}.exec-robot.mood-translating .exec-eye{animation:exec-scan 1.5s ease-in-out infinite}.exec-robot.mood-replied{animation:exec-happy .6s ease-in-out 2}.exec-robot.mood-replied .exec-mouth{stroke-width:2.3}.exec-robot.mood-error{color:#c77958;animation:none}.exec-robot.mood-review,.exec-robot.mood-saving{color:#6d64b3}.mood-reading .exec-presence,.mood-thinking .exec-presence,.mood-drafting .exec-presence,.mood-translating .exec-presence{color:#6a59a7}.mood-error .exec-presence{color:#a6513f}
.exec-thinking{font-size:12px;line-height:1.8;display:flex;align-items:center;gap:8px;padding:12px 4px}.exec-thinking>.exec-typing-dots{display:inline-flex;gap:4px;animation:none;margin:0}.exec-typing-dots i{height:5px;width:5px;border-radius:50%;background:#7b63b1;animation:exec-typing 1s ease-in-out infinite}.exec-typing-dots i:nth-child(2){animation-delay:.15s}.exec-typing-dots i:nth-child(3){animation-delay:.3s}.exec-thinking button{margin-inline-start:auto;flex:none}
@keyframes exec-message-in{from{opacity:.25;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes exec-attentive{0%,100%{transform:rotate(0)}50%{transform:rotate(-4deg)}}@keyframes exec-scan{0%,100%{transform:translateX(-1.5px)}50%{transform:translateX(1.5px)}}@keyframes exec-antenna-pulse{50%{opacity:.3}}@keyframes exec-happy{0%,100%{transform:translateY(0) rotate(0)}40%{transform:translateY(-6px) rotate(-5deg)}70%{transform:translateY(-2px) rotate(4deg)}}@keyframes exec-typing{0%,70%,100%{transform:translateY(0);opacity:.35}35%{transform:translateY(-3px);opacity:1}}
@media(prefers-reduced-motion:reduce){.executive-agent *{animation:none!important;transition:none!important}}
.exec-message{font-size:15px}.exec-rich p,.exec-rich li{font-size:inherit!important;line-height:inherit!important}.exec-rich ul{list-style:disc outside!important}.exec-rich ol{list-style:decimal outside!important}.exec-rich li{display:list-item!important}.exec-input textarea,.exec-note textarea,.exec-note input,.exec-proposal>textarea{font-size:15px}
/* v3: visibly different poses, not just subtle movement or a changing caption. */
.executive-agent{width:112px;height:150px}.executive-agent .exec-launcher{width:112px;height:132px;position:relative}.exec-launcher .exec-robot{width:108px;height:108px;animation:exec-v3-idle 3.5s ease-in-out infinite}.exec-launcher>span{font-size:14px}.exec-character-status{top:132px;width:112px;font-size:11px;line-height:1.5;color:#174b60;font-weight:750}.exec-header .exec-robot{width:65px;height:65px}.exec-header{min-height:100px}.exec-header strong{font-size:18px}.exec-presence{font-size:13px;line-height:1.65;font-weight:700;background:#e4f5f2;border-radius:9px;padding:5px 8px;margin-top:6px}.exec-presence i{width:8px;height:8px}
.exec-robot .exec-eye,.exec-robot .exec-mouth{transform-box:fill-box;transform-origin:center}.exec-robot .exec-arm-right{transform-origin:65px 66px}.exec-robot .exec-arm-left{transform-origin:31px 66px}
.exec-robot.mood-reading{color:#168aaf;animation:exec-v3-read 1.6s ease-in-out infinite}.exec-robot.mood-reading .exec-reading-line{animation:exec-v3-scan 1.4s ease-in-out infinite}.exec-robot.mood-read{color:#168aaf}.exec-robot.mood-attentive{color:#098c80;animation:exec-v3-listen 1.3s ease-in-out infinite}.exec-robot.mood-attentive .exec-eye{animation:exec-v3-look .9s ease-in-out infinite}.exec-robot.mood-thinking,.exec-robot.mood-drafting,.exec-robot.mood-translating{color:#8660bd;animation:exec-v3-think 1.5s ease-in-out infinite}.exec-thought-dots circle{animation:exec-v3-thought .9s ease-in-out infinite}.exec-thought-dots circle:nth-child(2){animation-delay:.2s}.exec-thought-dots circle:nth-child(3){animation-delay:.4s}.exec-robot.mood-drafting .exec-state-badge{animation:exec-v3-pencil .6s ease-in-out infinite}
.exec-robot.mood-proposal{color:#7951b0;animation:exec-v3-idle 3s ease-in-out infinite}.exec-robot.mood-replied .exec-arm-right,.has-new-answer .exec-arm-right{animation:exec-v3-wave .5s ease-in-out 5}.has-new-answer .exec-mouth{animation:exec-v3-mouth .3s ease-in-out 7}.has-new-answer .exec-launcher .exec-robot{animation:exec-v3-celebrate .7s ease-in-out 3}.mood-proposal .exec-presence{background:#efe7fb;color:#7047a0}.mood-reading .exec-presence,.mood-read .exec-presence{background:#e3f2fb;color:#16799d}.mood-attentive .exec-presence{background:#dcf5ed;color:#087a69}.mood-thinking .exec-presence,.mood-drafting .exec-presence,.mood-translating .exec-presence{background:#efe7fb;color:#7047a0}
.exec-thinking{background:#f1ebfb;border:1px solid #d9c9ed;border-radius:12px;padding:12px;font-size:14px}.exec-typing-dots i{width:7px;height:7px}
@keyframes exec-v3-idle{50%{transform:translateY(-5px)}}@keyframes exec-v3-read{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}@keyframes exec-v3-scan{50%{transform:translateY(20px)}}@keyframes exec-v3-listen{0%,100%{transform:rotate(0) translateY(0)}50%{transform:rotate(-9deg) translateY(-3px)}}@keyframes exec-v3-look{50%{transform:translateY(3px)}}@keyframes exec-v3-think{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-8px) rotate(3deg)}}@keyframes exec-v3-thought{50%{opacity:.15;transform:translateY(-3px)}}@keyframes exec-v3-pencil{50%{transform:translateY(-4px)}}@keyframes exec-v3-wave{50%{transform:rotate(-32deg)}}@keyframes exec-v3-mouth{50%{transform:scaleY(.3)}}@keyframes exec-v3-celebrate{0%,100%{transform:translateY(0)}40%{transform:translateY(-13px) rotate(-5deg)}70%{transform:translateY(-5px) rotate(5deg)}}
@media(prefers-reduced-motion:reduce){.executive-agent *{animation:none!important;transition:none!important}}
/* On narrow windows reserve visible space for the character instead of hiding it behind chat. */
.executive-agent .exec-launcher{z-index:2}.exec-panel{z-index:1}.executive-agent.is-docked{height:140px}.is-docked .exec-launcher{height:104px}.is-docked .exec-launcher .exec-robot{width:84px;height:84px}.is-docked .exec-launcher>span{font-size:13px}.is-docked .exec-character-status{top:104px;font-size:11px;line-height:1.35}.is-docked .exec-header{min-height:80px;padding:8px 12px}.is-docked .exec-header .exec-robot{width:52px;height:52px}.is-docked .exec-source{padding:6px 12px}.is-docked .exec-input{padding:8px}.is-docked .exec-input textarea{height:68px}.is-docked .exec-presence{font-size:12px;padding:3px 6px}

/* v4: compact context bars leave the conversation more room. */
.executive-agent .exec-header{min-height:0;padding:5px 10px;gap:7px;flex-shrink:0}
.executive-agent .exec-header .exec-robot{width:36px;height:36px}
.executive-agent .exec-header strong{font-size:14px;line-height:1.3;letter-spacing:0}
.executive-agent .exec-presence{font-size:11px;line-height:1.3;padding:0;margin-top:2px;background:transparent;border-radius:0}
.executive-agent .exec-presence i{width:6px;height:6px}
.executive-agent .exec-header>button{min-height:28px;padding:2px 8px}
.executive-agent .exec-source{padding:4px 10px;flex-shrink:0;line-height:1.35}
.executive-agent .exec-source>strong{font-size:11px;line-height:1.35}
.executive-agent .exec-source>small{font-size:10px;line-height:1.35}
.executive-agent .exec-source label{font-size:10px;line-height:1.3;margin-top:2px;gap:4px}
.executive-agent .exec-source input{margin:0;width:12px;height:12px}
.executive-agent .exec-source .exec-saved{font-size:9px!important;margin-top:2px}
.executive-agent .exec-scroll{padding:10px 12px}
.executive-agent .exec-rich p{margin:0 0 10px}.executive-agent .exec-rich p:last-child{margin-bottom:0}

/* v5: compact, consistent conversation typography in both directions. */
.executive-agent .exec-chat{gap:8px}
.executive-agent .exec-message{font-size:13px;line-height:1.65;padding:8px 10px;border-radius:11px;max-width:100%;box-sizing:border-box}
.executive-agent .exec-message.user{margin-inline-start:32px;background:#eaf6f5;border:1px solid #d8eae7}
.executive-agent .exec-message.assistant{margin-inline-end:8px;background:#fff;border:1px solid #dce8ec}
.executive-agent .exec-message>small{font-size:10px;line-height:1.3;margin-bottom:4px;font-weight:650;color:#617b87}
.executive-agent .exec-rich,.executive-agent[dir=ltr] .exec-rich{font-size:inherit;line-height:1.65}
.executive-agent .exec-rich .message-content{font-size:inherit!important;line-height:inherit!important}
.executive-agent .exec-rich p{margin:0 0 6px!important}
.executive-agent .exec-rich p:last-child{margin-bottom:0!important}
.executive-agent .exec-rich ul,.executive-agent .exec-rich ol{margin:4px 0!important;padding-inline-start:1.35em!important}
.executive-agent .exec-rich li{margin:2px 0!important}
.executive-agent .exec-rich h1,.executive-agent .exec-rich h2,.executive-agent .exec-rich h3,.executive-agent .exec-rich h4{font-size:1em!important;line-height:1.5;margin:7px 0 4px!important}
.executive-agent .exec-rich strong{font-weight:700}
.executive-agent .exec-rich blockquote{margin:5px 0;padding-inline-start:8px}
.executive-agent .exec-rich pre{font-size:12px;line-height:1.6;padding:7px;margin:5px 0}
.executive-agent .exec-rich table{font-size:12px;line-height:1.5}
.executive-agent .exec-rich th,.executive-agent .exec-rich td{padding:5px}
.executive-agent .exec-evidence{font-size:11px;line-height:1.5;margin-top:6px}
.executive-agent .exec-input textarea{font-size:13px;line-height:1.65}
.executive-agent .exec-rich .report-message{font-size:inherit!important;line-height:inherit!important;margin:0;padding:0;max-width:100%}
/* Gmail-style composer: quiet recipient rows and an uncluttered writing area. */
.smart-mail .sm-gmail-compose,.smart-mail.sm-compose-portal .sm-gmail-compose{display:flex;flex-direction:column;padding:0;background:#fff;color:#202124;border:1px solid #dadce0;border-radius:8px;overflow:auto;box-sizing:border-box;gap:0}
.smart-mail.sm-compose-portal{border:0;border-radius:8px 8px 0 0;box-shadow:0 8px 28px #20212438}
.smart-mail .sm-gmail-compose>header,.smart-mail.sm-compose-portal .sm-gmail-compose>header{position:sticky;top:0;background:#f2f6fc;margin:0;padding:7px 12px;min-height:40px;box-sizing:border-box;border:0;z-index:3;gap:4px}
.smart-mail .sm-gmail-compose>header h2{font-size:14px;font-weight:600;line-height:1.4;flex:1;margin:0}
.smart-mail .sm-gmail-compose>header button{border:0;background:transparent;min-width:28px;min-height:28px;padding:4px;color:#5f6368;border-radius:4px}
.smart-mail .sm-gmail-compose>label,.sm-gmail-compose .sm-recipient-row{display:flex;align-items:center;gap:9px;min-height:37px;padding:4px 0;margin:0 14px;border-bottom:1px solid #e8eaed;color:#5f6368;font-size:12px;box-sizing:border-box;flex-shrink:0}
.sm-gmail-compose .sm-recipient-label{display:flex;align-items:center;gap:9px;flex:1;min-width:0;font-size:12px;color:#5f6368}
.smart-mail .sm-gmail-compose>label input,.smart-mail .sm-gmail-compose>label select,.sm-gmail-compose .sm-recipient-label input{flex:1;min-width:0;width:0;border:0!important;box-shadow:none!important;background:transparent;border-radius:0;color:#202124;font:inherit;font-size:13px;padding:4px;outline-offset:1px}
.sm-gmail-compose .sm-recipient-toggles{display:flex;gap:9px;flex-shrink:0;direction:ltr}
.sm-gmail-compose .sm-recipient-toggles button{font:inherit;font-size:12px;background:none;border:0;padding:4px 0;color:#5f6368;cursor:pointer;min-height:28px;text-decoration:none}
.sm-gmail-compose .sm-recipient-toggles button:hover{text-decoration:underline;color:#1a73e8}
.smart-mail .sm-gmail-compose>textarea,.smart-mail .sm-gmail-compose>.sm-rich-editor{box-sizing:border-box;width:100%;border:0;border-radius:0;background:#fff;margin:0;padding:13px 16px;min-height:220px;max-height:none;flex:1;resize:vertical;font-size:14px;line-height:1.65;box-shadow:none;color:#202124}
.sm-gmail-compose .sm-formatbar{order:2;margin:5px 14px 0;padding:5px;gap:4px;border:1px solid #dadce0;border-radius:4px;background:#fff;box-shadow:0 1px 3px #20212412;flex-shrink:0}
.sm-gmail-compose .sm-formatbar[hidden]{display:none!important}
.sm-gmail-compose .sm-formatbar button{border:0;background:transparent;border-radius:3px;color:#444746;min-height:28px}
.sm-gmail-compose .sm-formatbar button:hover,.sm-gmail-compose .sm-formatbar button.active{background:#e8f0fe;color:#174ea6}
.smart-mail .sm-gmail-compose>footer{order:3;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:5px;padding:10px 14px;margin:0;background:#fff;flex-shrink:0}
.sm-gmail-compose>footer .primary{order:-2;border-radius:20px;background:#0b57d0;color:white;padding:9px 18px;border:0;min-height:38px;box-shadow:none}
.sm-gmail-compose>footer .sm-format-toggle{order:-1;text-decoration:underline;font-weight:700;font-size:17px;border:0;background:none;color:#444746;padding:7px 9px}
.sm-gmail-compose>footer .soft-button{border:0;background:transparent;color:#444746;border-radius:4px;padding:7px 8px}
.sm-gmail-compose>footer .sm-discard{order:5;margin-inline-start:auto}
.sm-gmail-compose>.sm-draft-status{order:4;padding:0 14px 8px;font-size:10px;color:#70757a}
.sm-gmail-compose>.sm-signature,.sm-gmail-compose>.sm-outgoing-files{margin:0 14px 7px}
.smart-mail.sm-compose-portal.minimized .sm-gmail-compose>:not(header){display:none!important}
@media(max-width:600px){.sm-gmail-compose>footer button,.sm-gmail-compose>footer label{font-size:11px}.smart-mail .sm-gmail-compose>textarea,.smart-mail .sm-gmail-compose>.sm-rich-editor{min-height:180px;font-size:16px}.sm-gmail-compose .sm-recipient-label input{font-size:16px}}

.sm-gmail-compose>.sm-signature{flex-shrink:0;font-size:11px;color:#70757a;padding:4px 0}.sm-gmail-compose>.sm-signature summary{cursor:pointer}.sm-gmail-compose>.sm-signature[open]{max-height:170px;overflow:auto}.smart-mail .sm-gmail-compose>textarea,.smart-mail .sm-gmail-compose>.sm-rich-editor{min-height:180px}

/* v7: keep the site font across portal/native controls, and persistent recipient toggles. */
.smart-mail .sm-gmail-compose,.sm-gmail-compose input,.sm-gmail-compose textarea,.sm-gmail-compose select,.sm-gmail-compose button,.sm-gmail-compose label{font-family:var(--mail-compose-font,"Cairo","Manrope",sans-serif)!important;letter-spacing:normal}
.sm-gmail-compose .sm-recipient-toggles button.active{color:#0b57d0;text-decoration:underline;text-underline-offset:3px}
.sm-gmail-compose>.sm-extra-recipient{flex:0 0 auto}

/* v8: compose layout follows supplied Gmail reference; use real supported tools. */
@media(min-width:851px){.smart-mail.sm-compose-portal{width:min(660px,calc(100vw - 40px));height:min(780px,calc(100dvh - 70px));bottom:12px}.smart-mail.sm-compose-portal.maximized{width:auto;height:auto;inset:20px}}
.sm-gmail-compose .sm-writing-area{flex:1;min-height:160px;overflow:auto;background:white;padding:0 14px;box-sizing:border-box}
.smart-mail .sm-gmail-compose .sm-writing-area>.sm-rich-editor,.smart-mail .sm-gmail-compose .sm-writing-area>textarea{font-family:var(--mail-compose-font,"Cairo","Manrope",sans-serif);font-size:14px;line-height:1.65;min-height:100px;max-height:none;margin:0;padding:14px 0;width:100%;box-sizing:border-box;border:0;border-radius:0;resize:none;background:#fff;outline:none;overflow-wrap:anywhere}
.sm-gmail-compose .sm-writing-area .sm-signature{margin:0;padding:0;border:0;font-size:10px;color:#70757a;max-height:none;overflow:visible}
.sm-gmail-compose .sm-writing-area .sm-signature .executive-image-controls{display:none}
.sm-gmail-compose .sm-writing-area .sm-signature summary{cursor:pointer;margin:2px 0 6px}
.sm-gmail-compose .sm-writing-area .sm-signature .executive-mail-frame iframe{max-width:100%}
.sm-gmail-compose .sm-formatbar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;background:#f1f3f4;border:0;border-radius:16px;box-shadow:none;margin:8px 14px 0}
.sm-gmail-compose .sm-formatbar select{border:0;border-inline-end:1px solid #dadce0;border-radius:0;background:transparent;color:#444746;font-size:12px;max-width:120px;padding:3px;min-height:28px}
.sm-gmail-compose .sm-formatbar button{font-size:17px;padding:4px 6px;min-width:28px}
.sm-gmail-compose .sm-text-color{display:flex;align-items:center;position:relative;padding:4px;font-size:18px;font-weight:700;text-decoration:underline;min-width:26px;cursor:pointer}
.sm-gmail-compose .sm-text-color input{position:absolute;width:100%;height:100%;inset:0;opacity:0;cursor:pointer}
.sm-gmail-compose>footer .sm-insert-link,.sm-gmail-compose>footer .sm-insert-emoji{border:0;background:transparent;color:#444746;font-size:21px;padding:5px;min-width:30px;border-radius:4px}
.sm-gmail-compose .sm-link-editor,.sm-gmail-compose .sm-emoji-picker{order:2;display:flex;align-items:center;gap:6px;padding:8px 14px;background:#f8fafd;flex-wrap:wrap}
.sm-gmail-compose .sm-link-editor input{flex:1;min-width:120px;border:1px solid #dadce0;border-radius:5px;padding:7px;font-size:13px}
.sm-gmail-compose .sm-link-editor button,.sm-gmail-compose .sm-emoji-picker button{border:1px solid #dadce0;border-radius:5px;background:#fff;padding:5px 8px}
.sm-gmail-compose .sm-emoji-picker button{font-size:20px}
.executive-agent .exec-message{font-size:12px;line-height:1.6;padding:7px 9px}
.executive-agent .exec-rich,.executive-agent[dir=ltr] .exec-rich{line-height:1.6}
.executive-agent .exec-message>small{font-size:9px;margin-bottom:3px}
.executive-agent .exec-rich p{margin-bottom:5px!important}.executive-agent .exec-chat{gap:7px}

/* v10: balanced composing surface; only the writing area scrolls. */
@media(min-width:851px){.smart-mail.sm-compose-portal{width:min(620px,calc(100vw - 40px));height:min(610px,calc(100dvh - 50px));bottom:12px}.smart-mail.sm-compose-portal.maximized{width:auto;height:auto;inset:20px}}
.smart-mail .sm-gmail-compose{border-radius:12px 12px 0 0}
.smart-mail .sm-gmail-compose>header,.smart-mail.sm-compose-portal .sm-gmail-compose>header{min-height:38px;padding:6px 12px}
.smart-mail .sm-gmail-compose>label,.sm-gmail-compose .sm-recipient-row{min-height:33px;padding:2px 0;margin-inline:14px}
.sm-gmail-compose .sm-writing-area{padding:0 16px;min-height:100px;overscroll-behavior:contain}
.smart-mail .sm-gmail-compose .sm-writing-area>.sm-rich-editor,.smart-mail .sm-gmail-compose .sm-writing-area>textarea{min-height:72px;padding:12px 0;line-height:1.65}
.sm-gmail-compose .sm-writing-area .sm-signature summary{font-size:9px;opacity:.8;margin:0 0 3px}
.sm-gmail-compose .sm-formatbar{gap:1px;padding:4px 7px;margin:6px 12px 0;border-radius:10px}
.sm-gmail-compose .sm-formatbar select{max-width:108px;font-size:11px}
.sm-gmail-compose .sm-formatbar button{min-width:26px;min-height:27px;padding:3px 5px;font-size:16px}
.smart-mail .sm-gmail-compose>footer{padding:8px 12px 5px;gap:7px;justify-content:flex-start;flex-shrink:0}
.sm-gmail-compose>footer .soft-button{min-width:30px;min-height:32px;justify-content:center;padding:5px}
.sm-control-caption{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sm-gmail-compose>.sm-draft-status{padding:2px 14px 7px;font-size:9px}
.exec-input>div{justify-content:flex-end}.exec-input textarea{height:64px}
.exec-robot.mood-reading .exec-eye,.exec-robot.mood-read .exec-eye{transition:cx .2s ease}
@media(max-width:600px){.smart-mail.sm-compose-portal{bottom:16px;height:calc(100dvh - 48px)}.sm-gmail-compose .sm-writing-area{min-height:100px}.sm-gmail-compose .sm-formatbar{max-height:88px;overflow:auto}}

/* Keep the writing surface clear on narrow screens while the assistant is closed. */
.executive-agent.is-composer-docked{width:56px;height:56px}
.executive-agent.is-composer-docked .exec-launcher{width:56px;height:56px}
.executive-agent.is-composer-docked .exec-launcher .exec-robot{width:56px;height:56px}
.executive-agent.is-composer-docked .exec-launcher>span,.executive-agent.is-composer-docked .exec-character-status{display:none}
@media(max-width:600px){.smart-mail.sm-compose-portal{bottom:80px;height:calc(100dvh - 112px)}}
/* Keep the layout stable when mail's lazy stylesheet loads after the app shell. */
.smart-mail.sm-compose-portal .sm-gmail-compose.sm-gmail-compose{display:flex;flex-direction:column;padding:0;border-radius:12px 12px 0 0;overflow:auto}
.smart-mail.sm-compose-portal .sm-gmail-compose.sm-gmail-compose>header{top:0;margin:0;padding:6px 12px;min-height:38px;background:#f2f6fc}
@media(min-width:851px){.smart-mail.sm-compose-portal:not(.maximized):not(.minimized){width:min(620px,calc(100vw - 40px));height:min(610px,calc(100dvh - 50px));bottom:12px}.smart-mail.sm-compose-portal.maximized{width:auto;height:auto;inset:20px}}
@media(max-width:600px){.smart-mail.sm-compose-portal:not(.maximized):not(.minimized){bottom:80px;width:calc(100vw - 16px);height:calc(100dvh - 112px);inset-inline-end:8px}}

/* v11: signature control lives on the toolbar boundary, never in the writing area. */
.sm-gmail-compose>.sm-signature-toggle{order:1;flex-shrink:0;display:block;width:100%;box-sizing:border-box;text-align:start;border:0;border-top:1px solid #e8edf1;border-radius:0;background:#fbfcfd;color:#6d7882;padding:4px 14px;font-size:10px;line-height:1.45;min-height:23px;cursor:pointer}
.sm-gmail-compose>.sm-signature-toggle:hover{background:#edf4fa;color:#245b79}
.sm-gmail-compose .sm-formatbar{margin-top:3px}
/* Obvious directional turn, retained after a fast or cached read completes. */
.exec-launcher .exec-robot.mood-reading[data-gaze=left],.exec-launcher .exec-robot.mood-read[data-gaze=left]{transform-origin:50% 70%;animation:exec-turn-mail-left .85s ease-out both,exec-read-mail-left 2.2s .85s ease-in-out infinite}
.exec-launcher .exec-robot.mood-reading[data-gaze=right],.exec-launcher .exec-robot.mood-read[data-gaze=right]{transform-origin:50% 70%;animation:exec-turn-mail-right .85s ease-out both,exec-read-mail-right 2.2s .85s ease-in-out infinite}
@keyframes exec-turn-mail-left{0%{transform:translateX(0) rotate(0)}55%{transform:translateX(-11px) rotate(-17deg)}100%{transform:translateX(-7px) rotate(-10deg)}}
@keyframes exec-turn-mail-right{0%{transform:translateX(0) rotate(0)}55%{transform:translateX(11px) rotate(17deg)}100%{transform:translateX(7px) rotate(10deg)}}
@keyframes exec-read-mail-left{0%,100%{transform:translateX(-7px) rotate(-10deg)}50%{transform:translateX(-10px) translateY(-4px) rotate(-14deg)}}
@keyframes exec-read-mail-right{0%,100%{transform:translateX(7px) rotate(10deg)}50%{transform:translateX(10px) translateY(-4px) rotate(14deg)}}
@media(prefers-reduced-motion:reduce){.executive-agent *{animation:none!important;transition:none!important}}

/* v12: dimensional metallic shell, lit glass face, and contextual expression bubble. */
.exec-launcher .exec-robot{filter:drop-shadow(2px 7px 5px #003d5550) drop-shadow(-1px -1px 1px #d7fffb80)}
.exec-robot .exec-face{transform-box:view-box}.exec-bot-shadow{filter:blur(1.5px)}
.exec-emotion-emoji{position:absolute;top:1px;inset-inline-end:-8px!important;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:linear-gradient(145deg,#fff,#e5f3f8);box-shadow:0 3px 10px #163d4f35,inset 0 1px 1px #fff;border:1px solid #fff;font-size:23px!important;line-height:1;text-shadow:none!important;pointer-events:none}
.executive-agent .exec-header .exec-sound-toggle{padding:3px 5px;min-width:26px;min-height:28px;font-size:13px}
.executive-agent.is-composer-docked .exec-emotion-emoji{display:grid!important;width:23px;height:23px;top:-5px;inset-inline-end:-4px!important;font-size:17px!important}

/* v13: single compact composer row, with a labelled send arrow. */
.executive-agent .exec-input{display:flex;align-items:flex-end;gap:7px;padding:7px 9px}
.executive-agent .exec-input textarea{flex:1;min-width:0;height:40px;min-height:40px;max-height:96px;padding:8px 10px;font-size:12px;line-height:1.6;resize:vertical}
.executive-agent .exec-input>div{margin:0;flex:none}
.executive-agent .exec-input button{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;font-size:23px;line-height:1}
.exec-message[role=button]{cursor:pointer}.exec-message[role=button]:focus-visible{outline:2px solid #43a8bc;outline-offset:2px}
.exec-chat-notice{font-size:11px;padding:6px 2px;color:#42716c}.exec-chat-notice button{margin-inline-start:8px;padding:2px 7px;font-size:11px}
.exec-message-backdrop{position:fixed;inset:0;z-index:240;display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;background:#11253766;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);pointer-events:auto;font-family:var(--email-bot-font,"Cairo","Manrope",sans-serif)}
.exec-message-dialog{width:min(560px,100%);max-height:min(80dvh,760px);display:flex;flex-direction:column;background:#fff;border:1px solid #cddfe5;border-radius:18px;box-shadow:0 20px 70px #071e4255;overflow:hidden;color:#214656;font:13px/1.75 var(--email-bot-font,"Cairo","Manrope",sans-serif)}
.exec-message-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #e2edf1;background:#f3fafb}
.exec-message-dialog button{font:inherit;border:1px solid #d4e2e7;border-radius:9px;background:#f7fbfc;color:#195b6a;padding:7px 13px;cursor:pointer}.exec-message-dialog button:disabled{opacity:.45;cursor:default}
.exec-message-dialog>header button{font-size:22px;border:0;background:none;padding:0 7px}.exec-message-dialog .exec-dialog-message{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;font-size:13px;line-height:1.8;user-select:text}
.exec-message-dialog .exec-dialog-message .report-message{font-size:inherit!important;line-height:inherit!important}.exec-message-dialog>footer{display:flex;flex-wrap:wrap;gap:7px;padding:10px 14px;border-top:1px solid #e3edf1}.exec-message-dialog .exec-delete-message{color:#a3454e;margin-inline-start:auto}.exec-message-dialog>p{margin:4px 14px;color:#a3454e}

.exec-message-dialog .exec-inline-message-edit{box-sizing:border-box;width:calc(100% - 28px);min-height:180px;max-height:55dvh;resize:vertical;margin:14px;padding:12px;border:1px solid #a9ced9;border-radius:10px;font:13px/1.8 var(--email-bot-font,"Cairo","Manrope",sans-serif);color:#214656;background:white}.exec-inline-message-edit:focus{outline:2px solid #43a8bc;outline-offset:2px}

/* v15: lift the message bubble with a separate small action menu beneath it. */
.exec-message-dialog.is-viewing{width:min(520px,100%);background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;max-height:85dvh}
.exec-message-dialog.is-viewing>header{background:transparent;border:0;padding:0 2px 6px;color:#fff;min-height:28px;flex-shrink:0}
.exec-message-dialog.is-viewing>header strong{font-size:12px;text-shadow:0 1px 5px #10283c70}
.exec-message-dialog.is-viewing>header button{background:#fff;color:#426171;border-radius:50%;width:27px;height:27px;min-height:27px;font-size:19px;line-height:1;padding:0;box-shadow:0 2px 8px #09233c20}
.exec-message-dialog.is-viewing>.exec-dialog-message{flex:0 1 auto;min-height:0;max-height:65dvh;background:#fff;border:1px solid #dbe8ed;border-radius:15px 15px 5px 15px;padding:12px 14px;box-shadow:0 14px 42px #071e4235;white-space:pre-wrap}
.exec-message-dialog.is-viewing>footer{flex:none;align-self:flex-start;width:max-content;max-width:100%;margin-top:8px;padding:3px;background:#fff;border:1px solid #dce8ed;border-radius:11px;gap:0;box-shadow:0 7px 25px #071e4230;flex-wrap:nowrap}
.exec-message-dialog.is-viewing>footer button{min-width:70px;padding:8px 14px;border:0;border-radius:8px;background:transparent;font-size:12px;line-height:1.4;min-height:34px}
.exec-message-dialog.is-viewing>footer button:hover{background:#eaf4f6}
.exec-message-dialog.is-viewing>footer .exec-delete-message{margin-inline-start:0;color:#a3454d}
.exec-message-dialog.is-viewing>p{background:#fff;border-radius:8px;padding:6px;margin:6px 0 0}
@media(max-width:480px){.exec-message-backdrop{padding:16px}.exec-message-dialog.is-viewing>footer button{min-width:65px;padding:8px 12px}}

/* v16: brief trip to the email editor after an explicit transfer request. */
.executive-agent.is-transferring{transition:left .32s cubic-bezier(.2,.8,.2,1),top .32s cubic-bezier(.2,.8,.2,1)}
.executive-agent.is-transferring .exec-robot{animation:exec-transfer-nod .42s ease-in-out 2}
.exec-transfer-highlight{outline:2px solid #32b6aa!important;outline-offset:3px;transition:outline-color .2s}
@keyframes exec-transfer-nod{50%{transform:translateY(5px) rotate(-8deg)}}
@media(prefers-reduced-motion:reduce){.executive-agent.is-transferring{transition:none}.executive-agent.is-transferring .exec-robot{animation:none}}

/* v17: robot's own hand confirms placement after arrival. */
.exec-thumb-up{transform-box:fill-box;transform-origin:bottom center;animation:exec-thumb-confirm .8s .32s both}
@keyframes exec-thumb-confirm{0%{opacity:0;transform:scale(.3) rotate(15deg)}25%{opacity:1;transform:scale(1.14) rotate(-8deg)}55%,100%{opacity:1;transform:scale(1) rotate(0)}}
@media(prefers-reduced-motion:reduce){.exec-thumb-up{animation:none}}
