* { box-sizing: border-box; }
:root { --bg: #080b12; --rail: #0d1320; --frame: #111827; --panel: #0c111b; --line: #1d293b; --muted: #7f8da3; --ink: #f1f5f9; --cyan: #06b6d4; --green: #10b981; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { display: grid; grid-template-columns: 60px minmax(0, 1fr); width: 100%; height: 100dvh; overflow: hidden; background-image: linear-gradient(rgba(20, 32, 49, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 32, 49, .18) 1px, transparent 1px); background-size: 24px 24px; }
.rail { display: flex; flex-direction: column; align-items: center; padding: 16px 0 12px; background: rgba(13, 19, 32, .96); border-right: 1px solid var(--line); z-index: 2; }
.rail-brand { color: var(--cyan); font: 800 20px Georgia, serif; }
.rail-nav { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 18px; }
.rail-nav button { width: 34px; height: 34px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 15px; }
.rail-nav button:hover, .rail-nav button.active { color: var(--cyan); background: #152036; border-color: #243653; }
.rail-user { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #31415b; border-radius: 50%; color: var(--muted); font-size: 10px; }
.workspace { min-width: 0; min-height: 0; height: 100dvh; overflow: hidden; }
.workspace-inner { width: min(960px, calc(100% - 24px)); min-width: 0; min-height: 0; flex: 1; margin: 0 auto; display: flex; flex-direction: column; justify-content: space-between; padding: 12px 0 4px; }
.masthead { flex: 0 0 auto; text-align: center; }
.wordmark { display: flex; justify-content: center; gap: 10px; color: #bac5d6; font: 700 11px Consolas, monospace; letter-spacing: 2px; }
.wordmark strong { color: var(--ink); }
.wordmark strong::after { content: "TM"; color: var(--cyan); font-size: 7px; margin-left: 2px; vertical-align: top; }
h1 { max-width: 680px; margin: 14px auto 5px; font-size: clamp(24px, 3vw, 38px); line-height: 1.03; letter-spacing: -1.4px; }
h1 span { color: var(--cyan); }
.masthead p { margin: 0 auto; color: #aab6c8; font-size: 11px; }
.terminal-frame { width: 100%; aspect-ratio: 16 / 9; min-height: 0; max-height: min(660px, 58dvh); margin: 8px auto; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: rgba(17, 24, 39, .96); border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(0, 0, 0, .35); }
.terminal-domain-row { position: relative; flex: 0 0 auto; }
.terminal-brand { position: absolute; top: 50%; left: 0; z-index: 1; transform: translateY(-50%); color: var(--ink); font: 900 19px/1 "Arial Black", Arial, sans-serif; letter-spacing: .3px; }
.terminal-brand .brand-alpha { color: var(--cyan); }
.domain-tabs, .utility-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; flex: 0 0 auto; }
.domain-tabs button, .utility-tabs button { border: 1px solid #24334a; background: #151f31; color: #d0d8e4; padding: 5px 9px; font-size: 10px; }
.domain-tabs button.active { border-color: var(--cyan); background: #1d2b43; color: white; }
.utility-tabs { margin-top: 3px; }
.utility-tabs button { border: 0; background: transparent; color: #8b99ac; padding: 2px 7px; }
.display-scale { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; color: #64748b; font: 8px Consolas, monospace; }
.display-scale input { width: 72px; height: 11px; accent-color: var(--cyan); cursor: pointer; }
.display-scale output { min-width: 29px; color: var(--cyan); text-align: right; }
.fullscreen-toggle { width: 17px; height: 17px; padding: 0; border: 1px solid #26354a; background: #121c2d; color: #8b99ac; font-size: 12px; line-height: 15px; }
.fullscreen-toggle:hover, .fullscreen-toggle.active { border-color: var(--cyan); color: var(--cyan); background: #172840; }
.query-panel { position: relative; min-height: 0; flex: 1 1 auto; margin: 10px 0 8px; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; background: var(--panel); border: 1px solid #25334a; }
.query-panel textarea { display: none; }
.signal-stream { min-height: 0; flex: 1 1 auto; width: 100%; display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 16px 4vw; color: #d9e7f5; font: 700 clamp(12px, 1.35vw, 18px)/1.25 Consolas, monospace; letter-spacing: .08em; text-align: center; }
.signal-line { min-height: 1.25em; animation: signal-in 260ms ease-out both; }
.signal-character { display: inline-block; opacity: 0; animation: character-in 1ms linear forwards; animation-delay: var(--character-delay); }
.signal-result-title { color: var(--cyan); font: 700 clamp(16px, 1.8vw, 24px)/1.2 Consolas, monospace; letter-spacing: .08em; animation: signal-in 260ms ease-out both; }
.signal-result-query { max-width: 760px; margin: 0 auto; color: #d9e7f5; font: 12px/1.5 Arial, sans-serif; letter-spacing: 0; animation: signal-in 380ms ease-out both; }
.contract-demo { height: 100%; min-height: 0; width: calc(100% + 20px); display: flex; flex-direction: column; margin: -10px; background: #0e1524; color: #f1f5f9; text-align: left; font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; box-shadow: inset 0 0 35px rgba(6, 182, 212, .035); }
.contract-demo * { box-sizing: border-box; }
.contract-demo-tabs { display: flex; align-items: stretch; gap: 6px; padding: 10px 12px 0; border-bottom: 1px solid #1e293b; background: linear-gradient(180deg, #111b2d, #0e1524); }
.contract-demo-tabs button { padding: 8px 13px 7px; border: 1px solid #1e293b; border-bottom: 0; border-radius: 6px 6px 0 0; background: transparent; color: #94a3b8; font: 700 10px/1.1 Arial, sans-serif; cursor: pointer; transition: .15s ease; }
.contract-demo-tabs button:hover { color: #22d3ee; border-color: #334155; }
.contract-demo-tabs button span { display: block; margin-top: 3px; color: #64748b; font-size: 8px; font-weight: 400; }
.contract-demo-tabs button.active { border-color: #06b6d4; background: rgba(6,182,212,.1); color: #22d3ee; box-shadow: inset 0 -2px 0 #06b6d4; }
.contract-demo-user { margin-left: auto; padding: 2px 10px 8px; color: #94a3b8; font: 9px/1.4 Consolas, monospace; text-align: right; }
.contract-demo-user strong { color: #f1f5f9; font-size: 10px; }
.contract-demo-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 12px; border-bottom: 1px solid #1e293b; background: #0b0f17; }
.contract-demo-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; width: 100%; }
.contract-demo-filters label { display: inline-flex; align-items: center; gap: 5px; color: #94a3b8; font: 8px Consolas, monospace; text-transform: uppercase; }
.contract-demo-filters select { min-width: 64px; padding: 4px 6px; border: 1px solid #334155; border-radius: 4px; background: #0e1524; color: #f1f5f9; font: 9px Arial, sans-serif; }
.contract-demo-filters input[type="checkbox"] { accent-color: #06b6d4; }
.contract-demo-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.contract-demo-chips b { align-self: center; margin-right: 2px; color: #94a3b8; font: 8px Consolas, monospace; }
.contract-demo-chip { padding: 4px 7px; border: 1px solid #334155; border-radius: 999px; background: #0e1524; color: #94a3b8; font: 8px Consolas, monospace; cursor: pointer; }
.contract-demo-chip:hover, .contract-demo-chip.active { border-color: #06b6d4; color: #22d3ee; background: rgba(6,182,212,.1); }
.contract-demo-count { margin-left: auto; color: #06b6d4; font: 700 9px Consolas, monospace; }
.contract-demo-body { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(280px, 42%) minmax(0, 58%); }
.contract-demo-list { min-height: 0; overflow: auto; padding: 10px; border-right: 1px solid #1e293b; }
.contract-demo-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; color: #f1f5f9; font: 700 12px/1.2 Arial, sans-serif; }
.contract-demo-heading small { display: block; margin-top: 3px; color: #64748b; font: 8px Arial, sans-serif; }
.contract-demo-live { color: #06b6d4; font: 8px Consolas, monospace; }
.contract-demo-disclaimer { margin-top: 6px; color: #fbbf24; font: 7px Consolas, monospace; letter-spacing: .3px; }
.contract-demo-cta { margin-top: 3px; color: #94a3b8; font: 7px Consolas, monospace; }
.contract-card { display: flex; min-height: 66px; margin-bottom: 6px; border: 1px solid #1e293b; border-radius: 6px; overflow: hidden; background: #0e1524; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.contract-card:hover, .contract-card.active { border-color: #06b6d4; background: rgba(6,182,212,.08); }
.contract-score { width: 44px; display: grid; place-items: center; flex: 0 0 auto; color: #10b981; background: rgba(16,185,129,.12); font: 800 16px Consolas, monospace; }
.contract-score span { display: block; color: #64748b; font-size: 7px; text-align: center; }
.contract-card-main { min-width: 0; padding: 7px 9px; }
.contract-meta { overflow: hidden; color: #94a3b8; font: 8px Consolas, monospace; white-space: nowrap; text-overflow: ellipsis; }
.contract-title { overflow: hidden; margin: 4px 0; color: #f1f5f9; font: 700 10px/1.2 Arial, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.contract-stats, .contract-badges { display: flex; flex-wrap: wrap; gap: 4px; color: #94a3b8; font: 8px Consolas, monospace; }
.contract-badge { padding: 2px 5px; border-radius: 3px; background: rgba(6,182,212,.12); color: #22d3ee; font-size: 7px; text-transform: uppercase; }
.contract-badge.warn { background: rgba(245,158,11,.14); color: #fbbf24; }
.contract-badge.demonstrator { background: rgba(168,85,247,.16); color: #d8b4fe; }
.contract-badge.history { background: rgba(100,116,139,.18); color: #cbd5e1; }
.contract-badge.red { background: rgba(239,68,68,.14); color: #f87171; }
.contract-detail { min-width: 0; overflow: auto; padding: 12px; background: radial-gradient(circle at 90% 0%, rgba(6,182,212,.06), transparent 35%), #0f1522; }
.contract-demo-list, .contract-detail, .regulatory-list, .regulatory-reader { scrollbar-color: #26354a #0b0f17; scrollbar-width: thin; }
.contract-demo-list::-webkit-scrollbar, .contract-detail::-webkit-scrollbar, .regulatory-list::-webkit-scrollbar, .regulatory-reader::-webkit-scrollbar { width: 7px; height: 7px; }
.contract-demo-list::-webkit-scrollbar-track, .contract-detail::-webkit-scrollbar-track, .regulatory-list::-webkit-scrollbar-track, .regulatory-reader::-webkit-scrollbar-track { background: #0b0f17; }
.contract-demo-list::-webkit-scrollbar-thumb, .contract-detail::-webkit-scrollbar-thumb, .regulatory-list::-webkit-scrollbar-thumb, .regulatory-reader::-webkit-scrollbar-thumb { background: #26354a; border: 1px solid #111b2d; border-radius: 5px; }
.contract-demo-list::-webkit-scrollbar-thumb:hover, .contract-detail::-webkit-scrollbar-thumb:hover, .regulatory-list::-webkit-scrollbar-thumb:hover, .regulatory-reader::-webkit-scrollbar-thumb:hover { background: #334155; }
.contract-placeholder { height: 100%; display: grid; place-content: center; padding: 25px; color: #94a3b8; text-align: center; }
.contract-placeholder .ring { width: 42px; height: 42px; margin: 0 auto 12px; display: grid; place-items: center; border: 1px dashed #334155; border-radius: 50%; color: #64748b; }
.contract-detail h3 { margin: 5px 0 12px; padding-left: 8px; border-left: 2px solid #06b6d4; color: #f1f5f9; font: 700 16px/1.2 Arial, sans-serif; }
.contract-detail-id { color: #06b6d4; font: 9px Consolas, monospace; }
.contract-panel { margin: 8px 0; padding: 10px; border: 1px solid #1e293b; border-radius: 6px; background: rgba(22,30,49,.75); box-shadow: none; }
.contract-panel h4 { margin: 0 0 6px; color: #22d3ee; font: 700 7px Consolas, monospace; text-transform: uppercase; }
.contract-panel p { margin: 0; color: #cbd5e1; font: 10px/1.45 Arial, sans-serif; }
.contract-bar { display: flex; align-items: center; gap: 7px; margin: 6px 0; color: #94a3b8; font: 8px Arial, sans-serif; }
.contract-bar span:first-child { width: 120px; }
.contract-bar i { height: 4px; flex: 1; background: #06b6d4; border-radius: 2px; }
.regulatory-demo { height: 100%; min-height: 0; width: calc(100% + 20px); display: flex; flex-direction: column; margin: -10px; overflow: hidden; background: #0e1524; color: #f1f5f9; text-align: left; font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; }
.signal-stream.regulatory-embedded-host { justify-content: stretch; gap: 0; padding: 0; text-align: left; }
.signal-stream.regulatory-embedded-host .regulatory-embedded { display: block; width: 100%; height: 100%; flex: 1 1 auto; min-height: 0; border: 0; background: #0b0f17; }
.regulatory-stream-tabs { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 10px 14px 0; border-bottom: 1px solid #1e293b; background: #111b2d; }
.regulatory-stream-tabs > div { display: flex; gap: 6px; }
.regulatory-stream-tabs button { padding: 8px 13px 7px; border: 1px solid #1e293b; border-bottom: 0; border-radius: 7px 7px 0 0; background: transparent; color: #94a3b8; text-align: left; cursor: pointer; }
.regulatory-stream-tabs button.active { background: rgba(6,182,212,.1); color: #22d3ee; }
.regulatory-stream-tabs button strong { display: block; font-size: 10px; }
.regulatory-stream-tabs button em { font-style: normal; opacity: .7; }
.regulatory-stream-tabs button span { display: block; margin-top: 3px; color: #64748b; font-size: 8px; }
.regulatory-user { padding: 0 8px 8px; color: #64748b; font: 8px Consolas, monospace; white-space: nowrap; }
.regulatory-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 8px 12px; border-bottom: 1px solid #1e293b; background: #0b0f17; color: #06b6d4; font: 8px Consolas, monospace; }
.regulatory-filters label { display: inline-flex; align-items: center; gap: 6px; color: #94a3b8; }
.regulatory-filters input, .regulatory-filters select { padding: 5px 7px; border: 1px solid #334155; border-radius: 4px; background: #0e1524; color: #f1f5f9; font: 9px Arial, sans-serif; outline: 0; }
.regulatory-filters input { width: 190px; }
.regulatory-filters input:focus, .regulatory-filters select:focus { border-color: #06b6d4; }
.regulatory-filters > span { margin-left: auto; }
.regulatory-body { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(280px, 42%) minmax(0, 58%); }
.regulatory-list { min-height: 0; overflow: auto; padding: 10px; border-right: 1px solid #1e293b; background: #0b0f17; }
.regulatory-clause { margin-bottom: 7px; padding: 9px 10px; border: 1px solid #1e293b; border-radius: 7px; background: #0e1524; cursor: pointer; }
.regulatory-clause:hover, .regulatory-clause.active { border-color: #06b6d4; background: rgba(6,182,212,.08); }
.regulatory-clause > div { display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.regulatory-clause-pill { display: inline-block; padding: 2px 6px; border: 1px solid #164e63; border-radius: 4px; background: rgba(6,182,212,.12); color: #22d3ee; font: 700 8px Consolas, monospace; }
.regulatory-risk { padding: 2px 5px; border-radius: 3px; font: 700 7px Arial, sans-serif; text-transform: uppercase; }
.regulatory-risk.critical { background: rgba(239,68,68,.15); color: #f87171; }
.regulatory-risk.high { background: rgba(245,158,11,.15); color: #fbbf24; }
.regulatory-risk.medium { background: rgba(59,130,246,.15); color: #60a5fa; }
.regulatory-clause h4 { margin: 6px 0 4px; color: #f1f5f9; font-size: 10px; line-height: 1.25; }
.regulatory-clause p { display: -webkit-box; margin: 0; overflow: hidden; color: #94a3b8; font-size: 9px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.regulatory-clause footer { display: flex; align-items: center; gap: 4px; margin-top: 7px; color: #64748b; font: 7px Consolas, monospace; }
.regulatory-clause footer i { padding: 2px 4px; border: 1px solid #334155; border-radius: 3px; font-style: normal; }
.regulatory-clause footer b { margin-left: auto; color: #06b6d4; font-weight: 400; }
.regulatory-reader { min-width: 0; min-height: 0; overflow: auto; background: #0f1522; }
.regulatory-reader-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px 8px; border-bottom: 1px solid #1e293b; background: #0e1524; }
.regulatory-reader-head small { display: block; margin-top: 5px; color: #64748b; font-size: 8px; }
.regulatory-reader-head h3 { margin: 5px 0 0; color: #f1f5f9; font-size: 14px; line-height: 1.2; }
.regulatory-reader-head .regulatory-risk { margin-left: 5px; }
.regulatory-actions { flex: 0 0 auto; }
.regulatory-action { display: inline-flex; padding: 5px 8px; border: 1px solid #334155; border-radius: 4px; background: #161e31; color: #f1f5f9; font-size: 8px; text-decoration: none; cursor: pointer; }
.regulatory-action:hover { border-color: #06b6d4; color: #22d3ee; }
.regulatory-reader-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid #1e293b; background: #0b0f17; }
.regulatory-reader-tabs button { padding: 8px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #94a3b8; font: 700 8px Arial, sans-serif; white-space: nowrap; cursor: pointer; }
.regulatory-reader-tabs button.active { border-bottom-color: #06b6d4; background: rgba(6,182,212,.05); color: #06b6d4; }
.regulatory-reader-body { padding: 12px; }
.regulatory-side-by-side { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.regulatory-window { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; padding: 9px; border: 1px solid #1e293b; border-radius: 6px; background: #0e1524; }
.regulatory-window.official { background: #080c14; }
.regulatory-window.street { border-color: rgba(6,182,212,.35); }
.regulatory-window header { display: flex; justify-content: space-between; align-items: center; gap: 6px; color: #22d3ee; font: 700 9px Arial, sans-serif; }
.regulatory-window pre { flex: 1; margin: 9px 0; overflow: auto; white-space: pre-wrap; color: #cbd5e1; font: 9px/1.45 Consolas, monospace; }
.regulatory-window.street p { flex: 1; margin: 9px 0; color: #cbd5e1; font: 10px/1.45 Arial, sans-serif; }
.regulatory-window footer { display: flex; justify-content: space-between; gap: 4px; color: #64748b; font: 7px Consolas, monospace; }
.regulatory-window footer b { color: #22d3ee; font-weight: 400; }
.regulatory-reader-card { margin-top: 8px; padding: 9px; border: 1px solid #1e293b; border-radius: 6px; background: #0e1524; }
.regulatory-reader-card.highlight { border-color: rgba(6,182,212,.35); background: rgba(6,182,212,.07); }
.regulatory-reader-card.warning { border-color: rgba(245,158,11,.3); background: rgba(245,158,11,.08); }
.regulatory-reader-card.danger { border-color: rgba(239,68,68,.3); background: rgba(239,68,68,.08); }
.regulatory-reader-card h4 { margin: 0 0 5px; color: #22d3ee; font: 700 8px Consolas, monospace; text-transform: uppercase; }
.regulatory-reader-card p { margin: 0; color: #cbd5e1; font: 9px/1.45 Arial, sans-serif; }
.regulatory-reader-card pre { margin: 8px 0; padding: 8px; white-space: pre-wrap; color: #94a3b8; background: #080c14; font: 8px/1.4 Consolas, monospace; }
.regulatory-diff-head { display: flex; justify-content: space-between; color: #f1f5f9; font-size: 10px; }
.regulatory-diff { color: #22d3ee !important; }
.regulatory-muted { color: #64748b !important; }
.regulatory-lens { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; padding: 8px; border: 1px solid #1e293b; background: #0e1524; color: #f1f5f9; font-size: 10px; }
.regulatory-lens span { color: #64748b; font: 8px Consolas, monospace; }
.regulatory-stakeholder-matrix { margin-bottom: 8px; padding: 9px; border: 1px solid #1e293b; border-radius: 6px; background: #0b0f17; }
.regulatory-matrix-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 7px; color: #f1f5f9; font: 700 10px Arial, sans-serif; }
.regulatory-matrix-head span { color: #fbbf24; font: 8px Consolas, monospace; }
.regulatory-lens-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.regulatory-lens-button { min-width: 0; padding: 6px; border: 1px solid #1e293b; border-radius: 4px; background: #0e1524; color: #94a3b8; text-align: left; cursor: pointer; }
.regulatory-lens-button:hover, .regulatory-lens-button.active { border-color: #06b6d4; background: rgba(6,182,212,.1); color: #22d3ee; }
.regulatory-lens-button strong, .regulatory-lens-button span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.regulatory-lens-button strong { font: 700 8px Arial, sans-serif; }
.regulatory-lens-button span { margin-top: 3px; color: #64748b; font: 7px/1.2 Arial, sans-serif; }
.regulatory-lens-detail { margin-top: 7px; padding: 7px; border-left: 2px solid #06b6d4; background: #0e1524; color: #cbd5e1; font-size: 9px; }
.regulatory-lens-detail strong { color: #22d3ee; }
.regulatory-lens-detail p { margin: 4px 0; }
.regulatory-lens-detail span { color: #fbbf24; font: 7px Consolas, monospace; }
.regulatory-version-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding: 6px 0; border-bottom: 1px solid #1e293b; color: #cbd5e1; font: 8px Consolas, monospace; }
.regulatory-version-row span { color: #22d3ee; }
.regulatory-version-row small { color: #64748b; }
.regulatory-check { display: flex; gap: 6px; margin-top: 6px; color: #cbd5e1; font: 9px/1.35 Arial, sans-serif; }
.regulatory-check input { accent-color: #06b6d4; }
.regulatory-empty { padding: 25px 10px; color: #64748b; font: 10px Arial, sans-serif; text-align: center; }
@media (max-width: 720px) { .contract-demo-body { grid-template-columns: 1fr; } .contract-demo-list { max-height: 48%; border-right: 0; border-bottom: 1px solid #1e293b; } .contract-demo-user { display: none; } }
@media (max-width: 720px) { .regulatory-body, .regulatory-side-by-side { grid-template-columns: 1fr; } .regulatory-list { max-height: 45%; border-right: 0; border-bottom: 1px solid #1e293b; } .regulatory-user { display: none; } .regulatory-lens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .regulatory-version-row { grid-template-columns: 1fr; gap: 2px; } }
.landing-copy { width: min(100%, 780px); height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: clamp(18px, 3vh, 34px) clamp(12px, 2vw, 28px); margin: 0 auto; text-align: center; }
.landing-hero { font: 700 clamp(18px, 2.4vw, 34px)/1.08 Consolas, monospace; letter-spacing: .02em; }
.landing-hero span { display: block; color: var(--cyan); }
.landing-hero p { max-width: 620px; margin: 10px auto 0; color: #aab6c8; font: 12px/1.45 Arial, sans-serif; letter-spacing: 0; }
.landing-caption { color: #cbd5e1; }
.landing-caption > strong { display: block; margin-bottom: 10px; color: var(--ink); font: 700 clamp(13px, 1.2vw, 17px)/1.2 Arial, sans-serif; }
.landing-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, .8vw, 12px); text-align: left; }
.landing-cards article { min-width: 0; min-height: 88px; padding: clamp(8px, .8vw, 12px); border: 1px solid var(--line); background: rgba(15, 21, 34, .82); }
.landing-cards b { display: block; height: 1.2em; margin-bottom: 4px; overflow: hidden; color: var(--cyan); font: 700 clamp(8px, .7vw, 10px)/1.2 Consolas, monospace; white-space: nowrap; text-overflow: ellipsis; }
.landing-cards p { display: -webkit-box; min-height: 4.05em; margin: 0; overflow: hidden; color: #b9c4d2; font: clamp(8px, .7vw, 10px)/1.35 Arial, sans-serif; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.landing-caption > p { margin: 10px 0 0; color: #8b98aa; font: clamp(9px, .75vw, 11px)/1.3 Arial, sans-serif; }
@keyframes signal-in { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes character-in { to { opacity: 1; } }
.query-echo { min-height: 0; flex: 1; display: grid; place-items: center; padding: 4vh 5vw; color: var(--ink); font: 700 clamp(18px, 2.2vw, 32px)/1.25 Georgia, serif; letter-spacing: .2px; text-align: center; text-wrap: balance; }
textarea { width: 100%; min-height: 0; flex: 1; resize: none; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; line-height: 1.8; }
textarea::placeholder { color: #68768a; }
.query-meta { flex: 0 0 auto; border-top: 1px solid #1b273a; padding-top: 7px; }
.context-pill { border: 1px solid #263b57; background: #17243a; color: #dce5f2; padding: 5px 9px; font: 10px Consolas, monospace; }
.attachment-row { flex: 0 0 auto; margin-top: 5px; }
.query-controls { display: flex; align-items: center; gap: 5px; margin-top: 8px; color: #8693a6; font: 9px Consolas, monospace; }
.mode-button { padding: 3px 7px; border: 1px solid #26354a; background: #17243a; color: #9aa7b8; font-size: 9px; }
.mode-button.active { background: var(--cyan); border-color: var(--cyan); color: #041016; font-weight: 800; }
.latency { margin-left: auto; white-space: nowrap; }
.latency.pulsing { animation: latency-pulse 760ms ease-in-out infinite; }
.latency.ready { color: #f1f5f9; text-shadow: 0 0 8px rgba(6, 182, 212, .8); }
@keyframes latency-pulse { 0%, 100% { color: #8693a6; text-shadow: none; } 50% { color: #f1f5f9; text-shadow: 0 0 8px rgba(6, 182, 212, .8); } }
.execute-button { width: 25px; height: 25px; border: 1px solid rgba(16, 185, 129, .7); background: rgba(16, 185, 129, .12); color: var(--green); font-size: 15px; font-weight: 900; text-shadow: 0 0 3px currentColor; }
.execute-button:disabled { border-color: #26354a; background: #17243a; color: #526176; cursor: not-allowed; }
.execute-button:hover, .execute-button.ready { background: var(--green); color: #06130e; }
.execute-button.submit-ready { animation: submit-pulse 1400ms ease-in-out infinite; }
.execute-button.revealed { box-shadow: 0 0 0 2px rgba(16, 185, 129, .3), 0 0 16px rgba(16, 185, 129, .45); }
@keyframes submit-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .15); } 50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, .28), 0 0 18px rgba(16, 185, 129, .55); } }
.offer-area { flex: 0 0 auto; text-align: center; }
.offer-label, .state-line { color: #8492a5; font: 8px Consolas, monospace; letter-spacing: 1.2px; }
.offer-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.offer-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #243650; background: #121c2d; color: #d9e2ed; padding: 5px 8px; font: 10px Consolas, monospace; }
.offer-pill:hover, .offer-pill.selected { border-color: var(--cyan); background: #172840; }
.dots { display: flex; gap: 2px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; }
.state-line { margin-top: 6px; text-align: center; }
.state-line.executed { color: var(--green); }
.how-it-works { flex: 0 1 auto; margin: 8px 0 4px; text-align: center; }
.eyebrow { display: inline-block; padding: 3px 8px; border: 1px solid #075b6d; border-radius: 10px; color: var(--cyan); font: 8px Consolas, monospace; letter-spacing: 1px; }
.how-it-works h2 { margin: 6px 0 8px; font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.feature-card { min-width: 0; padding: 9px; text-align: left; border: 1px solid var(--line); background: rgba(15, 21, 34, .92); }
.feature-card strong { display: block; margin-bottom: 4px; color: var(--cyan); font: 9px Consolas, monospace; }
.feature-card p { margin: 0; color: #b9c4d2; font-size: 9px; line-height: 1.35; }
.how-note { margin: 7px 0 0; color: #8b98aa; font-size: 9px; }
.system-footer { flex: 0 0 auto; padding: 0 14px 5px; text-align: center; color: #738096; font: 9px Consolas, monospace; }
.status-bar { max-width: 960px; margin: 0 auto 5px; display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border: 1px solid #1b273a; background: rgba(15, 21, 34, .9); white-space: nowrap; }
.status-dot { width: 5px; height: 5px; align-self: center; border-radius: 50%; background: #facc15; box-shadow: 0 0 6px #facc15; }
.separator { color: #2c3a4e; }
footer { border-top: 1px solid #172134; padding-top: 5px; }
footer small { color: #64748b; font-size: 10px; }
@media (max-height: 720px) and (min-width: 700px) { .workspace-inner { padding-top: 0; } }
@media (max-width: 700px) { .app-shell { grid-template-columns: 42px minmax(0, 1fr); } .rail { padding-top: 10px; } .rail-nav { gap: 8px; } .rail-nav button { width: 30px; height: 30px; font-size: 13px; } .workspace-inner { width: 100%; padding-top: 0; } .wordmark { font-size: 9px; letter-spacing: 1px; } h1 { margin-top: 8px; font-size: clamp(21px, 7vw, 30px); } .masthead p { font-size: 9px; } .terminal-frame { padding: 7px; } .domain-tabs button { padding: 4px 6px; font-size: 8px; } .utility-tabs button { font-size: 8px; } .query-panel { margin: 6px 0; padding: 7px; } .query-echo { padding: 3vh 3vw; font-size: clamp(16px, 5vw, 24px); } .latency { display: none; } .feature-grid { grid-template-columns: 1fr; gap: 4px; } .feature-card { padding: 6px 8px; } .feature-card p { font-size: 8px; } .how-it-works { display: none; } .status-bar { overflow: hidden; justify-content: flex-start; } .status-bar span:nth-of-type(n+3) { display: none; } footer { font-size: 8px; } }

.app-shell { display: block; }
.rail, .masthead, .how-it-works, .system-footer { display: none; }
.workspace { width: 100%; height: 100dvh; }
.workspace-inner { width: 100%; height: 100%; padding: 0; }
.terminal-frame { width: 100%; height: 100%; aspect-ratio: auto; max-height: none; margin: 0; }

@media (min-width: 3000px) and (min-height: 1600px) {
	.terminal-frame {
		--display-scale: 1.45;
		width: calc(100% / var(--display-scale));
		height: calc(100% / var(--display-scale));
		transform: scale(var(--display-scale));
		transform-origin: top left;
	}
}

@media (min-resolution: 2dppx) and (min-width: 1200px) {
	.terminal-frame {
		--display-scale: 1.45;
		width: calc(100% / var(--display-scale));
		height: calc(100% / var(--display-scale));
		transform: scale(var(--display-scale));
		transform-origin: top left;
	}
}

.display-4k .terminal-frame {
	--display-scale: 1.45;
	width: calc(100% / var(--display-scale));
	height: calc(100% / var(--display-scale));
	transform: scale(var(--display-scale));
	transform-origin: top left;
}

@media (min-width: 701px) and (max-width: 1400px) {
	.terminal-frame {
		--display-scale: 1.45;
		width: calc(100% / var(--display-scale));
		height: calc(100% / var(--display-scale));
		zoom: var(--display-scale);
	}
}
