@font-face{font-family:Manrope;src:url(/fonts/manrope-variable.ttf) format("truetype");font-style:normal;font-weight:200 800;font-display:swap}:root{font-family:Manrope,system-ui,sans-serif;color:var(--ink);background:#f7f5ee;--ink: #1a1a1a;--muted: #4a4a4a;--line: #ececec;--orange: #ffa500;--orange-hover: #e69500;--cream: #fff1d6;--accent: #875800;--paper: #fff8ec;--white: #ffffff;--dark: #0a0a0a;color-scheme:light;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{overflow:hidden}button,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}::selection{color:var(--ink);background:var(--cream)}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}#root{display:grid;place-items:center}.shell{--gutter: clamp(16px, 4.5vw, 34px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(calc(100% - 44px),760px);height:min(calc(100% - 44px),860px);border:1px solid var(--line);border-radius:18px;overflow:hidden;background:linear-gradient(160deg,var(--cream),var(--paper) 50%,var(--white));box-shadow:0 22px 65px #0a0a0a24}.shell[data-embedded=true]{width:100%;height:100%;border:0;border-radius:0;box-shadow:none;--gutter: clamp(13px, 4.3vw, 22px)}.masthead{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:77px;padding:13px var(--gutter);border-bottom:1px solid var(--line);background:var(--white)}.masthead-identity,.masthead-actions{display:flex;align-items:center}.masthead-identity{gap:12px;min-width:0}.masthead-actions{gap:6px}.masthead h1{margin:0;font-size:16px;line-height:1.25;font-weight:800;letter-spacing:-.027em}.masthead p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.24;font-weight:650}.brand-mark{flex:0 0 38px}.masthead-brand{white-space:nowrap}.masthead-brand img{width:auto;height:1.3em;vertical-align:-.23em}.icon-button{display:grid;place-items:center;width:43px;height:43px;padding:0;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink);transition:background-color .16s ease,border-color .16s ease}.icon-button:hover{background:var(--paper);border-color:#9d9d9d}.body{position:relative;min-height:0}.feed{height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-color:#aaaaaa transparent;scrollbar-width:thin}.welcome{padding-bottom:22px}.welcome-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:144px;padding:20px var(--gutter);color:var(--white);background:radial-gradient(ellipse at 90% 55%,#ffa50038,transparent 54%),linear-gradient(115deg,var(--dark) 42%,#33220a)}.welcome h2{margin:0;font-size:clamp(23px,5vw,36px);line-height:1.13;letter-spacing:-.035em;font-weight:800;text-wrap:balance}.welcome-copy p{margin:8px 0 0;color:var(--cream);font-size:14px;line-height:1.45}.welcome-orb{display:grid;place-items:center;flex:0 0 72px;width:72px;height:72px;border-radius:50%;background:radial-gradient(circle,#ffa50022 0,transparent 72%)}.welcome-orb canvas{filter:sepia(1) saturate(2.1)}.starter{margin:20px var(--gutter) 0}.starter-label{margin:0 0 8px;color:var(--muted);font-size:12px;font-weight:800}.starter ul,.articles{list-style:none;margin:0;padding:0}.starter li{border-top:1px solid var(--line)}.starter li:last-child{border-bottom:1px solid var(--line)}.starter button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:57px;padding:7px 8px 7px 0;border:0;border-radius:4px;background:transparent;color:var(--ink);text-align:left;transition:background-color .16s ease}.starter button:hover{background:var(--cream)}.topic-icon,.article-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid #efd28c;border-radius:8px;background:var(--cream);color:var(--accent)}.topic-label{min-width:0;font-size:13px;font-weight:800}.topic-arrow{color:var(--accent)}.turns:not(:empty){display:grid;gap:24px;padding:24px var(--gutter) 28px}.turn{display:grid;gap:20px;min-width:0}.turn+.turn{border-block-start:1px dashed var(--line);padding-top:21px}.user-message{justify-self:end;max-width:min(89%,58ch);min-width:0;margin:0;padding:12px 15px;border:1px solid #efd98b;border-radius:13px 13px 3px;background:var(--cream);color:var(--ink);font-size:14px;line-height:1.52;font-weight:750;white-space:pre-wrap;overflow-wrap:anywhere}.assistant-message{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:10px;min-width:0}.response-body{min-width:0;overflow-wrap:anywhere}.response-label{display:block;margin:0 0 5px;color:var(--muted);font-size:11px;font-weight:800}.response-body>p{margin:0;font-size:14px;line-height:1.58;white-space:pre-wrap}.response-body .loading{color:var(--muted)}.articles{display:grid;gap:8px;margin:13px 0 0}.articles a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;min-height:56px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--white);text-decoration:none;transition:background-color .16s ease,border-color .16s ease}.articles a:hover{background:var(--paper);border-color:#b8892a}.articles a:hover .article-title{text-decoration:underline}.article-icon{width:31px;height:31px}.article-text{display:grid;gap:4px;min-width:0}.article-category{color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.03em}.article-title{font-size:14px;line-height:1.35;font-weight:800}.article-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.48}.article-action{display:inline-flex;gap:4px;align-items:center;color:var(--accent);font-size:11px;font-weight:800;white-space:nowrap}.small-action,.jump{display:inline-flex;align-items:center;gap:6px;min-height:42px;width:fit-content;max-width:100%;padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--ink);font-size:12px;font-weight:800;text-align:left;text-decoration:none}.small-action{margin-top:8px;overflow-wrap:anywhere}.small-action svg{flex:none}.small-action:hover,.jump:hover{background:var(--cream);border-color:#b29451}.suggestions{display:flex;flex-wrap:wrap;gap:0 7px}.jump{position:absolute;bottom:8px;left:50%;transform:translate(-50%);white-space:nowrap}.composer{background:var(--white);border-top:1px solid var(--line);padding:12px var(--gutter) max(3px,env(safe-area-inset-bottom))}.composer form{display:grid;grid-template-columns:minmax(0,1fr) 43px;align-items:end;min-height:54px;padding:4px;border:1px solid #a6a6a6;border-radius:11px;background:#fff}.composer form:focus-within{border-color:var(--accent);outline:1px solid var(--accent)}.composer-text{display:grid;grid-template-rows:minmax(0,1fr);min-width:0;max-height:min(12rem,40vh);max-height:min(12rem,40dvh)}.composer-text:after,.composer textarea{grid-area:1 / 1;box-sizing:border-box;min-width:0;min-height:44px;margin:0;padding:11px 9px;border:0;font:inherit;font-size:16px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}.composer-text:after{content:attr(data-draft) " ";visibility:hidden;overflow:hidden}.composer textarea{width:100%;height:100%;resize:none;overflow-y:auto;color:var(--ink);caret-color:var(--accent);background:transparent}.composer textarea:focus-visible{outline:0}.composer textarea::placeholder{color:var(--muted);opacity:1}.send-button{display:grid;place-items:center;width:43px;height:43px;padding:0;border:0;border-radius:7px;background:var(--orange);color:var(--dark);transition:background-color .16s ease}.send-button:disabled{background:#ededed;color:#5a5a5a}.send-button:hover:not(:disabled){background:var(--orange-hover)}.source-link{display:flex;align-items:center;gap:5px;width:fit-content;min-height:34px;margin:0 0 0 auto;padding-inline:3px;color:var(--muted);font-size:11px;font-weight:800;text-decoration:none}.source-link:hover{text-decoration:underline}@media(min-width:680px){.shell:not([data-embedded=true]) .starter ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--line)}.shell:not([data-embedded=true]) .starter li{border-block:0}.shell:not([data-embedded=true]) .starter li+li{border-inline-start:1px solid var(--line)}.shell:not([data-embedded=true]) .starter button{min-height:74px;padding-inline:8px;gap:7px}.shell:not([data-embedded=true]) .starter li:first-child button{padding-inline-start:0}}@media(max-width:535px),(max-height:600px){.shell{width:100%;height:100%;border:0;border-radius:0;box-shadow:none}.masthead{min-height:63px;padding-block:8px}.welcome{padding-bottom:17px}.welcome-intro{min-height:124px}.welcome-orb{flex-basis:64px;width:64px;height:64px}.starter{margin-top:16px}.starter button{min-height:49px}.turns:not(:empty){padding-top:16px}.article-action>span{display:none}.articles a{gap:7px;padding:9px}}@media(max-width:360px){.article-icon{display:none}.articles a{grid-template-columns:minmax(0,1fr) auto}}@media(prefers-reduced-motion:reduce){*,:before,:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
