/* Finatal visual refresh: presentation only; existing content and data retained. */
:root {
  --purple: #4f0058;
  --deep: #310038;
  --pink: #ee9bcc;
  --ink: #2a202d;
  --muted: #6b5f70;
  --line: #e3d8e8;
  --wash: #f8f5fa;
  --visual-shadow: 0 24px 70px -30px #4f005838;
  --visual-ease: cubic-bezier(.2,.75,.25,1);
}
body[data-page="search"] {
  background: radial-gradient(ellipse at 2% 80%, #ee9bcc29, transparent 46%),
    radial-gradient(ellipse at 88% 18%, #bd6fd71f, transparent 48%), #fdfbfe;
}
.brand-spark{position:relative;display:inline-grid;place-items:center;flex:none;width:42px;height:42px;border-radius:14px;background:#f4eafb;border:1px solid #e6d0ee;isolation:isolate}
.brand-spark::before,.brand-spark::after{content:'✦';position:absolute;color:#8b42bc;line-height:1;font-family:Arial,sans-serif;font-weight:400}
.brand-spark::before{font-size:15px;top:-8px;right:-9px}
.brand-spark::after{font-size:9px;bottom:1px;right:-12px;color:#b179d2}
.brand-spark .fina-avatar{display:block;width:52%;height:70%;object-fit:contain;border-radius:0;box-shadow:none}
body:not(.has-results) .welcome-message .brand-spark{width:88px;height:88px;border-radius:24px;box-shadow:0 14px 34px #4f005820}
body:not(.has-results) .welcome-message .brand-spark::before{font-size:27px;top:-13px;right:-18px}
body:not(.has-results) .welcome-message .brand-spark::after{font-size:14px;bottom:10px;right:-21px}
body:not(.has-results) .welcome-message .brand-spark .fina-avatar,.assistant-heading .brand-spark .fina-avatar{width:52%;height:70%;border-radius:0;box-shadow:none}
body:not(.has-results) .welcome-message h2{font-size:clamp(42px,5.4vw,70px);letter-spacing:-.05em;line-height:1.06}
@media(max-width:760px){body:not(.has-results) .welcome-message .brand-spark{width:64px;height:64px;border-radius:18px}}
@media(max-width:480px){body:not(.has-results) .welcome-message .brand-spark{width:56px;height:56px;border-radius:15px}}
.search-header {
  min-height: 86px;
  padding: 14px clamp(24px,4vw,64px);
  background: var(--deep);
  border-bottom: 1px solid #ffffff20;
  color: #fff;
  position: relative;
  z-index: 20;
}
.search-brand { color: #fff; gap: 22px; align-items: center; }
.search-brand .finatal-logo { display: block; width: 144px; height: auto; flex: none; }
.search-brand span { color: #e4cbe9; font-size: 13px; border-left: 1px solid #ffffff35; padding-left: 22px; }
.report-menu { color: #fff; }
.report-menu summary { border: 1px solid #ffffff38; border-radius: 999px; padding: 0 18px; transition: background .2s; }
.report-menu summary:hover, .report-menu[open] summary { background: #ffffff12; }
.report-menu nav { color: var(--purple); top: 56px; border-radius: 16px; padding: 10px; box-shadow: var(--visual-shadow); }
.report-menu nav a { border-radius: 9px; }
.new-chat { background: transparent; color: #f0ddf3; font-size: 14px; }
body[data-page="search"]:not(.has-results) #main {
  display: grid;
  grid-template-columns: minmax(280px,.78fr) minmax(0,1.22fr);
  column-gap: clamp(34px,6vw,90px);
  align-content: safe center;
  align-items: center;
  width: min(1260px,calc(100% - 96px));
  margin-inline: auto;
  padding: 52px 0 68px;
}
body:not(.has-results) .search-results, body:not(.has-results) .search-stage { margin: 0; }
body:not(.has-results) .conversation { padding: 0; max-width: none; }
body:not(.has-results) .search-stage { padding: 0; min-width: 0; }
body:not(.has-results) .welcome-message .assistant-heading { flex-direction: column; align-items: flex-start; gap: 25px; margin-bottom: 22px; }
body:not(.has-results) .welcome-message .fina-avatar { width: 88px; height: 88px; border-radius: 26px; box-shadow: 0 14px 34px #4f005820; }
body:not(.has-results) .welcome-message h2 { font-size: clamp(64px,7vw,96px); line-height: .95; letter-spacing: -.065em; font-weight: 400; color: var(--purple); }
body:not(.has-results) .welcome-message > p { font-size: clamp(20px,1.8vw,25px); line-height: 1.5; max-width: 420px; color: #63526a; font-weight: 300; }
.search-composer { border: 1px solid #d9c7e1; border-radius: 28px; background: #fff; box-shadow: var(--visual-shadow); transition: box-shadow .25s, border-color .25s; }
.search-composer:focus-within { border-color: #ae65c1; box-shadow: 0 0 0 4px #bd6fd71a, var(--visual-shadow); }
#search-form { padding: 30px 30px 22px; }
#question { min-height: 90px; font-size: clamp(24px,2.25vw,32px); color: var(--purple); }
#question::placeholder { color: #8b7395; }
.search-submit { width: 50px; height: 50px; box-shadow: 0 6px 16px #4f005823; transition: transform .2s, box-shadow .2s, background .2s; }
.search-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 22px #4f005833; }
.search-submit:active { transform: scale(.94); }
.question-builder { padding-inline: 28px; background: #fdfbfe; }
.question-builder summary { min-height: 52px; font-size: 14px; }
.question-builder summary span { font-size: 21px; transition: transform .25s; }
.example-prompts { display: flex; flex-direction: column; gap: 0; padding: 8px 28px; background: #fff; }
.example-prompts button {
  align-items: center; min-height: 56px;
  padding: 14px 0; border: 0; border-bottom: 1px solid #eee6f2;
  border-radius: 0; background: transparent; color: #706079;
  font-size: 15px; line-height: 1.45; transition: color .2s;
}
.example-prompts button:last-child { border-bottom: 0; }
.example-prompts button span { flex: none; font-size: 20px; color: #9957a9; transition: transform .23s; }
.example-prompts button:hover { color: var(--purple); }
.example-prompts button:hover span { transform: translate(2px,-2px); }
.builder-reports button, .smart-followups button, .followups button { min-height: 40px; font-size: 14px; }
.builder-field label { font-size: 14px; }
.builder-field select { border-radius: 10px; }
.builder-preview { font-size: 14px; }
.has-results .search-header { box-shadow: 0 5px 25px #3100380d; }
.has-results .search-stage { background: #fdfbfe; border-top: 1px solid #e9dfef; padding-top: 16px; }
.has-results .search-composer { border-radius: 21px; box-shadow: 0 8px 28px #4f00580b; }
.has-results .search-submit { width: 42px; height: 42px; }
.has-results .conversation { max-width: 930px; padding-top: 34px; padding-bottom: 38px; }
.has-results .search-composer { width: min(882px,100%); }
.has-results .welcome-message { padding-bottom: 32px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.user-message p { background: #e9dbf0; color: #45264f; border: 1px solid #dfcce8; border-radius: 22px 22px 5px 22px; padding: 15px 21px; }
.assistant-heading { gap: 12px; }
.assistant-heading h2 { color: var(--purple); font-size: 17px; }
.assistant-heading .fina-avatar { width: 38px; height: 38px; }
.answer-title { font-size: 23px; color: var(--purple); line-height: 1.3; }
.single-stat { position: relative; padding: 25px 28px; border-radius: 20px; border-color: #dbc7e5; background: linear-gradient(120deg,#f3e7f8,#fcf9fd); box-shadow: 0 8px 26px #4f005808; }
.single-stat::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 4px; background: #a85dbe; border-radius: 0 3px 3px 0; }
.single-stat strong { font-size: clamp(42px,5vw,62px); font-weight: 300; letter-spacing: -.055em; margin: 10px 0; font-variant-numeric: tabular-nums; }
.stat-grid { gap: 16px; }
.stat-grid .single-stat:nth-child(even) { background: linear-gradient(120deg,#f8e7f2,#fffafd); border-color: #edd3e5; }
.single-stat .unavailable-value { font-size: 26px; }
.pin-button { font-size: 13px; min-height: 36px; border-radius: 999px; background: #ffffffb8; }
.visual-answer { border-radius: 20px; border-color: #dccfe3; background: #fff; box-shadow: 0 8px 30px #4f005808; }
.visual-toolbar { padding: 18px 24px; background: #f8f3fb; flex-wrap: wrap; }
.visual-title { font-size: 16px; color: var(--purple); }
.view-switch { border-radius: 999px; background: #fff; padding: 4px; }
.view-switch button { border-radius: 999px; min-height: 34px; font-size: 14px; padding-inline: 14px; }
.bar-chart { padding: 28px 26px 20px; }
.chart-row { margin-bottom: 23px; }
.chart-label { font-size: 15px; margin-bottom: 10px; gap: 12px; }
.chart-label strong { font-size: 17px; color: var(--purple); font-variant-numeric: tabular-nums; }
.bar-chart .bar-track { height: 19px; border-radius: 6px; background: repeating-linear-gradient(to right,transparent 0,transparent calc(25% - 1px),#d9cbe25c calc(25% - 1px),#d9cbe25c 25%),#f3edf7; }
.bar-chart .bar-fill { border-radius: 6px; background: linear-gradient(90deg,#4f0058,#aa5dc0); }
.bar-chart .chart-row:nth-child(even) .bar-fill { background: linear-gradient(90deg,#9b43ac,#d48ccb); }
.chart-scale { font-size: 13px; padding-top: 13px; }
.answer-sources { gap: 8px 16px; }
.answer-sources a { font-size: 13px; }
.followups button, .smart-followups button { transition: background .2s, border-color .2s, transform .2s; }
.followups button:hover, .smart-followups button:hover { border-color: #bb92c9; transform: translateY(-2px); }
.comparison-panel { background: #eee3f4; border-bottom-color: #dac7e3; }
.comparison-shell { max-width: 930px; }
.comparison-heading h2 { color: var(--purple); font-size: 18px; }
.pinned-card { border-radius: 16px; border-color: #dbc9e4; box-shadow: 0 5px 20px #4f005809; }
.pinned-card dd { font-size: 29px; }
.pinned-heading button, .comparison-heading button { font-size: 14px; }
.chat-report-access { background: #f4ebf8; border: 1px solid #e3d3eb; border-radius: 16px; padding: 20px; }
.chat-report-field label { font-size: 14px; }
.data-status > div { border-radius: 10px; background: #fff; }
@keyframes visual-arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes visual-bar { from { transform: scaleX(.02); opacity: .4; } to { transform: scaleX(1); opacity: 1; } }
body:not(.has-results) .welcome-message, body:not(.has-results) .search-composer { animation: visual-arrive .6s var(--visual-ease) both; }
body:not(.has-results) .search-composer { animation-delay: .1s; }
.chat-turn > .assistant-message { animation: visual-arrive .4s var(--visual-ease) both; }
.chat-turn .bar-fill { animation: visual-bar .7s var(--visual-ease) both; transform-origin: left center; }
.chart-row:nth-child(2) .bar-fill { animation-delay: .06s; }
.chart-row:nth-child(3) .bar-fill { animation-delay: .12s; }
.chart-row:nth-child(n+4) .bar-fill { animation-delay: .18s; }
@media (max-width: 980px) {
  body[data-page="search"]:not(.has-results) #main { grid-template-columns: 1fr; width: min(740px,calc(100% - 48px)); gap: 30px; align-content: start; padding: 38px 0; }
  body:not(.has-results) .welcome-message .assistant-heading { flex-direction: row; align-items: center; gap: 20px; margin-bottom: 18px; }
  body:not(.has-results) .welcome-message .fina-avatar { width: 64px; height: 64px; border-radius: 18px; }
  body:not(.has-results) .welcome-message h2 { font-size: 56px; }
  body:not(.has-results) .welcome-message > p { max-width: 660px; font-size: 20px; }
}
@media (max-width: 650px) {
  .search-header { min-height: 74px; padding: 12px 18px; }
  .search-brand .finatal-logo { width: 124px; }
  .header-actions { gap: 6px 12px; max-width: 76%; }
  .report-menu summary { padding-inline: 12px; gap: 8px; }
  .report-menu, .new-chat { font-size: 14px; }
  body[data-page="search"]:not(.has-results) #main { width: calc(100% - 32px); padding: 30px 0 40px; gap: 25px; }
  body:not(.has-results) .welcome-message > p { font-size: 18px; }
  body:not(.has-results) .welcome-message h2 { font-size: 48px; }
  body:not(.has-results) .welcome-message .fina-avatar { width: 56px; height: 56px; border-radius: 15px; }
  .search-composer { border-radius: 22px; }
  #search-form { padding: 23px 22px 18px; }
  #question { font-size: 25px; min-height: 75px; }
  .question-builder { padding-inline: 20px; }
  .example-prompts { padding: 8px 22px; }
  .example-prompts button { font-size: 14px; min-height: 56px; padding: 14px 0; gap: 14px; }
  .example-prompts button span { font-size: 19px; }
  .has-results .conversation { padding-inline: 16px; }
  .single-stat { padding: 22px; }
  .single-stat strong { font-size: 45px; }
  .single-stat .unavailable-value { font-size: 25px; }
  .visual-toolbar { padding: 16px; }
  .bar-chart { padding: 23px 16px 17px; }
  .chart-label { font-size: 14px; }
  .chart-label strong { font-size: 16px; }
  .answer-title { font-size: 21px; }
  .comparison-shell { padding-inline: 16px; }
  .chat-report-access { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Compact, centered landing conversation. Answer view keeps its existing layout. */
body[data-page="search"]:not(.has-results) #main{
  display:flex;flex-direction:column;justify-content:safe center;align-items:center;
  gap:22px;width:min(980px,calc(100% - 48px));padding:28px 0 34px;
  margin-inline:auto;overflow:auto;
}
body:not(.has-results) .search-results,
body:not(.has-results) .search-stage{width:100%;margin:0;padding:0;flex:none;min-width:0}
body:not(.has-results) .conversation{max-width:none;padding:0}
body:not(.has-results) .welcome-message{padding:0;text-align:center}
body:not(.has-results) .welcome-message .assistant-heading{
  flex-direction:column;align-items:center;gap:12px;margin:0 0 10px;
}
body:not(.has-results) .welcome-message .brand-spark{width:52px;height:52px;border-radius:15px;box-shadow:0 8px 25px #4f005817}
body:not(.has-results) .welcome-message .brand-spark::before{font-size:18px;top:-8px;right:-12px}
body:not(.has-results) .welcome-message .brand-spark::after{font-size:10px;bottom:3px;right:-13px}
body:not(.has-results) .welcome-message h2{font-size:clamp(30px,3.5vw,42px);line-height:1.14;letter-spacing:-.04em;font-weight:400}
body:not(.has-results) .welcome-message>p{max-width:740px;margin:auto;font-size:clamp(16px,1.55vw,18px);line-height:1.4;font-weight:400}
body:not(.has-results) .search-stage{display:flex;flex-direction:column;align-items:center;gap:17px}
body:not(.has-results) .search-composer{width:min(900px,100%);border-radius:25px;box-shadow:0 12px 42px #4f005817}
body:not(.has-results) #search-form{padding:20px 24px 14px}
body:not(.has-results) #question{min-height:66px;font-size:clamp(19px,2vw,24px)}
body:not(.has-results) .search-submit{width:43px;height:43px}
body:not(.has-results) .manager-preview-note{padding:0 24px 13px;font-size:12px;line-height:1.35}
body:not(.has-results) .example-prompts{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;
  width:min(900px,100%);padding:0;background:transparent;
}
body:not(.has-results) .example-prompts button{
  display:flex;justify-content:space-between;gap:10px;min-height:47px;padding:9px 13px;
  border:1px solid #e8ddec;border-radius:13px;background:#fff;
  text-align:left;font-size:14px;line-height:1.25;color:#654d70;
}
body:not(.has-results) .example-prompts button span{font-size:17px}
body:not(.has-results) .example-prompts button:hover{border-color:#ae79bf;background:#faf6fc}
body:not(.has-results) .more-examples{grid-column:1/-1;min-width:0;margin-top:2px}
body:not(.has-results) .more-examples>summary{padding:12px 0 8px;min-height:42px}
body:not(.has-results) .more-example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:2px 0 10px}
body:not(.has-results) .more-example-grid button{min-width:0;width:100%}
body:not(.has-results) .manager-preview-note{display:block;padding:12px 24px 15px;line-height:1.45;overflow-wrap:break-word}
body:not(.has-results) .manager-preview-note strong{margin-right:8px}
@media(max-width:700px){
  body[data-page="search"]:not(.has-results) #main{width:calc(100% - 32px);gap:17px;padding:20px 0 26px}
  body:not(.has-results) .welcome-message .assistant-heading{gap:8px;margin-bottom:8px}
  body:not(.has-results) .welcome-message .brand-spark{width:44px;height:44px}
  body:not(.has-results) .welcome-message h2{font-size:30px}
  body:not(.has-results) .welcome-message>p{font-size:15px;line-height:1.4}
  body:not(.has-results) .search-stage{gap:12px}
  body:not(.has-results) #search-form{padding:15px 17px 10px}
  body:not(.has-results) #question{font-size:19px;min-height:56px}
  body:not(.has-results) .example-prompts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  body:not(.has-results) .more-example-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  body:not(.has-results) .example-prompts button{font-size:13px;min-height:43px;padding:8px 10px}
  body:not(.has-results) .manager-preview-note{padding:10px 17px 12px}
}
@media(max-width:380px){body:not(.has-results) .example-prompts,body:not(.has-results) .more-example-grid{grid-template-columns:1fr}}
/* Answer screen: denser reading and a smaller follow-up composer. */
.has-results .search-header{min-height:78px;padding-block:14px}
.has-results .search-brand .finatal-logo{width:132px}
.has-results .conversation{max-width:780px;padding:20px 22px 24px}
.has-results .chat-turn{margin-bottom:25px}
.has-results .user-message{margin-bottom:18px}
.has-results .user-message p{padding:10px 15px;font-size:15px}
.has-results .assistant-heading{margin-bottom:11px}
.has-results .assistant-heading .brand-spark{width:33px;height:33px;border-radius:10px}
.has-results .assistant-heading h2{font-size:15px}
.has-results .assistant-heading small{font-size:12px}
.has-results .answer-title{font-size:19px}
.has-results .single-stat{padding:15px 19px;margin:10px 0;border-radius:15px}
.has-results .single-stat::before{top:17px;bottom:17px}
.has-results .single-stat h3{font-size:15px}
.has-results .single-stat strong{font-size:clamp(32px,3.2vw,42px);line-height:1.1;margin:8px 0}
.has-results .single-stat p{font-size:13px}
.has-results .stat-grid{gap:10px}
.has-results .search-stage{padding:9px 20px max(10px,env(safe-area-inset-bottom))}
.has-results .search-composer{width:min(760px,100%);border-radius:16px}
.has-results #search-form{padding:10px 16px 8px}
.has-results #question{min-height:38px;max-height:90px;font-size:16px;line-height:1.35}
.has-results .search-submit{width:35px;height:35px}
.has-results .manager-preview-note{padding:6px 16px;font-size:11px;line-height:1.3}
@media(max-width:650px){
  .has-results .search-header{min-height:70px;padding:12px 18px}
  .has-results .conversation{padding:16px 16px 20px}
  .has-results .single-stat{padding:14px 16px}
  .has-results .single-stat strong{font-size:34px}
  .has-results .search-stage{padding:7px 10px max(8px,env(safe-area-inset-bottom))}
  .has-results #search-form{padding:9px 13px 7px}
  .has-results #question{min-height:36px;font-size:16px}
  .has-results .manager-preview-note{padding:5px 13px;font-size:11px}
}

/* Ask Finatal landing: a compact, spacious question surface. */
body[data-page="search"]{background:#fff}
body[data-page="search"] .search-header{min-height:78px;padding:14px clamp(20px,4vw,58px);background:#fff;border-bottom:0;color:var(--purple);box-shadow:none}
body[data-page="search"] .search-brand{display:flex;flex-direction:column;align-items:flex-start;gap:1px;color:var(--purple)}
body[data-page="search"] .search-brand .finatal-logo{width:132px;height:auto}
body[data-page="search"] .search-brand span{border:0;padding:0;font-size:12px;line-height:1.2;font-weight:500;letter-spacing:.02em;text-transform:none;color:var(--purple)}
body[data-page="search"] .new-chat{color:var(--purple)}
body[data-page="search"]:not(.has-results) #main{width:min(980px,calc(100% - 40px));gap:24px;padding:18px 0 60px;justify-content:safe center}
body[data-page="search"]:not(.has-results) .welcome-message{animation:none}
body[data-page="search"]:not(.has-results) .welcome-message h2{max-width:780px;margin:0 auto;font-size:clamp(22px,2.25vw,29px);line-height:1.3;letter-spacing:-.025em;font-weight:400;color:var(--ink);text-align:center}
body[data-page="search"]:not(.has-results) .search-stage{gap:16px}
body[data-page="search"]:not(.has-results) .search-composer{width:min(760px,100%);border:1px solid #d8c2df;border-radius:22px;box-shadow:0 4px 18px #4f00580d;animation:none}
body[data-page="search"]:not(.has-results) .search-composer:focus-within{border-color:#9867a4;box-shadow:0 0 0 3px #4f005812,0 4px 18px #4f00580f}
body[data-page="search"]:not(.has-results) #search-form{padding:19px 22px 15px}
body[data-page="search"]:not(.has-results) #question{min-height:60px;font-size:20px;color:var(--ink)}
body[data-page="search"]:not(.has-results) #question::placeholder{color:#85788b}
body[data-page="search"]:not(.has-results) .search-submit{width:38px;height:38px;box-shadow:none}
body[data-page="search"]:not(.has-results) .example-prompts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 43px;gap:11px;width:min(850px,100%);padding:0;border:0;background:transparent}
body[data-page="search"]:not(.has-results) .example-prompts button{width:100%;min-width:0;min-height:43px;padding:9px 12px;border:1px solid #e9e2ec;border-radius:999px;background:#fff;color:var(--purple);font-size:14px;line-height:1.25;white-space:nowrap;justify-content:center;gap:7px;box-shadow:0 2px 12px #4f005806}
body[data-page="search"]:not(.has-results) .example-prompts button[hidden]{display:none!important}
body[data-page="search"]:not(.has-results) .example-prompts button:hover{border-color:#b99ac3;background:#fbf8fc}
body[data-page="search"]:not(.has-results) .example-prompts button span{font-size:15px;color:var(--purple)}
body[data-page="search"]:not(.has-results) .example-prompts .prompt-icon{display:inline-grid;place-items:center;flex:none;width:20px;height:20px;border-radius:50%;background:#f4edf6;font-size:13px;line-height:1}
body[data-page="search"]:not(.has-results) .example-prompts .prompt-rotation-toggle{width:43px;min-width:43px;justify-content:center;padding:8px;font-size:15px}
body[data-page="search"]:not(.has-results) .manager-preview-note{max-width:730px;margin:0 auto;padding:0;border:0;background:transparent;text-align:center;font-size:12px;line-height:1.45;color:var(--muted)}
body[data-page="search"]:not(.has-results) .manager-preview-note strong{margin-right:5px}
.has-results .example-prompts,.has-results .manager-preview-note{display:none!important}
@media(max-width:700px){
 body[data-page="search"] .search-header{min-height:70px;padding:12px 18px}
 body[data-page="search"] .search-brand .finatal-logo{width:113px}
 body[data-page="search"]:not(.has-results) #main{width:calc(100% - 32px);gap:20px;padding:26px 0 42px}
 body[data-page="search"]:not(.has-results) .welcome-message h2{font-size:clamp(20px,4.3vw,24px)}
 body[data-page="search"]:not(.has-results) .example-prompts{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:9px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x proximity}
 body[data-page="search"]:not(.has-results) .example-prompts button{width:auto;flex:none;font-size:13px;min-height:42px;padding:8px 12px;scroll-snap-align:start}
}

/* A smaller landing mark and suggestions aligned to the composer. */
body[data-page="search"]:not(.has-results) .welcome-fina-mark{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 17px;border-radius:14px;box-shadow:0 8px 24px #4f005822}
body[data-page="search"]:not(.has-results) .welcome-fina-mark .fina-avatar{width:52%;height:70%;object-fit:contain}
body[data-page="search"]:not(.has-results) .example-prompts{width:min(760px,100%);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body[data-page="search"]:not(.has-results) .example-prompts button{overflow:hidden;text-overflow:ellipsis;font-size:13px;padding-inline:9px}
@media(max-width:700px){body[data-page="search"]:not(.has-results) .example-prompts{width:min(760px,100%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible;padding:0}body[data-page="search"]:not(.has-results) .example-prompts button{white-space:normal;min-height:49px;padding:7px 6px;font-size:11px;line-height:1.15}body[data-page="search"]:not(.has-results) .example-prompts .prompt-icon{width:17px;height:17px;font-size:11px}}

/* Keep more findings in view without reducing the size of the body copy. */
.has-results .answer-figure{padding:11px 12px;margin:2px 0 16px;border-radius:14px}
.has-results .answer-part-label{margin-bottom:8px;font-size:11px}
.has-results .answer-figure .single-stat{padding:11px 14px;margin:0;border-radius:11px}
.has-results .answer-figure .single-stat::before{top:12px;bottom:12px;width:3px}
.has-results .answer-figure .single-stat h3{font-size:14px}
.has-results .answer-figure .single-stat strong{font-size:clamp(29px,3vw,37px);margin:4px 0;line-height:1.12}
.has-results .answer-figure .single-stat p{font-size:12px;line-height:1.35}
.has-results .answer-figure .stat-grid{gap:7px}
.has-results .answer-figure .visual-answer{border-radius:10px}
.has-results .answer-figure .visual-toolbar{padding:9px 12px}
.has-results .answer-figure .bar-chart{padding:12px 14px 8px}
.has-results .answer-figure .chart-row{margin-bottom:10px}
.has-results .answer-figure .chart-label{margin-bottom:4px;font-size:13px}
.has-results .answer-figure .bar-track{height:10px}
.has-results .answer-figure .chart-scale{font-size:11px;padding-top:6px}
.has-results .answer-figure .result-table{max-height:320px}
.has-results .answer-figure th,.has-results .answer-figure td{padding:8px 10px}
@media(max-width:650px){.has-results .answer-figure{padding:9px}.has-results .answer-figure .single-stat{padding:10px 12px}.has-results .answer-figure .single-stat strong{font-size:31px}}
/* Latest editions stay within the prompt width and wrap naturally on mobile. */
.latest-reports{width:min(760px,100%);margin:8px auto 0;text-align:center}
.latest-reports h2{font-size:14px;font-weight:500;line-height:1.4;color:var(--purple);margin:0 0 12px}
.latest-report-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.latest-report-links a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;max-width:100%;padding:8px 14px;border:1px solid #e3d7e7;border-radius:999px;background:#fff;color:var(--purple);font-size:14px;line-height:1.35;text-decoration:none}
.latest-report-links a span{font-size:12px;color:var(--muted);white-space:nowrap}
.latest-report-links a:hover{background:#f8f3fa;border-color:#b99ac3}
.latest-report-links a:focus-visible{outline:2px solid #4f0058;outline-offset:3px}
.has-results .latest-reports{display:none}

.prompt-suggestions-title{max-width:760px;margin:20px auto 9px;font-size:13px;font-weight:600;color:#4f0058}.has-results .prompt-suggestions-title{display:none}.example-prompts button{white-space:normal;text-align:left;line-height:1.45;align-items:flex-start;padding:12px 14px;min-width:0}.example-prompts{align-items:stretch}.example-prompts .prompt-icon{flex-shrink:0}
/* Keep report navigation and feedback on separate, spaced lines. */
.assistant-message > .answer-feedback{display:block;width:fit-content;max-width:100%;margin:16px 0 4px;line-height:1.5;overflow-wrap:anywhere}
.assistant-message > .chat-answer-cta{max-width:100%;white-space:normal;line-height:1.4}
body[data-page="search"]:not(.has-results) .example-prompts button{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;text-align:left;justify-content:flex-start;align-items:flex-start;line-height:1.45;padding:12px;border-radius:16px;height:auto;min-height:76px}
body[data-page="search"]:not(.has-results) .example-prompts .prompt-icon{flex-shrink:0;margin-top:1px}

.latest-report-links a.latest-report-all{background:#4f0058;color:#fff;border-color:#4f0058}.latest-report-links a.latest-report-all span{color:inherit}.latest-report-links a.latest-report-all:hover{background:#6a1473;border-color:#6a1473}

/* Give table findings, report context and actions distinct, padded areas. */
.has-results .answer-figure{display:grid;gap:16px;padding:16px;min-width:0}
.has-results .answer-figure .visual-answer{min-width:0}
.has-results .answer-figure .visual-toolbar{padding:14px 16px;gap:12px 20px;align-items:center}
.has-results .answer-figure .visual-title{flex:1 1 160px;min-width:0;line-height:1.5;overflow-wrap:anywhere}
.has-results .answer-figure .visual-toolbar>.chat-report-access{flex:0 1 210px;min-width:0}
.has-results .answer-figure th,.has-results .answer-figure td{padding:12px 16px;line-height:1.5}
.has-results .answer-figure .visual-answer>.benchmark-context{margin:0;padding:14px 16px;border-top:1px solid var(--line);background:#fcf9fd;font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.has-results .answer-figure .single-stat>.benchmark-context{margin-bottom:10px}
@media(max-width:650px){.has-results .answer-figure{padding:12px;gap:12px}.has-results .answer-figure .visual-toolbar{padding:12px}.has-results .answer-figure .visual-answer>.benchmark-context{padding:12px}.has-results .answer-figure th,.has-results .answer-figure td{padding:11px 12px}}
