:root { --dark: #141c25; --blue: #3b8bbf; --blue-d: #357aa8; --line: #e2e6ea; --text: #2c3744; --muted: #8a97a4; --ok: #2e7d52; --warn: #8a5a00; } * { box-sizing: border-box; } body { margin: 0; color: var(--text); background: #f7f9fb; font: 15px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; } html.panel-open, body.panel-open { overflow: hidden; } .topbar { display: flex; align-items: center; background: var(--dark); color: #fff; height: 56px; padding: 0 18px; } .brand { font-weight: 800; letter-spacing: 1px; font-size: 19px; } .topbar-title { flex: 1; text-align: center; font-weight: 700; font-size: 18px; } .basket-btn { display: inline-flex; align-items: center; gap: 7px; margin-right: 10px; background: transparent; color: #dbe5ec; border: 1px solid #43515f; border-radius: 6px; padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; } .basket-btn:hover { color: #fff; background: #1d2a36; border-color: #667786; } .basket-btn:focus-visible { outline: 2px solid #8bc7ed; outline-offset: 2px; } .basket-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; color: #fff; background: var(--blue); border-radius: 10px; padding: 0 6px; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; } .category-select { width: 100%; padding: 10px 12px; border-radius: 7px; border: 1px solid #33424f; background: #1d2731; color: #fff; font-size: 15px; cursor: pointer; } .category-select:focus { outline: none; border-color: var(--blue); } .category-select option:disabled { color: #7d8b98; } /* The search bar in code-lookup mode: monospace, because what goes in it is a code. The placeholder stays proportional so the hint reads as prose. */ .query-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; } .query-code::placeholder { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; } .layout { display: flex; min-height: calc(100vh - 56px); } .sidebar { width: 270px; flex-shrink: 0; background: var(--dark); color: #cdd6df; padding: 22px 20px; } .side-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; margin: 22px 0 8px; color: #fff; } .side-label:first-child { margin-top: 0; } #system-filters, #code-lookup { margin-top: 26px; border-top: 1px solid #2a3742; padding-top: 14px; } /* The count box doubles as a vertical scrubber. The chevrons and the ns-resize cursor are the whole affordance; clicking without dragging focuses it for typing as usual. */ .k-input { width: 100%; padding: 10px 30px 10px 12px; border-radius: 7px; border: 1px solid #33424f; background: #1d2731; color: #fff; font-size: 15px; cursor: ns-resize; touch-action: none; appearance: textfield; -moz-appearance: textfield; background-image: url('data:image/svg+xml,'); background-repeat: no-repeat; background-position: right 10px center; } .k-input::-webkit-outer-spin-button, .k-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .k-input:focus { outline: none; border-color: var(--blue); cursor: text; } .filters { margin: 4px 0; } .filter-opt { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 14px; cursor: pointer; } .filter-opt input { accent-color: var(--blue); width: 15px; height: 15px; } /* The last selected code system: it stays checked and cannot be cleared, since a search over no code system has nothing to return. Dimmed rather than hidden so it still reads as a choice that exists; the row's title says why. */ .filter-opt-locked { cursor: not-allowed; opacity: .55; } .filter-opt-locked input { cursor: not-allowed; } /* Collapsed Advanced group: ranking model + result count live here. */ .advanced { margin-top: 26px; border-top: 1px solid #2a3742; padding-top: 14px; } .advanced > summary { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #8fa1b0; cursor: pointer; } .advanced > summary:hover, .advanced[open] > summary { color: #fff; } .advanced .side-label { margin-top: 16px; } .export { width: 100%; margin-top: 30px; background: var(--blue); color: #fff; border: 0; border-radius: 6px; padding: 11px; font-size: 14px; cursor: pointer; } .export:hover { background: var(--blue-d); } .content { flex: 1; min-width: 0; max-width: 1080px; margin: 0 auto; padding: 30px 24px 70px; width: 100%; overflow-x: clip; } .search-for { text-align: center; font-size: 12px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; margin: 6px 0 14px; } /* The caption retires once there are results, but it keeps its space rather than collapsing: display:none would pull the search bar upward and the whole page would jump under the user's cursor mid-task. */ .caption-off { visibility: hidden; } .search-row { display: flex; gap: 8px; } .query-wrap { position: relative; flex: 1; display: flex; } /* Recent searches for the current category. Opens on click with the full list; a only opens while typing and paints a caret inside the field. */ .recent-panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 4px; list-style: none; max-height: 280px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 10px 28px rgba(20, 28, 37, .13); } .recent-item { padding: 8px 12px; border-radius: 6px; font-size: 15px; color: var(--text); cursor: pointer; display: flex; align-items: center; gap: 10px; } .recent-item:hover, .recent-item.active { background: #eaf3fb; } .recent-item .recent-when { margin-left: auto; font-size: 12px; color: var(--muted); } .recent-empty { padding: 8px 12px; font-size: 14px; color: var(--muted); } .query { flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 16px; } .query:focus { outline: none; border-color: var(--blue); } .search-btn { background: var(--blue); color: #fff; border: 0; border-radius: 9px; padding: 0 26px; font-size: 15px; font-weight: 600; cursor: pointer; } .search-btn:hover { background: var(--blue-d); } .examples { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; } .examples a { color: var(--blue); cursor: pointer; } .examples a:hover { text-decoration: underline; } /* -- query planner -------------------------------------------------------- */ /* Sidebar mode switch: a segmented control, not a dropdown, so both modes are visible at once and the tool never looks like it only does one thing. */ .mode-switch { display: flex; gap: 4px; background: #1d2731; border: 1px solid #33424f; border-radius: 8px; padding: 3px; margin-bottom: 22px; } .mode-btn { flex: 1; background: transparent; color: #9dabb8; border: 0; border-radius: 6px; padding: 9px 4px; font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; } .mode-btn:hover { color: #fff; } .mode-btn.on { background: var(--blue); color: #fff; } .mode-btn:focus-visible { outline: 2px solid #8bc7ed; outline-offset: 1px; } /* resize:none removes the drag handle the browser draws in the bottom-right corner of a textarea, which read as stray "//" glyphs against the border. */ .plan-query { resize: none; min-height: 52px; font-family: inherit; line-height: 1.45; } /* Streamed reasoning. Fixed height with its own scroll so a 16,000-character monologue never pushes the plan off the screen; muted and monospaced so it reads as the model's working notes rather than as a result. */ /* One complete sentence of the model's reasoning at a time, at reading pace. The full text stays available underneath, verbatim. */ .cot { margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; } .cot > summary { padding: 8px 12px; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); cursor: pointer; } .cot > summary:hover { color: var(--text); } .cot-text { max-height: 190px; overflow-y: auto; margin: 0; padding: 0 12px 12px; font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: #6b7885; white-space: pre-wrap; word-break: break-word; } .side-link { display: block; background: none; border: 0; color: #8bc7ed; font: inherit; font-size: 12px; padding: 8px 0 0; cursor: pointer; } .side-link:hover { text-decoration: underline; } /* Add-a-model dialog. The element is its own backdrop so it never collides with the drawer's #overlay. */ .modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(20, 28, 37, .55); padding: 20px; } .modal-card { width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 12px; padding: 22px 24px; box-shadow: 0 18px 50px rgba(20, 28, 37, .3); } .modal-card h3 { margin: 0 0 14px; font-size: 17px; } .modal-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); margin: 14px 0 5px; } .modal-input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: 14px; background: #fff; color: var(--text); } .modal-input:focus { outline: none; border-color: var(--blue); } .modal-note { font-size: 12px; color: #6b7885; background: #f5faff; border: 1px solid #c7dcf1; border-radius: 7px; padding: 9px 11px; margin: 18px 0 0; line-height: 1.55; } /* Announced by screen readers, never painted: the visible counter next to it updates 4x a second and would be unbearable in a live region. */ .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } .modal-error { color: #b3403c; font-size: 13px; margin: 10px 0 0; min-height: 18px; } .modal-text { font-size: 14px; color: var(--text); margin: 0; line-height: 1.5; } .modal-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 16px; } .modal-actions .search-btn { padding: 9px 20px; border-radius: 8px; } /* The plan bar persists across searches, so it reads as a standing worklist rather than as the result of the last action. */ .plan-bar { border: 1px solid #c7dcf1; background: #f5faff; border-radius: 10px; padding: 12px 14px; margin-top: 18px; } .plan-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; } .plan-head-q { flex: 1; font-weight: 600; color: #24486e; font-size: 14px; } .plan-note { color: #5a6773; font-size: 14px; margin: 0 0 8px; } .plan-chips, .plan-constraints { margin-bottom: 0; align-items: center; } .plan-constraints { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #c7dcf1; } /* The chip shell carries the border; the label and the pencil are separate controls inside it (nested