.model-chooser{min-width:0}.model-chooser__tabs{width:min(100%,520px);margin:0 auto 18px;padding:4px;display:grid;grid-template-columns:repeat(var(--model-count, 3),minmax(0,1fr));gap:4px;border-radius:var(--radius-thumb);background:var(--grey-100)}.model-chooser__tab{min-width:0;min-height:48px;padding:10px 18px;border:0;border-radius:var(--radius-control);color:var(--grey-700, var(--grey-600));background:transparent;text-align:center;cursor:pointer;transition:color var(--motion-fast) var(--ease-standard),background var(--motion-fast) var(--ease-standard),box-shadow var(--motion-fast) var(--ease-standard)}.model-chooser__tab:hover{color:var(--primary-dark);background:#fff}.model-chooser__tab[aria-selected=true]{color:#fff;background:var(--primary-main);box-shadow:0 2px 8px #804eff33}.model-chooser__tab strong{font:490 17px/24px var(--font-sans)}.model-chooser__panel{min-width:0}.gpt-chat{position:relative;width:min(100%,1104px);margin-inline:auto;overflow:hidden;border-radius:var(--radius-card);background:#fff;box-shadow:0 24px 48px -12px #0915201f,inset 0 0 0 1px var(--grey-300);text-align:left;transition:box-shadow var(--motion-fast) var(--ease-standard)}.gpt-chat.is-drag-over{box-shadow:0 24px 48px -12px #0915201f,inset 0 0 0 2px var(--secondary-main)}.gpt-chat button{font-family:var(--font-sans)}.gpt-chat__topbar{min-height:60px;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--grey-200);background:var(--grey-100)}.gpt-chat__topbar>button{min-height:36px;padding:7px 13px;display:inline-flex;align-items:center;gap:7px;border:0;border-radius:var(--radius-control);color:var(--grey-600);background:#fff;box-shadow:inset 0 0 0 1px var(--grey-300);font:490 14px/22px var(--font-sans);cursor:pointer;transition:color var(--motion-fast) var(--ease-standard),background var(--motion-fast) var(--ease-standard)}.gpt-chat__topbar>button:hover{color:var(--secondary-main);background:var(--secondary-lighter)}.gpt-chat__topbar>span{display:inline-flex;align-items:center;gap:7px;color:var(--grey-600);font:490 13px/18px var(--font-sans)}.gpt-chat__topbar>span>i{width:7px;height:7px;border-radius:50%;background:var(--success-main)}.gpt-chat__history{height:520px;padding:30px clamp(16px,4vw,40px);overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth}.gpt-chat__empty{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.gpt-chat__brand-mark{position:relative;width:46px;height:46px;flex:0 0 auto;display:block}.gpt-chat__brand-mark i{position:absolute;top:11px;left:3px;width:40px;height:24px;border-radius:50%;background:var(--primary-main);opacity:.56}.gpt-chat__brand-mark i:nth-child(2){transform:rotate(60deg)}.gpt-chat__brand-mark i:nth-child(3){transform:rotate(-60deg)}.gpt-chat__empty h3{margin:16px 0 0;color:var(--grey-800);font:var(--type-h3)}.gpt-chat__prompts{width:min(100%,650px);margin-top:30px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gpt-chat__prompts button{min-height:60px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:0;border-radius:var(--radius-thumb);color:var(--grey-800);background:var(--surface-card-blue);box-shadow:inset 0 0 0 1px #3366ff1f;font:490 14px/20px var(--font-sans);text-align:left;cursor:pointer;transition:color var(--motion-fast) var(--ease-standard),background var(--motion-fast) var(--ease-standard),box-shadow var(--motion-fast) var(--ease-standard)}.gpt-chat__prompts button:hover{color:var(--secondary-main);background:#3366ff1f;box-shadow:inset 0 0 0 1px #3366ff3d}.gpt-chat__icon{flex:0 0 auto}.gpt-chat__message{max-width:min(780px,88%);margin:0 0 24px;display:flex;align-items:flex-start;gap:12px;animation:aia-fade-up var(--motion-move) var(--ease-out) both}.gpt-chat__message--user{margin-left:auto;flex-direction:row-reverse}.gpt-chat__avatar{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center}.gpt-chat__avatar .gpt-chat__brand-mark{width:32px;height:32px}.gpt-chat__avatar .gpt-chat__brand-mark i{top:8px;left:3px;width:26px;height:16px}.gpt-chat__avatar>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:var(--primary-dark);background:var(--primary-lighter);font:var(--type-caption)}.gpt-chat__bubble{min-width:0;padding:14px 16px;border-radius:6px 16px 16px;color:var(--grey-800);background:var(--grey-100);font:400 15px/22px var(--font-sans)}.gpt-chat__message--user .gpt-chat__bubble{border-radius:16px 6px 16px 16px;color:#fff;background:var(--secondary-main)}.gpt-chat__copy{white-space:pre-wrap}.gpt-chat__copy strong{font-weight:490}.gpt-chat__code{margin:12px 0;padding:14px;overflow-x:auto;border-radius:var(--radius-thumb);color:var(--grey-800);background:var(--grey-200);font:400 13px/20px ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre}.gpt-chat__typing{height:22px;display:flex;align-items:center;gap:5px}.gpt-chat__typing i{width:6px;height:6px;border-radius:50%;background:var(--secondary-main);animation:aia-dot-pulse 1s var(--ease-inout) infinite}.gpt-chat__typing i:nth-child(2){animation-delay:.12s}.gpt-chat__typing i:nth-child(3){animation-delay:.24s}.gpt-chat__cursor{width:8px;height:17px;margin-left:2px;display:inline-block;border-radius:2px;background:var(--secondary-main);vertical-align:text-bottom;animation:aia-dot-pulse 1s var(--ease-inout) infinite}.gpt-chat__choices{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}.gpt-chat__choices button{min-height:38px;padding:8px 15px;border:1px solid rgba(51,102,255,.28);border-radius:var(--radius-control);color:var(--secondary-main);background:#fff;font:490 14px/20px var(--font-sans);cursor:pointer;transition:color var(--motion-fast) var(--ease-standard),background var(--motion-fast) var(--ease-standard)}.gpt-chat__choices button:hover:not(:disabled),.gpt-chat__choices button.is-selected{color:#fff;background:var(--secondary-main)}.gpt-chat__choices button:disabled:not(.is-selected){opacity:.42}.gpt-chat__text-choices{margin-top:14px;display:grid;gap:8px}.gpt-chat__text-choices button{padding:14px;display:grid;grid-template-columns:30px 1fr;gap:10px;border:0;border-radius:var(--radius-thumb);color:var(--grey-800);background:#fff;box-shadow:inset 0 0 0 1px var(--grey-300);text-align:left;cursor:pointer;transition:background var(--motion-fast) var(--ease-standard),box-shadow var(--motion-fast) var(--ease-standard)}.gpt-chat__text-choices button:hover:not(:disabled),.gpt-chat__text-choices button.is-selected{background:var(--secondary-lighter);box-shadow:inset 0 0 0 2px var(--secondary-main)}.gpt-chat__text-choices button:disabled:not(.is-selected){opacity:.48}.gpt-chat__text-choices span{width:26px;height:26px;display:grid;place-items:center;border-radius:var(--radius-chip);color:#fff;background:var(--primary-main);font:490 13px/18px var(--font-sans)}.gpt-chat__text-choices p{margin:1px 0 0;font:400 14px/20px var(--font-sans)}.gpt-chat__image-choices{margin-top:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gpt-chat__image-choices>div{position:relative;overflow:hidden;border-radius:var(--radius-thumb);background:var(--grey-200);box-shadow:inset 0 0 0 1px var(--grey-300)}.gpt-chat__image-choices>div.is-selected{box-shadow:inset 0 0 0 3px var(--secondary-main)}.gpt-chat__image-pick{width:100%;padding:0;display:block;border:0;color:#fff;background:transparent;cursor:pointer}.gpt-chat__image-pick:disabled{cursor:default}.gpt-chat__image-pick img{width:100%;aspect-ratio:16 / 10;display:block;object-fit:cover}.gpt-chat__image-pick span{position:absolute;bottom:10px;left:10px;width:28px;height:28px;display:grid;place-items:center;border-radius:var(--radius-chip);background:#091520b8;backdrop-filter:blur(8px);font:490 13px/18px var(--font-sans)}.gpt-chat__zoom{position:absolute;top:9px;right:9px;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:50%;color:#fff;background:#091520a3;backdrop-filter:blur(8px);cursor:pointer}.gpt-chat__progress{margin-top:16px}.gpt-chat__progress>div{height:8px;overflow:hidden;border-radius:var(--radius-control);background:var(--grey-300)}.gpt-chat__progress>div span{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,var(--secondary-main),var(--primary-main),var(--secondary-main));background-size:200% 100%;transition:width var(--motion-move) var(--ease-inout);animation:aia-shimmer 1.8s linear infinite}.gpt-chat__progress p{margin:8px 0 0;color:var(--grey-600);font:400 13px/18px var(--font-sans)}.gpt-chat__final{margin-top:16px;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.gpt-chat__final>span{color:var(--secondary-main);font:var(--type-small)}.gpt-chat__final>button{padding:2px 0;border:0;color:var(--grey-500);background:transparent;font:400 13px/18px var(--font-sans);cursor:pointer}.gpt-chat__final>button:hover{color:var(--grey-800)}.gpt-chat__composer{margin:0 20px 18px;padding:12px 14px 9px;border-radius:var(--radius-card);background:#fff;box-shadow:0 8px 24px #0915200f,inset 0 0 0 1px var(--grey-300)}.gpt-chat__composer textarea{width:100%;min-height:32px;max-height:140px;padding:4px 2px;resize:none;overflow-y:auto;border:0;outline:0;color:var(--grey-800);background:transparent;font:400 15px/22px var(--font-sans)}.gpt-chat__composer textarea::placeholder{color:var(--grey-500)}.gpt-chat__composer:focus-within{box-shadow:0 8px 24px #0915200f,inset 0 0 0 2px var(--secondary-main)}.gpt-chat__composer-actions{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:10px}.gpt-chat__composer-actions>div{display:flex;align-items:center;gap:4px}.gpt-chat__composer-actions button{min-height:34px;padding:7px 9px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:var(--radius-control);color:var(--grey-600);background:transparent;font:490 13px/20px var(--font-sans);cursor:pointer}.gpt-chat__composer-actions button:hover,.gpt-chat__composer-actions button.is-active{color:var(--secondary-main);background:var(--surface-card-blue)}.gpt-chat__composer-actions .gpt-chat__send{width:36px;height:36px;padding:0;justify-content:center;color:#fff;background:var(--secondary-main)}.gpt-chat__composer-actions .gpt-chat__send:hover{color:#fff;background:var(--secondary-dark)}.gpt-chat__composer>p{margin:6px 0 0;color:var(--grey-500);font:400 11px/16px var(--font-sans);text-align:center}.gpt-chat__files{margin:0 0 8px;display:flex;flex-wrap:wrap;gap:6px}.gpt-chat__file{max-width:260px;padding:6px 8px;display:inline-flex;align-items:center;gap:7px;border-radius:var(--radius-control);color:var(--grey-800);background:var(--grey-200)}.gpt-chat__message--user .gpt-chat__file{color:var(--grey-800);background:#ffffffe0}.gpt-chat__file>span{color:var(--secondary-main);font:490 10px/16px var(--font-sans)}.gpt-chat__file>strong{overflow:hidden;font:400 12px/16px var(--font-sans);text-overflow:ellipsis;white-space:nowrap}.gpt-chat__file>button{padding:0;display:grid;border:0;color:var(--grey-500);background:transparent;cursor:pointer}.gpt-chat__modal{position:fixed;inset:0;z-index:1000;padding:30px;display:grid;place-items:center;background:#091520d1}.gpt-chat__modal>div{position:relative;max-width:90vw}.gpt-chat__modal img{max-width:100%;max-height:84vh;display:block;border-radius:var(--radius-card);box-shadow:0 25px 50px #0006}.gpt-chat__modal button{position:absolute;top:-44px;right:0;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;color:#fff;background:#ffffff24;cursor:pointer}@media(max-width:760px){.model-chooser__tabs{width:100%;gap:2px}.model-chooser__tab{min-height:44px;padding:8px 6px}.model-chooser__tab strong{font-size:15px}.gpt-chat__topbar{min-height:54px;padding:9px 12px}.gpt-chat__history{height:500px;padding:22px 12px}.gpt-chat__empty h3{font-size:27px;line-height:38px}.gpt-chat__prompts{margin-top:22px;grid-template-columns:1fr}.gpt-chat__prompts button{min-height:52px;padding:12px 14px}.gpt-chat__message{max-width:96%;gap:8px}.gpt-chat__avatar{width:28px;height:28px;flex-basis:28px}.gpt-chat__avatar .gpt-chat__brand-mark,.gpt-chat__avatar>span{transform:scale(.86)}.gpt-chat__bubble{padding:12px 13px;font-size:14px;line-height:21px}.gpt-chat__image-choices{grid-template-columns:1fr}.gpt-chat__composer{margin:0 10px 10px;padding:10px}.gpt-chat__composer-actions>div{gap:2px}.gpt-chat__composer-actions button{width:34px;padding:0;justify-content:center;font-size:0}.gpt-chat__composer-actions button .gpt-chat__icon{width:18px;height:18px}}@media(prefers-reduced-motion:reduce){.gpt-chat__message,.gpt-chat__typing i,.gpt-chat__cursor,.gpt-chat__progress>div span{animation:none}.gpt-chat__history{scroll-behavior:auto}}
