:root{--navy:#172C51;--ink:#172A4B;--soft:#6B7891;--blue:#3166B5;--blue2:#7FADE9;--ice:#EFF5FE;--line:#E5EAF2;--paper:#FFFFFF;--bg:#F9FBFE;--shadow:0 12px 50px rgba(24,54,104,.055)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Avenir Next",Avenir,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
button,textarea,select,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}
a{color:inherit;text-decoration:none}
.app-shell{display:flex;min-height:100vh}
.sidebar{width:262px;flex:0 0 262px;position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:37px 22px 25px;z-index:5}
.brand{display:flex;align-items:center;gap:12px;margin:0 5px 73px}
.brand-mark{width:36px;height:36px;position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:3px;transform:rotate(-4deg)}
.brand-mark i{background:#3D73BE;border-radius:6px 7px 3px 7px}.brand-mark i:nth-child(2){background:#BDD6F4;border-radius:8px 5px 8px 2px}.brand-mark i:nth-child(3){background:#8CB6EB}.brand-mark i:nth-child(4){background:#174484}
.brand-text strong{display:block;font-size:15px;letter-spacing:-.6px;white-space:nowrap}.brand-text strong span{font-weight:500}.brand-text small{font-size:10px;letter-spacing:2.2px;color:#8592A5;text-transform:uppercase;font-weight:700}
.side-label{font-size:10px;letter-spacing:1.7px;color:#A0AABD;font-weight:800;padding:0 16px;margin-bottom:16px}
.side-nav{display:grid;gap:7px}
.nav-link{width:100%;border:1px solid transparent;background:transparent;display:flex;align-items:center;gap:13px;color:#6C798F;text-align:left;border-radius:12px;padding:14px 14px;font-weight:650;font-size:13px}
.nav-link.active{background:#EFF5FF;color:#285CAB;border-color:#E2ECFB}.nav-link:hover{background:#F4F8FF;color:#244F90}
.nav-icon{font-size:19px;font-weight:400;width:22px;display:inline-flex;justify-content:center}.nav-end{margin-left:auto;font-size:12px;opacity:.65}
.sidebar-bottom{margin-top:auto}
.sidebar-insight{display:flex;gap:12px;padding:19px 14px;background:#F5F8FC;border:1px solid #ECF0F6;border-radius:13px}
.insight-icon{font-size:25px;color:#457ABE}
.sidebar-insight strong{display:block;font-size:12px;margin:3px 0 7px}.sidebar-insight small{font-size:11px;line-height:1.5;color:#7A879B}
.sidebar-foot{display:flex;align-items:center;gap:8px;font-size:10px;color:#9BA6B6;margin:21px 7px 0}
.online-dot,.status-dot{width:7px;height:7px;background:#DBAD69;border-radius:50%;display:inline-block;flex:0 0 auto}
.main-shell{min-width:0;display:flex;flex:1;flex-direction:column}
.topbar{height:84px;flex:none;background:rgba(255,255,255,.9);border-bottom:1px solid var(--line);padding:0 clamp(24px,5.4vw,95px);display:flex;justify-content:space-between;align-items:center}
.breadcrumbs{display:flex;align-items:center;gap:14px;font-size:10px;letter-spacing:1.2px;color:#A4ACBA;font-weight:750}.breadcrumbs b{font-size:15px;font-weight:300}.breadcrumbs strong{color:#506782;font-weight:750}
.header-actions{display:flex;gap:20px;align-items:center}
.status-pill{font-size:11px;font-weight:650;color:#7C8391;border:1px solid #E2E8F0;padding:10px 14px;border-radius:100px;background:#fff;display:flex;align-items:center;gap:8px;white-space:nowrap}.status-pill.connected .status-dot{background:#52A894}.avatar{height:34px;width:34px;border-radius:50%;background:#E3EDF9;color:#4274B5;display:grid;place-items:center;font-size:10px;font-weight:800}
main{width:100%;max-width:1660px;margin:0 auto;padding:47px clamp(24px,5.4vw,95px) 75px;flex:1}
.view{display:none}.view.active{display:block}
.eyebrow{display:flex;gap:16px;align-items:center;color:#7994BA;font-size:10px;letter-spacing:2.1px;font-weight:750;margin-bottom:31px;white-space:nowrap}.eyebrow-symbol{color:#3670BE;font-size:17px}.eyebrow-rule{width:36px;height:1px;background:#CBD6E5}
.hero{min-height:330px;position:relative;display:flex;align-items:center;background:linear-gradient(120deg,#F0F6FF 0%,#EBF4FF 66%,#E2F0FF 100%);overflow:hidden;border:1px solid #E1EDFA;border-radius:19px;padding:48px 62px}
.hero::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 83% 60%,rgba(145,190,238,.4),transparent 34%);pointer-events:none}
.hero-copy{position:relative;z-index:2;max-width:655px}
.hero-kicker{display:flex;gap:10px;align-items:center;font-size:11px;font-weight:750;color:#4F7FB9;margin-bottom:26px}.kicker-line{height:2px;width:22px;background:#538ACB}
h1{font-size:clamp(33px,3.7vw,58px);line-height:1.13;letter-spacing:-2.9px;font-weight:680;margin:0;color:#153462}h1 em{font-style:normal;color:#6495CF;font-weight:440}
.hero p{max-width:480px;font-size:14px;color:#69809D;line-height:1.85;margin:23px 0 0}
.hero-art{position:absolute;width:340px;height:340px;right:2%;top:50%;transform:translateY(-50%);opacity:.88;z-index:1}.art-ring{position:absolute;left:50%;top:50%;border:1px solid rgba(74,127,191,.23);border-radius:50%;transform:translate(-50%,-50%)}.ring-a{width:310px;height:310px}.ring-b{width:238px;height:238px}.ring-c{width:165px;height:165px}
.art-core{position:absolute;inset:112px;border:1px solid rgba(43,105,180,.18);border-radius:50%;background:linear-gradient(145deg,#C1DAF8,#72A2DC);box-shadow:0 0 65px 28px #A8CDF156}.art-core-inner{display:grid;place-items:center;height:100%;color:#fff;font-size:58px}
.art-node{position:absolute;width:11px;height:11px;border:3px solid #EAF4FF;background:#6E9FDD;border-radius:50%;box-shadow:0 2px 8px #739AD55D}.n1{left:31px;top:122px}.n2{right:57px;top:55px}.n3{right:24px;bottom:113px}.n4{left:84px;bottom:38px}
.art-caption{position:absolute;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap;letter-spacing:2.4px;color:#8DACD0;font-size:8px;font-weight:800}
.query-section{margin-top:58px}.query-header,.explore-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.section-index{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#6090CD}
h2{font-size:23px;letter-spacing:-.8px;margin:10px 0 0;font-weight:690}.query-hint,.explore-sub{font-size:11px;color:#9BA8B9}
.prompt-box{border:1px solid #DCE4F0;border-radius:17px;background:#fff;box-shadow:var(--shadow);overflow:hidden;transition:border-color .2s}.prompt-box:focus-within{border-color:#7DABE6}
.prompt-box textarea{padding:25px 26px 12px;border:0;outline:0;resize:vertical;min-height:100px;width:100%;font-size:14px;color:#344A69;line-height:1.7}.prompt-box textarea::placeholder{color:#A2AFBF}
.prompt-footer{display:flex;justify-content:space-between;align-items:center;padding:9px 12px 12px 24px;border-top:1px solid #F1F4F8;gap:12px}
.prompt-control{display:flex;align-items:center;gap:10px;font-size:11px;color:#A0AABA}.prompt-control select,.library-tools select{border:0;outline:0;background:transparent;color:#536C91;font-size:11px;font-weight:750;cursor:pointer}
.button-primary{border:0;background:#285FAE;color:#fff;border-radius:10px;display:flex;gap:30px;align-items:center;padding:13px 20px;font-size:12px;font-weight:750;transition:background .2s,transform .2s}.button-primary:hover{background:#1B4F9B;transform:translateY(-1px)}
.privacy-note{font-size:11px;color:#9AA8B9;margin:13px 2px 0;display:flex;align-items:center;gap:7px}.privacy-note span{color:#638AC1}
.answer-panel{scroll-margin-top:25px;margin-top:32px;background:#fff;border:1px solid #DDE7F1;border-radius:17px;box-shadow:var(--shadow);padding:30px}.answer-panel[hidden]{display:none}
.answer-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--line);gap:16px}.answer-heading>div{display:flex;align-items:center;gap:13px}.answer-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#ECF4FF;color:#3773BC;font-size:25px}.answer-heading small{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#8C9FBD}.answer-heading h2{margin:2px 0 0;font-size:18px}.answer-mode{border:1px solid #D7E7F8;border-radius:40px;background:#F4F9FF;padding:8px 12px;color:#5785BA;font-size:10px;font-weight:750}
.answer-body{white-space:pre-wrap;line-height:1.88;color:#3C526D;font-size:13px;padding:24px 0}.answer-reason{border-left:3px solid #D9AC64;padding:9px 14px;background:#FBF7EF;color:#8E7048;font-size:11px;margin-bottom:18px}
.source-heading,.library-bar{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;margin-bottom:16px}.source-heading h3,.library-bar h2{font-size:14px;font-weight:800;margin:0;letter-spacing:-.2px}.source-heading span,.library-bar span{font-size:10px;color:#96A2B4}
.answer-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.source-card{display:flex;flex-direction:column;min-height:240px;border:1px solid #E5EAF2;border-radius:12px;background:#fff;padding:20px;transition:transform .2s,border-color .2s,box-shadow .2s}.source-card:hover{transform:translateY(-2px);border-color:#AAC7E8;box-shadow:0 12px 25px rgba(23,60,110,.06)}
.source-card.compact{min-height:163px}.source-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.type-tag{font-size:9px;letter-spacing:1px;font-weight:850;color:#5579B0}.type-tag.official{color:#44799A}.source-card-year{font-size:10px;color:#A0A8B5}.source-card-title{font-size:13px;line-height:1.5;letter-spacing:-.1px;font-weight:750;margin:0 0 10px;color:#263B57}.source-card-summary{font-size:11px;line-height:1.65;color:#8793A5;margin:0 0 15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.source-card-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #EDF0F5;padding-top:12px;font-size:9px;color:#97A3B5}.source-external{white-space:nowrap;color:#3673BE;font-weight:800}
.answer-disclaimer{font-size:10px;color:#9AA8BA;line-height:1.6;margin-top:20px}
.explore-section{margin-top:58px}
.suggestion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.suggestion{min-height:114px;border:1px solid #E7EBF2;background:#fff;border-radius:12px;display:flex;align-items:start;gap:17px;text-align:left;padding:22px;transition:all .2s}.suggestion:hover{border-color:#9DC3F0;transform:translateY(-2px);box-shadow:var(--shadow)}.suggestion-number{color:#8FB2E2;font-size:11px;font-weight:800}.suggestion>span:nth-child(2){flex:1;font-size:13px;line-height:1.65;font-weight:650;max-width:230px;color:#415570}.suggestion-arrow{align-self:end;color:#608DC5;font-size:17px}
.data-strip{margin-top:45px;padding:28px 26px;border:1px solid #E6ECF5;border-radius:15px;background:#F3F7FC;display:flex;align-items:center;gap:26px}
.data-intro{flex:1;display:flex;align-items:center;gap:16px}.data-icon{font-size:35px;color:#78A3D8}.data-intro strong{display:block;font-size:12px;color:#334D70;margin-bottom:6px}.data-intro small{display:block;font-size:10px;line-height:1.6;color:#97A5B9;max-width:320px}.data-stat{min-width:72px;text-align:center}.data-stat strong{display:block;font-size:22px;letter-spacing:-1px;font-weight:750;color:#396FB6}.data-stat span{display:block;font-size:9px;font-weight:850;letter-spacing:1.1px;color:#98A9C0;margin-top:4px}
.library-intro{margin:40px 0 38px}.library-intro h1{margin:16px 0;font-size:clamp(35px,4vw,58px)}.library-intro p{max-width:570px;line-height:1.8;color:#7587A0;font-size:14px}
.library-tools{display:flex;align-items:center;gap:15px}.search-input{display:flex;align-items:center;flex:1;border:1px solid #E1E7F0;background:#fff;border-radius:12px;padding:0 16px;gap:12px}.search-input span{font-size:25px;color:#9CB0CC}.search-input input{width:100%;border:0;outline:0;padding:17px 0;font-size:12px;color:#384E6A}.library-tools select{background:#fff;border:1px solid #E1E7F0;border-radius:12px;padding:17px 18px}
.library-bar{margin-top:33px}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.empty-search{font-size:13px;color:#8B9FB7;grid-column:1/-1;padding:30px}
.footer{height:68px;margin:0 clamp(24px,5.4vw,95px);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#A2AFC0;font-size:10px}.footer-divider{margin:0 8px;color:#CED7E3}.footer-dot{margin:0 8px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1200px){.hero-art{right:-90px;opacity:.5}.hero-copy{max-width:580px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:230px;flex-basis:230px}}
@media(max-width:870px){.sidebar{width:76px;flex-basis:76px;padding:25px 12px}.brand{margin:0 auto 65px}.brand-text,.side-label,.nav-link:not(.active) .nav-end,.nav-link .nav-end,.sidebar-bottom,.nav-link{font-size:0}.nav-link{height:52px;justify-content:center;padding:0}.nav-icon{font-size:23px}.hero{padding:44px 32px}.hero-art{right:-155px}.data-intro{display:none}.data-strip{justify-content:space-around}}
@media(max-width:620px){.app-shell{display:block}.sidebar{position:sticky;width:100%;height:60px;padding:0 20px;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{margin:0}.brand-mark{height:30px;width:30px}.brand-text{display:block}.brand-text strong{font-size:13px}.brand-text small{font-size:8px}.side-nav{display:flex;gap:4px}.nav-link{width:41px;height:41px}.topbar{height:61px;padding:0 21px}.breadcrumbs{font-size:9px;gap:8px}.header-actions{gap:8px}.status-pill{font-size:0;padding:9px}.status-dot{width:8px;height:8px}.avatar{display:none}main{padding:28px 20px 50px}.eyebrow{font-size:8px;gap:8px;letter-spacing:1px;margin-bottom:22px}.eyebrow-rule{width:14px}.hero{min-height:370px;padding:30px 26px;align-items:start}.hero-copy{z-index:2}.hero-kicker{font-size:10px;margin-bottom:30px}h1{letter-spacing:-1.9px;font-size:35px}.hero p{font-size:12px;line-height:1.8}.hero-art{right:-170px;top:70%;opacity:.35}.query-section,.explore-section{margin-top:42px}h2{font-size:21px}.query-hint,.explore-sub{display:none}.prompt-box textarea{padding:20px;font-size:13px}.prompt-footer{padding:10px;align-items:stretch;flex-direction:column}.button-primary{justify-content:space-between}.suggestion-grid,.answer-sources,.library-grid{grid-template-columns:1fr}.suggestion{min-height:92px}.data-strip{gap:8px;padding:19px 10px}.data-stat{min-width:0}.data-stat strong{font-size:20px}.data-stat span{font-size:8px}.footer{margin:0 20px;font-size:8px}.footer>span:last-child{display:none}.answer-panel{padding:20px}.answer-mode{font-size:9px}.library-tools{flex-direction:column;align-items:stretch}.library-intro h1{font-size:39px}}
