:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #1e2c25; background: #f6f8f5; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; }
button, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
button:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #739b7e; outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.site-header { padding-block: 27px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 24px; font-weight: 650; letter-spacing: -.8px; }
.brand img { display: block; width: 36px; height: 36px; }
.environment { font-size: 12px; color: #526159; }
.intro { padding: 38px 0 36px; }
.eyebrow { margin: 0 0 17px; color: #37654e; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; line-height: 1.7; }
h1 { margin: 0; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.35; letter-spacing: -1.2px; font-weight: 650; }
.intro-copy { max-width: 760px; margin: 17px 0 0; color: #59675f; font-size: 16px; line-height: 1.85; }
.asset-note { margin: 12px 0 0; font-size: 12px; color: #637069; line-height: 1.8; }
.demo { background: #fff; border: 1px solid #dce3da; border-radius: 15px; overflow: hidden; }
.demo-heading { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 25px 28px; }
.section-label { margin: 0 0 7px; font-size: 11px; color: #54735d; letter-spacing: 1px; }
h2 { margin: 0; font-size: 21px; line-height: 1.4; font-weight: 600; }
.mode-switch, .filter-switch { display: flex; gap: 4px; }
.filter-switch { flex-wrap: wrap; }
.mode-switch { padding: 4px; background: #f1f4ef; border: 1px solid #e2e8df; border-radius: 8px; }
.mode-switch button, .filter-switch button { border: 0; background: transparent; padding: 9px 12px; border-radius: 5px; color: #56645b; font-size: 13px; white-space: nowrap; }
.mode-switch button[aria-pressed="true"] { color: #244d37; background: #fff; box-shadow: 0 1px 4px #162a1810; font-weight: 600; }
.filter-switch button { padding: 7px 10px; font-size: 12px; }
.filter-switch button[aria-pressed="true"] { background: #eaf2e8; color: #315b3d; font-weight: 600; }
.source-strip { padding: 15px 28px; border-block: 1px solid #e7ece4; display: flex; justify-content: space-between; align-items: center; gap: 18px; background: #fafbf8; }
.source-state { margin: 0; color: #34543f; font-size: 13px; line-height: 1.7; font-weight: 600; }
.source-state[data-tone="warning"] { color: #936629; }
.source-state[data-tone="error"] { color: #945443; }
.muted { color: #657168; }
.small { font-size: 12px; line-height: 1.75; }
.source-strip p + p { margin: 3px 0 0; }
.text-button { background: transparent; border: 0; font-size: 12px; color: #41674c; padding: 8px; white-space: nowrap; }
.task-controls { padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.case-picker { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 12px; color: #657168; }
.case-picker > span { white-space: nowrap; }
.case-picker select { max-width: 320px; min-width: 180px; padding: 8px 30px 8px 10px; color: #304c38; font-size: 12px; background: #fff; border: 1px solid #d5dfd1; border-radius: 6px; }
.case-panel { padding: 3px 28px 26px; }
.case-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.case-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 10px; line-height: 1.6; }
.neutral { background: #f0f4ed; color: #5b705f; }
h3 { margin: 8px 0 0; font-size: 21px; line-height: 1.45; font-weight: 600; }
.budget { text-align: right; flex-shrink: 0; }
.budget strong { display: block; margin-top: 5px; font-size: 21px; color: #315c3d; line-height: 1.5; }
.message { padding: 13px 16px; font-size: 12px; line-height: 1.8; margin: 0; }
.warning { background: #fcf6e9; border-bottom: 1px solid #ecdfc4; color: #826127; }
.fault { background: #faf0e9; border: 1px solid #efd8c8; border-radius: 6px; color: #925c33; margin: 0 0 20px; }
.empty { padding: 40px 24px; text-align: center; color: #657168; font-size: 14px; line-height: 1.8; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.timeline button { border: 1px solid #e0e6dc; border-radius: 8px; padding: 15px 13px; display: flex; align-items: center; gap: 11px; text-align: left; color: #647368; background: #fafbf8; min-width: 0; }
.timeline button[aria-current="step"] { border-color: #8ead87; background: #edf4e9; color: #34573e; }
.step-number { font-size: 12px; color: #758875; }
.timeline strong { display: block; font-weight: 600; font-size: 14px; line-height: 1.5; }
.timeline small { display: block; margin-top: 3px; font-size: 10px; line-height: 1.6; }
.process-controls { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 12px 0 20px; }
.process-controls p { margin: 0; }
.outline-button { font-size: 12px; padding: 8px 11px; border: 1px solid #cedccc; border-radius: 5px; color: #436c4d; background: #fff; white-space: nowrap; }
.stage { border: 1px solid #e2e8df; border-radius: 8px; overflow: hidden; padding: 20px; }
.panel-title { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; flex-wrap: wrap; }
.role-mark { font-size: 10px; color: #57745f; background: #eef3eb; border-radius: 4px; padding: 4px 7px; }
h4 { margin: 0; font-size: 14px; line-height: 1.7; font-weight: 600; }
.stage p { margin: 8px 0 12px; }
.output { margin: 0; background: #f6f8f3; border: 1px solid #e6ece1; border-radius: 6px; padding: 15px; font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 340px; overflow-y: auto; color: #435248; tab-size: 2; }
.compact { margin-top: 10px; max-height: 260px; }
.source-text { font-family: inherit; font-size: 14px; line-height: 1.9; max-height: 240px; }
.records-table { overflow-x: auto; border: 1px solid #e2e8df; border-radius: 6px; }
.records-table table { border-collapse: collapse; width: 100%; text-align: left; font-size: 12px; line-height: 1.8; }
.records-table th { background: #f4f7f0; font-weight: 600; color: #546651; }
.records-table th, .records-table td { padding: 10px; border-bottom: 1px solid #e6ece1; overflow-wrap: anywhere; }
.records-table tr:last-child td { border-bottom: 0; }
.records-table td:last-child { min-width: 90px; }
.records-table > p { padding: 13px; margin: 0; font-size: 12px; color: #69776b; }
.stage .review-decision { font-size: 20px; font-weight: 600; color: #365c3f; }
.stage .review-decision[data-tone="reject"] { color: #925c33; }
.review-reason { font-size: 13px; line-height: 1.85; color: #59665d; }
.output-detail { margin-top: 13px; }
summary { color: #41654a; font-size: 12px; cursor: pointer; line-height: 1.8; }
.agent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.agent-panel { min-width: 0; }
.oracle-note { font-size: 11px; line-height: 1.75; color: #6b735e; }
.settlement { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.settlement h4 { font-size: 24px; color: #365c3f; margin-top: 5px; }
.settlement p { font-size: 13px; line-height: 1.85; color: #59665d; max-width: 660px; }
.settlement-amount { min-width: 130px; text-align: right; }
.settlement-amount strong { display: block; font-size: 23px; color: #3b6042; margin-top: 10px; }
.receipts { margin-top: 22px; }
.receipt-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 11px; }
.receipt-row { padding: 11px 0; border-top: 1px solid #e7ece4; display: grid; grid-template-columns: 150px minmax(0, 1fr) 78px; gap: 13px; align-items: center; }
.receipt-label { font-size: 12px; line-height: 1.65; color: #4f6355; }
.receipt-label small { display: block; font-size: 10px; color: #68766d; }
.receipt-hash { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 11px; color: #647268; word-break: break-all; line-height: 1.7; }
.copy-button { font-size: 11px; border: 1px solid #d5dfd0; background: #fff; color: #47694e; border-radius: 5px; padding: 7px 8px; }
.receipt-note { margin: 10px 0 0; }
.scope-note { margin: 24px 0 33px; padding: 0 2px; color: #69766c; }
.scope-note strong { font-size: 12px; font-weight: 600; }
.scope-note p { margin: 7px 0 0; font-size: 12px; line-height: 1.85; max-width: 920px; }
footer { border-top: 1px solid #e0e6de; padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; color: #637069; font-size: 11px; line-height: 1.7; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 10; padding: 10px 15px; background: #244d37; color: #fff; border-radius: 5px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .site-header { padding-block: 20px; }
  .brand { font-size: 22px; }
  .brand img { width: 32px; height: 32px; }
  .environment { font-size: 10px; }
  .intro { padding: 24px 0 27px; }
  .eyebrow { font-size: 9px; letter-spacing: .8px; margin-bottom: 13px; }
  h1 { font-size: clamp(26px, 6vw, 38px); letter-spacing: -.8px; }
  .intro-copy { font-size: 14px; line-height: 1.85; margin-top: 14px; }
  .asset-note { font-size: 11px; }
  .demo-heading { display: block; padding: 20px 18px; }
  h2 { font-size: 19px; }
  .mode-switch { margin-top: 17px; width: fit-content; }
  .mode-switch button { font-size: 12px; padding: 8px 11px; }
  .source-strip { padding: 13px 18px; align-items: flex-start; }
  .source-state { font-size: 12px; }
  .source-strip .small { font-size: 10px; }
  .task-controls { padding: 18px; align-items: stretch; flex-direction: column; gap: 14px; }
  .filter-switch { gap: 2px; }
  .filter-switch button { padding: 7px 8px; font-size: 11px; }
  .case-picker select { flex: 1; max-width: none; min-width: 0; }
  .case-panel { padding: 0 18px 21px; }
  .case-heading { gap: 13px; margin-bottom: 18px; }
  h3 { font-size: 18px; }
  .budget strong { font-size: 17px; }
  .budget .small { font-size: 10px; }
  .timeline { gap: 6px; }
  .timeline button { padding: 11px 8px; display: block; }
  .step-number { display: block; margin-bottom: 5px; font-size: 10px; }
  .timeline strong { font-size: 11px; }
  .timeline small { font-size: 9px; }
  .process-controls { align-items: flex-start; }
  .process-controls p { font-size: 10px; max-width: 185px; }
  .outline-button { padding: 7px 9px; font-size: 10px; }
  .stage { padding: 15px; }
  .panel-title { gap: 6px; }
  h4 { font-size: 12px; }
  .role-mark { font-size: 9px; }
  .agent-grid { grid-template-columns: 1fr; gap: 24px; }
  .output { font-size: 11px; padding: 12px; max-height: 300px; }
  .settlement { display: block; }
  .settlement-amount { margin-top: 15px; text-align: left; }
  .settlement h4, .settlement-amount strong { font-size: 20px; }
  .settlement p { font-size: 12px; }
  .receipt-heading .small { font-size: 10px; }
  .receipt-row { grid-template-columns: minmax(0, 1fr) 72px; gap: 7px 10px; }
  .receipt-label { grid-column: 1; font-size: 11px; }
  .receipt-label small { display: inline; margin-left: 9px; }
  .receipt-hash { grid-column: 1; grid-row: 2; font-size: 10px; }
  .copy-button { grid-column: 2; grid-row: 1 / span 2; font-size: 10px; }
  .receipt-note { font-size: 10px; }
  footer { display: block; padding-block: 18px; font-size: 10px; }
  footer span + span { display: block; margin-top: 4px; }
}
