#gp-shared-chat{padding:0;border:0;border-radius:18px;width:min(1120px,94vw);max-width:none;height:min(900px,92dvh);max-height:none;position:fixed;inset:0;margin:auto;overflow:hidden;background:#123348;color:white;box-shadow:0 20px 90px #0006}#gp-shared-chat[open]{display:flex;flex-direction:column}#gp-shared-chat::backdrop{background:#102c42a8}.gp-shared-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 36px;padding:0 12px;font:13px system-ui}.gp-shared-bar button{background:transparent;color:white;border:0;padding:7px 10px;min-height:32px;cursor:pointer;font:inherit}.gp-shared-bar button:focus-visible{outline:2px solid #f4d486}#gp-shared-frame{display:block;border:0;width:100%;flex:1;min-height:0;background:#fafaf8}@media(max-width:900px){#gp-shared-chat{top:var(--gp-top,0px);bottom:auto;margin:0;width:100%;height:var(--gp-vh,100dvh);border-radius:0}.gp-shared-bar{flex-basis:32px;font-size:12px}}

.gp-shared-loading{position:absolute;inset:36px 0 0;z-index:2;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:28px;text-align:center;background:#fafaf8;color:#123348;font:16px/1.5 system-ui}.gp-shared-loading[hidden],.gp-loading-recovery[hidden]{display:none}.gp-shared-loading img{border-radius:50%;border:2px solid #c6aa69;object-fit:cover}.gp-shared-loading strong{font-size:22px}.gp-shared-loading p{max-width:380px;margin:0}.gp-loading-dots{color:#b28d43;letter-spacing:5px;animation:gp-loading-pulse 1.2s ease-in-out infinite alternate}.gp-loading-recovery{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;align-items:center}.gp-loading-recovery button,.gp-loading-recovery a{font:inherit;min-height:44px;padding:10px 16px;border-radius:12px}.gp-loading-recovery button{background:#18475b;color:white;border:0;cursor:pointer}.gp-loading-recovery a{color:#18475b}.gp-shared-bar button{min-width:44px}@keyframes gp-loading-pulse{to{opacity:.25}}@media(prefers-reduced-motion:reduce){.gp-loading-dots{animation:none}}@media(max-width:900px){.gp-shared-loading{inset:32px 0 0;padding:20px}.gp-shared-loading strong{font-size:20px}}

/* Persistent return control outside the conversation: available in every phase. */
#gp-shared-chat .gp-shared-bar{box-sizing:border-box;flex:0 0 52px;min-height:52px;padding:4px 12px;position:relative;z-index:3}#gp-shared-chat .gp-shared-bar button{flex:none;min-height:44px;padding:8px 14px;border:1px solid #c6aa69;border-radius:9px;background:#f5e9cd;color:#123348;font:600 14px/1.2 system-ui;white-space:nowrap}#gp-shared-chat .gp-shared-bar button:hover{background:#fff4dc}#gp-shared-chat .gp-shared-bar button:focus-visible{outline:3px solid #fff;outline-offset:2px}#gp-shared-chat .gp-shared-loading{inset:52px 0 0}@media(max-width:480px){#gp-shared-chat .gp-shared-bar{padding:4px 8px}#gp-shared-chat .gp-shared-bar>span{font-size:11px;max-width:42%;text-align:right}}

/* Clear navigation remains outside the scrolling chat, even while loading. */
#gp-shared-chat .gp-shared-bar a{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;padding:8px 14px;border:1px solid #f5e9cd;border-radius:9px;color:#fff;background:#123348;font:600 14px/1.2 system-ui;text-decoration:none;white-space:nowrap}#gp-shared-chat .gp-shared-bar a:hover{background:#24516a}#gp-shared-chat .gp-shared-bar a:focus-visible{outline:3px solid #fff;outline-offset:2px}@media(max-width:600px){#gp-shared-chat .gp-shared-bar>span{display:none}#gp-shared-chat .gp-shared-bar button,#gp-shared-chat .gp-shared-bar a{font-size:13px;padding:8px 12px}}
