@import url("https://fonts.googleapis.com/css2?family=Afacad:wght@400;500;600;700&family=Bebas+Neue&family=Poppins:wght@400;500;600;700&display=swap");
.grt-etta-launcher,.grt-etta-dialog{font:15px/1.5 Poppins,Arial,Helvetica,sans-serif;color:#110f36;box-sizing:border-box}
.grt-etta-launcher{position:fixed;right:22px;bottom:max(22px,env(safe-area-inset-bottom));z-index:9990;border:2px solid #fff;border-radius:999px;padding:14px 23px;background:#110f36;color:#fff;font-weight:700;box-shadow:0 4px 20px #110f3638;cursor:pointer;min-height:48px}
.grt-etta-dialog{position:fixed;inset:20px 20px 20px auto;width:min(430px,calc(100vw - 40px));height:calc(100dvh - 40px);max-height:none;max-width:none;margin:0;padding:0;border:1px solid #d6dfeb;border-radius:18px;background:#fff;box-shadow:0 12px 60px #110f3645;overflow:hidden}
.grt-etta-dialog[open]{display:flex;flex-direction:column}.grt-etta-dialog::backdrop{background:#110f3633}
.grt-etta-dialog *{box-sizing:border-box}.grt-etta-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;background:#110f36;color:#fff;flex-shrink:0}.grt-etta-head h2{font-size:23px;line-height:1.2;margin:0}.grt-etta-head p{font-size:12px;margin:5px 0 0;color:#e5eef8}.grt-etta-close{border:1px solid #ffffff80;border-radius:7px;color:#fff;background:transparent;padding:10px 12px;min-height:44px;font:inherit;cursor:pointer}
.grt-etta-log{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:90px;padding:18px 20px;background:#f4f1ec}.grt-etta-welcome{margin:0 0 18px;font-size:14px}.grt-etta-message{margin:12px 0;border-radius:12px;padding:12px 14px;font-size:14px;overflow-wrap:anywhere}.grt-etta-message strong{display:block;font-size:11px;letter-spacing:.04em;text-transform:uppercase}.grt-etta-message p{white-space:pre-wrap;margin:5px 0 0}.grt-etta-user{margin-left:30px;background:#e4f1fb}.grt-etta-assistant{margin-right:15px;background:#fff;border:1px solid #d6dfeb}.grt-etta-interrupted{border-color:#a66a21}
.grt-etta-status{font-size:12px;margin:0;padding:8px 20px;max-height:68px;overflow-y:auto;flex-shrink:0}.grt-etta-form{display:grid;grid-template-columns:1fr auto;gap:6px 10px;padding:0 20px 10px;flex-shrink:0}.grt-etta-form label{grid-column:1/-1;font-size:12px;font-weight:700}.grt-etta-form textarea{font:16px/1.4 Arial,sans-serif;resize:none;min-width:0;width:100%;border:1px solid #73849b;border-radius:8px;padding:10px;color:#110f36;background:#fff}.grt-etta-send{border:0;border-radius:8px;padding:10px 17px;font:700 14px Arial,sans-serif;background:#110f36;color:#fff;cursor:pointer}.grt-etta-send:disabled{opacity:.55;cursor:wait}.grt-etta-support{font-size:13px;margin:0 20px 8px;align-self:flex-start;text-decoration:underline;color:#110f36}.grt-etta-privacy{font-size:10px;line-height:1.4;margin:0;padding:0 20px 14px;color:#4f5d73;flex-shrink:0}
.grt-etta-dialog :focus-visible,.grt-etta-launcher:focus-visible{outline:3px solid #0082ca;outline-offset:3px}
@media(max-width:600px){.grt-etta-launcher{right:14px;bottom:max(14px,env(safe-area-inset-bottom));padding:12px 19px}.grt-etta-dialog{inset:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:14px}.grt-etta-head{padding:15px 16px}.grt-etta-log{padding:15px 16px}.grt-etta-form{padding:0 16px 8px}.grt-etta-privacy{padding-bottom:max(10px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.grt-etta-dialog,.grt-etta-log{scroll-behavior:auto}}

.grt-etta-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.grt-etta-email-help{font-size:10px;margin:0 20px 8px;color:#4f5d73}

.grt-etta-dialog [hidden]{display:none!important}
.grt-etta-contact{overflow-y:auto;flex:1;min-height:0;padding:18px 20px;color:#110f36}
.grt-etta-contact h3{margin:0 0 8px;font-size:19px}.grt-etta-contact p{font-size:13px;overflow-wrap:anywhere}
.grt-etta-contact-form{display:grid;gap:8px}.grt-etta-contact-form label{font-size:13px;font-weight:700}
.grt-etta-contact-form input:not([type=checkbox]),.grt-etta-contact-form textarea{width:100%;min-width:0;border:1px solid #73849b;border-radius:7px;padding:10px;font:16px/1.4 Arial,sans-serif;background:#fff;color:#110f36}
.grt-etta-contact-form textarea{resize:vertical}.grt-etta-context-choice{display:flex;gap:8px;align-items:center;margin-top:8px}
.grt-etta-contact-review{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.grt-etta-contact-review p{white-space:pre-wrap;flex-basis:100%;min-width:0}.grt-etta-contact-review button{margin:0}
button.grt-etta-support{border:0;background:transparent;font:inherit;text-align:left;cursor:pointer;padding:5px 0;min-height:44px}
.grt-etta-contact .grt-etta-support{margin:0}.grt-etta-contact-status{font-weight:600}

/* Adapted from existing MEHHQ ChatInterface/AskEttaFab, not a new approved design. */
.grt-etta-launcher,.grt-etta-dialog{font-family:Afacad,Arial,Helvetica,sans-serif;color:#676767}
.grt-etta-dialog{width:min(620px,calc(100vw - 40px))}
.grt-etta-launcher{display:inline-flex;align-items:center;gap:10px;padding:8px 8px 8px 16px;background:#fff;color:#1f2937;border:2px solid #0082ca;letter-spacing:.3px}
.grt-etta-launcher-avatar,.grt-etta-header-avatar,.grt-etta-welcome-avatar{display:block;object-fit:cover;border-radius:50%;flex-shrink:0;background:#fff}
.grt-etta-launcher-avatar{width:36px;height:36px}.grt-etta-header-avatar{width:44px;height:44px}
.grt-etta-head{padding:16px 24px;gap:12px}.grt-etta-heading{flex:1;min-width:0}.grt-etta-head h2{font:30px/1 'Bebas Neue','Arial Narrow',sans-serif;letter-spacing:1px;display:flex;align-items:center;gap:8px}.grt-etta-head p{font-size:13px;line-height:1.25;margin:6px 0 0}
.grt-etta-beta{font:700 10px/1.4 Afacad,Arial,sans-serif;letter-spacing:.6px;text-transform:uppercase;padding:2px 6px;border-radius:999px;background:#ffffff2e}
.grt-etta-head-actions{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0}.grt-etta-close{padding:6px 9px;font-size:13px}.grt-etta-new-chat{border:0;background:transparent;color:#fff;text-decoration:underline;min-height:28px;font:13px Afacad,Arial,sans-serif;cursor:pointer}
.grt-etta-log{padding:24px;color:#676767}.grt-etta-welcome{max-width:672px;margin:0 auto;text-align:center;padding:16px 0 24px}.grt-etta-welcome-avatar{width:120px;height:120px;margin:0 auto 16px}.grt-etta-welcome h3{font:36px/1.1 'Bebas Neue','Arial Narrow',sans-serif;letter-spacing:1px;color:#0082ca;margin:0 0 12px}.grt-etta-welcome p{font:18px/1.55 Afacad,Arial,sans-serif;margin:0}
.grt-etta-starters{display:flex;flex-wrap:wrap;gap:8px;padding:8px 24px;background:#f4f1ec;flex-shrink:0}.grt-etta-chip{background:#fff;border:1px solid #d6dfeb;border-radius:999px;padding:7px 12px;color:#676767;font:14px/1.2 Afacad,Arial,sans-serif;cursor:pointer;min-height:34px}.grt-etta-chip:hover{background:#e4f1fb}
.grt-etta-message{font:18px/1.5 Afacad,Arial,sans-serif;border-radius:16px;padding:10px 16px}.grt-etta-user{background:#006da8;color:#fff}.grt-etta-assistant{color:#1f2937}.grt-etta-message strong{font:700 11px/1.4 Afacad,Arial,sans-serif}
.grt-etta-form{border-top:1px solid #d6dfeb;padding:10px 24px;background:#fff;align-items:end}.grt-etta-form label{font-size:12px}.grt-etta-form textarea{font:18px/1.4 Afacad,Arial,sans-serif;border-radius:16px;border-color:#d6dfeb;padding:10px 16px}.grt-etta-send{border-radius:999px;background:#006da8;color:#fff;font:700 15px Afacad,Arial,sans-serif;min-height:44px}
.grt-etta-support{color:#005f94}.grt-etta-context-choice input{accent-color:#0082ca}.grt-etta-contact{color:#1f2937}.grt-etta-contact-form input:not([type=checkbox]),.grt-etta-contact-form textarea{font-family:Afacad,Arial,sans-serif}
@media(max-width:600px){.grt-etta-dialog{width:calc(100vw - 16px)}.grt-etta-launcher{padding:8px 8px 8px 16px}.grt-etta-head{padding:12px;gap:8px}.grt-etta-head h2{font-size:26px;gap:5px}.grt-etta-head p{font-size:12px}.grt-etta-log{padding:16px}.grt-etta-welcome{padding:8px 0 16px}.grt-etta-welcome p{font-size:16px}.grt-etta-starters{padding:8px 16px;gap:6px}.grt-etta-chip{font-size:13px;padding:7px 10px}.grt-etta-form{padding:8px 16px}.grt-etta-message{font-size:16px}}

/* Jon's actual transparent dog photograph, no circular clipping or background. */
.grt-etta-launcher-avatar,.grt-etta-header-avatar,.grt-etta-welcome-avatar{border-radius:0;background:transparent;object-fit:contain}
.grt-etta-launcher{position:fixed;min-height:52px;padding:10px 88px 10px 18px;overflow:visible}
.grt-etta-launcher-avatar{position:absolute;right:-8px;bottom:-5px;width:98px;height:98px;pointer-events:none}
.grt-etta-header-avatar{width:60px;height:52px}.grt-etta-welcome-avatar{width:180px;height:180px;margin:0 auto 8px}
@media(max-width:600px){.grt-etta-launcher{padding:10px 84px 10px 16px}.grt-etta-launcher-avatar{width:94px;height:94px}}

/* Authoritative November 3 reference, normalized to the existing 620px drawer. */
.grt-etta-dialog{inset:auto 14px 12px auto;height:min(538px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);width:min(620px,calc(100vw - 34px));border-radius:18px;overflow:visible;font:15px/1.5 Poppins,Arial,sans-serif;color:#120f36}
.grt-etta-head{position:relative;min-height:85px;height:85px;padding:16px 24px 16px 174px;gap:12px;border-radius:17px 17px 0 0;background:#120f36;overflow:visible}
.grt-etta-head .grt-etta-title{display:block;flex:1;min-width:0;margin:0;font:700 40px/1.2 Poppins,Arial,sans-serif;letter-spacing:0;color:#fff;white-space:nowrap}
.grt-etta-head-actions{flex-direction:row;align-items:center;gap:8px}.grt-etta-close{width:48px;min-height:44px;padding:0;border:1px solid #ffffff80;border-radius:7px;font:500 12px/1 Poppins,Arial,sans-serif}
.grt-etta-new-chat{min-width:76px;min-height:44px;padding:0 10px;border:1px solid #ffffff80;border-radius:7px;background:transparent;color:#fff;text-decoration:none;font:500 12px/1 Poppins,Arial,sans-serif}
.grt-etta-portrait{position:absolute;z-index:2;left:12px;top:-12px;width:150px;height:180px;pointer-events:none}
.grt-etta-portrait-circle{position:absolute;inset:auto 0 0;width:150px;height:150px;border:5px solid #fff;border-radius:50%;background:#0082ca}
.grt-etta-portrait-figure{position:absolute;inset:-8px 5px 5px;overflow:hidden;border-radius:0 0 70px 70px}
.grt-etta-portrait-dog{display:block;position:absolute;left:-4px;top:-2px;width:150px;height:200px;max-width:none;object-fit:cover;object-position:center top;background:transparent}
.grt-etta-log{padding:14px 24px 18px 174px;min-height:126px;background:#f3f1eb;color:#120f36}
.grt-etta-welcome{max-width:none;margin:0;padding:0;text-align:left}
.grt-etta-welcome p{margin:0;font:400 22px/30px Poppins,Arial,sans-serif;color:#120f36}.grt-etta-welcome strong{font-weight:700}
.grt-etta-starters{gap:8px;padding:8px 24px;background:#f3f1eb}.grt-etta-chip{min-height:34px;padding:7px 12px;border:1px solid #d6dfeb;border-radius:999px;background:#fff;color:#676767;font:400 14px/16px Afacad,Arial,sans-serif}
.grt-etta-status{background:#fff;font:12px/1.4 Poppins,Arial,sans-serif}.grt-etta-status:empty{height:16px;max-height:16px;padding:0;flex:none}
.grt-etta-form{gap:6px 10px;padding:12px 24px 10px;border-color:#d6dfeb;background:#fff}.grt-etta-form label{font:700 12px/15px Afacad,Arial,sans-serif;color:#676767}
.grt-etta-form textarea{min-height:46px;padding:10px 16px;border:1px solid #d6dfeb;border-radius:24px;font:400 18px/24px Afacad,Arial,sans-serif;color:#120f36}
.grt-etta-send{min-width:62px;min-height:44px;padding:10px 15px;border-radius:999px;background:#016da8;font:700 15px/20px Afacad,Arial,sans-serif}
.grt-etta-dialog>.grt-etta-support{margin:0 20px 8px;min-height:44px;font:400 15px/1.5 Afacad,Arial,sans-serif;color:#005f94}
.grt-etta-email-help{position:relative;top:-3px;margin:8px 20px 10px;font:400 10px/12px Afacad,Arial,sans-serif;color:#4f5d73}.grt-etta-privacy{position:relative;top:-3px;padding:0 20px 14px;border-radius:0 0 17px 17px;background:#fff;font:400 9px/10px Afacad,Arial,sans-serif;color:#4f5d73}
.grt-etta-dialog:has(.grt-etta-welcome[hidden]){height:min(760px,calc(100dvh - 28px))}
.grt-etta-dialog:has(.grt-etta-welcome[hidden]) .grt-etta-log{padding:90px 24px 24px}
.grt-etta-launcher{display:block;right:22px;bottom:max(44px,calc(env(safe-area-inset-bottom) + 44px));width:200px;min-width:200px;height:42px;min-height:42px;padding:0;border:0;border-radius:12px;background:transparent;color:#120f36;box-shadow:none;overflow:visible}
.grt-etta-launcher-label{display:block;position:relative;z-index:1;height:42px;margin-left:55px;padding:8px 16px 8px 33px;border-radius:0 12px 12px 0;background:#fff;font:700 24px/26px Poppins,Arial,sans-serif;letter-spacing:-.5px;white-space:nowrap}
.grt-etta-launcher-portrait{position:absolute;z-index:2;left:0;bottom:-22px;width:80px;height:96px;pointer-events:auto}
.grt-etta-launcher-circle{position:absolute;inset:auto 0 0;width:80px;height:80px;border:5px solid #fff;border-radius:50%;background:#0082ca}
.grt-etta-launcher-figure{position:absolute;inset:-2px 5px 5px;overflow:hidden;border-radius:0 0 35px 35px}
.grt-etta-launcher-dog{display:block;position:absolute;left:0;top:-2px;width:80px;height:106px;max-width:none;object-fit:cover;object-position:center top;background:transparent}
@media(max-width:600px){
 .grt-etta-dialog{inset:auto 8px 8px;width:calc(100vw - 16px);height:auto;max-height:calc(100dvh - 20px);border-radius:16px}
 .grt-etta-head{padding:12px 14px 12px 130px;min-height:78px;height:78px;border-radius:15px 15px 0 0;gap:8px}
 .grt-etta-head .grt-etta-title{font-size:clamp(20px,5.8vw,32px);line-height:1.05;white-space:normal}.grt-etta-close{width:36px;min-height:36px;font-size:10px}.grt-etta-head-actions{gap:6px}.grt-etta-new-chat{min-width:58px;min-height:36px;padding:0 6px;font-size:10px}
 .grt-etta-portrait{left:10px;top:-6px;width:112px;height:142px}.grt-etta-portrait-circle{width:112px;height:112px;border-width:4px}.grt-etta-portrait-figure{inset:-4px 4px 4px;border-radius:0 0 52px 52px}.grt-etta-portrait-dog{width:112px;height:155px}
 .grt-etta-log{flex:0 1 auto;padding:14px 16px 18px 130px;min-height:0}.grt-etta-welcome p{font-size:18px;line-height:25px}.grt-etta-starters{padding:8px 16px;gap:6px}.grt-etta-chip{font-size:12px;padding:7px 10px}
 .grt-etta-dialog:has(.grt-etta-welcome[hidden]){height:calc(100dvh - 20px)}.grt-etta-dialog:has(.grt-etta-welcome[hidden]) .grt-etta-log{flex:1;min-height:0;padding:80px 16px 16px}
 .grt-etta-form{padding:12px 16px 10px;gap:6px 8px}.grt-etta-form textarea{font-size:16px;padding:10px 12px}.grt-etta-send{min-width:58px;padding:10px 12px}
 .grt-etta-launcher{right:14px;bottom:max(36px,calc(env(safe-area-inset-bottom) + 36px));width:200px;min-width:200px;min-height:42px;height:42px;padding:0}.grt-etta-launcher-label{font-size:24px}
 .grt-etta-email-help{font-size:9px;line-height:13px}.grt-etta-privacy{font-size:8px;line-height:11px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
}

/* Jon's approved November 3 right-edge launcher reference. Drawer unchanged. */
.grt-etta-launcher{position:fixed;right:0;top:51%;bottom:auto;width:90px;min-width:90px;height:222px;min-height:222px;padding:0;border:1.5px solid #fff;border-right:0;border-radius:25px 0 0 25px;background:#1682c5;box-shadow:none;overflow:hidden;transform:none}
.grt-etta-launcher-label{position:absolute;left:0;right:0;top:0;height:auto;margin:0;padding:18px 11px 0 12px;border-radius:0;background:transparent;white-space:normal;font:900 23px/.93 Poppins,Arial,sans-serif;letter-spacing:-.7px;text-align:left;color:#120f36}
.grt-etta-launcher-help,.grt-etta-launcher-ask{display:block}.grt-etta-launcher-ask{margin-top:8px;color:#fff}
.grt-etta-launcher-portrait{left:0;bottom:0;width:90px;height:106px;pointer-events:none}.grt-etta-launcher-circle{display:none}.grt-etta-launcher-figure{inset:0;overflow:hidden;border-radius:0}.grt-etta-launcher-dog{left:-20px;top:auto;bottom:-10px;width:130px;height:124px;object-fit:cover;object-position:center top}
@media(max-width:600px){.grt-etta-launcher{right:0;top:45%;bottom:auto;width:80px;min-width:80px;height:204px;min-height:204px;border-radius:23px 0 0 23px}.grt-etta-launcher-label{font-size:21px;padding:16px 9px 0 10px}.grt-etta-launcher-portrait{width:80px;height:98px}.grt-etta-launcher-dog{left:-18px;width:116px;height:111px}}

/* Compact top treatment from Jon's second November 3 reference. */
.grt-etta-head{padding-left:130px}.grt-etta-portrait{left:20px;top:-12px;width:102px;height:120px}.grt-etta-portrait-circle{width:102px;height:102px;border-width:5px}.grt-etta-portrait-figure{inset:-5px 5px 5px;border-radius:0 0 46px 46px}.grt-etta-portrait-dog{left:-3px;top:-2px;width:102px;height:136px}.grt-etta-log{padding-left:130px;min-height:110px}.grt-etta-welcome p{font-size:18px;line-height:24px}.grt-etta-dialog:has(.grt-etta-welcome[hidden]) .grt-etta-log{padding-top:40px}
@media(max-width:600px){.grt-etta-head{padding-left:112px}.grt-etta-portrait{left:10px;top:-6px;width:94px;height:114px}.grt-etta-portrait-circle{width:94px;height:94px;border-width:4px}.grt-etta-portrait-figure{inset:-4px 4px 4px;border-radius:0 0 43px 43px}.grt-etta-portrait-dog{width:94px;height:126px}.grt-etta-log{padding-left:112px;min-height:0}.grt-etta-welcome p{font-size:17px;line-height:24px}.grt-etta-dialog:has(.grt-etta-welcome[hidden]) .grt-etta-log{padding-top:40px}}

.grt-etta-dialog:has(.grt-etta-contact:not([hidden])){height:min(760px,calc(100dvh - 28px))}.grt-etta-dialog:has(.grt-etta-contact:not([hidden])) .grt-etta-log:not([hidden]){flex:0 0 auto;max-height:220px;overflow:auto}
@media(max-width:600px){.grt-etta-dialog:has(.grt-etta-contact:not([hidden])){height:calc(100dvh - 20px)}}

.grt-etta-reset-confirm{display:flex;flex-wrap:wrap;gap:8px 12px;padding:12px 20px;background:#fff;border-bottom:1px solid #d6dfeb}.grt-etta-reset-confirm p{flex-basis:100%;margin:0;color:#120f36}.grt-etta-reset-confirm .grt-etta-support{margin:0;min-height:44px}

.grt-etta-message p strong{display:inline;font:inherit;font-weight:700;letter-spacing:normal;text-transform:none}.grt-etta-message p a{color:#005f94;text-decoration:underline;overflow-wrap:anywhere}

/* Expanded drawer shares the trigger's flush right viewport edge. */
.grt-etta-dialog{right:0;border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.grt-etta-head{border-top-right-radius:0}.grt-etta-privacy{border-bottom-right-radius:0}
@media(max-width:600px){.grt-etta-dialog{left:auto;right:0;width:calc(100vw - 8px);border-top-right-radius:0;border-bottom-right-radius:0}}

/* Jon: reduce the closed trigger by 25% on desktop and mobile. */
.grt-etta-launcher{transform:scale(.75);transform-origin:right center}

/* Readable privacy notice on desktop and mobile. */
.grt-etta-privacy{font:400 12px/17px Afacad,Arial,sans-serif;color:#344154;padding:4px 20px 14px}
@media(max-width:600px){.grt-etta-privacy{font-size:12px;line-height:17px;padding-bottom:max(12px,env(safe-area-inset-bottom))}}

/* Keep Etta visible above the contact form, with clearance for her portrait. */
.grt-etta-dialog:has(.grt-etta-log[hidden]) .grt-etta-contact{padding-top:34px}
@media(max-width:600px){.grt-etta-dialog:has(.grt-etta-log[hidden]) .grt-etta-contact{padding-top:42px}}

/* Message role treatment from Jon's supplied YOU/ETTA image. */
.grt-etta-message>strong{font:700 18px/1.3 Poppins,Arial,sans-serif;letter-spacing:0;text-transform:uppercase;margin-bottom:4px}.grt-etta-user>strong{color:#a5d6ee}.grt-etta-assistant>strong{color:#574c8a}.grt-etta-contact-action{margin-top:12px}

/* Three-dot request feedback; screen readers use the adjacent live status. */
.grt-etta-thinking{display:inline-flex;align-items:center;gap:5px;padding:8px 0;color:#574c8a}
.grt-etta-thinking>span{width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.35;animation:etta-thinking-dot 1.2s ease-in-out infinite}
.grt-etta-thinking>span:nth-child(2){animation-delay:.16s}.grt-etta-thinking>span:nth-child(3){animation-delay:.32s}
@keyframes etta-thinking-dot{0%,65%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.grt-etta-thinking>span{animation:none;opacity:.65}}
