.adviser-launch { position: fixed; z-index: 46; bottom: 24px; right: 24px; display: flex; align-items: center; gap: 24px; max-width: calc(100vw - 48px); padding: 18px 22px; background: #e7c58b; border: 2px solid #11191f; border-radius: 0; box-shadow: 5px 5px 0 #11191f; color: #11191f; font: 700 16px/1.2 var(--utility); cursor: pointer; }
.adviser-launch span:last-child { font-size: 28px; }
.adviser-launch:hover { background: #f3ddb7; }
.back-top { bottom: 112px; }
body.adviser-open { overflow: hidden; }
.adviser-dialog { --adviser-dark: #0c171f; --adviser-gold: #e7c58b; width: min(1240px, calc(100vw - 48px)); max-width: none; max-height: none; height: min(860px, calc(100svh - 48px)); padding: 0; border: 2px solid #9f8964; border-radius: 0; background: #f4f7f8; color: #102b40; box-shadow: 12px 12px 0 rgba(0,0,0,.5); overflow: hidden; }
.adviser-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.adviser-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.adviser-dialog [hidden] { display: none !important; }
.adviser-dialog button, .adviser-dialog input, .adviser-dialog a { -webkit-tap-highlight-color: transparent; }
.adviser-dialog button { cursor: pointer; }
.adviser-dialog :focus-visible { outline: 3px solid #ad7929; outline-offset: 3px; }
.adviser-dialog button:disabled { opacity: .45; cursor: default; }
.adviser-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 30px; border-bottom: 2px solid #102b40; }
.adviser-eyebrow { margin: 0 0 8px; font: 700 12px/1.3 var(--utility); text-transform: uppercase; letter-spacing: .12em; color: #526879; }
.adviser-header h2 { margin: 0; font: 750 clamp(26px, 3vw, 40px)/1.04 var(--sans); letter-spacing: -.045em; }
.adviser-header p:last-child { margin: 10px 0 0; font-size: 16px; color: #486174; }
.adviser-close { flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid #102b40; color: #102b40; background: transparent; font-size: 30px !important; line-height: 1; }
.adviser-close:hover { color: white; background: #102b40; }
.adviser-body { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); min-height: 0; }
.adviser-picker { overflow-y: auto; overscroll-behavior: contain; padding: 0 28px 28px; scrollbar-gutter: stable; }
.adviser-search-row { position: sticky; top: 0; z-index: 2; padding: 20px 0 14px; background: #f4f7f8; border-bottom: 1px solid #a4b1ba; }
.adviser-search-row label { display: block; margin-bottom: 7px; font: 600 14px/1.3 var(--utility); }
.adviser-search-row input { width: 100%; min-height: 44px; border: 1px solid #6e8494; border-radius: 0; padding: 10px 12px; background: white; color: #102b40; font-size: 16px; }
.adviser-search-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font: 500 12px/1.3 var(--utility); color: #526879; }
.adviser-reset { padding: 4px 0; background: none; color: #244f6c; border: 0; border-bottom: 1px solid currentColor; font: 600 14px/1.2 var(--utility); }
.adviser-group { min-width: 0; border: 0; padding: 22px 0 0; margin: 0; }
.adviser-group legend { float: left; width: 100%; margin-bottom: 12px; font: 700 16px/1.3 var(--utility); }
.adviser-options { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.adviser-option { display: flex; align-items: flex-start; gap: 11px; padding: 15px 12px; min-width: 0; border: 1px solid #b3c1ca; background: #fff; cursor: pointer; }
.adviser-option:hover { border-color: #145a91; }
.adviser-option:has(input:checked) { background: #e3edf4; border-color: #145a91; box-shadow: inset 0 -3px #145a91; }
.adviser-option input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #145a91; }
.adviser-option-copy { display: flex; flex-direction: column; gap: 7px; }
.adviser-option-title { font: 650 16px/1.3 var(--utility); }
.adviser-option-detail { color: #526879; font: 400 14px/1.45 var(--utility); }
.adviser-status { width: fit-content; font: 650 12px/1.3 var(--utility); padding: 4px 6px; color: #654008; background: #f5e4c5; border: 1px solid #dec090; }
.adviser-status-partner { background: #e6edf3; color: #254d69; border-color: #b3c7d7; }
.adviser-result { min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 30px; color: #f6f3ec; background: var(--adviser-dark); border-left: 2px solid #102b40; }
.adviser-result-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #67716e; font: 600 12px/1.3 var(--utility); letter-spacing: .08em; text-transform: uppercase; color: #becbd0; }
.adviser-result-top strong { font: 700 28px/1 var(--sans); color: var(--adviser-gold); }
.adviser-kicker { margin: 24px 0 12px; font: 600 12px/1.4 var(--utility); letter-spacing: .1em; text-transform: uppercase; color: var(--adviser-gold); }
.adviser-result h3 { margin: 0; color: #f6f3ec; font: 700 clamp(28px, 3vw, 42px)/1.02 var(--sans); letter-spacing: -.045em; overflow-wrap: break-word; }
.adviser-explanation { margin: 20px 0 0; font-size: 16px; line-height: 1.6; color: #d0dbe0; }
.adviser-last-change { padding-left: 14px; margin: 24px 0 0; border-left: 3px solid var(--adviser-gold); font: 400 14px/1.6 var(--utility); color: #d8ccba; }
.adviser-future { margin-top: 24px; padding: 16px; border: 1px solid var(--adviser-gold); background: #26251f; color: #f4e0bb; }
.adviser-future strong { display: block; font-size: 16px; }
.adviser-future p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.adviser-future p:last-child { font-weight: 600; }
.adviser-selection-label { margin: 28px 0 12px; font: 600 12px/1.3 var(--utility); text-transform: uppercase; letter-spacing: .1em; color: #a9b9c4; }
.adviser-selected { display: flex; flex-wrap: wrap; gap: 7px; }
.adviser-selected button { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 7px 10px; border: 1px solid #687d8b; border-radius: 0; background: transparent; color: #e4ebee; font: 400 13px/1.4 var(--utility); text-align: left; }
.adviser-selected button:hover { background: #253949; }
.adviser-selected button span { font-size: 18px; }
.adviser-contact { display: block; margin-top: 26px; padding: 16px 18px; border: 1px solid var(--adviser-gold); background: var(--adviser-gold); color: #0c171f; font: 700 16px/1.3 var(--utility); text-decoration: none; }
.adviser-contact:hover { background: #f3ddb7; }
.adviser-draft { border-top: 1px solid #8194a1; padding: 12px 28px; background: #e4ecf1; font: 400 14px/1.4 var(--utility); max-height: 220px; overflow-y: auto; }
.adviser-draft summary { font-weight: 650; cursor: pointer; }
.adviser-draft p { margin: 10px 0; }
.adviser-draft-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.adviser-draft input { display: block; max-width: 100%; font-size: 14px; margin-top: 6px; }
.adviser-draft button { padding: 9px 12px; border: 1px solid #657e8f; background: transparent; color: #102b40; font: inherit; }
.adviser-no-matches { margin: 28px 0; font-size: 16px; }
.adviser-story { display: grid; gap: 18px; margin-top: 24px; }
.adviser-chapter { border: 1px solid #687d8b; border-top: 3px solid var(--adviser-gold); padding: 20px; background: #142530; }
.adviser-chapter-kicker { margin: 0 0 10px; color: var(--adviser-gold); font: 650 12px/1.4 var(--utility); letter-spacing: .08em; text-transform: uppercase; }
.adviser-chapter h4 { margin: 0; font: 700 25px/1.12 var(--sans); letter-spacing: -.035em; color: #f6f3ec; }
.adviser-chapter-body { margin: 14px 0 0; color: #d0dbe0; font: 400 16px/1.55 var(--utility); }
.adviser-chapter-notes { list-style: none; padding: 0; margin: 18px 0 0; }
.adviser-chapter-notes li { border-top: 1px solid #4d626f; padding-top: 14px; margin-top: 14px; }
.adviser-chapter-notes strong { display: block; color: #e7c58b; font: 650 14px/1.4 var(--utility); margin-bottom: 6px; }
.adviser-chapter-notes span { display: block; color: #d0dbe0; font: 400 14px/1.6 var(--utility); }
.adviser-chapter-bonus { background: #29281f; border-color: #8b7959; border-top-width: 1px; border-left: 3px solid var(--adviser-gold); }
.adviser-result { display: flex; flex-direction: column; min-height: 0; padding: 0; overflow: hidden; }
.adviser-takeaway { flex: none; padding: 20px 24px; color: #102b40; background: #e7c58b; border-bottom: 2px solid #102b40; }
.adviser-takeaway .adviser-result-top { padding-bottom: 10px; color: #294050; border-color: #9b815b; }
.adviser-takeaway .adviser-result-top strong { color: #102b40; font-size: 22px; }
.adviser-takeaway .adviser-kicker { color: #294050; margin: 14px 0 8px; }
.adviser-takeaway h3 { color: #102b40; font-size: 30px; line-height: 1.06; }
.adviser-takeaway .adviser-explanation { color: #294050; font-size: 14px; line-height: 1.5; margin-top: 12px; }
.adviser-summary-counts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.adviser-summary-counts:empty { display: none; }
.adviser-summary-counts span { padding: 4px 7px; border: 1px solid #89704c; font: 650 12px/1.3 var(--utility); }
.adviser-summary-counts .adviser-summary-future { background: #102b40; color: #f8ecd8; border-color: #102b40; }
.adviser-takeaway .adviser-contact { display: inline-block; margin-top: 12px; padding: 0 0 3px; border: 0; border-bottom: 1px solid #102b40; background: transparent; color: #102b40; font-size: 14px; }
.adviser-takeaway .adviser-contact:hover { background: transparent; border-bottom-width: 2px; }
.adviser-result-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px; }
.adviser-takeaway-detail { display: none; }
.adviser-confirmation-title { margin: 0 0 14px; font: 650 16px/1.3 var(--utility); color: #f6f3ec; }
.adviser-confirmations { padding: 0; margin: 0; list-style: none; }
.adviser-confirmations li { display: grid; gap: 5px; padding: 12px 0; border-bottom: 1px solid #4d626f; font: 400 14px/1.45 var(--utility); }
.adviser-confirmations li:first-child { padding-top: 0; }
.adviser-confirmations strong { font-weight: 650; color: #a9dfc2; }
.adviser-confirmations [data-capability="future"] strong, .adviser-confirmations [data-capability="partner"] strong { color: #e7c58b; }
.adviser-confirmation-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adviser-confirmation-heading button { flex: none; width: 30px; height: 30px; padding: 0; border: 1px solid #687d8b; background: transparent; color: #f6f3ec; font-size: 20px; }
.adviser-confirmation-heading button:hover { background: #253949; }
.adviser-confirmations strong { font-size: 17px; line-height: 1.35; }
.adviser-service-note { margin: 3px 0 0; font-size: 14px; line-height: 1.45; color: #bfccd4; }
.adviser-context { margin-top: 22px; }
.adviser-context summary { font: 600 14px/1.4 var(--utility); color: #e7c58b; cursor: pointer; }
.adviser-context .adviser-chapter-notes, .adviser-context .adviser-chapter-kicker { display: none; }
.adviser-context .adviser-story { margin-top: 16px; gap: 12px; }
.adviser-context .adviser-chapter { padding: 16px; }
.adviser-context .adviser-chapter h4 { font-size: 20px; }
.adviser-context .adviser-chapter-body { margin-top: 8px; font-size: 14px; }
.adviser-dialog:not(:has(.adviser-draft))[open] { grid-template-rows: auto minmax(0, 1fr); }
@media (max-width: 1000px) {
  .adviser-options { grid-template-columns: 1fr; }
  .adviser-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .adviser-result { padding: 0; }
}
@media (max-width: 700px) {
  .adviser-launch { right: 16px; bottom: 20px; padding: 14px 16px; font-size: 14px; gap: 14px; }
  .adviser-dialog { width: calc(100vw - 16px); height: calc(100svh - 16px); box-shadow: none; }
  .adviser-header { padding: 16px; gap: 12px; }
  .adviser-header h2 { font-size: 26px; }
  .adviser-header p:last-child { font-size: 14px; margin-top: 8px; }
  .adviser-eyebrow { font-size: 12px; margin-bottom: 5px; }
  .adviser-body { display: flex; flex-direction: column; overflow: hidden; }
  .adviser-result { order: -1; flex: none; height: 38svh; max-height: 38svh; padding: 0; border-left: 0; border-bottom: 2px solid #ab905e; }
  .adviser-result-top { padding-bottom: 12px; }
  .adviser-result-top strong { font-size: 20px; }
  .adviser-kicker { margin-top: 14px; }
  .adviser-result h3 { font-size: 28px; }
  .adviser-takeaway { padding: 12px 16px; }
  .adviser-takeaway .adviser-result-top { padding-bottom: 7px; font-size: 11px; }
  .adviser-takeaway .adviser-result-top strong { font-size: 16px; }
  .adviser-takeaway .adviser-kicker, .adviser-takeaway .adviser-explanation { display: none; }
  .adviser-takeaway h3 { margin-top: 9px; font-size: 22px; }
  .adviser-summary-counts { margin-top: 8px; }
  .adviser-takeaway .adviser-contact { margin-top: 8px; }
  .adviser-result-scroll { padding: 16px; }
  .adviser-takeaway-detail:not(:empty) { display: block; margin: 0 0 18px; color: #d0dbe0; font-size: 14px; line-height: 1.5; }
  .adviser-explanation { margin-top: 12px; }
  .adviser-picker { flex: 1; min-height: 100px; padding-inline: 16px; }
  .adviser-search-row { padding-top: 14px; }
  .adviser-draft { padding: 10px 16px; max-height: 180px; }
}
