/* refactored with chatGPT - 13 November 2026 09:27:06 GMT */
/* Reveal the launcher after its first position calculation. */
#gbAssistantLauncher:not(.gba-launcher-ready){visibility:hidden}
/* Scoped, modeless GBMaps helper. No editor or export styles are changed. */
/* Dictation stays within the existing question box. */
:is(#gbAssistant,#gbHelpAssistant) .gba-voice-input{position:relative;min-width:0}
:is(#gbAssistant,#gbHelpAssistant) .gba-voice-input :is(textarea,input){padding-right:58px}
:is(#gbAssistant,#gbHelpAssistant) button.gba-mic{position:absolute;right:7px;bottom:7px;display:grid;place-items:center;width:42px;height:42px;min-height:42px;padding:9px;border:1px solid #92a7a3;border-radius:7px;background:linear-gradient(130deg,#fff2cf,#edf4df 50%,#e8eaf8);color:#315f76;cursor:pointer;box-shadow:0 1px 3px #344c3320;touch-action:manipulation}
:is(#gbAssistant,#gbHelpAssistant) button.gba-mic:hover{border-color:#4b7892;background:linear-gradient(130deg,#ffe7af,#dfefdc,#dfe3fa)}
.gba-mic svg{width:23px;height:23px;fill:currentColor;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.gba-mic svg path{fill:none}
.gba-mic-stop{display:none;width:15px;height:15px;border-radius:2px;background:currentColor}
:is(#gbAssistant,#gbHelpAssistant) button.gba-mic[data-state="recording"]{color:#fff;border-color:#b65b43;background:linear-gradient(130deg,#dd9a47,#c35752 55%,#9871ad);box-shadow:0 0 0 3px #de96582b,0 0 13px #dd866752}
.gba-mic[data-state="recording"] svg{display:none}
.gba-mic[data-state="recording"] .gba-mic-stop{display:block}
:is(#gbAssistant,#gbHelpAssistant) .gba-voice-feedback{display:flex;align-items:center;gap:7px;margin:7px 0 0;min-width:0;font:12px/1.35 Arial,sans-serif;color:#40523e}
.gba-voice-feedback[hidden]{display:none!important}
.gba-voice-feedback>span[role="status"]{flex:1;min-width:0;overflow-wrap:anywhere}
:is(#gbAssistant,#gbHelpAssistant) .gba-voice-feedback button{flex:0 0 auto;min-height:32px;padding:3px 7px;border:1px solid #9cac90;border-radius:4px;background:#fffdf3;color:#44593b;font:12px Arial,sans-serif;cursor:pointer}
.gba-voice-feedback button[hidden]{display:none!important}
.gba-voice-meter{display:none;align-items:center;gap:2px;flex:0 0 14px;height:18px}
.gba-voice-meter i{width:3px;height:calc(3px + 15px * var(--gba-mic-level,0));border-radius:2px;background:#b56851;transition:height .15s;animation:gba-voice-level .65s ease-in-out infinite alternate}
.gba-voice-meter i:nth-child(2){animation-delay:-.25s}.gba-voice-meter i:nth-child(3){animation-delay:-.45s}
form:has(.gba-mic[data-state="recording"]) .gba-voice-meter{display:flex}
@keyframes gba-voice-level{to{transform:scaleY(.4)}}
@media(prefers-reduced-motion:reduce){.gba-voice-meter i{animation:none}}
#gbAssistant,#gbAssistantLauncher,#gbHelpAsk{box-sizing:border-box;font-family:Arial,sans-serif}
#gbAssistant[hidden],#gbAssistantLauncher[hidden]{display:none!important}
#gbAssistantLauncher{position:fixed;right:18px;bottom:32px;z-index:1100;display:flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid #586d38;border-bottom-width:3px;border-radius:5px;background:#fffdf3;color:#263823;font-size:15px;font-weight:bold;box-shadow:0 3px 12px #18251840;cursor:pointer}
#gbAssistantLauncher span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#7e9b3b;color:white;font-size:21px}
#gbAssistantLauncher:hover{background:#f0f5df;border-color:#3d641e}
#gbAssistant{position:fixed;right:18px;top:76px;width:418px;height:min(740px,calc(100dvh - 110px));min-height:320px;z-index:2000;display:flex;flex-direction:column;background:#fffdf5;color:#283126;border:2px solid #66744e;border-radius:6px;box-shadow:0 8px 34px #16291e66;font-size:15px;line-height:1.45;text-align:left;isolation:isolate;overflow-y:auto;overflow-x:hidden}
#gbAssistant *{box-sizing:border-box}
#gbAssistant button,#gbHelpAsk{font:inherit;cursor:pointer;text-transform:none;letter-spacing:normal;float:none;box-shadow:none;min-height:32px;white-space:normal}
#gbAssistant button{border:1px solid #a5ae97;border-radius:4px;background:#f6f7ef;color:#253627;padding:6px 10px;margin:0}
#gbAssistant button:hover{background:#e5edcf;border-color:#6e853e}
#gbAssistant button:disabled{opacity:.6;cursor:not-allowed}
:is(#gbAssistant,#gbHelpAssistant) button.gba-mic:disabled{cursor:not-allowed}
:is(#gbAssistant,#gbHelpAssistant) button.gba-mic[aria-busy="true"]{cursor:wait}
#gbAssistant :focus-visible,#gbAssistantLauncher:focus-visible,#gbHelpAsk:focus-visible{outline:3px solid #e6ac23;outline-offset:2px}
#gbAssistantHandle{display:flex;align-items:center;gap:10px;background:#5c6555;color:#fff;padding:13px 12px;flex-shrink:0;border-bottom:4px solid #87b448;cursor:move;touch-action:none;border-radius:3px 3px 0 0}
#gbAssistantHandle h2{color:white;background:none;border:none;margin:0;padding:0;font:bold 21px/1.15 Arial,sans-serif;text-shadow:none;box-shadow:none;min-height:0}
#gbAssistantHandle p{color:#eef3e5;margin:4px 0 0;font-size:13px}
#gbAssistant .gba-emblem{display:grid;place-items:center;background:#e6bc4e;color:#304224;border:2px solid #f6e4a6;border-radius:50%;width:38px;height:38px;flex:0 0 38px;font-size:32px}
#gbAssistant #gbAssistantClose{margin-left:auto;align-self:flex-start;background:transparent;color:white;border-color:#d6dccf;min-width:30px;height:30px;min-height:30px;padding:0;font-size:25px;line-height:26px}
#gbAssistant #gbAssistantClose:hover{background:#9d3a30}
#gbAssistant .gba-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;border-bottom:1px solid #d9ddca;background:#eef1e5;font-size:12px;flex-shrink:0}
#gbAssistant #gbAssistantClear{padding:2px 6px;min-height:26px;border:0;background:none;text-decoration:underline;font-size:12px}
#gbAssistantMessages{overflow:auto;overscroll-behavior:contain;flex:1;min-height:60px;padding:16px;scrollbar-gutter:stable}
#gbAssistant p{margin:0 0 10px}
#gbAssistant .gba-welcome h3{margin:0 0 7px;font-size:18px;color:#354624}
#gbAssistant .gba-prompts{display:grid;gap:7px;margin-top:15px}
#gbAssistant .gba-prompts button{text-align:left;border-left:3px solid #839b46;padding:9px 10px;background:#f8faef;font-size:14px}
#gbAssistant .gba-message{margin:0 0 16px;overflow-wrap:anywhere}
#gbAssistant .gba-question{margin-left:24px;padding:10px 12px;border-radius:5px;background:#e6eff6;border:1px solid #cad9e4;color:#263e51;white-space:pre-wrap}
#gbAssistant .gba-label{display:block;margin-bottom:6px;color:#546637;font-size:12px;font-weight:bold}
#gbAssistant .gba-answer>p{white-space:pre-wrap}
#gbAssistant .gba-answer ol{list-style:decimal;padding-left:23px;margin:10px 0}
#gbAssistant .gba-answer li{padding-left:3px;margin:0 0 12px}
#gbAssistant .gba-show{display:block;margin-top:6px;background:#5576a5;color:#fff;border-color:#426389;font-size:13px;font-weight:bold}
#gbAssistant .gba-show:hover{background:#345b8c;color:#fff}
#gbAssistant .gba-sources{display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #dedfce;padding-top:10px;margin-top:12px}
#gbAssistant .gba-sources button{font-size:13px;text-align:left;background:#f8f6e9;color:#485c30;padding:6px 8px}
#gbAssistant .gba-result{border:1px solid #d8dccb;border-left:3px solid #94a866;padding:10px;margin:8px 0;background:#fff}
#gbAssistant .gba-result h4{font-size:15px;margin:0 0 7px;color:#405633}
#gbAssistant .gba-result p{font-size:14px;white-space:pre-line}
#gbAssistant .gba-result button{font-size:13px;margin:4px 5px 0 0}
#gbAssistant a.gba-street-link{padding:11px 12px;border:1px solid #426389;border-radius:4px;text-decoration:none;line-height:1.4;min-height:44px;box-sizing:border-box}
#gbAssistant a.gba-street-link:focus-visible{outline:3px solid #d5ad30;outline-offset:3px}
#gbAssistant .gba-street-note{font-size:12px;color:#566149}
#gbAssistant .gba-street-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
#gbAssistant .gba-street-type{font-size:13px;color:#566149}
#gbAssistant .gba-street-vm{display:inline-block;font-style:italic;font-size:13px;color:#496f9b}
#gbAssistant a.gba-street-vm{padding:12px 5px;min-height:44px;box-sizing:border-box}
#gbAssistant .gba-street-attribution{font-size:11px;color:#566149;margin:6px 0}
#gbAssistantNotice{padding:0 14px;font-size:13px;color:#5b4722;flex-shrink:0}
#gbAssistantNotice:not(:empty){padding-top:8px;padding-bottom:8px;border-top:1px solid #e2dcc4;background:#fff4cd}
#gbAssistantForm{min-width:0;border-bottom:1px solid #cbd4b8;padding:12px 14px 9px;background:#f2f5e5;flex-shrink:0}
#gbAssistantForm>label{text-align:left;display:block;font-size:18px;line-height:1.25;font-weight:bold;color:#354624;margin-bottom:6px}
#gbAssistant .gba-question-guidance{font-size:14px;line-height:1.4;margin:0 0 9px;color:#354624}
#gbAssistant .gba-question-tips{font-size:12px;line-height:1.4;margin:7px 0 0;color:#53604b}
/* Keep the first-question guidance prominent, then give replies more room. */
#gbAssistant:has(.gba-question) .gba-question-guidance,#gbAssistant:has(.gba-question) .gba-question-tips{display:none}
#gbAssistantQuestion{display:block;width:100%;height:86px;min-height:70px;max-height:150px;resize:vertical;border:2px solid #839b46;border-radius:4px;background:#fff;color:#24322a;padding:9px 10px;font:15px/1.4 Arial,sans-serif;margin:0;box-shadow:none}
#gbAssistantQuestion{height:132px;min-height:112px;max-height:180px}
#gbAssistantQuestion::placeholder{color:#687166;opacity:1}
#gbAssistantMessages:empty{display:none}
#gbAssistant:not(:has(.gba-message)){height:auto;bottom:auto;min-height:0;max-height:calc(100dvh - 110px)}
#gbAssistantQuestionHint{display:flex;align-items:flex-start;gap:7px;margin-top:8px;padding:8px 9px;background:#fff8df;border:1px solid #d7c78f;border-left:3px solid #b99035;border-radius:4px;color:#51452d;font-size:12px;line-height:1.4}
#gbAssistantQuestionHint[hidden]{display:none!important}
#gbAssistantQuestionHint>div{min-width:0;flex:1}
#gbAssistantQuestionHint strong{display:block;margin-bottom:3px;font-size:13px}
#gbAssistant #gbAssistantQuestionHint p{margin:0;overflow-wrap:anywhere}
#gbAssistant #gbAssistantQuestionHintClose{flex:0 0 24px;min-width:24px;min-height:24px;padding:0;border:0;background:transparent;color:#655235;font-size:21px;line-height:24px}
#gbAssistant #gbAssistantQuestionHintClose:hover{background:#f0e6c5}
#gbAssistant .gba-send-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
#gbAssistant .gba-context-choice{display:flex;align-items:center;gap:5px;font-size:12px;cursor:pointer}
#gbAssistantContext{appearance:auto;position:static;width:16px;height:16px;margin:0;accent-color:#64883f}
#gbAssistant #gbAssistantSend{background:#779638;border-color:#5f7d2d;border-bottom-width:3px;color:white;min-width:88px;font-weight:bold}
#gbAssistant #gbAssistantSend:hover{background:#61812a}
#gbAssistantPrivacy{font-size:12px;margin-top:7px;color:#53604b;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#gbAssistantPrivacy summary{cursor:pointer;text-decoration:underline}
#gbAssistantPrivacy[open]{max-height:160px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
#gbAssistantPrivacy p{margin-top:7px}
#gbAssistantContextPreview{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%;min-width:0;font:11px/1.4 monospace;margin:7px 0}
#gbAssistant .gba-footer{display:flex;justify-content:space-between;padding:7px 12px;gap:8px;border-top:1px solid #e1e2d5;background:#fffdf5;flex-shrink:0}
#gbAssistant .gba-footer button{padding:0;min-height:25px;border:0;background:none;text-decoration:underline;font-size:12px;color:#3e628e}
#gbHelpDialog.gba-help-tools{padding-top:44px;background:#eff2e4}
#gbHelpDialog.gba-help-tools .gb-help-loading{top:60px}
#gbHelpAsk{position:absolute;z-index:4;top:7px;left:12px;right:auto;padding:5px 10px;background:#fffbe9;border:1px solid #6b8049;border-radius:4px;color:#32442d;font-size:13px;font-weight:bold}
#gbHelpAsk:hover{background:#e9f1d4}
.gba-highlight{outline:4px solid #e6a92d!important;outline-offset:4px!important;box-shadow:0 0 0 8px #ffdc7166!important;animation:gba-pulse 1s ease-in-out 3}
@keyframes gba-pulse{50%{outline-color:#578f32}}
@media(prefers-reduced-motion:reduce){.gba-highlight{animation:none}}
@media(max-width:680px){#gbAssistant{inset:62px 10px 38px;width:auto;height:auto;min-height:240px}#gbAssistantHandle{cursor:default;padding:10px}#gbAssistantHandle h2{font-size:18px}#gbAssistantMessages{padding:12px}#gbAssistantLauncher{right:10px;bottom:26px;padding:7px 10px;font-size:13px}#gbAssistantPrivacy[open]{max-height:105px}}
@media(max-height:580px){#gbAssistant{top:8px;bottom:8px;height:auto;min-height:0}#gbAssistantMessages{flex:1 0 150px}#gbAssistantHandle{padding:7px}#gbAssistantPrivacy[open]{max-height:60px}}
/* Follow the page-format controls and fit the conversation above navigation. */
#gbAssistant.gba-panel-anchored{top:var(--gba-panel-top);right:var(--gba-panel-right);bottom:auto;height:min(740px,var(--gba-panel-space));max-height:var(--gba-panel-space);min-height:0}
#gbAssistant.gba-panel-anchored:not(:has(.gba-message)){height:auto;max-height:var(--gba-panel-space)}
/* Give the open helper room on phones; restore the floating purchase card on close. */
@media(max-width:680px){body.gba-assistant-open #unlockControls.unlock-panel-floating{display:none!important}}
@media print{#gbAssistant,#gbAssistantLauncher,#gbHelpAsk{display:none!important}.gba-highlight{outline:none!important;box-shadow:none!important}}

/* A job uses the same blue, cream and green as the mapping controls. */
#gbAssistant .gba-plan{margin:14px 0 8px;padding:13px;background:#f5f7ed;border:1px solid #b5c69b;border-left:4px solid #7d993d;border-radius:5px;}
#gbAssistant .gba-plan h4{margin:0 0 8px;color:#354528;font-size:16px;}
#gbAssistant .gba-plan ul{padding-left:20px;margin:6px 0 12px;font-size:13px;line-height:1.5;}
#gbAssistant .gba-job-status{font-size:13px;color:#41513a;white-space:pre-wrap;}
#gbAssistant .gba-apply{background:#78943a;color:white;border:1px solid #60792b;box-shadow:0 2px 0 #536b28;border-radius:4px;padding:10px 14px;font-weight:bold;font-size:14px;}
#gbAssistant .gba-apply:hover{background:#647f2e;}#gbAssistant .gba-apply:disabled{opacity:.7;cursor:default;box-shadow:none;}
#gbAssistant .gba-undo{margin-left:8px;padding:9px 10px;background:#edf2f8;border:1px solid #7b94b3;color:#294c76;border-radius:4px;}
#gbAssistant .gba-undo[hidden]{display:none;}

/* R24: compact allowances, visible recording notice and answer feedback. */
#gbAssistant .gba-toolbar{align-items:flex-start;gap:8px}
#gbAssistant #gbAssistantMode{font-size:12px;line-height:1.4}
#gbAssistant .gba-recording{margin:0;padding:7px 12px;background:#edf3e4;border-top:1px solid #d3dec6;font-size:11px;line-height:1.35;color:#435739;flex-shrink:0}
#gbAssistant .gba-recording button{display:inline;border:0;padding:0;background:none;min-height:0;color:#2d6093;text-decoration:underline;font-size:11px}
#gbAssistant .gba-feedback{display:flex;flex-wrap:wrap;align-items:center;gap:6px;border-top:1px solid #dce2d3;margin-top:12px;padding-top:8px;font-size:12px}
#gbAssistant .gba-feedback span{flex-basis:100%;color:#526349}
#gbAssistant .gba-rating{font-size:12px;padding:3px 8px;min-height:28px}
#gbAssistant .gba-rating[aria-pressed=true]{background:#e1edcf;border-color:#678935;font-weight:bold}
#gbAssistant .gba-signin{background:#5578a8;color:white}

#gbAssistant #gbAssistantClear{white-space:nowrap;flex-shrink:0}

/* A soft travelling edge, not a flashing notification or microphone indicator. */
@property --gba-halo-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
@keyframes gba-halo-orbit{to{--gba-halo-angle:-360deg}}
@keyframes gba-halo-sweep{from{background-position:0% 50%}to{background-position:100% 50%}}
/* Opposing rotations move the star round a circle while keeping it upright. */
@keyframes gba-star-orbit{
  0%{transform:rotate(0deg) translateX(0) rotate(0deg)}
  12%{transform:rotate(0deg) translateX(3px) rotate(0deg)}
  88%{transform:rotate(-360deg) translateX(3px) rotate(360deg)}
  100%{transform:rotate(-360deg) translateX(0) rotate(360deg)}
}
@keyframes gba-star-drift{
  0%,100%{transform:translate(-1px,1px)}
  30%{transform:translate(2px,-1.5px)}
  65%{transform:translate(-1.5px,-2px)}
  82%{transform:translate(1px,1.5px)}
}
@keyframes gba-emblem-breathe{
  0%,100%{transform:scale(1);box-shadow:0 0 0 3px #eab26720,0 0 10px #d876c047}
  50%{transform:scale(1.055);box-shadow:0 0 0 5px #eab2670d,0 0 19px #bb80ec80}
}
#gbAssistantLauncher{
  --gba-halo-angle:0deg;isolation:isolate;overflow:visible;
  gap:10px;padding:11px 16px;border:3px solid transparent;border-radius:9px;
  background:linear-gradient(120deg,#fffef6,#f9faef) padding-box,
    conic-gradient(from var(--gba-halo-angle),#ecc66c,#ec9d88,#c580d1,#8ba6e5,#81cbb6,#ecc66c) border-box;
  box-shadow:0 3px 9px #263d3633;animation:gba-halo-orbit 5s linear infinite;
}
#gbAssistantLauncher::before{
  content:"";position:absolute;inset:-5px;border-radius:13px;z-index:-1;pointer-events:none;
  background:conic-gradient(from var(--gba-halo-angle),#ecc66c,#ec9d88,#c580d1,#8ba6e5,#81cbb6,#ecc66c);
  filter:blur(7px);opacity:.42;animation:gba-halo-orbit 5s linear infinite;
}
#gbAssistantLauncher.gba-launcher-anchored{right:auto;bottom:auto}
#gbAssistantLauncher::after,#gbAssistantHandle::before{
  content:"";position:absolute;inset:0;border-radius:6px;z-index:-1;pointer-events:none;
  background:linear-gradient(105deg,transparent 25%,#88cfbc18 37%,#f9dfa75c 47%,#deb0da38 56%,transparent 69%);
  background-size:280% 100%;animation:gba-halo-sweep 1.8s ease-in-out infinite alternate;
}
#gbAssistantLauncher:hover{
  border-color:transparent;color:#233e2a;
  background:linear-gradient(120deg,#fffef9,#f1f7e3) padding-box,
    conic-gradient(from var(--gba-halo-angle),#ecc66c,#ec9d88,#c580d1,#8ba6e5,#81cbb6,#ecc66c) border-box;
  box-shadow:0 4px 13px #263d3640;
}
#gbAssistantLauncher span,#gbAssistant .gba-emblem{
  color:#fffef7;background:radial-gradient(circle at 27% 20%,#ffe9a0 0%,#f7b568 22%,#dd7eab 55%,#9466c0 100%);
  border:1px solid #fff6cb99;text-shadow:0 1px 3px #62356755;
  animation:gba-emblem-breathe 3.2s ease-in-out infinite;
}
#gbAssistantLauncher span{width:29px;height:29px;flex:0 0 29px;font-size:23px}
#gbAssistantLauncher .gba-star,#gbAssistant .gba-star{display:block;font-style:normal;line-height:1;transform-origin:center}
#gbAssistantLauncher .gba-star{font-size:20px}
#gbAssistantLauncher:is(:hover,:focus-visible) .gba-star{animation:gba-star-orbit .85s ease-in-out 1}
#gbAssistant{
  --gba-halo-angle:0deg;border:4px solid transparent;border-radius:9px;
  background:linear-gradient(#fffdf5,#fffdf5) padding-box,
    conic-gradient(from var(--gba-halo-angle),#ecc66c,#ec9d88,#c580d1,#8ba6e5,#81cbb6,#ecc66c) border-box;
  animation:gba-halo-orbit 5s linear infinite;
  box-shadow:0 9px 30px #16291e50,0 0 14px #c594cf24;
}
#gbAssistant #gbAssistantHandle{
  position:relative;isolation:isolate;overflow:hidden;color:#263823;
  background:linear-gradient(110deg,#fff2ce,#f1f5e6 36%,#eee0ef 72%,#e4f2ec);
  border-bottom:1px solid #c8d1b6;
}
#gbAssistantHandle h2{color:#263823}
#gbAssistantHandle p{color:#4e5e45}
#gbAssistant #gbAssistantClose{color:#43533c;border-color:#929d85;background:#fffdf566}
#gbAssistant #gbAssistantClose:hover{color:#fff;background:#9d3a30;border-color:#9d3a30}
#gbAssistant .gba-emblem{width:40px;height:40px;flex-basis:40px;font-size:29px;animation:none;box-shadow:0 0 10px #d876c033}
#gbAssistant .gba-star{animation:gba-star-drift 8s ease-in-out infinite}
#gbAssistant .gba-prompts{margin-top:10px}
#gbAssistant .gba-footer{align-items:center;flex-wrap:wrap}
#gbAssistant .gba-footer a{font:12px Arial,sans-serif;color:#3e628e;text-decoration:underline;min-height:25px;display:inline-flex;align-items:center}
#gbAssistant .gba-footer a:hover{color:#254b76}
@media(max-width:680px){#gbAssistantLauncher{padding:8px 12px;gap:8px}#gbAssistantLauncher span{width:26px;height:26px;flex-basis:26px;font-size:21px}}
@media(prefers-reduced-motion:reduce){
  #gbAssistantLauncher,#gbAssistantLauncher::before,#gbAssistantLauncher::after,#gbAssistantLauncher span,
  #gbAssistantLauncher:is(:hover,:focus-visible) .gba-star,#gbAssistant,#gbAssistantHandle::before,#gbAssistant .gba-emblem,#gbAssistant .gba-star{animation:none;transform:none}
}

/* Only visible during a real pending answer or editor job. */
#gbAssistantWorking{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:28px;pointer-events:none;background:radial-gradient(ellipse at center,#fffdf5fc 10%,#fffdf5ed 45%,#fffdf5ba 100%);color:#34452e;text-align:center;border-radius:5px}
#gbAssistantWorking[hidden]{display:none!important}
#gbAssistantWorkingText{max-width:100%;font:bold 19px/1.35 Arial,sans-serif;text-shadow:0 0 16px #fff}
#gbAssistant .gba-working-orbit{position:relative;display:grid;place-items:center;flex:0 0 112px;width:112px;height:112px;--gba-working-colours:conic-gradient(#f9cd5b,#f6987c,#ce75d8,#719eef,#68dbc2,#f9cd5b)}
#gbAssistant .gba-working-ring,#gbAssistant .gba-working-orbit::before{position:absolute;inset:0;border-radius:50%;background:var(--gba-working-colours);mask:radial-gradient(farthest-side,transparent calc(100% - 14px),#000 calc(100% - 13px));animation:gba-working-spin 1.05s linear infinite}
#gbAssistant .gba-working-orbit::before{content:"";inset:-5px;mask:none;filter:blur(15px);opacity:.45}
#gbAssistant .gba-working-spark{font:42px/1 Arial,sans-serif;color:#b267bd;text-shadow:0 0 15px #e8adf4,0 0 25px #f6c665;animation:gba-working-breathe 1.4s ease-in-out infinite}
#gbAssistant.gba-is-working #gbAssistantHandle{z-index:5}
@keyframes gba-working-spin{to{transform:rotate(-360deg)}}
@keyframes gba-working-breathe{50%{transform:scale(1.12);color:#698ccc}}
@media(max-height:580px){#gbAssistant:not(:has(.gba-message)){max-height:calc(100dvh - 16px)}}
@media(prefers-reduced-motion:reduce){#gbAssistant .gba-working-ring,#gbAssistant .gba-working-orbit::before,#gbAssistant .gba-working-spark{animation:none;transform:none}}

/* Once a conversation has started, leave room for its result and Undo. */
#gbAssistant:has(.gba-question) #gbAssistantQuestion{height:86px;min-height:70px}

/* Clarification choices lead directly into the existing validated map editor. */
#gbAssistant .gba-choices{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#gbAssistant button.gba-choice{background:#81983d;color:#fff;border-color:#647a2e;font-weight:bold;padding:9px 12px;line-height:1.35;text-align:left;min-height:42px;max-width:100%}
#gbAssistant button.gba-choice:hover{background:#657d2f}
