.public-page:has(.fund-page) { background: #f8f7f3; }
.fund-page { padding-block: 24px 65px; }
.fund-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: #64748b; font-size: 12px; line-height: 2; }
.fund-breadcrumb a:hover { color: #0e7772; }
.fund-search-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; align-items: center; padding: 40px 0 35px; }
.fund-search-intro h1 { font-size: clamp(34px, 3.5vw, 49px); margin: 12px 0; line-height: 1.6; }
.fund-search-intro h1 em { color: #49726e; }
.fund-search-intro .intro-text { max-width: 560px; color: #586675; margin-top: 16px; }
.fund-intro-art { position: relative; height: 275px; max-width: 390px; width: 100%; margin-inline: auto; }
.fund-art-orbit { position: absolute; width: 235px; height: 235px; border: 1px solid #b6cac7; border-radius: 50%; top: 20px; left: calc(50% - 118px); }
.fund-art-orbit::after { content: ''; position: absolute; inset: 26px; border: 1px dashed #d1dbd6; border-radius: 50%; }
.fund-art-core { position: absolute; left: calc(50% - 44px); top: 93px; background: #fbbf24; width: 88px; height: 88px; display: grid; place-content: center; text-align: center; border-radius: 23px; font-size: 39px; color: #112138; box-shadow: 0 12px 35px #caa31e22; }
.fund-art-core small { font-size: 14px; font-weight: 800; }
.fund-art-note { position: absolute; display: flex; align-items: center; gap: 12px; background: white; border: 1px solid #dbe4dd; padding: 18px; border-radius: 15px; color: #385956; box-shadow: 0 10px 25px #29403508; font-size: 13px; }
.fund-art-note svg { width: 26px; height: 26px; }
.fund-art-note.note-one { top: 10px; right: 7px; transform: rotate(4deg); }
.fund-art-note.note-two { bottom: 25px; right: -8px; transform: rotate(-3deg); }
.fund-art-note.note-three { top: 119px; left: -10px; transform: rotate(-5deg); }
.fund-art-orbit { animation: fund-orbit-turn 32s linear infinite; }
.fund-art-orbit::before { content: ''; position: absolute; top: -4px; left: calc(50% - 4px); width: 8px; height: 8px; background: #3b8d83; border: 2px solid #f8f7f3; border-radius: 50%; box-shadow: 0 0 0 5px #3b8d8310; }
.fund-art-core { animation: fund-core-glow 4s ease-in-out infinite; }
.fund-art-note { animation: fund-note-float 6s ease-in-out infinite; }
.fund-art-note.note-one { --tilt: 4deg; animation-delay: -.7s; }
.fund-art-note.note-two { --tilt: -3deg; animation-delay: -2.7s; animation-duration: 7s; }
.fund-art-note.note-three { --tilt: -5deg; animation-delay: -4.2s; animation-duration: 6.5s; }
.fund-intro-art:hover .fund-art-orbit, .fund-intro-art:hover .fund-art-core, .fund-intro-art:hover .fund-art-note { animation-play-state: paused; }
@keyframes fund-orbit-turn { to { transform: rotate(360deg); } }
@keyframes fund-note-float {
  0%, 100% { transform: translateY(0) rotate(var(--tilt)); }
  50% { transform: translateY(-9px) rotate(calc(var(--tilt) + 1deg)); }
}
@keyframes fund-core-glow {
  0%, 100% { box-shadow: 0 12px 35px #caa31e22, 0 0 0 0 #fbbf2400; }
  50% { box-shadow: 0 12px 40px #caa31e33, 0 0 0 12px #fbbf240b; }
}
@media (prefers-reduced-motion: reduce) {
  .fund-art-orbit, .fund-art-core, .fund-art-note { animation: none; }
}
.fund-search-panel { border: 1px solid #dbe3df; background: white; padding: 28px 30px; border-radius: 20px; box-shadow: 0 15px 35px #27443405; }
.fund-search-panel label { display: block; margin-bottom: 13px; font-size: 17px; font-weight: 750; }
.fund-search-row { display: flex; gap: 12px; }
.fund-input-wrap { position: relative; flex: 1; min-width: 0; }
.fund-input-wrap > svg { position: absolute; width: 21px; height: 21px; right: 17px; top: 18px; color: #7b8e8c; pointer-events: none; }
.fund-input-wrap input { width: 100%; min-height: 57px; border-radius: 10px; border: 1px solid #d1ddd6; background: #f9fbfa; color: #152b3f; padding: 13px 48px 13px 16px; font: inherit; font-size: 16px; }
.fund-input-wrap input:focus { outline: 2px solid #3a8b83; outline-offset: 2px; background: white; }
.fund-search-row .button { border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; min-width: 155px; }
.fund-search-status { color: #617774; font-size: 12px; margin: 0; }
.fund-search-status:not(:empty) { margin-top: 10px; }
.fund-suggestions { position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 20; border: 1px solid #cbd9d3; background: white; border-radius: 12px; box-shadow: 0 15px 35px #0b12201c; padding: 6px; max-height: 320px; overflow: auto; }
.fund-suggestions [role=option] { padding: 13px; cursor: pointer; border-radius: 7px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fund-suggestions [role=option]:hover, .fund-suggestions [aria-selected=true] { background: #eaf4f0; }
.fund-suggestions small { color: #6f827e; font-size: 11px; }
.fund-examples { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; font-size: 12px; color: #788880; }
.fund-examples a { background: #f2f6f3; color: #3e655e; border: 1px solid #e0e8e1; padding: 7px 16px; border-radius: 30px; font-weight: 650; }
.fund-examples a:hover { border-color: #3a8b83; }
.fund-not-found { font-size: 14px; color: #9e4c37; }
.fund-how { padding-top: 45px; }
.fund-how > h2 { font-size: 23px; margin: 0 0 22px; }
.fund-how > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.fund-how article > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; background: #f9ecc1; color: #866718; font-weight: 700; }
.fund-how h3 { font-size: 16px; margin: 13px 0 6px; }
.fund-how p { font-size: 13px; color: #63736c; margin: 0; }
.fund-company-header { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding: 35px 0 28px; }
.fund-company-header h1 { font-size: 36px; margin: 6px 0 0; }
.fund-company-meta { display: grid; gap: 9px; font-size: 12px; color: #687a75; }
.fund-ai-button { margin-inline-start: auto; background: #112138; color: #fff; border: 1px solid #112138; font-size: 13px; }
.fund-ai-button:hover { background: #203c51; }
.fund-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fund-category { background: white; border: 1px solid #dce5df; border-radius: 19px; padding: 27px 24px 12px; }
.fund-category-icon { display: grid; place-items: center; width: 48px; height: 48px; background: #eaf4ee; color: #338078; border-radius: 13px; }
.fund-category-icon svg { width: 26px; height: 26px; }
.fund-category h2 { font-size: 21px; margin: 18px 0 7px; color: #111111; }
.fund-category > p { color: #718078; font-size: 12px; margin: 0 0 23px; }
.fund-category-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #e9eee9; padding: 19px 0; color: #0878d1; }
.fund-category-links a strong { display: block; font-size: 14px; font-weight: 750; }
.fund-category-links a small { display: block; font-size: 11px; color: #7d8b81; line-height: 1.85; margin-top: 5px; }
.fund-category-links a > span:last-child { color: inherit; }
.fund-category-links a:hover { color: #005aaa; }
.fund-category-links a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.fund-company-data { margin-top: 40px; }
.fund-block-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 19px; }
.fund-block-heading h2 { font-size: 22px; margin: 0; }
.fund-block-heading p { color: #6d8075; font-size: 12px; margin: 6px 0 0; }
.fund-text-button { border: 1px solid #cddbd2; border-radius: 8px; background: transparent; padding: 10px 14px; font: inherit; font-size: 12px; cursor: pointer; color: #42695e; }
.fund-text-button:disabled { opacity: .5; cursor: wait; }
.fund-company-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fund-company-data-grid > article { background: white; border: 1px solid #dce5df; border-radius: 18px; padding: 24px; min-width: 0; }
.fund-company-data-grid h3 { margin: 0 0 18px; font-size: 17px; color: #111111; }
.fund-company-row { padding: 14px 0; border-top: 1px solid #e7ede7; display: flex; gap: 18px; justify-content: space-between; align-items: start; }
.fund-company-row strong { font-size: 13px; line-height: 1.85; display: block; }
.fund-company-row small { display: block; color: #7b8a81; font-size: 10px; margin-top: 5px; line-height: 1.8; }
.fund-company-row > b { color: #287a6d; white-space: nowrap; font-size: 15px; }
.fund-company-row[href] { color: #0878d1; }
.fund-company-row:hover[href] { color: #005aaa; }
.fund-company-row[href]:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.fund-muted { color: #79867f; font-size: 13px; }
.fund-workspace { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 30px; align-items: start; }
.fund-sidebar { position: sticky; top: 25px; padding: 18px; background: #edf2ed; border: 1px solid #dce5da; border-radius: 15px; }
.fund-sidebar h2 { color: #7a877c; font-size: 11px; margin: 7px 10px 10px; }
.fund-sidebar > div + div { margin-top: 20px; }
.fund-sidebar a { display: block; padding: 10px; border-radius: 7px; font-size: 12px; line-height: 1.8; color: #445f52; }
.fund-sidebar a[aria-current], .fund-sidebar a:hover { background: white; color: #0b7066; font-weight: 750; }
.fund-report { min-width: 0; }
.fund-report-heading { padding: 5px 0 24px; }
.fund-report-heading h2 { font-size: 30px; margin: 10px 0 12px; }
.fund-report-heading p { color: #607566; font-size: 14px; margin: 0; }
.fund-tone-positive { color: #157347; background: #edf7ef; }
.fund-tone-negative { color: #b23a3a; background: #fff0ee; }
.fund-tone-caution { color: #88600f; background: #fff6df; }
.fund-report span[class^="fund-tone-"]:not(.fund-tone-legend) { border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.fund-tone-legend { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; }
.fund-tone-legend > span { border-radius: 20px; padding: 4px 10px; font-size: 10px; }
.fund-data-status { display: inline-block; margin-top: 14px; color: #896d2c; background: #fbf2d9; padding: 6px 12px; border-radius: 6px; font-size: 11px; line-height: 1.8; }
.fund-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fund-metric { padding: 25px; background: white; border: 1px solid #dce5df; border-radius: 16px; min-width: 0; overflow: hidden; }
.fund-metric-label { font-size: 13px; color: #698175; }
.fund-metric-value { display: block; font-size: 27px; margin: 16px 0 22px; font-weight: 800; overflow-wrap: anywhere; }
.fund-chart-caption { font-size: 10px; color: #708a7a; }
.fund-chart-scroll { overflow: auto; }
.fund-chart { direction: ltr; display: flex; gap: 10px; min-width: min-content; height: 137px; border-bottom: 1px solid #e4ebe5; padding-bottom: 30px; margin-bottom: 17px; background-image: repeating-linear-gradient(to top, transparent 0 32px, #edf1eb 33px 34px); background-size: 100% 100px; background-repeat: no-repeat; }
.fund-bar-point { flex: 1; min-width: 20px; text-align: center; }
.fund-bar-track { height: 100px; position: relative; }
.fund-bar { display: block; position: absolute; bottom: 0; left: 15%; width: 70%; height: var(--height); background: #3b8d83; border-radius: 4px 4px 0 0; }
.fund-bar.is-negative { background: #c46e70; }
.fund-chart.is-diverging .fund-bar { height: var(--split-height); bottom: 50%; }
.fund-chart.is-diverging .fund-bar.is-negative { top: 50%; bottom: auto; border-radius: 0 0 4px 4px; }
.fund-bar-point > span { font-size: 8px; line-height: 1.4; color: #7a8b7d; display: block; margin-top: 5px; }
.fund-evidence { border-top: 1px solid #e3eae4; padding-top: 14px; }
.fund-evidence summary, .fund-source-files summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 650; color: #417e71; }
.fund-evidence summary::-webkit-details-marker, .fund-source-files summary::-webkit-details-marker { display: none; }
.fund-evidence p, .fund-evidence dl { font-size: 11px; line-height: 2; color: #64796b; }
.fund-evidence dl div { margin-top: 10px; }
.fund-evidence dt { font-weight: 750; color: #455e50; }
.fund-evidence dd { margin: 0; overflow-wrap: anywhere; }
.fund-insights, .fund-saved-report { margin-top: 22px; padding: 25px; border: 1px solid #dce5df; background: white; border-radius: 16px; }
.fund-insights h3, .fund-saved-report h3, .fund-subheading { font-size: 18px; margin: 0 0 15px; }
.fund-insights ul { font-size: 14px; line-height: 2.1; color: #5d7465; padding-inline-start: 20px; }
.fund-saved-report pre { font: inherit; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 2.2; color: #4f6959; }
.fund-subheading { margin-top: 30px; }
.fund-source-files { margin-top: 25px; padding: 22px; border: 1px solid #dce5df; border-radius: 12px; }
.fund-source-files ul { padding-inline-start: 20px; }
.fund-source-files li { font-size: 12px; line-height: 2; overflow-wrap: anywhere; margin-top: 10px; }
.fund-source-files small { display: block; color: #839081; }
.fund-empty { padding: 45px 25px; text-align: center; border: 1px solid #dce5df; border-radius: 18px; background: white; }
.fund-empty svg { width: 44px; height: 44px; color: #9dafa1; }
.fund-empty h3 { font-size: 20px; }
.fund-empty p { color: #6c8171; font-size: 13px; max-width: 480px; margin-inline: auto; }
.fund-empty a { display: inline-block; color: #2b7c6d; font-size: 13px; margin-top: 15px; }
@media (max-width: 1000px) {
  .fund-search-intro { gap: 35px; }
  .fund-category-grid { gap: 14px; }
  .fund-category { padding: 22px 18px 10px; }
  .fund-category h2 { font-size: 18px; }
  .fund-workspace { grid-template-columns: 205px minmax(0, 1fr); gap: 22px; }
  .fund-metric { padding: 20px; }
}
@media (max-width: 800px) {
  .fund-search-intro { grid-template-columns: 1fr; gap: 12px; padding-top: 25px; }
  .fund-intro-art { height: 250px; }
  .fund-search-panel { padding: 23px; }
  .fund-how > div { gap: 22px; }
  .fund-category-grid { grid-template-columns: 1fr; }
  .fund-company-header { gap: 20px; }
  .fund-company-data-grid { grid-template-columns: 1fr; }
  .fund-workspace { grid-template-columns: 1fr; gap: 24px; }
  .fund-sidebar { position: static; display: flex; overflow: auto; gap: 18px; }
  .fund-sidebar > div { flex: 0 0 200px; }
  .fund-sidebar > div + div { margin-top: 0; }
  .fund-report-heading h2 { font-size: 26px; }
}
@media (max-width: 500px) {
  .fund-page { padding-top: 18px; }
  .fund-search-row { flex-direction: column; }
  .fund-search-row .button { min-height: 50px; justify-content: center; }
  .fund-search-intro h1 { font-size: 32px; }
  .fund-search-intro .intro-text { font-size: 14px; }
  .fund-search-panel { padding: 20px; }
  .fund-how > div { grid-template-columns: 1fr; }
  .fund-ai-button { width: 100%; justify-content: center; }
  .fund-company-meta { font-size: 11px; }
  .fund-metrics { grid-template-columns: 1fr; }
  .fund-metric-value { font-size: 26px; }
  .fund-block-heading h2 { font-size: 18px; }
  .fund-art-note.note-two { right: 0; }
  .fund-art-note.note-three { left: 0; }
}
