@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap'); :root { --ink: #000; --muted: rgb(0 0 0 / 58%); --line: rgb(0 0 0 / 16%); --soft-line: rgb(0 0 0 / 9%); --paper: #fff; --white: #fff; --light-purple: #cd82f0; --purple: #5505af; --orange: #ff5f1e; --sidebar: 294px; color: var(--ink); font-family: Söhne, 'Helvetica Neue', Arial, sans-serif; font-synthesis: none; } * { box-sizing: border-box; } html, body, #app { height: 100%; min-height: 0; margin: 0; } body { background: var(--paper); overflow: hidden; } button, input, textarea { font: inherit; } button, label { -webkit-tap-highlight-color: transparent; } button { color: inherit; } svg { width: 18px; height: 18px; } .shell { height: 100%; height: 100dvh; min-height: 0; overflow: hidden; display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); } .sidebar { height: 100%; background: #121310; color: #f2f3ec; padding: 24px 18px 17px; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; z-index: 20; } .brand-row { height: 34px; display: flex; align-items: center; padding: 0 4px; } .brand-link { display: inline-flex; align-items: center; color: inherit; } .brand-logo { display: block; width: 86px; height: auto; } .sidebar-close { display: none !important; margin-left: auto; } .new-chat { margin: 27px 0 24px; height: 44px; border: 1px solid #3b3d36; color: white; background: transparent; border-radius: 11px; display: flex; align-items: center; gap: 10px; padding: 0 14px; cursor: pointer; transition: .2s; } .new-chat:hover { background: #23251f; border-color: #62655a; } .sidebar-spacer { height: 51px; } .side-section { border-top: 1px solid #2e302a; padding: 22px 5px 18px; } .section-label { font: 500 10px/1.2 'JetBrains Mono', monospace; letter-spacing: .12em; color: #8d9085; } .model-name { display: flex; align-items: center; justify-content: space-between; gap: 9px; color: #f2f3ec; text-decoration: none; font-size: 14px; font-weight: 600; } .model-identity { display: flex; align-items: center; gap: 9px; min-width: 0; } .model-orb { width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; background: radial-gradient(circle at 70% 30%, #fff 0 7%, var(--light-purple) 10% 34%, var(--purple) 66%, #000 72%); } .model-name > span:last-child { color: #74776d; font: 13px/1 'JetBrains Mono', monospace; transition: color .15s, transform .15s; } .model-name:hover > span:last-child { color: var(--light-purple); transform: translate(1px, -1px); } .load-button { width: 100%; border: 0; border-radius: 8px; background: var(--light-purple); color: #000; height: 38px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; cursor: pointer; } .load-button:disabled { cursor: wait; opacity: .85; } .load-button svg { width: 15px; } .progress-track { height: 3px; background: #32352c; border-radius: 4px; margin-top: 11px; overflow: hidden; } .progress-track span { height: 100%; display: block; background: var(--light-purple); transition: width .25s; } .progress-file { font: 9px/1.4 'JetBrains Mono', monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #8e9186; margin-top: 6px; } .runtime-pill { display: inline-flex; align-items: center; gap: 7px; color: #afb2a7; font-size: 11px; background: #20221d; border: 1px solid #32352d; border-radius: 99px; padding: 7px 9px; } .runtime-pill span { width: 6px; height: 6px; border-radius: 50%; background: #777; } .runtime-pill.good span { background: var(--light-purple); box-shadow: 0 0 7px var(--light-purple); } .runtime-pill.loading span { background: var(--light-purple); animation: pulse 1.2s ease-in-out infinite; } .examples-side { flex: 1 1 auto; min-height: 100px; overflow-y: auto; } .example-row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; width: 100%; border: 0; background: transparent; color: #d2d4cb; text-align: left; padding: 10px 0; cursor: pointer; } .example-row img { width: 52px; height: 44px; object-fit: cover; border-radius: 7px; border: 1px solid #3b3d36; } .example-row span { font-size: 10px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .example-row small { display: block; color: #7f8278; font: 8px 'JetBrains Mono', monospace; text-transform: uppercase; margin-bottom: 4px; } .example-row:disabled, .example-card:disabled { cursor: not-allowed; opacity: .48; transform: none; box-shadow: none; } .sidebar-bottom { flex: 0 0 auto; margin-top: auto; border-top: 1px solid #2e302a; padding-top: 10px; } .side-link { width: 100%; min-height: 36px; padding: 0 6px; display: flex; align-items: center; gap: 10px; border: 0; background: none; text-decoration: none; color: #9da095; font-size: 11px; cursor: pointer; } .side-link:hover { color: white; } .side-link svg { width: 15px; } .status-dot { width: 7px; height: 7px; border-radius: 50%; background: #777a71; margin-left: auto; } .status-dot.online { background: var(--light-purple); box-shadow: 0 0 7px var(--light-purple); } .main { height: 100%; min-width: 0; min-height: 0; overflow: hidden; display: grid; grid-template-rows: 58px minmax(0, 1fr) auto; background: #fff; position: relative; } .topbar { border-bottom: 1px solid var(--soft-line); display: flex; align-items: center; justify-content: flex-end; padding: 0 28px; } .topbar-status, .runtime-status { font: 10px 'JetBrains Mono', monospace; color: #777970; letter-spacing: .02em; } .topbar-status { display: flex; align-items: center; gap: 7px; margin-right: 22px; } .privacy-dot { width: 6px; height: 6px; background: var(--purple); border-radius: 50%; } .runtime-status { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 10px; } .runtime-status .status-dot { margin: 0; } .menu-button, .mobile-brand { display: none !important; } .icon-button { width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; } .icon-button:hover, .icon-button.active { background: #eff0e9; } .conversation { overflow-y: auto; min-height: 0; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d9dad3 transparent; } .welcome { width: min(790px, calc(100% - 48px)); min-height: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 54px 0 30px; } .welcome h1, .loader-card h1 { font: 500 clamp(42px, 5.1vw, 67px)/.98 Söhne, 'Helvetica Neue', Arial, sans-serif; letter-spacing: -.03em; text-align: center; margin: 0 0 18px; } .welcome h1 { display: flex; align-items: center; justify-content: center; gap: clamp(15px, 1.5vw, 23px); } .hero-mark { width: clamp(42px, 4.6vw, 62px); height: auto; flex: 0 0 auto; } .welcome h1 em, .loader-card h1 em { font-style: normal; color: var(--purple); } .hero-copy { max-width: 610px; text-align: center; color: #686b61; font-size: 14px; line-height: 1.6; margin: 0 0 36px; } .example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; width: 100%; } .example-card { border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; text-align: left; padding: 0; cursor: pointer; transition: transform .2s, box-shadow .2s; } .example-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 13px) / 2); justify-self: center; } .example-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px #28291d12; } .example-card img { width: 100%; height: 112px; object-fit: cover; display: block; } .example-card > span { display: grid; grid-template-columns: 1fr 20px; padding: 13px 15px 15px; font-size: 11px; line-height: 1.45; } .example-card small { grid-column: 1 / -1; font: 8px 'JetBrains Mono', monospace; letter-spacing: .08em; color: #8c8f84; text-transform: uppercase; margin-bottom: 5px; } .example-card svg { grid-column: 2; grid-row: 2; color: var(--purple); width: 15px; } .examples-coming-soon { width: 100%; min-height: 118px; border: 1px dashed rgb(0 0 0 / 28%); border-radius: 14px; display: grid; place-items: center; color: #8a8d83; font: 10px 'JetBrains Mono', monospace; letter-spacing: .02em; } .examples-coming-soon.compact { min-height: 72px; margin-top: 13px; border-color: rgb(255 255 255 / 24%); color: #85887d; border-radius: 9px; } .messages { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 46px 0 112px; } .message { display: grid; grid-template-columns: 88px 1fr; gap: 24px; border-bottom: 1px solid var(--soft-line); padding: 29px 0; } .message:first-child { padding-top: 0; } .message-label { font: 500 10px 'JetBrains Mono', monospace; color: #74776d; display: flex; gap: 7px; align-items: flex-start; padding-top: 3px; } .message-label img { width: 14px; height: 14px; } .message.assistant .message-label { color: var(--purple); } .message-content { min-width: 0; position: relative; } .message-text { font-size: 14px; line-height: 1.75; color: #30322c; overflow-wrap: anywhere; } .message-text.plain-text { white-space: pre-wrap; } .markdown-body > :first-child { margin-top: 0; } .markdown-body > :last-child { margin-bottom: 0; } .markdown-body p, .markdown-body ul, .markdown-body ol, .markdown-body blockquote, .markdown-body pre, .markdown-body table { margin: 0 0 12px; } .markdown-body ul, .markdown-body ol { padding-left: 22px; } .markdown-body li + li { margin-top: 3px; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4 { margin: 18px 0 8px; color: #22241f; line-height: 1.3; } .markdown-body h1 { font-size: 20px; } .markdown-body h2 { font-size: 17px; } .markdown-body h3, .markdown-body h4 { font-size: 15px; } .markdown-body a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; } .markdown-body blockquote { padding-left: 12px; border-left: 3px solid rgb(85 5 175 / 28%); color: #66695f; } .markdown-body code { padding: 2px 4px; border-radius: 4px; background: #f1f0ec; font: 12px/1.5 'JetBrains Mono', monospace; } .markdown-body pre { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f7f7f3; overflow: auto; } .markdown-body pre code { padding: 0; background: transparent; } .markdown-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; } .markdown-body th, .markdown-body td { padding: 7px 9px; border: 1px solid var(--line); text-align: left; } .response-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgb(85 5 175 / 18%); border-top-color: var(--purple); border-radius: 50%; animation: spin .75s linear infinite; vertical-align: middle; } .message-images { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; } .image-enlarge { display: block; border: 0; padding: 0; background: transparent; cursor: zoom-in; text-align: left; } .overlay-image { display: block; position: relative; width: fit-content; max-width: 100%; } .overlay-image > img { display: block; max-width: 100%; } .message-images .image-enlarge { max-width: min(230px, 100%); } .message-images img { width: 100%; height: auto; max-height: 220px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #f6f6f2; } .edit-message { border: 0; background: transparent; color: #8a8d83; padding: 8px 0 0; display: flex; gap: 5px; align-items: center; font-size: 10px; cursor: pointer; } .edit-message svg { width: 12px; } .composer-zone { width: min(820px, calc(100% - 48px)); justify-self: center; padding: 7px 0 14px; position: relative; } .composer-zone::before { content: ''; position: absolute; left: -30px; right: -30px; bottom: 0; top: -45px; pointer-events: none; background: linear-gradient(transparent, #fff 42%); z-index: 0; } .composer { min-height: 106px; border: 1px solid #d4d5ce; background: white; border-radius: 16px; box-shadow: 0 8px 28px #28291d12; padding: 15px 16px 11px; position: relative; z-index: 2; } .composer.drag-active { border-color: var(--purple); background: rgb(205 130 240 / 7%); box-shadow: 0 0 0 4px rgb(85 5 175 / 10%), 0 8px 28px #28291d12; } .composer textarea { display: block; width: 100%; min-height: 42px; max-height: 180px; resize: none; border: 0; outline: 0; color: var(--ink); background: transparent; line-height: 1.5; font-size: 13px; } .composer textarea::placeholder { color: #9a9c94; } .composer-actions { display: flex; align-items: center; min-height: 33px; } .composer-tools { display: flex; gap: 2px; } .composer-tools .icon-button { width: 30px; height: 30px; color: #777a70; } .composer-tools svg { width: 16px; } .composer-hint { margin-left: auto; margin-right: 11px; color: #a0a299; font: 9px 'JetBrains Mono', monospace; } .send-button { border: 0; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #181916; color: white; cursor: pointer; } .send-button:hover { background: var(--purple); } .send-button svg { width: 15px; } .stop-button { background: #181916; } .stop-symbol { width: 11px; height: 11px; border-radius: 1px; background: white; } .local-note { position: relative; z-index: 1; text-align: center; color: #9a9d93; font: 9px 'JetBrains Mono', monospace; margin: 9px 0 0; } .attachment-strip { position: relative; z-index: 1; display: flex; gap: 8px; padding: 9px 12px 10px; overflow-x: auto; } .attachment { width: 65px; height: 55px; flex: 0 0 auto; border: 2px solid white; outline: 1px solid #d3d4cc; border-radius: 9px; position: relative; } .attachment .image-enlarge, .attachment .overlay-image { width: 100%; height: 100%; } .attachment img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; } .attachment .attachment-remove { position: absolute; z-index: 2; top: -7px; right: -7px; width: 18px; height: 18px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #171815; color: white; cursor: pointer; padding: 0; } .attachment .attachment-remove svg { width: 10px; } .error-banner { z-index: 3; position: relative; display: flex; justify-content: space-between; align-items: center; background: #fff0ec; border: 1px solid #efb7aa; color: #8d3422; border-radius: 9px; padding: 9px 12px; font-size: 11px; margin-bottom: 8px; } .error-banner button { border: 0; background: transparent; color: inherit; padding: 0; cursor: pointer; } .error-banner svg { width: 14px; } .settings-popover { position: absolute; z-index: 3; left: 10px; bottom: 54px; width: 310px; background: white; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 18px 50px #22231825; padding: 16px; } .popover-title { font-size: 12px; font-weight: 600; margin-bottom: 15px; } .settings-popover > label { display: block; margin-top: 13px; } .settings-popover label > span { display: flex; justify-content: space-between; font-size: 10px; color: #62655b; } .settings-popover output { font-family: 'JetBrains Mono', monospace; } .settings-popover input[type=range] { width: 100%; accent-color: #7569ed; } .toggle-row { display: flex !important; justify-content: space-between; align-items: center; border-top: 1px solid var(--soft-line); padding-top: 13px; } .toggle-row > span { display: block !important; } .toggle-row b { display: block; font-size: 10px; color: #34362f; } .toggle-row small { display: block; margin-top: 3px; font-size: 8px; color: #8c8e86; max-width: 220px; } .toggle-row input { accent-color: #7569ed; } .drawer-scrim, .modal-scrim { position: fixed; inset: 0; background: #11120f66; backdrop-filter: blur(3px); z-index: 110; } .drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: #fbfbf8; padding: 27px; box-shadow: -20px 0 60px #11120f25; overflow-y: auto; } .drawer-head { display: flex; align-items: flex-start; justify-content: space-between; } .drawer-head h2 { font: 600 25px Söhne, 'Helvetica Neue', Arial, sans-serif; margin: 5px 0 0; letter-spacing: -.03em; } .secondary-button { height: 38px; border: 1px solid var(--line); background: white; border-radius: 8px; padding: 0 13px; font-size: 10px; display: flex; gap: 7px; align-items: center; cursor: pointer; } .secondary-button svg { width: 14px; } .secondary-button:disabled { cursor: not-allowed; opacity: .5; } .drawer-intro { color: #6f7268; font-size: 11px; line-height: 1.55; margin: 18px 0 24px; } .tool-section-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 9px; font-size: 11px; font-weight: 600; } .tool-section-head small { color: #898c82; font: 8px 'JetBrains Mono', monospace; } .tool-section-head button { border: 0; background: none; color: var(--purple); font-size: 10px; cursor: pointer; } .tool-config-list { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: white; } .tool-config-list.custom { margin-top: 10px; } .tool-config-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: start; padding: 13px; border-bottom: 1px solid var(--soft-line); } .tool-config-row > div:nth-child(2) { min-width: 0; } .tool-config-row:last-child { border-bottom: 0; } .tool-config-row strong { display: block; font: 600 11px 'JetBrains Mono', monospace; } .tool-config-row p { color: #6f7268; font-size: 9px; line-height: 1.45; margin: 4px 0; } .tool-config-row small { color: #979a90; font-size: 8px; } .tool-definition { margin-top: 8px; } .tool-definition summary { width: fit-content; color: var(--purple); cursor: pointer; list-style-position: inside; font: 8px 'JetBrains Mono', monospace; } .tool-definition pre { max-width: 100%; max-height: 260px; margin: 8px 0 0; padding: 9px; overflow: auto; border: 1px solid var(--soft-line); border-radius: 7px; background: #f6f6f2; color: #4f5249; white-space: pre-wrap; overflow-wrap: anywhere; font: 8px/1.55 'JetBrains Mono', monospace; } .switch input { position: absolute; opacity: 0; pointer-events: none; } .switch i { display: block; width: 30px; height: 17px; border-radius: 9px; background: #d5d6cf; position: relative; cursor: pointer; transition: .15s; } .switch i::after { content: ''; position: absolute; width: 13px; height: 13px; left: 2px; top: 2px; border-radius: 50%; background: white; transition: .15s; box-shadow: 0 1px 3px #0003; } .switch input:checked + i { background: var(--purple); } .switch input:checked + i::after { transform: translateX(13px); } .inline-form-error { color: #8d3422; background: #fff0ec; border: 1px solid #efb7aa; border-radius: 7px; padding: 8px 9px; margin-bottom: 11px; font-size: 9px; line-height: 1.45; } .primary-small { min-height: 36px; border: 0; border-radius: 8px; background: #171815; color: white; padding: 0 14px; font-size: 10px; cursor: pointer; } .mcp-server-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; } .mcp-server-form input { min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; outline: none; color: #252720; background: white; font: 9px/1.4 'JetBrains Mono', monospace; } .mcp-server-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgb(85 5 175 / 10%); } .mcp-server-form .secondary-button { min-height: 36px; } .mcp-error { margin: 8px 0 0; } .mcp-tools { margin-top: 9px; } .tool-privacy-note { margin-top: 19px; border-radius: 9px; background: rgb(205 130 240 / 16%); color: #4c1a83; padding: 12px; font-size: 9px; line-height: 1.55; } .system-prompt-inline { margin: -3px 0 8px; padding-bottom: 7px; border-bottom: 1px solid transparent; } .system-prompt-inline.open { border-bottom-color: var(--soft-line); } .composer-context-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .system-prompt-toggle { min-height: 29px; margin: 0; padding: 0 9px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 7px; background: #fafaf7; color: #686b61; cursor: pointer; font: 8px 'JetBrains Mono', monospace; } .system-prompt-toggle:hover, .system-prompt-toggle.enabled, .system-prompt-inline.open .system-prompt-toggle { color: var(--purple); border-color: rgb(85 5 175 / 38%); background: rgb(205 130 240 / 9%); } .tool-calling-toggle { min-height: 29px; margin: 0 0 0 auto; padding: 0 9px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 7px; background: #fafaf7; color: #686b61; cursor: pointer; font: 8px 'JetBrains Mono', monospace; } .tool-calling-toggle:hover, .tool-calling-toggle.enabled { color: var(--purple); border-color: rgb(85 5 175 / 38%); background: rgb(205 130 240 / 9%); } .tool-calling-toggle > span:last-child { font: 14px/1 Arial, sans-serif; } .system-prompt-chevron { display: inline-block; color: currentColor; font: 12px/1 Arial, sans-serif; transition: transform .16s; } .system-prompt-inline.open .system-prompt-chevron { transform: rotate(180deg); } .system-prompt-form { margin-top: 5px; } .system-prompt-presets { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; } .system-prompt-presets > span { margin-right: 2px; color: #999c92; font: 7px 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .05em; } .system-prompt-presets button { min-height: 27px; padding: 0 9px; border: 1px solid var(--line); border-radius: 99px; background: white; color: #686b61; cursor: pointer; font-size: 8px; } .system-prompt-presets button:hover, .system-prompt-presets button.active { border-color: rgb(85 5 175 / 38%); background: rgb(205 130 240 / 9%); color: var(--purple); } .system-prompt-form textarea { width: 100%; max-height: 190px; padding: 10px; resize: vertical; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: #252720; background: #fafaf7; font: 10px/1.55 'JetBrains Mono', monospace; } .system-prompt-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgb(85 5 175 / 10%); } .system-prompt-meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; color: #999c92; font: 7px 'JetBrains Mono', monospace; } .system-prompt-actions { display: flex; gap: 5px; margin-left: auto; } .system-prompt-actions button { min-height: 27px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: white; color: #686b61; cursor: pointer; font-size: 8px; } .system-prompt-actions button[type=submit] { border-color: #181916; background: #181916; color: white; } .grounding-results { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--soft-line); } .grounding-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 9px; color: var(--purple); cursor: pointer; list-style: none; font: 600 9px 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .06em; } .grounding-heading::-webkit-details-marker { display: none; } .grounding-heading > span { display: flex; align-items: center; gap: 7px; min-width: 0; } .grounding-heading svg { width: 14px; } .grounding-heading small { color: #92958b; font: 8px 'JetBrains Mono', monospace; letter-spacing: 0; text-transform: none; } .grounding-heading > i { font: 17px/1 Arial, sans-serif; transition: transform .16s; } .grounding-results[open] .grounding-heading > i { transform: rotate(90deg); } .grounding-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 280px)); align-items: start; gap: 13px; margin-top: 11px; } .grounding-results figure { width: 100%; margin: 0; } .grounding-image { width: 100%; } .grounding-image .overlay-image { width: fit-content; max-width: 100%; } .grounding-image img { width: auto; height: auto; max-width: 100%; max-height: 260px; border: 1px solid var(--line); border-radius: 10px; background: #f6f6f2; } .grounding-results figcaption { margin-top: 6px; color: #85887d; font: 8px 'JetBrains Mono', monospace; } .document-region-list { display: grid; gap: 5px; max-height: 280px; margin-top: 9px; overflow: auto; } .document-region-list > div { display: grid; grid-template-columns: 18px minmax(62px, 82px) minmax(0, 1fr); gap: 7px; align-items: start; padding: 7px 8px; border: 1px solid var(--soft-line); border-radius: 7px; background: #fafaf7; } .document-region-list span { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: white; font: 7px 'JetBrains Mono', monospace; } .document-region-list strong { color: var(--purple); font: 8px/1.6 'JetBrains Mono', monospace; } .document-region-list p { min-width: 0; margin: 0; color: #5d6056; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 9px; line-height: 1.45; } .grounding-overlay { position: absolute; inset: 0; pointer-events: none; } .grounding-box { position: absolute; border: 1.5px solid var(--light-purple); box-shadow: 0 0 0 1px rgb(0 0 0 / 35%), inset 0 0 0 1px rgb(0 0 0 / 20%); } .grounding-label { position: absolute; left: -1px; top: -1px; max-width: 180px; padding: 3px 5px; background: var(--purple); color: white; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 9px/1.2 'JetBrains Mono', monospace; transform: translateY(-100%); } .grounding-point { position: absolute; width: 0; height: 0; } .grounding-point > i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border: 2px solid white; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 1px rgb(0 0 0 / 55%); } .grounding-point > b { position: absolute; left: -4px; top: -4px; width: 8px; color: white; text-align: center; font: 600 6px/8px 'JetBrains Mono', monospace; } .grounding-point .grounding-label { left: 9px; top: 0; transform: translateY(-50%); } .lightbox-scrim { z-index: 140; background: rgb(10 10 9 / 88%); } .lightbox { position: relative; display: grid; place-items: center; width: min(94vw, 1400px); height: min(92dvh, 1000px); } .lightbox > .overlay-image { width: auto; max-width: 100%; max-height: 100%; } .lightbox > .overlay-image > img { width: auto; max-width: 100%; max-height: 92dvh; object-fit: contain; } .lightbox-close { position: fixed; z-index: 2; right: 22px; top: 20px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 25%); border-radius: 50%; background: rgb(0 0 0 / 42%); color: white; cursor: pointer; } .lightbox-close svg { width: 18px; } .tool-call-list, .tool-result-list { display: grid; gap: 8px; margin-top: 12px; } .tool-call-card, .tool-result-card { border: 1px solid var(--line); border-radius: 9px; background: #fafaf7; overflow: hidden; } .tool-call-card > div, .tool-result-card > div { display: flex; align-items: center; gap: 7px; padding: 9px 11px; } .tool-call-card strong, .tool-result-card strong { font: 600 10px 'JetBrains Mono', monospace; } .tool-call-card small, .tool-result-card span { margin-left: auto; color: #85887d; font: 8px 'JetBrains Mono', monospace; } .tool-state { width: 7px; height: 7px; border-radius: 50%; background: #9a9c94; } .tool-call-card.running .tool-state { background: var(--purple); box-shadow: 0 0 0 3px rgb(205 130 240 / 25%); } .tool-call-card.success .tool-state { background: var(--purple); } .tool-call-card.error .tool-state { background: var(--orange); } .tool-call-card pre, .tool-result-card pre { margin: 0; padding: 10px 11px; border-top: 1px solid var(--soft-line); background: white; color: #4f5249; overflow: auto; white-space: pre-wrap; font: 9px/1.5 'JetBrains Mono', monospace; } .tool-raw-output { min-width: 0; max-width: 100%; border-top: 1px solid var(--soft-line); background: #fffaf4; overflow: hidden; } .tool-raw-output summary { padding: 8px 11px; cursor: pointer; color: #7b5a36; font: 8px 'JetBrains Mono', monospace; } .tool-raw-output pre { box-sizing: border-box; width: 100%; max-width: 100%; max-height: 240px; margin: 0; padding: 10px 11px; overflow: auto; border: 0; border-top: 1px solid #eee2d2; background: #fffdf9; color: #4f5249; white-space: pre; overflow-wrap: normal; font: 9px/1.5 'JetBrains Mono', monospace; } .tool-result-card.success { border-left: 3px solid var(--purple); } .tool-result-card.error { border-left: 3px solid var(--orange); } .message.tool .message-label { color: #777970; } .loader-screen { position: fixed; inset: 0; z-index: 100; background: #11120f; display: grid; place-items: center; overflow: auto; padding: 30px; color: white; } .loader-screen::before { content: ''; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(#ffffff09 1px, transparent 1px), linear-gradient(90deg, #ffffff09 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(circle, black, transparent 72%); } .loader-glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgb(205 130 240 / 24%), rgb(85 5 175 / 12%) 35%, transparent 68%); } .loader-card { width: min(450px, 100%); position: relative; text-align: center; } .loader-brand { display: flex; align-items: center; justify-content: center; } .loader-brand img { width: 96px; height: auto; } .loader-orb { width: 51px; height: 51px; margin: 42px auto 20px; border-radius: 50%; background: radial-gradient(circle at 65% 25%, #fff, var(--light-purple) 28%, var(--purple) 64%, #000); box-shadow: 0 0 38px rgb(205 130 240 / 42%); } .loader-card .eyebrow { justify-content: center; color: #a5a89c; } .loader-card h1 { font-size: clamp(41px, 6vw, 58px); margin: 15px 0; } .loader-card > p { color: #aaada1; font-size: 12px; line-height: 1.65; max-width: 390px; margin: 0 auto 27px; } .browser-performance-note { max-width: 390px; margin: -12px auto 20px; padding: 10px 11px; display: flex; align-items: flex-start; gap: 8px; border: 1px solid #393b34; border-radius: 8px; color: #aaada1; text-align: left; font-size: 9px; line-height: 1.5; } .browser-performance-note svg { width: 14px; flex: 0 0 14px; color: var(--light-purple); } .model-loader { text-align: left; } .load-model-button { width: 100%; height: 47px; margin-top: 4px; border-radius: 9px; border: 0; background: var(--light-purple); color: #000; font-weight: 700; font-size: 12px; display: flex; justify-content: center; gap: 10px; align-items: center; cursor: pointer; } .load-model-button:disabled { cursor: wait; opacity: .9; } .load-model-button svg { width: 15px; } .load-model-button b { margin-left: auto; margin-right: 14px; font: 600 10px 'JetBrains Mono', monospace; } .model-loader .spinner { border-color: rgb(0 0 0 / 20%); border-top-color: #000; } .loader-progress { height: 4px; border-radius: 3px; background: #30322b; overflow: hidden; margin-top: 12px; } .loader-progress span { display: block; height: 100%; background: var(--light-purple); transition: width .25s; } .loader-progress-file { color: #7f8277; font: 9px/1.4 'JetBrains Mono', monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 8px; } .loader-cache-note { color: #777a70; text-align: center; font: 8px/1.5 'JetBrains Mono', monospace; margin-top: 10px; } .loader-precision-note { color: var(--light-purple); text-align: center; font: 8px/1.5 'JetBrains Mono', monospace; margin-top: 7px; } .loader-error { color: #ffb59a; background: rgb(255 95 30 / 10%); border: 1px solid rgb(255 95 30 / 35%); border-radius: 8px; padding: 10px 12px; margin: -10px 0 14px; font-size: 10px; line-height: 1.5; text-align: left; } .modal-scrim { display: grid; place-items: center; padding: 24px; } .cache-modal { width: min(420px, 100%); padding: 22px; border-radius: 16px; background: #fbfbf8; box-shadow: 0 24px 80px rgb(0 0 0 / 18%); } .cache-modal > p { margin: 18px 0; color: #6f7268; font-size: 11px; line-height: 1.55; } .cache-total { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; } .cache-total strong { font: 600 11px 'JetBrains Mono', monospace; } .cache-clear { margin-top: 18px; } .webcam-modal { width: min(660px, 100%); background: #fbfbf8; border-radius: 18px; padding: 22px; } .video-frame { aspect-ratio: 16/10; margin-top: 19px; border-radius: 12px; overflow: hidden; background: #151612; position: relative; display: grid; place-items: center; } .video-frame video { width: 100%; height: 100%; object-fit: cover; position: absolute; transform: scaleX(-1); } .camera-wait { color: #8d9085; font: 10px 'JetBrains Mono', monospace; } .capture-button { width: 100%; height: 43px; border: 0; border-radius: 9px; background: #191a17; color: white; margin-top: 14px; display: flex; justify-content: center; align-items: center; gap: 9px; cursor: pointer; } .spinner { width: 13px; height: 13px; border: 2px solid #1b1c1740; border-top-color: #1b1c17; border-radius: 50%; animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } @keyframes pulse { 50% { opacity: .35; } } @media (max-width: 800px) { :root { --sidebar: min(310px, 88vw); } .shell { display: block; } .sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); transform: translateX(-102%); transition: transform .25s; box-shadow: 20px 0 55px #11130f45; } .sidebar.open { transform: translateX(0); } .sidebar-close { display: inline-flex !important; color: white; } .main { height: 100%; } .topbar { justify-content: space-between; padding: 0 14px; } .menu-button { display: inline-flex !important; } .mobile-brand { display: flex !important; align-items: center; gap: 8px; font: 600 12px Söhne, 'Helvetica Neue', Arial, sans-serif; } .mobile-brand img { width: 17px; } .topbar-status { display: none; } .welcome { width: calc(100% - 28px); padding-top: 35px; justify-content: flex-start; } .welcome h1 { font-size: 40px; } .hero-copy { font-size: 12px; margin-bottom: 24px; } .example-grid { grid-template-columns: 1fr; } .example-card:last-child:nth-child(odd) { width: 100%; } .example-card img { height: 92px; } .messages { width: calc(100% - 28px); padding-top: 25px; } .message { display: block; padding: 21px 0; } .message-label { margin-bottom: 12px; } .composer-zone { width: calc(100% - 20px); padding-bottom: 8px; } .composer-hint { display: none; } .system-prompt-meta { align-items: flex-start; flex-wrap: wrap; } .settings-popover { left: 4px; width: calc(100% - 8px); } .local-note { font-size: 8px; } .loader-screen { padding: 24px 18px; } .loader-card h1 { font-size: 40px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }