body {
    background-color: #f5f5f5;
}

#sidebar,
#SideBar {
    float: left;
    width: 100%;
    background-color: #f5f5f5;
    height: 50vh;
    text-align: center;
    overflow-y: scroll;
    position: relative;
    padding-bottom: 18px;
    box-sizing: border-box;
}

#icon {
    width: 128px;
    height: 74px;
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
}

#caption {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
}

#stockInput {
    width: 80%;
    transition: 0.3s;
}

#QueryStockBtn {
    cursor: pointer;
    width: 80%;
    background-color: #d4a57b;
    transition: 0.3s;
    margin-top: 10px;
}

.navigation {
    width: 80%;
    text-decoration: none;
    list-style: none;
    margin: 0px auto;
    margin-top: 10px;
    padding: 0px;
    display: flex;
    flex-wrap: nowrap;
}

.navigation li {
    flex: 1;
    min-width: 0;
    padding: 5px 2px;
    cursor: pointer;
    text-align: center;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
    border-radius: 5px;
    margin: 5px 2px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.navigation li:hover {
    background-color: #f9f9f9;
    filter: brightness(0.95);
}

.navigation li.selected {
    background-color: #d4a57b;
    color: white;
}

#composer {
    float: left;
    width: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
}

.presentation {
    display: block;
    width: 100%;
    height: 100%;
    float: left;
}

.presentation.hide {
    display: none;
}

.module {
    display: block;
    float: left;
    width: 96%;
    height: auto;
    padding: 1%;
    margin: 1%;
    /* border: 1px solid #d4d4d4; */
    border-radius: 5px;
    text-align: center;
}

.presentation-table {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
}

.child-container {
    float: left;
    width: 98%;
    padding: 1%;
    margin: 1%;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    background-color: #f9f9f9;
    overflow: none;
    overflow-x: scroll;
}

.presentation-table {
    border-collapse: collapse !important;
}

.presentation-table th,
.presentation-table td {
    border: 1px solid #ddd !important;
}

.presentation-table thead th,
.presentation-table thead td {
    text-align: center;
    background-color: #f5f5f5;
}

button.commonButton {
    cursor: pointer;
    background-color: #d4a57b;
    margin: 0px;
}

.fr-action-button {
    margin-top: 4px !important;
    padding: 2px 8px !important;
    min-height: 0;
    border: 0;
    border-radius: 2px;
    color: #fff;
    font-size: 12px !important;
    line-height: 1.35;
}

#DCF_params-navigation {
    width: 50%;
    display: flex;
    flex-direction: row;
    text-align: center;
    margin: 0px auto;
}

#DCF_params-navigation li {
    width: auto;
    margin: 0px 2px;
}

#DCF_result-折现结果 td {
    text-align: center;
    vertical-align: middle;
}

.hlFont {
    color: #d4a57b;
    font-weight: bold;
}

.navigation.fullCover {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    padding: 5px;
    background-color: #d4a57b;
    border-radius: 5px;
    margin: 0px auto;
    margin-top: 10px;
    max-width: 95% !important;
    width: auto;
}

.navigation.fullCover li {
    color: white;
    border-radius: 5px;
    margin: 0px 2px;
    border-bottom: 0px solid transparent;
}

.navigation.fullCover li.selected {
    color: black;
    background-color: white;
    font-weight: normal;
}

.navigation.fullCover li:not(.selected):hover {
    color: white;
    background-color: #d4a57b;
    filter: brightness(0.95);
}

.module.hide {
    display: none;
}

.Plot_container {
    width: 100%;
    height: 400px;
}

.counterpart-container {
    float: left;
    width: 100%;
    height: auto;
    padding-left: 1%;
    padding-right: 1%;
    padding-top: 1%;
    text-align: center;
    background-color: transparent;
    border-radius: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    max-height: 140px;
    overflow-y: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#counterpart_stocks {
    float: left;
    height: auto;
    max-height: 93px;
    overflow-y: auto;
}

#addStockPool {
    float: right;
    margin: 0px;
    margin-left: 5px;
    margin-right: 10px;
    line-height: 30px;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
}

#counterpart_stocks ul {
    width: auto;
    height: 100%;
    float: left;
    text-decoration: none;
    list-style: none;
    padding-left: 0px;
}

#counterpart_stocks ul li {
    width: auto;
    float: left;
    padding: 5px;
    text-align: center;
    margin: 5px;
    color: #666;
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
}

#counterpart_stocks ul li:not(.select):hover {
    color: black;
    background-color: #f9f9f9;
    /* box-shadow: 0px 0px 10px #666; */
    filter: brightness(0.85);
}

#counterpart_stocks ul li.select {
    border: 1px solid #d4d4d4;
    color: white;
    background-color: #d4a57b;
    /* box-shadow: 0px 0px 10px #666; */
}

button[type="submit"].counterpart-RemoveBtn {
    color: #888888;
    cursor: pointer;
    background-color: white;
    transition: 0.3s;
    margin: 0px;
    padding: 7.5px;
    font-size: 12px;
    margin-right: 5px;
    line-height: 7.5px;
    border: 1px solid #d4d4d4;
    text-align: center;
}

button[type="submit"].counterpart-RemoveBtn:hover {
    box-shadow: none;
}

.child-container.one-third {
    width: 100%;
}

.no-border {
    border: 0px solid #666;
}

.Plot_container.Shorter {
    height: 250px;
}

.tooltip {
    position: relative;
    display: inline-block;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: #666;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    cursor: pointer;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    height: auto;
}

.tooltip .tooltiptext {
    color: #666;
    font-size: 15px;
    font-family: 'FZShuSong-Z01S', sans-serif;
    line-height: 25px;
    float: left !important;
    text-align: left;
    font-weight: normal !important;
    opacity: 0;
    visibility: hidden;
    height: 0px;
    transition: 0.5s;
}

footer {
    float: left;
    display: block;
    width: 100%;
    height: auto;
    text-align: center;
    line-height: 25px;
    font-size: 15px;
    color: #666;
    padding: 10px;
    background: inherit;
}

footer #BibleUserPanel {
    max-width: 360px;
}

#inuds_Container {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    height: auto;
    max-height: 190px;
    overflow-y: auto;
}

.indus_Border {
    padding: 5px;
    width: auto;
    float: left;
    color: black;
    word-wrap: break-word;
    text-align: left;
}

#headPart-Pres {
    display: none;
}

.inline-left-text {
    float: left;
    text-align: left;
    line-height: 35px;
}

.inline-right-text {
    float: right;
    text-align: left;
    line-height: 35px;
}

#Weight_Checkbox {
    line-height: 35px !important;
    margin-right: 5px;
}

.Weight_Border {
    border: #d4d4d4 solid 1px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    height: 35px;
    padding: 0px 10px;
    transition: 0.3s;
}

#BibleUserPanel {
    position: static;
    width: fit-content;
    max-width: 152px;
    margin: 0 auto 6px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 2;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: inherit;
    box-shadow: none;
    box-sizing: border-box;
}

.bible-user-avatar-button {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 0;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.bible-user-avatar-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#BibleUserMeta {
    min-width: 0;
    flex: 0 1 auto;
    max-width: 92px;
    color: #666;
    font-size: 12px;
    line-height: 1.18;
    text-align: left;
}

#BibleUserName {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-weight: 700;
    color: #3f332b;
}

#BibleUserRole {
    margin-top: 1px;
    color: #777;
    font-size: 11px;
}

.bible-user-popover {
    position: fixed;
    bottom: 92px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #dedede;
    border-radius: 8px;
    box-shadow: none;
}

.bible-user-popover button {
    width: 100%;
    border: 0;
    background: transparent;
    color: #4f453f;
    text-align: left;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

.bible-user-popover button:hover {
    background: #f8f1eb;
    color: #9d6f49;
}

.bible-user-popover-status {
    padding: 8px 10px 9px;
    margin-bottom: 4px;
    border-bottom: 1px solid #eee3da;
    color: #6a5a4e;
    font-size: 12px;
    line-height: 1.35;
    cursor: default;
    user-select: none;
}

.CustomIndicator_Border {
    border: #d4d4d4 solid 1px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    height: 35px;
    padding: 0px 10px;
    transition: 0.3s;
    cursor: pointer;
    box-sizing: border-box;
}

.Weight_Border:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.CustomIndicator_Border:hover {
    background-color: #f5f5f5;
}

.defaultWeights_Btn {
    border: #d4d4d4 solid 0px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    height: 35px;
    padding: 0px 10px;
    transition: 0.3s;
    background-color: #91cc75;
    color: white;
}

.defaultWeights_Btn:hover {
    cursor: pointer;
    filter: brightness(0.85);
}

#IndStyle-navigation {
    width: auto !important;
    background-color: #d4a57b;
    border-radius: 5px;
    float: right;
    margin: 0px;
    padding: 0px;
}

#IndStyle-navigation li {
    padding: 5px;
    border: none;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
    font-size: 15px;
    line-height: 15px;
    width: 50px !important;
}

.block-float {
    float: left;
    margin: 5px 0px;
    width: 100%;
}

#indicator_Container {
    width: 100%;
    float: left;
    text-align: center;
    margin: 0px;
    padding: 6px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 410px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    box-sizing: border-box;
}

.indicator_Border {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 98px;
    align-items: center;
    min-height: 48px;
    height: auto;
    padding: 6px 2px;
    width: 100% !important;
    float: left;
    color: black;
    word-wrap: break-word;
    text-align: left;
    gap: 8px;
    box-sizing: border-box;
    border-bottom: 1px solid #ececec;
}

.indicator_Border:last-child {
    border-bottom: none;
}

.indicator_Border>* {
    min-width: 0;
}

.indicator_Border>span:first-child {
    text-align: center;
    line-height: 18px;
    word-break: keep-all;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    border-radius: 6px;
    padding: 4px 2px;
}

.indicator_Border>span:first-child.selected {
    color: #fff;
    background-color: #d4a57b;
    font-weight: bold;
}

.Indicator-Checked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 32px;
    padding: 5px 4px;
    box-sizing: border-box;
    white-space: nowrap;
}

.Indicator-Checked span {
    flex: 0 0 auto;
}

.Indicator-Checked>span:first-child {
    display: none;
}

.Indicator-Value {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    box-sizing: border-box;
    text-align: center;
    margin: 0px;
    padding: 2px 3px;
}

.Indicator-Checked:not(.selected):hover {
    color: black;
}

.Indicator-Checked.selected,
.Indicator-Checked.selected:hover {
    color: white;
    background-color: #d4a57b;
}

#Weights_Container {
    width: 100%;
    float: left;
    text-align: center;
    margin: 0px;
    padding: 6px;
    overflow: visible;
    max-height: none;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    box-sizing: border-box;
}

#Weight_complexBox {
    opacity: 0;
    height: 0px;
    pointer-events: none;
}

.Complex_Border {
    width: 100%;
    float: left;
    text-align: center;
    margin: 0px;
    padding: 0px;
    transition: 0.3s;
}

.W_Border {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 88px;
    align-items: center;
    min-height: 48px;
    height: auto;
    padding: 6px 2px;
    width: 100% !important;
    float: left;
    color: black;
    word-wrap: break-word;
    text-align: left;
    gap: 8px;
    box-sizing: border-box;
    border-bottom: 1px solid #ececec;
}

.W_Border:last-child {
    border-bottom: none;
}

.W_Border>* {
    min-width: 0;
}

.W_Border>span:first-child {
    text-align: center;
    line-height: 18px;
    word-break: keep-all;
    color: #555;
    font-size: 14px;
}

.W-Checked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 32px;
    padding: 5px 4px;
    box-sizing: border-box;
    white-space: nowrap;
}

.W-Checked span {
    flex: 0 0 auto;
}

.W-Checked span:not(.W-Equal) {
    display: none;
}

.W-Value {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    box-sizing: border-box;
    text-align: center;
    margin: 0px;
    padding: 2px 3px;
}

.W-Checked:hover {
    cursor: default !important;
    filter: brightness(1.0) !important;
}

.W-Checked:not(.selected):hover {
    color: black;
}

.W-Checked.selected,
.W-Checked.selected:hover {
    color: white;
    background-color: #91cc75;
}

.W-Range-Container {
    flex: 2;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.W-Range {
    /* transform: rotate(-90deg); */
    width: 100%;
    transform-origin: center center;
    height: 5px;
    color: #91cc75 !important;
    background-color: #91cc75 !important;

}

.W-Range::-webkit-slider-thumb {
    border: 1px solid #91cc75 !important;
}

#Rank_Container {
    width: 100%;
    height: auto;
    float: left;
    text-align: center;
    margin: 0px;
    padding: 5px;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    overflow-x: auto;
}

#IndPeriod-navigation {
    width: auto !important;
    background-color: #d4a57b;
    border-radius: 5px;
    float: right;
    margin: 0px;
    padding: 0px;
}

#IndPeriod-navigation li {
    padding: 5px;
    border: none;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
    font-size: 15px;
    line-height: 15px;
    width: 50px !important;
}

.Indicator-Range-Container {
    flex: 2;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.Indicator-Range {
    /* transform: rotate(-90deg); */
    width: 100%;
    transform-origin: center center;
    height: 5px;
}

#StockSelection_Btn {
    margin-top: 10px;
    margin-bottom: 10px;
}

#Rank_Table {
    width: 100%;
    border-collapse: collapse;
    display: block;
}

#Rank_Table th,
#Rank_Table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-header-cell {
    cursor: pointer;
}

.table-header-cell:hover {
    background-color: #f5f5f5;
    filter: brightness(0.95);
    border-radius: 5px 5px 0px 0px;
}

.table-row {
    cursor: pointer;
}

.table-row:hover {
    background-color: #f5f5f5;
    filter: brightness(0.95);
}

.pagination-button {
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #d4a57b;
    transition: background-color 0.3s;
    color: #fff;
    margin: 0px;
    padding: 5px;
}

.pagination-button:hover {
    filter: brightness(0.95);
}

.pagination-button:disabled {
    cursor: auto;
    background-color: grey;
}

.SP_Btn {
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    transform: translateY(30%);
    /* left: -20px; */
    width: 20px;
    height: 20px;
}

.SP_Btn:hover {
    filter: brightness(0.95);
}

.RowHightlight {
    color: #d4a57b;
    font-weight: bold;
}

#UserStockPool_Container {
    width: 100%;
    height: auto;
    float: left;
    text-align: center;
    margin: 0px;
    padding: 5px;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    overflow-x: auto;
}


#UserStockPool_Table {
    width: 100%;
    border-collapse: collapse;
    display: block;
}

#UserStockPool_Table th,
#UserStockPool_Table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sidePart-Pres {
    position: fixed;
    left: 50%;
    bottom: 0%;
    float: left;
    transform: translate(-50%, 0);
    z-index: 9999;
}

#PopStockPoolBtn {
    cursor: pointer;
    color: #f9f9f9;
    background-color: #d4a57b;
    transition: 0.3s;
    font-size: 15px;
    /* border-radius: 15px 15px 0px 0px; */
    border-radius: 15px 15px 15px 15px;
    width: 75px;
    height: 100%;
    margin: 0px;
    padding: 5px;
}

#sidePart-Pres:hover {
    filter: brightness(0.95);
}

#PopStockPoolBtn:hover {
    filter: none;
}

.inputParams {
    transition: 0.3s;
    width: 150px;
    margin: 0px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
}

.quant-backtest-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.quant-backtest-panel > label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #555;
    font-size: 14px;
    min-width: 0;
    white-space: nowrap;
}

.quant-backtest-inline-option {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 39px max-content;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    color: #555;
    font-size: 14px;
    width: fit-content;
    max-width: 100%;
}

.quant-backtest-inline-option label {
    white-space: nowrap;
    line-height: 20px;
}

.quant-backtest-param-hidden {
    display: none !important;
}

.quant-backtest-strategy-panel {
    margin: 8px 0 12px;
    text-align: left;
}

.quant-backtest-hint {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
    padding: 8px 10px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    background: #fafafa;
}

#BT_Custom_Script {
    display: none;
    box-sizing: border-box;
    width: 100%;
    margin-top: 8px;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    padding: 10px;
    background: #fff;
    color: #333;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
}

.quant-backtest-panel > label input,
.quant-backtest-panel > label select,
#回测参数_params-table input,
#回测参数_params-table select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    padding: 6px 8px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}

.quant-backtest-panel > label input,
.quant-backtest-panel > label select {
    height: 38px;
    line-height: 20px;
}

.quant-backtest-panel .check-switch {
    width: 39px;
    min-width: 39px;
    height: 20px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.quant-backtest-status {
    color: #666;
}

.quant-backtest-error {
    color: #b3261e;
}

.quant-backtest-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 8px;
    margin: 10px 0 8px;
}

.quant-backtest-primary {
    justify-self: center;
    min-width: 128px;
    width: auto;
    padding: 9px 22px !important;
    font-weight: bold;
}

.quant-backtest-running {
    background-color: #b86b52 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

.quant-backtest-side-actions {
    justify-self: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.quant-backtest-secondary {
    min-width: 0;
    padding: 5px 10px !important;
    font-size: 12px !important;
    background: #f7f7f7 !important;
    color: #777 !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 4px !important;
}

#量化回测-mdl .child-container.no-border {
    box-sizing: border-box;
    overflow-x: hidden;
}

.quant-backtest-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
}

#回测参数_params-table {
    min-width: 640px;
    table-layout: fixed;
}

#回测参数_params-table th,
#回测参数_params-table td {
    box-sizing: border-box;
}

#回测参数_params-table input,
#回测参数_params-table select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 34px;
    box-sizing: border-box;
    margin: 0 !important;
}

#回测参数_params-table td:last-child {
    display: flex;
    align-items: center;
    gap: 6px;
}

#回测参数_params-table td:last-child input {
    flex: 1 1 auto;
    width: 0;
}

#回测参数_params-table .removeRow-Btn {
    flex: 0 0 26px;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    border-radius: 4px !important;
}

#回测结果-净值_Plot,
#回测结果-周期对比_Plot,
#回测结果-持仓_Plot {
    min-width: 320px;
}

.quant-selection-list {
    max-height: 320px;
    overflow-y: auto;
    text-align: left;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    background: #fafafa;
    padding: 6px;
}

.quant-selection-row {
    display: grid;
    grid-template-columns: 22px 70px 1fr;
    align-items: center;
    gap: 6px;
    padding: 7px 6px;
    border-bottom: 1px solid #eeeeee;
    color: #555;
}

.addRow-Btn {
    cursor: pointer;
    background-color: #d4a57b;
    transition: 0.3s !important;
    margin: 0px !important;
    padding: 7.5px !important;
    font-size: 15px !important;
}

.removeRow-Btn {
    cursor: pointer;
    background-color: #d4a57b;
    transition: 0.3s !important;
    margin: 0px !important;
    padding: 0px !important;
    font-size: 12px !important;
    line-height: 20px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 2px !important;
}

.sub-navigation {
    width: 50%;
    display: flex;
    flex-direction: row;
    text-align: center;
    margin: 0px auto;
}

.sub-navigation li {
    width: auto;
    margin: 0px 2px;
}

#得分排名-Topsis_Plot {
    width: 100%;
}

#overview_Container {
    overflow-x: auto;
    overflow-y: hidden;
}

.solution-manager-wrap {
    float: none;
    clear: both;
    display: block;
    width: 100%;
    padding-top: 7px;
    line-height: normal;
}

.选股工具 > .block-float:first-child > .block-float:first-child {
    display: flex;
    flex-direction: column;
}

.选股工具 > .block-float:first-child > .block-float:first-child > .solution-manager-wrap {
    order: -1;
    padding-top: 0;
    padding-bottom: 10px;
}

#Solution-Container {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    padding: 9px;
    border: 1px solid #e4d8cd;
    border-radius: 10px;
    background: #fcfaf8;
    box-shadow: 0 2px 8px rgba(80, 55, 35, 0.06);
}

#Solution-Choices {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 32px 0 11px;
    border: 1px solid #d8c6b6;
    border-radius: 8px;
    background: #fff;
    color: #444;
    font-family: inherit;
    font-size: 14px;
}

.solution-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.solution-actions button {
    width: 100%;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 4px;
    border: 1px solid #ddcfc2;
    border-radius: 8px;
    background: #fff;
    color: #6b5a4b;
    font-size: 15px;
    line-height: 38px;
    box-shadow: 0 1px 3px rgba(80, 55, 35, 0.05);
}

.solution-actions button span {
    display: inline;
    font-size: 12px;
}

.solution-actions button:active {
    border-color: #d4a57b;
    background: #f7eee7;
    color: #9a5b20;
}

.solution-actions button.danger {
    color: #a84a4a;
}

div:where(.swal2-container) h2:where(.swal2-title) {
    font-weight: normal !important;
    font-family: 'FZShuSong-Z01S', sans-serif !important;
    font-size: 18px !important;
    margin: 10px 0px !important;
}

div:where(.swal2-container) .swal2-input {
    margin: 0px 15px !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background-color: #d4a57b !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel) {
    background-color: #f9f9f9 !important;
    color: #666 !important;
    border: 1px solid #d4d4d4 !important;
}

#Solution-Remove-Btn {
    display: inline-flex;
    border: #d4d4d4 solid 1px;
    border-radius: 17.5px;
    align-items: center;
    height: 35px;
    width: 35px;
    transition: 0.3s;
    background-color: #f9f9f9;
    color: #888;
    cursor: pointer;
}

#Solution-Remove-Btn:hover {
    filter: brightness(0.95);
}

#BacktestPeriod-navigation {
    float: inline-end;
    width: 180px !important;
    height: 35px !important;
    padding: 0px !important;
    margin: 0px !important;
}

#BacktestPeriod-navigation li {
    padding: 0px !important;
    height: 30px !important;
    margin: 2.5px !important;
}

#回测结果-日志 {
    text-align: left;
    width: 100%;
}

.quant-backtest-log {
    box-sizing: border-box;
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    background-color: #fff;
    padding: 10px;
    line-height: 1.7;
    color: #444;
}

.quant-backtest-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.quant-backtest-metric {
    box-sizing: border-box;
    min-width: 0;
    height: 76px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    padding: 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quant-backtest-metric span {
    display: block;
    color: #777;
    font-size: 12px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quant-backtest-metric .tooltip .tooltiptext {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 10px);
    z-index: 30;
    width: min(230px, calc(100vw - 42px));
    height: auto;
    padding: 9px 10px;
    border: 1px solid #e3d2c2;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    color: #555;
    font-size: 12px;
    line-height: 1.6;
}

.quant-backtest-metric .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    border-width: 6px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.quant-backtest-metric strong {
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.quant-bucket-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    overflow: hidden;
    font-size: 12px;
}

.quant-bucket-table th,
.quant-bucket-table td {
    padding: 6px;
    border-bottom: 1px solid #eeeeee;
    color: #555;
    text-align: left;
}

.quant-bucket-table th {
    background: #fafafa;
    color: #777;
    font-weight: normal;
}

.data-table th,
.data-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.child-container {
    transition: height 0.3s ease;
}

#question-container {
    flex-direction: column;
    width: 95%;
}

.Msg_markdown {
    max-width: 100%;
}

#operation-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

#Tools_container-navigation {
    width: 100% !important;
    /* 去除默认的外边距 */
    margin: 0;
    /* 去除默认的内边距 */
    padding: 0;
    /* 去除列表项前面的默认符号 */
    list-style-type: none;
}

#Compare_Checkbox {
    line-height: 35px !important;
    margin-right: 5px;
}

.Compare_Border {
    border: #d4d4d4 solid 1px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    height: 35px;
    padding: 0px 10px;
    transition: 0.3s;
}

#业务简况-Container {
    overflow: scroll;
    width: 100%;
}

#业务简况-launcher {
    width: 95%;
    /* width: 1400px; */
}

.profile-panel {
    position: relative;
    z-index: 9999;
    bottom: 0%;
    left: 0%;
    margin-left: 12.5%;
    width: 75%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
    /* 展开动画 */
}

/* 移动端不显示Compare功能 */
.Compare_Border {
    display: none;
}

#sidebar,
#SideBar {
    overflow-y: hidden;
}

#composer {
    overflow-y: hidden;
}

#业务简况-pres {
    /* display: none; */
}

#业务简况-li {
    /* display: none; */
}

@media (max-width: 768px) {
    .child-container.one-third {
        width: 100%;
        overflow-y: hidden;
    }
}

#扣非净利润排名-Container{
    display: none;
}

#市净率-Container{
    display: none;
}

#业务简况-RecentPrice{
    display: none;
}

.hack-mobile-gap{
    flex-direction: column;
}

/* ── 行业涨跌幅热力图 (移动端) ── */
.heatmap-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.heatmap-chart-wrap {
    height: 460px;
}
.heatmap-title { font-size: 14px; }

/* ── 行业×市值分组涨跌幅热力图 (移动端) ── */
.mcap-heatmap-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.mcap-heatmap-chart-wrap {
    height: 480px;
}
.mcap-heatmap-title { font-size: 14px; }

/* ── 概念涨跌幅热力图 (移动端) ── */
.concept-heatmap-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.concept-heatmap-chart-wrap {
    height: 460px;
}
.concept-heatmap-title { font-size: 14px; }

/* ── 行业涨跌幅联动关系图 (移动端) ── */
.consensus-heatmap-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.consensus-heatmap-chart-wrap {
    height: 460px;
}
.consensus-heatmap-title { font-size: 14px; }

/* ── 情绪分析 (移动端) ── */
.sentiment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.sentiment-legend {
    margin-left: 0;
    gap: 6px;
}
.sentiment-chart-wrap {
    height: 420px;
}

/* ── 资金分析（移动端） ── */
.fund-analysis-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.fund-analysis-chart-wrap {
    position: relative;
    height: 380px;
}
.fund-analysis-chart-wrap.fund-analysis-loading {
    visibility: hidden;
}
.fund-analysis-chart-wrap.fund-analysis-loading::before,
.heatmap-chart-wrap.fund-analysis-loading::before,
.mcap-heatmap-chart-wrap.fund-analysis-loading::before,
.concept-heatmap-chart-wrap.fund-analysis-loading::before,
.consensus-heatmap-chart-wrap.fund-analysis-loading::before,
.sentiment-chart-wrap.fund-analysis-loading::before {
    content: "";
    visibility: visible;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2.2em;
    height: 2.2em;
    margin: -1.1em 0 0 -1.1em;
    border: .25em solid #d4d4d4;
    border-right-color: #d4a57b;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

.heatmap-chart-wrap.fund-analysis-loading,
.mcap-heatmap-chart-wrap.fund-analysis-loading,
.concept-heatmap-chart-wrap.fund-analysis-loading,
.consensus-heatmap-chart-wrap.fund-analysis-loading,
.sentiment-chart-wrap.fund-analysis-loading,
[id$="_Plot"].fund-analysis-loading,
[id$="_plot"].fund-analysis-loading {
    visibility: hidden;
    position: relative;
}

[id$="_Plot"].fund-analysis-loading::before,
[id$="_plot"].fund-analysis-loading::before {
    content: "";
    visibility: visible;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2.2em;
    height: 2.2em;
    margin: -1.1em 0 0 -1.1em;
    border: .25em solid #d4d4d4;
    border-right-color: #d4a57b;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}
.fund-analysis-title {
    font-size: 14px;
}
.sentiment-title {
    font-size: 14px;
}

/* ── 用户弹窗（移动端 / iOS）── */
@media (max-width: 768px) {
    .bible-auth-modal,
    .bible-profile-modal,
    .bible-account-modal {
        width: min(94vw, 420px) !important;
        max-width: min(94vw, 420px) !important;
        padding: 0 14px 18px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .bible-auth-modal .swal2-title,
    .bible-profile-modal .swal2-title,
    .bible-account-modal .swal2-title {
        padding: 20px 28px 8px !important;
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .bible-auth-modal .swal2-html-container,
    .bible-profile-modal .swal2-html-container,
    .bible-account-modal .swal2-html-container {
        margin: 8px 0 0 !important;
        overflow-x: hidden !important;
    }

    .bible-auth-stack {
        gap: 11px;
    }

    .bible-auth-stack label {
        display: grid;
        grid-template-columns: 80px minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        width: 100%;
        box-sizing: border-box;
    }

    .bible-auth-stack label > span {
        flex: none;
        text-align: right;
        white-space: nowrap;
    }

    .bible-auth-stack label > input,
    .bible-auth-stack label > .bible-auth-code-row {
        flex: none;
        width: 100%;
        min-width: 0;
    }

    .bible-auth-code-row {
        grid-template-columns: minmax(0, 1fr) 74px;
        gap: 7px;
    }

    .bible-auth-check {
        display: flex !important;
        padding-left: 89px !important;
        align-items: center;
        justify-content: flex-start;
        width: auto;
    }

    .bible-auth-stack .bible-auth-check > span {
        text-align: left;
        white-space: nowrap;
    }

    .bible-auth-modal .swal2-actions {
        width: 100%;
        gap: 10px;
        padding: 0 2px;
        box-sizing: border-box;
    }

    .bible-auth-modal .swal2-actions button {
        flex: 1 1 0;
        min-width: 0;
    }

    .bible-profile-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .bible-profile-hero,
    .bible-profile-card {
        grid-column: 1 / -1;
        width: 100%;
        flex: none;
    }

    .bible-profile-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .bible-profile-card label {
        max-width: none;
        width: 100%;
    }

    .bible-profile-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .bible-profile-actions button {
        width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }
}
