:root {
  --ink: #17231f;
  --ink-2: #34423d;
  --muted: #77837e;
  --line: #dce3df;
  --paper: #f7f8f4;
  --white: #ffffff;
  --navy: #102f2c;
  --green: #17a673;
  --green-light: #dff5eb;
  --lime: #b9e36b;
  --red: #d95252;
  --red-light: #fff0ed;
  --amber: #d99532;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --shadow: 0 12px 40px rgba(29, 54, 46, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; }
button, textarea { font: inherit; }
button { color: inherit; }
.topbar { height: 68px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: white; border-bottom: 1px solid rgba(255,255,255,.1); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 11px; color: white; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.brand small { border-left: 1px solid rgba(255,255,255,.25); padding-left: 12px; color: #a9bbb5; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: 27px; height: 27px; position: relative; display: inline-block; transform: rotate(45deg); }
.brand-mark i { position: absolute; display: block; border: 2px solid var(--lime); width: 12px; height: 12px; }
.brand-mark i:nth-child(1) { top: 0; left: 0; }.brand-mark i:nth-child(2) { right: 0; bottom: 0; }.brand-mark i:nth-child(3) { width: 6px; height: 6px; border: 0; background: var(--lime); left: 10px; top: 10px; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.status-pill { display: flex; align-items: center; gap: 8px; color: #c8d7d1; font-size: 12px; font-weight: 600; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(185,227,107,.12); }
.icon-button { width: 35px; height: 35px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; display: grid; place-items: center; cursor: pointer; }
.icon-button:hover { background: rgba(255,255,255,.13); }.icon-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.app-shell { display: grid; grid-template-columns: 295px 1fr; min-height: calc(100vh - 68px); }
.context-panel { background: #f0f3ef; border-right: 1px solid var(--line); padding: 28px 22px; max-height: calc(100vh - 68px); overflow-y: auto; position: sticky; top: 68px; }
.context-heading { position: relative; margin-bottom: 30px; }.context-heading h2 { margin: 5px 0 0; font-size: 20px; letter-spacing: -.5px; }.context-heading > span { position: absolute; top: 20px; right: 0; font-family: var(--mono); font-size: 10px; color: var(--muted); background: white; border: 1px solid var(--line); padding: 3px 6px; border-radius: 4px; }
.eyebrow { margin: 0; color: #769087; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 800; }
.aside-section { margin-bottom: 26px; }.section-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }.section-title-row h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 0; }.count { background: #dfe6e2; color: #66736f; border-radius: 10px; padding: 1px 7px; font-size: 10px; font-weight: 700; }
.property-list { display: grid; gap: 2px; }.property-row { width: 100%; border: 0; background: transparent; display: grid; grid-template-columns: 32px 1fr 8px; align-items: center; text-align: left; gap: 9px; padding: 9px 7px; border-radius: 7px; cursor: pointer; }.property-row:hover { background: white; }.property-row strong { font-size: 12px; display: block; }.property-row small { font-size: 9px; color: var(--muted); font-family: var(--mono); }.property-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; }.property-icon.currency { background: #dcefe8; color: #177654; }.property-icon.days { background: #e8e8f5; color: #5e5d91; }.property-icon.enum { background: #f6ead7; color: #9a681f; }.required-dot { width: 5px; height: 5px; background: #9ab1a8; border-radius: 50%; }
.rule-card { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 11px 7px; border-top: 1px solid var(--line); }.rule-number { font-family: var(--mono); font-size: 10px; color: #9aa8a3; padding-top: 2px; }.rule-card strong { font-size: 11px; }.rule-card p { margin: 3px 0 5px; font-size: 11px; color: var(--ink-2); }.rule-card p b { color: var(--green); }.rule-card small { font-size: 8px; letter-spacing: .08em; color: #909c98; }
.sample-card { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 14px; box-shadow: 0 5px 20px rgba(30,55,47,.04); }.sample-head { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid #edf0ee; padding-bottom: 12px; }.avatar { width: 34px; height: 34px; border-radius: 7px; background: var(--navy); color: var(--lime); display: grid; place-items: center; font-size: 10px; font-weight: 800; }.sample-head strong { display: block; font-size: 11px; }.sample-head small { font-family: var(--mono); color: var(--muted); font-size: 8px; }.live-chip { color: #3c886a; background: #e8f5ef; font-size: 8px; font-weight: 800; text-transform: uppercase; padding: 3px 5px; border-radius: 4px; }.sample-card dl { margin: 10px 0 0; }.sample-card dl div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 10px; }.sample-card dt { color: var(--muted); }.sample-card dd { margin: 0; font-weight: 700; }.sample-card em { font-style: normal; color: var(--green); font-size: 8px; }.term-chip { color: #826326; background: #fbf0d8; padding: 2px 5px; border-radius: 3px; font-size: 8px; }

.workspace { padding: 48px clamp(28px, 5vw, 78px) 24px; max-width: 1240px; width: 100%; margin: 0 auto; }
.workspace-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }.workspace-header h1 { font-size: clamp(30px, 3.2vw, 45px); line-height: 1.08; letter-spacing: -2px; margin: 9px 0 8px; }.workspace-header h1 span { color: var(--green); }.workspace-header > div > p:last-child { color: var(--muted); margin: 0; }
.step-track { width: 330px; display: flex; justify-content: space-between; position: relative; flex-shrink: 0; }.track-line { position: absolute; height: 1px; background: #ccd5d1; left: 20px; right: 20px; top: 14px; }.track-line i { display: block; width: 0%; height: 2px; background: var(--green); transition: width .5s ease; }.track-step { position: relative; display: grid; justify-items: center; gap: 6px; color: #99a39f; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }.track-step b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid #ccd5d1; font-family: var(--mono); font-size: 9px; }.track-step.active { color: var(--green); }.track-step.active b { color: white; background: var(--green); border-color: var(--green); box-shadow: 0 0 0 4px var(--paper); }
.scenario-switch { display: flex; align-items: center; gap: 7px; margin: 0 0 13px auto; justify-content: flex-end; }.scenario-switch > span { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; font-weight: 700; margin-right: 4px; }.scenario { border: 1px solid var(--line); background: #f0f2ef; border-radius: 20px; padding: 6px 11px; color: var(--muted); font-size: 10px; font-weight: 700; cursor: pointer; }.scenario.active { background: white; color: var(--ink); box-shadow: 0 3px 12px rgba(26,52,43,.06); }.scenario i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 3px; }.good-dot { background: var(--green); }.bad-dot { background: var(--red); }
.ontology-card { background: var(--navy); color: white; border-radius: 12px; padding: 22px 25px; margin-bottom: 14px; box-shadow: var(--shadow); }
.ontology-card-head { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 18px; }.ontology-card-head h2 { margin: 4px 0; font-size: 18px; }.ontology-card-head > div > p:last-child { margin: 0; color: #9db1aa; font-size: 10px; }.ontology-customer { display: flex; align-items: center; gap: 9px; min-width: 190px; }.ontology-customer strong { display: block; font-size: 10px; }.ontology-customer small { color: #8ea39c; font: 8px var(--mono); }
.ontology-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }.ontology-property { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: white; border-radius: 6px; padding: 10px 11px; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }.ontology-property:hover { background: rgba(255,255,255,.11); border-color: rgba(185,227,107,.45); }.ontology-property strong { display: block; font-size: 9px; margin-bottom: 3px; }.ontology-property small { color: #86a098; font: 8px var(--mono); }.ontology-property em { display: block; color: var(--lime); font-size: 9px; font-style: normal; font-weight: 700; margin-top: 6px; }
.workflow-card { background: white; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 55px 1fr; margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; animation: rise .45s ease both; }.card-index { border-right: 1px solid #e8ece9; color: #a0aaa6; font-family: var(--mono); padding-top: 28px; text-align: center; font-size: 10px; }.card-content { padding: 26px 29px 22px; min-width: 0; }.card-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }.card-heading h2 { font-size: 18px; margin: 5px 0 0; letter-spacing: -.4px; }.human-badge,.ai-badge,.untrusted-badge { font-size: 9px; padding: 5px 8px; border-radius: 4px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }.human-badge { background: #edf0ee; color: #68756f; }.ai-badge { background: #e6f5ef; color: #2d8061; }.ai-badge i { display: inline-block; width: 5px; height: 5px; background: var(--green); border-radius: 50%; }.untrusted-badge { color: #9c6d23; background: #fff4dd; }
.policy-input-wrap { display: block; background: #f7f8f6; border: 1px solid #dce3df; border-left: 3px solid var(--green); border-radius: 7px; padding: 17px 18px 11px 42px; position: relative; }.quote-mark { position: absolute; left: 16px; top: 10px; color: #96a7a0; font-family: Georgia, serif; font-size: 31px; }.policy-input-wrap textarea { resize: vertical; display: block; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; line-height: 1.65; min-height: 69px; }.char-count { display: block; text-align: right; color: #9aa5a1; font-size: 8px; }
.card-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 17px; }.card-actions p { color: #89948f; font-size: 9px; margin: 0; display: flex; align-items: center; gap: 6px; }.card-actions p svg { width: 14px; height: 14px; fill: none; stroke: var(--green); stroke-width: 1.7; }.primary-button,.secondary-button { border: 0; border-radius: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; padding: 11px 14px; cursor: pointer; transition: transform .15s, box-shadow .15s; white-space: nowrap; }.primary-button { color: white; background: var(--navy); box-shadow: 0 5px 12px rgba(16,47,44,.18); }.secondary-button { color: var(--navy); background: var(--lime); }.primary-button:hover,.secondary-button:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(16,47,44,.2); }.primary-button span,.secondary-button span { margin-left: 9px; font-size: 15px; }
.prompt-window { border: 1px solid #254c47; background: #0e2a28; border-radius: 7px; overflow: hidden; }.window-bar { height: 38px; background: #173835; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 12px; color: #87a49a; }.window-bar > span { display: flex; gap: 5px; }.window-bar > span i { width: 6px; height: 6px; border-radius: 50%; background: #46635c; }.window-bar small { font-family: var(--mono); font-size: 8px; }.copy-button { justify-self: end; background: transparent; border: 0; color: #b1c2bc; font-size: 9px; cursor: pointer; display: flex; align-items: center; gap: 5px; }.copy-button svg { width: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }.prompt-window pre { margin: 0; padding: 17px 20px; color: #c7d8d1; font: 10px/1.65 var(--mono); max-height: 265px; overflow: auto; white-space: pre-wrap; }.prompt-window pre::selection { background: #397469; }
.code-editor { display: grid; grid-template-columns: 43px 1fr; border: 1px solid #dce3df; background: #f7f8f6; border-radius: 7px; overflow: hidden; }.line-numbers { padding: 15px 13px; text-align: right; color: #aab4b0; border-right: 1px solid #e1e6e3; font: 12px/1.7 var(--mono); user-select: none; }.code-editor textarea { border: 0; outline: 0; resize: vertical; padding: 15px 16px; background: transparent; color: #21473f; font: 12px/1.7 var(--mono); min-height: 132px; white-space: pre; overflow: auto; }
.result-section { margin-top: 18px; animation: rise .45s ease both; }.result-hero { border: 1px solid #b9dfd0; background: #eff9f5; border-radius: 12px 12px 0 0; padding: 27px 30px; display: flex; align-items: center; gap: 18px; }.result-section.conflict .result-hero { border-color: #efc5bf; background: var(--red-light); }.result-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: white; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }.conflict .result-icon { background: var(--red); }.result-hero h2 { margin: 3px 0 3px; font-size: 21px; letter-spacing: -.5px; }.result-hero p { margin: 0; color: #648076; font-size: 11px; }.conflict .result-hero p { color: #95635f; }.result-label { color: var(--green); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }.conflict .result-label { color: var(--red); }.result-grid { background: white; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; display: grid; grid-template-columns: 1fr 1fr; }.result-column { padding: 25px 30px; }.result-column + .result-column { border-left: 1px solid var(--line); }.result-column h3 { margin: 0 0 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #687670; }.validation-list { display: grid; gap: 10px; }.check-row { display: flex; gap: 9px; align-items: center; font-size: 10px; color: #5c6b65; }.check-row i { width: 17px; height: 17px; display: grid; place-items: center; background: #e1f4ec; color: var(--green); border-radius: 50%; font-style: normal; font-size: 9px; font-weight: 800; }.logic-stack { display: grid; gap: 7px; }.logic-row { display: grid; grid-template-columns: 75px 1fr; align-items: center; font-size: 10px; }.logic-row span { color: var(--muted); }.logic-row code { background: #f1f4f2; padding: 7px 9px; border-radius: 5px; color: #31554c; font: 9px var(--mono); }.relationship { margin-top: 13px; padding-top: 13px; border-top: 1px solid #e7ebe8; display: flex; gap: 10px; align-items: center; }.relationship b { color: var(--green); font-size: 10px; }.conflict .relationship b { color: var(--red); }.relationship svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 1.5; }.conflict .relationship svg { stroke: var(--red); }.ast-details { margin-top: 11px; }.ast-details summary { cursor: pointer; color: var(--muted); font-size: 9px; }.ast-details pre { background: #102f2c; color: #c9d8d2; border-radius: 6px; padding: 13px; font: 9px/1.6 var(--mono); overflow: auto; }
.error-result { padding: 25px; background: var(--red-light); border: 1px solid #efc5bf; border-radius: 10px; }.error-result h2 { color: var(--red); margin: 0 0 8px; }.error-result pre { white-space: pre-wrap; font: 11px var(--mono); }
.validation-success { background: white; border: 1px solid #b9dfd0; border-radius: 12px; padding: 25px 29px; box-shadow: var(--shadow); }.validation-success-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }.validation-success-head .result-icon { width: 36px; height: 36px; font-size: 16px; }.validation-success-head h2 { margin: 2px 0; font-size: 18px; }.validation-success-head p { margin: 0; color: var(--muted); font-size: 10px; }.validation-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }.analyze-bar { margin-top: 19px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }.analyze-bar p { margin: 0; color: var(--muted); font-size: 9px; }
.resolution-list { margin: 14px 0 0; padding: 13px 13px 13px 27px; background: #fff7e9; border-radius: 6px; color: #745b36; font-size: 9px; line-height: 1.8; }
.workspace-footer { display: flex; justify-content: space-between; color: #99a39f; font-size: 9px; padding: 25px 2px 0; }.workspace-footer b { color: #6c7974; }.workspace-footer i { display: inline-block; width: 5px; height: 5px; background: var(--green); border-radius: 50%; margin-left: 7px; }
.hidden { display: none !important; }.toast { position: fixed; left: 50%; bottom: 25px; transform: translate(-50%, 20px); background: var(--navy); color: white; padding: 10px 15px; border-radius: 6px; font-size: 10px; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
dialog { width: min(460px, calc(100vw - 30px)); border: 0; border-radius: 12px; box-shadow: 0 20px 80px rgba(10,38,33,.25); padding: 28px; }dialog::backdrop { background: rgba(10,35,31,.5); backdrop-filter: blur(3px); }.dialog-close { position: absolute; right: 15px; top: 12px; border: 0; background: transparent; font-size: 24px; cursor: pointer; color: var(--muted); }dialog h3 { margin: 6px 0 18px; }dialog pre { background: #f2f4f1; border-radius: 6px; padding: 15px; font: 11px/1.7 var(--mono); white-space: pre-wrap; }

/* Presentation-scale typography and spacing */
body { font-size: 16px; line-height: 1.5; }
.topbar { height: 76px; padding: 0 32px; }
.brand { font-size: 23px; }.brand small { font-size: 12px; }.status-pill { font-size: 14px; }
.app-shell { grid-template-columns: 330px 1fr; min-height: calc(100vh - 76px); }
.context-panel { top: 76px; max-height: calc(100vh - 76px); padding: 32px 26px; }
.eyebrow { font-size: 12px; }
.context-heading h2 { font-size: 24px; }.context-heading > span { font-size: 11px; }
.section-title-row h3 { font-size: 13px; }.count { font-size: 11px; padding: 2px 8px; }
.property-row { padding: 11px 8px; gap: 11px; }.property-row strong { font-size: 14px; }.property-row small { font-size: 10px; }.property-icon { width: 32px; height: 32px; font-size: 12px; }
.rule-card { padding: 14px 8px; gap: 12px; }.rule-number { font-size: 11px; }.rule-card strong { font-size: 13px; }.rule-card p { margin: 5px 0 7px; font-size: 13px; line-height: 1.45; }.rule-card small { font-size: 10px; }
.sample-card { padding: 17px; }.sample-head strong { font-size: 13px; }.sample-head small { font-size: 10px; }.live-chip { font-size: 10px; }.sample-card dl div { padding: 6px 0; font-size: 12px; }.term-chip { font-size: 10px; padding: 3px 6px; }
.workspace { max-width: 1380px; padding-top: 54px; }
.workspace-header h1 { font-size: clamp(38px, 4vw, 58px); }.workspace-header > div > p:last-child { font-size: 16px; }
.step-track { width: 380px; }.track-step { font-size: 11px; gap: 8px; }.track-step b { width: 32px; height: 32px; font-size: 11px; }.track-line { top: 16px; }
.scenario-switch { gap: 9px; margin-bottom: 17px; }.scenario-switch > span { font-size: 11px; }.scenario { padding: 8px 14px; font-size: 12px; }
.ontology-card { padding: 27px 30px; margin-bottom: 18px; }.ontology-card-head { margin-bottom: 23px; }.ontology-card-head h2 { font-size: 25px; margin: 6px 0; }.ontology-card-head > div > p:last-child { font-size: 13px; }.ontology-customer strong { font-size: 13px; }.ontology-customer small { font-size: 10px; }
.ontology-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }.ontology-property { min-width: 0; padding: 14px 15px; }.ontology-property strong { display: block; font-size: 13px; margin-bottom: 5px; }.ontology-property small { display: block; overflow-wrap: anywhere; font-size: 10px; line-height: 1.5; }.ontology-property em { font-size: 12px; margin-top: 9px; }
.workflow-card { grid-template-columns: 64px 1fr; margin-bottom: 18px; }.card-index { padding-top: 33px; font-size: 12px; }.card-content { padding: 31px 35px 27px; }.card-heading { margin-bottom: 22px; }.card-heading h2 { font-size: 24px; margin-top: 7px; }.human-badge,.ai-badge,.untrusted-badge { font-size: 11px; padding: 7px 10px; }
.policy-input-wrap { padding: 21px 22px 14px 48px; }.policy-input-wrap textarea { font-size: 18px; line-height: 1.65; min-height: 92px; }.quote-mark { font-size: 37px; }.char-count { font-size: 10px; }
.card-actions { margin-top: 21px; }.card-actions p { font-size: 12px; }.card-actions p svg { width: 17px; height: 17px; }.primary-button,.secondary-button { font-size: 12px; padding: 14px 18px; }
.window-bar { height: 46px; padding: 0 16px; }.window-bar small,.copy-button { font-size: 11px; }.prompt-window pre { padding: 22px 25px; font: 13px/1.75 var(--mono); max-height: 380px; }
.code-editor { grid-template-columns: 50px 1fr; }.line-numbers { padding: 18px 15px; font: 14px/1.75 var(--mono); }.code-editor textarea { padding: 18px 20px; font: 14px/1.75 var(--mono); min-height: 165px; }
.result-hero { padding: 32px 35px; }.result-hero h2 { font-size: 27px; }.result-hero p { font-size: 14px; }.result-label { font-size: 11px; }.result-column { padding: 30px 35px; }.result-column h3 { font-size: 13px; }.validation-list { gap: 13px; }.check-row { font-size: 13px; }.check-row i { width: 22px; height: 22px; font-size: 11px; }.logic-stack { gap: 10px; }.logic-row { grid-template-columns: 105px 1fr; font-size: 13px; }.logic-row code { padding: 10px 12px; font: 12px/1.5 var(--mono); }.relationship b { font-size: 13px; }.ast-details summary { font-size: 12px; }.ast-details pre { padding: 17px; font: 12px/1.65 var(--mono); }
.validation-success { padding: 30px 35px; }.validation-success-head h2 { font-size: 24px; }.validation-success-head p { font-size: 13px; }.analyze-bar p { font-size: 12px; }.resolution-list { font-size: 12px; padding: 16px 16px 16px 34px; }.error-result h2 { font-size: 25px; }.error-result pre { font: 13px/1.65 var(--mono); }.workspace-footer { font-size: 11px; }.toast { font-size: 12px; }
dialog { width: min(540px, calc(100vw - 30px)); padding: 34px; }dialog h3 { font-size: 24px; }dialog pre { padding: 19px; font: 13px/1.75 var(--mono); }

.production-path { margin-top: 22px; background: var(--navy); color: white; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.production-path summary { min-height: 92px; padding: 22px 28px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 16px; cursor: pointer; list-style: none; }
.production-path summary::-webkit-details-marker { display: none; }
.production-path summary::after { content: "+"; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; color: var(--lime); font: 18px var(--mono); grid-column: 4; }
.production-path[open] summary::after { content: "−"; }
.roadmap-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; background: var(--lime); color: var(--navy); font-size: 22px; font-weight: 800; }
.production-path summary small { display: block; color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; }
.production-path summary strong { display: block; font-size: 18px; }
.roadmap-state { color: #a9bbb5; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 7px 11px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.roadmap-content { border-top: 1px solid rgba(255,255,255,.1); padding: 32px 28px 28px; }
.roadmap-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 25px; }
.roadmap-intro h2 { margin: 7px 0 0; font-size: 27px; letter-spacing: -.6px; }
.roadmap-intro > p { color: #afc1ba; font-size: 13px; line-height: 1.7; margin: 0; }
.stack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stack-card { min-width: 0; position: relative; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11); border-radius: 9px; padding: 22px 20px 19px; }
.stack-number { position: absolute; top: 17px; right: 18px; color: #66817a; font: 11px var(--mono); }
.stack-role { color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 30px 9px 0; }
.stack-card h3 { font-size: 19px; margin: 0 0 10px; }
.stack-card > p:not(.stack-role) { color: #aec0ba; font-size: 12px; line-height: 1.65; margin: 0 0 18px; }
.stack-transition { border-top: 1px solid rgba(255,255,255,.09); padding-top: 14px; color: #c6d3ce; font-size: 10px; line-height: 1.7; }
.stack-transition span { color: #7f9890; text-transform: uppercase; letter-spacing: .06em; font-size: 8px; font-weight: 800; }
.stack-transition b { color: var(--lime); margin: 0 3px; }
.roadmap-bottom { display: grid; grid-template-columns: .7fr 1.5fr; gap: 38px; margin-top: 26px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); }
.roadmap-bottom h3 { margin: 7px 0 0; font-size: 19px; }
.phase-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 17px 22px; counter-reset: phase; }
.phase-list li { display: grid; grid-template-columns: 25px 1fr; column-gap: 9px; counter-increment: phase; }
.phase-list li::before { content: counter(phase); grid-row: 1 / 3; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(185,227,107,.12); color: var(--lime); font: 10px var(--mono); }
.phase-list b { font-size: 12px; }
.phase-list span { color: #93aaa2; font-size: 10px; line-height: 1.55; margin-top: 3px; }
.roadmap-boundary { background: rgba(185,227,107,.08); border-left: 3px solid var(--lime); color: #aabdb6; padding: 13px 15px; margin: 25px 0 0; font-size: 11px; line-height: 1.65; }
.roadmap-boundary b { color: white; }

/* Light presentation theme */
.topbar { background: var(--white); color: var(--ink); border-bottom-color: var(--line); box-shadow: 0 3px 18px rgba(29,54,46,.05); }
.brand { color: var(--ink); }.brand small { color: var(--muted); border-left-color: var(--line); }
.status-pill { color: var(--ink-2); }.icon-button { color: var(--ink-2); background: #f1f4f1; border-color: var(--line); }.icon-button:hover { background: #e8eeea; }
.ontology-card { background: #edf5f1; color: var(--ink); border: 1px solid #d5e5dc; box-shadow: var(--shadow); }
.ontology-card-head > div > p:last-child,.ontology-customer small { color: #70847c; }
.ontology-property { background: var(--white); border-color: #d6e4dd; color: var(--ink); }.ontology-property:hover { background: #f8fcf9; border-color: var(--green); }.ontology-property small { color: #71877f; }
.avatar { background: #dff2e8; color: #167753; }
.prompt-window { background: #f7f9f7; border-color: #cfddd6; }.window-bar { background: #eaf1ed; color: #60766e; }.window-bar > span i { background: #9db1a9; }.copy-button { color: #45645a; }.prompt-window pre { color: #27483f; }.prompt-window pre::selection { background: #cce9dc; }
.ast-details pre { background: #f1f5f2; color: #31554c; border: 1px solid var(--line); }
.primary-button { background: #178a64; }.primary-button:hover { box-shadow: 0 7px 18px rgba(23,138,100,.22); }
.policy-input-wrap { border-left: 1px solid #dce3df; padding-left: 48px; }

.production-path { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.production-path summary { background: #f1f7f3; }.production-path summary::after { border-color: #b9cec4; color: #157c59; }
.production-path summary small { color: #17845f; }.roadmap-state { color: #567068; border-color: #c7d8d0; background: white; }
.roadmap-content { border-top-color: var(--line); }.roadmap-intro > p { color: #647970; }
.stack-card { background: #f8faf8; border-color: #d8e4de; }.stack-number { color: #92a29b; }.stack-role { color: #147b57; }.stack-card > p:not(.stack-role) { color: #5f736b; }
.stack-transition { border-top-color: #dfe8e3; color: #435c53; }.stack-transition span { color: #778b83; }.stack-transition b { color: #16865f; }
.roadmap-bottom { border-top-color: var(--line); }.phase-list li::before { background: #e2f2ea; color: #137954; }.phase-list span { color: #687c74; }
.roadmap-boundary { background: #edf7f1; color: #536b62; border-left-color: var(--green); }.roadmap-boundary b { color: var(--ink); }

.artifact-showcase { margin-top: 28px; padding-top: 27px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.artifact-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 30px; margin-bottom: 5px; }.artifact-heading .eyebrow { grid-column: 1 / -1; }.artifact-heading h3 { margin: 3px 0 0; font-size: 23px; }.artifact-heading > p:last-child { margin: 0; color: #6a7e76; font-size: 13px; }
.artifact-card { display: grid; grid-template-columns: minmax(230px,.7fr) minmax(0,1.5fr); border: 1px solid #d8e4de; background: #fbfcfb; border-radius: 9px; overflow: hidden; }
.artifact-meta { padding: 22px; border-right: 1px solid #d8e4de; }.artifact-tool { color: #147b57; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }.artifact-meta h4 { margin: 8px 0 9px; font-size: 18px; }.artifact-meta p { margin: 0 0 16px; color: #61766e; font-size: 11px; line-height: 1.65; }.artifact-file { display: inline-block; padding: 5px 8px; border-radius: 4px; background: #e8f1ec; color: #577168; font: 9px var(--mono); }
.artifact-code { margin: 0; padding: 20px 22px; background: #f2f6f3; color: #214b3e; font: 11px/1.65 var(--mono); white-space: pre-wrap; overflow: auto; }.code-muted { color: #83978f; }
.decision-artifact { padding: 20px 22px; min-width: 0; }.decision-title { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }.decision-title span { color: #70847c; font-size: 9px; text-transform: uppercase; font-weight: 800; }.decision-title strong { font-size: 13px; }.decision-title em { margin-left: auto; padding: 4px 7px; background: #e8f2ed; color: #39715d; border-radius: 4px; font-size: 9px; font-style: normal; }
.decision-table-wrap { overflow-x: auto; }.decision-artifact table { width: 100%; border-collapse: collapse; font-size: 10px; }.decision-artifact th { background: #e6efe9; color: #496158; text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }.decision-artifact th,.decision-artifact td { border: 1px solid #cfddd5; padding: 10px; white-space: nowrap; }.decision-artifact td:first-child { color: #82938c; font-family: var(--mono); }.decision-artifact td:last-child { color: #147b57; font-weight: 800; }
.solver-artifact { display: grid; grid-template-columns: 1.1fr .9fr; min-width: 0; }.solver-artifact .artifact-code { border-right: 1px solid #d8e4de; }.solver-result { padding: 20px; display: grid; align-content: center; gap: 7px; background: #fff5f2; }.solver-result span { color: #bd4e46; font-size: 9px; font-weight: 800; letter-spacing: .09em; }.solver-result b { color: #704b47; font: 9px/1.5 var(--mono); }

/* Add four pixels to the presentation typography scale. */
body { font-size: 20px; }
.brand { font-size: 27px; }.brand small { font-size: 16px; }.status-pill { font-size: 18px; }
.avatar { font-size: 14px; }
.eyebrow { font-size: 16px; }.context-heading h2 { font-size: 28px; }.context-heading > span { font-size: 15px; }
.section-title-row h3 { font-size: 17px; }.count { font-size: 15px; }.property-row strong { font-size: 18px; }.property-row small { font-size: 14px; }.property-icon { font-size: 16px; }
.rule-number { font-size: 15px; }.rule-card strong { font-size: 17px; }.rule-card p { font-size: 17px; }.rule-card small { font-size: 14px; }
.sample-head strong { font-size: 17px; }.sample-head small,.live-chip { font-size: 14px; }.sample-card dl div { font-size: 16px; }.sample-card em { font-size: 12px; }.term-chip { font-size: 14px; }
.workspace-header h1 { font-size: clamp(42px, 4vw, 62px); }.workspace-header > div > p:last-child { font-size: 20px; }.track-step { font-size: 15px; }.track-step b { font-size: 15px; }.scenario-switch > span { font-size: 15px; }.scenario { font-size: 16px; }
.ontology-card-head h2 { font-size: 29px; }.ontology-card-head > div > p:last-child { font-size: 17px; }.ontology-customer strong { font-size: 17px; }.ontology-customer small { font-size: 14px; }.ontology-property strong { font-size: 17px; }.ontology-property small { font-size: 14px; }.ontology-property em { font-size: 16px; }
.card-index { font-size: 16px; }.card-heading h2 { font-size: 28px; }.human-badge,.ai-badge,.untrusted-badge { font-size: 15px; }.policy-input-wrap textarea { font-size: 22px; }.quote-mark { font-size: 41px; }.char-count { font-size: 14px; }
.card-actions p { font-size: 16px; }.primary-button,.secondary-button { font-size: 16px; }.primary-button span,.secondary-button span { font-size: 19px; }.window-bar small,.copy-button { font-size: 15px; }.prompt-window pre { font-size: 17px; }.line-numbers,.code-editor textarea { font-size: 18px; }
.result-icon { font-size: 26px; }.result-hero h2 { font-size: 31px; }.result-hero p { font-size: 18px; }.result-label { font-size: 15px; }.result-column h3 { font-size: 17px; }.check-row { font-size: 17px; }.check-row i { font-size: 15px; }.logic-row { font-size: 17px; }.logic-row code { font-size: 16px; }.relationship b { font-size: 17px; }.ast-details summary,.ast-details pre { font-size: 16px; }
.validation-success-head h2 { font-size: 28px; }.validation-success-head p { font-size: 17px; }.analyze-bar p { font-size: 16px; }.resolution-list { font-size: 16px; }.error-result h2 { font-size: 29px; }.error-result pre { font-size: 17px; }.workspace-footer { font-size: 15px; }.toast { font-size: 16px; }
.validation-success-head .result-icon { font-size: 20px; }dialog h3 { font-size: 28px; }dialog pre { font-size: 17px; }.dialog-close { font-size: 28px; }
.production-path summary small { font-size: 14px; }.production-path summary strong { font-size: 22px; }.roadmap-state { font-size: 14px; }.roadmap-intro h2 { font-size: 31px; }.roadmap-intro > p { font-size: 17px; }.stack-number { font-size: 15px; }.stack-role { font-size: 14px; }.stack-card h3 { font-size: 23px; }.stack-card > p:not(.stack-role) { font-size: 16px; }.stack-transition { font-size: 14px; }.stack-transition span { font-size: 12px; }.roadmap-bottom h3 { font-size: 23px; }.phase-list li::before { font-size: 14px; }.phase-list b { font-size: 16px; }.phase-list span { font-size: 14px; }.roadmap-boundary { font-size: 15px; }
.artifact-heading h3 { font-size: 27px; }.artifact-heading > p:last-child { font-size: 17px; }.artifact-tool { font-size: 14px; }.artifact-meta h4 { font-size: 22px; }.artifact-meta p { font-size: 15px; }.artifact-file { font-size: 13px; }.artifact-code { font-size: 15px; }.decision-title span,.decision-title em { font-size: 13px; }.decision-title strong { font-size: 17px; }.decision-artifact table { font-size: 14px; }.decision-artifact th { font-size: 13px; }.solver-result span { font-size: 13px; }.solver-result b { font-size: 13px; }

@keyframes rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 950px) { .app-shell { grid-template-columns: 1fr; }.context-panel { display: none; }.workspace { padding-top: 35px; }.workspace-header { align-items: flex-start; flex-direction: column; }.step-track { width: 100%; }.result-grid { grid-template-columns: 1fr; }.result-column + .result-column { border-left: 0; border-top: 1px solid var(--line); }.ontology-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.stack-grid { grid-template-columns: 1fr; }.roadmap-bottom { grid-template-columns: 1fr; gap: 20px; }.artifact-card { grid-template-columns: 1fr; }.artifact-meta { border-right: 0; border-bottom: 1px solid #d8e4de; } }
@media (max-width: 600px) { .topbar { padding: 0 16px; }.brand small,.status-pill { display: none; }.workspace { padding: 26px 14px 20px; }.workspace-header h1 { letter-spacing: -1.2px; }.track-step span { display: none; }.scenario-switch { justify-content: flex-start; flex-wrap: wrap; }.scenario-switch > span { width: 100%; }.ontology-card-head { align-items: flex-start; flex-direction: column; }.ontology-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.workflow-card { grid-template-columns: 1fr; }.card-index { display: none; }.card-content { padding: 21px 18px; }.card-actions,.analyze-bar { align-items: stretch; flex-direction: column; }.card-actions button,.analyze-bar button { width: 100%; }.prompt-actions { flex-direction: column; }.window-bar { grid-template-columns: 1fr 1fr; }.window-bar small { display: none; }.card-heading { gap: 12px; }.workspace-footer { gap: 15px; flex-direction: column; }.result-hero { padding: 22px 18px; }.result-column { padding: 22px 18px; }.validation-body { grid-template-columns: 1fr; }.production-path summary { grid-template-columns: 36px 1fr auto; padding: 18px; }.roadmap-icon { width: 36px; height: 36px; }.roadmap-state { display: none; }.production-path summary::after { grid-column: 3; grid-row: 1; }.roadmap-content { padding: 25px 18px 20px; }.roadmap-intro { grid-template-columns: 1fr; gap: 12px; }.roadmap-intro h2 { font-size: 26px; }.phase-list { grid-template-columns: 1fr; }.artifact-heading { grid-template-columns: 1fr; }.artifact-heading .eyebrow { grid-column: 1; }.solver-artifact { grid-template-columns: 1fr; }.solver-artifact .artifact-code { border-right: 0; border-bottom: 1px solid #d8e4de; }.decision-title { align-items: flex-start; flex-direction: column; }.decision-title em { margin-left: 0; } }
