:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202123;background:#fff}*{box-sizing:border-box}body,html{min-height:100%;margin:0;background:#fff}button,select,textarea{font:inherit}.attach:focus-within,.upload-action:focus-within,button:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #2563eb;outline-offset:3px}::selection{background:#dbeafe}.sidebar{display:flex;flex:0 0 252px;flex-direction:column;width:252px;padding:12px 10px;background:#f9f9f9;border-right:1px solid #ececec}.brand,.nav-item,.new-chat{display:flex;align-items:center;gap:10px;width:100%;height:38px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#4e4f52;font-size:14px;text-align:left;cursor:pointer}.brand{height:auto;padding:8px 9px 16px;color:#73757b;font-size:15px;font-weight:500;cursor:default}.brand-mark{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#202123;color:#fff;font-size:12px}.new-chat{margin-bottom:2px;color:#28292b}.history-item:hover,.nav-item:hover,.new-chat:hover{background:#eee;color:#202123}.history-item.active,.nav-item.active{background:transparent;color:inherit;font-weight:inherit}.history-delete{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;margin-right:4px;border:0;border-radius:6px;background:transparent;color:#77797f;cursor:pointer;opacity:0}.history-delete:focus-visible,.history-row:hover .history-delete{opacity:1}.history-delete:hover{background:#e3e3e3;color:#9f2929}.history-delete svg{width:15px;height:15px}.nav-item svg,.new-chat svg{width:17px;height:17px}.chat-history{min-height:0;flex:1 1;margin-top:22px}.history-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;margin:0 0 7px;padding:0 10px;border:0;background:transparent;color:#6f7075;font-weight:600;text-align:left;cursor:pointer}.history-toggle svg{width:15px;transition:transform .16s ease}.chat-history.collapsed .history-toggle svg{transform:rotate(-90deg)}.chat-history h2{margin:0 10px 7px;color:#6f7075;font-size:12px;font-weight:600}.chat-history>div{max-height:calc(100vh - 185px);overflow-y:auto}.history-row{display:flex;align-items:center;border-radius:8px}.history-row.active,.history-row:hover{background:#eee}.history-row.active{color:#202123;font-weight:600}.history-item{display:block;width:100%;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#4e4f52;font-size:13px;line-height:1.35;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.main-panel{display:flex;flex:1 1}.chat-surface{display:flex;flex:1 1 auto;flex-direction:column;width:100%;height:100%;min-height:0;margin:0;padding:0 0 18px;overflow:hidden}.empty-chat{justify-content:center;gap:16px;padding-bottom:clamp(64px,12vh,128px)}.empty-chat .conversation-area{flex:0 0 auto;min-height:38px;overflow:visible}.empty-chat .empty-state{margin:0 auto}.empty-chat .composer{min-height:56px;padding-block:5px}.conversation-area{display:flex;flex:1 1;min-height:0;width:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;align-items:center}.has-conversation .conversation-area{align-items:stretch;padding-top:44px;padding-bottom:18px}.empty-state{box-sizing:border-box;width:min(100%,836px);margin:auto;padding-inline:18px;text-align:center}.empty-state h1,.workspace-view h1{margin:0;font-size:30px;font-weight:600;letter-spacing:-.035em}.empty-state p{margin:9px 0 0;color:#6f7075;font-size:15px}.conversation{box-sizing:border-box;width:min(100%,836px);margin:0 auto;padding-inline:18px;padding-bottom:28px}.message{font-size:15px;line-height:1.7}.message.user{max-width:77%;margin-left:auto;padding:10px 14px;border-radius:16px;background:#f4f4f4}.message.assistant{padding:22px 2px}.message.error{color:#a12d2d}.thinking{display:flex;align-items:center;gap:4px;color:#6f7075}.thinking span{width:4px;height:4px;border-radius:50%;background:currentColor;animation:pulse 1.1s ease-in-out infinite}.thinking span:nth-child(3){animation-delay:.15s}.thinking span:nth-child(4){animation-delay:.3s}@keyframes pulse{50%{opacity:.25;transform:translateY(-2px)}}.sources{margin-top:17px;padding-top:15px;border-top:1px solid #ededed}.sources h2{margin:0 0 7px;color:#6c6e73;font-size:12px}.source{display:flex;flex-direction:column;padding:9px 0;border-top:1px solid #f1f1f1;color:#36373a;font-size:14px}.source small{color:#7c7e83;font-size:12px}.composer{display:grid;grid-template-columns:36px minmax(0,1fr) auto 36px;grid-template-rows:36px;grid-gap:6px;gap:6px;box-sizing:border-box;width:min(calc(100% - 36px),800px);margin:0 auto;min-height:56px;padding:5px 10px 5px 14px;border:1px solid #d9d9d9;border-radius:29px;background:#fff;box-shadow:0 2px 8px #0000000a;flex:0 0 auto}.composer:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.composer textarea,.composer textarea:focus,.composer textarea:focus-visible{grid-column:2;align-self:center;min-width:0;min-height:24px;max-height:168px;padding:0;border:0;outline:none;box-shadow:none;resize:none;background:transparent;font-size:15px;line-height:1.5}.composer-controls{display:flex;align-items:center;min-width:0;gap:6px}.composer:not(.has-attachments) .composer-controls{display:contents}.composer:not(.has-attachments) .attach{grid-column:1;grid-row:1}.composer:not(.has-attachments) .model-menu{grid-column:3;grid-row:1}.composer:not(.has-attachments) .composer-status{grid-column:3;grid-row:1;justify-self:end}.composer:not(.has-attachments) .send{grid-column:4;grid-row:1}.composer.has-attachments{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(28px,auto) 36px;min-height:122px;padding:9px 10px 7px 14px}.composer.has-attachments textarea{grid-column:1;align-self:center}.composer.has-attachments .model-menu{margin-left:auto}.attachment-row{display:flex;min-width:0;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:1px 2px 5px 0;scrollbar-width:thin}.attachment-chip{display:flex;align-items:center;flex:0 0 min(218px,70vw);min-width:0;height:52px;gap:8px;padding:7px 7px 7px 9px;border:1px solid #d9e0e8;border-radius:10px;background:#f8fafc}.attachment-icon{flex:0 0 24px;width:24px;height:24px;color:#476780;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.attachment-chip.pdf .attachment-icon{color:#b14242}.attachment-chip.document .attachment-icon{color:#2b65b8}.attachment-chip.presentation .attachment-icon{color:#c65a28}.attachment-chip.spreadsheet .attachment-icon{color:#25865d}.attachment-copy{display:grid;min-width:0;grid-gap:1px;gap:1px}.attachment-copy strong{overflow:hidden;color:#24313f;font-size:12px;font-weight:650;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.attachment-copy small{color:#647384;font-size:11px;line-height:14px}.attachment-remove{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;margin-left:auto;padding:0;border:0;border-radius:6px;background:transparent;color:#647384;font-size:19px;line-height:1;cursor:pointer}.attachment-remove:hover{background:#e9eef4;color:#263546}.attachment-remove:focus-visible{outline:2px solid #2563eb;outline-offset:1px}.composer textarea::placeholder{color:#8b8d91}.icon-button{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:50%;cursor:pointer}.icon-button svg{width:20px;height:20px}.attach{background:transparent;color:#66686d}.attach:hover{background:#f1f1f1}.attach input,.upload-action input{display:none}.composer .attach input{display:block;position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}.composer .attach:has(input:focus-visible){outline:2px solid #2563eb;outline-offset:3px}.composer-status{max-width:130px;overflow:hidden;color:#72747a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.send{margin-left:auto;background:#2563eb;color:#fff}.send:hover:not(:disabled){background:#1d4ed8}.send:disabled{background:#d6d6d6;color:#fff}.spinner{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.workspace-view{width:min(100%,820px);margin:auto;padding:54px 18px}.workspace-view header{display:flex;justify-content:space-between;padding-bottom:22px;border-bottom:1px solid #ececec}.workspace-view h1{font-size:25px}.empty-copy,.view-intro{margin:20px 0;color:#72747a;font-size:14px}.text-action,.upload-action{padding:7px 10px;border:1px solid #dcdcdc;border-radius:8px;background:#fff;cursor:pointer}.upload-section{margin-top:28px}.upload-section h2{margin:0 0 12px;font-size:16px;letter-spacing:-.01em}.upload-list{border-top:1px solid #e5e7eb}.upload-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 2px;border-bottom:1px solid #e5e7eb;font-size:14px}.upload-file{display:grid;min-width:0;flex:1 1;grid-gap:3px;gap:3px}.upload-file strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#202123}.upload-file small,.upload-state small{color:#6b7280;font-size:12px}.upload-progress{height:5px;overflow:hidden;margin-top:7px;border-radius:999px;background:#e5e7eb}.upload-progress span{display:block;height:100%;border-radius:inherit;background:#2563eb;transition:width .2s ease-out}.upload-state{display:grid;min-width:112px;grid-gap:2px;gap:2px;color:#8a5a00;font-size:13px;text-align:right}.upload-state.completed{color:#167245}.upload-state.failed{color:#b42318}.upload-state.uploading{color:#1d4ed8}.upload-state button{justify-self:end;padding:3px 0;border:0;background:none;color:#1d4ed8;font:inherit;font-weight:650;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.upload-state .upload-delete{color:#a12d2d;font-weight:500}@media (max-width:560px){.upload-row{align-items:flex-start;gap:10px}.upload-state{min-width:95px}.upload-file strong{white-space:normal;overflow-wrap:anywhere}}.admin-view{width:min(100%,980px);margin:auto;padding:54px 28px}.admin-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:28px;border-bottom:1px solid #e7e7e7}.admin-header h1{margin:0;color:#202123;font-size:30px;letter-spacing:-.035em}.admin-header p{max-width:560px;margin:8px 0 0;color:#62646a;font-size:14px;line-height:1.55}.primary-action{min-height:38px;padding:0 14px;border:0;border-radius:9px;background:#2563eb;color:#fff;font-weight:600;cursor:pointer}.primary-action:hover:not(:disabled){background:#1d4ed8}.primary-action:disabled,.user-actions button:disabled{opacity:.55;cursor:wait}.admin-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:24px 0 14px;color:#686a70;font-size:13px}.admin-search{display:grid;grid-gap:6px;gap:6px;color:#45464a;font-size:12px;font-weight:650}.admin-search input{width:min(360px,68vw);height:38px;padding:0 11px;border:1px solid #d7d8db;border-radius:8px;background:#fff;color:#202123;font:inherit;font-weight:400}.admin-search input:focus{border-color:#2563eb;outline:2px solid #dbeafe;outline-offset:1px}.users-table-wrap{overflow:auto;border-top:1px solid #e7e7e7}.users-table{width:100%;border-collapse:collapse;text-align:left}.users-table th{padding:11px 8px;color:#77797f;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.users-table td{padding:16px 8px;border-top:1px solid #eeeeef;color:#2d2e32;font-size:14px;vertical-align:middle}.users-table td small,.users-table td strong{display:block}.users-table td strong{font-weight:600}.users-table td small{margin-top:4px;color:#77797f;font-size:12px}.role-badge,.status{display:inline-block;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:700}.role-badge{background:#eef2ff;color:#3945a5}.status.active{background:#e8f7ee;color:#1e7a43}.status.inactive{background:#f3f3f4;color:#696b70}.user-actions{text-align:right;white-space:nowrap}.editor-actions button,.user-actions button{padding:6px 8px;border:0;border-radius:7px;background:transparent;color:#47494f;font-size:12px;cursor:pointer}.editor-actions button:hover:not(:disabled),.user-actions button:hover:not(:disabled){background:#f1f1f2}.user-actions .danger-action{color:#a12d2d}.admin-empty{padding:40px 8px;color:#77797f;text-align:center}.admin-feedback{margin:12px 0;padding:10px 12px;border-radius:8px;font-size:13px}.admin-feedback.error{background:#fff0f0;color:#9c2929}.admin-feedback.success{background:#edf9f1;color:#1d7741}.editor-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:18px;background:#20212366}.user-editor{display:grid;width:min(100%,460px);grid-gap:15px;gap:15px;padding:24px;border-radius:14px;background:#fff;box-shadow:0 20px 48px #00000030}.editor-heading{display:flex;justify-content:space-between;gap:16px}.editor-heading h2{margin:0;font-size:20px;letter-spacing:-.025em}.editor-heading p{margin:5px 0 0;color:#6e7076;font-size:13px;line-height:1.5}.close-editor{width:30px;height:30px;border:0;border-radius:7px;background:transparent;color:#56585d;font-size:24px;line-height:1;cursor:pointer}.user-editor label{display:grid;grid-gap:6px;gap:6px;color:#46474c;font-size:13px;font-weight:600}.user-editor input,.user-editor select{height:40px;padding:0 10px;border:1px solid #d6d7da;border-radius:8px;background:#fff;color:#222328;font:inherit;font-weight:400}.editor-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width:760px){.workspace{display:block}.sidebar{display:flex;flex-direction:row;width:100%;min-height:58px;padding:9px 12px;overflow-x:auto;border-right:0;border-bottom:1px solid #ececec}.brand{width:auto;padding:0 7px 0 0}.nav-item,.new-chat{width:auto;flex:0 0 auto;white-space:nowrap}.new-chat{margin:0}.chat-history{display:none}.workspace{height:auto;min-height:100dvh;overflow:visible}.main-panel{display:block}.chat-surface{height:calc(100dvh - 58px);min-height:0}.has-conversation .conversation-area{padding-top:28px}.account{display:none}.admin-view{padding:30px 16px}.admin-header{align-items:stretch;flex-direction:column;gap:16px}.admin-header .primary-action{width:100%}.users-table td:nth-child(2),.users-table th:nth-child(2){display:none}.user-actions button{padding:5px}}@media (max-width:500px){.composer-status{display:none}.conversation,.empty-state{padding-inline:12px}.composer{width:calc(100% - 24px)}}.model-menu{flex:0 1 210px}.model-trigger{display:flex;align-items:center;gap:5px;max-width:210px;padding:7px 8px;border:0;border-radius:8px;background:transparent;color:#4f5157;font-size:12px;cursor:pointer}.model-trigger:hover:not(:disabled){background:#f2f2f2;color:#202123}.model-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flyout svg,.model-trigger svg{width:15px;height:15px;flex:0 0 auto}.model-trigger.single-model{cursor:default}.model-trigger.single-model small{padding:2px 6px;border-radius:999px;background:#edf4ff;color:#295aa6;font-size:10px;font-weight:700}.model-flyout{position:absolute;right:0;bottom:48px;z-index:20;width:min(360px,calc(100vw - 24px));padding:8px;border:1px solid #dedfe1;border-radius:14px;background:#fff;box-shadow:0 16px 38px #0000001f}.flyout button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:36px;padding:8px 9px;border:0;border-radius:8px;background:transparent;color:#34353a;text-align:left;cursor:pointer}.flyout button:hover{background:#f3f4f5}.flyout button:focus-visible,.flyout input:focus-visible{outline:2px solid #2563eb;outline-offset:1px}.flyout-heading{display:flex;align-items:flex-start;justify-content:space-between;min-height:36px;padding:4px 5px 7px}.flyout-heading>div{display:grid;grid-gap:2px;gap:2px}.flyout-heading strong{font-size:13px}.flyout-heading small{color:#77797f;font-size:11px}.back-button,.close-menu{display:grid!important;place-items:center;width:30px!important;min-height:30px!important;padding:0!important;color:#66686e!important;font-size:21px!important;line-height:1}.back-button svg{transform:rotate(180deg)}.flyout input{width:100%;height:36px;margin:0 0 7px;padding:0 10px;border:1px solid #d9dadd;border-radius:8px;background:#fff;color:#26272b;font:inherit;font-size:12px}.model-catalog{max-height:min(420px,calc(100vh - 182px));overflow-y:auto;padding:0 2px}.model-group{padding:3px 0 8px}.model-empty,.model-group>p{margin:7px 7px 5px;color:#72747a;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.provider-group+.provider-group{margin-top:8px}.provider-group h3{margin:8px 8px 4px;color:#55575d;font-size:11px;font-weight:650}.model-list{display:grid;grid-gap:1px}.model-option{gap:10px;min-height:48px!important}.model-option>span{display:grid;min-width:0;grid-gap:2px;gap:2px}.model-option strong{color:#303136;font-size:12px}.model-option small,.model-option strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-option small{color:#77797f;font-size:10px}.model-option svg{color:#2563eb}.model-option.selected{background:#edf4ff}.model-option.selected strong{color:#1e4f97}.model-empty{padding:14px 0;text-transform:none}.flyout-footer{display:grid;grid-gap:1px;gap:1px;margin-top:4px;padding-top:6px;border-top:1px solid #ececee}.flyout-footer button{color:#5c5e64;font-size:12px}.flyout-footer button>span{display:flex;align-items:center;gap:4px;max-width:180px;color:#77797f}.chat-history h2 span{float:right;font-size:15px}.auth-screen{display:grid;min-height:100vh;place-items:center;background:#fff;color:#202123}.login-card{display:grid;width:min(calc(100% - 40px),400px);grid-gap:12px;gap:12px}.login-card .brand{padding:0;margin-bottom:16px}.login-card h1{margin:0 0 10px;font-size:26px;letter-spacing:-.03em}.login-card input{height:46px;padding:0 13px;border:1px solid #ddd;border-radius:10px}.login-card button{height:42px;border:0;border-radius:10px;background:#2563eb;color:#fff}.login-card button:disabled{background:#9dbbf4}.login-card p{margin:0;color:#a12d2d;font-size:13px}.account{margin-top:auto;padding:12px 10px 2px;border-top:1px solid #ececec;font-size:13px}.account small{display:block;color:#777}.account button{margin-top:7px;padding:0;border:0;background:transparent;color:#555;font-size:12px;cursor:pointer}.model-menu{position:relative;flex:0 1 154px}.model-trigger{max-width:154px;min-height:30px;padding:5px 7px;border-radius:7px;font-size:11px}.model-flyout{bottom:42px;width:min(282px,calc(100vw - 24px));padding:7px;border-radius:12px;box-shadow:0 12px 28px #0000001a}.model-flyout .flyout-heading{align-items:center;min-height:28px;padding:1px 3px 5px}.model-flyout .flyout-heading>strong{color:#34353a;font-size:12px;font-weight:700}.model-flyout .close-menu{width:26px!important;min-height:26px!important;font-size:18px!important}.model-flyout input{height:31px;margin-bottom:5px;padding:0 8px;border-radius:7px;font-size:11px}.model-catalog{max-height:min(312px,calc(100vh - 150px));padding:0}.model-group{padding:3px 0 5px}.model-group+.model-group{margin-top:2px;border-top:1px solid #f0f0f1}.model-group>h3{margin:4px 7px 3px;color:#4c4e54;font-size:12px;font-weight:750;letter-spacing:.01em}.model-list{gap:1px}.model-option{min-height:34px!important;padding:5px 8px!important;gap:8px;border-radius:7px!important}.model-option strong{font-size:11px;font-weight:600}.model-option:hover{background:#f4f5f6}.model-option.selected{background:#eaf2ff}.model-option.selected strong{color:#1d4f91}.model-empty{padding:9px 7px;font-size:11px}.media-player{width:min(calc(100% - 20px),740px);max-height:430px;margin:0 20px 18px 0;display:block;border-radius:12px;background:#111}.artifact-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-gap:12px;gap:12px;align-items:center;margin:10px 0;padding:14px;border:1px solid #dbe3eb;border-radius:12px;background:#fff;box-shadow:0 2px 9px #1d3a5508}.artifact-card img{grid-row:span 2;width:96px;height:64px;object-fit:cover;border-radius:7px;background:#f3f6f9}.artifact-details{display:grid;grid-gap:3px;gap:3px;min-width:0}.artifact-kind{color:#1769aa;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.artifact-details strong{color:#17212b}.artifact-details small,.artifact-details strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.artifact-details small{color:#6b7280;font-size:12px}.artifact-actions{display:flex;gap:7px}.artifact-actions a{padding:7px 10px;border:1px solid #cbd7e2;border-radius:7px;color:#1769aa;font-size:12px;font-weight:650;text-decoration:none}.artifact-actions a:focus-visible,.artifact-actions a:hover{background:#f1f7fc;outline:2px solid #1769aa;outline-offset:1px}@media(max-width:560px){.artifact-card{grid-template-columns:1fr}.artifact-card img{grid-row:auto}.artifact-actions{justify-content:flex-start}}.generated-image{width:min(100%,760px);margin:16px 0 4px}.generated-image-trigger{display:block;width:100%;padding:0;border:0;border-radius:14px;background:#f4f4f5;cursor:zoom-in;overflow:hidden}.generated-image-trigger img{display:block;width:100%;max-height:720px;object-fit:contain;background:#111;transition:transform .2s ease}.generated-image-trigger:hover img{transform:scale(1.01)}.generated-image-trigger:focus-visible{outline:3px solid #2563eb;outline-offset:3px}.image-lightbox{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px;background:#111c}.image-lightbox-dialog{display:grid;max-width:min(1100px,100%);max-height:100%;overflow:auto;border-radius:14px;background:#111;box-shadow:0 24px 70px #0008}.image-lightbox-toolbar{display:flex;justify-content:flex-end;gap:8px;padding:10px}.image-lightbox-toolbar a,.image-lightbox-toolbar button{min-height:36px;padding:7px 12px;border:1px solid #ffffff44;border-radius:8px;background:transparent;color:#fff;font:inherit;font-size:13px;text-decoration:none;cursor:pointer}.image-lightbox-toolbar a:hover,.image-lightbox-toolbar button:hover{background:#ffffff1c}.image-lightbox-toolbar a:focus-visible,.image-lightbox-toolbar button:focus-visible{outline:3px solid #60a5fa;outline-offset:2px}.image-lightbox-dialog>img{display:block;max-width:100%;max-height:calc(100vh - 96px);margin:auto;object-fit:contain}@media(max-width:560px){.generated-image{width:100%;margin-top:12px}.image-lightbox{padding:12px}.image-lightbox-dialog{width:100%;border-radius:12px}.image-lightbox-toolbar{position:-webkit-sticky;position:sticky;top:0;background:#111}}.generated-artifact-actions{display:flex;justify-content:flex-end;margin-top:8px}.generated-artifact-actions a{display:inline-flex;align-items:center;min-height:32px;padding:6px 10px;border:1px solid #cbd7e2;border-radius:7px;color:#1769aa;font-size:12px;font-weight:650;text-decoration:none}.generated-artifact-actions a:focus-visible,.generated-artifact-actions a:hover{background:#f1f7fc;outline:2px solid #1769aa;outline-offset:1px}.response-actions{display:flex;margin-top:8px}.response-actions button{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:4px 7px;border:0;border-radius:6px;background:transparent;color:#77797f;font-size:12px;cursor:pointer}.response-actions button:hover{background:#f1f1f1;color:#333438}.response-actions svg{width:15px;height:15px}.delete-dialog{width:min(100%,420px);padding:24px;border-radius:14px;background:#fff;box-shadow:0 20px 48px #00000030}.delete-dialog h2{margin:0;font-size:20px;letter-spacing:-.025em}.delete-dialog p{margin:9px 0 20px;color:#62646a;font-size:14px;line-height:1.5}.danger-confirm{padding:7px 12px!important;border:0!important;border-radius:7px!important;background:#a12d2d!important;color:#fff!important;cursor:pointer}.login-card .brand{font-size:27px;font-weight:600;line-height:1.15;letter-spacing:-.03em}.login-card h1{color:#4e5055;font-size:20px;font-weight:500;letter-spacing:-.02em}.composer{position:relative}.composer-status{position:absolute;right:10px;bottom:calc(100% + 7px);z-index:2;max-width:220px;padding:3px 8px;border-radius:999px;background:#fff;box-shadow:0 2px 8px #00000012}.composer:not(.has-attachments) .composer-status{grid-column:auto;grid-row:auto;justify-self:auto}.artifact-card{position:relative;grid-template-columns:minmax(0,1fr) auto;max-width:620px;min-height:86px;margin:12px 0;padding:15px 14px;border-color:#e2e7ec;border-radius:14px;box-shadow:0 4px 16px #1d3a550a}.artifact-details{gap:5px;padding-right:4px}.artifact-details strong{white-space:normal;font-size:14px;line-height:1.35}.artifact-details small{color:#7b848e;font-size:11px}.artifact-actions,.media-artifact-actions{display:flex;gap:2px;align-self:start}.artifact-actions a,.media-artifact-actions a{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:7px;color:#637181;background:#ffffffd9;text-decoration:none}.artifact-actions a:focus-visible,.artifact-actions a:hover,.media-artifact-actions a:focus-visible,.media-artifact-actions a:hover{color:#1d5fa7;background:#edf5ff;outline:2px solid #2563eb;outline-offset:1px}.artifact-actions svg,.media-artifact-actions svg{width:16px;height:16px}.media-artifact{position:relative;width:min(100%,740px);margin:16px 0 6px;overflow:hidden;border:1px solid #e1e6eb;border-radius:14px;background:#111;box-shadow:0 4px 16px #1d3a5514}.generated-image{max-height:720px;background:#f4f5f6}.generated-image-trigger{border-radius:0}.generated-video video{display:block;width:100%;max-height:430px;background:#111}.media-artifact-actions{position:absolute;top:9px;right:9px;z-index:3}.media-artifact-actions a{color:#fff;background:#111b;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.media-artifact-actions a:focus-visible,.media-artifact-actions a:hover{color:#fff;background:#111e;outline-color:#93c5fd}.response-actions{justify-content:flex-end}@media (max-width:560px){.composer-status{right:8px;max-width:min(220px,calc(100vw - 48px))}.artifact-card{min-height:78px}.media-artifact{width:100%;margin-top:12px}}body,html{height:100%;overflow:hidden}:root{font-family:var(--font-inter,Inter),system-ui,-apple-system,"Segoe UI",sans-serif;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}button,input,select,textarea{font-family:inherit}.workspace{height:100dvh;background:#f6f7f9}.workspace,.workspace .sidebar{display:flex;min-height:0;overflow:hidden}.workspace .sidebar{flex-direction:column;flex:0 0 232px;width:232px;min-width:0;padding:12px 10px;background:#fff;border-right:1px solid #e5e7eb;transition:width .18s ease-out,flex-basis .18s ease-out}.sidebar-heading{display:flex;align-items:center;gap:9px;margin-bottom:20px;min-height:40px;flex:none}.sidebar .brand{display:flex;align-items:flex-start;flex-direction:column;gap:2px;color:#243e31;font-size:20px;font-weight:600;line-height:23px}.sidebar .brand span{font-size:10px;color:#596575;font-weight:400;letter-spacing:.035em}.menu-toggle{display:grid;place-items:center;width:36px;height:36px;border:1px solid #e5e7eb;background:#fff;border-radius:8px;color:#425267;cursor:pointer;flex:none}.menu-toggle svg{width:18px;height:18px}.sidebar .nav-item,.sidebar .new-chat{height:40px;min-height:40px;flex:none;padding:0 11px;gap:12px;font-size:13px;color:#526071;white-space:nowrap;border-radius:7px;margin:2px 0}.sidebar .new-chat{margin-bottom:10px}.sidebar .nav-item.active{background:#edf5f0;color:#21643f;font-weight:500}.sidebar .nav-item:hover,.sidebar .new-chat:hover{background:#f1f5f3}.sidebar .nav-item svg,.sidebar .new-chat svg{width:20px;height:20px;flex:none}.sidebar .history-rail{display:none}.sidebar .chat-history{display:flex;flex-direction:column;min-height:0;flex:1 1;margin-top:22px;overflow:hidden}.sidebar .chat-history>div{overflow:auto;min-height:0;scrollbar-width:thin}.history-empty,.history-toggle{color:#596575;font-size:12px}.history-empty{padding:8px}.history-delete{opacity:1;color:#667085}.history-delete:hover{color:#b42332}.sidebar .account{display:block;margin-top:auto;padding:12px 5px 0;overflow:hidden;flex:none;white-space:nowrap}.sidebar .account>span{display:block;overflow:hidden;text-overflow:ellipsis}.sidebar .account small{color:#596575}.sidebar .account button{display:flex;align-items:center;gap:8px;min-height:28px}.sidebar .account button svg{width:18px;height:18px}.workspace.sidebar-collapsed .sidebar{flex-basis:64px;width:64px;padding-left:10px;padding-right:10px}.sidebar-collapsed .sidebar-heading{justify-content:center}.sidebar-collapsed .account button span,.sidebar-collapsed .account small,.sidebar-collapsed .account>span,.sidebar-collapsed .sidebar .chat-history,.sidebar-collapsed .sidebar .nav-item>span,.sidebar-collapsed .sidebar .new-chat>span{display:none}.sidebar-collapsed .sidebar .history-rail{display:flex}.sidebar-collapsed .sidebar .nav-item,.sidebar-collapsed .sidebar .new-chat{padding:0;justify-content:center}.sidebar-collapsed .sidebar .account{padding:12px 0 0}.sidebar-collapsed .account button{width:100%;justify-content:center}.sidebar .new-chat:focus-visible,.sidebar button:focus-visible{outline:2px solid #28784e;outline-offset:2px}.main-panel{min-height:0;min-width:0}.workspace-view{overflow:auto;min-height:0;max-height:100dvh;width:100%}.genia-confirm{max-width:min(440px,calc(100vw - 32px));border:1px solid #e5e7eb;border-radius:12px;padding:24px;color:#202936;background:#fff;box-shadow:0 12px 40px #152b4326}.genia-confirm::-webkit-backdrop{background:#18273866}.genia-confirm::backdrop{background:#18273866}.genia-confirm h2{font-size:20px;margin:0 0 12px;font-weight:600}.genia-confirm p{font-size:14px;color:#526071;line-height:1.6;overflow-wrap:anywhere}.genia-confirm button{min-height:36px}.genia-confirm .danger-confirm{background:#b42332;color:#fff;border-color:#b42332}.upload-delete{color:#b42332!important;min-height:30px}.history-row .history-item{min-width:0}@media(max-width:1099px){body,html{overflow:auto}.workspace{height:100dvh}.workspace .main-panel{overflow:auto}.workspace.sidebar-expanded .sidebar{position:fixed;inset:0 auto 0 0;z-index:50;box-shadow:4px 0 24px #152b4312}.workspace.sidebar-expanded{padding-left:64px}.workspace .chat-surface{height:100%;min-height:0}.workspace .sidebar .chat-history{display:flex}.workspace.sidebar-collapsed .sidebar .chat-history{display:none}}@media(prefers-reduced-motion:reduce){.workspace .sidebar{transition:none}}.sidebar-collapsed .sidebar:hover .menu-toggle{background:#edf5f0;border-color:#c5d9cd;color:#21643f}@media(prefers-reduced-motion:reduce){.history-toggle svg{transition:none}}.model-flyout.model-portal{position:fixed;right:auto;bottom:auto;z-index:1000;display:flex;flex-direction:column;box-sizing:border-box;min-width:min(300px,calc(100vw - 24px));overflow:hidden}.model-portal .flyout-heading,.model-portal>input{flex-shrink:0}.model-portal .model-catalog{min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain}.login-card h1.brand{display:block;max-width:100%;margin:0 0 4px;padding:0;font-size:clamp(22px,5.5vw,27px);font-weight:600;line-height:1.25;white-space:normal;overflow-wrap:normal;word-break:normal;text-wrap:balance;color:#4e4f52}.login-card p.login-welcome{margin:0 0 10px;color:#4e5055;font-size:20px;font-weight:500;letter-spacing:-.02em}.sidebar-heading{position:relative}.sidebar .brand{position:absolute;inset:0;width:auto;height:60px;min-width:0;display:block;margin:0;padding:0;overflow:hidden;white-space:nowrap;overflow-wrap:normal;word-break:normal;writing-mode:horizontal-tb;pointer-events:auto}.sidebar-heading .menu-toggle{position:relative;z-index:1}.brand-monogram{display:inline-grid;place-items:center;width:36px;height:18px;border-radius:5px;background:#edf5f0;color:#21643f;font-size:13px;font-weight:600;line-height:18px;white-space:nowrap;overflow-wrap:normal;word-break:normal}.sidebar .brand>.brand-monogram{left:4px;top:40px;font-size:13px;font-weight:600;color:#21643f;letter-spacing:0;opacity:0;max-width:0}.sidebar .brand>.brand-full,.sidebar .brand>.brand-monogram{position:absolute;overflow:hidden;transition:opacity .18s ease-out,max-width .18s ease-out}.sidebar .brand>.brand-full{top:2px;left:45px;display:flex;flex-direction:column;align-items:flex-start;gap:1px;max-width:166px;opacity:1;line-height:17px;white-space:nowrap}.sidebar .brand-full strong{font-size:14px;font-weight:600;color:#243e31;white-space:nowrap}.sidebar .brand .brand-full>span{font-size:11.5px;font-weight:500;line-height:16px;letter-spacing:0;color:#596575;white-space:nowrap;overflow-wrap:normal;word-break:normal}.sidebar-collapsed .sidebar .brand>.brand-full{max-width:0;opacity:0}.sidebar-collapsed .sidebar .brand>.brand-monogram{max-width:36px;opacity:1}.login-card h1.brand .login-monogram{display:block;font-weight:600;white-space:nowrap}.login-card h1.brand .login-brand-name{display:block;font-size:clamp(19px,5vw,23px);font-weight:500;line-height:1.3}.loading-brand,.login-card h1.brand .login-brand-name{overflow-wrap:normal;word-break:normal;text-wrap:balance}.loading-brand{display:grid;justify-items:center;grid-gap:12px;gap:12px;max-width:calc(100vw - 32px);text-align:center}@media(prefers-reduced-motion:reduce){.sidebar .brand>.brand-full,.sidebar .brand>.brand-monogram{transition:none}}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.__className_0681f8{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-style:normal}.__variable_0681f8{--font-inter:"Inter",system-ui,-apple-system,Segoe UI,sans-serif}