:root{color:#292524;font-synthesis:none;--canvas:#fdfcf8;--surface:#fff;--sage:#e8efe8;--sky:#e7eef4;--nile:#17324d;--ink:#292524;--muted:#78716c;--coral:#ef6a5b;--coral-soft:#ffe1dc;--hairline:#e8e2da;--error:#a33a32;--shadow-soft:0 12px 40px #17324d14;background:#fdfcf8;font-family:Alexandria,Tahoma,Arial,sans-serif}*{box-sizing:border-box}html{background:var(--canvas)}body{background:var(--canvas);min-height:100dvh;margin:0}body:before{z-index:50;content:"";pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");position:fixed;inset:0}button,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible{outline:2px solid var(--coral);outline-offset:2px}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}#root{min-height:100dvh}.app-shell{background:var(--canvas);flex-direction:column;align-items:center;height:100dvh;min-height:100dvh;display:flex;position:relative;overflow:hidden}.masthead{z-index:40;flex:0 0 64px;justify-content:space-between;align-items:center;width:100%;max-width:680px;height:64px;padding-inline:20px;animation:.5s cubic-bezier(.16,1,.3,1) both fade-in-up;display:flex;position:relative}.brand{color:var(--nile);align-items:center;gap:8px;display:inline-flex}.brand-mark{object-fit:contain;flex:none;width:32px;height:32px}.brand-wordmark{letter-spacing:-.045em;unicode-bidi:isolate;font-size:24px;font-weight:700;line-height:1}.masthead-controls{align-items:center;gap:12px;min-width:0;display:flex}.reset-button{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:13px;font-weight:600;transition:color .12s}.reset-button:hover{color:var(--coral)}.privacy-status{border:1px solid var(--hairline);background:var(--surface);min-height:32px;color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:12px;font-weight:600;line-height:1.5;display:flex}.privacy-status svg{width:16px;height:16px;color:var(--sage);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;flex:none}.chat-transcript{z-index:10;scrollbar-color:var(--hairline) transparent;scrollbar-width:thin;flex-direction:column;flex:1;gap:24px;width:100%;min-height:0;padding:32px max(20px,50% - 320px) 184px;display:flex;position:relative;overflow:hidden auto}.chat-transcript::-webkit-scrollbar{width:6px}.chat-transcript::-webkit-scrollbar-track{background:0 0}.chat-transcript::-webkit-scrollbar-thumb{background:var(--hairline);border-radius:999px}.chat-transcript--empty{justify-content:center;padding-block:40px 252px}.empty-state{text-align:center;flex-direction:column;align-items:center;width:100%;display:flex}.empty-state-logo{object-fit:contain;width:clamp(72px,18vw,104px);height:clamp(72px,18vw,104px);margin-block-end:10px;animation:.5s cubic-bezier(.16,1,.3,1) both fade-in-up}.empty-state h1{color:var(--nile);letter-spacing:-.055em;margin:0;font-size:clamp(64px,15vw,104px);font-weight:800;line-height:1.12;animation:.5s cubic-bezier(.16,1,.3,1) 50ms both fade-in-up}.empty-state-copy{color:var(--muted);margin:12px 0 0;font-size:16px;font-weight:500;line-height:1.8;animation:.5s cubic-bezier(.16,1,.3,1) .1s both fade-in-up}.example-prompts{flex-wrap:wrap;justify-content:center;gap:8px;margin-block-start:24px;animation:.5s cubic-bezier(.16,1,.3,1) .2s both fade-in-up;display:flex}.example-prompts button{border:1px solid var(--hairline);background:var(--surface);min-height:44px;color:var(--nile);cursor:pointer;border-radius:999px;padding:9px 14px;font-size:13px;font-weight:600;line-height:1.5;transition:border-color .12s,color .12s,transform .12s}.example-prompts button:hover{border-color:var(--coral);color:var(--coral)}.example-prompts button:active{transform:scale(.98)}.meaning-explainer{border-block-start:1px solid var(--hairline);width:min(100%,360px);min-height:44px;color:var(--muted);justify-content:center;align-items:center;gap:6px;margin-block-start:20px;padding-block-start:12px;font-size:12px;line-height:1.5;animation:.5s cubic-bezier(.16,1,.3,1) .25s both fade-in-up;display:flex}.meaning-explainer>p{margin:0}.meaning-trigger{min-height:44px;color:var(--coral);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;padding:0 2px;font-size:12px;font-weight:700;text-decoration:underline;text-decoration-thickness:1px}.meaning-dialog-backdrop{z-index:100;background:#17324d4d;place-items:center;padding:20px;animation:.18s ease-out both dialog-backdrop-in;display:grid;position:fixed;inset:0;overflow-y:auto}.meaning-dialog{border:1px solid var(--hairline);background:var(--surface);width:min(100%,480px);max-height:calc(100dvh - 40px);color:var(--ink);text-align:left;border-radius:24px;padding:36px 32px 30px;animation:.22s cubic-bezier(.16,1,.3,1) both dialog-in;position:relative;overflow-y:auto;box-shadow:0 24px 64px #17324d2e}.meaning-dialog h2{color:var(--nile);letter-spacing:-.025em;margin:0 44px 16px 0;font-size:24px;font-weight:700;line-height:1.25}.meaning-dialog p{margin:0;font-size:15px;font-weight:400;line-height:1.75}.meaning-dialog p+p{margin-block-start:12px}.meaning-dialog-close{background:var(--coral-soft);width:44px;height:44px;color:var(--coral);cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;transition:transform .12s;display:flex;position:absolute;inset-block-start:12px;inset-inline-end:12px}.meaning-dialog-close:hover{transform:scale(.96)}.meaning-dialog-close svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2px;width:20px;height:20px}.message-row{width:100%;animation:.5s cubic-bezier(.16,1,.3,1) both message-in;display:flex}.message-row--user{justify-content:flex-start}.message-row--assistant{justify-content:flex-end}.message-stack{flex-direction:column;max-width:82%;display:flex}.message-row--assistant .message-stack{align-items:flex-end}.message-bubble{max-width:100%;box-shadow:var(--shadow-soft);border-radius:22px;padding:16px 20px}.message-bubble p{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:16px;font-weight:500;line-height:1.8}.message-bubble--user{background:var(--nile);color:var(--surface);border-start-start-radius:4px}.message-bubble--assistant{background:var(--sage);color:var(--ink);border-start-end-radius:4px}.message-share-button{min-height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:6px;margin-block-start:4px;padding:6px 8px;font-size:12px;font-weight:700;transition:color .12s,background .12s;display:inline-flex}.message-share-button:hover{background:var(--coral-soft);color:var(--coral)}.message-share-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:16px;height:16px}.share-dialog-backdrop{z-index:100;background:#17324d6b;place-items:center;padding:20px;animation:.18s ease-out both dialog-backdrop-in;display:grid;position:fixed;inset:0;overflow-y:auto}.share-dialog{border:1px solid var(--hairline);background:var(--surface);border-radius:28px;grid-template-columns:minmax(240px,.86fr) minmax(280px,1.14fr);grid-template-areas:"heading preview""actions preview";align-items:center;gap:24px 32px;width:min(100%,820px);max-height:calc(100dvh - 40px);padding:28px;animation:.22s cubic-bezier(.16,1,.3,1) both dialog-in;display:grid;position:relative;overflow-y:auto;box-shadow:0 28px 80px #17324d3d}.share-dialog-close{z-index:2;background:var(--coral-soft);width:44px;height:44px;color:var(--coral);cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;inset-block-start:12px;inset-inline-end:12px}.share-dialog-close svg,.share-action svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:20px;height:20px}.share-dialog-heading{grid-area:heading}.share-dialog-kicker{color:var(--coral);font-size:12px;font-weight:800}.share-dialog h2{color:var(--nile);letter-spacing:-.035em;margin:7px 0 10px;font-size:clamp(26px,4vw,36px);line-height:1.25}.share-dialog-heading p{color:var(--muted);margin:0;font-size:13px;font-weight:500;line-height:1.7}.share-preview{border:1px solid var(--hairline);background:var(--canvas);border-radius:20px;grid-area:preview;place-items:center;min-height:360px;display:grid;overflow:hidden}.share-preview img{object-fit:contain;width:100%;max-height:min(62dvh,540px);display:block}.share-preview-loading{color:var(--muted);align-items:center;gap:10px;font-size:13px;font-weight:600;display:flex}.share-preview-loading span{background:var(--coral);border-radius:50%;width:10px;height:10px;animation:1s ease-in-out infinite breathe}.share-preview-loading p,.share-preview-error{margin:0}.share-preview-error{color:var(--error);text-align:center;padding:24px;font-size:14px;font-weight:600}.share-actions{grid-area:actions;grid-template-columns:1fr 1fr;gap:8px;display:grid}.share-action{border:1px solid var(--hairline);background:var(--surface);min-height:44px;color:var(--nile);cursor:pointer;text-align:center;border-radius:14px;justify-content:center;align-items:center;gap:7px;padding:10px 14px;font-size:12px;font-weight:700;line-height:1.4;text-decoration:none;display:inline-flex}.share-action--primary{border-color:var(--coral);background:var(--coral);color:var(--surface);grid-column:1/-1}.share-action:disabled,.share-action--disabled{cursor:not-allowed;opacity:.45}.thinking-indicator{min-height:44px;color:var(--muted);align-self:flex-end;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:500;line-height:1.5;animation:.5s cubic-bezier(.16,1,.3,1) both message-in;display:flex}.thinking-dots{gap:4px;animation:2s ease-in-out infinite breathe;display:flex}.thinking-dots span{background:var(--muted);border-radius:50%;width:6px;height:6px}.error-notice{max-width:82%;color:var(--error);flex-direction:column;align-self:flex-end;align-items:flex-start;gap:4px;animation:.5s cubic-bezier(.16,1,.3,1) both message-in;display:flex}.error-notice p{margin:0;font-size:15px;font-weight:500;line-height:1.8}.retry-button{min-height:44px;color:var(--coral);cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:13px;font-weight:700}.composer-dock{z-index:40;inset-inline:0;background:linear-gradient(to top, var(--canvas) 0%, var(--canvas) 62%, transparent 100%);width:100%;max-width:680px;margin-inline:auto;padding:40px 20px 24px;animation:.5s cubic-bezier(.16,1,.3,1) .3s both fade-in-up;position:fixed;bottom:0}.composer{border:1px solid var(--hairline);background:var(--surface);box-shadow:var(--shadow-soft);border-radius:24px;align-items:flex-end;gap:8px;padding:8px;display:flex}.composer-textarea{-webkit-tap-highlight-color:transparent;width:100%;min-width:0;min-height:44px;max-height:120px;color:var(--ink);resize:none;background:0 0;border:0;border-radius:14px;outline:0;padding:10px 12px;font-size:16px;font-weight:500;line-height:1.6;overflow-y:auto}.composer-textarea::placeholder{color:var(--muted)}.composer-textarea:disabled{cursor:not-allowed;opacity:.65}.composer-action{background:var(--coral);width:44px;height:44px;color:var(--surface);cursor:pointer;border:0;border-radius:50%;flex:0 0 44px;justify-content:center;align-items:center;padding:0;transition:opacity .12s,transform .12s;display:flex}.composer-action:hover:not(:disabled){transform:scale(.98)}.composer-action:active:not(:disabled){transform:scale(.95)}.composer-action:disabled{cursor:not-allowed;opacity:.45}.composer-action svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:22px;height:22px}.composer-action--cancel svg{fill:currentColor;stroke:none}.m3lesh-count{color:var(--muted);text-align:center;margin:0;font-weight:600;line-height:1.6}.m3lesh-count--home{border:1px solid var(--hairline);background:var(--surface);border-radius:999px;margin-block-start:12px;padding:6px 12px;font-size:13px}.m3lesh-count--composer{margin-block-start:10px;font-size:12px}.composer-privacy{color:var(--muted);text-align:center;margin:4px 0 0;font-size:12px;font-weight:600;line-height:1.5}.app-footer{color:var(--muted);text-align:center;flex-wrap:wrap;justify-content:center;gap:2px 6px;margin-block-start:8px;font-size:11px;font-weight:500;line-height:1.5;display:flex}.app-footer a{color:inherit;text-underline-offset:3px;font-weight:600;text-decoration-color:#0000;transition:color .12s,text-decoration-color .12s}.app-footer a:hover{color:var(--coral);text-decoration-color:currentColor}@keyframes fade-in-up{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes message-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes breathe{0%,to{opacity:.4}50%{opacity:1}}@keyframes dialog-backdrop-in{0%{opacity:0}}@keyframes dialog-in{0%{opacity:0;transform:translateY(12px)scale(.98)}}@media (width>=768px){.masthead{padding-inline:32px}.chat-transcript{padding-inline:max(32px,50% - 308px)}.chat-transcript--empty{padding-block:56px 260px}.message-bubble{max-width:100%}.message-stack{max-width:72%}.message-bubble p,.composer-textarea{font-size:18px}.error-notice{max-width:72%}.composer-dock{padding-inline:32px}.composer{border-radius:30px}.composer-action{flex-basis:48px;width:48px;height:48px}}@media (width<=480px){.masthead-controls{gap:6px}.reset-button,.example-prompts button{font-size:12px}.privacy-status{padding-inline:8px}.example-prompts{max-width:340px}.meaning-dialog{border-radius:20px;padding:34px 24px 24px}.share-dialog-backdrop{align-items:end;padding:12px}.share-dialog{border-radius:24px;grid-template-columns:1fr;grid-template-areas:"heading""preview""actions";gap:16px;width:100%;max-height:calc(100dvh - 24px);padding:24px 20px 20px}.share-dialog-heading{padding-inline-end:42px}.share-dialog h2{font-size:27px}.share-preview{min-height:0}.share-preview img{max-height:47dvh}}@media (width<=380px){.brand-wordmark{font-size:22px}.brand-mark{width:28px;height:28px}.masthead-controls{gap:4px}.reset-button,.privacy-status{font-size:11px}.privacy-status{gap:4px;padding-inline:6px}.privacy-status svg{width:14px;height:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
