:root{color:#111721;font-synthesis:none;text-rendering:optimizelegibility;--accent:#f15f57;--accent-strong:#e94e47;--accent-soft:#fff0ef;--ink:#111721;--muted:#657285;--line:#dce1e7;--surface:#f7f8f9;background:#fff;font-family:Inter,SF Pro Text,SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;height:100%;margin:0}body{overflow:hidden auto}button,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{background:#fff;grid-template-rows:72px minmax(0,1fr);grid-template-columns:minmax(0,1fr);height:100dvh;min-height:100dvh;display:grid;position:relative;overflow:visible}.site-header{z-index:4;border-bottom:1px solid var(--line);background:#fffffff0;justify-content:space-between;align-items:center;padding:0 clamp(24px,8vw,144px);display:flex;position:relative}.brand{color:var(--ink);letter-spacing:-.035em;align-items:center;gap:11px;font-size:25px;font-weight:710;display:flex}.brand-mark{width:28px;height:28px;color:var(--accent);fill:var(--accent);stroke:var(--accent);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;overflow:visible}.service-state{color:#526071;letter-spacing:.035em;align-items:center;gap:12px;font-size:14px;display:flex}.service-dot{background:var(--accent);border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 5px #f15f571a}.service-state--checking .service-dot{box-shadow:none;background:#c5cbd3;animation:1.4s ease-in-out infinite breathe}.service-state--unavailable .service-dot{box-shadow:none;background:#b8bec7}.service-copy--mobile{display:none}.topology{z-index:0;pointer-events:none;fill:#edf0f3;stroke:#e9edf0;stroke-width:1px;width:100%;height:calc(100dvh - 72px);position:fixed;inset:72px 0 0}.topology path{fill:none}.topology g circle:nth-of-type(2){fill:var(--accent);opacity:.85}.topology-left,.topology-right{opacity:.72}.chat-stage{z-index:2;flex-direction:column;min-height:0;display:flex;position:relative}.chat-column{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.chat-stage--document{background:#f4f7f5;grid-template-columns:minmax(0,52%) minmax(0,48%);display:grid}.chat-stage--document>div:not(.workspace-mobile-tabs){min-width:0;min-height:0}.chat-stage--document .chat-column{background:#fff;border-left:1px solid #dce5e0}.chat-stage--document .message-stack{width:min(700px,100% - 64px);padding-top:44px}.chat-stage--document .composer-wrap{z-index:3;background:#fff;flex:none;width:min(700px,100% - 48px);position:sticky;bottom:0}.workspace-mobile-tabs{display:none}.document-panel{color:#182723;flex-direction:column;height:100%;min-height:0;padding:22px 24px 15px;display:flex}.document-heading{justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:15px;display:flex}.document-kicker,.question-area-heading{color:#677d74;letter-spacing:.11em;font-size:10px;font-weight:700}.document-kicker{margin:0 0 7px}.document-heading h2{letter-spacing:-.025em;max-width:440px;margin:0;font-size:18px;line-height:1.23}.document-download{color:#285c4a;text-underline-offset:3px;flex:none;font-size:12px;text-decoration:underline}.document-controls{color:#526760;border-top:1px solid #dce5e0;align-items:center;gap:9px;padding:10px 0;font-size:12px;display:flex}.document-controls button{color:#2c5143;cursor:pointer;background:#fff;border:1px solid #d2ddd7;border-radius:7px;place-items:center;width:28px;height:28px;display:grid}.document-controls button:disabled{opacity:.35;cursor:default}.document-control-separator{background:#cfdad4;width:1px;height:19px;margin:0 3px}.document-scroll{scrollbar-width:thin;flex:1;min-height:0;padding:6px 0 18px;overflow:auto}.document-page{max-width:none;margin:0 auto;position:relative;box-shadow:0 9px 35px #21372f1f}.document-page img{width:100%;height:auto;display:block}.document-highlight{pointer-events:none;background:#fcc5693b;border:2px solid #d47837;border-radius:6px;position:absolute}.document-pages{scrollbar-width:thin;border-top:1px solid #dce5e0;gap:4px;padding-top:12px;display:flex;overflow-x:auto}.document-pages button{color:#697b73;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;min-width:29px;height:29px;font-size:11px}.document-pages button.is-current{color:#fff;background:#2f735b}.question-area{border-bottom:1px solid var(--line);flex:none;padding:18px 28px 16px}.question-area-heading{justify-content:space-between;margin-bottom:12px;display:flex}.question-list{scrollbar-width:thin;gap:8px;padding-bottom:3px;display:flex;overflow-x:auto}.question-list button{color:#22332d;cursor:pointer;text-align:left;background:#fff;border:1px solid #dce5e0;border-radius:9px;flex:0 0 215px;min-height:77px;padding:11px 13px}.question-list button:hover:not(:disabled){background:#f7faf8;border-color:#83ae9a}.question-list button:disabled{opacity:.5}.question-list small{color:#6c8477;text-transform:uppercase;margin-bottom:5px;font-size:10px;font-weight:700;display:block}.question-list span{font-size:12px;line-height:1.35;display:block}.conversation{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d6dbe1 transparent;flex:1;min-height:0;overflow-y:auto}.message-stack{width:min(760px,100% - 48px);min-height:100%;margin:0 auto;padding:clamp(48px,8vh,92px) 0 64px}.message{letter-spacing:-.021em;font-size:clamp(18px,1.7vw,24px);line-height:1.52}.message p{white-space:pre-wrap;margin:0}.message--user{background:var(--accent-soft);border-radius:18px;width:fit-content;max-width:min(76%,500px);margin:0 0 54px auto;padding:18px 24px;font-size:clamp(17px,1.5vw,20px)}.message--assistant{max-width:720px;min-height:1px}.message-sources,.message-graph-path{letter-spacing:0;border-top:1px solid #dce5e0;flex-wrap:wrap;gap:8px;margin-top:22px;padding-top:14px;display:flex}.message-evidence-label{color:#597367;letter-spacing:.11em;width:100%;font-size:10px;font-weight:700}.message-sources button{color:#244b39;cursor:pointer;text-align:left;background:#f7faf8;border:1px solid #cbded2;border-radius:8px;flex-direction:column;gap:3px;min-width:148px;padding:9px 11px;display:flex}.message-sources button:hover{border-color:#48836b}.message-sources strong{font-size:12px}.message-sources small{color:#687d72;font-size:11px}.message-graph-path{display:block}.message-graph-path p{color:#496055;margin-top:5px;font-size:12px;line-height:1.4}.message--assistant+.message--user{margin-top:56px}.activity{color:var(--muted);letter-spacing:.01em;flex-wrap:wrap;align-items:center;gap:15px;margin:0 0 30px;font-size:14px;display:flex}.activity-time{font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:auto}.message-timings{color:#6c8477;letter-spacing:0;font-size:12px;margin-top:22px!important}.activity-dot{background:var(--accent);border-radius:50%;width:9px;height:9px;position:relative}.activity-dot:after{content:"";background:#f15f5724;border-radius:50%;animation:1.35s ease-out infinite pulse;position:absolute;inset:-6px}.evidence{border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#485668;align-items:center;gap:14px;margin-top:32px;padding:17px 0;font-size:15px;display:flex}.evidence svg{width:24px;color:var(--accent);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px}.notice{color:var(--muted);margin:26px 0 0;font-size:14px}.error-state{color:#8e3935;border-top:1px solid #f1cac7;justify-content:space-between;align-items:center;gap:18px;margin-top:28px;padding:17px 0;font-size:14px;display:flex}.error-state button{color:var(--accent-strong);cursor:pointer;background:0 0;border:0;border-bottom:1px solid;padding:7px 0;font-size:13px;font-weight:650}.composer-wrap{width:min(810px,100% - 48px);padding:12px 0 max(20px, env(safe-area-inset-bottom));margin:0 auto}.composer{background:#fff;border:1px solid #cbd2da;border-radius:17px;align-items:flex-end;gap:14px;min-height:72px;padding:9px 10px 9px 24px;transition:border-color .16s,box-shadow .16s;display:flex;box-shadow:0 10px 32px #1823320d}.composer:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #f15f571a}.input-shell{flex:1;min-width:0;position:relative}.composer textarea{resize:none;width:100%;min-width:0;min-height:50px;max-height:144px;color:var(--ink);background:0 0;border:0;outline:0;flex:1;padding:13px 0 9px;font-size:16px;line-height:1.45;overflow:auto}.composer-placeholder{color:#6e7a8b;pointer-events:none;font-size:16px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.placeholder-mobile{display:none}.send-button{color:#fff;background:var(--accent);cursor:pointer;border:0;border-radius:50%;flex:0 0 52px;place-items:center;width:52px;height:52px;transition:transform .15s,background .15s,opacity .15s;display:grid}.send-button:hover:not(:disabled){background:var(--accent-strong);transform:translateY(-1px)}.send-button:focus-visible,.error-state button:focus-visible{outline-offset:3px;outline:3px solid #f15f5747}.send-button:disabled{cursor:not-allowed;opacity:.38}.send-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:24px}.send-button--stop{background:#313a47}.composer-hint{color:#6e7a8b;text-align:center;margin:11px 0 0;font-size:12px}.hint-mobile{display:none}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes pulse{0%{opacity:1;transform:scale(.7)}to{opacity:0;transform:scale(1.35)}}@keyframes breathe{50%{opacity:.45}}@media (width<=900px){.app-shell{grid-template-rows:64px minmax(0,1fr)}.site-header{padding:0 20px}.brand{gap:8px;font-size:22px}.brand-mark{width:25px;height:25px}.service-state{letter-spacing:0;gap:9px;font-size:13px}.service-dot{width:8px;height:8px}.service-copy--desktop,.hint-desktop,.placeholder-desktop{display:none}.service-copy--mobile,.hint-mobile,.placeholder-mobile{display:inline}.topology{height:calc(100dvh - 64px);inset:64px 0 0}.chat-stage--document{flex-direction:column;display:flex}.workspace-mobile-tabs{background:#fff;border-bottom:1px solid #dce5e0;flex:none;display:flex}.workspace-mobile-tabs button{color:#66786f;background:#fff;border:0;border-bottom:2px solid #0000;flex:1;height:46px}.workspace-mobile-tabs button[aria-selected=true]{color:#1a4635;border-bottom-color:#2f735b;font-weight:700}.chat-stage--document .workspace-mobile-hidden{display:none}.chat-stage--document>div:not(.workspace-mobile-tabs),.chat-stage--document .chat-column{flex:1;min-height:0}.document-panel{padding:15px 14px 10px}.document-heading h2{font-size:16px}.question-area{overscroll-behavior:contain;scrollbar-width:thin;max-height:min(34dvh,300px);padding:12px 16px;overflow-y:auto}.question-list{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:visible}.question-list button{min-width:0;min-height:65px}.chat-stage--document .message-stack{width:calc(100% - 32px);padding:26px 0 34px}.topology-left{transform:translate(-58px)}.topology-right{transform:translate(58px)}.message-stack{width:calc(100% - 40px);padding:38px 0 48px}.message{font-size:19px;line-height:1.48}.message--user{border-radius:18px;max-width:88%;margin-bottom:40px;padding:15px 18px;font-size:16px;line-height:1.4}.message--assistant{background:#f7f8f9e6;border-radius:17px;padding:19px 20px}.activity{margin:0 0 24px;font-size:14px}.evidence{margin-top:22px;padding:15px 2px}.composer-wrap{width:calc(100% - 32px);padding-bottom:max(12px, env(safe-area-inset-bottom))}.composer{border-radius:18px;min-height:64px;padding:7px 8px 7px 18px}.composer textarea{min-height:48px;padding:12px 0 8px;font-size:16px}.send-button{flex-basis:48px;width:48px;height:48px}.composer-hint{text-align:right;margin-top:7px;font-size:11px}}@media (width<=900px) and (height<=600px){.question-area{max-height:72px;padding:8px 16px}.question-area-heading{margin-bottom:8px}}@media (width<=520px){.question-list{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
