Spaces:
Runtime error
Runtime error
| :root { | |
| color-scheme: light; | |
| font-family: | |
| Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| font-size: 14px; | |
| color: #192022; | |
| background: #f4f1eb; | |
| font-synthesis: none; | |
| text-rendering: optimizeLegibility; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| } | |
| body { | |
| margin: 0; | |
| min-width: 320px; | |
| } | |
| button, | |
| input, | |
| textarea { | |
| font: inherit; | |
| } | |
| button { | |
| cursor: pointer; | |
| } | |
| .app-shell { | |
| display: grid; | |
| grid-template-columns: 300px minmax(0, 1fr); | |
| min-height: 100vh; | |
| } | |
| .sidebar { | |
| background: #102a2d; | |
| color: #f8fbf8; | |
| padding: 18px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 14px; | |
| } | |
| .brand { | |
| display: flex; | |
| gap: 12px; | |
| align-items: center; | |
| padding-bottom: 6px; | |
| } | |
| .brand-mark { | |
| width: 38px; | |
| height: 38px; | |
| display: grid; | |
| place-items: center; | |
| border-radius: 8px; | |
| background: #f2c14e; | |
| color: #102a2d; | |
| } | |
| .brand h1, | |
| .brand p, | |
| .section-heading h2, | |
| .section-heading p, | |
| .answer-header h2, | |
| .source-heading h3 { | |
| margin: 0; | |
| } | |
| .brand h1 { | |
| font-size: 1.08rem; | |
| } | |
| .brand p, | |
| .section-heading p { | |
| color: #718082; | |
| } | |
| .sidebar .brand p { | |
| color: #adc4c2; | |
| } | |
| .panel { | |
| background: rgba(255, 255, 255, 0.08); | |
| border: 1px solid rgba(255, 255, 255, 0.14); | |
| border-radius: 8px; | |
| } | |
| .compact { | |
| padding: 13px; | |
| } | |
| .panel-title, | |
| .source-heading, | |
| .section-heading, | |
| .job-title { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .panel-title { | |
| margin-bottom: 11px; | |
| font-weight: 700; | |
| } | |
| .icon-button { | |
| margin-left: auto; | |
| width: 28px; | |
| height: 28px; | |
| border: 0; | |
| border-radius: 8px; | |
| display: grid; | |
| place-items: center; | |
| background: rgba(255, 255, 255, 0.12); | |
| color: inherit; | |
| } | |
| .backend-form { | |
| display: grid; | |
| grid-template-columns: 1fr auto; | |
| gap: 8px; | |
| } | |
| label { | |
| display: grid; | |
| gap: 6px; | |
| font-weight: 700; | |
| } | |
| label span { | |
| font-size: 0.84rem; | |
| } | |
| .range-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .range-row input[type="range"] { | |
| flex: 1; | |
| min-height: auto; | |
| padding: 0; | |
| } | |
| .range-value { | |
| flex: 0 0 auto; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 32px; | |
| height: 32px; | |
| border-radius: 999px; | |
| background: #278f7d; | |
| color: white; | |
| font-size: 0.84rem; | |
| font-weight: 800; | |
| } | |
| .field-heading { | |
| margin: 2px 0 6px; | |
| font-size: 0.84rem; | |
| font-weight: 700; | |
| } | |
| input, | |
| textarea { | |
| width: 100%; | |
| border: 1px solid #cbd3cf; | |
| border-radius: 8px; | |
| background: #fffefa; | |
| color: #192022; | |
| outline: none; | |
| } | |
| input { | |
| min-height: 36px; | |
| padding: 0 10px; | |
| } | |
| textarea { | |
| min-height: 118px; | |
| resize: vertical; | |
| padding: 10px; | |
| } | |
| input:focus, | |
| textarea:focus { | |
| border-color: #278f7d; | |
| box-shadow: 0 0 0 3px rgba(39, 143, 125, 0.16); | |
| } | |
| .backend-form input, | |
| .sidebar label input { | |
| background: rgba(255, 255, 255, 0.96); | |
| } | |
| .backend-form button, | |
| .search-bar button, | |
| .primary { | |
| border: 0; | |
| border-radius: 8px; | |
| background: #278f7d; | |
| color: white; | |
| font-weight: 800; | |
| min-height: 36px; | |
| padding: 0 13px; | |
| } | |
| .status { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| margin-top: 12px; | |
| padding: 8px; | |
| border-radius: 8px; | |
| font-size: 0.92rem; | |
| } | |
| .good { | |
| color: #164a39; | |
| background: #d9f8ea; | |
| } | |
| .bad, | |
| .error { | |
| color: #7d1f1f; | |
| background: #ffe1df; | |
| } | |
| .meta-list { | |
| display: grid; | |
| gap: 10px; | |
| margin: 14px 0 0; | |
| } | |
| .meta-list div { | |
| display: grid; | |
| gap: 3px; | |
| } | |
| .meta-list dt { | |
| color: #adc4c2; | |
| font-size: 0.74rem; | |
| text-transform: uppercase; | |
| } | |
| .meta-list dd { | |
| margin: 0; | |
| overflow-wrap: anywhere; | |
| } | |
| .segmented { | |
| display: grid; | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| gap: 4px; | |
| padding: 4px; | |
| border-radius: 8px; | |
| background: rgba(255, 255, 255, 0.12); | |
| } | |
| .segmented button { | |
| border: 0; | |
| border-radius: 6px; | |
| min-height: 30px; | |
| padding: 4px 6px; | |
| background: transparent; | |
| color: #e8f0ed; | |
| line-height: 1.2; | |
| } | |
| .segmented button.active { | |
| background: #f2c14e; | |
| color: #102a2d; | |
| font-weight: 800; | |
| } | |
| .workspace-top { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 12px; | |
| flex-wrap: wrap; | |
| } | |
| .top-actions { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .github-link { | |
| display: inline-grid; | |
| place-items: center; | |
| width: 38px; | |
| height: 38px; | |
| border-radius: 8px; | |
| color: #102a2d; | |
| background: #fffefa; | |
| border: 1px solid #d6ddd9; | |
| box-shadow: 0 8px 24px rgba(16, 42, 45, 0.06); | |
| transition: | |
| color 0.15s ease, | |
| border-color 0.15s ease; | |
| } | |
| .github-link:hover { | |
| color: #278f7d; | |
| border-color: #278f7d; | |
| } | |
| .powered-by { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 7px; | |
| padding: 0 12px; | |
| height: 38px; | |
| border-radius: 8px; | |
| color: #536063; | |
| background: #fffefa; | |
| border: 1px solid #d6ddd9; | |
| box-shadow: 0 8px 24px rgba(16, 42, 45, 0.06); | |
| text-decoration: none; | |
| } | |
| .powered-by svg { | |
| color: #278f7d; | |
| } | |
| .powered-by strong { | |
| color: #102a2d; | |
| letter-spacing: 0; | |
| } | |
| .workspace { | |
| min-width: 0; | |
| padding: 18px; | |
| display: grid; | |
| align-content: start; | |
| gap: 16px; | |
| } | |
| .view-tabs { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 4px; | |
| width: fit-content; | |
| padding: 4px; | |
| border: 1px solid #d6ddd9; | |
| border-radius: 8px; | |
| background: #fffefa; | |
| box-shadow: 0 8px 24px rgba(16, 42, 45, 0.06); | |
| } | |
| .view-tabs button { | |
| position: relative; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 7px; | |
| min-height: 34px; | |
| padding: 0 13px; | |
| border: 0; | |
| border-radius: 6px; | |
| background: transparent; | |
| color: #536063; | |
| font-weight: 800; | |
| } | |
| .view-tabs button.active { | |
| background: #102a2d; | |
| color: #f8fbf8; | |
| } | |
| .tab-dot { | |
| width: 7px; | |
| height: 7px; | |
| border-radius: 999px; | |
| background: #f2c14e; | |
| } | |
| .search-bar { | |
| display: grid; | |
| grid-template-columns: auto minmax(0, 1fr) auto; | |
| align-items: center; | |
| gap: 10px; | |
| padding: 9px 10px; | |
| border-radius: 8px; | |
| background: #fffefa; | |
| border: 1px solid #d6ddd9; | |
| box-shadow: 0 12px 38px rgba(16, 42, 45, 0.08); | |
| } | |
| .search-bar input { | |
| border: 0; | |
| box-shadow: none; | |
| font-size: 0.96rem; | |
| } | |
| .search-bar button, | |
| .primary { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| } | |
| button:disabled { | |
| cursor: not-allowed; | |
| opacity: 0.62; | |
| } | |
| .answer-layout { | |
| display: grid; | |
| grid-template-columns: minmax(0, 1fr) 340px; | |
| gap: 16px; | |
| align-items: start; | |
| } | |
| .answer-panel, | |
| .sources-panel, | |
| .ingest-section { | |
| background: #fffefa; | |
| border: 1px solid #d6ddd9; | |
| border-radius: 8px; | |
| box-shadow: 0 12px 38px rgba(16, 42, 45, 0.06); | |
| } | |
| .answer-panel { | |
| min-height: 430px; | |
| padding: 20px; | |
| } | |
| .sources-panel { | |
| padding: 14px; | |
| display: grid; | |
| gap: 14px; | |
| } | |
| .source-tabs { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 4px; | |
| padding: 4px; | |
| border-radius: 8px; | |
| background: #eef4f1; | |
| } | |
| .source-tabs button { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 7px; | |
| min-height: 34px; | |
| border: 0; | |
| border-radius: 6px; | |
| background: transparent; | |
| color: #536063; | |
| font-weight: 800; | |
| } | |
| .source-tabs button.active { | |
| background: #fffefa; | |
| color: #102a2d; | |
| box-shadow: 0 1px 4px rgba(16, 42, 45, 0.08); | |
| } | |
| .source-tabs span { | |
| display: grid; | |
| place-items: center; | |
| min-width: 20px; | |
| height: 20px; | |
| border-radius: 999px; | |
| padding: 0 6px; | |
| background: #d9ebe6; | |
| color: #176457; | |
| font-size: 0.76rem; | |
| } | |
| .source-tabs button.active span { | |
| background: #102a2d; | |
| color: #f8fbf8; | |
| } | |
| .empty-state, | |
| .loading-state { | |
| min-height: 370px; | |
| display: grid; | |
| place-items: center; | |
| align-content: center; | |
| text-align: center; | |
| color: #536063; | |
| } | |
| .empty-state h2, | |
| .loading-state h2 { | |
| margin: 10px 0 5px; | |
| color: #192022; | |
| font-size: 1.18rem; | |
| } | |
| .empty-state p { | |
| max-width: 560px; | |
| margin: 0; | |
| line-height: 1.55; | |
| } | |
| .answer-header { | |
| display: flex; | |
| align-items: flex-start; | |
| justify-content: space-between; | |
| gap: 14px; | |
| padding-bottom: 14px; | |
| border-bottom: 1px solid #e1e6e3; | |
| } | |
| .answer-header h2 { | |
| font-size: 1.12rem; | |
| line-height: 1.35; | |
| } | |
| .eyebrow { | |
| display: inline-block; | |
| margin-bottom: 6px; | |
| color: #278f7d; | |
| font-size: 0.76rem; | |
| font-weight: 900; | |
| text-transform: uppercase; | |
| } | |
| .route-badges { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 6px; | |
| justify-content: flex-end; | |
| } | |
| .route-badges span { | |
| padding: 5px 9px; | |
| border-radius: 999px; | |
| background: #e6f2ef; | |
| color: #176457; | |
| font-weight: 800; | |
| font-size: 0.78rem; | |
| } | |
| .markdown { | |
| line-height: 1.58; | |
| color: #263033; | |
| } | |
| .markdown h1 { | |
| font-size: 1.28rem; | |
| } | |
| .markdown h2 { | |
| font-size: 1.14rem; | |
| } | |
| .markdown h3 { | |
| font-size: 1.02rem; | |
| } | |
| .markdown pre { | |
| overflow-x: auto; | |
| padding: 14px; | |
| border-radius: 8px; | |
| background: #142527; | |
| color: #f8fbf8; | |
| } | |
| .markdown code { | |
| overflow-wrap: anywhere; | |
| } | |
| .model-line { | |
| margin-top: 18px; | |
| color: #718082; | |
| font-size: 0.9rem; | |
| } | |
| .source-heading { | |
| justify-content: space-between; | |
| } | |
| .source-heading svg { | |
| color: #278f7d; | |
| } | |
| .source-heading h3 { | |
| margin-right: auto; | |
| font-size: 0.94rem; | |
| } | |
| .source-heading span { | |
| width: 24px; | |
| height: 24px; | |
| border-radius: 999px; | |
| display: grid; | |
| place-items: center; | |
| background: #e6f2ef; | |
| color: #176457; | |
| font-weight: 900; | |
| } | |
| .source-card { | |
| display: grid; | |
| gap: 6px; | |
| padding: 10px 0; | |
| border-top: 1px solid #e1e6e3; | |
| } | |
| .source-title { | |
| display: flex; | |
| gap: 12px; | |
| justify-content: space-between; | |
| } | |
| .source-title strong, | |
| .source-card a, | |
| .source-card p { | |
| overflow-wrap: anywhere; | |
| } | |
| .source-title span { | |
| color: #278f7d; | |
| font-weight: 900; | |
| } | |
| .source-card a { | |
| color: #176457; | |
| font-size: 0.86rem; | |
| } | |
| .source-card p, | |
| .muted { | |
| margin: 0; | |
| color: #536063; | |
| line-height: 1.45; | |
| } | |
| .ingest-section { | |
| padding: 17px; | |
| } | |
| .section-heading { | |
| margin-bottom: 14px; | |
| } | |
| .icon-button.light { | |
| background: #eef4f1; | |
| color: #278f7d; | |
| } | |
| .source-list { | |
| display: grid; | |
| gap: 10px; | |
| } | |
| .source-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| width: 100%; | |
| padding: 12px 14px; | |
| border: 1px solid #e1e6e3; | |
| border-radius: 8px; | |
| background: #fbfdfb; | |
| text-align: left; | |
| transition: | |
| border-color 0.15s ease, | |
| box-shadow 0.15s ease; | |
| } | |
| .source-row:hover { | |
| border-color: #278f7d; | |
| box-shadow: 0 6px 18px rgba(16, 42, 45, 0.08); | |
| } | |
| .source-row.active { | |
| border-color: #278f7d; | |
| background: #eef7f3; | |
| } | |
| .source-action { | |
| margin-left: auto; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| flex: 0 0 auto; | |
| color: #278f7d; | |
| font-size: 0.8rem; | |
| font-weight: 800; | |
| } | |
| .filter-chip { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| width: fit-content; | |
| padding: 7px 8px 7px 12px; | |
| border: 1px solid #cfe5dd; | |
| border-radius: 999px; | |
| background: #eef7f3; | |
| color: #176457; | |
| font-size: 0.86rem; | |
| } | |
| .filter-chip strong { | |
| color: #102a2d; | |
| } | |
| .filter-chip button { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| border: 0; | |
| padding: 0; | |
| background: transparent; | |
| color: #176457; | |
| } | |
| .source-badge { | |
| display: grid; | |
| place-items: center; | |
| width: 34px; | |
| height: 34px; | |
| flex: 0 0 auto; | |
| border-radius: 8px; | |
| background: #eef4f1; | |
| color: #278f7d; | |
| } | |
| .source-meta { | |
| display: grid; | |
| gap: 2px; | |
| min-width: 0; | |
| } | |
| .source-meta strong { | |
| overflow-wrap: anywhere; | |
| } | |
| .source-meta span { | |
| color: #536063; | |
| font-size: 0.84rem; | |
| } | |
| .tab-count { | |
| display: inline-grid; | |
| place-items: center; | |
| min-width: 19px; | |
| height: 19px; | |
| padding: 0 5px; | |
| border-radius: 999px; | |
| background: #f2c14e; | |
| color: #102a2d; | |
| font-size: 0.74rem; | |
| font-weight: 800; | |
| } | |
| .section-heading h2 { | |
| font-size: 1.12rem; | |
| } | |
| .section-heading svg { | |
| color: #278f7d; | |
| } | |
| .ingest-grid { | |
| display: grid; | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| gap: 12px; | |
| } | |
| .span-2 { | |
| grid-column: span 2; | |
| } | |
| .banner { | |
| margin-top: 14px; | |
| border-radius: 8px; | |
| padding: 10px 12px; | |
| } | |
| .job-card { | |
| display: grid; | |
| gap: 10px; | |
| margin-top: 16px; | |
| padding: 13px; | |
| border-radius: 8px; | |
| background: #f4f8f6; | |
| border: 1px solid #d6ddd9; | |
| } | |
| .job-title code { | |
| margin-left: auto; | |
| color: #536063; | |
| overflow-wrap: anywhere; | |
| } | |
| .job-metrics { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 10px; | |
| } | |
| .job-metrics span { | |
| padding: 7px 10px; | |
| border-radius: 999px; | |
| background: white; | |
| border: 1px solid #d6ddd9; | |
| color: #536063; | |
| font-weight: 700; | |
| font-size: 0.86rem; | |
| } | |
| .job-error { | |
| margin: 0; | |
| color: #7d1f1f; | |
| } | |
| .spin { | |
| animation: spin 0.9s linear infinite; | |
| } | |
| @keyframes spin { | |
| to { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| @media (max-width: 1120px) { | |
| .app-shell, | |
| .answer-layout { | |
| grid-template-columns: 1fr; | |
| } | |
| .sidebar { | |
| position: static; | |
| } | |
| } | |
| @media (max-width: 700px) { | |
| .sidebar, | |
| .workspace { | |
| padding: 16px; | |
| } | |
| .search-bar, | |
| .ingest-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .span-2 { | |
| grid-column: span 1; | |
| } | |
| .search-bar button { | |
| width: 100%; | |
| } | |
| .answer-panel { | |
| padding: 18px; | |
| min-height: 420px; | |
| } | |
| .answer-header { | |
| display: grid; | |
| } | |
| } | |
| .pt-10{ | |
| padding-top: 10px; | |
| } | |