:root{--forest:#173f35;--deep:#153c32;--green:#36715e;--accent:#c6a96f;--paper:#f8f8f3;--white:#fff;--ink:#253b33;--muted:#78847c;--line:#e4e8df;--soft:#edf1e8;--serif:Georgia,'Times New Roman',serif;--sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--shadow:0 15px 50px rgba(26,56,42,.045)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #a9bc99;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #a9bc99;outline-offset:2px}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.app-shell{display:flex;min-height:100vh}.sidebar{width:254px;background:var(--forest);color:#e9eee4;position:fixed;inset:0 auto 0 0;z-index:40;display:flex;flex-direction:column;padding:36px 22px 20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:var(--serif);font-size:29px;letter-spacing:-.8px;padding:0 9px}.brand-mark{width:40px;height:48px;font-size:48px;line-height:1;color:#dac79a}.brand small{display:block;font-family:var(--sans);font-size:10px;font-weight:400;letter-spacing:.45px;color:#b1c2b8;margin-top:4px}.new-chat{border:1px solid #527265;background:#234b3e;color:#f2f1e6;border-radius:9px;height:44px;display:flex;align-items:center;gap:9px;margin:34px 0 33px;padding:0 13px;font-size:12px}.new-chat>span{font-size:23px;font-weight:200}.new-chat kbd{margin-left:auto;font:10px var(--sans);color:#c1cec2;border:1px solid #5a7768;padding:2px 4px;border-radius:4px}.nav-label{font-size:9px;letter-spacing:1.8px;color:#9bb4a7;font-weight:600;margin:0 12px 11px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;height:43px;border:0;background:none;color:#bacbbf;text-align:left;padding:0 12px;font-size:12px;border-radius:7px;margin:4px 0}.nav-item svg{width:17px}.nav-item:hover{background:#244d40;color:white}.nav-item.active{background:#315645;color:#fff}.nav-count{font-size:10px;margin-left:auto;background:#ffffff0b;color:#c8d5ca;border-radius:5px;padding:3px 6px}.recent-label{margin-top:37px;display:flex;align-items:center;justify-content:space-between}.recent-label button{background:none;color:#b5c6b9;border:0;font-size:15px}.recent-list{overflow:auto;max-height:32vh}.recent-list p{font-size:11px;line-height:1.8;color:#a1b8aa;padding:2px 12px}.recent-item{border:0;background:none;color:#b6c8bc;text-align:left;font-size:11px;display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:11px 12px;border-radius:5px}.recent-item:hover{background:#284e41}.sidebar-bottom{margin-top:auto;padding-top:30px}.source-badge{border:1px solid #41614f;border-radius:8px;padding:12px 9px;display:flex;gap:10px;align-items:center;font-size:10px;color:#e4e9dd}.source-badge small{display:block;font-size:9px;color:#a1b6a8;margin-top:5px}.source-monogram{display:grid;place-items:center;width:30px;height:35px;background:#345844;border:1px solid #687858;border-radius:20px 20px 4px 4px;color:#d4c898;font-family:var(--serif);font-size:23px}.about-button{display:flex;align-items:center;gap:9px;width:100%;border:0;background:none;color:#bed0c3;font-size:11px;padding:20px 4px}.about-button svg{width:16px;height:16px}.about-button>span:last-child{margin-left:auto}.private-note{display:flex;align-items:center;gap:7px;font-size:8px;color:#8eaa99;border-top:1px solid #3a5a48;padding-top:17px}.private-note svg{width:12px;height:12px}.workspace{margin-left:254px;width:calc(100% - 254px);display:flex;flex-direction:column;min-height:100vh}.topbar{height:79px;display:flex;align-items:center;justify-content:space-between;padding:0 45px;border-bottom:1px solid var(--line);background:#fbfbf7}.breadcrumbs{display:flex;align-items:center;gap:16px;font-size:11px}.crumb{color:#8a938b}.slash{color:#c5cabe}.top-actions{display:flex;align-items:center;gap:24px}.language{display:flex;align-items:center;gap:7px;font-size:10px;color:#778177}.language svg{width:14px;height:14px}.avatar{border:1px solid #d9dfce;border-radius:50%;width:33px;height:33px;background:#e9edde;font-size:10px}.mobile-menu{display:none!important}main{width:100%;max-width:1250px;margin:0 auto;padding:0 64px;flex:1}.welcome{text-align:center;padding:54px 0 29px}.eyebrow,.page-eyebrow{font-size:9px;letter-spacing:1.65px;font-weight:600;color:#6e8974;display:flex;gap:7px;justify-content:center;align-items:center}.small-star{font-size:19px;color:#9b9c6f}h1{font-family:var(--serif);font-size:51px;line-height:1.15;letter-spacing:-1.9px;font-weight:400;margin:18px 0 18px}h1 em{font-weight:400;color:#547959}.hero-description{font-size:12px;color:#7c857c;line-height:1.9;margin:0}.search-area{max-width:820px;margin:auto}.question-card{background:var(--white);border:1px solid #dce2d5;border-radius:14px;box-shadow:var(--shadow);overflow:hidden;transition:border-color .2s,box-shadow .2s}.question-card:focus-within{border-color:#a5b79b;box-shadow:0 8px 35px #284c3a0d}.question-tabs{display:flex;align-items:center;margin:0 21px;border-bottom:1px solid #edf0e8;gap:24px;height:52px}.question-tab{background:none;border:0;padding:17px 0 15px;display:flex;align-items:center;gap:7px;font-size:11px;color:#899185;border-bottom:2px solid transparent}.question-tab svg{width:16px;height:16px}.question-tab.active{border-bottom-color:#356249;color:#2e5c43}.mode-indicator{font-size:9px;color:#8b947e;margin-left:auto;display:flex;align-items:center;gap:5px}.mode-indicator:before{content:'';width:5px;height:5px;border-radius:50%;background:#a2b294}.mode-indicator.on:before{background:#598d61}textarea{display:block;resize:vertical;min-height:95px;max-height:260px;width:100%;border:0;background:none;color:var(--ink);font-size:16px;padding:24px 24px 9px;line-height:1.5;outline:none!important}textarea::placeholder{color:#9ca396;font-family:var(--serif);font-size:22px}.composer-footer{display:flex;align-items:center;justify-content:space-between;padding:0 17px 16px 23px}.scope-select{display:flex;align-items:center;gap:8px;color:#7b8879}.scope-select svg{width:15px;height:15px}.scope-select select{border:0;background:none;color:#667660;font-size:10px;max-width:210px}.send-wrap{display:flex;align-items:center;gap:13px}.enter-hint{font-size:9px;color:#a2a89d}#sendButton{background:var(--forest);color:white;border:0;border-radius:9px;height:36px;width:39px;display:grid;place-items:center}#sendButton:hover{background:#365d49}#sendButton svg{width:19px;height:19px}.composer-note{display:flex;align-items:center;justify-content:center;gap:6px;font-size:8.5px;line-height:1.6;color:#929a8d;margin:12px 0 30px}.composer-note svg{width:12px;height:12px;flex-shrink:0}.section-kicker{font-size:8.5px;letter-spacing:1.6px;font-weight:600;color:#929d8c}.prompt-section{max-width:820px;margin:0 auto 36px}.suggestion-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:13px}.suggestion{display:flex;align-items:center;gap:12px;text-align:left;background:#f7f8f1;border:1px solid var(--line);border-radius:9px;padding:16px 12px;font-size:10.5px;font-weight:500;transition:transform .2s,border-color .2s}.suggestion:hover{transform:translateY(-3px);border-color:#b3c2a6}.suggestion-icon{color:#6a825b;background:#ebefdf;padding:8px;border-radius:8px}.suggestion-icon svg{width:16px;height:16px}.suggestion small{display:block;color:#8b9485;font-size:8px;font-weight:400;margin-top:7px}.suggestion-arrow{color:#9eaa94;margin-left:auto;align-self:flex-start;font-size:13px}.featured-section{max-width:820px;margin:auto}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-heading h2{font-family:var(--serif);font-size:25px;font-weight:400;letter-spacing:-.5px;margin:7px 0 0}.text-link{background:none;border:0;color:#6d7f62;font-size:10px;display:flex;align-items:center;gap:12px}.featured-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.book-card{cursor:pointer;border:1px solid #e2e6db;border-radius:11px;background:#fcfcf8;overflow:hidden;text-align:left;padding:0;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}.book-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #2444320d}.book-stage{height:143px;background:#eceee4;display:grid;place-items:center;overflow:hidden;position:relative}.book-stage:before{content:'';position:absolute;width:120px;height:120px;border-radius:50%;border:1px solid #d8dece;right:-25px;top:-25px}.book-cover{width:83px;height:113px;border-radius:1px 4px 4px 1px;box-shadow:-2px 2px 0 #aaa987,6px 8px 14px #21392925;background:var(--book-color,#265b4e);color:#e6d6a9;padding:9px 7px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;transform:rotate(-6deg);border-left:4px solid #0002;text-align:center;gap:7px}.book-cover:after{content:'';position:absolute;inset:7px;border:1px solid #e4d6a740;border-radius:28px 28px 0 0;pointer-events:none}.cover-ornament{font-size:15px;line-height:1;color:#e7d6a8}.cover-title{font-family:var(--serif);font-size:11px;line-height:1.2;max-width:64px}.cover-author{font-size:4px;line-height:1.4;text-transform:uppercase;letter-spacing:.5px}.cover-volume{font-size:5px;letter-spacing:1px;opacity:.8}.book-info{padding:13px 13px 15px;flex:1}.book-category{font-size:7px;letter-spacing:.7px;text-transform:uppercase;color:#7d9271}.book-info h3{font-family:var(--serif);font-weight:400;font-size:14px;line-height:1.3;margin:6px 0;color:#2f4537}.book-info p{font-size:8px;color:#8a9483;margin:0;line-height:1.6}.library-strip{max-width:820px;display:flex;align-items:center;gap:15px;padding:18px 0;margin:27px auto 15px;border-top:1px solid var(--line);font-size:8px;color:#88927f}.library-strip>div{display:flex;align-items:center;gap:6px;white-space:nowrap;color:#6c8062}.live-dot{width:5px;height:5px;border-radius:50%;background:#809b68}.library-strip button{margin-left:auto;border:0;background:none;color:#778c6a;font-size:8px;white-space:nowrap}.site-footer{max-width:1250px;width:100%;padding:20px 64px;display:flex;justify-content:space-between;font-size:8px;color:#9ca494}.footer-dot{padding:0 5px}.view{display:none}.view.active{display:block}.page-eyebrow{justify-content:flex-start;margin-top:48px}.page-title{font-size:44px;margin-top:14px;margin-bottom:13px}.page-description{font-size:12px;color:#818d7a;line-height:1.8;max-width:600px}.library-controls{display:flex;gap:12px;margin-top:28px}.library-input{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:9px;padding:0 14px;flex:1}.library-input svg{width:16px;color:#819478}.library-input input{border:0;background:none;padding:14px 0;width:100%;font-size:12px;color:var(--ink);outline:none}.library-controls select{border:1px solid var(--line);border-radius:8px;background:#f0f2e8;padding:0 15px;color:#6b7e60;font-size:11px}.category-chips{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.category-chips button{background:none;border:1px solid var(--line);border-radius:20px;padding:8px 13px;font-size:10px;color:#859079}.category-chips button.active{background:#e4ebdc;color:#3e6747;border-color:#d1ddc5}.result-count{font-size:10px;color:#8c9683;margin:24px 0 15px}.library-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding-bottom:35px}.empty-state{padding:65px 25px;text-align:center;border:1px dashed #ccd7c1;border-radius:12px;color:#859278;grid-column:1/-1;line-height:1.8}.empty-state h3{font-family:var(--serif);font-size:24px;font-weight:400;color:#516e46}.conversation{max-width:820px;margin:auto}.question-bubble{font-family:var(--serif);font-size:25px;line-height:1.45;letter-spacing:-.4px;padding:24px 0 17px}.answer-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:25px;margin-bottom:22px;box-shadow:var(--shadow)}.answer-heading{display:flex;align-items:center;gap:10px;font-size:11px;margin-bottom:17px;color:#416849;font-weight:600}.answer-avatar{width:29px;height:29px;border-radius:7px;background:#e9efdf;color:#658354;display:grid;place-items:center;font-size:22px}.answer-mode{font-weight:400;font-size:8px;margin-left:auto;color:#8a947f;background:#f3f5ed;border-radius:4px;padding:5px 7px}.answer-text{font-size:13px;line-height:1.95;color:#53604d}.answer-text p{margin:0 0 15px;white-space:pre-wrap}.citation-button{display:inline;border:0;background:#e6eedd;color:#456740;border-radius:4px;font-size:9px;padding:1px 5px;vertical-align:2px;margin:0 2px}.source-results-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 0 11px;font-size:10px;color:#738567;border-top:1px solid #e9ede3;margin-top:10px}.source-result{display:block;padding:15px 0;border-top:1px solid #edf0e7}.source-result:first-child{border-top:0}.result-top{display:flex;align-items:flex-start;gap:10px}.citation-label{font-size:8px;min-width:24px;text-align:center;border-radius:4px;padding:5px 4px;background:#f0f3e8;color:#7b8d6e}.result-title{border:0;background:none;padding:1px 0;color:#3e5e42;text-align:left;font-family:var(--serif);font-size:15px;line-height:1.3}.result-meta{font-size:8px;color:#95a086;margin-top:4px;line-height:1.7}.result-save{margin-left:auto;border:0;background:none;color:#91a27f;padding:2px}.result-save.saved{color:#355e3f}.result-save svg{width:16px;height:16px}.result-excerpt{margin:12px 0 8px 34px;font-size:11px;line-height:1.85;color:#8b9380;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.result-actions{display:flex;gap:14px;margin-left:34px;margin-top:12px}.result-actions button,.result-actions a{border:0;background:none;padding:0;color:#69825c;text-decoration:none;font-size:9px}.answer-footer{display:flex;align-items:center;gap:12px;margin-top:20px;padding-top:12px;border-top:1px solid #edf0e7;color:#99a18e;font-size:8px}.answer-footer button{font-size:9px;border:0;background:none;color:#859876}.answer-footer svg{width:13px;height:13px}.loading-dots{display:flex;gap:4px;padding:15px 0}.loading-dots i{width:6px;height:6px;border-radius:50%;background:#93ac7b;animation:pulse 1.2s infinite}.loading-dots i:nth-child(2){animation-delay:.2s}.loading-dots i:nth-child(3){animation-delay:.4s}@keyframes pulse{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}body.has-conversation .welcome,body.has-conversation #homeContent{display:none}body.has-conversation .search-area{padding-top:26px}body.has-conversation .composer-note{margin-bottom:7px}body.has-conversation textarea{min-height:65px;font-size:13px}body.has-conversation textarea::placeholder{font-size:18px}.source-dialog,.about-dialog{border:1px solid #dce4d0;border-radius:16px;background:#fbfcf7;padding:28px;box-shadow:0 25px 100px #17362b40;color:var(--ink);width:min(680px,calc(100% - 30px));max-height:85vh}.about-dialog{width:min(550px,calc(100% - 30px))}dialog::backdrop{background:#122d2590;backdrop-filter:blur(4px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.icon-button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:5px;background:none;color:#8c9a80;font-size:25px}.icon-button:hover{background:#e8eddf}.source-dialog h2,.about-dialog h2{font-family:var(--serif);font-weight:400;font-size:29px;line-height:1.3;margin:13px 0}.source-dialog .source-text{font-size:13px;line-height:1.9;color:#65735a;white-space:pre-wrap;background:#fff;border:1px solid #e4e8db;border-radius:8px;padding:20px;max-height:45vh;overflow:auto}.source-dialog .source-meta{font-size:11px;line-height:1.8;color:#849176}.source-dialog .source-actions{display:flex;gap:12px;margin-top:18px}.primary-link,.secondary-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;padding:11px 15px;font-size:11px;background:var(--forest);color:#fff;border-radius:7px;border:0}.secondary-link{background:#e8edde;color:#57744c}.about-dialog p{font-size:12px;line-height:1.85;color:#718066}.dialog-brand{font-family:var(--serif);font-size:28px;color:#426547}.muted{font-size:10px!important;color:#929c85!important}.coverage-box{border:1px solid #d9e2cc;background:#eef3e7;border-radius:8px;padding:17px;font-size:11px;line-height:1.9;color:#657d54}.coverage-numbers{display:flex;justify-content:space-around;text-align:center;margin-bottom:10px}.coverage-numbers strong{display:block;font-family:var(--serif);font-size:26px;font-weight:400;color:#3f6242}.access-row{display:flex;gap:8px;margin-top:9px}.access-row input{border:1px solid #dbe1d2;background:white;border-radius:5px;padding:10px;flex:1;min-width:0}.access-row button{border:0;background:var(--forest);color:#fff;border-radius:5px;padding:0 17px;font-size:11px}#accessArea{font-size:11px;margin-top:23px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:13px 21px;background:#244b3d;color:white;border:1px solid #547054;border-radius:8px;font-size:12px;opacity:0;transition:.2s;z-index:100;pointer-events:none;box-shadow:var(--shadow)}.toast.visible{opacity:1;transform:translate(-50%,0)}.saved-grid{margin:30px 0 50px}.saved-grid .source-result{background:white;border:1px solid var(--line);border-radius:10px;padding:20px;margin-bottom:13px}.sidebar-scrim{display:none}mark{background:#f0edcf;color:#526742;border-radius:2px}.no-server-note{padding:18px;background:#f1eddd;border-radius:8px;color:#74684a;line-height:1.8}
@media(min-width:1600px){main{padding:0 100px}.welcome{padding-top:75px}.featured-grid .book-stage{height:175px}.book-cover{width:92px;height:130px}.cover-title{font-size:12px}.suggestion{padding:19px 14px}.prompt-section{margin-bottom:42px}}
@media(max-width:1200px){main{padding:0 34px}.topbar{padding:0 33px}.sidebar{width:225px;padding:30px 17px 20px}.workspace{margin-left:225px;width:calc(100% - 225px)}h1{font-size:45px}.suggestion{gap:8px;padding:13px 9px;font-size:9px}.suggestion small{font-size:7.5px}.suggestion-icon{padding:6px}.site-footer{padding:20px 34px}.library-strip{flex-wrap:wrap;gap:10px}.library-strip button{margin-left:auto}.mode-indicator{font-size:8px}.library-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.sidebar{width:200px;padding:30px 13px 16px}.workspace{margin-left:200px;width:calc(100% - 200px)}.brand{font-size:25px}.brand-mark{font-size:40px;width:31px}.new-chat kbd{display:none}.source-badge{padding:10px 7px;font-size:8px}.source-badge small{font-size:8px}.private-note{font-size:7px}.suggestion-grid{grid-template-columns:1fr}.suggestion{padding:13px;font-size:11px}.suggestion small{font-size:9px;display:inline;margin-left:8px}.suggestion-arrow{align-self:center}.featured-grid{grid-template-columns:repeat(2,1fr)}.book-stage{height:155px}.library-grid{grid-template-columns:repeat(2,1fr)}.question-tabs{gap:16px}.mode-indicator{display:none}.welcome{padding-top:42px}.eyebrow{font-size:7px}h1{font-size:39px}.hero-description{font-size:11px}.site-footer>span:last-child{display:none}.language{font-size:9px}.top-actions{gap:12px}.composer-note{font-size:8px;align-items:flex-start}.library-strip>span{display:none}}
@media(max-width:900px){.sidebar{width:254px;transform:translateX(-100%);transition:transform .25s}.workspace{margin:0;width:100%}.mobile-menu{display:grid!important;margin-left:-8px}.sidebar-open .sidebar{transform:translateX(0)}.sidebar-open .sidebar-scrim{display:block;position:fixed;inset:0;background:#0f2b2580;z-index:35}.topbar{height:63px;padding:0 21px}.breadcrumbs{gap:8px;font-size:10px}.crumb,.slash{display:none}.language{font-size:8px}.language svg{width:12px}.avatar{width:29px;height:29px}.top-actions{gap:13px}main{padding:0 22px}.welcome{padding:40px 0 27px}.eyebrow{font-size:6.5px;letter-spacing:1.3px}h1{font-size:39px;letter-spacing:-1.7px;margin:17px 0}.hero-description{font-size:10.5px;padding:0 6px}.desktop-break{display:none}.question-tabs{margin:0 15px;height:49px;gap:23px}.question-tab{font-size:10px;padding:15px 0}.question-tab svg{width:14px}textarea{padding:21px 18px 10px;min-height:100px}textarea::placeholder{font-size:21px}.composer-footer{padding:0 12px 13px 17px}.scope-select select{font-size:9px;max-width:170px}.scope-select svg{width:13px}.enter-hint{display:none}#sendButton{width:35px;height:34px}.composer-note{font-size:7px;gap:5px;margin-bottom:27px;line-height:1.7}.composer-note svg{width:11px;flex-shrink:0}.suggestion-grid{gap:9px}.suggestion{font-size:10px;padding:13px}.suggestion small{font-size:8px;display:block;margin:5px 0 0}.suggestion-icon{padding:9px}.prompt-section{margin-bottom:30px}.section-kicker{font-size:7px;letter-spacing:1.3px}.section-heading h2{font-size:24px}.text-link{font-size:9px}.featured-grid{gap:12px}.book-stage{height:148px}.book-info{padding:12px}.book-info h3{font-size:14px}.book-info p{font-size:8px}.library-strip{font-size:7px;margin-top:20px}.library-strip button{font-size:7px}.site-footer{padding:17px 22px;font-size:7px}.page-eyebrow{margin-top:34px;font-size:8px}.page-title{font-size:38px}.page-description{font-size:11px}.library-controls{flex-wrap:wrap}.library-input{flex-basis:100%}.library-controls select{height:36px}.category-chips{gap:6px}.category-chips button{font-size:8px;padding:7px 10px}.library-grid{gap:11px}.question-bubble{font-size:23px}.answer-card{padding:19px}.answer-text{font-size:12px}.result-title{font-size:14px}.result-excerpt{font-size:10px;margin-left:0}.result-actions{margin-left:0}.answer-mode{font-size:7px}.source-dialog,.about-dialog{padding:22px}.source-dialog h2,.about-dialog h2{font-size:25px}.source-dialog .source-text{font-size:12px}.coverage-numbers strong{font-size:23px}.coverage-numbers{font-size:9px}.dialog-top .section-kicker{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.mode-help{font-size:12px;line-height:1.7;color:#718374;margin:14px 25px 0}.work-status[hidden]{display:none}.work-status{display:flex;align-items:center;gap:14px;margin:0 24px 22px;padding:17px 19px;background:#edf4e9;border:1px solid #cbdcc3;border-radius:12px;color:#285540}.work-status strong{display:block;font-size:13px;font-weight:600}.work-status div>span{display:block;margin-top:5px;line-height:1.6;font-size:11px;color:#64785e}#workElapsed{font-size:11px;white-space:nowrap;margin-left:auto;color:#718374}.work-spinner{display:inline-block;width:22px;height:22px;flex-shrink:0;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:work-spin .8s linear infinite}.question-card.is-working{border-color:#7e9e6b;box-shadow:0 0 0 3px #bfd2b43b}.question-card.is-working #sendButton{opacity:1;background:#315f4d}.question-bubble{scroll-margin-top:90px}.is-loading{border:1px solid #cbdcc3;background:linear-gradient(110deg,#fff 20%,#f3f7ed 45%,#fff 70%);background-size:250% 100%;animation:working-light 3s ease-in-out infinite}.working-caption{font-size:12px;line-height:1.7;color:#718374}.explain-results{padding:12px 18px;border-radius:8px;background:var(--forest);color:white;border:0;margin-top:17px;font-size:12px}@keyframes work-spin{to{transform:rotate(360deg)}}@keyframes working-light{0%,100%{background-position:100% 0}50%{background-position:0 0}}@media(max-width:900px){.mode-help{font-size:11px;margin:12px 17px 0}.work-status{margin:0 13px 17px;padding:14px;gap:10px}.work-status strong{font-size:12px}.work-status div>span{font-size:11px}.work-spinner{width:19px;height:19px}.working-caption{font-size:11px}}@media(prefers-reduced-motion:reduce){.work-spinner,.is-loading{animation:none}.work-spinner{border-right-color:currentColor;border-style:dotted}}

/* One scrollable conversation with its composer below the messages. */
.conversation-header[hidden]{display:none}.conversation-header{max-width:820px;width:100%;margin:0 auto;padding:18px 0 12px;border-bottom:1px solid var(--line)}.conversation-header h1{font:400 21px var(--serif);letter-spacing:0;margin:0 0 5px}.conversation-header>span{font-size:10px;color:var(--muted)}.recent-item.active{background:#315645;color:white}
body.has-conversation[data-view="home"] .workspace{height:100dvh;min-height:0}body.has-conversation[data-view="home"] .topbar{flex-shrink:0}body.has-conversation[data-view="home"] main{min-height:0;display:flex;flex:1}body.has-conversation[data-view="home"] #homeView{display:flex;flex-direction:column;width:100%;min-height:0}body.has-conversation[data-view="home"] .conversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;width:100%;margin:0 auto;padding:12px 3px 18px;scrollbar-width:thin}body.has-conversation[data-view="home"] .search-area{flex-shrink:0;width:100%;padding-top:12px;margin:0 auto}body.has-conversation[data-view="home"] .site-footer{display:none}body.has-conversation .composer-note{margin:8px 0 12px}body.has-conversation textarea{min-height:48px;max-height:120px;padding-top:12px}body.has-conversation .question-tabs{height:42px}body.has-conversation .question-tab{padding:12px 0 10px}body.has-conversation .mode-help{font-size:10px;margin-top:8px}body.has-conversation .question-bubble{font:400 14px/1.7 var(--sans);letter-spacing:0;max-width:85%;width:fit-content;margin:18px 0 15px auto;padding:12px 17px;background:#e7eddf;border:1px solid #d6e0ce;border-radius:14px 14px 3px 14px;white-space:pre-wrap;overflow-wrap:anywhere;scroll-margin-top:10px}.answer-card{overflow-wrap:anywhere}.quran-text{background:#f7f9f1;border:1px solid var(--line);border-radius:9px;padding:18px;margin:16px 0}.quran-text h2{font:400 22px var(--serif);margin:0 0 7px}.quran-attribution{font-size:10px;color:var(--muted);line-height:1.7}.quran-verses{max-height:440px;overflow-y:auto}.quran-ayah{font:400 29px/2.3 'Traditional Arabic','Geeza Pro',serif;text-align:right;margin:12px 0}.ayah-number{font-size:18px;color:var(--green)}@media(max-width:900px){.conversation-header{padding:12px 0 9px}.conversation-header h1{font-size:19px}.conversation-header>span{font-size:9px}body.has-conversation .question-bubble{max-width:92%;font-size:13px}.quran-text{padding:12px}.quran-ayah{font-size:25px}body.has-conversation .composer-note{font-size:6.5px}}

.answer-sources summary{font-size:11px;line-height:1.8;color:var(--green);cursor:pointer;padding:12px 0;border-top:1px solid var(--line);margin-top:14px}.answer-sources[open] summary{margin-bottom:5px}
/* Mobile drawer and keyboard-aware chat. */
.sidebar-close{display:none}.workspace,main,.view,.search-area,.scope-select{min-width:0}
body.has-conversation[data-view="home"] .workspace{height:var(--chat-height,100dvh)}
@media(max-width:900px){
.sidebar{width:min(300px,calc(100vw - 48px));height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding:calc(24px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));visibility:hidden}
.sidebar-open{overflow:hidden}.sidebar-open .sidebar{visibility:visible}.sidebar-open .sidebar-scrim{touch-action:none}
.sidebar-close{display:grid;position:absolute;right:10px;top:calc(12px + env(safe-area-inset-top));font-size:28px}
.sidebar .brand{padding-right:30px;flex-shrink:0}.sidebar .new-chat,.sidebar nav,.sidebar .nav-label,.sidebar-bottom{flex-shrink:0}
.sidebar .new-chat,.sidebar .nav-item,.sidebar .recent-item,.about-button{min-height:44px;font-size:14px}
.sidebar .nav-label{font-size:10px}.recent-list{max-height:none;min-height:90px;flex:1;overflow-y:auto}.sidebar-bottom{margin-top:16px;padding-top:16px}.source-badge,.source-badge small{font-size:11px}.private-note{font-size:9px}
.icon-button,#sendButton,.avatar{min-width:44px;min-height:44px}.topbar{height:auto;min-height:64px;padding:env(safe-area-inset-top) 16px 0}.top-actions{gap:8px}.language{font-size:10px}.breadcrumbs{font-size:12px}
main{padding:0 16px}.welcome{padding:32px 0 24px}h1{font-size:clamp(30px,9vw,39px)}.hero-description{font-size:13px;line-height:1.8}.eyebrow{font-size:8px;letter-spacing:1px}
.question-tab{font-size:13px;min-height:44px}.question-tabs{gap:20px}.mode-help{font-size:12px}.scope-select{flex:1;gap:5px}.scope-select select{font-size:16px;width:100%;max-width:100%;min-height:44px;padding-right:4px}.scope-select svg{flex-shrink:0}.composer-footer{gap:8px}.send-wrap{flex-shrink:0}textarea{font-size:16px;resize:none}.composer-note{font-size:10px;line-height:1.6}
.suggestion{font-size:14px;min-height:64px}.suggestion small{font-size:12px}.section-kicker{font-size:9px}.text-link,.library-strip,.library-strip button{font-size:12px;min-height:44px}.library-strip{align-items:flex-start}.library-strip button{margin-left:0}.book-info p{font-size:11px}.book-info h3{overflow-wrap:anywhere}
.library-input input,.library-controls select{font-size:16px;min-height:44px;width:100%}.library-controls select{max-width:100%}.library-input{min-width:0}.category-chips button{font-size:12px;min-height:44px}.library-grid,.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-description{font-size:14px}
.answer-card{padding:16px}.answer-heading{gap:9px;flex-wrap:wrap}.answer-mode{font-size:9px;margin-left:0}.answer-text{font-size:15px;line-height:1.85}.result-title{font-size:17px;overflow-wrap:anywhere}.result-meta,.result-actions,.answer-footer,.answer-sources summary{font-size:12px}.result-actions button,.result-save,.answer-footer button{min-width:44px;min-height:44px}.source-results-heading{gap:8px;flex-wrap:wrap}.answer-footer{flex-wrap:wrap}.work-status{flex-wrap:wrap}.work-status div{flex:1;min-width:120px}
.source-dialog,.about-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 32px);padding:20px;overflow-y:auto;overflow-wrap:anywhere}.source-dialog p,.about-dialog p{font-size:14px}.coverage-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.primary-link{white-space:normal;min-height:44px}
body.has-conversation .conversation-header{padding:10px 0 8px}body.has-conversation .conversation-header>span{font-size:11px}body.has-conversation .question-bubble{font-size:15px}body.has-conversation .search-area{padding-top:8px;padding-bottom:env(safe-area-inset-bottom)}body.has-conversation .mode-help{display:none}body.has-conversation textarea{min-height:44px;height:64px;max-height:96px;padding:10px 16px}body.has-conversation .composer-note{font-size:9px;margin:5px 0 8px}body.has-conversation .question-tabs{height:44px}.quran-verses{max-height:none}
.toast{max-width:calc(100vw - 32px);white-space:normal;bottom:calc(20px + env(safe-area-inset-bottom))}
}
@media(max-width:900px) and (max-height:500px){body.has-conversation .conversation-header,body.has-conversation .composer-note{display:none}body.has-conversation .question-tabs{display:none}body.has-conversation textarea{height:44px}body.has-conversation .search-area{padding-top:4px}}
@media(max-width:900px){.source-dialog .source-meta,.source-dialog .muted,.about-dialog .muted{font-size:13px;line-height:1.8}.scope-select select{overflow:hidden;text-overflow:ellipsis}.answer-footer button{font-size:12px}.result-actions .text-link{font-size:13px}}

@media(max-width:900px){.result-top>div{min-width:0}.result-save{flex:0 0 44px}.result-save svg{width:20px;height:20px}.citation-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:12px;vertical-align:middle}.result-title{min-height:44px;text-align:left}}

.language select{border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit;min-height:36px;padding:6px 8px;cursor:pointer}.language-note{font-size:10px;line-height:1.6;color:var(--muted);margin:8px 4px 0}body.has-conversation .language-note{margin-top:5px}body.has-conversation .composer-note{margin-top:5px}@media(max-width:900px){.language select{font-size:16px;min-height:44px;max-width:120px}.top-actions{gap:6px}.language{gap:4px}.language>svg{display:none}.language-note{font-size:10px}.breadcrumbs{min-width:0}.breadcrumbs #currentView{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(max-width:900px) and (max-height:500px){body.has-conversation .language-note{display:none}}
