/* Compact needs form with a persistent, editable summary. */
.conversation-hero {
  padding: 30px 5.5% 32px;
  background: radial-gradient(ellipse at 85% 25%, #eaf6ff 0, transparent 55%), linear-gradient(180deg, #fff, #f5f9fd);
  color: var(--ink);
}
.conversation-intro { text-align: center; margin: 0 auto 29px; max-width: 760px; }
.conversation-intro .eyebrow { font-size: 9px; margin: 0 0 16px; }
.conversation-intro h1 { font-size: clamp(38px, 3.8vw, 55px); letter-spacing: -2px; line-height: 1.08; margin: 0 0 18px; font-weight: 670; }
.conversation-intro h1 span { color: #0086c5; }
.conversation-intro > p:last-child { font-size: 16px; color: var(--muted); margin: 0; line-height: 1.6; }
.conversation-panel { max-width: 1100px; margin: auto; border: 1px solid #d8e6f0; border-radius: 22px; background: white; box-shadow: 0 16px 55px #0d467b0b; scroll-margin-top: 110px; }
.conversation-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 28px; border-bottom: 1px solid #e8eff5; border-radius: 22px 22px 0 0; background: #fcfdff; }
.conversation-identity { display: flex; align-items: center; gap: 13px; min-width: 0; }
.conversation-avatar { width: 38px; height: 32px; flex: none; mix-blend-mode: multiply; }
.conversation-identity strong { font-size: 14px; display: block; font-weight: 650; }
.conversation-identity span { display: block; font-size: 11px; color: #647b8f; margin-top: 3px; }
#conversation-reset { flex: none; background: none; border: 0; color: #5e7487; font-size: 11px; cursor: pointer; padding: 10px 0 10px 10px; }
#conversation-reset:hover { color: #006fc4; }
.conversation-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; padding: 26px 28px 28px; }
.guide-choices, .conversation-result, #conversation-questions { min-width: 0; }
.guide-topics, .guide-question { min-width: 0; margin: 0; padding: 0; border: 0; }
.guide-topics > legend, .guide-question > legend { width: 100%; max-width: 100%; padding: 0; color: #173f5d; font-size: 15px; font-weight: 650; line-height: 1.45; }
.guide-hint { font-size: 12px; line-height: 1.6; color: #657d90; margin: 7px 0 13px; overflow-wrap: anywhere; }
#conversation-suggestions, .guide-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#conversation-suggestions { gap: 12px; }
#conversation-suggestions .guide-choice { min-height: 82px; padding: 18px 15px; gap: 11px; align-items: center; font-size: 15px; font-weight: 550; line-height: 1.45; }
#conversation-suggestions .guide-choice > input { width: 20px; height: 20px; margin-top: 0; }
.guide-choice { display: flex; align-items: flex-start; gap: 9px; min-width: 0; min-height: 46px; padding: 12px; border: 1px solid #dce8f2; border-radius: 10px; background: #fff; color: #244b68; cursor: pointer; font-size: 12px; line-height: 1.5; transition: background .15s, border-color .15s; }
.guide-choice > input { width: 16px; height: 16px; flex: none; margin: 1px 0 0; accent-color: #0075bd; cursor: pointer; }
.guide-choice > span { min-width: 0; overflow-wrap: anywhere; }
.guide-choice:hover { background: #f5faff; border-color: #8bbfdd; }
.guide-choice:has(input:checked) { background: #edf7ff; border-color: #64acd5; color: #0b5682; }
.guide-choice:has(input:disabled) { cursor: default; opacity: .55; }
.guide-choice input:disabled { cursor: default; }
.guide-choice:focus-within { outline: 3px solid #1683bf; outline-offset: 2px; }
#conversation-questions { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e4edf4; }
.guide-section-title { margin: 0 0 13px; }
.guide-section-title h3, h3.guide-section-title { font-size: 16px; line-height: 1.4; font-weight: 650; letter-spacing: -.2px; margin: 0 0 13px; }
#guide-topic-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; }
.guide-topic-tab { max-width: 100%; min-height: 38px; border: 1px solid #d5e5f0; border-radius: 8px; padding: 8px 11px; color: #526f85; background: #fff; cursor: pointer; font: inherit; font-size: 11px; line-height: 1.4; text-align: left; overflow-wrap: anywhere; }
.guide-topic-tab:hover { background: #f1f8fd; border-color: #8bbfdd; }
.guide-topic-tab[aria-pressed="true"] { color: #fff; background: #006fc4; border-color: #006fc4; }
.guide-topic-tab:disabled { opacity: .55; cursor: default; }
.guide-question-list { display: grid; gap: 23px; }
.guide-question > legend { font-size: 14px; }
.guide-question .guide-options { margin-top: 12px; }
.guide-question > .guide-hint + .guide-options { margin-top: 0; }
.guide-empty { font-size: 12px; line-height: 1.65; color: #718597; margin: 0; padding: 15px; border: 1px dashed #d1e1ed; border-radius: 10px; background: #fbfdff; }
.guide-context { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e4edf4; color: #526f85; font-size: 12px; line-height: 1.65; }
.guide-context > summary { cursor: pointer; color: #23688f; font-weight: 600; }
.guide-context p { margin: 12px 0 8px; }
.guide-context a { color: #006fc4; text-decoration: underline; text-underline-offset: 3px; }
.conversation-result { position: sticky; top: 110px; width: 100%; padding: 22px; background: #f6faff; border: 1px solid #d8e8f4; border-radius: 15px; }
.conversation-result-title { font-size: 22px; font-weight: 650; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.5px; }
#guide-summary { max-height: clamp(96px, calc(100dvh - 590px), 240px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #bed4e5 transparent; margin: 15px 0 18px; padding: 2px; overflow-wrap: anywhere; }
#guide-summary:focus-visible { outline: 3px solid #1683bf; outline-offset: 3px; border-radius: 8px; }
.guide-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.guide-summary-card { min-width: 0; padding: 12px; border: 1px solid #dce8f2; border-radius: 10px; background: white; }
.guide-summary-card h4 { color: #173f5d; font-size: 12px; line-height: 1.4; margin: 0 0 10px; font-weight: 650; }
.guide-summary-card dl { margin: 0; }
.guide-summary-card dt { color: #657d90; font-size: 10px; line-height: 1.4; margin: 10px 0 5px; }
.guide-summary-card dd { margin: 0; font-size: 11px; color: #34546c; line-height: 1.5; }
.guide-selection { display: inline-block; max-width: 100%; padding: 3px 6px; margin: 0 4px 4px 0; border-radius: 5px; background: #eef6fc; color: #285b7d; font-size: 10px; line-height: 1.5; vertical-align: top; overflow-wrap: anywhere; }
#conversation-form { padding-top: 16px; border-top: 1px solid #dce8f2; }
#conversation-form > label { display: block; color: #31566e; font-size: 12px; font-weight: 650; margin-bottom: 8px; }
#conversation-input, .guide-copy-fallback { display: block; width: 100%; min-width: 0; min-height: 88px; resize: vertical; padding: 11px 12px; border: 1px solid #bcd2e3; border-radius: 9px; background: #fff; color: #173f5d; font: inherit; font-size: 13px; line-height: 1.6; }
#conversation-input::placeholder { color: #8193a2; }
#conversation-input:focus, .guide-copy-fallback:focus { outline: 3px solid #008bc424; outline-offset: 0; border-color: #0583cb; }
#conversation-form > .guide-hint { font-size: 10px; margin: 7px 0 0; }
.guide-copy-fallback { margin: 12px 0 0; min-height: 120px; font-size: 12px; }
.guide-contact { min-width: 0; margin: 20px 0 0; padding: 0; border: 0; }
.guide-contact > legend { padding: 0; color: #173f5d; font-size: 14px; font-weight: 650; line-height: 1.45; }
.guide-contact > .guide-hint { font-size: 11px; margin: 7px 0 12px; }
.guide-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-contact-grid > label { display: block; min-width: 0; color: #31566e; font-size: 12px; font-weight: 600; line-height: 1.5; }
.guide-contact-grid > label > span { font-weight: 400; color: #657d90; }
.guide-contact-grid input { display: block; width: 100%; min-width: 0; min-height: 42px; margin-top: 5px; padding: 9px 10px; border: 1px solid #bcd2e3; border-radius: 8px; background: #fff; color: #173f5d; font: inherit; font-size: 14px; font-weight: 400; line-height: 1.4; }
.guide-contact-grid input:focus { outline: 3px solid #008bc424; outline-offset: 0; border-color: #0583cb; }
.guide-contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.conversation-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.conversation-result-actions .button { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 160px; min-height: 46px; padding: 12px 14px; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; border-radius: 8px; }
.conversation-result-actions .conversation-email { background: white; color: #1d6094; border: 1px solid #bfd4e5; box-shadow: none; }
.conversation-result-actions .conversation-email:hover { background: #edf7ff; }
.conversation-copy { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 0; background: transparent; border: 0; color: #1d6094; border-radius: 5px; cursor: pointer; font: inherit; font-size: 12px; line-height: 1.4; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.conversation-copy:hover { background: #eef7fd; }
.conversation-result-actions :disabled, .conversation-result-actions [aria-disabled="true"] { opacity: .5; cursor: default; }
#conversation-status { min-height: 1.6em; font-size: 11px; line-height: 1.6; color: #446e88; margin: 10px 0 0; }
#conversation-status[data-kind="success"] { color: #176746; font-weight: 600; }
#conversation-status[data-kind="error"] { color: #a32d32; font-weight: 600; }
.conversation-result-note { font-size: 10px; color: #718597; line-height: 1.6; margin: 10px 0 0; }
.conversation-panel button:focus-visible, .conversation-panel a:focus-visible, .guide-context > summary:focus-visible { outline: 3px solid #1683bf; outline-offset: 3px; }
.conversation-disclosure { font-size: 13px; text-align: center; line-height: 1.65; color: #5b7387; border-top: 1px solid #edf2f7; border-radius: 0 0 22px 22px; padding: 15px 22px; margin: 0; background: #fcfdff; }
.conversation-alternatives { max-width: 1100px; margin: 22px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: #668098; }
.conversation-alternatives > a, .conversation-alternatives span a { color: #1b678f; font-weight: 600; }
.conversation-alternatives span a { margin-left: 7px; }
.conversation-alternatives a:hover { text-decoration: underline; }
.conversation-noscript { padding: 25px; font-size: 14px; color: #31566c; }
.conversation-noscript a { color: #006fc4; text-decoration: underline; }
#conversation:not([data-ready="true"]) .conversation-layout, #conversation:not([data-ready="true"]) #conversation-reset { display: none; }
.conversation-panel [hidden] { display: none !important; }
@media (max-width: 1000px) and (min-width: 801px) {
  .conversation-layout { gap: 18px; padding: 22px; }
  .conversation-result { padding: 17px; }
  .guide-summary-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .conversation-hero { padding: 35px 6% 30px; }
  .conversation-intro h1 { font-size: 44px; }
  .conversation-intro > p:last-child { font-size: 14px; }
  .conversation-header { padding: 17px 22px; }
  .conversation-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px; }
  .conversation-result { position: static; padding: 20px; }
  #guide-summary { max-height: 240px; }
  .conversation-alternatives { flex-direction: column; gap: 13px; font-size: 11px; }
  .conversation-disclosure { font-size: 12px; }
}
@media (max-width: 480px) {
  .conversation-hero { padding: 28px 4.5% 25px; }
  .conversation-intro { margin-bottom: 23px; }
  .conversation-intro .eyebrow { font-size: 8px; letter-spacing: 1.25px; }
  .conversation-intro h1 { font-size: 38px; letter-spacing: -1.6px; }
  .conversation-intro > p:last-child { font-size: 13px; max-width: 310px; margin: auto; }
  .conversation-panel { border-radius: 16px; }
  .conversation-header { padding: 15px 16px; gap: 10px; border-radius: 16px 16px 0 0; }
  .conversation-identity { gap: 9px; }
  .conversation-identity strong { font-size: 12px; }
  .conversation-identity span { font-size: 9px; }
  .conversation-avatar { width: 31px; height: 27px; }
  #conversation-reset { font-size: 10px; }
  .conversation-layout { padding: 19px 15px; gap: 21px; }
  .guide-choice { padding: 10px 9px; gap: 7px; font-size: 11px; }
  .guide-hint { font-size: 11px; }
  .guide-topic-tab { font-size: 10px; padding: 8px 10px; }
  .conversation-result { padding: 16px; border-radius: 12px; }
  .conversation-result-title { font-size: 20px; }
  .guide-summary-grid { grid-template-columns: minmax(0, 1fr); }
  #conversation-input, .guide-copy-fallback, .guide-contact-grid input { font-size: 16px; }
  #conversation-suggestions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #conversation-suggestions .guide-choice { min-height: 65px; padding: 16px 13px; font-size: 15px; }
  .guide-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .conversation-result-actions { align-items: stretch; }
  .conversation-result-actions > * { flex: 1 1 100%; }
  .conversation-disclosure { font-size: 12px; padding: 13px 16px; border-radius: 0 0 16px 16px; }
  .conversation-alternatives { font-size: 10px; }
}
@media (max-width: 350px) {
  #conversation-suggestions, .guide-options { grid-template-columns: minmax(0, 1fr); }
  .conversation-identity span { max-width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-choice { transition: none; }
}
