/* Additive controls matching existing chips and palette. */
[hidden] { display: none !important; }
.comparison-tools { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 16px; }
.comparison-tools .chip { cursor:pointer; font:inherit; min-height:40px; }
.comparison-tools .chip:disabled { opacity:.5; cursor:wait; }
.comparison-summary { margin:12px 0; font-size:14px; line-height:1.7; color:#345545; }
.comparison-status { font-size:13px; line-height:1.5; margin:8px 0; color:#345545; }
.comparison-results { max-width:100%; overflow:auto; border:1px solid #dce8de; border-radius:12px; }
.comparison-results-table { width:100%; min-width:880px; border-collapse:collapse; font-size:14px; text-align:right; }
.comparison-results-table caption { padding:12px; font-weight:600; text-align:right; }
.comparison-results-table th,.comparison-results-table td { padding:12px 10px; border-bottom:1px solid #e4ece6; }
.comparison-results-table thead { background:#edf6ee; }
.comparison-results-table tbody tr:nth-child(even) { background:#f8fbf8; }
.comparison-results-table input { width:18px; height:18px; accent-color:#23833e; }
#comparisonShareFallback input { display:block; width:100%; padding:8px; }
.lead-field-error { display:block; color:#a52121; font-size:13px; line-height:1.5; }
.lead-consent { flex-wrap:wrap; }
.lead-consent .lead-field-error { flex-basis:100%; }
[aria-invalid="true"] { outline:2px solid #a52121; outline-offset:2px; }
.selected-funds-table caption { font-size:13px; margin-bottom:8px; }
@media(max-width:640px) { .comparison-tools .chip { font-size:13px; padding:8px 10px; } }

/* Identify the selected return period and descending order in table view. */
.comparison-sort-note { margin:0; padding:12px; color:#07577f; background:#eaf6fd; font-weight:700; line-height:1.6; }
.comparison-results-table thead th.is-sort-column { background:#087cac; color:#fff; }
.comparison-sort-direction { display:block; white-space:nowrap; margin-top:4px; font-size:12px; font-weight:600; }
.comparison-results-table tbody td.is-sort-column { background:#e4f3fc; color:#064d75; font-weight:700; box-shadow:inset 1px 0 #b9dcec,inset -1px 0 #b9dcec; }
