.gpt-entry-header{position:fixed;top:var(--safe-top,0px);left:0;right:0;height:80px;z-index:35;gap:8px;padding-left:12px;padding-right:148px}.gpt-entry-header+main{padding-top:80px}.gpt-entry-header .brand{min-width:0;flex:1}.gpt-entry-header .brand img{flex:none}.gpt-entry-header .brand>span{min-width:0}.gpt-entry-header .brand b{letter-spacing:0;white-space:nowrap}.gpt-entry-header .brand small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:520px){.gpt-entry-header{padding-right:124px}.gpt-entry-header .brand img,.gpt-entry-header .brand small{display:none}}
.gpt-launcher{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;height:44px;flex:0 0 auto;padding:0 9px;border:1px solid #dce3e6;border-radius:6px;background:#fff;color:#000;cursor:pointer}.gpt-launcher img{display:block;flex:none;width:22px;height:22px}.gpt-launcher span{font-size:.7rem;line-height:1.2;font-weight:600;letter-spacing:0;white-space:nowrap}.gpt-launcher:hover{background:#f1f5f5}.gpt-launcher:focus-visible{outline:2px solid #168273;outline-offset:2px}
@media(max-width:380px){.gpt-entry-header{gap:6px}.gpt-entry-header .brand-ai{display:none}.gpt-launcher{padding:0 6px;gap:6px}}
html.gpt-open,html.gpt-open body{overflow:hidden}
.gpt-allowance{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 12px;flex:none;padding:7px 16px;border-bottom:1px solid #e9edf0;background:#f8faf9;font-size:.7rem;line-height:1.5;overflow-wrap:anywhere}.gpt-allowance small{font-size:.62rem;color:#64736f}.gpt-allowance[data-blocked=true]{color:#a03736;background:#fff7f6}.gpt-allowance button{border:1px solid #cdded6;border-radius:4px;background:white;color:#137256;padding:6px 12px;font-size:inherit;min-height:36px}
.gpt-chat{box-sizing:border-box;display:none;position:fixed;inset:var(--gpt-top,0) 0 auto auto;width:min(560px,100%);max-width:100%;height:var(--gpt-height,100dvh);max-height:var(--gpt-height,100dvh);margin:0;border:0;border-left:1px solid #dce2e8;border-radius:0;padding:0;background:#fff;color:#202b34;letter-spacing:0;box-shadow:-12px 0 48px #12203326;font-size:1rem;overflow:hidden}
.gpt-chat[open]{display:flex;flex-direction:column}.gpt-chat::backdrop{background:#111a2455}
.gpt-chat *{box-sizing:border-box;min-width:0;letter-spacing:0}.gpt-chat [hidden]{display:none!important}
.gpt-head{display:flex;position:relative;top:auto;height:auto;min-height:64px;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;border-bottom:1px solid #e9edf0;flex:none;background:#fff}.gpt-heading{display:flex;flex:1;flex-direction:column;gap:3px;overflow-wrap:anywhere}.gpt-heading strong{font-size:1rem;line-height:1.35}.gpt-head-tools,.gpt-input-tools,.gpt-answer-tools{display:flex;gap:4px;flex:none}
.gpt-heading .gpt-product-title{display:flex;align-items:center;gap:8px;font-size:.95rem;font-weight:600;color:#000;white-space:nowrap;overflow-wrap:normal}.gpt-product-title img{display:block;flex:0 0 24px;width:24px;height:24px;object-fit:contain}.gpt-provider-row{display:flex;align-items:center;gap:7px;width:100%;min-width:0}.gpt-provider-row .gpt-model-picker{min-width:0;max-width:180px;width:100%;height:24px;border:0;background:transparent;color:#586874;font-size:.69rem;font-weight:600;padding:0 15px 0 0;text-overflow:ellipsis}.gpt-provider-row a{flex:none;color:#1371a6;font-size:.62rem;white-space:nowrap}
.gpt-chat button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}.gpt-chat button:disabled{cursor:default;opacity:.4}.gpt-chat button:focus-visible,.gpt-chat a:focus-visible,.gpt-chat select:focus-visible{outline:2px solid #168273;outline-offset:2px}
.gpt-tool{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border:0;background:transparent;color:#5d6872;border-radius:6px;padding:0}.gpt-tool:hover{background:#f0f3f5}.gpt-tool[aria-pressed=true]{background:#e7f5ef;color:#087b5e}.gpt-chat svg{flex:none;width:20px;height:20px}
.gpt-history-toggle{min-height:44px;padding:0 6px;border:0;background:transparent;color:#52636c;font-size:.72rem!important;font-weight:600!important;white-space:nowrap}.gpt-history{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;background:#fff}.gpt-history[hidden]{display:none}.gpt-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:12px 16px;border-bottom:1px solid #e9edf0}.gpt-history-head strong{font-size:1rem}.gpt-history-close{min-height:44px;padding:0 10px;border:0;background:transparent;color:#137256;font-size:.78rem!important}.gpt-history-list{flex:1;overflow:auto;padding:0 16px;overscroll-behavior:contain}.gpt-history-item{display:flex;align-items:center;gap:4px;min-height:70px;border-bottom:1px solid #e9edf0}.gpt-history-open{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:4px;min-height:60px;padding:9px 5px;border:0;background:transparent;text-align:left}.gpt-history-open strong{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}.gpt-history-open small{font-size:.66rem;color:#687782}.gpt-history-action{flex:none;min-height:44px;padding:0 5px;border:0;background:transparent;color:#52636c;font-size:.68rem!important}.gpt-history-delete{color:#a63d41}
.gpt-messages{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:20px 18px;display:flex;flex-direction:column;gap:24px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.gpt-user-turn{max-width:90%;align-self:flex-end;padding:10px 14px;border-radius:8px;background:#f0f3f5;overflow-wrap:anywhere}.gpt-user-turn p{margin:0;white-space:pre-wrap;line-height:1.55;font-size:.9rem}.gpt-reask{float:right;width:32px;height:30px;margin:4px -8px -7px 0}.gpt-reask svg{width:15px;height:15px}
.gpt-answer{width:100%;min-width:0;font-size:.95rem;line-height:1.65;overflow-wrap:anywhere}.gpt-answer-body>*:first-child{margin-top:0}.gpt-answer-body p{font:inherit;margin:.7em 0}.gpt-answer-body h1,.gpt-answer-body h2,.gpt-answer-body h3,.gpt-answer-body h4,.gpt-answer-body h5,.gpt-answer-body h6{font-size:1.08em;line-height:1.45;margin:1em 0 .5em}.gpt-answer-body ul,.gpt-answer-body ol{padding-left:1.35em}.gpt-answer-body code{font-size:.88em;background:#f1f3f5;padding:2px 4px;border-radius:3px}.gpt-answer-body pre{display:block;width:100%;overflow:auto;white-space:pre;padding:12px;background:#f4f6f8;border:1px solid #e2e7eb;border-radius:6px;line-height:1.5}.gpt-answer-body pre code{padding:0;background:none}.gpt-table-scroll{width:100%;overflow:auto;margin:12px 0}.gpt-answer-body table{border-collapse:collapse;font-size:.88em;min-width:100%}.gpt-answer-body th,.gpt-answer-body td{padding:8px 10px;border:1px solid #dce3e8;text-align:left;white-space:normal}.gpt-answer-body th{background:#f3f6f7}.gpt-answer-body a,.gpt-sources a{color:#1371a6;text-decoration:underline}.gpt-answer-body blockquote{margin:1em 0;padding-left:14px;border-left:3px solid #c8d5dc;color:#586771}.gpt-answer-tools{margin:5px 0}.gpt-sources{display:flex;flex-direction:column;gap:6px;font-size:.75rem;margin-top:10px;overflow-wrap:anywhere}
.gpt-status{flex:none;font-size:.7rem;color:#667580;margin:0;padding:6px 16px;max-height:3.5em;overflow:auto}.gpt-error{color:#ba3a42;font-size:.8rem}.gpt-retry{display:inline-flex;align-items:center;gap:6px;color:#485761;background:#f2f5f7;border:1px solid #dbe2e7;border-radius:6px;padding:7px 10px;font-size:.8rem!important}
.gpt-composer{flex:none;border-top:1px solid #e5e9ed;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;max-height:55%;overflow-y:auto}.gpt-composer textarea{display:block;resize:none;width:100%;max-height:110px;min-height:44px;min-width:0;border:0;background:#fff;color:#202b34;padding:10px 8px;font:inherit;font-size:max(16px,.95rem);line-height:1.5;outline:none}.gpt-composer-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:3px}.gpt-send{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:0;border-radius:50%;background:#20313d;color:white;padding:0}.gpt-attachments{display:flex;gap:8px;overflow-x:auto;padding:4px 4px 8px}.gpt-thumbnail{position:relative;flex:0 0 68px;width:68px;height:68px}.gpt-thumbnail img{display:block;width:68px;height:68px;object-fit:cover;border:1px solid #d6dfe4;border-radius:6px}.gpt-thumbnail button{position:absolute;right:-3px;top:-3px;width:26px;height:26px;background:#25353f;color:white;border:1px solid #fff;border-radius:50%;display:grid;place-items:center;padding:0}.gpt-thumbnail button svg{width:16px;height:16px}.gpt-sent-images{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.gpt-sent-images img{max-width:100%;width:110px;height:100px;object-fit:contain;border-radius:4px;background:#fff}
@media(max-width:760px){.gpt-chat{width:100%;top:var(--gpt-top,0);bottom:auto;height:var(--gpt-height,100dvh);border-radius:0;border:0}.gpt-head,.gpt-history-head{padding:calc(10px + env(safe-area-inset-top)) 12px 10px}.gpt-messages{padding:16px 12px}.gpt-user-turn{max-width:94%}.gpt-composer{padding-left:8px;padding-right:8px}}
@media(max-height:500px){.gpt-head{padding:4px 10px}.gpt-composer{padding-top:3px;padding-bottom:3px}.gpt-composer textarea{max-height:64px}.gpt-thumbnail,.gpt-thumbnail img{width:44px;height:44px}.gpt-thumbnail{flex-basis:44px}.gpt-messages{padding-top:10px;padding-bottom:10px}}
