/* Ask Indwel living surface—public sales engineering, not generic chatbot theatre. */
:root {
  --ask-rail: 900px;
  --ask-panel: 390px;
  --ask-surface: color-mix(in srgb, var(--paper), transparent 8%);
  --ask-surface-raised: color-mix(in srgb, var(--paper), #fff 18%);
  --ask-surface-soft: color-mix(in srgb, var(--ink), transparent 96%);
  --ask-line: color-mix(in srgb, var(--ink), transparent 82%);
  --ask-line-strong: color-mix(in srgb, var(--ink), transparent 63%);
  --ask-muted: color-mix(in srgb, var(--ink), transparent 39%);
  --ask-good: #48624e;
  --ask-partial: #7c6541;
  --ask-fail: #7e4542;
  --ask-unknown: #6a6861;
}

:root[data-theme="mono"] {
  --ask-surface: #f7f6f1;
  --ask-surface-raised: #fffefa;
}

:root[data-theme="wash"] {
  --ask-surface: color-mix(in srgb, #f5f2ec, transparent 5%);
  --ask-surface-raised: color-mix(in srgb, #f8f4ef, #fff 22%);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ask-experience {
  min-height: 100vh;
  background: var(--light-background);
  color: var(--ink);
}

.ask-main {
  min-height: calc(100vh - 72px);
  background: var(--light-background);
}

.ask-live-mark {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  flex: 0 0 auto;
}
.ask-live-mark::after {
  content: "";
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: currentColor;
}

.ask-authority-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ask-muted);
  font-size: 12.5px;
  line-height: 1;
  font-weight: 570;
  letter-spacing: .01em;
}
.ask-authority-kicker button,
.ask-conversation__bar button,
.ask-context-panel button,
.ask-receipt button,
.ask-followups button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.ask-authority-kicker button {
  margin-left: 2px;
  border-bottom: 1px solid color-mix(in srgb, currentColor, transparent 45%);
  padding-bottom: 2px;
}

.ask-arrival {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(58px, 7vh, 92px) var(--pad) clamp(54px, 6vh, 78px);
  border-bottom: 1px solid var(--line-light);
}
.ask-arrival__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}
.ask-arrival__statement {
  max-width: 1010px;
  margin-top: clamp(54px, 7vh, 82px);
}
.ask-arrival__statement .eyebrow { margin: 0 0 20px }
.ask-arrival h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(52px, 5.8vw, 82px);
  line-height: .98;
  letter-spacing: -.041em;
  font-weight: 520;
  text-wrap: balance;
}
.ask-arrival__lede {
  max-width: 800px;
  margin: 28px 0 0;
  color: var(--ask-muted);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.52;
  letter-spacing: -.009em;
  font-weight: 430;
}

.ask-composer {
  width: 100%;
  border: 1px solid var(--ask-line-strong);
  background: var(--ask-surface-raised);
  color: var(--ink);
  box-shadow: 0 14px 40px rgba(31, 27, 19, .055);
  transition: border-color .18s ease, box-shadow .18s ease, background .22s ease;
}
.ask-composer:focus-within {
  border-color: var(--ink);
  box-shadow: 0 18px 48px rgba(31, 27, 19, .085);
}
.ask-composer--arrival {
  max-width: 980px;
  margin-top: clamp(42px, 5.5vh, 62px);
  border-radius: 6px;
}
.ask-composer textarea {
  display: block;
  width: 100%;
  min-height: 92px;
  max-height: 260px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 24px 26px 12px;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.48;
  letter-spacing: -.009em;
  font-weight: 430;
}
.ask-composer textarea::placeholder { color: color-mix(in srgb, var(--ink), transparent 55%) }
.ask-composer__footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 11px 11px 25px;
  border-top: 1px solid var(--ask-line);
}
.ask-composer__footer p {
  margin: 0;
  color: var(--ask-muted);
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: .005em;
}
.ask-send {
  min-width: 136px;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 13px 8px 16px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1;
  font-weight: 590;
  letter-spacing: 0;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.ask-send:hover { background: transparent; color: var(--ink) }
.ask-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5 }
.ask-send:disabled { opacity: .42; cursor: not-allowed }

.ask-prompts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.ask-prompts button {
  min-height: 104px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 7px;
  text-align: left;
  border: 1px solid var(--ask-line);
  border-radius: 3px;
  background: color-mix(in srgb, var(--paper), transparent 34%);
  color: var(--ink);
  padding: 15px 16px 14px;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.ask-prompts button:hover,
.ask-prompts button:focus-visible {
  border-color: var(--ask-line-strong);
  background: var(--ask-surface-raised);
  transform: translateY(-1px);
}
.ask-prompts button > span {
  color: var(--ask-muted);
  font-size: 11.5px;
  line-height: 1;
  font-weight: 630;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ask-prompts strong { font-size: 15px; line-height: 1.25; font-weight: 620; letter-spacing: -.006em }
.ask-prompts small { align-self: end; color: var(--ask-muted); font-size: 12.5px; line-height: 1.38; font-weight: 430 }

.ask-scope {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-top: 28px;
  color: var(--ask-muted);
}
.ask-scope p {
  flex: 0 0 auto;
  margin: 0;
  font-size: 11.5px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ask-scope ul { display: flex; flex-wrap: wrap; gap: 7px 19px; list-style: none; margin: 0; padding: 0 }
.ask-scope li { font-size: 12.5px; line-height: 1.3 }

.ask-conversation {
  min-height: calc(100vh - 72px);
  background: var(--light-background);
}
.ask-conversation__bar {
  min-height: 54px;
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--ask-line);
  background: color-mix(in srgb, var(--paper), transparent 4%);
  backdrop-filter: blur(16px);
}
.ask-conversation__bar > div { display: flex; align-items: center; gap: 10px }
.ask-conversation__bar strong { font-size: 13.5px; line-height: 1; font-weight: 640 }
.ask-conversation__bar span:not(.ask-live-mark) { color: var(--ask-muted); font-size: 12px; line-height: 1 }
.ask-conversation__actions { gap: 19px !important }
.ask-conversation__actions button {
  color: var(--ask-muted);
  font-size: 12.5px;
  line-height: 1;
  font-weight: 570;
  border-bottom: 1px solid transparent;
  padding: 5px 0;
}
.ask-conversation__actions button:hover { color: var(--ink); border-color: currentColor }

.ask-conversation__body {
  min-height: calc(100vh - 72px - 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  transition: grid-template-columns .24s ease;
}
.ask-conversation__body[data-panel-state="open"] { grid-template-columns: minmax(0, 1fr) minmax(330px, var(--ask-panel)) }
.ask-thread-wrap { min-width: 0; padding: 66px var(--pad) 210px }
.ask-thread { width: min(100%, var(--ask-rail)); margin: 0 auto }

.ask-turn {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 30px;
  padding: 0 0 56px;
}
.ask-turn + .ask-turn { border-top: 1px solid var(--ask-line); padding-top: 48px }
.ask-turn__identity {
  padding-top: 4px;
  color: var(--ask-muted);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 660;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ask-turn--user .ask-turn__content {
  max-width: 720px;
  font-size: 19px;
  line-height: 1.48;
  letter-spacing: -.012em;
  font-weight: 490;
}
.ask-turn--indwel .ask-turn__identity { color: var(--ink) }
.ask-turn--indwel .ask-turn__identity::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  vertical-align: -1px;
  box-shadow: inset 0 0 0 2.4px var(--paper);
  background: currentColor;
}
.ask-turn__content > :first-child { margin-top: 0 }
.ask-turn__content > :last-child { margin-bottom: 0 }
.ask-turn__content h2 {
  margin: 0 0 25px;
  font-size: clamp(31px, 3vw, 43px);
  line-height: 1.07;
  letter-spacing: -.029em;
  font-weight: 540;
  text-wrap: balance;
}
.ask-turn__content h3 {
  margin: 34px 0 12px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.015em;
  font-weight: 620;
}
.ask-turn__content p {
  max-width: 780px;
  margin: 19px 0 0;
  font-size: 17.5px;
  line-height: 1.62;
  letter-spacing: -.006em;
  font-weight: 430;
}
.ask-turn__content p strong { font-weight: 650 }
.ask-turn__content blockquote {
  margin: 30px 0 0;
  padding: 2px 0 2px 22px;
  border-left: 2px solid var(--ink);
  font-size: 20px;
  line-height: 1.47;
  letter-spacing: -.014em;
  font-weight: 520;
}
.ask-turn__content ul,
.ask-turn__content ol { margin: 21px 0 0; padding-left: 23px }
.ask-turn__content li { margin-top: 8px; font-size: 16.5px; line-height: 1.55 }

.ask-thinking {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ask-muted);
  font-size: 13px;
  line-height: 1;
}
.ask-thinking .ask-live-mark { animation: ask-breathe 1.35s ease-in-out infinite }
@keyframes ask-breathe { 0%,100% { opacity: .45; transform: scale(.88) } 50% { opacity: 1; transform: scale(1) } }

.ask-stream-cursor::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: .92em;
  margin-left: 3px;
  background: currentColor;
  vertical-align: -.08em;
  animation: ask-cursor .8s steps(1) infinite;
}
@keyframes ask-cursor { 0%,48% { opacity: 1 } 49%,100% { opacity: 0 } }

.ask-claim-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
}
.ask-claim-line span {
  border: 1px solid var(--ask-line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--ask-muted);
  font-size: 11.5px;
  line-height: 1;
  font-weight: 580;
}

.ask-diagram {
  margin: 40px 0 0;
  border: 1px solid var(--ask-line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, var(--paper), transparent 18%);
}
.ask-diagram__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 22px 17px;
  border-bottom: 1px solid var(--ask-line);
}
.ask-diagram__header p { margin: 0; color: var(--ask-muted); font-size: 11.5px; line-height: 1; font-weight: 650; letter-spacing: .07em; text-transform: uppercase }
.ask-diagram__header h3 { margin: 7px 0 0; font-size: 18px; line-height: 1.28; font-weight: 620; letter-spacing: -.011em }
.ask-diagram__header span { color: var(--ask-muted); font-size: 11.5px; line-height: 1.3 }
.ask-diagram__reading {
  display: grid;
  grid-template-columns: minmax(160px, .42fr) minmax(0, 1fr);
  gap: 20px;
  padding: 12px 22px 13px;
  border-bottom: 1px solid var(--ask-line);
  color: var(--ask-muted);
  font-size: 11.5px;
  line-height: 1.45;
}
.ask-diagram__reading span:first-child { color: var(--ink); font-weight: 620; text-transform: capitalize }
.ask-diagram__canvas { overflow-x: auto; padding: 28px 22px 24px; background: color-mix(in srgb, var(--ask-surface-soft), transparent 38%) }
.ask-diagram svg { display: block; width: 100%; min-width: 760px; height: auto }
.ask-diagram .diagram-lane rect { fill: color-mix(in srgb, var(--ask-surface-raised), transparent 30%); stroke: var(--ask-line); stroke-width: 1 }
.ask-diagram .diagram-lane text,
.ask-diagram .diagram-panel-title { fill: var(--ask-muted); font-family: var(--font-sans); font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase }
.ask-diagram .diagram-stage-label { fill: var(--ask-muted); font-family: var(--font-sans); font-size: 10.5px; font-weight: 650; letter-spacing: .045em; text-transform: uppercase }
.ask-diagram .diagram-node rect { fill: var(--ask-surface-raised); stroke: var(--ask-line-strong); stroke-width: 1.1 }
.ask-diagram .diagram-node--primary rect { fill: var(--ink); stroke: var(--ink) }
.ask-diagram .diagram-node--contrast rect { fill: color-mix(in srgb, var(--ask-partial), var(--paper) 82%); stroke: color-mix(in srgb, var(--ask-partial), var(--ink) 42%) }
.ask-diagram .diagram-node-label { fill: var(--ink); font-family: var(--font-sans); font-size: 13px; font-weight: 610; letter-spacing: -.006em }
.ask-diagram .diagram-node--primary text { fill: var(--paper) }
.ask-diagram .diagram-node-support { fill: var(--ask-muted); font-family: var(--font-sans); font-size: 8.5px; font-weight: 610; letter-spacing: .045em; text-transform: uppercase }
.ask-diagram .diagram-node--primary .diagram-node-support { fill: color-mix(in srgb, var(--paper), transparent 26%) }
.ask-diagram .diagram-edge { fill: none; stroke: color-mix(in srgb, var(--ink), transparent 38%); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round }
.ask-diagram .diagram-edge-group--feedback .diagram-edge { stroke-dasharray: 5 4 }
.ask-diagram .diagram-edge-label { fill: var(--ask-muted); stroke: var(--ask-surface-soft); stroke-width: 5px; paint-order: stroke; font-family: var(--font-sans); font-size: 10.5px; font-weight: 560 }
.ask-diagram .diagram-panel rect { fill: var(--ask-surface-raised); stroke: var(--ask-line); stroke-width: 1 }
.ask-diagram .diagram-panel--indwel rect { fill: color-mix(in srgb, var(--ink), var(--paper) 93%); stroke: var(--ask-line-strong) }
.ask-diagram .diagram-lifeline { fill: none; stroke: color-mix(in srgb, var(--ink), transparent 72%); stroke-width: 1; stroke-dasharray: 4 5 }
.ask-diagram .diagram-message-order { fill: var(--ask-muted); font-family: var(--font-mono); font-size: 10px; font-weight: 560 }
.ask-diagram__support { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 22px 15px }
.ask-diagram__support span { border: 1px solid var(--ask-line); border-radius: 999px; padding: 5px 8px; color: var(--ask-muted); font-size: 9.5px; line-height: 1; font-weight: 620; letter-spacing: .04em; text-transform: uppercase }
.ask-diagram__caption { padding: 18px 22px 20px; border-top: 1px solid var(--ask-line); color: var(--ask-muted); font-size: 12.5px; line-height: 1.55 }
.ask-diagram__caption strong { color: var(--ink); font-weight: 640 }
.ask-diagram__narrative { border-top: 1px solid var(--ask-line); padding: 0 22px }
.ask-diagram__narrative summary { cursor: pointer; padding: 14px 0; color: var(--ink); font-size: 12px; line-height: 1; font-weight: 620 }
.ask-diagram__narrative ol { margin: 0 0 18px; padding-left: 20px }
.ask-diagram__narrative li { margin-top: 6px; color: var(--ask-muted); font-size: 12px; line-height: 1.5 }
.ask-diagram__mobile { display: none }

.ask-perspective {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 14px;
  margin: -4px 0 27px;
  padding: 11px 0 12px;
  border-top: 1px solid var(--ask-line);
  border-bottom: 1px solid var(--ask-line);
}
.ask-perspective span { color: var(--ask-muted); font-size: 10.5px; font-weight: 660; letter-spacing: .055em; text-transform: uppercase }
.ask-perspective strong { font-size: 12.5px; line-height: 1.3; font-weight: 650 }
.ask-perspective p { margin: 0; max-width: none; color: var(--ask-muted); font-size: 12.5px; line-height: 1.4 }

.ask-technology-context,
.ask-integration-map { margin-top: 36px; border-top: 1px solid var(--ask-line-strong); padding-top: 22px }
.ask-technology-context__header,
.ask-integration-map__header { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: baseline; margin-bottom: 18px }
.ask-technology-context__header .eyebrow,
.ask-integration-map__header .eyebrow { margin: 0 }
.ask-technology-context__header h3,
.ask-integration-map__header h3 { margin: 0; font-size: 20px; line-height: 1.25 }
.ask-technology-context__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--ask-line); background: var(--ask-line) }
.ask-technology-context article { min-width: 0; background: var(--ask-surface-raised); padding: 17px 18px 18px }
.ask-technology-context article > div { display: flex; align-items: start; justify-content: space-between; gap: 12px }
.ask-technology-context strong { font-size: 13.5px; line-height: 1.35; font-weight: 650 }
.ask-technology-context span { flex: 0 0 auto; border: 1px solid var(--ask-line); border-radius: 999px; padding: 4px 7px; color: var(--ask-muted); font-size: 8.5px; line-height: 1; font-weight: 650; letter-spacing: .04em; text-transform: uppercase }
.ask-technology-context p { margin: 11px 0 0; color: var(--ink); font-size: 12.5px; line-height: 1.5 }
.ask-technology-context small { display: block; margin-top: 9px; color: var(--ask-muted); font-size: 10.5px; line-height: 1.45 }

.ask-integration-map__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--ask-line); background: var(--ask-line) }
.ask-integration-map article { min-width: 0; min-height: 228px; background: var(--ask-surface-raised); padding: 18px 17px 20px }
.ask-integration-map article > span { display: block; color: var(--ask-muted); font-family: var(--font-mono); font-size: 10px; line-height: 1 }
.ask-integration-map h4 { margin: 20px 0 0; font-size: 18px; line-height: 1.1; font-weight: 650 }
.ask-integration-map article > p { margin: 10px 0 0; color: var(--ask-muted); font-size: 11.5px; line-height: 1.45 }
.ask-integration-map ul { margin: 16px 0 0; padding: 0; list-style: none }
.ask-integration-map li { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--ask-line); font-size: 11.5px; line-height: 1.38 }
.ask-integration-map [data-integration-step="invert"] { background: var(--ink); color: var(--paper) }
.ask-integration-map [data-integration-step="invert"] p,
.ask-integration-map [data-integration-step="invert"] > span { color: color-mix(in srgb, var(--paper), transparent 32%) }
.ask-integration-map [data-integration-step="invert"] li { border-color: color-mix(in srgb, var(--paper), transparent 78%) }

.ask-failure-recognition { margin-top: 28px; padding: 18px 19px 19px; border-left: 3px solid var(--ask-partial); background: color-mix(in srgb, var(--ask-partial), transparent 92%) }
.ask-failure-recognition .eyebrow { margin: 0 0 9px }
.ask-failure-recognition strong { font-size: 15px; line-height: 1.35; font-weight: 650 }
.ask-failure-recognition p:last-child { margin: 8px 0 0; color: var(--ask-muted); font-size: 12.5px; line-height: 1.5 }
.ask-diagram-failure { margin-top: 32px; padding: 18px; border: 1px solid var(--ask-fail); color: var(--ask-fail) }
.ask-diagram-failure p { margin-top: 6px; font-size: 13px }

.ask-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 32px 0 0;
  border: 1px solid var(--ask-line-strong);
  background: var(--ask-line);
}
.ask-comparison article { background: var(--ask-surface-raised); padding: 23px 24px 25px }
.ask-comparison article:last-child { background: var(--ink); color: var(--paper) }
.ask-comparison .eyebrow { color: inherit; opacity: .62; margin-bottom: 15px }
.ask-comparison h3 { margin: 0; font-size: 21px; line-height: 1.2 }
.ask-comparison p { margin-top: 14px; font-size: 15px; line-height: 1.55; color: inherit; opacity: .82 }

.ask-assessment {
  margin: 34px 0 0;
  border-top: 1px solid var(--ask-line-strong);
}
.ask-assessment__summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ask-line);
}
.ask-assessment__summary h3 { margin: 0; font-size: 20px }
.ask-assessment__summary p { margin: 7px 0 0; color: var(--ask-muted); font-size: 13.5px; line-height: 1.45 }
.ask-assessment__score { display: flex; align-items: baseline; gap: 5px; font-size: 30px; line-height: 1; letter-spacing: -.025em; font-weight: 590 }
.ask-assessment__score small { color: var(--ask-muted); font-size: 12px; font-weight: 520; letter-spacing: 0 }
.ask-assessment__row {
  display: grid;
  grid-template-columns: minmax(170px, .65fr) 130px minmax(250px, 1.25fr);
  gap: 22px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--ask-line);
}
.ask-assessment__row strong { font-size: 14px; line-height: 1.35; font-weight: 620 }
.ask-assessment__row p { margin: 0; color: var(--ask-muted); font-size: 13.5px; line-height: 1.47 }
.ask-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 660;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.ask-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor }
.ask-status--meets { color: var(--ask-good) }
.ask-status--partly-meets { color: var(--ask-partial) }
.ask-status--does-not-meet { color: var(--ask-fail) }
.ask-status--cannot-determine { color: var(--ask-unknown) }

.ask-receipt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 36px;
  padding-top: 17px;
  border-top: 1px solid var(--ask-line);
  color: var(--ask-muted);
}
.ask-receipt p { margin: 0; font-size: 12px; line-height: 1.45 }
.ask-receipt button {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1;
  font-weight: 590;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.ask-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.ask-followups button {
  border: 1px solid var(--ask-line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 550;
}
.ask-followups button:hover { border-color: var(--ask-line-strong); background: var(--ask-surface-soft) }

.ask-context-panel {
  min-width: 0;
  position: sticky;
  top: 54px;
  height: calc(100vh - 54px);
  overflow-y: auto;
  border-left: 1px solid var(--ask-line);
  background: color-mix(in srgb, var(--paper), transparent 1%);
  padding: 28px 27px 40px;
}
.ask-context-panel__header { display: flex; justify-content: space-between; align-items: start; gap: 18px; padding-bottom: 23px; border-bottom: 1px solid var(--ask-line) }
.ask-context-panel__header .eyebrow { margin: 0 }
.ask-context-panel__header h2 { margin: 7px 0 0; font-size: 23px; line-height: 1.15; letter-spacing: -.02em; font-weight: 590 }
.ask-context-panel__header button { color: var(--ask-muted); font-size: 12px; line-height: 1; font-weight: 580 }
.ask-context-panel__content section { padding: 22px 0; border-bottom: 1px solid var(--ask-line) }
.ask-context-panel__content section:last-child { border-bottom: 0 }
.ask-context-panel__content h3 { margin: 0; font-size: 13.5px; line-height: 1.3; font-weight: 650 }
.ask-context-panel__content p { margin: 9px 0 0; color: var(--ask-muted); font-size: 12.5px; line-height: 1.52 }
.ask-context-panel__content ul { list-style: none; margin: 12px 0 0; padding: 0 }
.ask-context-panel__content li { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; border-top: 1px solid var(--ask-line); font-size: 12px; line-height: 1.35 }
.ask-context-panel__content li span:last-child { color: var(--ask-muted); text-align: right }
.ask-context-panel__release { font-family: var(--font-mono); font-size: 11px !important; letter-spacing: .015em }

.ask-composer-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  pointer-events: none;
  padding: 44px var(--pad) 18px;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--paper), transparent 2%) 34%, var(--paper) 70%);
}
.ask-composer--conversation {
  width: min(calc(100% - 110px), var(--ask-rail));
  margin: 0 auto;
  border-radius: 6px;
  pointer-events: auto;
}
.ask-composer--conversation textarea { min-height: 54px; max-height: 180px; padding: 17px 21px 8px; font-size: 16px }
.ask-composer--conversation .ask-composer__footer { min-height: 45px; padding: 6px 7px 7px 20px }
.ask-composer__status { display: flex; align-items: center; gap: 8px; color: var(--ask-muted); font-size: 11.5px; line-height: 1 }
.ask-composer__status .ask-live-mark { width: 10px; height: 10px }
.ask-composer__status .ask-live-mark::after { width: 2.5px; height: 2.5px }
.ask-stop {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--ask-muted);
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 570;
  cursor: pointer;
}
.ask-composer--conversation .ask-send { min-width: 82px; min-height: 34px; padding: 7px 10px 7px 13px; font-size: 12.5px }
.ask-privacy-line {
  width: min(calc(100% - 110px), var(--ask-rail));
  margin: 7px auto 0;
  color: var(--ask-muted);
  text-align: center;
  font-size: 10.5px;
  line-height: 1.35;
  pointer-events: auto;
}
.ask-privacy-line a { border-bottom: 1px solid currentColor }

body.ask-panel-open .ask-composer--conversation,
body.ask-panel-open .ask-privacy-line {
  transform: translateX(calc(var(--ask-panel) / -2));
}

@media (max-width: 1080px) {
  .ask-prompts { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .ask-conversation__body[data-panel-state="open"] { grid-template-columns: minmax(0, 1fr) minmax(310px, 34vw) }
  body.ask-panel-open .ask-composer--conversation,
  body.ask-panel-open .ask-privacy-line { transform: none }
}

@media (max-width: 760px) {
  .ask-arrival { align-items: flex-start; min-height: auto; padding-top: 44px; padding-bottom: 46px }
  .ask-authority-kicker { flex-wrap: wrap; row-gap: 7px }
  .ask-arrival__statement { margin-top: 52px }
  .ask-arrival h1 { font-size: clamp(45px, 13.3vw, 58px); line-height: .99; letter-spacing: -.039em }
  .ask-arrival__lede { margin-top: 23px; font-size: 17px; line-height: 1.52 }
  .ask-composer--arrival { margin-top: 35px }
  .ask-composer textarea { min-height: 112px; padding: 19px 18px 9px; font-size: 16px }
  .ask-composer__footer { align-items: end; padding: 9px 9px 9px 17px }
  .ask-composer__footer p { max-width: 155px; font-size: 10.5px }
  .ask-send { min-width: 106px; min-height: 38px; padding-left: 13px; font-size: 12px }
  .ask-prompts { grid-template-columns: 1fr; gap: 8px; margin-top: 13px }
  .ask-prompts button { min-height: 84px; grid-template-columns: 68px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 11px; padding: 13px 14px }
  .ask-prompts button > span { grid-row: 1 / span 2; align-self: start; padding-top: 3px }
  .ask-prompts small { align-self: start }
  .ask-scope { display: block; margin-top: 25px }
  .ask-scope ul { margin-top: 13px; gap: 6px 15px }
  .ask-scope li { font-size: 11.5px }

  .ask-conversation__bar { min-height: 50px; padding: 0 18px }
  .ask-conversation__bar > div:first-child span:not(.ask-live-mark) { display: none }
  .ask-conversation__actions { gap: 14px !important }
  .ask-conversation__actions button { font-size: 11.5px }
  .ask-conversation__actions button:first-child { display: none }
  .ask-thread-wrap { padding: 42px 20px 190px }
  .ask-turn { grid-template-columns: 1fr; gap: 13px; padding-bottom: 39px }
  .ask-turn + .ask-turn { padding-top: 34px }
  .ask-turn__identity { font-size: 10.5px }
  .ask-turn--user .ask-turn__content { font-size: 17px; line-height: 1.48 }
  .ask-turn__content h2 { font-size: 31px; line-height: 1.08; margin-bottom: 20px }
  .ask-turn__content h3 { font-size: 18px }
  .ask-turn__content p { font-size: 16px; line-height: 1.6 }
  .ask-turn__content blockquote { font-size: 18px; padding-left: 16px }
  .ask-claim-line { gap: 6px }
  .ask-claim-line span { font-size: 10.5px }
  .ask-comparison { grid-template-columns: 1fr }
  .ask-diagram__header { padding: 15px 15px 14px }
  .ask-diagram__canvas { padding: 18px 14px 14px }
  .ask-diagram svg { min-width: 620px }
  .ask-diagram__caption { padding: 0 15px 16px; font-size: 11.5px }
  .ask-assessment__summary { grid-template-columns: 1fr; gap: 12px }
  .ask-assessment__score { font-size: 26px }
  .ask-assessment__row { grid-template-columns: 1fr; gap: 8px; padding: 15px 0 }
  .ask-receipt { align-items: flex-start; flex-direction: column; gap: 12px }
  .ask-followups { display: grid; grid-template-columns: 1fr; gap: 7px }
  .ask-followups button { text-align: left }

  .ask-conversation__body[data-panel-state="open"] { grid-template-columns: 1fr }
  .ask-context-panel {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 45;
    height: min(78vh, 690px);
    border-left: 0;
    border-top: 1px solid var(--ask-line-strong);
    box-shadow: 0 -20px 60px rgba(20, 19, 15, .12);
    padding: 24px 20px 34px;
  }
  body.ask-panel-open::after {
    content: "";
    position: fixed;
    inset: 72px 0 0;
    z-index: 44;
    background: rgba(15, 15, 12, .26);
  }
  .ask-composer-dock { padding: 35px 12px 10px }
  .ask-composer--conversation,
  .ask-privacy-line { width: 100% }
  .ask-composer--conversation textarea { min-height: 49px; padding: 14px 15px 7px; font-size: 16px }
  .ask-composer--conversation .ask-composer__footer { padding-left: 14px }
  .ask-composer__status { font-size: 10.5px }
  .ask-composer--conversation .ask-send { min-width: 70px }
  .ask-privacy-line { font-size: 9.5px }
}

@media (prefers-reduced-motion: reduce) {
  .ask-live-mark,
  .ask-stream-cursor::after { animation: none !important }
  .ask-prompts button,
  .ask-composer,
  .ask-conversation__body { transition: none !important }
}

.ask-authority-dialog {
  width: min(560px, calc(100vw - 34px));
  border: 1px solid var(--ask-line-strong);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  padding: 34px 36px 36px;
  box-shadow: 0 30px 100px rgba(15, 14, 11, .22);
}
.ask-authority-dialog::backdrop { background: rgba(15, 14, 11, .34); backdrop-filter: blur(3px) }
.ask-authority-dialog form { position: absolute; top: 18px; right: 18px }
.ask-authority-dialog form button { border: 0; background: transparent; color: var(--ask-muted); font: 570 12px/1 var(--font-sans); cursor: pointer }
.ask-authority-dialog .eyebrow { margin: 0 0 14px }
.ask-authority-dialog h2 { margin: 0; font-size: 32px; line-height: 1.08; letter-spacing: -.027em; font-weight: 560 }
.ask-authority-dialog > p:not(.eyebrow) { margin: 18px 0 0; color: var(--ask-muted); font-size: 15px; line-height: 1.58 }
.ask-authority-dialog dl { margin: 27px 0 0; border-top: 1px solid var(--ask-line) }
.ask-authority-dialog dl div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--ask-line) }
.ask-authority-dialog dt { color: var(--ask-muted); font-size: 12px; font-weight: 600 }
.ask-authority-dialog dd { margin: 0; font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere }
.ask-authority-dialog__boundary { padding-top: 18px; border-top: 1px solid var(--ask-line-strong) }

@media (max-width: 760px) {
  .ask-authority-dialog { padding: 30px 22px 27px }
  .ask-authority-dialog h2 { font-size: 28px }
  .ask-authority-dialog dl div { grid-template-columns: 110px 1fr }
}

/* Iteration One mobile authority: preserve the canonical masthead rail and
   contain wide constitutional assets inside the conversational reading field. */
.ask-turn__content,
.ask-comparison,
.ask-comparison article,
.ask-diagram,
.ask-diagram__canvas,
.ask-assessment {
  min-width: 0;
  max-width: 100%;
}
.ask-diagram { overflow: hidden }

@media (max-width: 760px) {
  .ask-arrival { padding-left: 20px; padding-right: 20px }
  .ask-thread { min-width: 0; max-width: 100% }
  .ask-turn__content { width: 100%; overflow-wrap: anywhere }
  .ask-comparison { width: 100%; overflow: hidden }
  .ask-comparison article { width: 100% }
  .ask-diagram { width: 100% }
  .ask-diagram__canvas { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain }
}

/* A conversation is the page. Author styles must never override the native
   hidden state during the transition from arrival to active dialogue. */
.ask-arrival[hidden],
.ask-conversation[hidden] {
  display: none !important;
}

/* The active-conversation utility bar follows the same viewport-content rail
   calculation as the masthead, including scrollbar width. */
.ask-conversation__bar {
  padding-left: max(var(--pad), calc((100% - var(--max)) / 2));
  padding-right: max(var(--pad), calc((100% - var(--max)) / 2));
}
@media (max-width: 760px) {
  .ask-conversation__bar { padding-left: 20px; padding-right: 20px }
}

/* Iteration 1.5—diagram standards and grounded sales engineering. */
.ask-diagram marker path { fill: color-mix(in srgb, var(--ink), transparent 38%) }
.ask-diagram__mobile { background: color-mix(in srgb, var(--ask-surface-soft), transparent 38%) }
.ask-diagram__mobile section + section { border-top: 1px solid var(--ask-line) }
.ask-diagram__mobile--stages section { padding: 18px }
.ask-diagram__mobile-stage { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: baseline }
.ask-diagram__mobile-stage span,
.ask-diagram__mobile--sequence li > span,
.ask-diagram__mobile--comparison li > span { color: var(--ask-muted); font: 560 10px/1 var(--font-mono) }
.ask-diagram__mobile-stage h4,
.ask-diagram__mobile--comparison h4 { margin: 0; font-size: 12px; line-height: 1.3; font-weight: 680; letter-spacing: .045em; text-transform: uppercase }
.ask-diagram__mobile-nodes { display: grid; gap: 8px; margin: 13px 0 0 44px }
.ask-diagram__mobile-nodes article { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-width: 0; border: 1px solid var(--ask-line-strong); border-radius: 5px; padding: 12px 13px; background: var(--ask-surface-raised) }
.ask-diagram__mobile-nodes article[data-primary="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink) }
.ask-diagram__mobile-nodes strong { min-width: 0; font-size: 13px; line-height: 1.35; font-weight: 620 }
.ask-diagram__mobile-nodes small { flex: 0 0 auto; color: var(--ask-muted); font-size: 8px; line-height: 1.2; font-weight: 650; letter-spacing: .04em; text-transform: uppercase }
.ask-diagram__mobile-nodes article[data-primary="true"] small { color: color-mix(in srgb, var(--paper), transparent 28%) }
.ask-diagram__mobile--sequence ol,
.ask-diagram__mobile--comparison ol { list-style: none; margin: 0; padding: 0 }
.ask-diagram__mobile--sequence li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 16px 18px; border-top: 1px solid var(--ask-line) }
.ask-diagram__mobile--sequence li:first-child { border-top: 0 }
.ask-diagram__mobile--sequence strong { display: block; font-size: 12.5px; line-height: 1.35; font-weight: 650 }
.ask-diagram__mobile--sequence p { margin: 5px 0 0; color: var(--ask-muted); font-size: 12px; line-height: 1.45 }
.ask-diagram__mobile--comparison { display: none; grid-template-columns: 1fr }
.ask-diagram__mobile--comparison section { padding: 18px }
.ask-diagram__mobile--comparison ol { margin-top: 13px }
.ask-diagram__mobile--comparison li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--ask-line) }
.ask-diagram__mobile--comparison strong { font-size: 13px; line-height: 1.35; font-weight: 620 }

@media (max-width: 1080px) {
  .ask-integration-map__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .ask-integration-map article { min-height: 0 }
}

@media (max-width: 760px) {
  .ask-perspective { grid-template-columns: 1fr; gap: 5px; align-items: start; margin-bottom: 24px }
  .ask-perspective p { margin-top: 2px }
  .ask-technology-context__header,
  .ask-integration-map__header { grid-template-columns: 1fr; gap: 8px; align-items: start }
  .ask-technology-context__grid,
  .ask-integration-map__grid { grid-template-columns: 1fr }
  .ask-technology-context article > div { align-items: center }
  .ask-integration-map article { min-height: 0; padding: 17px 16px 18px }
  .ask-integration-map h4 { margin-top: 14px }
  .ask-diagram__header { display: grid; grid-template-columns: 1fr; gap: 8px }
  .ask-diagram__header > span { font-size: 10.5px }
  .ask-diagram__reading { grid-template-columns: 1fr; gap: 4px; padding-left: 15px; padding-right: 15px }
  .ask-diagram__canvas { display: none }
  .ask-diagram__mobile { display: block }
  .ask-diagram__mobile--comparison { display: grid }
  .ask-diagram__caption { padding: 16px 15px 17px }
  .ask-diagram__support { padding: 14px 15px 15px; border-top: 1px solid var(--ask-line) }
  .ask-diagram__narrative { padding: 0 15px }
}
.ask-technology-context__grid > article:only-child { grid-column: 1 / -1 }

@media (min-width: 761px) {
  .ask-diagram {
    width: min(1320px, calc(100vw - 56px));
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}
.ask-diagram .diagram-lane text,
.ask-diagram .diagram-panel-title { font-size: 12.5px }
.ask-diagram .diagram-stage-label { font-size: 11.5px }
.ask-diagram .diagram-node-label { font-size: 13.5px }
.ask-diagram .diagram-edge-label { font-size: 12px }
.ask-diagram .diagram-node-support { font-size: 9.5px }
@media (max-width: 760px) {
  .ask-diagram { left: auto; transform: none; max-width: 100%; width: 100% }
}
@media (min-width: 761px) {
  .ask-diagram { width: min(1280px, calc(100vw - 88px)) }
}
.ask-diagram__reading span:first-child { text-transform: none }

/* Iteration 1.75—narrative-first semantic answer primitives. */
.ask-verdict {
  margin: 4px 0 27px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--ask-line-strong);
  border-bottom: 1px solid var(--ask-line-strong);
}
.ask-verdict .eyebrow { margin: 0 0 10px }
.ask-verdict > p:last-child {
  max-width: 820px;
  margin: 0;
  font-size: clamp(22px, 2.25vw, 31px);
  line-height: 1.24;
  letter-spacing: -.024em;
  font-weight: 540;
  text-wrap: balance;
}

.ask-distinction,
.ask-qualification,
.ask-acknowledgement {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  margin: 0 0 28px;
  padding: 17px 18px 18px;
  border: 1px solid var(--ask-line);
  background: var(--ask-surface-soft);
}
.ask-distinction > span,
.ask-qualification > span,
.ask-acknowledgement > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 650 15px/1 var(--font-sans);
}
.ask-distinction { border-left: 3px solid var(--ask-fail) }
.ask-distinction > span { color: var(--ask-fail) }
.ask-qualification { margin-top: 30px; margin-bottom: 0; border-left: 3px solid var(--ask-partial); background: color-mix(in srgb, var(--ask-partial), transparent 93%) }
.ask-qualification > span { color: var(--ask-partial) }
.ask-acknowledgement { margin-top: 28px; margin-bottom: 0; border-left: 3px solid var(--ask-good); background: color-mix(in srgb, var(--ask-good), transparent 93%) }
.ask-acknowledgement > span { color: var(--ask-good) }
.ask-distinction .eyebrow,
.ask-qualification .eyebrow,
.ask-acknowledgement .eyebrow { margin: 1px 0 7px }
.ask-distinction p:last-child,
.ask-qualification p:last-child,
.ask-acknowledgement p:last-child { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.55 }

.ask-sequence,
.ask-flow,
.ask-pseudocode {
  margin-top: 34px;
  border-top: 1px solid var(--ask-line-strong);
  padding-top: 20px;
}
.ask-sequence > .eyebrow,
.ask-flow > .eyebrow { margin: 0 0 15px }
.ask-sequence ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ask-line);
  background: var(--ask-line);
}
.ask-sequence li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid var(--ask-line);
  background: var(--ask-surface-raised);
}
.ask-sequence li:first-child { border-top: 0 }
.ask-sequence li > span { color: var(--ask-muted); font: 560 10px/1 var(--font-mono) }
.ask-sequence li > p { margin: 0; font-size: 14px; line-height: 1.45 }

.ask-flow > div {
  display: flex;
  align-items: stretch;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  overscroll-behavior-inline: contain;
}
.ask-flow span {
  min-width: 128px;
  display: grid;
  place-items: center;
  padding: 13px 14px;
  border: 1px solid var(--ask-line-strong);
  background: var(--ask-surface-raised);
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}
.ask-flow i { align-self: center; color: var(--ask-muted); font-style: normal; font-size: 15px }

.ask-pseudocode > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.ask-pseudocode .eyebrow { margin: 0 }
.ask-pseudocode > div > span { color: var(--ask-muted); font-size: 10.5px; line-height: 1.35 }
.ask-pseudocode pre {
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ask-line-strong);
  background: color-mix(in srgb, var(--ink), var(--paper) 95%);
  padding: 20px;
}
.ask-pseudocode code { color: var(--ink); font: 500 12.5px/1.65 var(--font-mono); white-space: pre }

.ask-inquiry {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--ask-partial), var(--ink) 28%);
  border-left: 4px solid var(--ask-partial);
  background: color-mix(in srgb, var(--ask-partial), transparent 94%);
}
.ask-inquiry__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ask-inquiry__header .eyebrow { margin: 0; color: var(--ask-partial) }
.ask-inquiry__header > span {
  border: 1px solid color-mix(in srgb, var(--ask-partial), transparent 50%);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--ask-partial);
  font-size: 9px;
  line-height: 1;
  font-weight: 680;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.ask-inquiry h3 { max-width: 760px; margin: 18px 0 0; font-size: clamp(21px, 2vw, 27px); line-height: 1.24; letter-spacing: -.018em }
.ask-inquiry > p { max-width: 760px; margin: 11px 0 0; color: var(--ask-muted); font-size: 14px; line-height: 1.55 }
.ask-inquiry__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 21px;
}
.ask-inquiry__options button,
.ask-inquiry__secondary button,
.ask-inquiry__options span {
  appearance: none;
  border: 1px solid var(--ask-line-strong);
  border-radius: 3px;
  background: var(--ask-surface-raised);
  color: var(--ink);
  padding: 10px 12px;
  font: 570 12.5px/1.2 var(--font-sans);
}
.ask-inquiry__options button,
.ask-inquiry__secondary button { cursor: pointer }
.ask-inquiry__options button:hover,
.ask-inquiry__options button:focus-visible { border-color: var(--ink); background: var(--ink); color: var(--paper) }
.ask-inquiry__secondary { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 12px }
.ask-inquiry__secondary button { border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--ask-muted); padding: 4px 0 }
.ask-inquiry__consequence { padding-top: 15px; border-top: 1px solid color-mix(in srgb, var(--ask-partial), transparent 68%) }
.ask-inquiry__consequence strong { color: var(--ink) }

.ask-settlement {
  display: grid;
  grid-template-columns: minmax(155px, .34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 32px;
  padding: 18px 0;
  border-top: 1px solid var(--ask-line-strong);
  border-bottom: 1px solid var(--ask-line);
}
.ask-settlement .eyebrow { margin: 0 0 6px }
.ask-settlement strong { font-size: 15px; line-height: 1.25; font-weight: 670; text-transform: capitalize }
.ask-settlement > p { margin: 0; color: var(--ask-muted); font-size: 13px; line-height: 1.5 }
.ask-settlement[data-status="settled"],
.ask-settlement[data-status="supported-by-session-input"] { border-top-color: color-mix(in srgb, var(--ask-good), transparent 25%) }
.ask-settlement[data-status="provisional"],
.ask-settlement[data-status="unresolved"] { border-top-color: color-mix(in srgb, var(--ask-partial), transparent 20%) }

@media (max-width: 760px) {
  .ask-verdict > p:last-child { font-size: 23px }
  .ask-distinction,
  .ask-qualification,
  .ask-acknowledgement { grid-template-columns: 24px minmax(0, 1fr); padding: 15px }
  .ask-sequence li { grid-template-columns: 34px minmax(0, 1fr); padding: 13px 14px }
  .ask-flow > div { display: grid; grid-template-columns: 1fr; gap: 0; overflow: visible }
  .ask-flow span { min-width: 0; width: 100% }
  .ask-flow i { justify-self: center; transform: rotate(90deg); margin: 4px 0 }
  .ask-pseudocode > div { display: grid; gap: 5px }
  .ask-pseudocode pre { padding: 16px 14px }
  .ask-inquiry { padding: 19px 16px }
  .ask-inquiry__header { align-items: start }
  .ask-inquiry__options { display: grid; grid-template-columns: 1fr }
  .ask-inquiry__options button,
  .ask-inquiry__options span { width: 100%; text-align: left }
  .ask-settlement { grid-template-columns: 1fr; gap: 9px }
}

.ask-runtime-failure {
  max-width: 760px;
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--ask-red);
  background: color-mix(in srgb, var(--ask-red), transparent 94%);
  font-size: 15px;
  line-height: 1.55;
}

/* Iteration 2.5 — source-bound comparison, technical briefs, and Canon bridge */
.ask-comparison-profile {
  margin-top: 30px;
  border: 1px solid var(--ask-line-strong);
  background: var(--ask-surface-raised);
}
.ask-comparison-profile__header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  padding: 20px 22px;
  border-bottom: 1px solid var(--ask-line);
}
.ask-comparison-profile__header .eyebrow { margin: 0 0 7px }
.ask-comparison-profile__header h3 { margin: 0; font-size: clamp(20px, 2vw, 27px); line-height: 1.18; letter-spacing: -.02em }
.ask-comparison-profile__header > span,
.ask-evidence-state span:first-child,
[data-evidence-state] {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--ask-line-strong);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
[data-evidence-state="current"] { border-color: color-mix(in srgb, var(--ask-good), transparent 35%); color: var(--ask-good) }
[data-evidence-state="review-due"] { border-color: color-mix(in srgb, var(--ask-partial), transparent 30%); color: var(--ask-partial) }
[data-evidence-state="superseded"],
[data-evidence-state="withdrawn"],
[data-evidence-state="unavailable"] { border-color: color-mix(in srgb, var(--ask-red), transparent 30%); color: var(--ask-red) }
.ask-comparison-profile__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) }
.ask-comparison-profile__grid article { min-width: 0; padding: 21px 22px; border-bottom: 1px solid var(--ask-line) }
.ask-comparison-profile__grid article:nth-child(odd) { border-right: 1px solid var(--ask-line) }
.ask-comparison-profile__grid article:nth-last-child(-n+2) { border-bottom: 0 }
.ask-comparison-profile__grid .eyebrow { margin: 0 0 12px }
.ask-comparison-profile__grid p,
.ask-comparison-profile__grid li { color: var(--ask-muted); font-size: 13px; line-height: 1.55 }
.ask-comparison-profile__grid p { margin: 0 }
.ask-comparison-profile__grid ul { margin: 0; padding-left: 17px }
.ask-comparison-profile__grid li + li { margin-top: 7px }

.ask-technical-brief {
  margin-top: 28px;
  border-top: 1px solid var(--ask-line-strong);
  border-bottom: 1px solid var(--ask-line-strong);
}
.ask-technical-brief summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
}
.ask-technical-brief summary::-webkit-details-marker { display: none }
.ask-technical-brief summary > span:first-child { display: grid; gap: 4px }
.ask-technical-brief summary small { color: var(--ask-muted); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase }
.ask-technical-brief summary strong { font-size: 16px; line-height: 1.25 }
.ask-technical-brief summary > span:last-child { color: var(--ask-muted); font-size: 11px; border-bottom: 1px solid currentColor }
.ask-technical-brief > div { padding: 4px 0 22px }
.ask-technical-brief > div > p,
.ask-technical-brief li { max-width: 760px; color: var(--ask-muted); font-size: 13.5px; line-height: 1.55 }
.ask-technical-brief ol { display: grid; gap: 7px; margin: 16px 0; padding-left: 22px }
.ask-technical-brief__boundary { padding: 14px 16px; border-left: 3px solid var(--ink); background: color-mix(in srgb, var(--ink), transparent 96%) }

.ask-context-release { display: grid; gap: 12px }
.ask-evidence-state { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.ask-evidence-state span:last-child { color: var(--ask-muted); font-size: 11px }
.ask-canon-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}
.ask-source-register { display: grid; gap: 12px }
.ask-source-register > h3 { margin-bottom: 2px }
.ask-source-register article { padding: 14px; border: 1px solid var(--ask-line); background: color-mix(in srgb, var(--paper), white 18%) }
.ask-source-register article > div { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 7px }
.ask-source-register article > div > span:first-child { font-size: 10px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase }
.ask-source-register article > a { color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.35; text-decoration-thickness: 1px; text-underline-offset: 3px }
.ask-source-register article > p { margin: 8px 0 0; color: var(--ask-muted); font-size: 12px; line-height: 1.48 }
.ask-source-register article > small { display: block; margin-top: 9px; color: var(--ask-muted); font-size: 9.5px; line-height: 1.4 }

@media (max-width: 760px) {
  .ask-comparison-profile__header { display: grid; padding: 18px 16px }
  .ask-comparison-profile__grid { grid-template-columns: 1fr }
  .ask-comparison-profile__grid article,
  .ask-comparison-profile__grid article:nth-child(odd),
  .ask-comparison-profile__grid article:nth-last-child(-n+2) { padding: 18px 16px; border-right: 0; border-bottom: 1px solid var(--ask-line) }
  .ask-comparison-profile__grid article:last-child { border-bottom: 0 }
  .ask-technical-brief summary { align-items: start }
}

/* Rapid live answer presentation */
.ask-live-answer-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 1.62em;
}
