.pgpt-app{--pgpt-ink:#142b43;--pgpt-muted:#627487;--pgpt-border:#dce4ec;--pgpt-blue:#183b5b;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--pgpt-ink);font-size:15px;line-height:1.55;max-width:100%;isolation:isolate}.pgpt-app *{box-sizing:border-box}.pgpt-app [hidden]{display:none!important}.pgpt-panel{display:flex;flex-direction:column;background:#fff;border:1px solid var(--pgpt-border);border-radius:20px;overflow:hidden;height:min(740px,82vh);min-height:430px;box-shadow:0 12px 40px #142b4310}.pgpt-app header{display:flex;align-items:center;gap:12px;background:#142b43;color:white;padding:16px 20px;flex:none}.pgpt-logo{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff55;border-radius:12px;background:#ffffff12;font-family:Georgia,serif;font-size:27px;font-weight:bold;flex:none}.pgpt-app header div{flex:1;min-width:0}.pgpt-app header strong{display:block;font-size:18px;letter-spacing:-.3px}.pgpt-app header small{display:block;color:#cad7e5;font-size:11px}.pgpt-app button{cursor:pointer;font:inherit;text-transform:none;letter-spacing:normal;border:none;box-shadow:none;line-height:1.3}.pgpt-new,.pgpt-close{background:#ffffff12;color:white;border:1px solid #ffffff30!important;border-radius:9px;padding:8px 10px;font-size:12px!important}.pgpt-close{font-size:22px!important;padding:3px 10px}.pgpt-messages{flex:1;min-height:0;overflow:auto;padding:26px;display:flex;flex-direction:column;gap:20px;background:linear-gradient(180deg,#f8fafc,#fff 45%)}.pgpt-welcome{margin:auto;max-width:650px;text-align:center}.pgpt-welcome>span{display:inline-grid;place-items:center;background:#edf3f8;color:#183b5b;border-radius:16px;font-size:30px;width:60px;height:60px}.pgpt-welcome h2{color:var(--pgpt-ink);font-size:clamp(23px,3vw,34px);letter-spacing:-.8px;margin:16px 0 8px;font-weight:650;line-height:1.2}.pgpt-welcome p{color:var(--pgpt-muted);margin:0 0 22px;font-size:14px}.pgpt-suggestions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.pgpt-suggestions button{background:white;border:1px solid var(--pgpt-border);color:var(--pgpt-ink);border-radius:11px;padding:11px 14px;font-size:13px}.pgpt-suggestions button:hover{background:#edf3f8}.pgpt-message{max-width:87%;white-space:pre-wrap;overflow-wrap:anywhere}.pgpt-message small{display:block;color:var(--pgpt-muted);font-size:10px;letter-spacing:1px;margin-bottom:5px;font-weight:650}.pgpt-message>div{padding:13px 16px;border-radius:14px}.pgpt-user{align-self:flex-end}.pgpt-user small{text-align:right}.pgpt-user>div{background:#eaf0f6}.pgpt-assistant{align-self:flex-start}.pgpt-assistant>div{background:#fff;border:1px solid var(--pgpt-border)}.pgpt-notice>div{background:#fff5e9;color:#79501b}.pgpt-pending{opacity:.65}.pgpt-form{margin:0 16px 8px!important;display:flex;align-items:flex-end;gap:10px;padding:8px;border:1px solid #cfd9e4;border-radius:15px;background:white;flex:none}.pgpt-form textarea{min-height:45px!important;max-height:120px;resize:vertical;flex:1;width:100%;border:none!important;outline:none;box-shadow:none!important;background:transparent!important;color:var(--pgpt-ink)!important;font:inherit;padding:9px!important;margin:0!important}.pgpt-form button{width:42px;height:42px;flex:none;background:var(--pgpt-blue);color:white;border-radius:11px;font-size:24px;padding:0}.pgpt-form button:disabled{opacity:.45;cursor:wait}.pgpt-app footer{font-size:10px;color:var(--pgpt-muted);text-align:center;padding:5px 12px 12px;flex:none;background:white}.pgpt-app footer a{color:#183b5b;text-decoration:underline}.pgpt-floating{position:fixed;bottom:22px;right:22px;z-index:99990;width:min(420px,calc(100vw - 24px));display:flex;flex-direction:column;align-items:flex-end;gap:10px;pointer-events:none}.pgpt-floating>*{pointer-events:auto}.pgpt-launch{order:2;background:#142b43;color:white;border-radius:100px;padding:15px 20px;box-shadow:0 8px 30px #142b4330!important;font-weight:600!important}.pgpt-floating .pgpt-panel{width:100%;height:min(620px,calc(100dvh - 112px));min-height:0}.pgpt-floating .pgpt-messages{padding:18px}.pgpt-floating .pgpt-welcome h2{font-size:24px}.pgpt-app button:focus-visible,.pgpt-form:focus-within{outline:2px solid #6591b8;outline-offset:2px}@media(max-width:600px){.pgpt-floating{right:12px;bottom:12px}.pgpt-app header{padding:12px}.pgpt-messages{padding:15px}.pgpt-message{max-width:94%}.pgpt-new{font-size:11px!important}.pgpt-panel{border-radius:14px}}

.pgpt-app[hidden],.pgpt-app [hidden]{display:none!important}.pgpt-trigger{cursor:pointer;background:#173653;color:#fff;border:0;border-radius:8px;padding:12px 20px;font:inherit}.pgpt-floating{z-index:2147483000;bottom:85px;right:22px}.pgpt-floating .pgpt-panel{height:min(650px,calc(100dvh - 160px));background:#fff}.pgpt-app .pgpt-launch{background:#142b43;color:white}.pgpt-app .pgpt-new,.pgpt-app .pgpt-close{background:#ffffff12;color:white}.pgpt-app .pgpt-suggestions button{background:#fff;color:#142b43}.pgpt-app .pgpt-form button{background:#183b5b;color:white}.pgpt-app header,.pgpt-app footer{margin:0;position:static;width:auto}.pgpt-app .pgpt-form textarea{min-width:0}.pgpt-floating:has(.pgpt-panel[hidden]):has(.pgpt-launch[hidden]){display:none}@media(max-width:600px){.pgpt-floating{right:12px;bottom:75px}}
/* Keep popup controls independent of Elementor theme button styles. */
.pgpt-floating .pgpt-panel header{padding:12px!important;gap:8px!important;flex-wrap:nowrap!important}.pgpt-floating .pgpt-panel header strong{font-size:16px!important;white-space:nowrap;line-height:1.3!important}.pgpt-floating .pgpt-panel header small{font-size:10px!important;line-height:1.35!important}.pgpt-floating .pgpt-logo{width:34px;height:34px;font-size:22px}.pgpt-app .pgpt-panel header button.pgpt-new,.pgpt-app .pgpt-panel header button.pgpt-close{min-width:0!important;min-height:0!important;width:auto!important;height:32px!important;padding:5px 9px!important;flex:none!important;margin:0!important;white-space:nowrap!important;line-height:1!important}.pgpt-app .pgpt-panel header button.pgpt-close{width:32px!important;padding:0!important}.pgpt-floating .pgpt-form textarea{height:42px!important;min-height:42px!important;line-height:1.4!important}.pgpt-app .pgpt-form button{min-width:0!important;min-height:0!important;padding:0!important;margin:0!important}.pgpt-floating .pgpt-panel header div{min-width:0;flex:1}.pgpt-floating .pgpt-panel header small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
