.astrolabe_main {
    min-height: 650px;
    padding-top: 60px;
    padding-bottom: 30px;
    background: url('../../images/xingpan/index_bg.png') no-repeat top center / 100% auto, #EDF3FD;
    font-family: PingFangSC, PingFang SC, Microsoft YaHei, sans-serif;
    color: #151D3E;
}

.astrolabe_main_title {
    display: flex;
    align-items: start;
    justify-content: center;
    margin-bottom: 17px;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    line-height: 28px;
}

.astrolabe_main_des {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.astrolabe_console {
    display: flex;
    align-items: flex-start;
    min-height: 620px;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 8px;
    background: #F0F7FE;
    box-shadow: 0px 2px 10px 0px #D2E6FD;
    border: 1px solid #FFFFFF;
}

.astrolabe_sidebar {
    width: 280px;
    padding: 18px 18px 20px;
    background: #F7FAFE;
    box-sizing: border-box;
}

.astrolabe_section {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #EEF0F6;
}

.astrolabe_section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.astrolabe_section_title {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #525A6A;
}

.astrolabe_menu_item {
    display: flex;
    align-items: flex-start;
    min-height: 52px;
    padding: 9px 10px;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
}

.astrolabe_menu_item.active .astrolabe_menu_name {
    color: #151D3E;
    font-weight: 600;
}

.astrolabe_menu_icon {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    box-sizing: border-box;
}

.astrolabe_menu_icon img {
    width: 18px;
    height: 18px;
    display: block;
}

.astrolabe_menu_text {
    flex: 1;
    min-width: 0;
}

.astrolabe_library_file_main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
    width: 100%;
}

.astrolabe_library_file_info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.astrolabe_menu_name {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
}

.astrolabe_menu_soon {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 9px;
    background: #FFF3D9;
    color: #FF9B2F;
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
    vertical-align: 1px;
}

.astrolabe_menu_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.astrolabe_menu_tags span {
    padding: 1px 6px;
    border-radius: 2px;
    background: #EDF0F5;
    font-size: 11px;
    line-height: 16px;
    color: #868EA0;
}

.astrolabe_content {
    flex: 1;
    padding: 20px 40px;
    box-sizing: border-box;
    margin: 14px;
    border-radius: 8px;
    background: #FFFFFF;
    min-height: 625px;
}

.astrolabe_panel {
    min-height: 100%;
}

.purple {
    background: #F0F4FF;
}

.orange {
    background: #EAF7FF;
}

.blue {
    background: #EBF4FF;
}

.green {
    background: #E7FFF4;
}

.astrolabe_product_header {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.astrolabe_product_icon {
    width: 34px;
    height: 34px;
    margin-right: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 18px;
}

.astrolabe_product_icon img {
    width: auto;
    height: 22px;
}

.astrolabe_product_title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
    color: #151D3E;
}

.astrolabe_product_desc {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: #868EA0;
}

.astrolabe_industry_data_setting_button {
    position: absolute;
    right: 0;
    top: 0;
    height: 34px;
    padding: 0 22px;
    border: 1px solid #2580FF;
    border-radius: 4px;
    background: #FFFFFF;
    color: #2580FF;
    cursor: pointer;
    font-size: 14px;
}

.astrolabe_industry_data_setting_button:hover {
    background: #F4F8FF;
}

.astrolabe_feature_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 22px;
}

.astrolabe_feature_tag {
    height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 13px;
    background: #E9FFF6;
    font-size: 13px;
    color: #525A6A;
    box-sizing: border-box;
}

.astrolabe_feature_tag img {
    width: 14px;
    height: 14px;
    margin-right: 5px;
}

.astrolabe_report_type_title {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: #151D3E;
}

.astrolabe_report_type_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 6px;
    margin-bottom: 10px;
}

.astrolabe_report_type_list button {
    /* min-width: 108px; */
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 16px;
    background: #F1F4FD;
    color: #525A6A;
    font-size: 14px;
    cursor: pointer;
}

.astrolabe_report_type_list button.active {
    background: linear-gradient(180deg, #2580FF 0%, #57A6FD 100%);
    color: #FFFFFF;
}

.astrolabe_report_type_summary {
    display: none;
    margin-bottom: 10px;
    color: #A36718;
    font-size: 12px;
    line-height: 1.8;
}

.astrolabe_report_type_summary i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    border-radius: 50%;
    background: #A36718;
    color: #FFFFFF;
    font-size: 12px;
    font-family: serif;
}

.astrolabe_textarea_box {
    padding: 16px 20px;
    border: 2px solid #2580FF;
    border-radius: 8px;
    box-shadow: 0px 8px 20px 0px #CDE5FF;
    box-sizing: border-box;
}

.astrolabe_placeholder {
    width: 100%;
    min-height: 140px;
    border: 0;
    outline: none;
    resize: none;
    font-size: 13px;
    line-height: 18px;
    color: #151D3E;
    box-sizing: border-box;
    font-family: auto;
}

.astrolabe_placeholder::placeholder {
    color: #A4ACBA;
}

.astrolabe_upload_box {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 0 38px 0 30px;
    border-radius: 6px;
    background: linear-gradient(139deg, #F1F5FF 0%, #E6EDFF 100%);
    box-sizing: border-box;
}

.astrolabe_upload_left {
    display: flex;
    align-items: center;
}

.astrolabe_upload_icon {
    width: 38px;
    height: auto;
    margin-right: 15px;
}


.astrolabe_upload_title {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    color: #151D3E;
}

.astrolabe_upload_tip {
    font-size: 12px;
    line-height: 16px;
    color: #8993A6;
}

.astrolabe_upload_btn {
    min-width: 136px;
    height: 36px;
    border: 1px solid #E6E0F2;
    border-radius: 18px;
    background: #FFFFFF;
    color: #2580FF;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(83, 72, 114, 0.08);
}

.astrolabe_upload_files {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.astrolabe_upload_files span {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    background: #F1F4FD;
    color: #525A6A;
    font-size: 12px;
    line-height: 16px;
    box-sizing: border-box;
}

.astrolabe_upload_files em {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.astrolabe_upload_files button {
    border: 0;
    background: transparent;
    color: #525A6A;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.astrolabe_upload_files button:hover {
    color: #FF5C55;
}

.astrolabe_action_area {
    margin-top: 20px;
    text-align: center;
}

.astrolabe_generate_btn {
    width: 205px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 21px;
    background: linear-gradient(180deg, #2580FF 0%, #57A6FD 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    cursor: default;
    box-shadow: 0 8px 16px rgba(82, 103, 255, 0.22);
}

.astrolabe_generate_btn img {
    width: 16px;
    height: 16px;
}

.astrolabe_count {
    margin-top: 15px;
    font-size: 13px;
    line-height: 18px;
    color: #151D3E;
}

.astrolabe_count span {
    padding: 0 3px;
    color: #FF5C55;
}

.astrolabe_cycle_empty {
    margin-top: 20px;
    padding-top: 90px;
    border-top: 1px solid #EEF0F6;
    text-align: center;
    min-height: 500px;
}

.astrolabe_cycle_empty img {
    width: 210px;
    height: auto;
    margin-bottom: 20px;
}

.astrolabe_cycle_empty_title {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
    color: #151D3E;
}

.astrolabe_cycle_empty_desc {
    font-size: 13px;
    line-height: 18px;
    color: #868EA0;
}

.astrolabe_library_content {
    position: relative;
    padding-bottom: 52px;
}

.astrolabe_library_search {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.astrolabe_library_search input {
    flex: 1;
    height: 34px;
    padding: 0 16px;
    border: 1px solid #376FFF;
    border-right: 0;
    border-radius: 18px 0 0 18px;
    outline: none;
    font-size: 12px;
    color: #151D3E;
    box-sizing: border-box;
}

.astrolabe_library_search input::placeholder {
    color: #868EA0;
}

.astrolabe_library_search button,
.astrolabe_library_tabs button,
.astrolabe_library_pager button {
    border: 1px solid #BFC1C9;
    background: #FFFFFF;
    color: #525A6A;
    box-sizing: border-box;
}

.astrolabe_panel .astrolabe_library_primary {
    height: 34px;
    min-width: 60px;
    padding: 0 12px;
    border-color: transparent;
    border-radius: 0 18px 18px 0;
    background: linear-gradient(90deg, #4A7DFF 0%, #2580FF 100%);
    color: #FFFFFF;
    font-size: 12px;
}

.astrolabe_panel .astrolabe_library_plain {
    height: 34px;
    min-width: 60px;
    padding: 0 12px;
    border-color: #BFC1C9;
    border-radius: 18px;
    color: #525A6A;
    font-size: 12px;
}

.astrolabe_library_search button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.astrolabe_library_type_title {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #151D3E;
}

.astrolabe_library_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.astrolabe_library_tabs button {
    height: 30px;
    padding: 0 18px;
    border: 0;
    border-radius: 15px;
    background: #F1F4FD;
    color: #151D3E;
    font-size: 12px;
}

.astrolabe_library_tabs button.active {
    background: linear-gradient(180deg, #2580FF 0%, #57A6FD 100%);
    color: #FFFFFF;
}

.astrolabe_library_list {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-top: 1px solid #EEF0F6;
}

.astrolabe_library_item,
.astrolabe_history_report_item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #EEF0F6;
    background: #FFFFFF;
    box-sizing: border-box;
}

.astrolabe_history_report_item {
    width: 100%;
    min-height: 68px;
}

.astrolabe_library_item:hover {
    background: #F1F4FF;
}

.astrolabe_history_report_item:hover {
    background: #F1F4FF;
}

.astrolabe_library_file_title {
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    color: #151D3E;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 500px;
}

.astrolabe_library_item.active .astrolabe_library_file_title {
    color: #151D3E;
}

.astrolabe_history_report_extra {
    font-size: 12px;
    line-height: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.astrolabe_history_report_extra span {
    color: #8B95A8;
}

.astrolabe_library_buttons {
    display: flex;
    align-items: center;
}

button+button {
    margin-left: 10px;
}

.astrolabe_library_buttons button {
    height: 25px;
    padding: 0 12px;
    border: 1px solid #BFC1C9;
    border-radius: 13px;
    background: #FFFFFF;
    color: #525A6A;
    font-size: 12px;
    cursor: pointer;
}

.astrolabe_library_buttons button:hover,
.astrolabe_library_item.active button:first-child,
.astrolabe_history_report_item.unread button:first-child {
    border-color: #2580FF;
    color: #2580FF;
}

.danger {
    border-color: #FFB8B8 !important;
    color: #FF5C55 !important;
}

.astrolabe_library_pager {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.astrolabe_library_pager button {
    min-width: 26px;
    height: 24px;
    padding: 0 7px;
    border-radius: 3px;
    font-size: 12px;
    color: #868EA0;
}

.astrolabe_library_pager button.active {
    border-color: #2580FF;
    color: #2580FF;
}

.astrolabe_library_pager button:disabled {
    color: #C0C6D2;
    background: #F5F7FA;
}

.astrolabe_library_empty {
    padding: 40px 0;
    text-align: center;
    font-size: 13px;
    color: #8B95A8;
}

.astrolabe_my_library_content .astrolabe_library_file_meta {
    font-size: 12px;
    color: #8B95A8;
}

.astrolabe_history_report_list {
    min-height: 200px;
}

.astrolabe_read_dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #FF5C55;
}

.astrolabe_history_report_meta {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    color: #8B95A8;
}

.astrolabe_history_report_meta .status {
    min-width: 70px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 10px;
    font-size: 12px;
    box-sizing: border-box;
}

.astrolabe_history_report_meta .success {
    background: #E9FFE2;
    color: #2EC461;
}

.astrolabe_history_report_meta .pending {
    background: #F0ECFF;
    color: #7866F6;
}

.astrolabe_history_report_meta .progress {
    background: #EAF7FF;
    color: #2580FF;
}

.astrolabe_history_report_meta .failed {
    background: #FFECEA;
    color: #FF5C55;
}

.astrolabe_history_report_meta .review {
    background: #FFF3D9;
    color: #FF9B2F;
}

.astrolabe_history_report_meta .paused {
    background: #F2F4F9;
    color: #868EA0;
}

.astrolabe_history_report_item {
    justify-content: flex-end;
}

.astrolabe_review_modal {
    position: fixed;
    inset: 0;
    z-index: 1650;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 44, 0.18);
}

.astrolabe_review_modal.active {
    display: flex;
}

.astrolabe_review_inner {
    width: min(560px, calc(100vw - 40px));
    border-radius: 6px;
    background: url(/static/hyyjy/images/xingpan/dialog_bg.png) no-repeat top center / 100% auto;
    box-shadow: 0px 2px 20px 0px #DEECFD;
    box-sizing: border-box;
    overflow: hidden;
}

.astrolabe_review_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: #151D3E;
    padding: 10px 20px;
}

.astrolabe_review_head button {
    border: 0;
    background: transparent;
    color: #525A6A;
    cursor: pointer;
    font-size: 26px;
}

.astrolabe_review_main {
    background-color: #fff;
    padding: 20px;
    max-height: min(72vh, 680px);
}

.astrolabe_review_tip {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.8;
    color: #525A6A;
}

.astrolabe_review_inner textarea {
    width: 100%;
    min-height: 140px;
    padding: 12px 14px;
    border: 1px solid #E6E1F6;
    border-radius: 10px;
    outline: none;
    resize: vertical;
    font-size: 14px;
    line-height: 1.6;
    font-family: auto;
    box-sizing: border-box;

}

.astrolabe_review_count {
    margin-top: 8px;
    text-align: right;
    font-size: 12px;
    color: #8B95A8;
}

.astrolabe_review_foot {
    display: flex;
    justify-content: center;
    gap: 10px;
    background-color: #fff;
    padding: 10px 0;
    border-top: 1px solid #E9E9E9;
}

.astrolabe_review_record_inner {
    display: flex;
    flex-direction: column;
}

.astrolabe_review_record_list {
    flex: 1;
    min-height: 0;
    max-height: calc(72vh - 140px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.astrolabe_review_record_item {
    padding: 16px 18px;
    border: 1px solid #EEF0F6;
    border-radius: 12px;
    background: #FAFBFF;
}

.astrolabe_review_record_title {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #151D3E;
}

.astrolabe_review_record_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #8B95A8;
}

.astrolabe_review_record_text {
    font-size: 13px;
    line-height: 1.8;
    color: #525A6A;
    word-break: break-all;
}

.astrolabe_review_record_text+.astrolabe_review_record_text {
    margin-top: 8px;
}

.astrolabe_review_record_text b {
    color: #151D3E;
}

.astrolabe_review_record_pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 12px;
    color: #8B95A8;
}

.astrolabe_review_record_pager button {
    min-width: 58px;
    height: 26px;
    border: 1px solid #D9DCEF;
    border-radius: 13px;
    background: #FFFFFF;
    color: #525A6A;
    cursor: pointer;
}

.astrolabe_review_record_pager button:disabled {
    background: #F5F7FA;
    color: #C0C6D2;
    cursor: not-allowed;
}

.astrolabe_report_modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1600;
    padding: 20px;
    background: rgba(20, 20, 44, 0.18);
}

.astrolabe_report_modal.active {
    display: flex;
}

.astrolabe_report_modal_inner {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: url('../../images/xingpan/dialog_bg.png') no-repeat top center / 100% auto #fff;
    width: min(920px, calc(100vw - 40px));
    max-height: min(86vh, 860px);
    border-radius: 8px;
    box-shadow: 0px 8px 20px 0px #CDE5FF;
}

.astrolabe_report_modal_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 28px;

}

.astrolabe_report_modal_title {
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #151D3E;
}

.astrolabe_report_modal_title img {
    width: auto;
    height: 35px;
    display: block;
}

.astrolabe_report_modal_sub {
    font-size: 24px;
    color: #151D3E;
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
}

.astrolabe_report_modal_head button {
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 34px;
    height: 34px;
    color: #151D3E;
    font-size: 24px;
}

.astrolabe_report_modal_body {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    background: #fff;
}

.astrolabe_outline_editor {
    width: 100%;
    min-height: 420px;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    box-sizing: border-box;
}

.astrolabe_outline_loading {
    display: block;
    color: #2580FF;
    margin-bottom: 20px;
    font-size: 14px;
}

.astrolabe_outline_chunk {
    margin: 0;
    font-size: 12px;
    color: #868EA0;
    white-space: pre-wrap;
}

.astrolabe_outline_chapter+.astrolabe_outline_chapter {
    margin-top: 18px;
}

.astrolabe_outline_chapter h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #151D3E;
}

.astrolabe_outline_chapter section+section {
    margin-top: 10px;
}

.astrolabe_outline_chapter h4 {
    margin: 0 0 4px;
    font-size: 14px;
    color: #525A6A;
}

.astrolabe_outline_chapter p {
    margin: 0;
    color: #666;
}

.astrolabe_outline_refine {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.astrolabe_outline_refine textarea {
    width: 100%;
    min-height: 82px;
    padding: 10px 12px;
    border: 1px solid #D9DCEF;
    border-radius: 10px;
    outline: none;
    resize: vertical;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
    font-family: auto;
}

.astrolabe_report_modal_foot {
    display: flex;
    justify-content: center;
    gap: 1px;
    padding: 16px 24px;
    border-top: 1px solid #F0ECFF;
    background-color: #fff;
}

.astrolabe_outline_plain,
.astrolabe_outline_primary {
    height: 32px;
    padding: 0 20px;
    border-radius: 19px;
    font-size: 13px;
    cursor: pointer;
}

.astrolabe_outline_plain {
    background: #F1F4FD;
    color: #151D3E;
}

.astrolabe_outline_primary {
    border: 0;
    background: linear-gradient(180deg, #2580FF 0%, #57A6FD 100%);
    color: #FFFFFF;
}


.astrolabe_generating_page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1550;
    display: none;
    padding: 20px 20px 30px 20px;
    background: url('../../images/xingpan/index_bg.png') no-repeat top center / 100% auto, #EDF3FD;
    box-sizing: border-box;
}

.astrolabe_generating_page.active {
    display: block;
}

.astrolabe_generating_close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 4px;
    background: #525A6A;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

.astrolabe_generating_page_title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #151D3E;
}

.astrolabe_generating_inner {
    width: 100%;
    height: calc(100% - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background: #F0F7FE;
    box-shadow: 0px 2px 20px 0px #DEECFD;
    border: 1px solid #FFFFFF;
    padding: 10px;
}

.astrolabe_generating_body {
    flex: 1;
    display: flex;
    overflow: hidden;
    gap: 20px;
}

.astrolabe_generating_side {
    width: 20%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
    border-radius: 12px;
    padding: 20px 0;
}

.astrolabe_generating_side_title {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #151D3E;
    word-break: break-word;
    text-align: center;
    margin-bottom: 10px;
}

.astrolabe_generating_toc {
    flex: 1;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
    box-sizing: border-box;
    padding: 0 20px;

}

.astrolabe_toc_chapter {
    background: #F1F4FD;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #fff;
}

.astrolabe_toc_chapter.clickable:hover,
.astrolabe_toc_chapter.active {
    border-color: #1677FF;
}

.astrolabe_toc_chapter_title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.astrolabe_toc_chapter_title h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #151D3E;
    word-break: break-word;
}

.astrolabe_toc_chapter_title h4 {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.astrolabe_toc_chapter_img {
    height: 14px;
    width: auto;
}

.astrolabe_toc_chapter section+section {
    margin-top: 10px;
}

.astrolabe_toc_chapter h4 {
    margin: 0 0 4px;
    font-size: 14px;
    color: #525A6A;
}

.astrolabe_toc_chapter p {
    margin: 0;
    color: #666;
}

.astrolabe_generating_main {
    position: relative;
    flex: 1;
    overflow-y: auto;
    min-width: 0;
    background: #FFFFFF;
    border-radius: 12px;
}

.astrolabe_generating_loading {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}


.astrolabe_generating_title {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #151D3E;
}

.astrolabe_generating_status {
    max-width: 360px;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    color: #868EA0;
}

.astrolabe_generated_content {
    display: none;
    height: 100%;
    padding: 0;
}

.astrolabe_generating_lock {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, #FFFEF8 0%, #FFFCEE 100%);
    box-sizing: border-box;
}

.astrolabe_generating_lock_inner {
    padding: 24px 28px;
    border-radius: 16px;
    text-align: center;
}

.astrolabe_generating_lock_title {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #A36718;
}

.astrolabe_generating_lock_desc {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 24px;
    color: #A36718;
    background: #F3F1E4;
    border-radius: 13px;
}

.astrolabe_generating_lock_list {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    color: #151D3E;
    font-size: 14px;
}

.astrolabe_generating_lock_btn {
    min-width: 260px;
    height: 40px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, #2580FF 0%, #57A6FD 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.astrolabe_generating_notice {
    position: fixed;
    right: 0;
    bottom: 24px;
    width: 320px;
    padding: 16px 18px 18px;
    border: 1px solid;
    border-image: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)) 1 1;
    border-radius: 8px;
    background: linear-gradient(182deg, #D9E9FF 0%, #fff 60px, #FFFFFF 100%);
    box-shadow: 0px 2px 20px 0px #DEECFD;
    z-index: 1500;
    box-sizing: border-box;
}

.astrolabe_generating_notice_close {
    position: absolute;
    right: 10px;
    top: 8px;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 24px;
    cursor: pointer;
}

.astrolabe_generating_notice_title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #EEF0F6;
    font-size: 16px;
    color: #525A6A;
}

.astrolabe_generating_notice_name {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #151D3E;
}

.astrolabe_generating_notice_steps {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.astrolabe_generating_notice_step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #525A6A;
    font-size: 14px;
}

.astrolabe_generating_notice_step span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #C9D0DF;
    flex-shrink: 0;
}

.astrolabe_generating_notice_step.generating span {
    background: #2E7AFD;
    box-shadow: 0 0 0 2px rgba(46, 122, 253, 0.12);
}

.astrolabe_generating_notice_step em {
    font-style: normal;
}

.astrolabe_generating_notice_btn {
    width: 50%;
    height: 40px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, #2580FF 0%, #57A6FD 100%);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.astrolabe_generated_iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.astrolabe_detail_export {
    min-width: 88px;
    height: 32px;
    padding: 0 14px;
    border: 1px solid #2580FF;
    border-radius: 40px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #2580FF;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.18s;
    user-select: none;
    margin-left: 0;
}

.astrolabe_detail_export:hover {
    background: #2580FF;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 128, 255, 0.28);
}

.astrolabe_detail_export:active {
    background: #1a6fe0;
    border-color: #1a6fe0;
    transform: scale(0.97);
}

/* 下载进行中：禁用点击，图标换为旋转动画 */
.astrolabe_detail_export.loading {
    opacity: 0.75;
    cursor: not-allowed;
    pointer-events: none;
    border-color: #8CBFFF;
    color: #8CBFFF;
}

.astrolabe_detail_export.loading .astrolabe_detail_export_icon {
    animation: astrolabe_export_spin 0.8s linear infinite;
}

@keyframes astrolabe_export_spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.astrolabe_detail_export_icon {
    width: auto;
    height: 15px;
    flex-shrink: 0;
}

/* 下载按钮容器，两个按钮 */
.astrolabe_detail_export_wrap {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}


.astrolabe_detail_assistant {
    width: 20%;
    max-width: 420px;
    flex-shrink: 0;
    border-left: 1px solid #E6EEF8;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 10px;
    background: #F5FAFF;
    border-radius: 12px;
}

.astrolabe_detail_assistant_head {
    text-align: center;
    margin-bottom: 18px;
}

.astrolabe_detail_assistant_title {
    font-size: 15px;
    font-weight: 700;
    color: #151D3E;
    margin-bottom: 6px;
}

.astrolabe_detail_assistant_sub {
    font-size: 12px;
    color: #7E8798;
}

.astrolabe_detail_assistant_actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.astrolabe_detail_assistant_action {
    width: 100%;
    padding: 4px 14px;
    border: 1px solid #E6EEF8;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 128, 255, 0.04);
}

.astrolabe_detail_assistant_action:hover,
.astrolabe_detail_assistant_action.active {
    border-color: #2580FF;
    background: #F2F8FF;
}

.astrolabe_detail_assistant_action_title {
    font-size: 13px;
    font-weight: 600;
    color: #3DC189;
    margin-bottom: 4px;
}

.astrolabe_detail_assistant_action:nth-child(2) .astrolabe_detail_assistant_action_title {
    color: #2580FF;
}

.astrolabe_detail_assistant_action_desc {
    font-size: 11px;
    color: #7E8798;
    line-height: 1.4;
}

.astrolabe_detail_assistant_chat {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 8px 0 18px;
}

.astrolabe_detail_assistant_chat_group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.astrolabe_detail_assistant_msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.astrolabe_detail_assistant_msg.user {
    justify-content: flex-end;
}

.astrolabe_detail_assistant_msg.ai {
    justify-content: flex-start;
}

.astrolabe_detail_assistant_bubble {
    max-width: 76%;
    padding: 8px 14px;
    border-radius: 16px;
    background: #FFFFFF;
    color: #525A6A;
    font-size: 12px;
    line-height: 1.7;
    word-break: break-word;
    box-sizing: border-box;
}

.astrolabe_detail_assistant_bubble p {
    margin: 0;
}

.astrolabe_detail_assistant_bubble h1 {
    font-size: 12px;
    margin: 0;
}

.astrolabe_detail_assistant_bubble h2 {
    font-size: 12px;
    margin: 0;
}

.astrolabe_detail_assistant_bubble h3 {
    font-size: 12px;
    margin: 0;
}

.astrolabe_detail_assistant_bubble h4 {
    font-size: 12px;
    margin: 0;
}

.astrolabe_detail_assistant_bubble .astrolabe_detail_assistant_bubble_content {
    max-height: 100px;
    overflow: hidden;
}

.astrolabe_detail_assistant_bubble.expanded .astrolabe_detail_assistant_bubble_content {
    max-height: none;
}

.astrolabe_detail_assistant_bubble_toggle {
    display: none;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2580FF;
    font-size: 12px;
    cursor: pointer;
}

.astrolabe_detail_assistant_bubble.collapsible .astrolabe_detail_assistant_bubble_toggle {
    display: inline-block;
}

.astrolabe_detail_assistant_msg.user .astrolabe_detail_assistant_bubble {
    background: #DBECFF;
}

.astrolabe_detail_assistant_avatar {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    font-size: 12px;
    color: #FFFFFF;
}

.astrolabe_detail_assistant_avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.astrolabe_detail_assistant_avatar.ai_avatar {
    background: #2580FF;
}

.astrolabe_detail_assistant_foot {
    margin-top: auto;
    border: 1.5px solid #2580FF;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.astrolabe_detail_assistant_selected {
    display: none;
    font-size: 12px;
    line-height: 1.6;
    color: #151D3E;
}

.astrolabe_detail_assistant_input {
    width: 100%;
    border: 0;
    height: 60px;
    outline: none;
    resize: none;
    font-size: 12px;
    line-height: 1.6;
    color: #151D3E;
    background: transparent;
    font-family: inherit;
}

.astrolabe_detail_assistant_input::placeholder {
    color: #A4ACBA;
}

.astrolabe_detail_assistant_send {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 14px;
    border: 0;
    border-radius: 16px;
    background: #2580FF;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.astrolabe_detail_assistant_send:hover {
    background: #1a6fe0;
}

.astrolabe_detail_assistant_send:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.astrolabe_detail_assistant_send:disabled:hover {
    background: #2580FF;
}

.astrolabe_generating_assistant_disabled .astrolabe_detail_assistant_action {
    cursor: pointer;
    opacity: 1;
}

.astrolabe_generating_assistant_disabled .astrolabe_detail_assistant_action:hover {
    border-color: #2580FF;
    background: #F2F8FF;
}

.astrolabe_generating_assistant_disabled .astrolabe_detail_assistant_input,
.astrolabe_generating_assistant_disabled .astrolabe_detail_assistant_send {
    cursor: pointer;
    opacity: 1;
}

.astrolabe_generating_assistant_disabled .astrolabe_detail_assistant_send:hover {
    background: #1a6fe0;
}

.astrolabe_generating_assistant_disabled .astrolabe_detail_assistant_action {
    cursor: not-allowed;
    opacity: 0.6;
}

.astrolabe_generating_assistant_disabled .astrolabe_detail_assistant_action:hover {
    border-color: #E6EEF8;
    background: #fff;
}

.astrolabe_generating_assistant_disabled .astrolabe_detail_assistant_input,
.astrolabe_generating_assistant_disabled .astrolabe_detail_assistant_send {
    cursor: not-allowed;
    opacity: 0.65;
}

.astrolabe_generating_assistant_disabled .astrolabe_detail_assistant_send:hover {
    background: #2580FF;
}


.astrolabe_detail_iframe {
    width: 100%;
    min-height: 100%;
    border: 0;
    display: block;
}

.astrolabe_detail_empty {
    padding: 40px 0;
    text-align: center;
    color: #868EA0;
}