:root { --ink:#eaf4f4; --muted:#a7bcbd; --night:#071822; --deep:#051119; --aqua:#89f2d0; --mint:#cafde8; --line:rgba(201,253,232,.15); --curve:cubic-bezier(.32,.72,0,1); }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; color:var(--ink); background:var(--deep); font-family:"Plus Jakarta Sans",sans-serif; }
body::after { content:""; position:fixed; inset:0; pointer-events:none; opacity:.035; z-index:4; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.aurora { position:fixed; width:44vw; height:44vw; border-radius:50%; filter:blur(90px); opacity:.12; pointer-events:none; }
.aurora-one { background:#34bd9c; top:-26vw; left:-12vw; }.aurora-two { background:#3984b8; right:-18vw; bottom:-26vw; }
.shell { width:min(1180px,calc(100% - 48px)); min-height:100dvh; margin:auto; position:relative; z-index:1; }.hidden { display:none!important; }
.login-screen { min-height:100dvh; display:grid; grid-template-columns:.9fr 1.1fr; grid-template-rows:1fr auto; gap:48px; padding:48px 0 36px; }.brand-lockup { display:flex; align-items:center; gap:13px; align-self:start; }.brand-mark { display:grid; width:45px; height:45px; place-items:center; border-radius:16px; color:#08221f; background:var(--aqua); font-weight:800; font-size:21px; box-shadow:inset 0 1px 0 rgba(255,255,255,.72); }.brand-lockup strong { display:block; font-size:21px; letter-spacing:-.06em; }.overline,.eyebrow { display:block; margin:0 0 5px; color:var(--aqua); font-family:"DM Mono",monospace; font-size:10px; letter-spacing:.16em; }.login-frame,.answer-frame { align-self:center; padding:1px; border-radius:34px; background:linear-gradient(130deg,rgba(202,253,232,.42),rgba(202,253,232,.03) 44%); }.login-card,.answer-card { border-radius:33px; background:linear-gradient(145deg,rgba(17,49,59,.98),rgba(7,24,34,.98)); box-shadow:inset 0 1px 0 rgba(255,255,255,.08); }.login-card { padding:56px; }.login-card h1 { max-width:510px; margin:0; letter-spacing:-.075em; font-size:clamp(39px,5vw,67px); line-height:.98; }.login-card h1 em { font-weight:500; color:var(--aqua); }.lead { max-width:440px; margin:27px 0 38px; color:var(--muted); line-height:1.7; font-size:15px; }label { display:block; margin:0 0 10px; font-size:12px; font-weight:700; letter-spacing:.02em; }.input-shell,.select-shell,.question-shell { padding:1px; border-radius:17px; background:linear-gradient(130deg,rgba(202,253,232,.32),rgba(202,253,232,.04)); }.input-shell input,.select-shell select,textarea { width:100%; border:0; outline:0; border-radius:16px; background:#0a202b; color:var(--ink); font:inherit; }.input-shell input { padding:17px 18px; }.primary-button { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; padding:8px 9px 8px 22px; border:0; border-radius:999px; color:#06211e; background:var(--aqua); cursor:pointer; font:700 13px "Plus Jakarta Sans",sans-serif; transition:transform 500ms var(--curve),background 500ms var(--curve); }.primary-button:hover { background:#baffea; transform:translateY(-2px); }.primary-button:active { transform:scale(.98); }.primary-button b { display:grid; place-items:center; width:31px; height:31px; border-radius:50%; background:rgba(5,35,30,.12); font-size:19px; font-weight:400; transition:transform 500ms var(--curve); }.primary-button:hover b { transform:translate(3px,-1px) scale(1.07); }.form-error { min-height:18px; margin:12px 0 0; color:#ffb4b4; font-size:12px; }.login-foot { grid-column:1/-1; margin:0; color:var(--muted); font-size:11px; text-align:center; }.app-screen { padding:28px 0 48px; }.app-header { display:flex; align-items:center; justify-content:space-between; padding:13px 17px; border-radius:21px; background:rgba(13,39,49,.72); box-shadow:inset 0 1px 0 rgba(255,255,255,.08); }.compact .brand-mark { width:35px; height:35px; border-radius:12px; font-size:16px; }.compact strong { font-size:17px; }.compact .overline { font-size:8px; }.header-actions { display:flex; align-items:center; gap:17px; color:var(--muted); font-size:12px; }.quiet-button { border:0; padding:8px 11px; border-radius:10px; color:var(--ink); background:rgba(202,253,232,.09); cursor:pointer; }.workspace { display:grid; grid-template-columns:260px minmax(0,1fr); gap:24px; margin-top:56px; }.context-panel { height:max-content; padding:25px; border-radius:28px; background:rgba(16,47,56,.76); box-shadow:inset 0 1px 0 rgba(255,255,255,.08); }.select-shell select { appearance:none; padding:13px; font-size:13px; }.assurance { display:flex; gap:10px; margin-top:27px; padding-top:21px; border-top:1px solid var(--line); }.assurance-dot { flex:0 0 auto; width:8px; height:8px; margin-top:5px; border-radius:50%; background:var(--aqua); }.assurance p { margin:0; color:var(--muted); font-size:11px; line-height:1.55; }.assurance strong { display:block; color:var(--ink); font-size:12px; }.query-panel { max-width:760px; padding:18px 0 80px 38px; }.query-intro h2 { margin:0; letter-spacing:-.055em; font-size:clamp(32px,4vw,48px); }.query-intro p:last-child { max-width:570px; color:var(--muted); line-height:1.7; font-size:14px; }.ask-form { margin-top:39px; }.question-shell { overflow:hidden; background:linear-gradient(130deg,rgba(202,253,232,.38),rgba(202,253,232,.04)); }.question-shell textarea { min-height:146px; padding:20px; resize:vertical; line-height:1.55; }.ask-button { width:calc(100% - 24px); margin:0 12px 12px; }.loading { display:flex; align-items:center; gap:12px; margin-top:28px; color:var(--muted); font-size:13px; }.loading i { width:11px; height:11px; border-radius:50%; background:var(--aqua); animation:pulse 1.4s var(--curve) infinite; }.answer-frame { margin-top:30px; }.answer-card { padding:31px; }.answer-text { margin:0; font-size:16px; line-height:1.75; }.sources { display:grid; gap:9px; margin-top:28px; }.source { overflow:hidden; border-radius:14px; background:rgba(202,253,232,.06); }.source summary { padding:14px 16px; cursor:pointer; color:var(--mint); font:500 11px "DM Mono",monospace; }.source summary span { float:right; color:var(--muted); }.source blockquote { margin:0; padding:2px 16px 16px; color:var(--muted); font-size:12px; line-height:1.65; }.reveal { animation:enter 900ms var(--curve) both; }.delay-one { animation-delay:120ms; }.delay-two { animation-delay:240ms; }@keyframes enter { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }@keyframes pulse { 50% { transform:scale(.55); opacity:.3; } }
.admin-screen { padding:54px 38px 80px; }.admin-intro { max-width:620px; }.admin-intro h2 { margin:0; letter-spacing:-.055em; font-size:clamp(32px,4vw,48px); }.admin-intro p:last-child { color:var(--muted); font-size:14px; line-height:1.7; }.admin-grid { display:grid; grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr); gap:24px; margin-top:35px; }.admin-frame { padding:1px; border-radius:28px; background:linear-gradient(130deg,rgba(202,253,232,.3),rgba(202,253,232,.03)); }.admin-card { min-height:100%; padding:27px; border-radius:27px; background:linear-gradient(145deg,rgba(17,49,59,.98),rgba(7,24,34,.98)); box-shadow:inset 0 1px 0 rgba(255,255,255,.08); }.key-card { margin-top:22px; padding:17px; border-radius:17px; background:rgba(137,242,208,.1); }.key-card span,.user-row span { display:block; color:var(--aqua); font:500 10px "DM Mono",monospace; letter-spacing:.12em; }.key-card strong { display:block; margin:7px 0; font:800 30px "DM Mono",monospace; letter-spacing:.08em; }.key-card p { margin:0; color:var(--muted); font-size:11px; line-height:1.6; }.users-list { display:grid; gap:10px; }.user-row { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:14px; border-radius:16px; background:rgba(202,253,232,.06); }.user-row.inactive { opacity:.58; }.user-row strong { display:block; font-size:13px; }.user-edit input { width:100%; margin-bottom:7px; padding:4px 0; border:0; border-bottom:1px solid rgba(202,253,232,.18); outline:0; color:var(--ink); background:transparent; font:600 13px "Plus Jakarta Sans",sans-serif; }.user-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }.small-button { border:0; padding:8px 10px; border-radius:9px; color:var(--ink); background:rgba(202,253,232,.1); cursor:pointer; font:600 10px "Plus Jakarta Sans",sans-serif; transition:transform 350ms var(--curve),background 350ms var(--curve); }.small-button:hover { transform:translateY(-1px); background:rgba(202,253,232,.18); }
.admin-help { margin:0 0 14px; color:var(--muted); font-size:12px; line-height:1.5; }.source-toggle { display:flex; align-items:center; gap:7px; margin:0; color:var(--aqua); font:500 10px "DM Mono",monospace; letter-spacing:.1em; cursor:pointer; }.source-toggle input { accent-color:var(--aqua); }
.source mark { padding:1px 3px; border-radius:4px; color:var(--ink); background:rgba(137,242,208,.32); }
.audit-filters { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:16px; }.audit-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:16px; color:var(--muted); font:500 11px "DM Mono",monospace; }.audit-pagination button:disabled { cursor:not-allowed; opacity:.4; }
.query-intro .query-prompt { margin:20px 0 7px; color:var(--ink); font-size:16px; font-weight:700; line-height:1.35; }
.login-card h1 { letter-spacing:-.05em; word-spacing:.08em; }
@media (max-width:760px) { .shell { width:min(100% - 32px,600px); }.login-screen { display:flex; flex-direction:column; justify-content:space-between; gap:35px; padding:28px 0; }.login-frame { align-self:stretch; }.login-card { padding:33px 25px; }.login-card h1 { font-size:42px; }.workspace { grid-template-columns:1fr; margin-top:30px; gap:19px; }.query-panel { padding:12px 0 40px; }.context-panel { padding:20px; }.app-header { padding:12px; }.header-actions { gap:9px; }.header-actions > span { display:none; }.admin-screen { padding:35px 0 40px; }.admin-grid { grid-template-columns:1fr; }.user-row { align-items:flex-start; flex-direction:column; }.user-actions { justify-content:flex-start; } }
