@font-face {
  font-family: Geist;
  src: url('../../claude-skills/flex-industrial-sourcing-20261103/assets/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Geist, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  color-scheme: light;
  background: #fff;
  color: #25272a;
  --ink: #25272a;
  --body: #50545b;
  --muted: #71767e;
  --line: #e8e9eb;
  --line-strong: #d8dadd;
  --wash: #f7f7f6;
  --focus: #0049b8;
  --ease: cubic-bezier(.22, 1, .36, 1);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* A restrained frame around the interaction. */
.preview { width: 100%; max-width: 850px; margin: auto; padding: clamp(36px, 6vh, 60px) 28px 44px; }
.intro { text-align: center; margin-bottom: 30px; }
.brand { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 0 22px; font-size: 13px; font-weight: 550; letter-spacing: -.25px; }
.brand img, .connection img { filter: grayscale(1) brightness(0); flex: none; }
.intro h1 { margin: 0; font-size: clamp(28px, 3.6vw, 39px); font-weight: 470; line-height: 1.2; letter-spacing: -1.55px; }
.intro h1 > span { color: #8a8d92; }
.lede { margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; letter-spacing: -.1px; }
.demo { position: relative; width: 100%; max-width: 740px; margin-inline: auto; }
.composer { position: relative; display: flex; align-items: center; gap: 22px; min-height: 80px; border: 1px solid #dedfe2; border-radius: 10px; background: #fff; padding: 15px 13px 15px 20px; box-shadow: 0 1px 2px #181b2005, 0 4px 12px #181b2003; transition: border-color 180ms, box-shadow 180ms; animation: enter 400ms var(--ease) both; }
.composer:focus-within { border-color: #bfc3ca; box-shadow: 0 1px 2px #181b2006, 0 4px 14px #181b2005; }
.query { display: grid; flex: 1; min-width: 0; }
.query-measure, .query-display { grid-area: 1 / 1; overflow-wrap: break-word; }
.query-measure { visibility: hidden; pointer-events: none; }
.query-main { display: block; font-size: 15px; line-height: 1.55; font-weight: 450; letter-spacing: -.23px; }
.query-followup { display: block; min-height: 18px; margin-top: 4px; font-size: 11px; line-height: 1.7; font-weight: 400; color: var(--muted); letter-spacing: -.05px; }
.caret { display: none; vertical-align: -2px; height: 1em; width: 1px; background: var(--ink); margin-left: 2px; }
.is-typing .primary-caret, .is-ready .secondary-caret, .typing-followup .secondary-caret { display: inline-block; }
.typing-followup .primary-caret { display: none; }
.is-ready .caret { animation: blink 1s step-end infinite; }
.run { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0; border: 0; background: transparent; font-size: 11px; font-weight: 450; color: #60656d; white-space: nowrap; }
.run-arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: var(--ink); color: #fff; border: 1px solid #202225; box-shadow: inset 0 1px 0 #ffffff18, 0 1px 2px #191c2112; transition: background 150ms, transform 150ms; }
.run-arrow .icon { width: 16px; height: 16px; }
.run:hover .run-arrow { background: #3a3d42; transform: translateY(-1px); }
.run:active .run-arrow { transform: translateY(0); }
.run:disabled .run-arrow, .run[aria-disabled=true] .run-arrow { border-color: #e9eaec; background: #f5f5f6; color: #858b93; box-shadow: none; transform: none; }
.run[aria-disabled=true] { cursor: progress; }
.meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 3px 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.connection { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 10px; color: #656a71; }
.connection-type { border: 1px solid #e5e7e9; border-radius: 3px; padding: 1px 4px; font-size: 8px; line-height: 1.25; letter-spacing: .2px; margin-left: 1px; }
.meta > span:last-child { text-align: right; }
.activity { display: flex; align-items: center; gap: 8px; min-height: 24px; margin: 25px 3px 0; color: var(--muted); font-size: 11px; line-height: 1.6; animation: enter 250ms var(--ease) both; }
.activity-glyph { width: 15px; height: 15px; flex: none; display: grid; place-items: center; }
.activity-glyph > .icon { display: none; }
.spinner { width: 11px; height: 11px; border: 1.5px solid #dddfe3; border-top-color: #646971; border-radius: 50%; animation: spin 800ms linear infinite; }
#activity-message { display: inline-block; }

/* One continuous result surface; hierarchy comes from rules and typography. */
.results { margin-top: 18px; border: 1px solid #e1e3e6; border-radius: 10px; padding: 23px 24px 0; background: #fff; box-shadow: 0 2px 4px #15191f03; overflow: hidden; animation: enter 320ms var(--ease) both; }
.results-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.results-header h2 { font-size: 17px; font-weight: 520; letter-spacing: -.45px; margin: 0; }
.result-count { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.results-intro { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 7px 0 19px; }
.property-list { border-top: 1px solid var(--line); }
.property { border-bottom: 1px solid var(--line); animation: row-enter 350ms var(--ease) both; }
.property:nth-child(2) { animation-delay: 75ms; }
.property:nth-child(3) { animation-delay: 150ms; }
.property > summary { display: flex; align-items: center; gap: 15px; min-height: 111px; padding: 19px 0; border-radius: 3px; transition: background 180ms; }
.property > summary:hover { background: #fafafa; }
.rank { color: #888d95; font-size: 10px; min-width: 14px; font-variant-numeric: tabular-nums; }
.property-glyph { display: block; width: 66px; height: 51px; border-radius: 5px; overflow: hidden; background: #f0f1f2; flex: none; }
.property-glyph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 450ms var(--ease); }
.property > summary:hover .property-glyph img { transform: scale(1.045); }
.property-copy { flex: 1; min-width: 0; }
.property-name { display: block; font-size: 13px; font-weight: 530; letter-spacing: -.18px; line-height: 1.5; }
.property-meta { display: block; margin-top: 3px; font-size: 10px; color: var(--muted); line-height: 1.5; }
.reason { display: flex; align-items: flex-start; gap: 5px; margin-top: 6px; font-size: 10.5px; line-height: 1.5; color: #626a75; }
.reason .icon { width: 11px; height: 11px; margin-top: 2px; color: #8a929d; }
.row-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; }
.contact-name { font-size: 10.5px; color: #5b6069; }
.direct-phone { display: flex; align-items: center; gap: 5px; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; color: #3c4149; }
.direct-phone .icon { width: 11px; height: 11px; color: #7a828d; }
.direct-label { font-size: 9px; color: #858b94; }
.row-chevron { width: 12px; height: 12px; color: #959ba4; }
.property-list:has(.property[open]) > .property:not([open]) { display: none; }
.property[open] { animation: none; }
.property[open] > summary { display: none; }
.property-detail { padding: 0 0 20px; animation: enter 350ms var(--ease) both; }
.deal-heading { display: flex; align-items: center; gap: 11px; padding: 18px 0 16px; }
.back-to-list { display: grid; place-items: center; width: 31px; height: 34px; padding: 0; border: 1px solid #e3e5e8; border-radius: 5px; background: #fff; color: #69717d; transition: background 160ms, border-color 160ms; }
.back-to-list:hover { background: var(--wash); border-color: #cdd1d7; }
.back-to-list .icon { width: 12px; height: 12px; transform: rotate(180deg); }
.deal-heading h3 { font-size: 14px; font-weight: 520; letter-spacing: -.3px; margin: 0 0 4px; }
.deal-heading > div > span { font-size: 10px; color: var(--muted); }
.deal-rank { margin-left: auto; font-size: 10px; color: #7b828c; font-variant-numeric: tabular-nums; }
.detail-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); }
.detail-tabs button { position: relative; flex: none; border: 0; border-radius: 0; padding: 0 0 11px; min-height: 36px; background: transparent; color: #7a818b; font-size: 11px; font-weight: 420; transition: color 160ms; }
.detail-tabs button:hover { color: var(--ink); }
.detail-tabs button[aria-selected=true] { color: var(--ink); font-weight: 500; }
.detail-tabs button[aria-selected=true]::after { content: ''; position: absolute; height: 1.5px; bottom: -1px; left: 0; right: 0; background: #42464e; }
.detail-panel { padding-top: 18px; animation: enter 200ms var(--ease) both; }
.parcel-view { position: relative; margin: 0 0 20px; aspect-ratio: 2.5 / 1; border-radius: 6px; overflow: hidden; background: #eff0f1; }
.parcel-view > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; animation: parcel-reveal 850ms var(--ease) both; }
.parcel-view::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #14181e66); pointer-events: none; }
.parcel-view figcaption, .parcel-size { position: absolute; z-index: 1; bottom: 12px; color: #fff; text-shadow: 0 1px 3px #0005; font-size: 9px; }
.parcel-view figcaption { left: 13px; }
.parcel-size { right: 13px; font-size: 10px; font-variant-numeric: tabular-nums; }
.deal-insight { display: flex; align-items: center; justify-content: space-between; }
.insight-label { color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: 1.05px; }
.deal-insight h4 { margin: 7px 0 5px; font-size: 14px; font-weight: 510; letter-spacing: -.25px; }
.deal-insight p { margin: 0; color: #666e79; font-size: 11px; line-height: 1.7; }
.insight-mark { display: none; }
.compact-facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin: 0; padding: 19px 0 14px; }
.compact-facts dt { color: var(--muted); font-size: 9.5px; line-height: 1.5; margin-bottom: 5px; }
.compact-facts dd { margin: 0; color: #414a58; font-size: 11px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.evidence > summary { display: flex; align-items: center; gap: 6px; min-height: 32px; font-size: 10px; color: var(--muted); }
.evidence > summary:hover { color: var(--ink); }
.evidence > summary .icon { width: 12px; height: 12px; }
.evidence > summary .icon:last-child { width: 10px; height: 10px; transition: transform 160ms; }
.evidence[open] > summary .icon:last-child { transform: rotate(90deg); }
.evidence-content { padding-top: 2px; color: #747e8d; font-size: 10px; line-height: 1.7; }
.evidence-content p { margin: 8px 0 0; }
.evidence-label { color: #5b6677; }

/* The same button proportions and neutral states throughout the workflow. */
.deal-actions { display: flex; align-items: center; gap: 12px; margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }
.primary-action, .secondary-action, .record-call { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: 5px; background: #fff; font-size: 11px; font-weight: 450; line-height: 1.5; letter-spacing: -.08px; white-space: nowrap; box-shadow: 0 1px 2px #171b2004; transition: background 160ms, border-color 160ms, box-shadow 160ms, transform 160ms; }
.primary-action { background: var(--ink); border-color: #202225; color: #fff; box-shadow: inset 0 1px 0 #ffffff15, 0 1px 2px #10131812; }
.primary-action:hover { background: #3b3e44; border-color: #303339; }
.secondary-action { margin-left: auto; color: #565f6e; border-color: #e0e3e7; }
.secondary-action:hover, .record-call:hover { background: #f9f9f9; border-color: #c6cbd3; color: #292f39; }
.primary-action:active, .secondary-action:active, .record-call:active { transform: translateY(.5px); }
.primary-action .icon, .secondary-action .icon, .record-call .icon { width: 13px; height: 13px; }
.primary-action .icon { color: #d0d2d6; }
.secondary-action .icon { width: 11px; height: 11px; color: var(--muted); }
.sequence-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; font-size: 11px; color: var(--body); }
.draft-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; font-weight: 400; white-space: nowrap; }
.draft-badge::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #a1a9b5; flex: none; }
.email-steps { display: flex; gap: 3px; padding: 3px; border: 1px solid #e7e9ec; border-radius: 6px; background: #f7f8f9; margin-bottom: 15px; }
.email-steps button { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 1; min-width: 0; min-height: 33px; padding: 5px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--muted); font-size: 10px; white-space: nowrap; transition: color 160ms, background 160ms, box-shadow 160ms; }
.email-steps button > span { font-size: 10px; font-variant-numeric: tabular-nums; }
.email-steps button:hover { color: var(--body); }
.email-steps button[aria-pressed=true] { color: var(--ink); background: #fff; border-color: #e3e6eb; box-shadow: 0 1px 2px #17233408; }
.email-card { padding: 18px 21px 21px; border: 1px solid #e2e5ea; border-radius: 6px; background: #fff; }
.email-to { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; padding-bottom: 13px; border-bottom: 1px solid #edf0f3; font-size: 11px; color: var(--body); }
.email-to > span { color: var(--muted); margin-right: 4px; }
.email-to small { font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.email-subject { margin: 17px 0 12px; font-size: 12px; font-weight: 520; letter-spacing: -.15px; color: var(--ink); }
.email-body { white-space: pre-line; color: var(--body); font-size: 11px; line-height: 1.8; margin: 0; }
.email-note { color: var(--muted); font-size: 9.5px; line-height: 1.6; margin: 12px 0 0; }

/* Recording and handoff share the document surface and tonal hierarchy. */
.call-contact { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; }
.contact-avatar { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #e3e6eb; background: #f7f8fa; color: var(--muted); border-radius: 5px; font-size: 10px; }
.call-contact > div { min-width: 0; }
.call-contact strong { display: block; color: var(--ink); font-size: 11px; font-weight: 500; }
.call-contact > div > span { display: block; color: var(--muted); font-size: 9px; line-height: 1.5; margin-top: 4px; }
.call-number { font-size: 11px; color: var(--body); font-variant-numeric: tabular-nums; margin-left: auto; white-space: nowrap; }
.recorder { display: flex; flex-direction: column; align-items: center; padding: 17px; border: 1px solid #e3e7ec; border-radius: 6px; background: #fafbfc; }
.waveform { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 45px; overflow: hidden; }
.waveform i { display: block; height: var(--bar); width: 2px; flex: 0 0 2px; border-radius: 2px; background: #a7afbb; transform-origin: center; }
.recorder[data-state=recording] .waveform i { background: #6d7a8d; animation: wave 850ms ease-in-out var(--delay) infinite alternate; }
.recording-status { color: var(--muted); font-size: 10px; margin-top: 8px; }
.record-call { margin-top: 15px; min-height: 34px; font-size: 10px; padding: 7px 11px; color: var(--body); border-color: #dfe5ec; }
.recorder[data-state=saved] { flex-direction: row; gap: 12px; padding: 11px 13px; }
.recorder[data-state=saved] .waveform { width: 90px; height: 28px; gap: 2px; }
.recorder[data-state=saved] .waveform i { max-height: 24px; }
.recorder[data-state=saved] .recording-status { margin: 0 auto 0 0; }
.recorder[data-state=saved] .record-call { margin: 0; padding: 6px 9px; min-height: 29px; font-size: 9px; }
.call-result { padding-top: 16px; animation: enter 250ms var(--ease) both; }
.call-saved { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.call-saved .icon { width: 12px; height: 12px; }
.call-result h3 { color: var(--ink); font-size: 11px; font-weight: 500; margin: 17px 0 8px; }
.call-result > p { color: var(--body); font-size: 11px; line-height: 1.75; margin: 0; }
.next-action { padding: 13px 14px; margin-top: 16px; border: 1px solid #e7ebf1; border-left-color: #b8c2d0; border-radius: 0 4px 4px 0; background: #fafbfc; }
.next-action > span { color: var(--muted); font-size: 9px; }
.next-action p { margin: 5px 0 0; color: var(--body); font-size: 10px; line-height: 1.7; }
.transcript { margin-top: 9px; }
.transcript > summary { display: flex; align-items: center; gap: 6px; min-height: 32px; color: var(--muted); font-size: 10px; }
.transcript > summary .icon { width: 11px; height: 11px; transition: transform 160ms; }
.transcript[open] > summary .icon { transform: rotate(90deg); }
.transcript p { color: var(--body); font-size: 10px; line-height: 1.8; }
.transcript strong { font-weight: 500; color: var(--ink); }
.underwriting-receipt { display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid #dfe5ed; border-radius: 6px; background: #fafbfc; margin-top: 17px; animation: enter 300ms var(--ease) both; }
.receipt-check { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #dce3ec; background: #fff; border-radius: 50%; color: var(--body); flex: none; }
.receipt-check .icon { width: 13px; height: 13px; }
.underwriting-receipt > div { flex: 1; min-width: 0; }
.underwriting-receipt strong { display: block; color: var(--ink); font-size: 11px; font-weight: 500; }
.receipt-detail { display: block; margin-top: 4px; color: var(--muted); font-size: 9.5px; line-height: 1.65; }
.underwriting-receipt .draft-badge { font-size: 8px; }

.results-footer { display: flex; align-items: center; gap: 10px; min-height: 49px; font-size: 10px; color: #969ca5; }
.tour-toggle, .replay { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 0; background: none; border: 0; color: var(--muted); font-size: 10px; transition: color 160ms; }
.tour-toggle:hover, .replay:hover { color: var(--ink); }
.replay { margin-left: auto; }
.replay .icon { width: 12px; height: 12px; }
.tour-dot { width: 4px; height: 4px; background: #8795a9; border-radius: 50%; }
.demo[data-touring=true] .tour-dot { animation: blink 1.5s ease infinite; }
.demo[data-touring=true] #tour-caption, .tour-toggle:not([hidden]) + #tour-caption { display: none; }
.no-script { font-size: 11px; line-height: 1.6; color: var(--muted); }
.demo-cursor { position: absolute; pointer-events: none; z-index: 10; top: 0; left: 0; width: 25px; height: 31px; opacity: 0; filter: drop-shadow(0 2px 3px #0f172a26); transition: transform 640ms cubic-bezier(.24,.73,.29,1), opacity 180ms; }
.demo-cursor:not(.is-visible) { display: none; }
.demo-cursor.is-visible { opacity: 1; }
.demo-cursor svg { position: relative; z-index: 1; transition: transform 120ms; transform-origin: 3px 2px; }
.demo-cursor.is-clicking svg { transform: scale(.87); }
.demo-cursor i { position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border: 1px solid #a3adbb; border-radius: 50%; opacity: 0; }
.demo-cursor.is-clicking i { animation: click-ring 480ms ease-out; }

@keyframes enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes row-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes parcel-reveal { from { transform: scale(1.035); opacity: .75; } to { transform: scale(1); opacity: 1; } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes wave { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
@keyframes click-ring { from { transform: scale(.3); opacity: .55; } to { transform: scale(1.7); opacity: 0; } }

@media (max-width: 560px) {
  .preview { padding: 34px 17px 28px; }
  .brand { margin-bottom: 21px; font-size: 12px; }
  .intro { margin-bottom: 27px; }
  .intro h1 { font-size: clamp(25px, 6vw, 31px); letter-spacing: -1.15px; }
  .lede { font-size: 11px; margin-top: 14px; }
  .composer { padding: 14px 10px 14px 14px; gap: 10px; }
  .query-main { font-size: 13px; letter-spacing: -.16px; }
  .query-followup { font-size: 10px; margin-top: 5px; }
  .run { flex-direction: column-reverse; gap: 5px; min-width: 55px; font-size: 9px; }
  .run-arrow { width: 30px; height: 30px; }
  .meta { font-size: 9px; margin-top: 11px; gap: 8px; }
  .connection { font-size: 9px; gap: 5px; }
  .connection-type { font-size: 7px; }
  .results { padding: 19px 15px 0; }
  .results-header h2 { font-size: 16px; }
  .result-count { font-size: 9px; }
  .results-intro { margin-bottom: 16px; font-size: 9px; }
  .property > summary { display: grid; grid-template-columns: 12px 48px minmax(0,1fr) 10px; column-gap: 9px; row-gap: 9px; padding: 18px 0; }
  .rank { grid-column: 1; grid-row: 1; align-self: start; padding-top: 3px; font-size: 9px; }
  .property-glyph { grid-column: 2; grid-row: 1; align-self: start; width: 48px; height: 42px; }
  .property-copy { grid-column: 3; grid-row: 1; }
  .property-name { font-size: 12px; }
  .property-meta { font-size: 9px; }
  .reason { font-size: 9.5px; gap: 4px; margin-top: 5px; }
  .reason .icon { width: 10px; height: 10px; }
  .row-contact { grid-column: 3; grid-row: 2; align-items: flex-start; gap: 3px; }
  .contact-name { font-size: 9px; }
  .direct-phone { font-size: 10px; }
  .direct-label { display: none; }
  .row-chevron { grid-column: 4; grid-row: 1 / span 2; width: 10px; }
  .deal-heading { gap: 10px; padding-block: 15px; }
  .deal-heading h3 { font-size: 13px; }
  .deal-heading > div > span { font-size: 9px; }
  .deal-rank { font-size: 9px; }
  .detail-tabs { gap: 23px; }
  .detail-tabs button { font-size: 10px; min-height: 38px; padding-bottom: 10px; }
  .detail-panel { padding-top: 16px; }
  .parcel-view { aspect-ratio: 1.85 / 1; margin-bottom: 18px; }
  .parcel-view figcaption, .parcel-size { bottom: 10px; font-size: 9px; }
  .deal-insight h4 { font-size: 13px; }
  .deal-insight p { font-size: 10.5px; }
  .compact-facts { grid-template-columns: 1fr 1fr; gap: 15px; padding-block: 17px 12px; }
  .compact-facts > div:last-child { display: none; }
  .compact-facts dt { font-size: 9px; }
  .compact-facts dd { font-size: 10.5px; }
  .deal-actions { gap: 9px; margin-top: 15px; padding-top: 15px; }
  .primary-action, .secondary-action { min-height: 40px; padding: 9px 11px; font-size: 10px; }
  .sequence-heading { font-size: 10px; }
  .draft-badge { font-size: 8px; }
  .email-steps { gap: 2px; }
  .email-steps button { flex-direction: column; gap: 2px; min-height: 42px; font-size: 9px; padding-inline: 2px; }
  .email-card { padding: 15px 15px 18px; }
  .email-to { font-size: 10px; }
  .email-to small { font-size: 9px; flex-basis: 100%; }
  .email-body { font-size: 11px; line-height: 1.75; }
  .call-contact { gap: 8px; flex-wrap: wrap; }
  .call-contact strong { font-size: 10px; }
  .call-number { font-size: 10px; }
  .contact-avatar { width: 30px; height: 30px; }
  .waveform { gap: 3px; }
  .recorder[data-state=saved] { flex-wrap: wrap; }
  .recorder[data-state=saved] .waveform { width: 68px; }
  .recording-status { font-size: 9px; }
  .underwriting-receipt { padding: 12px; gap: 9px; }
  .underwriting-receipt .draft-badge { display: none; }
  #tour-caption { display: none; }
  .tour-toggle, .replay { font-size: 9px; min-height: 44px; }
}
@media (max-width: 430px) {
  .deal-actions { display: grid; grid-template-columns: 1fr; }
  .primary-action, .secondary-action { width: 100%; min-height: 42px; font-size: 11px; margin: 0; }
}
@media (max-width: 350px) {
  .preview { padding-inline: 14px; }
  .intro h1 { font-size: 24px; }
  .results { padding-inline: 13px; }
  .connection-type { display: none; }
  .deal-rank { display: none; }
  .call-number { flex-basis: 100%; margin-left: 38px; }
  .detail-tabs { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .caret, .demo-cursor { display: none !important; }
}

/* Embeddable stage: every workflow view occupies the same frame. */
html { scrollbar-gutter: auto; }
.preview { display: grid; place-items: center; min-height: 100svh; max-width: none; margin: 0; padding: 16px; }
.demo { display: flex; flex-direction: column; width: min(100%, 760px); max-width: 760px; height: min(650px, calc(100svh - 32px)); min-height: 540px; border: 1px solid #e1e3e6; border-radius: 11px; background: #fff; box-shadow: 0 2px 5px #15191f04, 0 12px 40px #15191f03; }
.demo-toolbar { display: flex; justify-content: space-between; align-items: center; flex: 0 0 42px; padding: 0 20px; border-bottom: 1px solid #f0f1f3; }
.demo-toolbar .connection { font-size: 11px; color: #424950; gap: 7px; }
.demo-toolbar .connection-type { font-size: 8px; }
.demo-disclosure { color: var(--muted); font-size: 9px; }
.composer { flex: none; min-height: 81px; margin: 0; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; animation: none; }
.composer:focus-within { border-color: #d9dde3; box-shadow: none; }
.query-main { font-size: 15px; }
.query-followup { font-size: 11px; }
.response { position: relative; flex: 1; min-height: 0; }
.empty-state { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; padding: 20px; color: #a2a9b3; text-align: center; }
.empty-state > .icon { width: 24px; height: 24px; stroke-width: 1; color: #adb4be; margin-bottom: 12px; }
.empty-state p { font-size: 13px; color: #68717e; margin: 0 0 8px; }
.empty-state > span { font-size: 10px; color: #8a939f; }
.activity { position: absolute; inset: 0; justify-content: center; margin: 0; padding: 20px; }
.results { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 19px 20px 0; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.results-header, .results-intro, .results-footer { flex: none; }
.results-header h2 { font-size: 16px; }
.results-intro { margin: 5px 0 12px; }
.property-list { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.property { flex: none; }
.property > summary { padding-block: 16px; min-height: 0; }
.results:has(.property[open]) > .results-header, .results:has(.property[open]) > .results-intro { display: none; }
.property-list:has(.property[open]) { display: block; border-top: 0; }
.property[open] { height: 100%; border: 0; }
.property[open]::details-content { height: 100%; }
.property-detail { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; height: 100%; padding: 0 0 10px; }
.deal-heading { padding: 0 0 12px; }
.deal-heading h3 { font-size: 14px; }
.detail-tabs { gap: 25px; }
.detail-tabs button { min-height: 32px; padding-bottom: 9px; }
.detail-panel { position: relative; grid-row: 3; min-height: 0; padding-top: 14px; }
.detail-panel[id$="-brief"] { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto auto; gap: 0 22px; align-items: center; align-content: center; }
.parcel-view { grid-column: 1; grid-row: 1 / -1; width: 100%; height: auto; aspect-ratio: 1.6; margin: 0; align-self: center; }
.deal-insight { grid-column: 2; align-self: end; }
.deal-insight h4 { font-size: 14px; line-height: 1.5; margin: 6px 0 4px; }
.deal-insight p { font-size: 11px; line-height: 1.65; }
.compact-facts { grid-column: 2; grid-template-columns: 1fr 1fr; padding: 15px 0 6px; gap: 12px; }
.compact-facts > div:last-child { display: none; }
.evidence { grid-column: 2; align-self: start; }
.evidence > summary { min-height: 30px; }
.evidence[open], .transcript[open] { position: absolute; z-index: 3; inset: 12px 0 0; height: calc(100% - 12px); grid-area: auto; align-self: stretch; margin: 0; border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; background: #fff; }
.evidence[open] > summary::after, .transcript[open] > summary::after { content: 'Close'; margin-left: auto; color: var(--ink); font-size: 10px; }
.evidence-content { font-size: 11px; line-height: 1.7; }
.deal-actions { grid-row: 4; margin-top: 12px; padding-top: 12px; }
.underwriting-receipt { grid-row: 4; padding: 10px 12px; margin-top: 12px; }
.receipt-detail { font-size: 9px; margin-top: 2px; }
.send-underwriting { margin-left: 0; color: #fff; background: var(--ink); border-color: #202225; box-shadow: inset 0 1px 0 #ffffff15, 0 1px 2px #10131812; }
.send-underwriting .icon { color: #d0d2d6; }
.send-underwriting:hover { color: #fff; background: #3b3e44; border-color: #303339; }
.detail-panel[id$="-emails"] { display: flex; flex-direction: column; }
.sequence-heading { font-size: 11px; margin-bottom: 9px; }
.email-steps { margin-bottom: 10px; flex: none; }
.email-steps button { min-height: 29px; }
.email-card { flex: 1; min-height: 0; padding: 12px 15px; }
.email-to { padding-bottom: 8px; }
.email-subject { font-size: 11px; margin: 9px 0 7px; }
.email-body { font-size: 11px; line-height: 1.6; white-space: normal; }
.email-body > span { display: block; margin-top: 6px; }
.email-body > span:first-child { margin-top: 0; }
.detail-panel[id$="-emails"] > .email-note { display: none; }
.call-contact { margin-bottom: 10px; }
.recorder { padding: 12px; }
.record-call { margin-top: 8px; }
.waveform { height: 35px; }
.recorder[data-state=saved] { padding: 8px 11px; }
.call-result { padding-top: 10px; }
.call-saved { font-size: 9px; }
.call-result h3 { margin: 10px 0 5px; }
.call-result > p { font-size: 11px; line-height: 1.6; }
.next-action { padding: 8px 11px; margin-top: 10px; }
.next-action p { margin-top: 3px; line-height: 1.55; }
.transcript { margin-top: 4px; }
.transcript > summary { min-height: 26px; }
.transcript p { font-size: 11px; line-height: 1.8; }
.detail-panel[id$="-call"] > .email-note { font-size: 9px; margin-top: 3px; }
.results-footer { min-height: 34px; border-top: 1px solid var(--line); }
.tour-toggle, .replay { min-height: 34px; padding-block: 6px; }
.no-script { display: none; }
@media (max-width: 600px) {
  .preview { padding: 12px; }
  .demo { height: min(650px, calc(100svh - 24px)); }
  .demo-toolbar { flex-basis: 37px; padding-inline: 14px; }
  .demo-toolbar .connection { font-size: 10px; }
  .demo-disclosure { font-size: 8px; }
  .composer { padding: 12px 13px; gap: 12px; }
  .query-main { font-size: 13px; line-height: 1.5; }
  .query-followup { font-size: 10px; line-height: 1.6; margin-top: 4px; }
  .results { padding: 14px 14px 0; }
  .property > summary { padding-block: 13px; }
  .detail-panel { padding-top: 11px; }
  .detail-panel[id$="-brief"] { grid-template-columns: 1fr; grid-template-rows: minmax(65px, 1fr) auto auto auto; gap: 0; }
  .parcel-view { grid-column: 1; grid-row: 1; height: 100%; aspect-ratio: auto; width: 100%; }
  .deal-insight { grid-column: 1; padding-top: 10px; }
  .deal-insight h4 { font-size: 13px; margin: 4px 0 3px; line-height: 1.4; }
  .deal-insight p { font-size: 10px; line-height: 1.5; }
  .insight-label { font-size: 8px; }
  .compact-facts { grid-column: 1; padding: 10px 0 3px; gap: 14px; }
  .compact-facts dt { font-size: 9px; margin-bottom: 3px; }
  .compact-facts dd { font-size: 10px; }
  .evidence { grid-column: 1; }
  .evidence > summary { font-size: 9px; min-height: 25px; }
  .evidence[open], .transcript[open] { padding: 11px 13px; }
  .deal-heading { padding-bottom: 10px; }
  .deal-heading h3 { font-size: 13px; }
  .detail-tabs button { min-height: 30px; padding-bottom: 8px; }
  .deal-actions { padding-top: 10px; margin-top: 10px; }
  .primary-action, .secondary-action { min-height: 37px; padding-block: 8px; }
  .email-steps { padding: 2px; margin-bottom: 8px; }
  .email-steps button { min-height: 34px; font-size: 9px; }
  .sequence-heading { font-size: 10px; margin-bottom: 8px; }
  .email-card { padding: 10px 12px; }
  .email-to { font-size: 10px; padding-bottom: 6px; }
  .email-to small { display: none; }
  .email-subject { margin: 8px 0 6px; }
  .email-body { font-size: 10.5px; line-height: 1.55; }
  .email-body > span { margin-top: 5px; }
  .call-contact { margin-bottom: 9px; }
  .call-number { font-size: 10px; }
  .recorder[data-state=saved] .waveform { width: 50px; }
  .recorder[data-state=saved] { gap: 7px; }
  .recording-status { font-size: 9px; }
  .call-result > p { font-size: 10.5px; }
  .underwriting-receipt { padding: 9px 10px; margin-top: 10px; }
  .results-footer, .tour-toggle, .replay { min-height: 31px; }
}
@media (max-width: 350px) {
  .preview { padding: 10px; }
  .demo { height: min(650px, calc(100svh - 20px)); }
  .results { padding-inline: 12px; }
  .composer { padding: 11px 12px; gap: 9px; }
  .query-main { font-size: 12px; }
  .query-followup { font-size: 9.5px; }
  .run { min-width: 48px; font-size: 8px; }
  .call-number { flex-basis: auto; margin-left: auto; font-size: 9px; }
  .call-contact strong { font-size: 10px; }
  .contact-avatar { display: none; }
}

/* Conversation and platform: the request and its effects are separate surfaces. */
.demo { --chat-width: clamp(280px, 30vw, 340px); display: grid; grid-template-columns: var(--chat-width) minmax(0, 1fr); gap: 28px; width: min(100%, 1100px); max-width: 1100px; height: min(640px, calc(100svh - 32px)); min-height: 540px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.chat-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; border: 1px solid #e0e3e7; border-radius: 11px; background: #fff; box-shadow: 0 2px 4px #17233403; }
.chat-header { display: flex; align-items: center; gap: 9px; height: 47px; flex: none; padding: 0 18px; border-bottom: 1px solid #eceef1; }
.assistant-avatar { display: inline-grid; place-items: center; width: 20px; height: 22px; color: #343b45; font-size: 18px; font-family: Georgia, serif; flex: none; }
.chat-header strong { font-size: 12px; font-weight: 500; letter-spacing: -.1px; }
.chat-tag { margin-left: auto; font-size: 9px; color: #8b939f; }
.chat-conversation { flex: 1; min-height: 0; padding: 22px 18px 12px; }
.chat-welcome { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 0 3px 20px; }
.chat-welcome > span { font-size: 8px; letter-spacing: 1.1px; color: #8f98a6; }
.chat-welcome h1 { font-size: 23px; line-height: 1.3; font-weight: 470; letter-spacing: -.8px; margin: 14px 0 12px; }
.chat-welcome p { font-size: 11px; line-height: 1.8; color: #7c8695; margin: 0; }
.speaker { display: block; font-size: 9px; color: #8a929e; margin-bottom: 6px; }
.chat-user { margin: 0 0 20px 20px; }
.chat-user > .speaker { text-align: right; margin-right: 3px; }
.chat-user p { margin: 0; border: 1px solid #eff0f2; padding: 11px 13px; border-radius: 10px 10px 2px 10px; background: #f6f7f8; font-size: 12px; line-height: 1.7; color: #4b5462; }
.chat-assistant { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 17px; }
.chat-assistant > div { min-width: 0; flex: 1; }
.chat-assistant .speaker { margin-top: 3px; margin-bottom: 5px; color: #636d7b; }
.chat-assistant p { color: #5b6575; font-size: 12px; line-height: 1.7; margin: 0; }
.connector-card { border: 1px solid #e7eaee; border-radius: 7px; padding: 12px; margin-left: 28px; }
.connector-heading { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #576274; }
.connector-heading img { filter: grayscale(1) brightness(0); }
.connector-heading small { margin-left: auto; font-size: 8px; color: #8d96a5; }
.connector-steps { list-style: none; margin: 10px 0 0; padding: 0; }
.connector-steps li { display: flex; align-items: center; gap: 7px; min-height: 29px; font-size: 10px; color: #a1a9b5; }
.tool-mark { width: 5px; height: 5px; border-radius: 50%; border: 1px solid #c6ccd5; flex: none; margin-left: 2px; }
.connector-steps li > .icon { margin-left: auto; width: 11px; height: 11px; opacity: 0; }
.connector-steps li[data-state=done] { color: #6a788e; }
.connector-steps li[data-state=done] .tool-mark { background: #a1acbc; border-color: #a1acbc; }
.connector-steps li[data-state=done] > .icon { opacity: 1; color: #8a9ab1; }
.connector-steps li[data-state=running] { color: #3e4b60; }
.connector-steps li[data-state=running] .tool-mark { width: 9px; height: 9px; margin-left: 0; margin-right: -2px; border-color: #dce2ea; border-top-color: #7589a4; animation: spin 800ms linear infinite; }
.chat-panel .activity { position: static; justify-content: flex-start; padding: 0; margin: 14px 0 0 28px; font-size: 9px; color: #96a1b2; line-height: 1.6; }
.chat-panel .activity-glyph { display: none; }
.chat-panel .composer { flex: none; display: flex; flex-direction: column; align-items: stretch; margin: 0 14px 10px; padding: 12px 12px 9px; min-height: 0; border: 1px solid #dfe3e8; border-radius: 9px; box-shadow: 0 1px 3px #1a253307; gap: 9px; }
.chat-panel .query-main, .chat-panel .query-followup { display: inline; font-size: 12px; line-height: 1.65; font-weight: 400; color: #536071; letter-spacing: -.08px; margin: 0; }
.chat-panel .query-followup::before { content: ' '; }
.chat-panel .run { align-self: flex-end; flex-direction: row; gap: 8px; min-height: 28px; min-width: 0; font-size: 9px; }
.chat-panel .run-arrow { width: 27px; height: 27px; border-radius: 5px; }
.chat-panel .run-arrow .icon { width: 14px; height: 14px; }
.chat-composer-idle { display: flex; align-items: center; justify-content: space-between; flex: none; margin: 0 14px 10px; padding: 10px 11px; border: 1px solid #e7eaef; border-radius: 8px; color: #a1abba; font-size: 10px; }
.idle-send { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 5px; background: #f4f6f8; color: #a6b0bf; font-size: 14px; }
.connector-bridge { position: absolute; z-index: 2; left: calc(var(--chat-width) + 1px); top: 46%; width: 26px; display: flex; align-items: center; flex-direction: column; gap: 3px; pointer-events: none; color: #8998ad; }
.connector-bridge > span { font-size: 7px; letter-spacing: .5px; }
.connector-bridge > i { width: 26px; height: 1px; background: #e3e7ec; }
.connector-bridge > b { font-size: 13px; font-weight: 400; line-height: 1; position: absolute; top: 7px; right: -1px; }
.demo:has(.platform-window.is-triggered) .connector-bridge > i { background: linear-gradient(90deg,#e3e7ec,#8599b5,#e3e7ec); background-size: 200% 100%; animation: connection-pass 650ms linear infinite; }
.platform-window { display: flex; flex-direction: column; min-width: 0; min-height: 0; border: 1px solid #dfe4eb; border-radius: 11px; background: #fff; box-shadow: 0 3px 8px #17233403, 0 18px 40px #17233404; transition: border-color 250ms, box-shadow 250ms; }
.platform-window.is-triggered { border-color: #b9c6d8; box-shadow: 0 0 0 2px #eef2f7, 0 12px 32px #17233406; }
.platform-header { display: flex; align-items: center; gap: 8px; flex: 0 0 42px; padding: 0 16px; border-bottom: 1px solid #edf0f4; background: #fafbfc; border-radius: 11px 11px 0 0; }
.platform-header img { filter: grayscale(1) brightness(0); }
.platform-header > span { color: #7e8b9e; font-size: 10px; }
.platform-header > small { margin-left: auto; font-size: 8px; color: #9aa6b6; }
.platform-nav { display: flex; align-items: stretch; gap: 23px; flex: 0 0 35px; padding: 0 17px; border-bottom: 1px solid #eceff3; }
.platform-nav > span { display: inline-flex; align-items: center; position: relative; font-size: 10px; color: #a0aab8; transition: color 200ms; }
.platform-nav > span.is-active { color: #596b84; }
.platform-nav > span.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: #8c9db5; }
.platform-window .response { width: 100%; }
.platform-window .results { padding: 17px 17px 0; }
.platform-window .results-header h2 { font-size: 15px; }
.platform-window .results-intro { font-size: 9px; }
.platform-window .property > summary { gap: 11px; }
.platform-window .property-glyph { width: 54px; height: 45px; }
.platform-window .property-name { font-size: 12px; }
.platform-window .property-meta { font-size: 9px; }
.platform-window .reason { font-size: 9px; }
.platform-window .row-contact { gap: 4px; }
.platform-window .contact-name { font-size: 9px; }
.platform-window .direct-phone { font-size: 10px; }
.platform-window .direct-label { font-size: 8px; }
.platform-window .deal-heading h3 { font-size: 13px; }
.platform-window .deal-insight h4 { font-size: 13px; }
.platform-window .deal-insight p { font-size: 10px; }
.platform-window .compact-facts { gap: 9px; }
.platform-window .compact-facts dd { font-size: 10px; }
.platform-window .empty-state p { font-size: 12px; color: #8a98ab; }
.platform-window .empty-state > span { color: #a4afbf; font-size: 10px; }
.trigger-target { box-shadow: 0 0 0 2px #dbe3ef !important; transition: box-shadow 180ms; }
.handoff-preview { display: none; }
.property[data-view=underwriting] .detail-tabs, .property[data-view=underwriting] .detail-panel, .property[data-view=underwriting] .deal-actions { display: none !important; }
.property[data-view=underwriting] .underwriting-receipt { grid-row: 2 / -1; display: flex; flex-direction: column; justify-content: center; align-items: center; background: none; border: 0; padding: 12px 18px; margin: 0; }
.property[data-view=underwriting] .underwriting-receipt > .receipt-check, .property[data-view=underwriting] .underwriting-receipt > .draft-badge, .property[data-view=underwriting] .underwriting-receipt > div:not(.handoff-preview) { display: none; }
.property[data-view=underwriting] .handoff-preview { display: block; flex: none; width: 100%; max-width: 370px; }
.queue-heading { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: 1.1px; color: #8c9ab0; margin-bottom: 13px; }
.queue-heading b { font-weight: 400; font-size: 9px; letter-spacing: 0; color: #a1adbe; }
.queue-deal { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid #dce4ef; border-radius: 7px 7px 0 0; background: #fff; box-shadow: 0 3px 7px #17233404; animation: queue-arrive 450ms var(--ease) both; }
.queue-deal img { object-fit: cover; width: 58px; height: 46px; border-radius: 4px; }
.queue-deal > div { flex: 1; }
.queue-deal strong { font-size: 12px; color: #526780; font-weight: 500; }
.queue-deal > div > span { display: block; color: #99a7ba; font-size: 9px; line-height: 1.6; margin-top: 4px; }
.queue-deal > .icon { color: #9eacc0; width: 14px; }
.handoff-files { padding: 12px 14px; border: 1px solid #dce4ef; border-top: 0; border-radius: 0 0 7px 7px; background: #fafcfe; }
.handoff-files > span { display: flex; align-items: center; gap: 8px; color: #8c9db4; font-size: 10px; min-height: 24px; }
.handoff-files > span::before { content: '✓'; font-size: 10px; color: #92a6c1; }
.queue-placeholder { height: 39px; border: 1px dashed #e4eaf2; background: #fcfdfe; border-radius: 6px; margin-top: 12px; }
@keyframes connection-pass { to { background-position: -200% 0; } }
@keyframes queue-arrive { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 820px) {
  .preview { padding: 12px; }
  .demo { grid-template-columns: 1fr; grid-template-rows: 196px minmax(0,1fr); gap: 12px; width: min(100%, 600px); height: min(740px, calc(100svh - 24px)); min-height: 560px; }
  .connector-bridge { display: none; }
  .chat-header { height: 31px; padding-inline: 13px; gap: 7px; }
  .chat-header strong { font-size: 10px; }
  .chat-header .assistant-avatar { width: 15px; height: 19px; font-size: 15px; }
  .chat-tag { font-size: 8px; }
  .chat-conversation { padding: 10px 13px 4px; }
  .chat-welcome { height: auto; padding: 0; }
  .chat-welcome > span, .chat-welcome p { display: none; }
  .chat-welcome h1 { margin: 0; font-size: 14px; letter-spacing: -.3px; }
  .chat-panel .composer { margin: 0 12px 11px; padding: 8px 10px; gap: 5px; }
  .chat-panel .query-main, .chat-panel .query-followup { font-size: 10.5px; line-height: 1.6; }
  .chat-panel .run { min-height: 23px; font-size: 8px; }
  .chat-panel .run-arrow { width: 23px; height: 23px; }
  .chat-user { margin: 0 0 6px 25px; }
  .chat-user > .speaker, .chat-assistant .speaker { display: none; }
  .chat-user p { font-size: 10px; line-height: 1.5; padding: 7px 9px; border-radius: 7px 7px 2px 7px; }
  .chat-assistant { gap: 7px; margin: 0 0 3px; }
  .chat-assistant .assistant-avatar { width: 15px; height: 17px; font-size: 14px; }
  .chat-assistant p { font-size: 10px; line-height: 1.5; }
  .connector-card { margin-left: 22px; border: 0; padding: 0; }
  .connector-heading { display: none; }
  .connector-steps { margin: 0; }
  .connector-steps li { display: none; min-height: 19px; font-size: 9px; }
  .connector-card[data-active-step="1"] [data-step="1"], .connector-card[data-active-step="2"] [data-step="2"], .connector-card[data-active-step="3"] [data-step="3"], .connector-card[data-active-step="4"] [data-step="4"] { display: flex; }
  .connector-steps li > .icon { margin-left: 3px; }
  .chat-panel .activity { margin: 2px 0 0 22px; font-size: 8px; }
  .chat-panel .activity #activity-message { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .chat-composer-idle { min-height: 24px; margin: 0 12px 8px; padding: 4px 8px; font-size: 9px; border-radius: 5px; }
  .idle-send { width: 16px; height: 16px; font-size: 11px; background: none; }
  .platform-header { flex-basis: 32px; padding-inline: 13px; }
  .platform-header > span { font-size: 9px; }
  .platform-header > small { font-size: 7px; }
  .platform-header img { width: 12px; height: 12px; }
  .platform-nav { flex-basis: 29px; gap: 24px; padding-inline: 13px; }
  .platform-nav > span { font-size: 9px; }
  .platform-window .results { padding: 12px 13px 0; }
  .platform-window .deal-heading { padding-bottom: 7px; }
  .platform-window .deal-heading h3 { font-size: 12px; }
  .platform-window .back-to-list { width: 26px; height: 28px; }
  .platform-window .detail-tabs { gap: 22px; }
  .platform-window .detail-tabs button { font-size: 9px; min-height: 26px; padding-bottom: 7px; }
  .platform-window .detail-panel { padding-top: 9px; }
  .platform-window .detail-panel[id$="-brief"] { grid-template-columns: 1.05fr 1fr; grid-template-rows: auto auto auto; gap: 0 14px; align-content: center; }
  .platform-window .parcel-view { grid-column: 1; grid-row: 1 / -1; height: auto; aspect-ratio: 1.25; }
  .platform-window .deal-insight { grid-column: 2; padding: 0; }
  .platform-window .deal-insight h4 { font-size: 11px; line-height: 1.4; }
  .platform-window .deal-insight p { font-size: 9px; line-height: 1.55; }
  .platform-window .compact-facts { grid-column: 2; grid-template-columns: 1fr; padding: 8px 0 3px; gap: 6px; }
  .platform-window .compact-facts dt { font-size: 8px; margin-bottom: 1px; }
  .platform-window .compact-facts dd { font-size: 9px; }
  .platform-window .evidence { grid-column: 2; }
  .platform-window .evidence > summary { font-size: 8px; min-height: 22px; gap: 3px; }
  .platform-window .evidence > summary .icon { width: 9px; height: 9px; }
  .platform-window .parcel-view figcaption { display: none; }
  .platform-window .parcel-size { font-size: 8px; right: 8px; bottom: 8px; }
  .platform-window .deal-actions { margin-top: 8px; padding-top: 8px; }
  .platform-window .primary-action, .platform-window .secondary-action { min-height: 33px; padding: 7px 10px; font-size: 10px; }
  .platform-window .sequence-heading { margin-bottom: 6px; font-size: 9px; }
  .platform-window .email-steps { padding: 2px; margin-bottom: 7px; }
  .platform-window .email-steps button { flex-direction: row; min-height: 26px; font-size: 8px; gap: 4px; }
  .platform-window .email-steps button > span { display: none; }
  .platform-window .email-card { padding: 8px 11px; }
  .platform-window .email-to { padding-bottom: 5px; font-size: 9px; }
  .platform-window .email-subject { margin: 6px 0 5px; font-size: 10px; }
  .platform-window .email-body { font-size: 10px; line-height: 1.5; }
  .platform-window .email-body > span { margin-top: 4px; }
  .platform-window .call-contact { margin-bottom: 7px; }
  .platform-window .recorder[data-state=saved] { padding: 6px 9px; }
  .platform-window .recorder[data-state=saved] .waveform { height: 23px; }
  .platform-window .record-call { min-height: 26px; padding: 5px 8px; font-size: 8px; }
  .platform-window .call-result { padding-top: 8px; }
  .platform-window .call-result h3 { display: none; }
  .platform-window .call-saved { font-size: 8px; margin-bottom: 5px; }
  .platform-window .call-result > p { font-size: 10px; line-height: 1.5; }
  .platform-window .next-action { margin-top: 7px; padding: 6px 9px; }
  .platform-window .next-action p { font-size: 9px; line-height: 1.5; margin-top: 2px; }
  .platform-window .transcript > summary { min-height: 22px; font-size: 9px; }
  .platform-window .detail-panel[id$="-call"] > .email-note { font-size: 8px; }
  .platform-window .results-footer, .platform-window .tour-toggle, .platform-window .replay { min-height: 28px; font-size: 8px; }
  .platform-window .property-detail { padding-bottom: 7px; }
  .property[data-view=underwriting] .underwriting-receipt { padding: 10px; }
}
@media (max-width: 430px) {
  .demo { grid-template-rows: 196px minmax(0,1fr); }
  .platform-header > small { display: none; }
  .platform-window .property > summary { grid-template-columns: 11px 43px minmax(0,1fr) 9px; column-gap: 8px; row-gap: 5px; padding-block: 10px; }
  .platform-window .property-glyph { width: 43px; height: 38px; }
  .platform-window .property-name { font-size: 11px; }
  .platform-window .reason { font-size: 8.5px; }
  .platform-window .property-meta { font-size: 8px; }
  .platform-window .direct-phone { font-size: 9px; }
  .platform-window .contact-name { display: none; }
  .platform-window .primary-action, .platform-window .secondary-action { min-height: 33px; }
  .platform-window .queue-deal { padding: 11px; gap: 9px; }
  .queue-deal img { width: 49px; height: 40px; }
  .queue-deal strong { font-size: 11px; }
  .queue-deal > .icon { display: none; }
  .queue-placeholder { height: 26px; }
}
@media (max-height: 700px) and (max-width: 820px) {
  .demo { grid-template-rows: 174px minmax(0,1fr); gap: 10px; }
  .chat-header { height: 28px; }
  .chat-conversation { padding-top: 7px; }
  .chat-user p { font-size: 9px; line-height: 1.45; padding: 6px 8px; }
  .chat-assistant p { font-size: 9px; line-height: 1.45; }
  .chat-user { margin-bottom: 4px; }
  .chat-composer-idle { margin-bottom: 6px; min-height: 22px; }
  .platform-window .sequence-heading { display: none; }
  .platform-window .email-body { font-size: 9.5px; }
  .platform-window .email-card { padding: 7px 9px; }
  .platform-window .email-body > span { margin-top: 3px; }
  .platform-window .email-subject { margin: 5px 0 4px; }
}

@media (max-height: 700px) and (max-width: 820px) {
  .platform-header { height: 28px; flex-basis: 28px; }
  .platform-nav { min-height: 25px; height: 25px; flex-basis: 25px; }
  .platform-window .detail-panel { padding-top: 6px; }
  .platform-window .deal-actions { margin-top: 5px; padding-top: 5px; }
  .platform-window .results-footer, .platform-window .tour-toggle, .platform-window .replay { min-height: 24px; }
}

@media (max-width: 820px) {
  .chat-conversation:has(.activity:not([hidden])) .connector-card { display: none; }
  .chat-conversation:has(.activity:not([hidden])) .activity { margin-top: 5px; }
}
@media (max-height: 700px) and (max-width: 820px) {
  .platform-window .call-contact > div > span { display: none; }
  .platform-window .recorder[data-state=saved] { padding: 4px 7px; gap: 8px; }
  .platform-window .recorder[data-state=saved] .record-call { min-height: 23px; padding: 4px 6px; font-size: 8px; }
  .platform-window .call-result { padding-top: 6px; }
  .platform-window .call-saved { display: none; }
  .platform-window .next-action { margin-top: 5px; padding: 4px 9px; }
}
.call-result:has(.transcript[open]) { animation: none; }
@media (max-height: 700px) and (max-width: 820px) {
  .platform-window .transcript p { font-size: 10px; line-height: 1.6; margin: 8px 0 0; }
}

/* A compact conversation grows alongside the actions it triggers. */
.chat-header .assistant-avatar { width: 18px; height: 18px; filter: grayscale(1) brightness(0); }
.chat-header strong { font-weight: 520; }
.chat-user { margin-bottom: 24px; }
.chat-user p { border-color: transparent; background: #f5f6f8; border-radius: 10px 10px 3px 10px; }
.chat-assistant { display: block; margin: 0; }
.chat-assistant .connector-card { display: block; border: 0; padding: 0; margin: 0; }
.chat-assistant .connector-steps { display: flex; flex-direction: column; gap: 21px; margin: 0; }
.chat-assistant .connector-steps li { display: flex; align-items: flex-start; min-height: 25px; gap: 10px; color: #78828f; }
.chat-assistant .connector-steps li.is-current { color: #414b59; }
.chat-assistant .assistant-avatar { width: 15px; height: 15px; margin-top: 3px; filter: grayscale(1) brightness(0); opacity: .72; }
.chat-assistant .conversation-message { margin: 0; font-size: 12px; line-height: 1.75; color: inherit; flex: 1; }
.message-status { display: grid; place-items: center; width: 12px; height: 12px; flex: none; margin-top: 5px; color: #929eac; }
.message-status .icon { width: 10px; height: 10px; }
.connector-steps li[data-state=running] .message-status { width: 9px; height: 9px; margin: 6px 2px 0 1px; border: 1px solid #dfe3e8; border-top-color: #6c7d92; border-radius: 50%; animation: spin 850ms linear infinite; }
.connector-steps li[data-state=running] .message-status .icon { display: none; }
.chat-panel .activity { display: none; }
.chat-composer-idle { background: #fcfcfd; border-color: #eceef1; }
.platform-window { box-shadow: 0 3px 8px #17233402, 0 16px 36px #17233403; }
@media (max-width: 820px) {
  .chat-header .assistant-avatar { width: 13px; height: 13px; }
  .demo[data-sent=true] .chat-composer-idle { display: none; }
  .chat-user { margin-bottom: 6px; }
  .chat-assistant .connector-card { display: block !important; }
  .chat-assistant .connector-steps { gap: 0; }
  .chat-assistant .connector-steps li { display: flex; min-height: 19px; gap: 7px; align-items: center; }
  .chat-assistant .assistant-avatar { width: 11px; height: 11px; margin-top: 0; }
  .chat-assistant .conversation-message { font-size: 9.5px; line-height: 1.45; }
  .message-status { margin-top: 0; width: 10px; height: 10px; }
  .connector-steps li[data-state=running] .message-status { margin-top: 0; }
  .chat-panel .activity { display: none; }
}
@media (max-height: 700px) and (max-width: 820px) {
  .chat-user { margin-bottom: 5px; }
  .chat-assistant .connector-steps li { min-height: 18px; }
  .chat-assistant .conversation-message { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .connector-steps li[data-state=running] .message-status { animation: none; }
}
