caelum0x 174222bcaa feat: Builder-Track named-user tools, bio + evidence-intelligence platform, Apache-2.0
Builds PaperTrail from the base skeleton into a full evidence-verification platform
for the "Built with Claude: Life Sciences" hackathon (Builder Track).

New named-user features (Build Beyond the Bench):
- Lab Notebook Companion — rough bench notes -> structured, searchable, grounded
  experiment records (lib/labNotebook, /console/lab-notebook, migration 0059)
- Clinical Trial Matcher — de-identified patient notes -> ranked eligible
  ClinicalTrials.gov trials with per-criterion inclusion/exclusion reasoning
  (lib/trialMatcher, /console/trial-matcher, migrations 0060)

Platform:
- Deterministic verification moat (biostats recompute, exact-span grounding)
- 11 biomedical evidence engines (FAERS, GWAS, Open Targets, ChEMBL, ClinVar,
  PharmGKB, PubTator, DDI, repurposing, biomarker, unified verifier)
- Evidence Intelligence (KG, dossier, provenance/export, RWE) + enterprise
  governance (RBAC, /api/v1 gateway, metering, audit chain, retention)
- 17 OSS projects assimilated into native TypeScript on our stack (backend/engines
  retained + credited in NOTICE)
- Multi-format upload (PDF/DOCX/XLSX/CSV/MD/TXT), logo, marketing site
- Next.js 16 upgrade, benchmark harness (honest smoke-test caveat)

Licensing: Apache-2.0 (LICENSE + NOTICE).
2026-07-10 16:23:13 +03:00

2233 lines
37 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
--bg: #f4f5f7;
--bg-strong: #e8eaed;
--surface: #ffffff;
--surface-strong: #f8f9fa;
--surface-muted: #f1f3f5;
--line: rgba(43, 55, 45, 0.12);
--line-strong: rgba(43, 55, 45, 0.22);
--ink: #213128;
--ink-muted: #607064;
--brand: #0f766e;
--brand-strong: #115e59;
--accent: #c2410c;
--accent-soft: #f7d8c5;
--warning-bg: #fff2d2;
--warning-line: #f0c96f;
--info-bg: #e9f6f4;
--info-line: #8ecfc8;
--error-bg: #fde9e4;
--error-line: #efb7a7;
--success-bg: #e5f5e7;
--success-line: #92d49c;
--shadow: 0 2px 8px rgba(27, 38, 31, 0.08);
--shadow-soft: 0 1px 4px rgba(27, 38, 31, 0.06);
--radius-xl: 16px;
--radius-lg: 12px;
--radius-md: 14px;
--radius-sm: 10px;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-height: 100vh;
background: #f4f5f7;
color: var(--ink);
font-family: "Manrope", sans-serif;
}
a {
color: var(--brand-strong);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.app-shell {
width: min(1400px, calc(100% - 32px));
margin: 0 auto;
padding: 24px 0 48px;
}
.topbar {
position: sticky;
top: 0;
z-index: 50;
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 18px;
padding: 16px 20px;
margin-bottom: 22px;
border: 1px solid var(--line);
border-radius: var(--radius-lg);
background: #fff;
box-shadow: var(--shadow-soft);
}
.brand-lockup {
display: flex;
align-items: center;
gap: 14px;
min-width: 0;
}
.brand-mark {
display: inline-flex;
width: 48px;
height: 48px;
align-items: center;
justify-content: center;
border-radius: 16px;
background: var(--brand-strong);
color: #fff;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.brand-copy {
display: flex;
flex-direction: column;
gap: 2px;
}
.brand-name {
font-size: 1.2rem;
font-weight: 700;
color: var(--ink);
}
.brand-subtitle {
font-size: 0.88rem;
color: var(--ink-muted);
}
.topnav {
display: flex;
justify-content: center;
gap: 10px;
flex-wrap: wrap;
}
.topnav-link {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 14px;
border-radius: 999px;
color: var(--ink-muted);
font-weight: 700;
transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.topnav-link:hover {
text-decoration: none;
background: rgba(15, 118, 110, 0.08);
color: var(--ink);
}
.topnav-link.active {
background: var(--brand);
color: #fff;
}
.topbar-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
flex-wrap: wrap;
}
.page-header {
display: grid;
gap: 18px;
margin-bottom: 26px;
justify-items: stretch;
text-align: left;
}
.page-header-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
width: 100%;
}
.page-header-copy {
display: grid;
gap: 8px;
max-width: 78ch;
justify-items: start;
text-align: left;
}
.page-eyebrow {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 0.86rem;
font-weight: 700;
color: var(--ink-muted);
}
.page-title {
margin: 0;
font-size: 1.75rem;
line-height: 1.2;
color: var(--ink);
text-align: left;
}
.page-subtitle {
margin: 0;
font-size: 1.04rem;
line-height: 1.6;
color: var(--ink-muted);
text-align: left;
}
.header-actions,
.inline-actions {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.breadcrumbs {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
color: var(--ink-muted);
font-size: 0.92rem;
}
.breadcrumbs a {
color: var(--ink-muted);
}
.breadcrumbs span[aria-current="page"] {
color: var(--ink);
font-weight: 700;
}
.breadcrumb-separator {
color: rgba(33, 49, 40, 0.4);
}
.status-card {
display: grid;
gap: 6px;
padding: 16px 18px;
border-radius: var(--radius-md);
border: 1px solid transparent;
}
.warning-card {
background: var(--warning-bg);
border-color: var(--warning-line);
}
.info-card {
background: var(--info-bg);
border-color: var(--info-line);
}
.error-card {
background: var(--error-bg);
border-color: var(--error-line);
}
.success-card {
background: var(--success-bg);
border-color: var(--success-line);
}
.panel {
background: #fff;
border: 1px solid var(--line);
border-radius: var(--radius-lg);
box-shadow: var(--shadow);
padding: 22px;
}
.panel-muted {
background: var(--surface-muted);
box-shadow: var(--shadow-soft);
}
.panel-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 18px;
flex-wrap: wrap;
cursor: default;
background-color: transparent;
}
.panel-header:hover {
background-color: transparent;
}
.status-card:hover {
background-color: inherit;
}
.panel-title {
margin: 0;
font-size: 1.25rem;
font-weight: 700;
color: var(--ink);
}
.panel-subtitle,
.helper-text {
margin: 0;
color: var(--ink-muted);
line-height: 1.5;
}
.dashboard-grid,
.grid-two,
.grid-three,
.stats-grid {
display: grid;
gap: 18px;
}
.dashboard-grid,
.grid-two {
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.grid-three,
.stats-grid {
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.action-card-grid {
display: grid;
gap: 14px;
}
.action-card {
display: grid;
gap: 10px;
padding: 18px;
border-radius: var(--radius-md);
background: var(--surface-muted);
border: 1px solid var(--line);
}
.button-link,
.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
button {
appearance: none;
border: 0;
border-radius: 999px;
margin-top: 0;
padding: 12px 18px;
font: inherit;
font-weight: 800;
cursor: pointer;
transition: background-color 0.2s ease;
transform: none;
}
.button-link:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.danger-button:hover,
button:hover {
text-decoration: none;
transform: none;
}
.button-link:disabled,
.primary-button:disabled,
.secondary-button:disabled,
.ghost-button:disabled,
.danger-button:disabled,
button:disabled {
opacity: 0.56;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.primary-button,
.button-link.primary {
background: var(--brand);
color: #fff;
}
.secondary-button,
.button-link.secondary {
background: rgba(15, 118, 110, 0.1);
color: var(--brand-strong);
}
.ghost-button,
.button-link.ghost {
background: rgba(33, 49, 40, 0.06);
color: var(--ink);
}
.danger-button,
.button-link.danger {
background: rgba(194, 65, 12, 0.12);
color: var(--accent);
}
.small-button {
padding: 9px 13px;
font-size: 0.92rem;
}
.help-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
border-radius: 50%;
background: rgba(15, 118, 110, 0.1);
color: var(--brand, #0f766e);
font-size: 0.82rem;
font-weight: 700;
text-decoration: none;
flex-shrink: 0;
transition: background 0.15s, color 0.15s;
}
.help-link:hover {
background: var(--brand, #0f766e);
color: #fff;
text-decoration: none;
}
.button-row {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.badge {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 6px 10px;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.neutral-badge {
background: rgba(33, 49, 40, 0.06);
color: var(--ink);
}
.warning-badge {
background: rgba(240, 201, 111, 0.22);
color: #8b5e0f;
}
.error-badge {
background: rgba(194, 65, 12, 0.16);
color: var(--accent);
}
.success-badge {
background: rgba(73, 158, 86, 0.14);
color: #2f6d39;
}
.form-grid {
display: grid;
gap: 16px;
}
.form-row {
display: grid;
gap: 8px;
}
.form-row label,
.form-label {
font-size: 0.92rem;
font-weight: 700;
color: var(--ink);
}
input[type="text"],
input[type="number"],
input[type="password"],
input[type="file"],
select,
textarea {
width: 100%;
box-sizing: border-box;
height: auto;
padding: 14px 15px;
border-radius: var(--radius-sm);
border: 1px solid var(--line);
background: rgba(255, 255, 255, 0.92);
font: inherit;
color: var(--ink);
}
textarea {
min-height: 120px;
resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
outline: 2px solid rgba(15, 118, 110, 0.22);
outline-offset: 2px;
border-color: rgba(15, 118, 110, 0.3);
}
.checkbox-row {
display: inline-flex;
align-items: center;
gap: 10px;
}
.checkbox-row input[type="checkbox"],
.checkbox-row input[type="radio"] {
width: 18px;
height: 18px;
}
.staged-list,
.staged-claims {
display: grid;
gap: 10px;
}
.staged-item,
.staged-claim {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
padding: 14px 16px;
border-radius: var(--radius-md);
border: 1px solid var(--line);
background: rgba(255, 255, 255, 0.82);
}
.staged-item strong,
.staged-claim strong {
color: var(--ink);
}
.section-stack {
display: grid;
gap: 18px;
}
.model-picker {
display: grid;
gap: 12px;
}
.model-table,
.data-table,
.comparison-table {
width: 100%;
border-collapse: collapse;
overflow: hidden;
margin-bottom: 0;
box-shadow: none;
background: transparent;
}
th {
background-color: transparent;
color: var(--ink);
}
.model-table thead th,
.data-table thead th,
.comparison-table thead th {
font-size: 0.82rem;
font-weight: 800;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--ink-muted);
padding: 12px 10px;
border-bottom: 1px solid var(--line);
}
.model-table tbody td,
.data-table tbody td,
.comparison-table tbody td,
.comparison-table tbody th {
padding: 12px 10px;
border-bottom: 1px solid rgba(33, 49, 40, 0.08);
vertical-align: top;
}
.model-table tr:nth-child(even),
.data-table tr:nth-child(even),
.comparison-table tr:nth-child(even),
.model-table tr:hover,
.data-table tr:hover,
.comparison-table tr:hover {
background: transparent;
}
.comparison-scroll {
overflow: auto;
border-radius: var(--radius-md);
border: 1px solid var(--line);
}
.comparison-table {
min-width: 720px;
background: rgba(255, 255, 255, 0.8);
}
.comparison-table thead th:first-child,
.comparison-table tbody th {
position: sticky;
left: 0;
background: var(--surface-strong);
color: var(--ink);
z-index: 1;
}
.comparison-table thead th {
position: sticky;
top: 0;
background: var(--surface-strong);
z-index: 2;
}
.comparison-table tbody tr.section-row th {
background: rgba(33, 49, 40, 0.06);
color: var(--ink);
font-weight: 800;
}
.candidate-chip {
display: inline-flex;
align-items: center;
gap: 10px;
font-weight: 800;
color: var(--ink);
}
.candidate-dot {
width: 14px;
height: 14px;
border-radius: 999px;
background: var(--candidate-color, var(--brand));
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}
.candidate-pill {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 7px 10px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.82);
border: 1px solid rgba(0, 0, 0, 0.06);
}
.metric-highlight {
background: rgba(73, 158, 86, 0.12);
font-weight: 800;
}
/* ===== Rating chips (0–5 verdict scale) ===== */
.rating-chip {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border-radius: 999px;
font-size: 0.82rem;
font-weight: 800;
white-space: nowrap;
border: 1px solid transparent;
}
.rating-chip.rating-5 {
background: rgba(22, 101, 52, 0.16);
color: #14532d;
border-color: rgba(22, 101, 52, 0.3);
}
.rating-chip.rating-4 {
background: rgba(73, 158, 86, 0.14);
color: #166534;
border-color: rgba(73, 158, 86, 0.3);
}
.rating-chip.rating-3 {
background: rgba(217, 119, 6, 0.13);
color: #92400e;
border-color: rgba(217, 119, 6, 0.3);
}
.rating-chip.rating-2 {
background: rgba(220, 38, 38, 0.1);
color: #b91c1c;
border-color: rgba(220, 38, 38, 0.24);
}
.rating-chip.rating-1 {
background: rgba(153, 27, 27, 0.16);
color: #7f1d1d;
border-color: rgba(153, 27, 27, 0.34);
}
.rating-chip.rating-0 {
background: rgba(71, 85, 105, 0.12);
color: #334155;
border-color: rgba(71, 85, 105, 0.28);
}
.rating-chip.rating-none {
background: transparent;
color: var(--ink-muted);
border-color: var(--line);
}
.rating-chip.rating-failed {
background: rgba(220, 38, 38, 0.08);
color: #b91c1c;
border-color: rgba(220, 38, 38, 0.34);
border-style: dashed;
}
.rating-chip .pick-star {
color: #b45309;
}
/* ===== Verdict matrix ===== */
.verdict-matrix-wrap {
overflow: auto;
border: 1px solid var(--line);
border-radius: var(--radius-md);
}
.verdict-matrix {
width: 100%;
border-collapse: collapse;
min-width: 680px;
background: rgba(255, 255, 255, 0.85);
}
.verdict-matrix thead th {
position: sticky;
top: 0;
z-index: 2;
background: var(--surface-strong);
font-size: 0.8rem;
font-weight: 800;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--ink-muted);
padding: 10px;
border-bottom: 1px solid var(--line);
text-align: left;
}
.verdict-matrix tbody th,
.verdict-matrix tbody td,
.verdict-matrix tfoot th,
.verdict-matrix tfoot td {
padding: 9px 10px;
border-bottom: 1px solid rgba(33, 49, 40, 0.08);
text-align: left;
vertical-align: middle;
}
.verdict-matrix thead th:first-child,
.verdict-matrix tbody th,
.verdict-matrix tfoot th {
position: sticky;
left: 0;
z-index: 1;
background: var(--surface-strong);
max-width: 340px;
}
.verdict-matrix tfoot th,
.verdict-matrix tfoot td {
border-top: 2px solid var(--line);
border-bottom: none;
font-weight: 800;
}
.matrix-claim-btn {
display: block;
width: 100%;
text-align: left;
background: none;
border: none;
padding: 0;
font: inherit;
font-weight: 700;
color: var(--ink);
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 320px;
}
.matrix-claim-btn:hover,
.matrix-claim-btn:focus-visible {
color: var(--brand-strong, var(--brand));
text-decoration: underline;
}
/* ===== Side-by-side output comparison ===== */
.compare-toggle-row {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.compare-grid-wrap {
overflow-x: auto;
border: 1px solid var(--line);
border-radius: var(--radius-md);
}
.compare-grid {
display: grid;
min-width: max-content;
background: rgba(255, 255, 255, 0.85);
}
.compare-label {
position: sticky;
left: 0;
z-index: 1;
background: var(--surface-strong);
padding: 12px;
font-size: 0.8rem;
font-weight: 800;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--ink-muted);
border-bottom: 1px solid rgba(33, 49, 40, 0.08);
border-right: 1px solid var(--line);
display: flex;
align-items: flex-start;
}
.compare-cell {
padding: 12px;
border-bottom: 1px solid rgba(33, 49, 40, 0.08);
border-right: 1px solid rgba(33, 49, 40, 0.06);
min-width: 260px;
max-width: 460px;
max-height: 420px;
overflow-y: auto;
font-size: 0.92rem;
line-height: 1.6;
color: var(--ink);
white-space: pre-line;
}
.compare-cell.compare-head {
background: var(--surface-strong);
white-space: normal;
display: flex;
flex-direction: column;
gap: 8px;
max-height: none;
overflow: visible;
border-left: 4px solid var(--candidate-color, transparent);
}
.compare-cell.compare-muted {
color: var(--ink-muted);
font-style: italic;
}
.compare-paper {
display: grid;
gap: 2px;
padding: 8px 0;
border-bottom: 1px dashed rgba(33, 49, 40, 0.12);
white-space: normal;
}
.compare-paper:last-child {
border-bottom: none;
}
.compare-paper-title {
font-weight: 700;
}
.compare-paper-meta {
font-size: 0.82rem;
color: var(--ink-muted);
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.compare-paper-mark {
display: inline-block;
padding: 1px 8px;
border-radius: 999px;
font-size: 0.74rem;
font-weight: 800;
background: rgba(15, 118, 110, 0.1);
color: var(--brand-strong, var(--brand));
}
.compare-paper-mark.unique {
background: rgba(180, 83, 9, 0.12);
color: #92400e;
}
.compare-query-list {
margin: 0;
padding-left: 18px;
white-space: normal;
}
.compare-query-list li {
margin-bottom: 6px;
}
/* ===== Scorecard verdict distribution ===== */
.dist-row {
display: inline-flex;
gap: 4px;
flex-wrap: wrap;
}
.dist-chip {
display: inline-flex;
align-items: center;
padding: 2px 7px;
border-radius: 999px;
font-size: 0.76rem;
font-weight: 800;
}
.claims-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
flex-wrap: wrap;
margin-bottom: 14px;
}
.claims-toolbar .field-label {
display: inline-flex;
align-items: center;
gap: 8px;
font-weight: 700;
color: var(--ink-muted);
font-size: 0.9rem;
}
.workspace-tabs {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 18px;
}
.workspace-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
flex-wrap: wrap;
margin-top: 18px;
}
.workspace-tab {
padding: 10px 14px;
border-radius: 999px;
background: rgba(33, 49, 40, 0.06);
color: var(--ink-muted);
font-weight: 800;
cursor: pointer;
}
.workspace-tab.active {
background: rgba(15, 118, 110, 0.12);
color: var(--brand-strong);
}
.workspace-pane.hidden,
.hidden {
display: none !important;
}
.stepper {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
gap: 10px;
}
.step-item {
display: grid;
gap: 6px;
padding: 14px;
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.72);
border: 1px solid var(--line);
}
.step-item.active {
border-color: rgba(15, 118, 110, 0.28);
background: rgba(15, 118, 110, 0.1);
}
.step-item.complete {
background: rgba(73, 158, 86, 0.1);
}
.claim-section {
display: grid;
gap: 16px;
}
.claim-section-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18px;
flex-wrap: wrap;
}
.claim-title {
margin: 0;
font-size: 1.2rem;
color: var(--ink);
}
.history-list,
.record-list,
.arena-list {
display: grid;
gap: 14px;
}
.history-item,
.record-card,
.arena-card {
display: grid;
gap: 10px;
padding: 18px;
border-radius: var(--radius-md);
border: 1px solid var(--line);
background: rgba(255, 255, 255, 0.74);
}
.record-meta,
.arena-meta {
display: flex;
flex-wrap: wrap;
gap: 10px 16px;
color: var(--ink-muted);
font-size: 0.92rem;
}
/* Arena builder candidate cards: state plainly what each candidate will run. */
.candidate-card .candidate-run-line {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
font-size: 0.95rem;
color: var(--ink);
}
.candidate-card .stage-model-list {
display: grid;
gap: 6px;
margin: 4px 0 0;
padding: 10px 12px;
list-style: none;
border-radius: var(--radius-sm, 10px);
background: rgba(33, 49, 40, 0.04);
}
.candidate-card .stage-model-list li {
display: flex;
justify-content: space-between;
gap: 12px;
font-size: 0.9rem;
}
.candidate-card .stage-model-name {
color: var(--ink-muted);
}
.candidate-stage-editor {
display: grid;
gap: 12px;
margin-top: 4px;
padding: 14px;
border-radius: var(--radius-sm, 10px);
border: 1px dashed var(--line);
background: rgba(255, 255, 255, 0.6);
}
.tiny-badge {
padding: 1px 7px;
font-size: 0.62rem;
letter-spacing: 0.04em;
}
/* Issues & warnings viewer on the claim detail page. */
.pill-link {
text-decoration: none;
cursor: pointer;
transition: background 0.15s ease;
}
.pill-link:hover {
background: rgba(33, 49, 40, 0.12);
}
.issue-list {
display: grid;
gap: 10px;
}
.issue-row {
display: grid;
gap: 6px;
padding: 12px 14px;
border-radius: var(--radius-sm, 10px);
border: 1px solid var(--line);
border-left: 3px solid rgba(33, 49, 40, 0.25);
background: rgba(255, 255, 255, 0.7);
}
.issue-row:has(.error-badge) {
border-left-color: var(--accent, #c2410c);
}
.issue-row:has(.warning-badge) {
border-left-color: #d6a435;
}
.issue-head {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
}
.issue-stage {
font-weight: 700;
font-size: 0.9rem;
}
.issue-time {
color: var(--ink-muted);
font-size: 0.82rem;
}
.issue-message {
font-size: 0.95rem;
color: var(--ink);
}
.issue-details {
display: grid;
gap: 4px;
margin: 2px 0 0;
padding: 8px 10px;
border-radius: var(--radius-sm, 8px);
background: rgba(33, 49, 40, 0.04);
font-size: 0.85rem;
}
.issue-details > div {
display: flex;
gap: 8px;
}
.issue-details dt {
color: var(--ink-muted);
font-weight: 700;
min-width: 140px;
}
.issue-details dd {
margin: 0;
word-break: break-word;
}
.history-decision-list {
display: grid;
gap: 10px;
}
.summary-strip {
display: grid;
gap: 14px;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.summary-cell {
padding: 16px;
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.72);
border: 1px solid var(--line);
}
.summary-cell .label {
display: block;
font-size: 0.82rem;
font-weight: 800;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--ink-muted);
}
.summary-cell .value {
display: block;
margin-top: 6px;
font-size: 1.2rem;
font-weight: 800;
color: var(--ink);
}
.modal {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
background: rgba(24, 32, 27, 0.45);
z-index: 100;
}
.modal-card {
width: min(760px, 100%);
max-height: calc(100vh - 40px);
overflow: auto;
padding: 24px;
border-radius: var(--radius-xl);
background: var(--surface-strong);
box-shadow: 0 32px 72px rgba(27, 38, 31, 0.2);
}
.empty-state {
display: grid;
gap: 10px;
place-items: start;
padding: 24px;
border: 1px dashed var(--line-strong);
border-radius: var(--radius-md);
color: var(--ink-muted);
}
.record-card-active {
border-color: var(--accent, #0a7);
box-shadow: 0 0 0 1px var(--accent, #0a7) inset;
}
.migration-report-preview {
margin-top: 10px;
padding: 12px;
border: 1px solid var(--line-strong);
border-radius: var(--radius-md);
display: grid;
gap: 10px;
}
.report-preview-grid {
display: flex;
gap: 16px;
flex-wrap: wrap;
}
.report-preview-explanation {
margin: 0;
color: var(--ink-muted);
white-space: pre-wrap;
}
.stderr-log {
margin-top: 6px;
max-height: 160px;
}
.error-text {
color: var(--danger, #b00020);
}
.form-hint {
color: var(--ink-muted);
font-size: 0.85em;
}
.pill-row {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.pill {
padding: 6px 10px;
border-radius: 999px;
background: rgba(33, 49, 40, 0.06);
color: var(--ink);
font-size: 0.84rem;
font-weight: 700;
}
.panel-divider {
height: 1px;
margin: 18px 0;
background: rgba(33, 49, 40, 0.08);
}
.data-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
gap: 20px;
}
.compact-select {
width: min(100%, 360px);
}
.data-release-modal {
display: grid;
gap: 18px;
}
.release-type-options {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.release-type-option {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 12px;
min-height: 64px;
padding: 12px 14px;
border: 1px solid var(--line);
border-radius: var(--radius-sm);
background: rgba(255, 255, 255, 0.78);
color: var(--ink);
cursor: pointer;
}
.release-type-option:hover {
border-color: rgba(15, 118, 110, 0.28);
background: rgba(15, 118, 110, 0.06);
}
.release-type-option:has(input:checked) {
border-color: var(--info-line);
background: var(--info-bg);
}
.release-type-option input[type="radio"] {
width: 18px;
height: 18px;
margin: 0;
}
.release-type-option span {
display: grid;
gap: 3px;
min-width: 0;
}
.release-type-option strong {
font-size: 0.94rem;
font-weight: 800;
color: var(--ink);
}
.release-type-option small {
color: var(--ink-muted);
font-size: 0.82rem;
font-weight: 500;
line-height: 1.35;
}
.data-table-wrap {
overflow-x: auto;
}
.data-table {
width: 100%;
border-collapse: collapse;
min-width: 780px;
}
.data-table th,
.data-table td {
padding: 14px 12px;
border-bottom: 1px solid var(--line);
text-align: left;
vertical-align: top;
}
.data-table th {
color: var(--ink-muted);
font-size: 0.82rem;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.data-path {
display: block;
margin-top: 4px;
color: var(--ink-muted);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.82rem;
overflow-wrap: anywhere;
}
.dataset-picker {
display: grid;
gap: 10px;
}
.dataset-option {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 10px;
align-items: flex-start;
padding: 12px;
border: 1px solid var(--line);
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.72);
}
.dataset-option input {
margin-top: 3px;
}
.dataset-option span {
display: grid;
gap: 4px;
}
.dataset-option small {
color: var(--ink-muted);
line-height: 1.35;
}
.job-log {
min-height: 260px;
max-height: 440px;
overflow: auto;
padding: 14px;
border: 1px solid var(--line);
border-radius: var(--radius-md);
background: #13231d;
color: #e6f4ee;
white-space: pre-wrap;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.86rem;
line-height: 1.5;
}
.stack {
display: grid;
gap: 12px;
}
.form-grid,
.detail-grid {
display: grid;
gap: 18px;
}
.detail-grid {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.claim-detail-layout,
.provider-shell {
grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.2fr);
}
.run-hero {
margin-bottom: 22px;
}
.claim-hero-title {
max-width: none;
overflow-wrap: anywhere;
}
.prompt-provenance summary,
details.panel summary {
cursor: pointer;
}
.provider-sidebar,
.provider-editor {
align-self: start;
}
.provider-card {
transition: border-color 0.2s ease;
}
.provider-card-active {
border-color: rgba(15, 118, 110, 0.35);
}
.warning-outline {
border-color: rgba(194, 65, 12, 0.45);
}
.discovery-row {
cursor: pointer;
}
.toggle-switch {
position: relative;
display: inline-flex;
align-items: center;
cursor: pointer;
}
.toggle-switch input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.toggle-track {
position: relative;
width: 40px;
height: 22px;
border-radius: 11px;
background: var(--line-strong);
transition: background 0.2s ease;
}
.toggle-track::after {
content: "";
position: absolute;
top: 2px;
left: 2px;
width: 18px;
height: 18px;
border-radius: 9px;
background: #fff;
transition: transform 0.2s ease;
}
.toggle-switch input:checked + .toggle-track {
background: var(--brand);
}
.toggle-switch input:checked + .toggle-track::after {
transform: translateX(18px);
}
.provider-type-row {
cursor: pointer;
}
.provider-type-row-active {
border-color: rgba(15, 118, 110, 0.35);
}
.provider-type-row-disabled strong {
color: var(--ink-muted);
}
.run-hero-accent {
border-left: 4px solid var(--candidate-color, var(--brand));
}
.focused-column {
background: rgba(15, 118, 110, 0.12) !important;
}
.focused-row td,
.focused-row th.candidate-header {
background: rgba(15, 118, 110, 0.06) !important;
}
.candidate-header {
position: sticky;
left: 0;
background: var(--surface-strong);
z-index: 1;
min-width: 140px;
white-space: nowrap;
}
.detail-row {
display: none;
}
.detail-row.open {
display: table-row;
}
.detail-row td {
padding: 14px 18px;
background: var(--surface-muted);
}
.detail-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 12px;
}
.detail-card {
display: grid;
gap: 4px;
}
.detail-card .label {
font-size: 0.82rem;
font-weight: 700;
color: var(--ink-muted);
}
.detail-card .value {
font-size: 0.92rem;
line-height: 1.5;
color: var(--ink);
}
.focused-claim {
border-color: rgba(15, 118, 110, 0.28);
}
.status-card a {
color: var(--brand-strong);
font-weight: 800;
}
.settings-page {
max-width: 1120px;
}
.settings-toolbar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 14px;
margin-top: 16px;
}
.settings-search {
flex: 1 1 320px;
min-width: 220px;
}
.settings-changed-toggle {
white-space: nowrap;
}
.settings-restart-note {
margin-top: 14px;
}
.restart-badge-inline {
font-size: 0.72rem;
vertical-align: middle;
}
.settings-groups {
display: grid;
gap: 16px;
}
.settings-group {
padding: 0;
overflow: hidden;
}
.settings-group[open] {
padding-bottom: 6px;
}
.settings-group-summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 18px 22px;
cursor: pointer;
list-style: none;
user-select: none;
}
.settings-group-summary::-webkit-details-marker {
display: none;
}
.settings-group-summary::after {
content: "▾";
color: var(--ink-muted);
font-size: 0.9rem;
transition: transform 0.2s ease;
}
.settings-group:not([open]) .settings-group-summary::after {
transform: rotate(-90deg);
}
.settings-group-summary:hover {
background: var(--surface-strong);
}
.settings-group-count {
margin-left: auto;
margin-right: 6px;
min-width: 26px;
height: 26px;
padding: 0 8px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: var(--surface-muted);
color: var(--ink-muted);
font-size: 0.8rem;
font-weight: 700;
}
.settings-group-body {
display: grid;
gap: 4px;
padding: 0 22px 8px;
}
.setting-row {
display: grid;
gap: 7px;
padding: 16px 0;
border-top: 1px solid var(--line);
}
.setting-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.setting-label {
font-weight: 700;
color: var(--ink);
}
.setting-badges {
display: inline-flex;
gap: 6px;
flex-shrink: 0;
}
.restart-badge {
background: var(--warning-bg);
border-color: var(--warning-line);
color: #92400e;
}
.auto-badge {
font-weight: 600;
}
.settings-processor-status {
margin-top: 14px;
}
.settings-processor-status strong {
display: block;
}
.setting-key {
justify-self: start;
font-size: 0.78rem;
color: var(--ink-muted);
background: var(--surface-muted);
padding: 2px 7px;
border-radius: var(--radius-sm);
}
.env-desc {
color: var(--ink-muted);
font-size: 0.9rem;
line-height: 1.5;
}
.setting-editor {
margin-top: 4px;
}
.setting-editor input[type="text"],
.setting-editor input[type="password"],
.setting-editor input[type="number"] {
width: 100%;
}
.env-effective-inline {
font-size: 0.82rem;
color: var(--ink-muted);
}
.env-effective-inline code {
background: var(--surface-muted);
padding: 1px 6px;
border-radius: var(--radius-sm);
overflow-wrap: anywhere;
}
.env-secret-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
align-items: start;
}
.env-json-input {
width: 100%;
min-height: 150px;
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
font-size: 0.9rem;
}
.env-advanced-json {
margin-top: 6px;
}
.env-advanced-json summary {
cursor: pointer;
color: var(--brand);
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 8px;
}
.env-checkbox {
min-height: 40px;
}
/* LLM_ROUTING friendly per-task output budget editor */
.routing-budgets {
display: grid;
gap: 10px;
padding: 14px;
border: 1px solid var(--line);
border-radius: var(--radius-md);
background: var(--surface-strong);
}
.budget-help {
margin: 0;
color: var(--ink-muted);
font-size: 0.86rem;
line-height: 1.5;
}
.budget-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 12px;
}
.budget-field {
display: grid;
gap: 5px;
}
.budget-field span {
font-size: 0.84rem;
font-weight: 600;
color: var(--ink);
}
.budget-field input {
width: 100%;
}
.budget-field input:disabled {
opacity: 0.55;
}
.focused-env-var {
margin-inline: -12px;
padding-inline: 12px;
border-radius: var(--radius-md);
background: rgba(15, 118, 110, 0.08);
}
@media (max-width: 980px) {
.topbar {
grid-template-columns: 1fr;
border-radius: var(--radius-lg);
}
.topnav {
justify-content: flex-start;
}
.topbar-actions {
justify-content: flex-start;
}
.claim-detail-layout,
.provider-shell,
.data-layout {
grid-template-columns: 1fr;
}
.settings-group-summary {
padding: 16px;
}
.settings-group-body {
padding: 0 16px 8px;
}
}
@media (max-width: 720px) {
.app-shell {
width: min(100%, calc(100% - 20px));
padding-top: 14px;
}
.topbar {
top: 10px;
padding: 16px;
}
.page-title {
font-size: 1.5rem;
}
.panel {
padding: 18px;
}
.summary-strip,
.stats-grid,
.grid-three {
grid-template-columns: 1fr;
}
.release-type-options {
grid-template-columns: 1fr;
}
}
.auth-page .app-shell {
width: min(520px, calc(100% - 32px));
min-height: 100vh;
display: grid;
align-items: center;
padding: 32px 0;
}
.auth-panel {
display: grid;
gap: 18px;
}
.auth-form {
margin: 0;
padding: 0;
box-shadow: none;
background: transparent;
transition: none;
}
.auth-form:hover {
transform: none;
}
.toast-stack {
position: fixed;
bottom: 18px;
right: 18px;
display: grid;
gap: 10px;
z-index: 200;
max-width: min(380px, calc(100vw - 36px));
}
.toast {
box-shadow: 0 12px 32px rgba(27, 38, 31, 0.18);
cursor: pointer;
animation: toast-in 0.22s ease-out;
}
.toast.toast-leaving {
opacity: 0;
transform: translateY(8px);
transition: opacity 0.25s ease, transform 0.25s ease;
}
@keyframes toast-in {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.status-pulse {
animation: status-pulse 1.2s ease-out 1;
}
@keyframes status-pulse {
0% {
box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.4);
}
100% {
box-shadow: 0 0 0 14px rgba(15, 118, 110, 0);
}
}
.panel-flash {
animation: panel-flash 1.6s ease-out 1;
}
@keyframes panel-flash {
0% {
box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.45);
}
100% {
box-shadow: 0 0 0 3px rgba(15, 118, 110, 0);
}
}
.button-flash-success {
background: var(--success-bg) !important;
border-color: var(--success-line) !important;
color: var(--brand-strong) !important;
}
.button-flash-error {
background: var(--error-bg) !important;
border-color: var(--error-line) !important;
color: #9a3412 !important;
}
.button-busy {
opacity: 0.7;
cursor: progress;
}
/* ===== Live progress page ===== */
.live-progress-track {
position: relative;
height: 16px;
border-radius: 999px;
background: var(--surface-muted);
border: 1px solid var(--line);
overflow: hidden;
}
.live-progress-fill {
position: relative;
height: 100%;
width: 0%;
border-radius: 999px;
background: linear-gradient(90deg, var(--brand), #14b8a6);
transition: width 0.6s ease;
}
.live-progress-fill.working::after {
content: "";
position: absolute;
inset: 0;
border-radius: 999px;
background-image: linear-gradient(
135deg,
rgba(255, 255, 255, 0.35) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, 0.35) 50%,
rgba(255, 255, 255, 0.35) 75%,
transparent 75%,
transparent
);
background-size: 26px 26px;
animation: progress-stripes 0.9s linear infinite;
}
.live-progress-track.indeterminate::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
width: 35%;
border-radius: 999px;
background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.45), transparent);
animation: progress-sweep 1.4s ease-in-out infinite;
}
@keyframes progress-stripes {
from { background-position: 0 0; }
to { background-position: 26px 0; }
}
@keyframes progress-sweep {
0% { left: -35%; }
100% { left: 100%; }
}
.pulse-dot {
display: inline-block;
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--brand);
animation: pulse-dot 1.4s ease-in-out infinite;
}
.pulse-dot.idle {
background: var(--ink-muted);
animation: none;
}
@keyframes pulse-dot {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.4; transform: scale(0.7); }
}
.stage-flow {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.stage-chip {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 6px 12px;
border-radius: 999px;
border: 1px solid var(--line);
background: var(--surface-strong);
color: var(--ink-muted);
font-size: 0.85rem;
font-weight: 600;
}
.stage-chip .stage-count {
font-weight: 800;
color: var(--ink);
}
.stage-chip.active {
border-color: var(--brand);
background: var(--info-bg);
color: var(--brand-strong);
}
.stage-chip.done {
border-color: var(--success-line);
background: var(--success-bg);
color: #166534;
}
.stage-chip.error {
border-color: var(--error-line);
background: var(--error-bg);
color: #9a3412;
}
.stage-arrow {
color: var(--ink-muted);
font-size: 0.8rem;
user-select: none;
}
.refresh-meta {
display: inline-flex;
align-items: center;
gap: 10px;
color: var(--ink-muted);
font-size: 0.85rem;
white-space: nowrap;
}
.countdown-track {
width: 72px;
height: 5px;
border-radius: 999px;
background: var(--surface-muted);
border: 1px solid var(--line);
overflow: hidden;
}
.countdown-fill {
height: 100%;
width: 0%;
border-radius: 999px;
background: var(--brand);
}
@media (prefers-reduced-motion: reduce) {
.toast,
.status-pulse,
.panel-flash,
.pulse-dot,
.live-progress-fill.working::after,
.live-progress-track.indeterminate::after {
animation: none;
}
}