:root,[data-theme=dark]{--bridge:#31c8ef;--bridge-soft:rgb(49 200 239/0.16);--amber-soft:#ffbd6b}[data-theme=light]{--bridge:#0b7fa3;--bridge-soft:rgb(11 127 163/0.12);--amber-soft:#b86a0d}:root{--dur-instant:90ms;--dur-fast:150ms;--dur-base:220ms;--dur-slow:360ms;--ease-out:cubic-bezier(0.22,0.61,0.36,1);--ease-in-out:cubic-bezier(0.65,0,0.35,1);--ease-spring:cubic-bezier(0.34,1.4,0.5,1);--font-arabic-script:"Noto Naskh Arabic","Vazirmatn","Segoe UI","Geeza Pro","Noto Sans Arabic",system-ui,sans-serif}:where(button,a,input,select,textarea,summary,[role=option]):focus-visible{outline:2px solid var(--bridge);outline-offset:2px}:lang(fa),:lang(fa-AF),:lang(ps){font-family:var(--font-arabic-script);letter-spacing:0!important;word-spacing:0;line-height:1.8}.chat-welcome{padding:0 0 20px}.chat-welcome .full-brand{width:112px;height:112px;margin-bottom:18px;border-radius:22px;animation:rise var(--dur-slow) var(--ease-out) both}.chat-welcome .welcome-eyebrow{display:block;font-size:.62rem;letter-spacing:.22em;opacity:.75;animation:rise var(--dur-slow) var(--ease-out) 60ms both}.chat-welcome h1.welcome-line{font-size:clamp(1.6rem,3.4vw,2.35rem);font-weight:600;letter-spacing:-.03em;line-height:1.25;min-height:1.4em;margin:14px auto 8px;max-width:20em;transition:opacity var(--dur-base) var(--ease-out)}.chat-welcome h1.welcome-line:lang(fa-AF),.chat-welcome h1.welcome-line:lang(ps){letter-spacing:0;line-height:1.7}.chat-welcome h1.welcome-line[data-fading=true]{opacity:0}.welcome-caret{display:inline-block;width:2px;height:.95em;margin-inline-start:3px;vertical-align:text-bottom;background:var(--bridge);animation:blink .9s steps(1) infinite}.chat-welcome>div>p{margin-bottom:22px;animation:rise var(--dur-slow) var(--ease-out) .14s both}.chat-welcome .prompt-cards{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:min(100%,720px);margin-inline:auto}.chat-welcome .prompt-cards button{flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;min-height:42px;min-width:0;padding:8px 16px;border-radius:999px;background:transparent;border:1px solid var(--line);font-size:.86rem;font-weight:500;animation:rise var(--dur-slow) var(--ease-out) both;transition:transform var(--dur-fast) var(--ease-out),background var(--dur-fast),border-color var(--dur-fast)}.chat-welcome .prompt-cards button:first-child{animation-delay:.2s}.chat-welcome .prompt-cards button:nth-child(2){animation-delay:.26s}.chat-welcome .prompt-cards button:nth-child(3){animation-delay:.32s}.chat-welcome .prompt-cards button:nth-child(4){animation-delay:.38s}.chat-welcome .prompt-cards button:hover{background:var(--surface);border-color:var(--bridge);transform:translateY(-1px)}.chat-welcome .prompt-cards button:active{transform:scale(.97);transition-duration:var(--dur-instant)}.chat-welcome .prompt-cards svg{margin:0;color:var(--bridge);flex:none}.chat-welcome .welcome-trust{opacity:.8;animation:rise var(--dur-slow) var(--ease-out) .44s both}.chat-composer{transition:border-color var(--dur-base) var(--ease-out),box-shadow var(--dur-base) var(--ease-out)}.chat-composer:focus-within{border-color:var(--bridge);box-shadow:0 0 0 4px var(--bridge-soft)}.chat-app .send-button{transition:transform var(--dur-fast) var(--ease-spring),opacity var(--dur-fast),background var(--dur-fast)}.chat-app .send-button:not(:disabled):hover{transform:scale(1.06)}.chat-app .send-button:not(:disabled):active{transform:scale(.93);transition-duration:var(--dur-instant)}.chat-app .send-button svg{animation:pop var(--dur-base) var(--ease-spring) both}.composer-popover{transform-origin:bottom left;animation:menu-in var(--dur-base) var(--ease-out) both}[dir=rtl] .composer-popover{transform-origin:bottom right}button:active:not(:disabled){transform:scale(.98);transition-duration:var(--dur-instant)}.chat-sidebar a,.recent-chats>div:not(.history-off),.theme-switch,.tool-icon{transition:background var(--dur-fast) var(--ease-out),color var(--dur-fast),transform var(--dur-fast) var(--ease-out)}.theme-switch:hover{transform:rotate(18deg)}.jump-latest{animation:rise var(--dur-base) var(--ease-spring) both}.meaning-check blockquote mark{background:linear-gradient(var(--bridge-soft),var(--bridge-soft)) no-repeat 0 100% /0 100%;color:inherit;border-bottom:2px solid var(--bridge);border-radius:2px;padding:0 2px;animation:sweep .52s var(--ease-out) .12s forwards}.meaning-check blockquote mark:nth-of-type(2){animation-delay:.26s}.meaning-check blockquote mark:nth-of-type(3){animation-delay:.4s}.meaning-check blockquote mark:nth-of-type(4){animation-delay:.54s}.meaning-check blockquote mark:nth-of-type(n+5){animation-delay:.68s}.meaning-findings{animation:rise var(--dur-base) var(--ease-out) both}.toast:not(:empty){animation:rise var(--dur-base) var(--ease-spring) both}.skeleton{position:relative;overflow:hidden;border-radius:8px;background:var(--surface)}.skeleton:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,var(--raised),transparent);animation:shimmer 1.4s ease-in-out infinite}.palette-backdrop{position:fixed;inset:0;z-index:9000;display:grid;place-items:start center;padding:min(14vh,120px) 16px 16px;background:rgb(0 0 0/.5);animation:fade-in var(--dur-fast) ease-out both}.palette{width:min(620px,100%);max-height:min(70vh,560px);display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;background:var(--bg);color:var(--text);box-shadow:0 24px 80px rgb(0 0 0/.45);overflow:hidden;animation:menu-in var(--dur-base) var(--ease-out) both;transform-origin:top center}.palette-input{width:100%;min-height:54px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:inherit;padding:0 18px;font-size:1rem}.palette-input:focus-visible{outline:none}.palette-list{list-style:none;margin:0;padding:6px;overflow-y:auto;overscroll-behavior:contain}.palette-list li{margin:0}.palette-group{padding:10px 12px 4px;font-size:.66rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}.palette-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:8px 12px;border-radius:10px;cursor:pointer;font-size:.92rem}.palette-item[data-active=true]{background:var(--surface);box-shadow:inset 2px 0 0 var(--bridge)}[dir=rtl] .palette-item[data-active=true]{box-shadow:inset -2px 0 0 var(--bridge)}.palette-item kbd{font:inherit;font-size:.7rem;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:1px 6px}.palette-empty{padding:18px 12px;color:var(--muted);text-align:center;font-size:.9rem}.palette-foot{display:flex;gap:16px;padding:8px 14px;border-top:1px solid var(--line);font-size:.7rem;color:var(--muted)}.app-error{display:grid;place-content:center;gap:12px;min-height:60vh;padding:24px;text-align:center}.app-error h1{font-size:1.4rem;margin:0}.app-error p{margin:0 auto;max-width:32em;color:var(--muted)}.app-error button{justify-self:center}::view-transition-new(root),::view-transition-old(root){animation:none;mix-blend-mode:normal}::view-transition-new(root){animation:reveal .52s var(--ease-in-out) both}::view-transition-old(root){z-index:0}::view-transition-new(root){z-index:1}@keyframes reveal{0%{clip-path:circle(0 at var(--reveal-x,100%) var(--reveal-y,0))}to{clip-path:circle(var(--reveal-r,150vmax) at var(--reveal-x,100%) var(--reveal-y,0))}}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes menu-in{0%{opacity:0;transform:scale(.96) translateY(4px)}to{opacity:1;transform:none}}@keyframes pop{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}@keyframes sweep{to{background-size:100% 100%}}@keyframes shimmer{to{transform:translateX(100%)}}@keyframes blink{50%{opacity:0}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.001ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}::view-transition-group(*),::view-transition-new(*),::view-transition-old(*){animation:none!important}.meaning-check blockquote mark{background-size:100% 100%}.skeleton:after,.welcome-caret{display:none}}html[data-motion=false] *,html[data-motion=false] :after,html[data-motion=false] :before{animation-duration:.001ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.001ms!important}html[data-motion=false] .meaning-check blockquote mark{background-size:100% 100%}@media print{.chat-bottom,.chat-composer,.chat-sidebar,.chat-topbar,.intro,.jump-latest,.message-actions,.palette-backdrop,.prompt-cards,.simple-header,.skip,.toast,.welcome-trust,footer{display:none!important}.chat-app,.chat-main,.conversation-column,.conversation-scroll,body,html{display:block!important;height:auto!important;min-height:0!important;overflow:visible!important;position:static!important;background:#fff!important;color:#000!important}.conversation-column{max-width:none!important;padding:0!important}.chat-message{page-break-inside:avoid;break-inside:avoid;animation:none!important}a{color:#000;text-decoration:underline}}.intro{display:none;position:fixed;inset:0;z-index:9999;place-items:center;background:var(--bg,#000);color:var(--text,#f4f4f4);cursor:pointer;overflow:hidden;transition:opacity .32s cubic-bezier(.22,.61,.36,1),transform .32s cubic-bezier(.22,.61,.36,1)}html[data-intro=play] .intro{display:grid}.intro[data-leaving=true]{opacity:0;transform:scale(1.025);pointer-events:none}.intro-stage{--w:min(320px,86vw);--span:calc(var(--w) - 104px);--bridge-color:var(--bridge,#31c8ef);display:flex;flex-direction:column;align-items:center;gap:18px;padding:0 16px;animation:intro-fade .36s ease-out both}.intro-bridge-wrap{position:relative;width:var(--w);height:132px;direction:ltr}.intro-bridge{position:absolute;inset-block-start:0;inset-inline-start:50%;width:150px;height:150px;margin-inline-start:-75px;margin-top:-12px;stroke:var(--bridge-color);overflow:visible}.intro-bridge path{stroke-dasharray:1;stroke-dashoffset:1}.b-arch{animation:intro-draw .78s cubic-bezier(.65,0,.35,1) .35s forwards}.b-arch,.b-deck{stroke-width:3.4}.b-deck{animation:intro-draw .42s cubic-bezier(.65,0,.35,1) .76s forwards}.b-pillars{stroke-width:2.6;stroke:#ffbd6b;animation:intro-draw .36s ease-out .98s forwards}.b-ends{stroke-width:2.6;animation:intro-draw .3s ease-out 1.06s forwards}.intro-greet{position:absolute;display:grid;font-size:1.15rem;font-weight:500;letter-spacing:.01em;opacity:0;will-change:transform,opacity}.intro-greet>span{grid-area:1/1;text-align:center;white-space:nowrap}.intro-greet-a{left:0;top:6px;animation:intro-greet-in .32s ease-out .12s forwards,intro-cross-a .76s cubic-bezier(.65,0,.35,1) .42s forwards,intro-greet-out .26s ease-in 1.25s forwards}.intro-greet-b{right:0;top:98px;animation:intro-greet-in .32s ease-out .12s forwards,intro-cross-b .76s cubic-bezier(.65,0,.35,1) .42s forwards,intro-greet-out .26s ease-in 1.25s forwards}.intro-greet .g-to{opacity:0}.intro-greet .g-from{animation:intro-text-out .24s ease-in .7s forwards}.intro-greet .g-to{animation:intro-text-in .24s ease-out .76s forwards}.intro-greet-a .g-to,.intro-greet-b .g-from{font-family:var(--font-arabic-script,"Noto Naskh Arabic","Vazirmatn","Segoe UI","Geeza Pro",system-ui,sans-serif);line-height:1.6}.intro-greet-a .g-from{font-family:inherit}.intro-greet-a .g-from[lang=fa-AF],.intro-greet-b .g-from[lang=fa-AF]{font-family:var(--font-arabic-script,"Noto Naskh Arabic","Vazirmatn","Segoe UI","Geeza Pro",system-ui,sans-serif)}.intro-wordmark{width:min(430px,78vw);height:auto;overflow:visible;color:var(--text,#f4f4f4);margin-top:4px}.w-glyph{stroke-width:.9;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;fill-opacity:0;animation:intro-draw .52s cubic-bezier(.45,0,.25,1) calc(.95s + var(--i) * 55ms) forwards,intro-fill .36s ease-out calc(1.35s + var(--i) * 55ms) forwards}.intro-tagline{margin:0;min-height:1.6em;font-size:.95rem;letter-spacing:.02em;color:var(--muted,#ababab);text-align:center;opacity:0;animation:intro-greet-in .2s ease-out 1.8s forwards}.intro-caret{display:inline-block;width:1.5px;height:1.05em;margin-inline-start:2px;vertical-align:text-bottom;background:var(--bridge-color);animation:intro-blink .9s steps(1) infinite}.intro-skip{position:absolute;inset-block-end:max(22px,env(safe-area-inset-bottom));inset-inline:0;margin-inline:auto;width:max-content;min-height:0;padding:6px 14px;border:0;border-radius:999px;background:transparent;color:var(--muted,#ababab);font-size:.78rem;letter-spacing:.04em;opacity:0;animation:intro-greet-in .4s ease-out .9s forwards}.intro-skip:hover{background:transparent;border-color:transparent;color:var(--text,#f4f4f4)}@keyframes intro-fade{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes intro-draw{to{stroke-dashoffset:0}}@keyframes intro-fill{to{fill-opacity:1}}@keyframes intro-greet-in{to{opacity:1}}@keyframes intro-greet-out{to{opacity:0}}@keyframes intro-cross-a{to{transform:translateX(var(--span))}}@keyframes intro-cross-b{to{transform:translateX(calc(var(--span) * -1))}}@keyframes intro-text-out{to{opacity:0}}@keyframes intro-text-in{to{opacity:1}}@keyframes intro-blink{50%{opacity:0}}@media (prefers-reduced-motion:reduce){.intro{display:none!important}}html[data-motion=false] .intro{display:none!important}.intro:before{content:"";position:absolute;inset:15%;border-radius:50%;background:radial-gradient(ellipse,#1677ff12,transparent 65%);pointer-events:none;animation:intro-atmosphere 3.1s ease-in-out both}.intro-stage{position:relative;animation:intro-stage-arrive .7s cubic-bezier(.22,1,.36,1) both}.intro-stage .b-pillars{stroke:var(--bridge-color)}.intro-bridge .intro-light-trace{stroke:#1677ff;stroke-width:4.2;stroke-dasharray:.045 .955;stroke-dashoffset:1;opacity:0;animation:intro-light-cross 1.1s cubic-bezier(.65,0,.35,1) 1.08s both}@keyframes intro-light-cross{0%{opacity:0;stroke-dashoffset:1}15%{opacity:1}85%{opacity:1}to{opacity:0;stroke-dashoffset:0}}@keyframes intro-stage-arrive{0%{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}@keyframes intro-atmosphere{0%,to{opacity:0;transform:scale(.75)}45%,75%{opacity:1;transform:scale(1)}}