:root{--contexx-effort-gradient:linear-gradient(90deg,#c5d5b6 0%,#465d64 100%)}.contexx-chat-surface{background:#fff}.dark .contexx-chat-surface{background:var(--background)}.contexx-composer{border:1px solid var(--border);background:var(--card);min-width:0;max-width:440px;color:var(--foreground);font-family:var(--font-sans),sans-serif;border-radius:16px;margin-inline:auto;padding:11px;box-shadow:0 2px 5px #00000003,0 12px 35px #00000005;container-type:inline-size}.contexx-composer:focus-within{border-color:var(--ring)}.contexx-composer-input{white-space:pre-wrap;overflow-wrap:anywhere;background:0 0;outline:none;width:100%;min-height:76px;max-height:180px;font-size:13px;line-height:1.6;overflow-y:auto}.contexx-composer-input p{min-height:1.6em;margin:0}.contexx-composer-input p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--muted-foreground);float:left;pointer-events:none;height:0}.contexx-composer-footer{align-items:center;gap:4px;min-width:0;padding-top:8px;display:flex}.contexx-composer-footer .contexx-composer-send{width:30px;height:30px;color:var(--primary-foreground);background:var(--primary);border-radius:50%;flex-shrink:0;margin-left:4px;padding:0}.contexx-composer-footer .contexx-composer-send:hover:not(:disabled){background:color-mix(in oklch,var(--primary)90%,transparent)}.contexx-composer-send[aria-pressed=true] svg{animation:.85s ease-in-out infinite alternate contexx-listening}.contexx-model-switcher{min-width:0;color:var(--muted-foreground);-webkit-user-select:none;user-select:none;border-radius:7px;align-items:stretch;margin-left:auto;transition:background .13s,box-shadow .13s;display:flex;position:relative}.contexx-model-switcher button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:flex}.contexx-model-switcher button:disabled{opacity:.3;cursor:default}.contexx-model-switcher[data-shortcuts=true]{background:var(--muted);box-shadow:0 0 0 1px var(--border)}.contexx-model-switcher .contexx-model-arrow{border-radius:6px;flex:0 0 30px;width:30px;height:30px}.contexx-model-switcher .contexx-model-trigger{border-radius:6px;flex:0 116px;width:116px;min-width:0;height:30px;padding:0 6px;font-size:12px;line-height:16px}.contexx-model-switcher .contexx-model-arrow:hover:not(:disabled),.contexx-model-switcher .contexx-model-trigger:hover:not(:disabled){background:var(--muted);color:var(--foreground)}.contexx-model-swipe{width:100%;min-width:0;height:16px;display:block;position:relative;overflow:hidden}.contexx-model-value{justify-content:center;align-items:center;gap:8px;min-width:0;display:flex;position:absolute;inset:0}.contexx-model-value>span:first-child{white-space:nowrap;text-overflow:ellipsis;min-width:0;display:block;overflow:hidden}.contexx-effort-meter{flex:0 0 15px;justify-content:center;align-items:center;gap:.77px;width:15px;height:16px;display:inline-flex}.contexx-effort-meter i{opacity:.16;background:currentColor;border-radius:1px;flex:0 0 2.3px;width:2.3px;height:8px}.contexx-effort-meter i[data-filled=true]{background-image:var(--contexx-effort-gradient);background-size:15px 100%;background-position-x:calc(var(--bar-index)*-3.07px);opacity:1}.contexx-model-panel{width:326px;max-width:calc(100vw - 32px);max-height:min(560px,var(--radix-popover-content-available-height));background:var(--popover);color:var(--popover-foreground);font-family:var(--font-sans),sans-serif;-webkit-user-select:none;user-select:none;border:0;border-radius:12px;flex-direction:column;padding:0;font-size:13px;line-height:18px;display:flex;overflow:hidden;box-shadow:0 8px 32px #00000016,0 1px 5px #0000000a}.contexx-model-list{scrollbar-width:thin;flex:auto;min-height:0;max-height:332px;padding:5px 6px 6px;overflow-y:auto}.contexx-model-panel button{color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;display:flex}.contexx-model-row{border-radius:6px;align-items:center;min-height:35px;transition:background .1s;display:flex}.contexx-model-row:hover,.contexx-model-row:focus-within,.contexx-model-row[data-selected=true]{background:var(--muted)}.contexx-model-panel .contexx-model-choice{text-align:left;border-radius:6px;flex:1;justify-content:flex-start;gap:7px;min-width:0;padding:8px 5px 8px 9px;font-size:13px;line-height:18px}.contexx-model-choice:focus-visible{outline:none}.contexx-model-choice:disabled{opacity:.4;cursor:not-allowed}.contexx-model-check{flex-shrink:0;place-items:center;width:16px;display:grid}.contexx-model-choice>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.contexx-model-panel .contexx-model-star{width:30px;height:30px;color:var(--muted-foreground);border-radius:5px;flex-shrink:0;justify-content:center;margin-right:4px;transition:opacity .1s,background .1s}.contexx-model-panel .contexx-model-star:hover{background:var(--border);color:var(--foreground)}.contexx-model-row:not(:hover):not(:focus-within) .contexx-model-star[aria-pressed=false]{opacity:0}.contexx-effort-settings{border-top:1px solid var(--border);flex-shrink:0;padding:10px 14px 11px}.contexx-effort-heading{color:var(--muted-foreground);justify-content:space-between;align-items:center;margin-bottom:7px;font-size:12px;line-height:17px;display:flex}.contexx-effort-heading>span:last-child{font-weight:500}.contexx-effort-slider{isolation:isolate;height:28px;position:relative}.contexx-effort-track{background:var(--border);border-radius:999px;position:absolute;inset:4px 0;overflow:hidden;box-shadow:inset 0 0 0 1px #0000000a}.contexx-effort-track>div{background:var(--contexx-effort-gradient);border-radius:999px 0 0 999px;height:100%;transition:width .13s cubic-bezier(.16,1,.3,1)}.contexx-effort-dots{pointer-events:none;justify-content:space-between;align-items:center;display:flex;position:absolute;inset:0 12px}.contexx-effort-dots span{background:color-mix(in srgb,var(--foreground)25%,transparent);border-radius:50%;width:4px;height:4px}.contexx-effort-dots span[data-filled=true]{background:#ffffff7a}.contexx-effort-thumb{background:var(--card);border:1px solid var(--border);pointer-events:none;border-radius:50%;width:24px;height:24px;transition:left .13s cubic-bezier(.16,1,.3,1);position:absolute;top:2px;transform:translate(-50%);box-shadow:0 1px 3px #00000015}.contexx-effort-slider input{opacity:0;cursor:grab;appearance:none;width:100%;height:28px;margin:0;position:absolute;inset:0}.contexx-effort-slider input::-webkit-slider-thumb{appearance:none;width:24px;height:24px}.contexx-effort-slider input::-moz-range-thumb{border:0;width:24px;height:24px}.contexx-effort-slider input:active{cursor:grabbing}.contexx-effort-slider:has(input:focus-visible) .contexx-effort-thumb{box-shadow:0 0 0 3px color-mix(in srgb,var(--ring)25%,transparent)}.contexx-effort-unavailable{border-top:1px solid var(--border);color:var(--muted-foreground);margin:0;padding:12px 14px;font-size:11px}.contexx-model-hint{white-space:nowrap;background:var(--primary);color:var(--primary-foreground);pointer-events:none;z-index:50;border-radius:5px;padding:5px 8px;font-size:10px;line-height:15px;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}.contexx-mode-trigger{height:30px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;gap:4px;padding:0 7px;font-size:12px;line-height:16px;display:flex}.contexx-mode-trigger:hover:not(:disabled),.contexx-mode-trigger[data-state=open]{background:var(--muted);color:var(--foreground)}.contexx-mode-trigger:disabled{opacity:.4;cursor:default}.contexx-mode-menu{font-family:var(--font-sans),sans-serif;border-radius:9px}.contexx-mode-option{padding-block:8px;font-size:12px;line-height:18px}.contexx-mode-option small{color:var(--muted-foreground);margin-top:1px;font-size:10px;line-height:16px;display:block}@container (max-width:290px){.contexx-model-switcher .contexx-model-trigger{flex-basis:96px;width:96px}.contexx-model-switcher .contexx-model-arrow{flex-basis:24px;width:24px}}@container (max-width:230px){.contexx-model-switcher .contexx-model-trigger{flex-basis:76px;width:76px}.contexx-model-switcher .contexx-model-arrow{flex-basis:20px;width:20px}.contexx-mode-trigger{padding-inline:3px}}@media (prefers-reduced-motion:reduce){.contexx-composer *,.contexx-model-panel *{transition:none!important;animation:none!important}}@keyframes contexx-listening{to{opacity:.5}}
.contexx-chat-surface{--contexx-chat-background:#fff;background:var(--contexx-chat-background)}.dark .contexx-chat-surface{--contexx-chat-background:var(--background)}.contexx-chat-title{color:var(--foreground);letter-spacing:-.04em;text-align:center;margin:0;font-size:clamp(23px,2vw,27px);font-weight:450;line-height:1.3}.contexx-chat-surface .contexx-composer{border-radius:20px;max-width:660px;padding:16px 13px 11px;transition:border-color .2s,box-shadow .2s}.contexx-chat-surface .contexx-composer-input{min-height:45px;font-size:14px;line-height:1.65}.contexx-composer-dock{background:var(--contexx-chat-background);position:relative}.contexx-message-scroll{overscroll-behavior:contain;scrollbar-width:thin}.contexx-message-thread{gap:24px;padding:24px 18px 28px}.contexx-message[data-message-role=user]>div{background:var(--muted);border:0;border-radius:15px 15px 4px;padding:11px 15px;font-size:13px;line-height:1.65}.contexx-message[data-message-role=user]>div>div:last-child{display:none}.contexx-message[data-message-role=assistant]>div{padding-block:0;line-height:1.75}.contexx-message[data-message-role=assistant] .prose-sm>p{margin-bottom:14px;line-height:1.75}.contexx-message[data-message-role=assistant] .prose-sm>h1{margin:24px 0 12px;font-size:20px;font-weight:550}.contexx-message[data-message-role=assistant] .prose-sm>h2{letter-spacing:-.02em;margin:25px 0 10px;font-size:16px;font-weight:550;line-height:1.5}.contexx-message[data-message-role=assistant] .prose-sm>h3{margin:20px 0 9px;font-size:14px;font-weight:550}.contexx-message[data-message-role=assistant] .prose-sm>:first-child{margin-top:0}.contexx-message[data-message-role=assistant] li{margin-block:7px}.contexx-message .contexx-soft-word{animation:.55s cubic-bezier(.2,.65,.3,1) both contexx-word-arrive}.contexx-message [data-reveal-stopped=true] .contexx-soft-word{opacity:1;animation:none}.contexx-response-context{margin-bottom:18px}.contexx-context-trigger{width:100%;color:var(--muted-foreground);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:3px 0;font-size:11px;line-height:20px;display:flex}.contexx-context-trigger:hover{color:var(--foreground)}.contexx-context-trigger>svg{flex-shrink:0}.contexx-context-trigger>svg:last-child{transition:transform .2s}.contexx-context-sources{border:1px solid var(--border);background:color-mix(in srgb,var(--card)45%,transparent);border-radius:10px;max-height:240px;margin-top:8px;padding:4px;overflow-y:auto}.contexx-context-sources>button{width:100%;color:var(--muted-foreground);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:8px;display:flex}.contexx-context-sources>button:hover{background:var(--muted);color:var(--foreground)}.contexx-context-sources>button>svg{flex-shrink:0}.contexx-context-sources>button>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:11px;overflow:hidden}.contexx-context-sources small{flex-shrink:0;font-size:10px}.contexx-chat-surface .contexx-jump-latest{z-index:2;background:var(--card);border-radius:999px;gap:6px;height:30px;font-size:11px;position:absolute;bottom:180px;left:50%;transform:translate(-50%);box-shadow:0 3px 12px #00000008}.contexx-chat-surface :is(.contexx-context-trigger,.contexx-context-sources button):focus-visible{outline:2px solid var(--ring);outline-offset:3px}@keyframes contexx-word-arrive{0%{opacity:0}to{opacity:1}}@media (max-width:767px){.contexx-chat-surface .contexx-composer{border-radius:17px;padding:14px 10px 9px}.contexx-chat-surface .contexx-composer-input{min-height:40px;font-size:13px}.contexx-message-thread{padding:20px 14px 24px}.contexx-message[data-message-role=user]>div{max-width:93%;font-size:12px}.contexx-message[data-message-role=assistant]>div{font-size:13px}}@media (prefers-reduced-motion:reduce){.contexx-chat-surface *,.contexx-chat-surface :before,.contexx-chat-surface :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
