:root{--card:#fff;--line:#e6ebf2}
body.fund-page{overflow-x:visible;display:block;color:var(--text)}
.fund-workspace{width:100%;min-height:calc(100vh - 160px)}
.fund-view-tabs{display:flex;gap:35px;border-bottom:1px solid #e0e7f0;margin-bottom:24px}
.fund-view-tabs a{display:flex;align-items:center;gap:11px;padding:16px 0;color:#8694a8;font-size:15px;border-bottom:2px solid transparent;text-decoration:none}
.fund-view-tabs a span{font:9px Arial,sans-serif;letter-spacing:1px;color:#a2adbd}
.fund-view-tabs a[aria-current]{color:var(--brand);border-color:var(--brand);font-weight:600}
.fund-workspace .card{border-radius:12px;padding:25px;background:white;border:1px solid #e4eaf3;box-shadow:0 3px 15px #183d6503}
.fund-workspace .card + .card{margin-top:18px}
.fund-workspace .fund-search-card{margin-top:0;padding:25px;margin-bottom:20px!important}
.fund-workspace .fund-search-centered{margin:0;max-width:none}
.fund-workspace .fund-search-title{font-size:18px}.fund-search-wrap{margin-top:15px}
.fund-workspace .fund-search-input{height:50px;font-size:14px;border-color:#dce5f2;border-radius:8px;padding-left:17px}
.fund-workspace .hint{font-size:12px;line-height:1.9;color:#8796aa}
.fund-workspace .fund-news-card{margin-top:20px}.fund-workspace .fund-news-title{font-size:18px}
.fund-news-link,.fund-reports-link{cursor:default;text-decoration:none}.fund-workspace .fund-news-link:hover,.fund-workspace .fund-reports-link:hover{color:inherit;text-decoration:none}
.fund-workspace .fund-news-brief{margin-top:8px}.fund-news-list{gap:12px}
.fund-workspace .fund-icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;padding:0;border-radius:8px;color:#6484b2}
.fund-icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fund-workspace .fund-icon-button:hover{background:#edf4ff;color:var(--brand)}.fund-icon-button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.fund-workspace .fund-history-card .up{color:#d32f2f}.fund-workspace .fund-history-card .down{color:#1b8e3e}
.fund-workspace .fund-news-item{padding:19px 20px}.fund-workspace .fund-news-brief{font-size:13px;line-height:1.9}
.fund-realtime-title-wrap{flex-wrap:wrap}.fund-workspace .fund-realtime-title{font-size:24px;font-weight:650;margin-bottom:0}
.fund-workspace .fund-realtime-metrics{margin-top:24px;gap:15px}.fund-workspace .fund-rt-item{padding:18px;background:#f8fafdf0;border:0;border-radius:9px}
.fund-workspace .fund-rt-label{font-size:12px;color:#8494aa}.fund-workspace .fund-rt-value{font-size:28px;font-weight:600;margin-top:12px;font-variant-numeric:tabular-nums}
.fund-workspace .fund-section-title{font-size:18px;font-weight:600}.fund-workspace .fund-basic-kv-key{color:#8795a7}
.fund-workspace :is(.fund-section-title,.fund-search-title,.fund-news-title)::before{display:inline-block;vertical-align:-1px;content:'';width:3px;height:15px;border-radius:2px;background:var(--brand);margin-right:10px}
.fund-workspace .ccb-purchase{font-family:inherit;font-weight:400;white-space:nowrap;cursor:pointer}
.fund-workspace .ccb-purchase:hover{background:#ffe9e9;border-color:#e99c9c}.fund-workspace .ccb-purchase:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.fund-section-nav{display:flex;flex-wrap:wrap;gap:8px;position:sticky;top:75px;z-index:18;background:#f7f8faf5;padding:13px 0;backdrop-filter:blur(8px)}
.fund-section-nav a{text-decoration:none;font-size:12px;padding:9px 13px;color:#6c829e;border:1px solid transparent;border-radius:7px;background:#fff}
.fund-section-nav a:hover{color:var(--brand);border-color:#d8e6fb}.fund-section-nav .back-news{margin-left:auto;background:transparent}
.fund-workspace section[id]{scroll-margin-top:140px}.fund-perf-benchmark-wrap{flex-wrap:nowrap;max-width:100%}.fund-perf-benchmark-select{max-width:330px;min-width:0;flex:1}
.fund-workspace .fund-perf-canvas{min-height:330px}.fund-workspace .fund-select-card{margin-bottom:20px}
.fund-workspace .fund-select-table-wrap{max-height:620px}.fund-workspace .manager-table{font-size:13px}.fund-workspace .manager-table td,.fund-workspace .manager-table th{padding:15px 16px;font-variant-numeric:tabular-nums}
.fund-workspace .fund-select-table td:first-child{min-width:220px}.manager-sort-btn{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:inherit;font:inherit;white-space:nowrap;cursor:pointer;padding:0}
.manager-sort-btn::after{content:'↕';font-size:11px;color:#9facbf}.manager-sort-btn[data-order=asc]::after{content:'↑';color:#3574df}.manager-sort-btn[data-order=desc]::after{content:'↓';color:#3574df}
.rating-filter-block{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid #edf0f5;margin-bottom:20px}
.rating-filter-block strong{font-size:14px;font-weight:600}.rating-filter-block p{font-size:11px;line-height:1.8;margin:8px 0!important;color:#8a98ab!important}
.score-range{display:flex;gap:10px;align-items:center;color:#a0aabd}.score-range label{display:flex;align-items:center;gap:8px;font-size:12px;color:#74869e;white-space:nowrap}
.score-range input{width:95px;min-width:0;padding:9px 10px;border:1px solid #dfe7f1;border-radius:7px;background:white;color:#496381;font:13px Arial,sans-serif}
.fund-dialog{padding:26px;border:1px solid #e0e7f1;border-radius:15px;color:var(--text);background:white;max-width:760px;width:calc(100% - 32px);max-height:88vh;box-shadow:0 24px 80px #122c5733}
.fund-dialog::backdrop{background:#19305050;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.dialog-head h2{font-size:20px}.dialog-head .button{font-size:21px;padding:3px 12px}
.purchase-content{text-align:center}.purchase-content h3{font-size:18px}.purchase-content img{display:block;margin:15px auto;max-width:100%;height:auto}.purchase-content p{font-size:13px;line-height:1.9}.purchase-content .chart-note{font-size:11px;color:#8b99ab;overflow-wrap:anywhere}
.benchmark-form{display:flex;gap:10px}.benchmark-form input{border:1px solid #dce5f1;border-radius:8px;padding:12px;width:100%;min-width:0;font-size:14px}
#benchmarkResults{margin:20px 0;max-height:45vh;overflow-y:auto}.benchmark-result{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-bottom:1px solid #edf1f6;padding:15px;background:white;color:#546e90;text-align:left;gap:15px}.benchmark-result:hover{background:#f4f8ff}.benchmark-result strong{font-size:13px}.benchmark-result span{font:12px Arial,sans-serif;color:#929fb3}
.ratings-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.ratings-summary>div{border:1px solid #e3eaf3;border-radius:11px;background:white;padding:21px}.ratings-summary span{display:block;font-size:11px;color:#8c9ab0}.ratings-summary strong{display:block;font:600 28px Arial,sans-serif;color:#4b6e9d;margin:13px 0 9px}.ratings-summary small{font-size:10px;color:#9eabbc}.ratings-summary .summary-date{font-size:24px}
.ratings-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.ratings-filters label{display:grid;gap:8px;font-size:11px;color:#8a98aa}.ratings-filters select{width:100%;min-width:0;border:1px solid #dfe7f0;border-radius:7px;padding:10px;background:white;color:#607896;font-size:12px}
.ratings-toolbar{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.ratings-toolbar input[type=search]{flex:1;min-width:160px;border:1px solid #dfe7f0;border-radius:7px;padding:10px 13px;color:#476383;font-size:12px}.ratings-toolbar .checkbox-label{font-size:11px;color:#8292a7;display:flex;align-items:center;gap:7px}
.ratings-table{min-width:1180px}.ratings-table th,.ratings-table td{font-size:12px}.ratings-table td:not(:first-child){font-variant-numeric:tabular-nums}.ratings-table td:first-child{text-align:left;min-width:225px;max-width:275px}.ratings-table .rating-link{display:block;border:0;background:none;color:#3c67a4;font-size:13px;font-weight:500;white-space:normal;text-align:left;padding:0;line-height:1.7}.rating-code{display:block;color:#a0acbc;font:11px Arial,sans-serif;margin-top:5px}.ratings-table .category-cell{max-width:160px;white-space:normal;font-size:11px;color:#8b99ad;text-align:left;line-height:1.8}.score-cell{display:inline-block;min-width:54px;padding:6px 8px;border-radius:5px;background:#edf4ff;color:#4a7ac0;font-weight:600}
.rating-profile-meta{display:flex;gap:15px;align-items:center;flex-wrap:wrap;font-size:11px;color:#8d9cb1}.classification-path{font-size:13px;line-height:2;color:#607fa4!important;margin-top:17px!important}.classification-path span{margin:0 5px;color:#b0bece}
.rating-profile{display:grid;grid-template-columns:.8fr 1.35fr 1fr;gap:22px;align-items:center;padding:12px 0}.overall-rating{display:grid;justify-items:center;gap:12px;padding:25px 0;border-right:1px solid #edf1f7}.overall-rating>span{font-size:13px;color:#8a9aaf}.overall-rating strong{font:600 48px Arial,sans-serif;color:#5486cf}.overall-rating small{font-size:10px;color:#a3afbf}.ability-radar svg{display:block;width:100%;stroke:none}.ability-values{display:grid;gap:15px}.ability-values>div{display:grid;grid-template-columns:1fr auto;gap:7px;color:#8295b0;font-size:11px}.ability-values strong{font:13px Arial,sans-serif;color:#547cba}.score-track{height:3px;background:#edf2fa;grid-column:1/-1;border-radius:3px;overflow:hidden}.score-track i{display:block;height:100%;background:#a3bfe8}
.rating-composition{display:grid;grid-template-columns:1fr 1fr;gap:25px;border-top:1px solid #edf1f7;padding-top:20px}.rating-composition h4{font-size:12px;font-weight:500;color:#7790b1;margin:0 0 10px}.rating-composition p{font-size:12px;color:#8c9aaf;line-height:1.9}.rating-empty{padding:35px;text-align:center;font-size:13px;color:#94a1b4}
.ratings-status{font-size:12px;color:#8396b0;margin:10px 0}.rating-dialog-actions{margin-top:20px;text-align:right}
.ability-radar svg{height:auto}.ratings-card .table-scroll{max-height:670px}.ratings-table thead th{position:sticky;top:0;z-index:3;background:#f6f8fc}.ratings-table thead .sticky-col{z-index:4}
.fund-workspace canvas{width:100%!important;max-width:100%;box-sizing:border-box}
.fund-page .info-tip::after,.fund-page .js-tip::after{display:none;position:fixed;top:auto;bottom:24px;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:min(520px,calc(100vw - 32px));box-sizing:border-box;z-index:60;white-space:pre-wrap;overflow-wrap:anywhere}
.fund-page .info-tip:hover::after,.fund-page .info-tip:focus-visible::after,.fund-page .info-tip.tip-open::after,.fund-page .js-tip:hover::after,.fund-page .js-tip:focus-visible::after,.fund-page .js-tip.tip-open::after{display:block;opacity:1}
@media(max-width:1000px){.rating-filter-block{align-items:flex-start;flex-direction:column}.fund-workspace .fund-rt-value{font-size:25px}.fund-realtime-right{margin-top:10px}.rating-profile{grid-template-columns:.8fr 1.2fr}.ability-values{grid-column:1/-1;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.ability-values>div{display:flex;flex-direction:column}.overall-rating strong{font-size:42px}.ratings-summary strong{font-size:24px}.ratings-summary .summary-date{font-size:20px}}
@media(max-width:760px){.fund-workspace .card{padding:19px 15px}.fund-view-tabs{gap:25px;margin-bottom:18px}.fund-view-tabs a{font-size:14px;gap:7px}.fund-view-tabs a span{display:none}.fund-workspace .fund-realtime-title{font-size:21px}.fund-workspace .fund-realtime-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fund-workspace .fund-rt-item{padding:15px}.fund-workspace .fund-rt-value{font-size:24px}.fund-section-nav{position:static;gap:5px}.fund-section-nav a{font-size:11px;padding:8px}.fund-section-nav .back-news{margin-left:0}.fund-perf-benchmark-wrap{width:100%}.fund-perf-benchmark-select{flex:1;min-width:80px;max-width:100%}.fund-perf-toolbar{gap:15px}.fund-workspace .fund-section-title{font-size:16px}.fund-select-special-grid{padding-left:0}.fund-select-special-row{flex-wrap:wrap}.ratings-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ratings-summary>div{padding:17px}.ratings-summary strong{font-size:26px}.ratings-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ratings-toolbar{gap:12px}.ratings-toolbar .score-range{width:100%}.ratings-toolbar input[type=search]{min-width:100%;width:100%}.score-range label{font-size:11px;gap:6px}.score-range input{width:83px}.fund-dialog{padding:19px;max-height:90vh}.rating-profile{gap:8px}.overall-rating strong{font-size:36px}.ability-values{gap:10px}.ability-values>div{font-size:10px}.rating-composition{grid-template-columns:1fr;gap:18px}.fund-workspace .fund-perf-canvas{min-height:280px}.fund-select-modal-panel{width:calc(100vw - 18px);max-height:90vh}.fund-select-table-wrap{max-width:100%;overflow:auto}.dialog-head h2{font-size:18px}.fund-workspace .fund-news-item{padding:15px}}
@media(max-width:390px){.rating-profile{grid-template-columns:1fr}.overall-rating{border:0;border-bottom:1px solid #edf1f7;padding:20px}.ability-radar svg{max-height:240px}.ability-values{grid-template-columns:repeat(3,minmax(0,1fr))}.ratings-toolbar .score-range{flex-wrap:wrap}.fund-select-special-label{min-width:30px}}
.fund-select-fund-link{color:#3c67a4;text-decoration:none}.fund-select-fund-link:hover{color:var(--brand);text-decoration:underline}.fund-workspace .fund-select-table th:nth-child(3),.fund-workspace .fund-select-table td:nth-child(3){min-width:180px}

.fund-select-name-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.fund-select-add-backtest{font-size:10px;color:#8b9fba;text-decoration:none;white-space:nowrap}.fund-select-add-backtest:hover{color:var(--brand)}
