:root {
  color-scheme: light;
  --bg: #f184a3;
  --ink: #111111;
  --font: "Times New Roman", Times, serif;
  --mono: "Courier New", Courier, monospace;
}
* { box-sizing: border-box; scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.4 var(--font); }
button, input, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; padding: 0; background: none; text-align: left; }
button:disabled { cursor: default; text-decoration: line-through; }
a { color: inherit; text-decoration: none; }
button:hover:not(:disabled), a:hover { text-decoration: underline; text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 1px solid var(--ink); outline-offset: 4px;
}
::selection { background: var(--ink); color: var(--bg); }
[hidden] { display: none !important; }
h1, h2, h3, p, pre { margin: 0; }
h1, h2, h3, strong, b { font-weight: 400; }
.terminal-shell { max-width: 1440px; margin: 0 auto; padding: 38px 42px 28px; display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 40px; }
.sidebar { border-right: 1px solid var(--ink); padding-right: 26px; min-width: 0; }
body[data-page="home"] .sidebar, body[data-page="responses"] .sidebar { position: sticky; top: 38px; height: calc(100vh - 76px); align-self: start; display: flex; flex-direction: column; }
.sidebar-launch { margin-top: auto; padding-top: 28px; }
.sidebar-launch .boxed { display: inline-block; background: var(--bg); white-space: nowrap; }
.research-assessment { border-top: 1px solid var(--ink); padding-top: 14px; margin: 16px 0; }
.research-assessment dl { margin: 0; }
.research-assessment dl>div { margin-bottom: 10px; }
.research-assessment dt { font-style: italic; }
.research-assessment dd { margin: 0; }
.research-assessment p { margin-top: 10px; }
.identity { display: inline-flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.identity:hover { text-decoration: none; }
.avatar { display: block; width: 112px; height: 112px; overflow: hidden; }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.identity-name { font-size: 22px; }
.identity-state { font-size: 15px; margin-top: 5px; }
.navigation { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 35px; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.navigation a, .navigation button { font-size: 16px; white-space: nowrap; }
.navigation .selected { background: var(--ink); color: var(--bg); padding: 0 4px; margin-left: -4px; }
.session-details { margin-top: 25px; font-size: 15px; }
summary { cursor: pointer; }
.session-details>summary { list-style: none; }
.session-details>summary::before { content: "+ "; }
.session-details[open]>summary::before { content: "- "; }
.session-info { margin: 24px 0 0; font-size: 15px; }
.session-info>div { margin-bottom: 16px; }
.session-info dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.sidebar-bottom { display: flex; flex-direction: column; margin-top: 25px; gap: 5px; font-size: 15px; }
main { min-width: 0; }
.terminal-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 24px; }
.terminal-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 1px solid var(--ink); }
.terminal-header h1 { font-size: 28px; line-height: 1.15; font-weight: 400; }
.terminal-header time { font-size: 15px; white-space: nowrap; }
.terminal-description { max-width: 760px; margin: 26px 0 32px; line-height: 1.5; }
.terminal-description a { text-decoration: underline; text-underline-offset: 3px; }
.activity-section { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink); }
.activity-section .section-heading { border-bottom: 0; padding-bottom: 0; }
.activity-section .section-heading>span { white-space: nowrap; }
.activity-totals, .decision-totals { display: grid; gap: 12px; margin: 20px 0 0; font-size: 15px; }
.activity-totals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.decision-totals { grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); padding-top: 16px; }
.activity-totals dd, .decision-totals dd { margin: 3px 0 0; font-size: 22px; font-variant-numeric: tabular-nums; }
.decision-totals dd { font-size: 18px; }
.home-description { max-width: 760px; margin: 0 0 32px; line-height: 1.6; }
.home-description p+p { margin-top: 12px; }
.home-description a { text-decoration: underline; text-underline-offset: 3px; }
.task-overview { max-width: 800px; margin-bottom: 32px; }
.task-overview h2, .response-prompt h3 { font-size: 16px; margin: 0 0 10px; }
.task-overview blockquote, .response-prompt blockquote { margin: 0; padding-left: 16px; border-left: 1px solid var(--ink); line-height: 1.55; }
.response-prompt { max-width: 850px; margin-bottom: 18px; }
.response-prompt details { margin-top: 12px; }
.response-prompt details p { margin-top: 10px; line-height: 1.5; }
.response-context { margin-bottom: 24px; }
.question-label { margin-bottom: 6px; }
.answer-meaning { margin-top: 6px; }
.option-scores { margin-top: 10px; font-size: 15px; }
.option-scores dl { max-width: 380px; margin: 10px 0 0; }
.option-scores dl>div { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 4px; }
.option-scores dd { margin: 0; }
.conditional-answers { margin: 22px 0; }
.conditional-answers>p { margin: 12px 0 18px; }
.response-execution>p { margin-top: 6px; }
.latest-time { margin-top: 12px; font-size: 15px; }
.decision-meaning { margin-top: 14px; }
.response-page-link { margin-top: 20px; }
.response-page-link a { text-decoration: underline; }
.discovery-description { margin-bottom: 20px; }
.market-heading { font-size: 15px; }
.operator-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.demo-panel { max-width: 800px; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--ink); }
.demo-panel h2 { font-size: 18px; margin-bottom: 16px; }
.demo-panel p { line-height: 1.5; margin-bottom: 16px; }
.demo-panel button { margin-bottom: 20px; }
#demo-status { min-height: 1.5em; font-variant-numeric: tabular-nums; }
.demo-input { margin-bottom: 24px; max-width: 850px; }
.demo-input p { margin-bottom: 8px; line-height: 1.5; }
.home-overview { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
.process-line { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 16px 0 28px; font-size: 15px; }
#activity { display: block; height: 1.4em; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.identity-state { display: block; min-height: 1.4em; }
.process-controls { display: flex; gap: 18px; white-space: nowrap; }
.section { min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.section-heading h2 { font-size: 18px; white-space: nowrap; }
.section-heading>span { font-size: 15px; }
.wallet-details { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 16px; }
.wallet-public-address { min-width: 0; overflow-wrap: anywhere; }
.wallet-details a { text-decoration: underline; text-underline-offset: 3px; }
.balances { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; padding: 22px 0; }
.balances>div>span { display: block; font-size: 15px; }
.balances strong { display: block; font-size: 24px; margin-top: 3px; }
.balances .balance-note { grid-column: 1 / -1; display: flex; align-items: flex-end; }
.balances .balance-note>span { font-size: 15px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: right; white-space: nowrap; }
th { font-weight: 400; font-size: 15px; padding: 12px 18px 12px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
td { padding: 14px 18px 14px 0; font-size: 18px; border-bottom: 1px solid var(--ink); }
td:first-child, th:first-child { text-align: left; }
th:last-child, td:last-child { padding-right: 0; }
td small { display: block; font-size: 15px; margin-top: 3px; }
.mark-status { font-size: 15px; }
.mark-status.stale { text-decoration: underline; }
.responses-section { min-width: 0; }
.response-toolbar { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 16px 0 20px; font-size: 15px; }
.response-toolbar>button:last-child { margin-left: auto; }
.response-toolbar { align-items: baseline; }
#response-status { min-width: 12em; font-variant-numeric: tabular-nums; }
.response-count { margin: 0 0 20px; font-size: 15px; }
.response-stream { overflow-anchor: none; }
.response-stream { min-width: 0; }
.response-entry { padding: 16px 0; border-top: 1px solid var(--ink); }
.response-entry:first-child { padding-top: 0; border-top: 0; }
.response-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; margin-bottom: 6px; }
.response-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.response-summary strong { font-size: 20px; }
.summary-confidence { margin-left: auto; font-size: 15px; white-space: nowrap; }
.response-note { margin-top: 6px; font-size: 15px; }
.response-detail { margin-top: 8px; font-size: 15px; }
.response-detail>summary { width: fit-content; }
.response-detail>div { margin-top: 22px; }
.response-detail .response-meta { margin-bottom: 20px; }
.response-author { font-size: 18px; }
.answer-block { margin: 0 0 14px; font-size: 16px; overflow-wrap: anywhere; }
.answer-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 14px; }
.answer-name::before { content: "| "; white-space: pre; }
.answer-value { font-size: 18px; }
.answer-confidence { font-size: 15px; }
.answer-field { padding-left: 18px; margin-top: 3px; }
.response-execution { font-size: 15px; padding: 9px 0 22px; overflow-wrap: anywhere; }
.response-actions { display: flex; align-items: flex-start; gap: 20px; font-size: 15px; }
.response-actions details { min-width: 0; flex: 1; }
.response-actions summary { list-style: none; }
.response-actions summary::before { content: "+ "; }
.response-actions details[open] summary::before { content: "- "; }
.response-actions pre { margin-top: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.stream-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--ink); padding: 13px 0 0; margin-top: 16px; font-size: 15px; }
.latest-output { padding-left: 26px; border-left: 1px solid var(--ink); align-self: stretch; }
.latest-choice { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 23px; }
#selected-action { font-size: 26px; line-height: 1; }
.latest-choice>div { text-align: right; }
.latest-choice strong { font-size: 24px; line-height: 1; }
.field-label { display: block; font-size: 15px; }
.selected-target { margin: 14px 0 23px; font-size: 15px; overflow-wrap: anywhere; }
.probabilities { padding: 12px 0 24px; }
.probability-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label value" "bar bar"; column-gap: 12px; margin-bottom: 9px; font-size: 15px; line-height: 1.4; }
.probability-row>span:first-child { grid-area: label; overflow-wrap: anywhere; }
.probability-row>span:last-child { grid-area: value; text-align: right; }
.probability-row>.ascii-bar { grid-area: bar; }
.ascii-bar { white-space: pre; font-family: var(--mono); font-size: 15px; }
.secondary-row { border-top: 1px solid var(--ink); padding: 14px 0; font-size: 15px; }
.secondary-row>div { display: flex; justify-content: space-between; gap: 8px; }
.secondary-row>small { display: block; margin-top: 4px; font-size: 15px; }
.outcome { border-top: 1px solid var(--ink); padding-top: 14px; margin-top: 4px; font-size: 15px; }
.outcome>p { margin-top: 6px; }
.evidence-link { margin-top: 20px; font-size: 15px; }
.terminal-footer { border-top: 1px solid var(--ink); margin-top: 34px; padding-top: 16px; display: flex; justify-content: space-between; font-size: 15px; }
.empty-row { font-size: 16px; padding: 25px 0; text-align: left; }
.dim, .muted { font-size: 15px; }
#notice { border: 1px solid var(--ink); padding: 12px 16px; margin-bottom: 24px; font-size: 16px; }
dialog { width: min(820px, calc(100% - 36px)); max-height: 87vh; padding: 0; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); }
dialog::backdrop { background: #1118; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-bottom: 1px solid var(--ink); padding: 18px 24px; background: var(--bg); position: sticky; top: 0; z-index: 1; }
.dialog-heading h2, .dialog-heading>span { font-size: 18px; }
.dialog-heading button { font-size: 16px; }
.dialog-body, .key-form { padding: 24px; }
.dialog-body>label { display: block; }
.divided, .key-form { border-top: 1px solid var(--ink); }
label { font-size: 16px; }
input, textarea { display: block; width: 100%; background: var(--bg); border: 1px solid var(--ink); padding: 9px 10px; margin-top: 8px; border-radius: 0; resize: vertical; }
input::placeholder { color: var(--ink); opacity: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.boxed, .key-form>button { border: 1px solid var(--ink); padding: 8px 14px; }
.boxed:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.key-form>button { margin: 16px 0; }
.key-form small { display: block; font-size: 15px; }
#demo { margin-top: 16px; }
pre { font: 15px/1.4 var(--mono); overflow: auto; padding: 14px; border: 1px solid var(--ink); tab-size: 2; }
#evidence-dialog { width: min(1060px, calc(100% - 36px)); }
#evidence-json { max-height: 68vh; }
.market-meta { display: flex; justify-content: space-between; gap: 20px; font-size: 15px; margin-bottom: 20px; }
.market-row { display: grid; grid-template-columns: minmax(110px, 1.2fr) 1fr .8fr .6fr .5fr; gap: 14px; border-top: 1px solid var(--ink); padding: 18px 0; font-size: 16px; align-items: center; }
.market-row>span:not(:first-child) { text-align: right; }
.market-row small { display: block; font-size: 15px; margin-top: 4px; }
.market-row .age { font-size: 15px; }
.browser-url { font-size: 15px; overflow-wrap: anywhere; margin: 14px 0; }
#browser-capture { display: block; width: 100%; margin-bottom: 20px; }
.browser-buttons { display: flex; align-items: center; gap: 20px; margin: 18px 0; }
.browser-target { display: block; border: 1px solid var(--ink); width: 100%; margin: 14px 0; padding: 14px; }
.browser-target b { display: block; font-size: 16px; }
.browser-target small { display: block; font-size: 15px; margin-top: 6px; overflow-wrap: anywhere; }
#browser-dialog .dialog-body>a { font-size: 15px; text-decoration: underline; }
.docs-content { max-width: 780px; padding-top: 30px; }
.docs-content section { margin-bottom: 38px; }
.docs-content h2 { font-size: 18px; margin: 0 0 16px; }
.docs-content p, .docs-content li { font-size: 16px; margin-bottom: 16px; line-height: 1.35; }
.docs-content ul, .docs-content ol { padding-left: 24px; }
.docs-content a { text-decoration: underline; text-underline-offset: 3px; }
.docs-content code { font: inherit; }
.docs-content pre { margin: 16px 0; }
@media (max-width: 1180px) {
  .terminal-shell { padding: 30px 28px; grid-template-columns: 156px minmax(0, 1fr); gap: 26px; }
  .sidebar { padding-right: 18px; }
  body[data-page="home"] .sidebar, body[data-page="responses"] .sidebar { top: 30px; height: calc(100vh - 60px); }
  .navigation a, .navigation button { font-size: 15px; }
  .home-overview { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-overview .latest-output { padding-left: 0; border-left: 0; max-width: 440px; }
  .latest-output { padding-left: 20px; }
  .probability-row { font-size: 15px; }
  .ascii-bar { font-size: 15px; }
  .balances { gap: 12px; }
  .balances strong { font-size: 22px; }
  th, td { padding-right: 12px; }
}
@media (max-width: 1000px) {
  .latest-output { border-left: 0; padding-left: 0; }
  .latest-choice { justify-content: flex-start; gap: 40px; }
  .latest-output .probabilities { max-width: 370px; }
  .probability-row { font-size: 16px; }
  .ascii-bar { font-size: 15px; letter-spacing: 0; }
  .balances { grid-template-columns: 1fr 1fr 1fr; }
  .balances .balance-note { grid-column: 1 / -1; justify-content: flex-start; text-align: left; }
  .process-line { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 650px) {
  .terminal-shell { display: block; padding: 22px 18px; }
  .sidebar { padding: 0 0 22px; border: 0; }
  body[data-page="home"] .sidebar, body[data-page="responses"] .sidebar { position: static; height: auto; display: block; }
  body[data-page="home"], body[data-page="responses"] { padding-bottom: 64px; }
  .sidebar-launch { position: fixed; bottom: 18px; left: 18px; padding: 0; z-index: 2; }
  .identity { flex-direction: row; align-items: center; gap: 14px; }
  .avatar { width: 66px; height: 66px; }
  .identity-name { font-size: 22px; }
  .identity-state { display: inline; margin-left: 18px; font-size: 15px; }
  .navigation { margin-top: 24px; padding: 0 0 18px; flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
  .navigation a, .navigation button { font-size: 16px; }
  .navigation .selected { margin-left: 0; }
  .session-details { margin-top: 16px; }
  .terminal-header { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .terminal-header h1 { font-size: 24px; }
  .terminal-header time { font-size: 15px; padding-top: 6px; }
  .balances { gap: 10px; padding: 20px 0; }
  .balances strong { font-size: 20px; }
  .activity-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
  .balances>div>span { font-size: 15px; }
  th, td { padding-right: 22px; }
  .response-meta { gap: 6px 12px; }
  .response-toolbar { gap: 10px; }
  .response-actions { gap: 14px; }
  .answer-line { gap: 3px 10px; }
  .answer-confidence { font-size: 15px; }
  .form-grid { grid-template-columns: 1fr; }
  .dialog-body { padding: 18px; }
  .market-row { grid-template-columns: 1fr 1fr .8fr; gap: 10px; font-size: 15px; }
  .market-row>span:nth-child(4), .market-row>span:nth-child(5) { display: none; }
}
@media (max-width: 370px) {
  .terminal-header { flex-wrap: wrap; gap: 10px; }
  .identity-state { margin-left: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
