.v2-access{display:grid;min-height:100dvh;place-content:center;justify-items:center;gap:20px;padding:24px}.v2-access h1{font-size:28px;font-weight:700}.v2-shell{display:grid;grid-template-columns:272px minmax(0,1fr);height:100dvh;overflow:hidden;color:var(--ds-color-text);background:var(--ds-color-background)}.v2-shell-collapsed{grid-template-columns:var(--ds-size-sidebar-collapsed,68px) minmax(0,1fr)}.v2-sidebar{position:relative;min-height:0;background:var(--ds-color-surface-elevated)}.v2-nav{height:100%;display:flex;flex-direction:column;gap:14px;padding:24px 12px 16px;min-height:0}.v2-brand{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 6px;margin-bottom:12px}.v2-brand>span{display:grid;place-items:center;width:38px;height:38px;background:var(--ds-color-action-secondary);color:var(--ds-color-action-secondary-text);border-radius:12px;font-size:26px}.v2-brand strong{font-size:23px}.v2-nav>button{flex-shrink:0}.v2-nav-compact{align-items:center;padding-inline:12px}.v2-nav-compact>button{padding:0;width:44px}.v2-nav-compact .v2-brand{padding:0}.v2-chat-list{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:4px}.v2-chat-list>p{padding:12px;font-size:13px;color:var(--ds-color-text-muted)}.v2-chat-link{justify-content:flex-start;text-align:left;width:100%;min-height:44px;flex-shrink:0;font-size:13px}.v2-chat-link svg{flex-shrink:0}.v2-chat-link span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v2-chat-row{display:flex;align-items:center;min-width:0}.v2-chat-row>.v2-chat-link{width:auto;flex:1;min-width:0;padding-inline:10px}.v2-chat-link small{display:block;font-size:11px;color:var(--ds-color-text-muted);overflow:hidden;text-overflow:ellipsis}.v2-history-search{position:relative}.v2-history-search>svg{position:absolute;top:14px;left:12px;color:var(--ds-color-text-muted)}.v2-history-search input{padding-left:36px}.v2-history-filter{display:flex;gap:4px}.v2-history-filter [aria-pressed=true]{background:var(--ds-color-surface)}.v2-chat-link[aria-current=page]{background:var(--ds-color-surface-muted)}.v2-nav-bottom{display:grid;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid var(--ds-color-border)}.v2-account,.v2-nav-bottom a{display:flex;gap:12px;align-items:center;min-height:44px;padding:8px;font-size:13px}.v2-nav-bottom svg{flex-shrink:0}.v2-nav-bottom>button{justify-content:flex-start;min-width:0;width:100%;padding-inline:10px}.v2-nav-bottom>button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v2-nav-compact .v2-nav-bottom>button{justify-content:center;padding:0;width:44px}.v2-sidebar-toggle{position:absolute;top:80px;right:-22px;z-index:20;width:44px;height:44px;display:grid;place-items:center;cursor:pointer}.v2-sidebar-toggle>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--ds-color-border);background:var(--ds-color-surface);box-shadow:var(--ds-shadow-sm)}.v2-main{display:flex;flex-direction:column;min-height:0;min-width:0}.v2-header{display:flex;align-items:center;gap:16px;padding:16px 36px;flex-shrink:0}.v2-heading{min-width:0;flex:1}.v2-heading h1{font-weight:600;overflow-wrap:anywhere}.v2-heading p{margin-top:4px;font-size:12px;color:var(--ds-color-text-muted)}.v2-header>[role=group]{flex-shrink:0}.v2-header>[aria-label="Цветовая тема"] button{min-height:44px;width:44px}.v2-header>[aria-label="Цветовая тема"] button[aria-pressed=true]{background:var(--ds-color-surface-muted)}.v2-reading{display:flex;border-radius:12px;background:var(--ds-color-surface)}.v2-reading button{font-size:12px;font-variant-numeric:tabular-nums}.v2-menu{display:none}.v2-history{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:24px 32px}.v2-messages{max-width:760px;margin-inline:auto;display:grid;gap:24px}.v2-message>article{width:100%}.v2-message>article>div:first-child{font-size:var(--v2-message-font-size,16px);line-height:1.75;overflow-wrap:anywhere}.v2-message>article.ml-auto{width:fit-content;max-width:92%}.v2-message>article.ml-auto>div:first-child{background:var(--ds-color-surface-muted);color:var(--ds-color-text)}.v2-message>article.mr-auto>div:first-child{background:transparent;padding-inline:0}.v2-welcome{padding-block:12vh;text-align:center}.v2-welcome h2{font-size:28px;font-weight:600}.v2-welcome p{margin-top:12px;color:var(--ds-color-text-secondary)}.v2-composer-note{padding:20px 24px;font-size:13px;text-align:center;flex-shrink:0}.v2-composer-note a{color:var(--ds-color-action-secondary);text-decoration:underline}.v2-composer-wrap{flex-shrink:0;padding:12px 32px 16px;width:100%;max-width:824px;margin-inline:auto}.v2-composer{border:1px solid var(--ds-color-border-strong);background:var(--ds-color-surface);border-radius:20px;padding:12px}.v2-composer textarea{border:0;background:transparent;box-shadow:none;min-height:56px;max-height:160px;resize:vertical;font-size:16px}.v2-composer textarea:focus-visible{outline:none;box-shadow:none}.v2-composer:focus-within{outline:2px solid var(--ds-color-border-strong);outline-offset:2px}.v2-composer-actions{display:flex;align-items:center;gap:12px;justify-content:space-between;padding-top:8px}.v2-composer-actions>span{font-size:12px;color:var(--ds-color-text-muted)}.v2-response-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;padding-bottom:8px}.v2-error{padding:12px 24px;color:var(--ds-color-danger)}.v2-notices:empty{display:none}.v2-notices{padding-inline:24px;flex-shrink:0}.v2-memory-notice{padding:4px 24px;flex-shrink:0}.v2-memory-notice button{max-width:100%;white-space:normal;text-align:left}.v2-personal{overflow-y:auto;min-height:0;padding:24px 32px 48px}.v2-palette{max-width:768px;margin:0 auto 32px}.v2-palette h2{font-size:20px;font-weight:600;margin-bottom:16px}.v2-palette>div{display:flex;gap:8px;flex-wrap:wrap}.v2-account-page{max-width:480px;margin-inline:auto;display:grid;gap:20px}.v2-message{min-width:0}.v2-message>article+article{margin-top:12px}.v2-message .prose-supergpt h1{font-size:1.5em}.v2-message .prose-supergpt h2{font-size:1.3em}.v2-message .prose-supergpt h3{font-size:1.15em}.v2-message .prose-supergpt pre{font-size:calc(var(--v2-message-font-size, 16px) * .9)}.v2-message .prose-supergpt pre code,.v2-message .prose-supergpt table{font-size:inherit}.v2-shell ::-webkit-scrollbar{width:7px;height:7px}.v2-shell ::-webkit-scrollbar-thumb{background:var(--ds-color-border-strong);border-radius:8px}.v2-drawer{padding:0;overflow:hidden}.v2-drawer .v2-nav{padding-top:28px}@media (max-width:767px){.v2-shell{display:block}.v2-sidebar{display:none}.v2-main{height:100%}.v2-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:8px 12px 12px}.v2-menu{display:inline-flex;grid-column:1;grid-row:1}.v2-header>[aria-label="Цветовая тема"]{grid-column:2;grid-row:1;justify-self:end}.v2-heading{grid-column:1;grid-row:2;font-size:14px}.v2-heading p{display:none}.v2-reading{grid-column:2;grid-row:2;justify-self:end}.v2-history{padding:20px 16px}.v2-composer-note{padding:12px}.v2-composer-wrap{padding:8px 12px 12px}.v2-composer-actions>span{font-size:11px}.v2-personal{padding:20px 12px 32px}.v2-notices{padding-inline:12px}.v2-welcome h2{font-size:24px}}.v2-gallery{overflow-y:auto;min-height:0;flex:1;padding:28px 32px}.v2-gallery-inner{max-width:1040px;margin-inline:auto}.v2-gallery h2{font-size:26px;font-weight:600}.v2-gallery-intro{margin-top:8px;color:var(--ds-color-text-secondary)}.v2-gallery-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block:28px;flex-wrap:wrap}.v2-gallery-tools [role=group]{display:flex;gap:4px;flex-wrap:wrap}.v2-gallery-search{position:relative;max-width:280px}.v2-gallery-search svg{position:absolute;left:12px;top:14px;color:var(--ds-color-text-muted)}.v2-gallery-search input{padding-left:36px}.v2-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.v2-gallery-card{display:block;width:100%;text-align:left;border:1px solid var(--ds-color-border);border-radius:16px;overflow:hidden;background:var(--ds-color-surface);cursor:pointer}.v2-gallery-card:focus-visible{outline:2px solid var(--ds-color-border-strong);outline-offset:3px}.v2-gallery-preview{aspect-ratio:4/3;background:var(--ds-color-surface-muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;overflow:hidden}.v2-gallery-preview:has(img){padding:0}.v2-gallery-preview img{height:100%;width:100%;object-fit:contain}.v2-gallery-preview strong{overflow-wrap:anywhere;text-align:center}.v2-gallery-preview small{color:var(--ds-color-text-muted)}.v2-gallery-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;font-size:14px}.v2-gallery-caption span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.v2-gallery-caption svg{flex-shrink:0}.v2-gallery-meta{display:flex;justify-content:space-between;gap:8px;margin-top:10px;font-size:12px;color:var(--ds-color-text-muted);flex-wrap:wrap}.v2-gallery-empty{padding:64px 16px;display:grid;justify-items:center;gap:16px;text-align:center}.v2-gallery-footnote{font-size:13px;color:var(--ds-color-text-muted);margin-block:28px}.v2-material-dialog{max-width:900px;max-height:90dvh;overflow-y:auto}.v2-material-dialog h2{overflow-wrap:anywhere}.v2-material-image{width:100%;max-height:60dvh;object-fit:contain}.v2-material-text{max-height:55dvh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.65;background:var(--ds-color-surface-muted);padding:20px;border-radius:12px}.v2-material-actions{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:767px){.v2-gallery{padding:24px 12px}.v2-gallery-grid{grid-template-columns:minmax(0,1fr);gap:24px}.v2-gallery h2{font-size:23px}.v2-gallery-tools{gap:12px}.v2-gallery-search{max-width:none;width:100%}}.v2-attach-button{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:12px;cursor:pointer}.v2-attach-button:focus-within{outline:2px solid var(--ds-color-border-strong)}.v2-attach-button:has(input:disabled){opacity:.5;cursor:default}.v2-attached-files{display:flex;flex-wrap:wrap;gap:8px;max-height:160px;overflow:auto;margin-bottom:8px}.v2-attached-files li{display:flex;align-items:center;gap:8px;max-width:100%;border:1px solid var(--ds-color-border);border-radius:12px;padding-left:10px}.v2-attached-files li>span{overflow-wrap:anywhere;min-width:0;font-size:13px}.v2-attached-files small{display:block;color:var(--ds-color-text-muted);font-size:11px}.v2-attached-files svg{flex-shrink:0}.v2-image-options{display:grid;gap:.65rem;max-height:32dvh;overflow-y:auto;border-bottom:1px solid var(--ds-color-border);padding-bottom:.75rem;margin-bottom:.5rem;font-size:.875rem}.v2-image-options>div{display:flex;flex-wrap:wrap;gap:.4rem}.v2-image-options input{max-width:100%}.v2-voice-status{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-block:.5rem;font-size:.875rem}.v2-test-notice{padding:.5rem 1rem;background:var(--ds-color-surface-muted);color:var(--ds-color-text-secondary);font-size:.75rem}.v2-composer{position:relative}.v2-composer-actions>span{flex:1;min-width:0}.v2-composer-actions>button{flex-shrink:0}.v2-composer-actions>button[aria-label="Начать голосовой ввод"]{margin-left:auto}.v2-image-options{position:absolute;bottom:calc(100% + 8px);left:0;z-index:20;width:100%;max-height:min(40dvh,360px);margin:0;padding:16px;border:1px solid var(--ds-color-border);border-radius:16px;background:var(--ds-color-surface);box-shadow:var(--ds-shadow-md)}@media (max-width:480px){.v2-composer-actions{gap:8px}.v2-composer-actions>span{display:none}}