@font-face{font-family:system-ui;src:local("PingFang SC")}
:root{--bg:#f5f5ef;--paper:#fff;--ink:#232e29;--muted:#67716b;--line:#dedfd6;--accent:#d9ecab;--deep:#294337;--mint:#e0ebe1;--lavender:#e8e4f2;--peach:#f2e3d5;--rail:96px;--radius:24px;--font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.5}input,textarea,select{color:var(--ink)}:focus-visible{outline:3px solid #6e944b;outline-offset:4px}svg{width:24px;height:24px;display:inline-block;vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}::selection{background:var(--accent)}.skip{position:fixed;top:-80px;left:110px;background:var(--ink);color:white;padding:10px;z-index:99}.skip:focus{top:8px}.rail{width:var(--rail);position:fixed;inset:0 auto 0 0;z-index:10;display:flex;align-items:center;flex-direction:column;border-right:1px solid var(--line);background:#f9f9f4;padding:27px 12px 20px;gap:50px}.brand-mark{display:grid;place-items:center;width:48px;height:48px;background:var(--deep);color:var(--accent);border-radius:16px}.brand-mark svg{width:40px;height:40px}.rail nav{display:flex;flex-direction:column;gap:12px;width:100%}.rail-button{width:72px;min-height:76px;border-radius:18px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:var(--muted);font-size:14px;font-weight:500;transition:background .15s,color .15s}.rail-button svg{width:25px;height:25px}.rail-button:hover{background:#e9ede2}.rail-button.active{background:var(--deep);color:#fff}.rail>.settings-trigger{margin-top:auto}.shell{margin-left:var(--rail)}.topbar{height:104px;padding:0 4.3%;display:flex;align-items:center;justify-content:space-between;gap:16px}.wordmark{font-size:26px;font-weight:700;letter-spacing:-1px;display:flex;align-items:center;gap:16px;white-space:nowrap}.wordmark span{font-size:15px;font-weight:400;letter-spacing:2px;border-left:1px solid #cdd2c6;padding-left:16px;color:var(--muted)}.top-actions{display:flex;gap:18px;align-items:center}.persona-switch{display:flex;padding:5px;background:#e9ece3;border-radius:30px;gap:3px}.persona-switch button{min-width:74px;min-height:38px;border-radius:24px;padding:5px 17px;font-size:15px}.persona-switch button[aria-pressed=true]{background:#fff;box-shadow:0 2px 4px #17241b0a}.round-button{border:1px solid var(--line);border-radius:50%;width:42px;height:42px;display:grid;place-items:center}.round-button svg{width:20px}.round-button:hover{background:white}main{max-width:1280px;margin:0 auto;padding:20px 5% 72px}main:focus{outline:0}.entry{max-width:1000px;margin:auto}.grade-row{display:grid;grid-template-columns:repeat(3,1fr);max-width:560px;margin:0 auto;gap:12px}.grade-button{display:flex;align-items:center;justify-content:center;gap:18px;border:1px solid var(--line);border-radius:18px;background:#f9f9f5;min-height:75px;font-size:19px;transition:all .18s}.grade-button svg{height:31px;width:31px}.grade-button[aria-pressed=true]{background:var(--deep);border-color:var(--deep);color:white}.grade-button:hover{transform:translateY(-2px)}.hero{padding:44px 0 30px;text-align:center}.hero h1{font-size:clamp(36px,4.3vw,56px);letter-spacing:-2px;line-height:1.3;font-weight:500}.hero .accent-word{color:#758660}.hero p{margin-top:15px;color:var(--muted);font-size:17px}.composer{border:1px solid #d6dacd;background:white;border-radius:28px;padding:22px 24px 17px;box-shadow:0 10px 30px #253a2610;transition:border-color .2s}.composer:focus-within{border-color:#798d65}.composer textarea{width:100%;height:66px;max-height:180px;resize:none;border:0;background:none;outline:0;font-size:18px;line-height:1.65;padding:0}.composer textarea::placeholder{color:#92988f}.compose-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.model-chip{display:flex;align-items:center;gap:8px;font-size:14px;color:#596b56;padding:6px 10px;border-radius:20px;background:#f0f4e9;max-width:calc(100% - 56px)}.model-chip svg{width:17px;height:17px}.model-chip span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.send-button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--deep);color:white}.send-button:hover{background:#43624e}.send-button svg{width:23px;height:23px}.suggestions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}.suggestion{border:1px solid var(--line);padding:8px 15px;border-radius:24px;font-size:14px;background:transparent}.suggestion:hover{background:white;border-color:#a2ad95}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:46px 0 20px}.section-head h2{font-size:21px;letter-spacing:-.5px}.text-button{display:inline-flex;gap:8px;align-items:center;color:var(--muted);padding:8px 0;font-size:15px}.text-button svg{width:18px;height:18px}.text-button:hover{color:var(--deep)}.topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.topic{border-radius:23px;min-height:164px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:left;transition:transform .18s}.topic:hover{transform:translateY(-4px)}.topic:nth-child(3n+1){background:var(--mint)}.topic:nth-child(3n+2){background:var(--lavender)}.topic:nth-child(3n){background:var(--peach)}.topic>svg{width:44px;height:44px;stroke-width:1.6}.topic-title{display:flex;width:100%;justify-content:space-between;align-items:center;font-size:19px;font-weight:550}.topic-title svg{width:22px}.source-strip{margin-top:32px;border-top:1px solid var(--line);padding-top:22px;display:flex;justify-content:space-between;align-items:center;gap:15px}.source-title{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:15px}.source-title svg{width:22px}.source-numbers{display:flex;gap:22px;font-size:14px;color:var(--muted)}.source-numbers b{color:var(--ink);font-size:21px;font-weight:500;margin-right:6px;font-variant-numeric:tabular-nums}.page-title{margin:12px 0 32px;display:flex;align-items:center;justify-content:space-between;gap:16px}.page-title h1{font-size:35px;letter-spacing:-1px}.page-title .count{font-size:16px;color:var(--muted);margin-left:16px;font-weight:400;letter-spacing:0}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.search-box{position:relative;flex:1;min-width:200px;display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden}.search-box>svg{margin-left:18px;color:var(--muted);width:21px}.search-box input{width:100%;border:0;outline:0;background:none;padding:16px 14px;font-size:16px}.toolbar select{border:1px solid var(--line);border-radius:15px;padding:12px 34px 12px 16px;background:#fff;max-width:100%}.primary,.secondary{border-radius:13px;padding:13px 20px;font-weight:500;display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:48px;font-size:16px}.primary{background:var(--deep);color:white}.primary:hover{background:#3d604d}.primary svg,.secondary svg{width:20px}.secondary{border:1px solid var(--line);background:#fff}.secondary:hover{background:#eaf0e3}.school-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.school-card{padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;position:relative;cursor:pointer;display:block;text-align:left;min-height:173px;transition:transform .18s,border-color .18s}.school-card:hover{transform:translateY(-2px);border-color:#8a9f7e}.school-emblem{background:#f0f3e9;color:var(--deep);width:46px;height:46px;border-radius:13px;display:grid;place-items:center;margin-bottom:16px}.school-emblem svg{width:28px;height:28px}.school-card h2{font-size:18px;line-height:1.45;padding-right:5px}.school-card .card-meta{margin-top:9px;color:var(--muted);font-size:14px;display:flex;justify-content:space-between;gap:8px}.star{color:var(--muted);position:absolute;right:17px;top:20px;padding:8px;border-radius:50%}.star.selected{color:#526c27;background:#edf3dd}.star svg{width:20px;height:20px}.school-open{width:100%;text-align:left;padding:0}.pagination{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:32px}.pagination button{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:white;display:grid;place-items:center}.pagination button:disabled{opacity:.35}.pagination span{color:var(--muted);font-size:15px}.back{display:flex;gap:8px;align-items:center;padding:0 0 16px;color:var(--muted)}.back svg{width:20px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px;background:white}table{border-collapse:collapse;width:100%;min-width:760px;text-align:left;font-size:15px}th{background:#edf0e7;color:#58644f;font-weight:500;padding:17px 20px;white-space:nowrap}td{padding:19px 20px;border-top:1px solid #eceee7;vertical-align:top}td .sub{display:block;color:var(--muted);margin-top:5px;font-size:14px}td strong{font-weight:500}.tag{display:inline-flex;border-radius:8px;padding:3px 9px;background:#edf2e5;color:#516343;font-size:14px;white-space:nowrap}.document-list{border-top:1px solid var(--line)}.doc-row{display:flex;gap:20px;align-items:flex-start;padding:25px 4px;border-bottom:1px solid var(--line)}.doc-icon{width:49px;height:55px;flex-shrink:0;display:grid;place-items:center;background:#e7ecdd;border-radius:12px;color:#516643}.doc-icon svg{width:28px;height:28px}.doc-main{flex:1;min-width:0;text-align:left;padding:0}.doc-main h2{font-size:18px;line-height:1.6;margin-bottom:9px}.doc-main:hover h2{color:#5c773e}.doc-meta{display:flex;gap:14px;align-items:center;color:var(--muted);font-size:14px;flex-wrap:wrap}.bookmark-button{margin-top:3px;padding:10px;border:1px solid transparent;border-radius:50%;flex-shrink:0}.bookmark-button svg{width:22px}.bookmark-button.selected{background:var(--accent)}.empty{padding:65px 20px;text-align:center;color:var(--muted)}.empty svg{width:55px;height:55px;margin-bottom:18px;stroke-width:1.4}.empty h2{font-size:21px;color:var(--ink);margin-bottom:10px}.empty button{margin-top:20px}.grade-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.grade-heading .grade-row{width:390px;margin:0}.grade-heading .grade-button{min-height:59px;font-size:17px;gap:12px}.grade-heading .grade-button svg{width:24px}.roadmap{margin:35px 0;display:flex;flex-direction:column;gap:0}.step{display:flex;gap:24px;position:relative;padding:0 0 35px}.step:not(:last-child):before{content:'';position:absolute;left:27px;top:55px;bottom:0;width:1px;background:#c9d0bf}.step-icon{display:grid;place-items:center;width:55px;height:55px;flex-shrink:0;border-radius:16px;background:#e5eadc}.step-icon svg{width:27px;height:27px}.step-content{padding-top:4px;flex:1}.step h2{font-size:21px;line-height:1.5}.step p{margin-top:7px;color:var(--muted);max-width:720px;line-height:1.8;font-size:16px}.step-check{width:34px;height:34px;border:1px solid #bec8b1;border-radius:50%;margin-top:10px;display:grid;place-items:center;flex-shrink:0}.step-check.done{background:var(--deep);color:white}.step.completed h2{color:var(--muted)}.progress-line{height:5px;border-radius:5px;background:#dfe4d5;overflow:hidden;margin:12px 0 36px}.progress-line div{height:100%;background:#718955;transition:width .3s}.completion{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:15px}.chat-layout{max-width:880px;margin:0 auto}.chat-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:30px}.chat-heading h1{font-size:23px}.chat-heading .text-button{font-size:14px}.messages{display:flex;flex-direction:column;gap:24px;margin-bottom:30px}.message.user{align-self:flex-end;max-width:85%;background:#e7eddc;padding:16px 22px;border-radius:22px 22px 5px 22px;white-space:pre-wrap;overflow-wrap:anywhere}.message.assistant{width:100%;padding:6px 0 20px}.answer-head{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:14px;margin-bottom:14px}.answer-head svg{width:20px;color:var(--deep)}.answer-body{font-size:17px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.citations{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.citation{border:1px solid var(--line);background:#f9faf6;border-radius:12px;padding:9px 12px;font-size:14px;max-width:100%;display:flex;gap:10px;text-align:left;align-items:center}.citation span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:450px}.citation b{font-weight:500;color:#5b7046}.citation:hover{background:#eaf0df}.chat-composer{position:sticky;bottom:20px;z-index:3}.typing{display:flex;align-items:center;gap:7px;padding:10px 0;color:var(--muted);font-size:15px}.typing i{width:6px;height:6px;border-radius:50%;background:#7c9266;animation:pulse 1s infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes pulse{50%{opacity:.2;transform:translateY(-3px)}}dialog{border:1px solid var(--line);border-radius:28px;padding:30px;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 48px);color:var(--ink);background:#fafbf7;box-shadow:0 24px 100px #121d2930}dialog::backdrop{background:#25332966;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.dialog-head h2{font-size:24px}.dialog-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:var(--accent);margin-bottom:20px}.dialog-icon svg{width:27px;height:27px}.icon-button{display:grid;place-items:center;border-radius:50%;width:38px;height:38px;flex-shrink:0}.icon-button:hover{background:#e8eddf}.icon-button svg{width:20px;height:20px}form label{display:block;font-size:16px;font-weight:500;margin:19px 0}form input{display:block;width:100%;margin-top:8px;padding:13px 15px;background:white;border:1px solid #d7ddcd;border-radius:12px;font-size:15px;height:50px}form input::placeholder{color:#8c9385}.password-field{position:relative}.password-field input{padding-right:48px}.password-field button{position:absolute;right:5px;top:6px}.dialog-actions{display:flex;gap:12px;margin-top:22px}.dialog-actions button{flex:1}.status-message{font-size:15px;color:#546d37;min-height:24px;overflow-wrap:anywhere}.status-message.error,.danger{color:#a04431}.dialog-actions+.danger{font-size:14px;margin-top:12px}.reader{width:min(900px,calc(100vw - 32px))}.reader .dialog-head{align-items:flex-start}.reader .dialog-head h2{font-size:23px;line-height:1.5}.reader-tools{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 26px}.reader-body{white-space:pre-wrap;line-height:1.95;overflow-wrap:anywhere;font-size:16px}.reader-source{font-size:15px;color:var(--muted);margin-bottom:20px}.reader-links{margin-top:30px;display:flex;flex-direction:column;gap:12px}.reader-links a{color:#466037;text-decoration:underline;overflow-wrap:anywhere}.coverage-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px}.coverage-stats div{background:#e9eedf;padding:16px 10px;border-radius:14px;text-align:center;font-size:15px;color:var(--muted)}.coverage-stats b{display:block;font-size:23px;color:var(--deep);font-weight:500}.coverage-note{padding:18px;background:#f0e8d9;border-radius:16px;margin:16px 0;line-height:1.8;font-size:15px}.coverage-line{padding:14px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;font-size:15px}.coverage-line a{text-decoration:underline}.coverage-details{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;padding:15px;background:#eef0e8}.download-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.download-row a{flex:1;white-space:nowrap}#toast{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);padding:12px 22px;border-radius:14px;color:white;background:#25392f;z-index:100;box-shadow:0 5px 25px #0002;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw;font-size:15px}#toast.visible{opacity:1}.error-panel{padding:24px;border:1px solid #e8cfbd;border-radius:18px;background:#fff8ef;color:#8e4d36;margin:20px 0}.loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:150px;color:var(--muted)}.spinner{width:20px;height:20px;border:2px solid #c5d0b5;border-top-color:#3f5732;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.saved-tabs{display:flex;gap:8px;margin-bottom:25px}.saved-tabs button{padding:10px 20px;border-radius:20px;background:#e8ecdf}.saved-tabs button.active{background:var(--deep);color:white}
@media(min-width:1500px){main{padding-top:36px}.hero{padding-top:60px;padding-bottom:40px}.section-head{margin-top:55px}.topic{min-height:190px}.composer textarea{height:75px}}
@media(max-width:1050px){:root{--rail:82px}.rail{padding-left:5px;padding-right:5px}.rail-button{width:66px}.topbar{padding:0 4%;height:90px}main{padding-left:4%;padding-right:4%}.school-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topic{padding:20px}.hero h1{font-size:45px}.source-strip{align-items:flex-start;flex-direction:column}.grade-heading{flex-direction:column;align-items:flex-start}.grade-heading .grade-row{width:100%;max-width:440px}.page-title h1{font-size:30px}}
@media(max-width:680px){:root{--rail:0px}.rail{width:100%;height:76px;inset:auto 0 0;padding:5px 10px max(5px,env(safe-area-inset-bottom));background:#f8f9f3f5;border-right:0;border-top:1px solid var(--line);gap:0;flex-direction:row;backdrop-filter:blur(16px)}.brand-mark{display:none}.rail nav{flex-direction:row;justify-content:space-between;gap:0}.rail-button{width:56px;min-height:61px;border-radius:15px;font-size:12px;gap:4px}.rail-button svg{width:23px;height:23px}.rail>.settings-trigger{margin:0;width:56px;flex-shrink:0}.rail nav .rail-button[data-view=saved]{display:none}.shell{margin:0}.topbar{height:83px;padding:0 20px;gap:10px}.wordmark{font-size:25px;gap:0}.wordmark span{display:none}.top-actions{gap:10px}.persona-switch button{min-width:57px;font-size:14px;padding:4px 11px;min-height:32px}.round-button{width:36px;height:36px}.round-button svg{width:18px}main{padding:16px 20px 110px}.grade-row{gap:8px}.grade-button{min-height:65px;border-radius:15px;font-size:17px;gap:9px}.grade-button svg{width:25px;height:25px}.hero{padding:36px 0 25px}.hero h1{font-size:38px;letter-spacing:-1.5px}.hero p{font-size:15px;margin-top:12px}.composer{padding:18px 18px 14px;border-radius:23px}.composer textarea{font-size:16px;height:76px}.model-chip{font-size:13px}.send-button{width:40px;height:40px}.suggestions{margin-top:17px;gap:8px;justify-content:flex-start}.suggestion{font-size:13px;padding:8px 12px}.suggestion:nth-child(n+3){display:none}.section-head{margin:32px 0 15px}.section-head h2{font-size:19px}.topic-grid{gap:10px}.topic{min-height:133px;border-radius:18px;padding:17px 12px}.topic>svg{width:34px;height:34px}.topic-title{font-size:14px;font-weight:550}.topic-title svg{display:none}.source-strip{margin-top:26px;padding-top:18px;gap:13px}.source-title{font-size:14px}.source-numbers{gap:18px;font-size:13px}.source-numbers b{font-size:19px}.text-button{font-size:14px}.page-title{margin:5px 0 25px;gap:10px;align-items:flex-start}.page-title h1{font-size:28px}.page-title .count{font-size:14px;margin-left:8px}.page-title .secondary{padding:9px 12px;font-size:14px;min-height:40px}.school-grid{gap:12px}.school-card{padding:17px;min-height:178px;border-radius:17px}.school-card h2{font-size:16px}.school-card .card-meta{font-size:13px;flex-wrap:wrap}.school-emblem{width:40px;height:40px;margin-bottom:14px}.school-emblem svg{width:24px}.star{right:9px;top:13px;padding:8px}.star svg{width:18px}.toolbar{gap:9px}.toolbar select{font-size:14px;flex:1;padding:11px 12px;min-width:110px}.search-box{min-width:100%;}.search-box input{font-size:15px;padding:13px 12px}.doc-row{gap:13px;padding:21px 0}.doc-icon{width:39px;height:46px;border-radius:10px}.doc-icon svg{width:24px}.doc-main h2{font-size:16px}.doc-meta{gap:8px;font-size:13px}.tag{font-size:12px}.bookmark-button{padding:7px}.bookmark-button svg{width:19px}.grade-heading .grade-row{margin-top:5px}.step{gap:17px;padding-bottom:30px}.step h2{font-size:18px}.step p{font-size:15px}.step-icon{width:47px;height:47px;border-radius:14px}.step:not(:last-child):before{left:23px;top:47px}.step-check{width:29px;height:29px;margin-top:10px}.step-check svg{width:18px}.step-icon svg{width:24px}.chat-composer{bottom:90px}.chat-heading h1{font-size:20px}.message.user{font-size:16px;padding:14px 18px}.answer-body{font-size:16px}.citation{font-size:13px}.citation span{max-width:240px}.messages{gap:18px}.chat-heading{margin-bottom:22px}dialog{padding:23px;border-radius:22px}.dialog-head h2{font-size:22px}.dialog-actions{gap:9px}.dialog-actions button{font-size:15px;padding:12px}.reader .dialog-head h2{font-size:19px}.reader-body{font-size:15px}.reader-tools .secondary{padding:10px 14px;font-size:14px}.coverage-stats b{font-size:19px}.coverage-stats div{font-size:13px;padding:14px 6px}.coverage-note{font-size:14px;padding:14px}#toast{bottom:95px;width:max-content}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}.topic:hover,.grade-button:hover,.school-card:hover{transform:none}}

progress.progress-line{display:block;width:100%;border:0;appearance:none}progress.progress-line::-webkit-progress-bar{background:#dfe4d5;border-radius:5px}progress.progress-line::-webkit-progress-value{background:#718955;border-radius:5px}progress.progress-line::-moz-progress-bar{background:#718955;border-radius:5px}

[hidden]{display:none!important}

.coverage-status-list .coverage-line{display:grid;grid-template-columns:115px 1fr;font-size:14px}.coverage-line strong{font-weight:500}.coverage-status-list .coverage-line span{color:var(--muted)}

.compose-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.web-toggle{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid var(--line);border-radius:20px;font-size:14px;color:var(--muted)}.web-toggle svg{width:16px;height:16px}.web-toggle[aria-pressed=true]{background:#dfe9d5;border-color:#c5d6b6;color:#345039}.web-toggle:disabled{opacity:.5}.chat-layout{max-width:850px}.chat-heading{padding:0 0 23px;border-bottom:1px solid var(--line);align-items:center}.chat-person{display:flex;gap:13px;align-items:center}.chat-person h1{display:flex;gap:9px;align-items:center;font-size:23px;margin:0}.chat-avatar{width:49px;height:49px;background:var(--deep);color:#e2edbc;display:grid;place-items:center;border-radius:17px}.chat-avatar svg{width:27px;height:27px}.ai-mark{font:600 11px/1 sans-serif;padding:4px 6px;border:1px solid #bec9b0;border-radius:6px;color:#5f7551;letter-spacing:.5px}.chat-context{display:block;font-size:14px;color:var(--muted);margin-top:4px}.message.assistant{max-width:82%;padding:0;width:auto;align-self:flex-start}.message.user{background:#dfe9d5;max-width:78%;line-height:1.65}.answer-head{font-size:13px;margin-bottom:9px;gap:7px}.answer-head svg{width:16px;height:16px}.answer-bubbles{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.answer-bubble{padding:15px 19px;border:1px solid #e5e8de;border-radius:5px 20px 20px 20px;background:#fff;line-height:1.75;font-size:17px;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 3px 12px #25392f04}.latest-reply .answer-bubble{animation:bubble-in .25s ease-out both}.latest-reply .answer-bubble:nth-child(2){animation-delay:.12s}.latest-reply .answer-bubble:nth-child(3){animation-delay:.24s}@keyframes bubble-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.source-details{margin:12px 0 0;font-size:13px;color:var(--muted)}.source-details summary{display:flex;align-items:center;gap:6px;cursor:pointer;width:fit-content;list-style:none}.source-details summary::-webkit-details-marker{display:none}.source-details summary svg{height:15px;width:15px}.source-details summary svg:last-child{transition:transform .2s}.source-details[open] summary svg:last-child{transform:rotate(90deg)}.source-details .citations{margin-top:10px;gap:7px;display:flex;flex-direction:column}.source-details .citation{font-size:13px;padding:9px 11px;max-width:100%;background:#eef1e7}.source-details .citation span{max-width:490px;white-space:normal;line-height:1.5;overflow-wrap:anywhere}.search-status{display:block;margin:11px 0 0 2px;font-size:12px;color:#617958}.search-status.failed,.search-status.unconfigured{color:#977244}.skill-credit{display:flex;justify-content:center;align-items:center;gap:5px;font-size:12px;color:var(--muted);margin-top:13px}.skill-credit svg{width:12px;height:12px}.chat-composer{box-shadow:0 8px 35px #25392f0a}.search-settings{border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:8px 0 18px}.search-settings summary{cursor:pointer;font-size:16px}.search-settings p{font-size:13px;line-height:1.7;color:var(--muted);margin:12px 0}.search-settings .inline-check{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:13px}.search-settings input[type=checkbox]{width:16px;height:16px;margin:0}.search-settings .secondary{min-height:38px;font-size:14px;padding:8px 13px}.search-settings label{margin-top:12px}
@media(max-width:680px){.chat-heading{padding-bottom:19px;gap:8px}.chat-person{gap:9px}.chat-person h1{font-size:19px}.chat-avatar{width:41px;height:41px;border-radius:14px}.chat-avatar svg{width:23px;height:23px}.chat-heading .text-button{font-size:12px;gap:4px}.chat-heading .text-button svg{width:16px}.chat-context{font-size:12px}.message.assistant{max-width:91%}.message.user{max-width:87%;font-size:16px;padding:13px 16px}.answer-bubble{font-size:16px;line-height:1.7;padding:13px 16px}.compose-tools{gap:6px}.web-toggle{font-size:12px;padding:6px 9px}.model-chip{font-size:12px}.source-details .citation span{max-width:230px}.skill-credit{font-size:11px}.messages{margin-bottom:23px;gap:24px}.search-settings{padding:12px}.search-status{font-size:12px}}
@media(prefers-reduced-motion:reduce){.latest-reply .answer-bubble{animation:none}}

body:has(.chat-layout){overflow:hidden}.shell:has(.chat-layout){height:100dvh;display:flex;flex-direction:column}.shell:has(.chat-layout) .topbar{flex-shrink:0}.shell:has(.chat-layout) main{flex:1;width:100%;min-height:0;padding-top:15px;padding-bottom:18px}#view:has(.chat-layout){height:100%;min-height:0}.chat-layout{height:100%;display:flex;flex-direction:column}.chat-heading{flex-shrink:0;margin-bottom:20px}.chat-layout .messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:7px;padding-bottom:12px;margin-bottom:18px}.chat-layout .message,.chat-layout .typing{flex-shrink:0}.chat-layout .chat-composer{position:static;flex-shrink:0}.chat-layout .skill-credit{flex-shrink:0}
@media(max-width:680px){.shell:has(.chat-layout){height:calc(100dvh - 76px)}.shell:has(.chat-layout) main{padding-top:12px;padding-bottom:12px}.chat-layout .chat-heading{padding-bottom:15px;margin-bottom:15px}.chat-layout .messages{padding-right:4px;margin-bottom:14px}.chat-layout .composer textarea{height:44px}.chat-layout .skill-credit{margin-top:8px}.chat-layout .answer-bubble{padding:12px 15px}}
