:root { color-scheme: dark; --bg: #08101f; --bg-soft: #0d1729; --panel: rgba(14, 25, 44, .86); --panel-solid: #101c30; --line: rgba(139, 164, 205, .16); --line-strong: rgba(139, 164, 205, .28); --text: #ecf3ff; --muted: #95a8c6; --faint: #6d819f; --accent: #79a7ff; --accent-2: #8f7cff; --accent-soft: rgba(121, 167, 255, .12); --green: #64d9ad; --danger: #ff8490; --shadow: 0 22px 70px rgba(0, 0, 0, .36); --radius: 18px; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } * { box-sizing: border-box; } html { min-height: 100%; background: var(--bg); } body { min-height: 100vh; margin: 0; color: var(--text); background: radial-gradient(circle at 14% -10%, rgba(84, 122, 255, .11), transparent 30rem), radial-gradient(circle at 95% 24%, rgba(127, 91, 255, .08), transparent 27rem), var(--bg); } button, input { font: inherit; } button { color: inherit; } button, a { -webkit-tap-highlight-color: transparent; } .hidden { display: none !important; } .topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(20px, 4vw, 64px); border-bottom: 1px solid var(--line); background: rgba(8, 16, 31, .76); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 20; } .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; } .brand-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(121, 167, 255, .35); border-radius: 12px; background: linear-gradient(135deg, rgba(121,167,255,.22), rgba(143,124,255,.16)); color: #cfe0ff; font-weight: 800; box-shadow: inset 0 1px rgba(255,255,255,.08); } .brand-copy { min-width: 0; display: grid; gap: 2px; } .brand-copy strong { font-size: 14px; letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .brand-copy small { color: var(--muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .top-meta { display: flex; align-items: center; gap: 9px; } .mode-badge, .count-badge { border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 999px; color: var(--muted); padding: 6px 10px; font-size: 10px; white-space: nowrap; } .mode-badge { color: #9ee5ca; border-color: rgba(100,217,173,.2); background: rgba(100,217,173,.06); } .hero { min-height: calc(100vh - 72px); display: grid; place-items: center; position: relative; overflow: hidden; padding: 56px 24px 100px; } .hero-content { width: min(900px, 100%); text-align: center; position: relative; z-index: 2; } .eyebrow, .section-kicker, .side-label, .article-eyebrow { color: #93b6fa; font-weight: 760; font-size: 10px; letter-spacing: .13em; } .hero h1 { margin: 17px 0 13px; font-size: clamp(36px, 6vw, 64px); line-height: 1.02; letter-spacing: -.045em; } .hero p { color: var(--muted); margin: 0 auto 34px; max-width: 680px; font-size: clamp(14px, 2vw, 17px); line-height: 1.65; } .hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; } .orb-one { width: 420px; height: 420px; top: 12%; left: -250px; background: radial-gradient(circle, rgba(69,128,255,.11), transparent 68%); } .orb-two { width: 520px; height: 520px; bottom: -270px; right: -180px; background: radial-gradient(circle, rgba(127,91,255,.11), transparent 68%); } .search-box { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); background: rgba(14, 25, 44, .92); box-shadow: 0 16px 60px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.035); transition: border-color .18s, box-shadow .18s, transform .18s; } .search-box:focus-within { border-color: rgba(121,167,255,.7); box-shadow: 0 18px 70px rgba(0,0,0,.3), 0 0 0 4px rgba(121,167,255,.08); } .hero-search { min-height: 64px; padding: 7px 8px 7px 20px; border-radius: 21px; } .top-search { min-height: 54px; padding: 5px 6px 5px 17px; border-radius: 16px; width: min(840px, 100%); } .search-icon { color: #a8bfeb; font-size: 24px; line-height: 1; transform: rotate(-15deg); } .search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 16px; } .hero-search input { font-size: clamp(15px, 2vw, 18px); } .search-box input::placeholder { color: #6f83a2; } .search-box button { border: 0; border-radius: 14px; background: linear-gradient(135deg, #6f9df5, #8072ec); min-height: 46px; padding: 0 20px; font-weight: 720; font-size: 12px; cursor: pointer; box-shadow: inset 0 1px rgba(255,255,255,.2), 0 8px 24px rgba(87,107,224,.2); } kbd { border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; color: var(--faint); background: rgba(255,255,255,.025); font-size: 10px; } .quick-links { margin-top: 22px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; } .quick-chip, .facet-button { border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #bbcae2; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; } .quick-chip:hover, .facet-button:hover { border-color: rgba(121,167,255,.4); background: rgba(121,167,255,.08); transform: translateY(-1px); } .quick-chip { border-radius: 999px; padding: 7px 11px; display: inline-flex; gap: 8px; align-items: center; font-size: 10px; } .quick-chip small, .facet-button small { color: var(--faint); } .results-view { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 80px; } .results-header { padding: 0 min(280px, 22vw) 24px 0; } .results-summary { min-height: 48px; display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-top: 20px; border-bottom: 1px solid var(--line); padding-bottom: 15px; } .results-summary > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; } .results-summary strong { font-size: 13px; } .results-summary span { color: var(--muted); font-size: 12px; } .text-btn { border: 0; background: transparent; color: #93b6fa; cursor: pointer; padding: 5px; font-size: 11px; } .text-btn:hover { color: #c5d8ff; } .results-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 34px; align-items: start; } .side-panel { display: grid; gap: 13px; position: sticky; top: 102px; } .side-card { border: 1px solid var(--line); background: rgba(13,23,41,.6); border-radius: 15px; padding: 14px; } .facet-list { display: grid; gap: 4px; margin-top: 9px; } .facet-button { width: 100%; border-radius: 9px; border-color: transparent; background: transparent; padding: 8px; display: flex; justify-content: space-between; text-align: left; font-size: 11px; } .help-card { padding: 15px; } .help-card .help-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: #a9c4fa; background: var(--accent-soft); margin-bottom: 11px; font-size: 11px; font-weight: 800; } .help-card strong { display: block; font-size: 11px; } .help-card p { color: var(--muted); font-size: 10px; line-height: 1.55; margin: 6px 0 0; } .help-card code { color: #b9cefa; } .results-column { min-width: 0; } .result-list { display: grid; gap: 12px; } .result-card { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 38px; align-items: center; border: 1px solid var(--line); background: linear-gradient(140deg, rgba(16,28,48,.82), rgba(11,21,38,.72)); border-radius: var(--radius); overflow: hidden; transition: border-color .16s, transform .16s, box-shadow .16s; } .result-card:hover { border-color: rgba(121,167,255,.34); transform: translateY(-1px); box-shadow: 0 13px 42px rgba(0,0,0,.17); } .result-main { appearance: none; border: 0; background: transparent; color: inherit; text-align: left; padding: 20px 10px 20px 22px; cursor: pointer; min-width: 0; } .result-overline { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 8px; } .result-id { font: 650 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #91b6ff; } .result-source { color: var(--faint); font-size: 9px; border-left: 1px solid var(--line-strong); padding-left: 9px; } .result-main h2 { margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -.012em; } .result-main p { color: #a9bad2; font-size: 12px; line-height: 1.65; margin: 9px 0 0; max-width: 850px; } .result-main p.muted { color: var(--faint); } .result-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 13px; } .result-tags span { color: #91a7c7; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; font-size: 9px; } .result-arrow { color: #7892bd; font-size: 17px; } mark { color: #ddecff; background: rgba(121,167,255,.16); border-radius: 3px; padding: 0 1px; } .loading { display: flex; justify-content: center; gap: 7px; padding: 70px; } .loading span { width: 7px; height: 7px; border-radius: 50%; background: #8baef1; animation: pulse 1s infinite ease-in-out; } .loading span:nth-child(2) { animation-delay: .13s; }.loading span:nth-child(3) { animation-delay: .26s; } @keyframes pulse { 0%,100% { opacity:.25; transform:translateY(0) } 50% { opacity:1; transform:translateY(-4px) } } .no-results { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); } .no-results-icon { font-size: 32px; color: #7795c8; transform: rotate(-15deg); } .no-results h2 { font-size: 18px; margin: 15px 0 5px; } .no-results p { color: var(--muted); font-size: 12px; max-width: 520px; margin: 0 auto; line-height: 1.6; } .pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; } .page-btn { width: 35px; height: 35px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #b6c5dd; cursor: pointer; font-size: 11px; } .page-btn:hover:not(:disabled) { border-color: rgba(121,167,255,.45); background: rgba(121,167,255,.08); } .page-btn.active { color: #edf4ff; background: rgba(121,167,255,.15); border-color: rgba(121,167,255,.45); } .page-btn:disabled { opacity: .3; cursor: default; } .page-gap { color: var(--faint); } .article-dialog { width: min(940px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; color: var(--text); background: #0c1729; border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; } .article-dialog::backdrop { background: rgba(2, 6, 13, .76); backdrop-filter: blur(7px); } .article-shell { display: grid; grid-template-rows: auto minmax(0,1fr) auto; max-height: calc(100vh - 34px); } .article-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 26px 28px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(121,167,255,.06), transparent 60%); } .article-head h2 { margin: 8px 0 0; font-size: clamp(20px, 3vw, 29px); line-height: 1.25; letter-spacing: -.025em; } .close-btn { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); cursor: pointer; color: #aabbd4; font-size: 22px; line-height: 1; } .close-btn:hover { border-color: var(--line-strong); color: var(--text); } .article-body { overflow: auto; padding: 24px 28px 34px; } .meta-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; } .meta-row span { border: 1px solid var(--line); background: rgba(255,255,255,.02); border-radius: 999px; color: var(--faint); padding: 5px 8px; font-size: 9px; } .article-section { border-top: 1px solid var(--line); padding: 22px 0; } .article-section:first-of-type { border-top: 0; } .article-text { margin-top: 10px; color: #c6d3e6; font-size: 13px; line-height: 1.72; white-space: pre-wrap; overflow-wrap: anywhere; } .answer-section { margin: 7px -10px 0; padding: 19px 18px 22px; border: 1px solid rgba(100,217,173,.17); border-radius: 15px; background: linear-gradient(135deg, rgba(100,217,173,.055), rgba(121,167,255,.035)); } .answer-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; } .answer-head strong { display: block; font-size: 13px; margin-top: 5px; } .answer-text { color: #d9e7e2; } .copy-btn, .source-link { border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255,255,255,.035); padding: 8px 10px; color: #bdd0ef; font-size: 10px; cursor: pointer; text-decoration: none; white-space: nowrap; } .copy-btn:hover, .source-link:hover { border-color: rgba(121,167,255,.45); color: #edf4ff; } .compact-section { padding-bottom: 8px; } .tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; } .tag-list span { border-radius: 999px; background: var(--accent-soft); color: #a9c5f8; padding: 5px 9px; font-size: 9px; } .source-line { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 10px; } .source-line > div { min-width: 0; display: grid; gap: 4px; } .source-line strong { font-size: 12px; } .source-line span { color: var(--faint); font-size: 9px; overflow-wrap: anywhere; } .article-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 52px; padding: 10px 24px; border-top: 1px solid var(--line); background: rgba(7,14,26,.7); } .article-foot > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--faint); font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; } .toast-host { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 8px; z-index: 100; pointer-events: none; } .toast { max-width: 420px; padding: 11px 13px; border-radius: 11px; color: #dbe7fb; background: #14233b; border: 1px solid #2c4264; box-shadow: var(--shadow); font-size: 11px; animation: toast-in .18s ease-out; } .toast.success { color: #b6eed8; border-color: rgba(100,217,173,.35); } .toast.error { color: #ffc2c8; border-color: rgba(255,132,144,.35); } @keyframes toast-in { from { opacity: 0; transform: translateY(7px); } } @media (max-width: 840px) { .topbar { padding: 0 18px; } .brand-copy small, .mode-badge { display: none; } .count-badge { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; } .hero { padding-left: 18px; padding-right: 18px; } .hero-search { min-height: 58px; padding-left: 15px; } .hero-search kbd { display: none; } .search-box button { padding: 0 14px; } .results-view { width: min(100% - 28px, 1240px); padding-top: 24px; } .results-header { padding-right: 0; } .results-layout { grid-template-columns: 1fr; } .side-panel { display: none; } .result-main { padding: 17px 6px 17px 17px; } .article-head, .article-body { padding-left: 20px; padding-right: 20px; } } @media (max-width: 520px) { .topbar { height: 64px; } .brand-mark { width: 34px; height: 34px; } .count-badge { display: none; } .hero { min-height: calc(100vh - 64px); } .hero h1 { font-size: 38px; } .hero p { font-size: 14px; } .hero-search { display: grid; grid-template-columns: 24px minmax(0,1fr); padding: 12px 14px; border-radius: 18px; } .hero-search button { grid-column: 1 / -1; width: 100%; } .top-search button { display: none; } .results-summary { align-items: center; } .result-card { grid-template-columns: 1fr; } .result-arrow { display: none; } .result-main h2 { font-size: 15px; } .result-main p { font-size: 11px; } .article-dialog { width: calc(100vw - 14px); max-height: calc(100vh - 14px); border-radius: 17px; } .article-shell { max-height: calc(100vh - 16px); } .article-head { padding: 20px 17px 16px; } .article-body { padding: 18px 17px 25px; } .answer-head, .source-line, .article-foot { align-items: flex-start; flex-direction: column; } .article-foot { gap: 4px; } } /* Optional Ollama fallback / staging viewer */ .ai-fallback { position: relative; overflow: hidden; margin: 0 0 16px; padding: 22px; border: 1px solid rgba(121,167,255,.27); border-radius: var(--radius); background: linear-gradient(135deg, rgba(121,167,255,.10), rgba(143,124,255,.055) 48%, rgba(13,23,41,.86)), rgba(13,23,41,.9); box-shadow: 0 16px 50px rgba(0,0,0,.14), inset 0 1px rgba(255,255,255,.035); } .ai-fallback.ai-success { border-color: rgba(100,217,173,.30); background: linear-gradient(135deg, rgba(100,217,173,.08), rgba(121,167,255,.045), rgba(13,23,41,.9)); } .ai-fallback.ai-error { border-color: rgba(255,132,144,.28); background: linear-gradient(135deg, rgba(255,132,144,.07), rgba(13,23,41,.9)); } .ai-glow { position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -100px; top: -150px; background: radial-gradient(circle, rgba(121,167,255,.2), transparent 67%); pointer-events: none; } .ai-head { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 13px; align-items: center; } .ai-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; border: 1px solid rgba(121,167,255,.32); background: linear-gradient(135deg, rgba(121,167,255,.2), rgba(143,124,255,.16)); color: #d9e6ff; font-size: 11px; font-weight: 850; letter-spacing: .08em; } .ai-head h2 { margin: 5px 0 0; font-size: 16px; letter-spacing: -.015em; } .ai-timer { color: #8da8d4; font: 650 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(4,10,20,.25); white-space: nowrap; } .ai-fallback > p { position: relative; margin: 15px 0 14px 55px; color: #a9bad2; font-size: 12px; line-height: 1.65; max-width: 760px; } .ai-progress { position: relative; height: 3px; margin: 0 0 17px 55px; border-radius: 999px; background: rgba(121,167,255,.09); overflow: hidden; } .ai-progress span { position: absolute; inset: 0 auto 0 -38%; width: 38%; border-radius: inherit; background: linear-gradient(90deg, transparent, #79a7ff, #8f7cff, transparent); animation: ai-sweep 1.65s infinite ease-in-out; } @keyframes ai-sweep { 0% { transform: translateX(0); } 100% { transform: translateX(365%); } } .ai-actions { position: relative; margin-left: 55px; display: flex; align-items: center; justify-content: space-between; gap: 16px; } .ai-actions > span { color: var(--faint); font-size: 10px; line-height: 1.5; } .ai-actions button { flex: 0 0 auto; } .article-eyebrow-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; } .staging-badge { color: #ffd99a; border: 1px solid rgba(255,197,100,.24); background: rgba(255,197,100,.07); border-radius: 999px; padding: 4px 7px; font-size: 8px; font-weight: 800; letter-spacing: .08em; } @media (max-width: 620px) { .ai-fallback { padding: 18px; } .ai-head { grid-template-columns: 38px minmax(0,1fr); } .ai-mark { width: 38px; height: 38px; } .ai-timer { grid-column: 2; justify-self: start; } .ai-fallback > p, .ai-progress, .ai-actions { margin-left: 0; } .ai-actions { align-items: flex-start; flex-direction: column; } }