/* Shared slider controls for the home search and the result filters. */
.investor-preferences{border:1px solid #c3d9e1;border-radius:18px;background:#edf4f6;padding:20px;margin:20px 0;color:#18323d}
.investor-preferences[hidden]{display:none}
.investor-section-title{display:flex;align-items:center;gap:10px;color:#0e5b70}
.investor-section-title>svg{width:23px;height:23px;flex-shrink:0}
.investor-section-title h2{font:700 19px/1.35 var(--font-ui);letter-spacing:0;margin:0!important}
.investor-preferences .investor-intro{font-size:13px;line-height:1.5;margin:8px 0 20px;color:#536e79}
.investor-numeric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.investor-preferences label.investor-range-card,#investment-filter-section label.investor-range-card{display:flex;flex-direction:column;min-width:0;margin:0;padding:16px;background:#fff;border:1px solid #c7dce3;border-radius:12px;gap:8px;font-size:13px;line-height:1.35;font-weight:600}
.investor-range-card>span:first-child{min-height:36px}
.investor-range-card output{font-size:21px;line-height:1.3;color:#0e5b70;white-space:normal;overflow-wrap:normal}
.investor-preferences .investor-note,#investment-filter-section .investor-note{font-size:11px;line-height:1.6;color:#56717b;margin:12px 0 0}
.investor-preferences .investor-goals-heading,#investment-filter-section .investor-goals-heading{font:700 14px/1.5 var(--font-ui);letter-spacing:0;margin:24px 0 12px;color:#183e4c}
.investor-goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.investor-preferences label.investor-goal-card,#investment-filter-section label.investor-goal-card{display:flex;flex-direction:column;align-items:center;min-width:0;margin:0;padding:16px 12px 12px;border:1px solid #c7dce3;border-radius:12px;background:#fff;transition:background .15s,border-color .15s}
.investor-goal-icon{display:grid;place-items:center;background:#e6f0f4;color:#0e5b70;width:42px;height:42px;border-radius:13px;margin-bottom:10px}
.investor-goal-icon svg{width:24px;height:24px}
.investor-goal-card strong{font-size:13px;line-height:1.4;min-height:36px;text-align:center;display:flex;align-items:center;color:#183e4c}
.investor-preferences .investor-goal-card[data-level="1"],#investment-filter-section .investor-goal-card[data-level="1"]{background:#e5f0f4;border-color:#8db5c4}
.investor-preferences .investor-goal-card[data-level="2"],#investment-filter-section .investor-goal-card[data-level="2"]{background:#d9ebf1;border-color:#0e5b70}
.investor-goal-card[data-level="2"] .investor-goal-icon{background:#0e5b70;color:white}
.investor-preferences input.investor-range,#investment-filter-section input.investor-range{display:block;appearance:none;-webkit-appearance:none;width:100%;height:44px;min-height:44px;border:0;border-radius:0;background:transparent;margin:0;padding:0;box-shadow:none;cursor:pointer;accent-color:#0e5b70}
.investor-range::-webkit-slider-runnable-track{height:6px;border-radius:8px;background:linear-gradient(to right,#0e5b70 0%,#0e5b70 var(--range-fill),#d5e3e8 var(--range-fill),#d5e3e8 100%)}
.investor-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:25px;height:25px;border-radius:50%;border:3px solid #0e5b70;background:white;margin-top:-9.5px;box-shadow:0 2px 5px #123a4c22}
.investor-range::-moz-range-track{height:6px;background:#d5e3e8;border-radius:8px}
.investor-range::-moz-range-progress{height:6px;background:#0e5b70;border-radius:8px}
.investor-range::-moz-range-thumb{height:19px;width:19px;border:3px solid #0e5b70;background:white;border-radius:50%}
.investor-range:focus-visible{outline:2px solid #0e5b70!important;outline-offset:3px;border-radius:5px!important}
.investor-range-scale,.investor-goal-scale{display:flex;justify-content:space-between;width:100%;gap:4px;font-size:10px;line-height:1.4;color:#526b76;font-weight:400}
.investor-goal-scale>span{min-width:0}
.investor-goal-card[data-level="0"] .investor-goal-scale>span:first-child,.investor-goal-card[data-level="1"] .investor-goal-scale>span:nth-child(2),.investor-goal-card[data-level="2"] .investor-goal-scale>span:last-child{color:#0e5b70;font-weight:700}
.investor-preferences .investor-reset{min-height:44px;border:0;background:none;padding:12px 0 0;color:#0e5b70;font-size:12px;text-decoration:underline;cursor:pointer}
.investor-search-brief{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#edf4f6;border:1px solid #c7dde3;padding:14px 18px;border-radius:12px;margin:18px 0;font-size:12px;line-height:1.6;color:#315767}
.investor-search-brief p{margin:0;max-width:720px}
.investor-search-brief a{color:#0e5b70;font-weight:700;flex-shrink:0;text-underline-offset:3px}
@media(max-width:1100px){.investor-preferences .investor-numeric-grid{grid-template-columns:1fr}.investor-preferences .investor-range-card>span:first-child{min-height:0}}
@media(max-width:600px){.investor-preferences{padding:16px}.investor-search-brief{align-items:flex-start;flex-direction:column;gap:8px}#investment-filter-section .investor-numeric-grid{grid-template-columns:1fr}#investment-filter-section .investor-range-card>span:first-child{min-height:0}}
@media(max-width:420px){.investor-goal-grid{grid-template-columns:1fr}.investor-preferences label.investor-goal-card,#investment-filter-section label.investor-goal-card{display:grid;grid-template-columns:36px 1fr;gap:0 10px;padding:12px 14px}.investor-goal-icon{width:36px;height:36px;border-radius:11px;margin:0}.investor-goal-icon svg{width:22px;height:22px}.investor-goal-card strong{text-align:left;min-height:0}.investor-goal-card .investor-range,.investor-goal-card .investor-goal-scale{grid-column:1/-1}.investor-goal-scale{font-size:11px}}
@media(prefers-reduced-motion:reduce){.investor-goal-card{transition:none!important}}

/* Also adapt to the narrow home column on tablet-sized screens. */
.investor-preferences,#investment-filter-section{container-type:inline-size;container-name:investor-controls}
@container investor-controls (max-width:370px){.investor-goal-grid{grid-template-columns:1fr}.investor-preferences label.investor-goal-card,#investment-filter-section label.investor-goal-card{display:grid;grid-template-columns:36px 1fr;gap:0 10px;padding:12px 14px}.investor-goal-icon{width:36px;height:36px;border-radius:11px;margin:0}.investor-goal-icon svg{width:22px;height:22px}.investor-goal-card strong{text-align:left;min-height:0}.investor-goal-card .investor-range,.investor-goal-card .investor-goal-scale{grid-column:1/-1}.investor-goal-scale{font-size:11px}}

/* Home only: compact disclosure; the result filters keep their existing layout. */
.investor-preferences.investor-disclosure{padding:0;border-radius:16px}
.investor-disclosure>summary{display:flex;align-items:center;gap:12px;padding:17px 18px;min-height:76px;cursor:pointer;list-style:none}
.investor-disclosure>summary::-webkit-details-marker{display:none}
.investor-disclosure>summary:focus-visible{outline:3px solid #0e5b70;outline-offset:3px;border-radius:14px}
.investor-summary-icon{display:grid;place-items:center;flex-shrink:0;width:39px;height:39px;border-radius:11px;background:#dcecf1;color:#0e5b70}
.investor-summary-icon svg{width:22px;height:22px}
.investor-summary-copy{flex:1;min-width:0}
.investor-summary-copy strong{display:block;font-size:15px;line-height:1.4;color:#0e5b70}
.investor-summary-copy small{display:block;font-size:11px;line-height:1.5;color:#536e79;margin-top:4px}
.investor-summary-action{display:flex;align-items:center;gap:8px;color:#0e5b70;font-size:11px;white-space:nowrap}
.investor-summary-action b{display:grid;place-items:center;min-width:23px;height:23px;border-radius:50%;background:#dcecf1;font-size:11px}
.investor-collapse-label{display:none}
.investor-disclosure[open] .investor-expand-label{display:none}
.investor-disclosure[open] .investor-collapse-label{display:inline}
.investor-disclosure[open] .investor-summary-action>svg{transform:rotate(180deg)}
.investor-disclosure-content{padding:0 18px 18px}
@container investor-controls (max-width:400px){.investor-disclosure>summary{gap:9px;padding:15px 13px}.investor-summary-copy strong{font-size:13px}.investor-summary-copy small{font-size:10px}.investor-summary-action>span{display:none}.investor-disclosure-content{padding:0 13px 15px}}
