.nav-pills {
    width: 100%;
    margin: 0 !important;
    justify-content: space-between;
    background-color: #E2EDEC;
    padding: 5px 6px;
    border-radius: 50px;
}

.nav-link i {
    color: #C6CFCF;
    font-size: 15px;
}

.nav-link.active {
    border-radius: 50px;
    background-color: #fff !important;
    color: #000 !important
}

.nav-link.active i {
    color: #19C4C0
}

.nav-link img {
    margin-left: 5px;
    width: 17px;
    height: 17px;
}

.badge-info {
    font-size: 11px;
    line-height: 1.3;
}

.badge-info span {
    display: block;
}

.chart-container {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.engineering_tap_box{
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    /* background: red; */
    /* position: relative; */
}

/* ─────────────────────────────────────────────
   Graph tab boot: show only loader overlay
   (prevents side tools/tabs showing before graph)
────────────────────────────────────────────── */
body.graph-booting .main-content {
    visibility: hidden;
}
body.graph-booting #overlay_loader {
    display: block !important;
}
.engineering_tap_message_box{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #19C4C0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.engineering_tap_message_box i{
    padding: 9px;
}

.engineering_tap_message_box.version-btn {
    cursor: pointer;
}
.engineering_tap_message_box.version-btn i {
    font-size: 16px;
}

.engineering_tap_box_item{
    width: 234px;
}

.engineering_tap_box_item .switch-toggle {
    width: auto;
    min-width: 200px;
}

.engineering_tap_box_item .switch-toggle-labels span {
    white-space: nowrap;
    padding: 0 8px;
}

.engineering_tap_box_item ul>li>button{
    font-size: 14px;
    padding: 3.5px 12px;
    color: #292C31;
}
.dashboader_banner_content_box {
    /*padding: 15px 0px;*/
    position: relative;
}

.shadow_tab {
    width: 50%;
    position: absolute;
    top:-45px;
    /*left: 12px;*/
    background-color: unset;
    justify-content: unset;
    padding: unset;

}

.shadow_tab li:first-child button{
    position: relative !important;
    z-index: 11;
}
.shadow_tab li button.active{
    font-weight: 500;
}
.shadow_tab li:not(:first-child) button{
    padding: 10px 24px 10px 44px;
    position: relative !important;
    margin-left: -20px;
    border-radius: 0px 20px 0px 0px !important;

}

.symbols_main{
    /*width: 100%;
    border: 1px solid #E5E5E5;
    border-radius:  15px;*/
    padding: 10px;
    border-top-left-radius: 0;
    gap: 20px;
}

#symbols-split-layout {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

.drawing-symbols-split-container.document-split-container-active {
    padding-left: 0;
    padding-right: 0;
}

#redlining-split-layout {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

#symbols-split-layout #symbols-action-container {
    flex: 0 0 calc(75% - 10px) !important;
    width: calc(75% - 10px) !important;
    max-width: calc(75% - 10px) !important;
}

#symbols-split-layout #engineering-board-panel {
    flex: 0 0 calc(25% - 10px) !important;
    width: calc(25% - 10px) !important;
    max-width: calc(25% - 10px) !important;
}

#redlining-split-layout #redlining-action-container {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

#symbols-document-split-panel {
    display: none;
}

#redlining-document-split-panel {
    display: none;
}

#symbols-split-layout.document-split-active {
    gap: 0;
    width: 100%;
    align-items: stretch;
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
}

#symbols-split-layout.document-split-active #symbols-action-container {
    flex: 0 0 48% !important;
    width: 48% !important;
    max-width: 48% !important;
    display: flex !important;
    flex-direction: column;
    border-right: 1px solid #dee2e6;
    min-width: 0;
}

#symbols-split-layout.document-split-active #engineering-board-panel {
    display: none !important;
}

#symbols-split-layout.document-split-active #symbols-document-split-panel {
    flex: 0 0 52% !important;
    width: 52% !important;
    max-width: 52% !important;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

#symbols-split-layout.document-split-active #symbols-action-container,
#symbols-split-layout.document-split-active #symbols-document-split-panel {
    padding-left: 0;
    padding-right: 0;
}

#symbols-split-layout.document-split-active #symbols-container {
    margin-top: 0 !important;
    min-height: 72vh;
    width: 100%;
}

#symbols-split-layout.document-split-active #symbols-document-split-panel {
    border-left: 1px solid #E5E5E5;
    padding: 0;
}

#symbols-split-layout.document-split-active #drawing-document-viewer-panel {
    display: flex !important;
    flex-direction: column;
    height: 72vh;
    width: 100%;
    padding: 0 0 12px 8px;
    box-sizing: border-box;
}

#redlining-split-layout.document-split-active {
    gap: 0;
    width: 100%;
    align-items: stretch;
}

#redlining-split-layout.document-split-active #redlining-action-container {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    display: flex !important;
    flex-direction: column;
    border-right: 1px solid #dee2e6;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
}

#redlining-split-layout.document-split-active #redlining-container {
    margin-top: 0 !important;
    min-height: 72vh;
    width: 100%;
}

#redlining-split-layout.document-split-active #redlining-document-split-panel {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border-left: 1px solid #E5E5E5;
    padding: 0;
}

#redlining-split-layout.document-split-active #redlining-document-viewer-panel {
    display: flex !important;
    flex-direction: column;
    height: 72vh;
    width: 100%;
    padding: 0 15px 12px;
    box-sizing: border-box;
}
.symbols_img{
    width: 70%;
    border: 1px solid #E5E5E5;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.symbols_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.symbol_child_img{
    position: absolute;
    width: 154px;
    top: 16px;
    right: 15px;
}

.symbol_child_img img{
    width: 100%;
}
.symbols_data_lounge {
    /*width: 30%;*/
    border-radius: 15px;
    padding: 15px;
    border: 1px solid #E5E5E5;
}
.symbols_data_lounge_header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.symbols_data_lounge_header h3 {
    font-size: 20px;
    color: #292D32;
}
.symbols_data_lounge_header p {
    font-size: 12px;
    color: #292C31;
}
.symbols_data_lounge_header p span {
    font-size: 14px;
    font-weight: 550;
    color: #292C31;
}
.symbols_data_search {
    width: 100%;
    margin: 10px 0px;
    align-items: center;
    justify-content: space-between;
}
.symbols_data_search_box {
    /*width: 304px;*/
    position: relative;
}
.symbols_data_search_box input {
    width: 100%;
    border-radius: 50px;
    padding: 7px 16px;
    border: 1px solid #E5E5F5;
    outline: unset;
}
.symbols_data_search_box img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
}
.symbols_data_search_box_icon {
    width: 38px;
    height: 38px;
    border-radius: 50px;
    background-color: #19C4C0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.symbols_data_search_box_icon i {
    color: #fff;
}
.eng_text_main{
    width: 100%;
    border: 1px solid #E5E5E5;
    border-radius:  15px;
    padding: 20px;
    border-top-left-radius: 0;
    gap: 20px;
}

.eng_text_main_img{
    width: 70%;
    border: 1px solid #E5E5E5;
    border-radius: 15px;
    position: relative;
    height: 581px;

}
.eng_text_child_img{
    position: absolute;
    width: 154px;
    top: 16px;
    right: 15px;
}
.eng_text_main_img img{
    width: 100%;
    height: 100%;
}

.eng_text_child_img img{
    width: 100%;
}

.eng_text_lounge {
    width: 30%;
    padding: 20px;
    border-radius: 15px;
    padding: 15px;
    border: 1px solid #E5E5E5;
}
.eng_text_lounge_header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toolbar-deleted-items-btn {
    position: relative;
    color: #3b3f45 !important;
}

.toolbar-deleted-items-btn i {
    color: #3b3f45 !important;
    font-size: 16px;
}

#toolbar-deleted-items.active .toolbar-deleted-items-btn,
#toolbar-deleted-items.active .toolbar-deleted-items-btn i,
#toolbar-deleted-items .toolbar-deleted-items-btn:hover,
#toolbar-deleted-items .toolbar-deleted-items-btn:hover i,
#toolbar-deleted-items .toolbar-deleted-items-btn:focus,
#toolbar-deleted-items .toolbar-deleted-items-btn:focus i {
    color: #3b3f45 !important;
}

.toolbar-deleted-items-count {
    position: absolute;
    top: -1px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    border-radius: 999px;
    background: #ff5c5c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
    padding: 0 4px;
    text-align: center;
    border: 1px solid #fff;
}
.eng_text_lounge_header a{
    color: #049996;
    font-weight: 500;
    font-size: 14px;
    text-decoration: underline;
}
.ungrouped_box{
    border: 1px solid #E5E5E5;
    border-radius: 15px;
}
.ungrouped_box .my_collapsed:not(.collapsed)::after{
    color: #049996
}
.ungrouped_box .my-accordion-body{
    padding-top: 0;
}
/* .accordion-item {
    border-radius: 15px !important;
} */
.ungrouped_box_div{
    background-color: #F5F5F5;
    padding:0px 12px;
    border-radius: 15px;
    overflow: auto;
    height: 366px;
}
.ungrouped_child_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ungrouped_text h3 {
    font-size: 14px;
}
.ungrouped_search {
    width: 119px;
}
.ungrouped_search input {
    width: 100%;
    border-radius: 50px;
    border: 1px solid #E5E5E5;
    outline: unset;
    padding: 11px;
}
.ungrouped_icon i {
    color: #636E74;
}
.ungrouped_child_box {
    border-bottom: 1px solid #E5E5E5;
    padding: 15px 0px;
}
.drowing_icon {
    font-size: 22px;
}
.dashboard_heading_box {
    display: flex;
    gap: 19px;
}

.dashboard_heading_box h3 {
    display: flex;
    align-items: center;
}
.verify-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #53C4CE;
    color: #FFFFFF;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.3s;
}

.verify-button:hover {
    background-color: #23baba;
}

.edit-input {
    font-size: 16px;
    padding: 2px 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 180px;
    outline: none;
}

#drawing-board-switch:checked + .switch-toggle-slider {
  left: 0;
}

#drawing-board-switch:not(:checked) + .switch-toggle-slider {
  left: 50%;
}

#openChatbot{
    cursor: pointer;
}

#openSystemNameModal{
    cursor: pointer;
}

.fs-mini-table-header th{
  font-size: 15px;
  font-weight: 900 !important;
}

.smart-attributes-container{
  max-height: 350px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.smart-attributes-container .smart-attribute-label-paths {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smart-attributes-container .select2-selection__rendered {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.smart-attributes-container .select2-container .select2-selection__rendered {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.smart-attributes-container .select2-selection--single .select2-selection__rendered {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.smart-attributes-container .select2-container--default .select2-selection--single .select2-selection__rendered {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.smart-attributes-container .smart-attribute-tables {
  table-layout: fixed;
  width: 100%;
}

.smart-attributes-container .smart-attribute-tables th {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smart-attributes-container .smart-attribute-tables td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.close-icon {
    cursor: pointer;
    margin-left: 2px;
}

#verified_stamp{
  width: 150px;
  position: absolute;
  bottom: 1%;
  right: 1%;
  z-index: 10;
}

.symbol_detection {
  background: #ff6347;
}

.text_detection {
  background: #ffd700;
  color: black !important;
}

.line_detection, .line_type_detection {
  background: #4169e1;
}

.threshold-range input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 5px;
    outline: none;
    opacity: 0.9;
    transition: background 0.15s ease-in-out;
}

/* Style the slider thumb */
.threshold-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s ease-in-out;
}

.threshold-range input[type="range"]::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s ease-in-out;
}

.a9s-annotation.hide_legend rect {
  fill: white !important;
  stroke: white !important;
  opacity: 0.4 !important;
}

.gradient-icon{
  background: linear-gradient(45deg, #4285f4, #9b72cb, #d96570);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.gradient-background{
  background: linear-gradient(45deg, #4285f4, #9b72cb, #d96570) !important;
}

.symbol-subscripts{
  margin-top: 5px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.datalounge-table th, .datalounge-table td{
  padding: 8px !important
}

.datalounge-table{
  background-color: #256D58 !important;
}

.symbolGroupAccordian .accordion-header{
  border-left: 2px solid #135441;
}

#toggle_hidden_symbols[data-hidden="true"] .fa-eye{
  display: none;
}

#toggle_hidden_symbols[data-hidden="false"] .fa-eye-slash{
  display: none;
}

#toggle_hidden_symbols[data-hidden="true"] #hidden_text{
  text-decoration: auto;
}

#toggle_hidden_symbols[data-hidden="false"] #hidden_text{
  text-decoration: line-through;
}

.tooltipster-sidetip.my-info-theme .tooltipster-content{
  padding: 1.5rem;
}
/* Custom Tooltipster theme
.tooltipster-sidetip.my-info-theme .tooltipster-box {
  background: #cfe2ff;
  border: 1px solid #b6d4fe;
  border-radius: 0.25rem;
  padding: 8px 12px;
}

.tooltipster-sidetip.my-info-theme .tooltipster-arrow {
  display: none !important;
}


.tooltipster-sidetip.my-info-theme .tooltipster-content{
  color: #084298 !important;
}*/

#data-lounge-metrics{
  display:flex;
  justify-content: space-between;
}

/* Symbol Name Select2 dropdown ellipsis truncation in annotation boxes */
.select-widget .select2-container--default .select2-selection--single .select2-selection__rendered,
.r6o-editor .select2-container--default .select2-selection--single .select2-selection__rendered,
.editorBody .select2-container--default .select2-selection--single .select2-selection__rendered,
.drawing-board-widget .select2-container--default .select2-selection--single .select2-selection__rendered {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.select-widget .select2-container .select2-selection__rendered,
.r6o-editor .select2-container .select2-selection__rendered,
.editorBody .select2-container .select2-selection__rendered,
.drawing-board-widget .select2-container .select2-selection__rendered {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.select2-selection__clear {
    float: right !important;
    margin-right: 4px !important;
}

.select2-selection__clear {
    color: red !important;
    font-weight: bold !important;
    font-size: 16px !important;
}

.select2-selection__clear:hover {
    color: darkred !important;
    cursor: pointer;
}

.redlining-widget .select2-container {
  width: 100% !important;
  max-width: 100% !important;
}

.redlining-widget .editorBody,
.redlining-widget #symbol-form,
.redlining-widget #floatingRedliningSymbol {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.redlining-symbol-dropdown.select2-dropdown {
  width: 100% !important;
}

.redlining-symbol-dropdown .select2-results__option,
.redlining-symbol-dropdown .select2-search--dropdown,
.redlining-symbol-dropdown .select2-search__field {
  max-width: 100%;
  box-sizing: border-box;
}

.redlining-symbol-dropdown .select2-results__option > span.d-flex {
  display: flex !important;
  align-items: flex-start !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.redlining-symbol-dropdown .select2-results__option > span.d-flex > img {
  flex: 0 0 auto;
}

.redlining-symbol-dropdown .select2-results__option > span.d-flex > span {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.redlining-symbol-dropdown .select2-results__option {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.graph-error {
    width: 100%;
    height: 100%;
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.graph-error-box {
    max-width: 520px;
    padding: 18px 22px;

    border-radius: 14px;
    background: #fff5f5;
    border: 1px solid #f3b4b4;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.graph-error-title {
    font-size: 15px;
    font-weight: 800;
    color: #b42318;
    margin-bottom: 6px;
}

.graph-error-msg {
    font-size: 13px;
    color: #7a1f1f;
    word-break: break-word;
}

.data-lounge-filter-icon.active {
    background-color: #dc3545; /* bootstrap danger red */
    color: #fff;
}

.data-lounge-filter-icon.active i {
    color: #fff;
}

.back-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:50%;
    background:#f1f3f5;
    color:#333;
    text-decoration:none;
    transition:all .25s ease;
    margin-right:10px;
    font-size:16px;
}

.back-btn:hover{
    background: var(--primary);
    color:#fff;
    transform:translateX(-3px);
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
}

.drawing-title{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

.drawing-text{
    font-weight:600;
}

/* Mobile */
@media (max-width:768px){
    .drawing-title{
        font-size:18px;
    }
    .back-btn{
        width:34px;
        height:34px;
        font-size:14px;
    }
}

.disabled-toggle {
    cursor: not-allowed;
}

.disabled-toggle * {
    cursor: not-allowed !important;
}

.deleted-symbols-modal .modal-body {
    padding-top: 1rem;
}

.deleted-symbols-message {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #eef9f8;
    color: #205b58;
    font-size: 0.95rem;
    line-height: 1.5;
}

.deleted-symbols-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.deleted-symbol-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid #dbe7e7;
    border-radius: 14px;
    background: #fff;
}

.deleted-symbol-preview {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
    background: #f5f7f7;
    border: 1px solid #e2ecec;
    flex-shrink: 0;
}

.deleted-symbol-details {
    flex: 1;
    min-width: 0;
}

.deleted-symbol-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: #1d2b2b;
    word-break: break-word;
}

.deleted-symbol-tags {
    margin-top: 0.3rem;
    color: #617676;
    font-size: 0.84rem;
    word-break: break-word;
}

.deleted-symbol-empty {
    padding: 1rem;
    border: 1px dashed #c9d8d8;
    border-radius: 14px;
    text-align: center;
    color: #647979;
    background: #fbfdfd;
}

.deleted-line-preview {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #f5f7f7;
    border: 1px solid #e2ecec;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.deleted-line-stroke {
    display: block;
    width: 100%;
    height: 0;
    border-top: 4px solid #19c4c0;
    border-radius: 999px;
}

@media (max-width: 767px) {
    .deleted-symbol-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .deleted-symbol-preview {
        width: 100%;
        height: 120px;
    }

    .deleted-line-preview {
        width: 100%;
        height: 72px;
    }
}

/* =============== Data / DEXPI Lounge Tabs =============== */
.lounge-tabs {
    border-bottom: 1px solid #E5E5E5;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}
.lounge-tabs .nav-item {
    flex: 1 1 0;
}
.lounge-tabs .nav-link {
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #6B7280;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.lounge-tabs .nav-link:hover {
    color: #19c4c0;
}
.lounge-tabs .nav-link.active {
    color: #19c4c0;
    background: transparent;
    border-bottom-color: #19c4c0;
}
.lounge-tab-content {
    width: 100%;
}

.drawing-document-viewer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 5px 12px 0px 12px;
}

.drawing-document-viewer-header > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.drawing-document-viewer-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #6B7280;
}

.drawing-document-viewer-title {
    font-size: 18px;
    color: #292D32;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.drawing-document-viewer-frame-wrap {
    width: 100%;
    min-height: 68vh;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    flex: 1 1 auto;
}

#drawing-document-viewer-iframe {
    width: 100%;
    height: 100%;
    min-height: 68vh;
    border: 0;
    background: #fff;
    display: block;
}

#redlining-document-viewer-iframe {
    width: 100%;
    height: 100%;
    min-height: 68vh;
    border: 0;
    background: #fff;
    display: block;
}

@media (max-width: 991.98px) {
    #symbols-split-layout,
    #redlining-split-layout {
        flex-wrap: wrap;
        gap: 20px;
    }

    #symbols-split-layout #symbols-action-container,
    #symbols-split-layout #engineering-board-panel,
    #symbols-split-layout.document-split-active #symbols-action-container,
    #symbols-split-layout.document-split-active #symbols-document-split-panel,
    #redlining-split-layout #redlining-action-container,
    #redlining-split-layout.document-split-active #redlining-action-container,
    #redlining-split-layout.document-split-active #redlining-document-split-panel {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #symbols-split-layout.document-split-active #engineering-board-panel {
        display: none !important;
    }

    .drawing-document-viewer-frame-wrap,
    #drawing-document-viewer-iframe,
    #redlining-document-viewer-iframe {
        min-height: 55vh;
    }
}

/* =============== DEXPI Lounge =============== */
.dexpi-lounge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 8px;
}
.dexpi-lounge-title {
    font-size: 14px;
    font-weight: 600;
    color: #292D32;
    display: flex;
    align-items: center;
}
.dexpi-lounge-search {
    margin-bottom: 8px;
}
.dexpi-lounge-search .symbols_data_search_box {
    width: 100%;
}
.dexpi-lounge-body {
    min-height: 55vh;
    max-height: 65vh;
    overflow-y: auto;
    padding-right: 2px;
}
.dexpi-lounge-placeholder {
    font-size: 12px;
}
.dexpi-accordion .accordion-item {
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    margin-bottom: 6px;
    overflow: hidden;
    background: #fff;
}
.dexpi-accordion .accordion-button {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #292D32;
    background: #F7FAFA;
    box-shadow: none;
}
.dexpi-accordion .accordion-button:not(.collapsed) {
    color: #ffffff;
    background: #19c4c0;
}
.dexpi-accordion .accordion-button:focus {
    box-shadow: none;
}
/* Replace Bootstrap chevron with +/- sign */
.dexpi-accordion .accordion-button::after,
.dexpi-object-button::after {
    background-image: none !important;
    content: "+";
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transform: none !important;
    transition: transform 0.15s ease;
}
.dexpi-accordion .accordion-button:not(.collapsed)::after,
.dexpi-object-button:not(.collapsed)::after {
    background-image: none !important;
    content: "−";
    transform: none !important;
}
.dexpi-group-name {
    flex: 1 1 auto;
}
.dexpi-group-count {
    background: rgba(25, 196, 192, 0.15);
    color: #0f7f7c;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: auto;
    margin-right: 8px;
}
.dexpi-accordion .accordion-button:not(.collapsed) .dexpi-group-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.dexpi-accordion .accordion-body,
.dexpi-accordion .dexpi-group-body {
    padding: 6px;
    background: #FAFBFC;
}

/* Inner (object-level) accordion */
.dexpi-inner-accordion .accordion-item,
.dexpi-sub-accordion .accordion-item {
    border: 1px solid #EEF1F2;
    border-radius: 6px;
    margin-bottom: 6px;
    overflow: hidden;
    background: #ffffff;
}
.dexpi-inner-accordion .accordion-item:last-child,
.dexpi-sub-accordion .accordion-item:last-child {
    margin-bottom: 0;
}
.dexpi-object-button {
    padding: 6px 10px !important;
    font-size: 12.5px !important;
    background: #ffffff !important;
    color: #292D32 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    box-shadow: none !important;
}
.dexpi-object-button:not(.collapsed) {
    background: #F3FAFA !important;
    color: #0f7f7c !important;
}
.dexpi-object-button::after {
    margin-left: 6px;
    width: 0.9rem;
    height: 0.9rem;
    background-size: 0.9rem;
}
.dexpi-object-title {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
}
.dexpi-object-primary {
    font-size: 12.5px;
    font-weight: 600;
    color: inherit;
    word-break: break-word;
    line-height: 1.2;
}
.dexpi-object-secondary {
    font-size: 10.5px;
    color: #6B7280;
    word-break: break-word;
    line-height: 1.2;
}
.dexpi-object-type {
    background: #EEF9F9;
    color: #0f7f7c;
    border: 1px solid #D4EFEE;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}
.dexpi-object-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 10px !important;
    background: #FAFBFC;
}
.dexpi-kv {
    display: flex;
    gap: 6px;
    font-size: 11.5px;
    line-height: 1.35;
    align-items: flex-start;
}
.dexpi-kv .dexpi-k {
    color: #6B7280;
    flex: 0 0 40%;
    word-break: break-word;
}
.dexpi-kv .dexpi-v {
    color: #292D32;
    flex: 1 1 auto;
    word-break: break-word;
    font-weight: 500;
}
.dexpi-kv .dexpi-refs {
    font-family: "SFMono-Regular", Consolas, Menlo, monospace;
    font-size: 11px;
}
.dexpi-sub {
    margin-top: 8px;
    border-left: 2px solid #E7F5F4;
    padding-left: 8px;
}
.dexpi-sub-title {
    font-size: 11.5px;
    font-weight: 600;
    color: #0f7f7c;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dexpi-sub-title .dexpi-count {
    background: #EEF9F9;
    color: #0f7f7c;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 999px;
    font-weight: 600;
}
.dexpi-sub-accordion .accordion-button {
    font-size: 12px !important;
    padding: 5px 8px !important;
}
.dexpi-sub-accordion .dexpi-object-type {
    font-size: 9.5px;
}

.loungeTabsTitle {
    font-size: 18px;
}

/* ---- Line Lounge ---- */
#accordionLineLounge .accordion-item.line-lounge-item {
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    margin-bottom: 6px;
    overflow: hidden;
    background: #fff;
}
.line-lounge-line-btn {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #292D32;
    display: flex;
    align-items: center;
}
.line-lounge-line-btn .line-lounge-name {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.line-lounge-line-btn:not(.collapsed) {
    background: #f3f0ff;
    color: #292D32;
}
.line-lounge-symbols .line-lounge-symbol {
    cursor: pointer;
    padding: 6px 14px;
    font-size: 12px;
    border-top: 1px solid #f0f0f0;
}
.line-lounge-symbols .line-lounge-symbol:hover {
    background: #f3f0ff;
}
.line-lounge-overlay-rect {
    pointer-events: none;
}
#line-lounge-search {
    padding-right: 38px;
}
.line-lounge-empty {
    font-size: 12px;
    color: #8a8a8a;
    text-align: center;
    padding: 14px 4px;
}
