@font-face{font-family:Cairo;src:url('/fonts/Cairo-400.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Cairo;src:url('/fonts/Cairo-600.ttf') format('truetype');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Cairo;src:url('/fonts/Cairo-700.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Cairo;src:url('/fonts/Cairo-800.ttf') format('truetype');font-style:normal;font-weight:800;font-display:swap}
:root{--paper:#f7f3eb;--card:#fffdf9;--ink:#342d2b;--muted:#83756e;--wine:#743c46;--wine-dark:#562a32;--gold:#b68a4c;--line:#e7ded1;--soft:#f0e8dd}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:Cairo,Tahoma,sans-serif;font-size:18px;line-height:1.9}.page{width:min(940px,100%);margin:auto;padding:40px 28px 20px}.masthead{text-align:center;padding:10px 0 35px}.book-mark{width:82px;height:82px;background:#efe5d6;border-radius:50%;margin:0 auto 18px;display:grid;place-items:center;color:var(--wine)}.book-mark svg{width:53px;height:53px}.overline{font-size:14px;letter-spacing:.1px;color:var(--muted);margin:0 0 3px}h1{font-size:54px;line-height:1.6;font-weight:800;color:var(--wine);margin:0;letter-spacing:-1.2px}.subtitle{font-size:18px;color:var(--muted);margin:4px 0 0}.demo-notice{display:table;margin:16px auto 0;padding:3px 15px;border:1px solid #e2c995;color:#886322;border-radius:6px;background:#fff4db;font-size:14px}.question-panel{border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:0 9px 28px #533c2706;padding:25px 30px 22px}.question-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.question-heading label{font-size:20px;font-weight:700}.small-mark{font-size:21px;font-weight:600;color:var(--gold);border:1px solid #e9dcc5;width:33px;height:33px;display:grid;place-items:center;border-radius:50%;line-height:1}textarea{width:100%;min-height:135px;max-height:380px;resize:vertical;display:block;font:inherit;font-size:20px;line-height:2;outline:none;background:transparent;color:var(--ink);border:0;border-bottom:1px solid transparent;border-radius:0;margin:12px 0 20px;padding:8px 0}textarea::placeholder{color:#b1a49a}textarea:focus{border-bottom-color:#c6a17a}.composer-footer{display:flex;justify-content:space-between;gap:18px;align-items:center;border-top:1px solid var(--line);padding-top:18px}.input-hints{font-size:12px;color:#9b8d82;display:flex;flex-direction:column;gap:2px}#counter{font-size:11px;direction:ltr;text-align:right}.actions{display:flex;align-items:center;gap:12px}button{cursor:pointer;font:inherit;border:0;border-radius:9px;font-size:16px;font-weight:600;padding:11px 23px;display:inline-flex;align-items:center;gap:18px;background:var(--wine);color:#fffdf9;transition:background .15s}button svg{width:22px;height:22px}button:hover{background:var(--wine-dark)}button:disabled{opacity:.65;cursor:wait}.cancel-button{background:var(--soft);color:var(--muted);padding:11px 16px;font-size:14px}.cancel-button:hover{background:#e6daca}.progress{padding:22px 6px;display:flex;justify-content:center;align-items:center;gap:12px;color:var(--wine);font-size:16px}.spinner{width:19px;height:19px;border:2px solid #dfccbc;border-top-color:var(--wine);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error{padding:15px 20px;border:1px solid #dfbab0;background:#fff0eb;color:#8b4034;font-size:15px;border-radius:10px;margin:20px 0;overflow-wrap:anywhere}.empty{text-align:center;padding:40px 15px 36px;color:var(--muted)}.ornament{display:block;width:40px;height:2px;background:#c4a378;margin:auto auto 22px}.empty p{font-size:17px;margin:0 0 5px}.empty small{font-size:13px;color:#a29488}.results{margin-top:26px}.answer-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:27px 30px 32px;border-top:3px solid var(--gold)}.answer-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.answer-heading h2{font-size:23px;line-height:1.5;margin:0;color:var(--wine);font-weight:700}.text-button{font-size:13px;padding:6px 10px;color:var(--muted);background:var(--soft);font-weight:500}.text-button:hover{background:#e8ddcd;color:var(--wine)}.asked-question{font-size:15px;color:var(--muted);padding:0 0 16px;border-bottom:1px solid var(--line);margin:15px 0 19px;white-space:pre-wrap;overflow-wrap:anywhere}.answer-text{font-size:20px;line-height:2.15;white-space:pre-wrap;overflow-wrap:anywhere}.sources-section{margin-top:14px;border:1px solid var(--line);border-radius:12px;background:#f4eee4}.sources-section>summary{padding:17px 21px;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:16px;color:#665547}.sources-section>summary::-webkit-details-marker{display:none}.sources-label{display:flex;align-items:center;gap:10px;font-weight:600}.sources-label svg{width:22px;height:22px;color:var(--gold);flex-shrink:0}.source-count{font-size:12px;font-weight:500;padding:0 8px;background:#e8dece;border-radius:5px;line-height:1.9}.toggle-label{display:flex;align-items:center;gap:9px;color:#998270;font-size:12px}.chevron{width:18px;height:18px}.open-label{display:none}.sources-section[open]>summary{border-bottom:1px solid var(--line)}.sources-section[open] .open-label{display:inline}.sources-section[open] .closed-label{display:none}.sources-section[open] .chevron{transform:rotate(180deg)}.sources{padding:0 21px 17px}.source{padding:18px 0;border-top:1px solid #e1d5c4}.source h3{font-size:15px;color:var(--wine);margin:0 0 12px;font-weight:600;overflow-wrap:anywhere}.source p{font-size:17px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.source strong{font-size:13px;font-weight:700;color:#967854}.source-meta{display:inline-block;font-size:12px;color:#9f8d7b;font-weight:400;margin-right:8px}footer{display:flex;justify-content:center;align-items:center;gap:10px;font-size:12px;color:#ae9d8d;padding:30px 0 15px}footer>span:first-child{font-weight:600;color:#9a8170}.footer-dot{color:var(--gold)}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--wine);outline-offset:4px}textarea:focus-visible{outline:none}@media(max-width:600px){.page{padding:24px 16px 15px}.masthead{padding:0 0 27px}.book-mark{width:69px;height:69px;margin-bottom:14px}.book-mark svg{width:45px;height:45px}h1{font-size:42px}.overline{font-size:12px}.subtitle{font-size:15px}.question-panel{padding:20px 19px}.question-heading label{font-size:18px}textarea{font-size:18px;min-height:125px}.composer-footer{align-items:flex-end;gap:12px}.input-hints{max-width:140px;font-size:10px}.actions{gap:7px}button{font-size:14px;padding:10px 15px;gap:10px}.cancel-button{font-size:12px;padding:10px}.answer-card{padding:23px 20px}.answer-text{font-size:18px;line-height:2.15}.answer-heading h2{font-size:21px}.sources-section>summary{padding:15px;font-size:14px;gap:10px}.sources-label{gap:7px}.toggle-label{font-size:10px;gap:5px}.sources{padding:0 16px 12px}.source p{font-size:16px}.empty{padding-top:34px}.empty p{font-size:15px}.empty small{font-size:11px}}@media(max-width:380px){.composer-footer{align-items:stretch;flex-direction:column}.input-hints{max-width:none;flex-direction:row;justify-content:space-between}.actions{justify-content:flex-end}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}*{transition:none!important}}
