
/* Oligo search inline loader */
#oligo-search-loader {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(25, 25, 35, 0.90);
  color: #fff;
  border-radius: 10px;
  padding: 10px 20px 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 6000;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.oligo-search-spinner {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 2.5px solid rgba(255,255,255,0.25);
  border-top-color: #976BE0;
  border-radius: 50%;
  animation: spin1 0.75s linear infinite;
}

#filter_details_banner,
#subtype_summary_title,
#subtype_refine_container .fw-semibold {
  overflow-wrap: anywhere;
}
.filter-keywords-more {
  display: block;
}
.filter-keywords-toggle {
  vertical-align: baseline;
}

.detGroupClick {
    cursor: pointer;
}
html,
body {
  overflow-x: hidden;
}
.bds-accession-blur {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}
#alignment_tb_container .section table tr:first-child{
    position: relative;
} 
.summary_table_1 tfoot{
    background-color: #e6e6e9;
}

/* ── Align all three inclusivity summary tables ── */
.summary_table_1,
.summary_table_1_nd,
#summary_table_1_combined_total table {
    table-layout: fixed;
    width: 100%;
}

/* Col 1: organism / total label — wider */
.summary_table_1 th:nth-child(1),
.summary_table_1 td:nth-child(1),
.summary_table_1_nd th:nth-child(1),
.summary_table_1_nd td:nth-child(1),
#summary_table_1_combined_total th:nth-child(1),
#summary_table_1_combined_total td:nth-child(1) {
    width: 28%;
}

/* Col 2: Accessions Returned */
.summary_table_1 th:nth-child(2),
.summary_table_1 td:nth-child(2),
.summary_table_1_nd th:nth-child(2),
.summary_table_1_nd td:nth-child(2),
#summary_table_1_combined_total th:nth-child(2),
#summary_table_1_combined_total td:nth-child(2) {
    width: 15%;
}

/* Col 3: Meeting Inclusion Criteria */
.summary_table_1 th:nth-child(3),
.summary_table_1 td:nth-child(3),
.summary_table_1_nd th:nth-child(3),
.summary_table_1_nd td:nth-child(3),
#summary_table_1_combined_total th:nth-child(3),
#summary_table_1_combined_total td:nth-child(3) {
    width: 18%;
}

/* Col 4: Accessions Analyzed */
.summary_table_1 th:nth-child(4),
.summary_table_1 td:nth-child(4),
.summary_table_1_nd th:nth-child(4),
.summary_table_1_nd td:nth-child(4),
#summary_table_1_combined_total th:nth-child(4),
#summary_table_1_combined_total td:nth-child(4) {
    width: 15%;
}

/* Col 5: Accessions Detected */
.summary_table_1 th:nth-child(5),
.summary_table_1 td:nth-child(5),
.summary_table_1_nd th:nth-child(5),
.summary_table_1_nd td:nth-child(5),
#summary_table_1_combined_total th:nth-child(5),
#summary_table_1_combined_total td:nth-child(5) {
    width: 15%;
}

/* Col 6: % Detected — remainder */
.summary_table_1 th:nth-child(6),
.summary_table_1 td:nth-child(6),
.summary_table_1_nd th:nth-child(6),
.summary_table_1_nd td:nth-child(6),
#summary_table_1_combined_total th:nth-child(6),
#summary_table_1_combined_total td:nth-child(6) {
    width: 9%;
}
.number_caret {
line-height:14px;
overflow: hidden;
}
.bds-ai-input-row.ai_in_progregress .bds-ai-send-btn{
display: none !important;
}

.bds-ai-input-row.ai_in_progregress .stop-response-btn{
display: block !important;
}

.bds-ai-copy-btn {
display: none;
}

#multi-oligo-selector {
    position: relative;
    display: inline-block;
}

#multi-oligo-selector .oligo-selector-panel {
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    min-width: 220px;
    max-width: min(50vw, 350px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    border: 1px solid #e6eaf0;
    z-index: 1060;
}

#multi-oligo-selector.is-open .oligo-selector-panel {
    display: block;
}

#multi-oligo-selector .oligo-drag-handle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    background: #f6f7fb;
    border-bottom: 1px solid #e6eaf0;
    cursor: grab;
    user-select: none;
    color: #334155;
    -webkit-user-select: none;
    touch-action: none;
}

#multi-oligo-selector .oligo-drag-handle:active {
    cursor: grabbing;
}

#multi-oligo-selector .oligo-drag-grip {
    letter-spacing: 2px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1;
}

#multi-oligo-selector .oligo-selector-panel.is-dragging {
    transition: none;
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.22);
}

.bds-ai-msg-assistant:hover .bds-ai-copy-btn {
display: block;
}

.select2-search__field {
min-width:100px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search--inline:first-child .select2-search__field {
    font-size: 14px;
    padding-left: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding: 0 5px !important;
    font-size: 11px !important;
}

.select2-container--default .select2-selection--multiple {
    padding-right: 28px;
    position: relative;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    line-height: 1;
    z-index: 1;
}

.select2-results__options {
    overflow-x: hidden !important;
}

.select2-results__option[aria-selected] {
cursor: pointer;
font-size: 12px;
padding: 0px 5px;
display: inline-block;
background-color:#e9e7fd;
margin:5px;
color:#000;
}

#summary_tab .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search--inline:first-child .select2-search__field {
  width: 100% !important;
  min-width: 100% !important;
  color: #374151;
}

#summary_tab .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search--inline {
  width: 100% !important;
}

#summary_tab .select2-container--open {
  z-index: 2100;
}

#summary_tab .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search--inline:first-child .select2-search__field::placeholder {
  color: #6b7280 !important;
  opacity: 1;
}

#select2-small-select-multi-results .select2-results__option[aria-selected] {
  display: block;
  margin: 0;
  padding: 6px 10px;
  white-space: normal;
  word-break: break-word;
}

/* Select All Visible header — must not inherit chip/hover styles */
li.select2-results__option.select2-select-all,
.select2-results__option--highlighted.select2-select-all {
    display: block !important;
    background-color: #8A42FF !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    text-align: center !important;
    border-bottom: none !important;
    cursor: pointer !important;
}
li.select2-results__option.select2-select-all:hover {
    background-color: #7a35e8 !important;
    color: #fff !important;
}

.des_variant_col {
display:none;
}

.variant_search#blast_table .des_variant_col {
display:block;
}

.background_color_green {
background-color: rgba(0, 255, 0, 0.25);
}

.background_color_pink {
background-color: rgba(255, 105, 180, 0.25);
}

.background_color_red {
background-color: rgba(255, 0, 0, 0.25);
}

.sort-icon {
cursor: pointer;
}
.sort-icon.ti-arrow-up, .sort-icon.ti-arrow-down {
color: #8A42FF;
}

.nav-pills .nav-link {
padding: 8px 8px !important;
}

.table thead th {
text-transform: none;
font-size:16px;
}

pre {
margin-bottom: 0px !important;
}
pre {
overflow: unset;
margin: 0px;
}
#alignment_qwd_data {
overflow-x: scroll;
}

/* HTML: <div class="loader"></div> */
.paginate_loader {
margin: 0px auto;
width: 15px;
aspect-ratio: 1;
border-radius: 50%;
animation: l5 1s infinite linear alternate;
}
@keyframes l5 {
0% {
    box-shadow: 20px 0 #8A42FF, -20px 0 #0002;
    background: #8A42FF;
}
33% {
    box-shadow: 20px 0 #8A42FF, -20px 0 #0002;
    background: #0002;
}
66% {
    box-shadow: 20px 0 #0002, -20px 0 #8A42FF;
    background: #0002;
}
100% {
    box-shadow: 20px 0 #0002, -20px 0 #8A42FF;
    background: #8A42FF;
}
}
.paginate_loader_row {
text-align: center;
padding: 50px;
}

#searchpills-tab.sticky {
position: relative !important;
}

#load_compress_data .sticky_alignment,
#pnp .sticky_alignment,
#pnp1 .sticky_alignment,
#load_detectiongp_data .sticky_alignment,
#alignment_tb_container .sticky_alignment {
background: white;
z-index: 9;
padding: 5px;
transition: all 0.3s ease;
padding-left: 7px;
}

#load_compress_data .sticky_alignment pre.lazy-oligo-row .oligo-marker-anchor,
#pnp .sticky_alignment pre.lazy-oligo-row .oligo-marker-anchor,
#pnp1 .sticky_alignment pre.lazy-oligo-row .oligo-marker-anchor,
#load_detectiongp_data .sticky_alignment pre.lazy-oligo-row .oligo-marker-anchor,
#groupAccesssion .sticky_alignment pre.lazy-oligo-row .oligo-marker-anchor,
#summaryAccession .sticky_alignment pre.lazy-oligo-row .oligo-marker-anchor,
#alignment_tb_container .sticky_alignment pre.lazy-oligo-row .oligo-marker-anchor {
position: relative;
display: inline-block;
width: 1ch;
overflow: visible;
vertical-align: baseline;
}

#load_compress_data .sticky_alignment pre.lazy-oligo-row .oligo-mini-marker,
#pnp .sticky_alignment pre.lazy-oligo-row .oligo-mini-marker,
#pnp1 .sticky_alignment pre.lazy-oligo-row .oligo-mini-marker,
#load_detectiongp_data .sticky_alignment pre.lazy-oligo-row .oligo-mini-marker,
#groupAccesssion .sticky_alignment pre.lazy-oligo-row .oligo-mini-marker,
#summaryAccession .sticky_alignment pre.lazy-oligo-row .oligo-mini-marker,
#alignment_tb_container .sticky_alignment pre.lazy-oligo-row .oligo-mini-marker {
position: absolute;
left: -0.2ch;
top: 1.02em;
font-size: 10px;
line-height: 1;
color: #d30000;
cursor: pointer;
}

#load_compress_data td,
#pnp td,
#load_pnp1_data td,
#load_detectiongp_data td {
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
vertical-align: top;
}

/* Fixed sticky class */
#load_compress_data .fixed_sticky,
#pnp .fixed_sticky {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 10px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
padding-bottom: 0px;
padding-top: 0px;
padding-left: 53px;
}

#load_compress_data .fixed_sticky pre,
#pnp .fixed_sticky pre {
width: calc(100% - 50px);
}

/* Full-screen loader overlay */
#loader-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}

#loader-wrapper .bd-loader-content {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
}

#loader-wrapper .bd-loader {
position: relative;
width: 140px;
height: 140px;
display: flex;
align-items: center;
justify-content: center;
animation: none;
}

#loader-wrapper .bd-loader::before {
content: "";
position: absolute;
inset: 0;
border-radius: 50%;
box-sizing: border-box;
border: 10px solid #e6e9ed;
border-top-color: #976BE0;
animation: spin 1.1s linear infinite;
}

#loader-wrapper .bd-loader::after {
content: "";
position: absolute;
inset: 26px;
border-radius: 50%;
background: #8A42FF;
}

#loader-wrapper .bd-loader-timer {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
color: #fff;
font-weight: 600;
line-height: 1;
}

#loader-wrapper .bd-loader-message {
color: #fff;
text-align: center;
font-size: 16px;
max-width: 320px;
line-height: 1.4;
}

#load_compress_data pre,
#pnp pre {
overflow-x: auto; /* Enables horizontal scrolling */
max-width: 100%;
display: block;
margin-bottom: 0px;
margin-top: 0px;
}

.group_info {
cursor: pointer;
color: #8A42FF;
}

.color_green {
color: green;
}
.color_green_dim {
color: #4caf50;
opacity: 0.5;
}
.color_red {
color: #ff0000;
}
.color_pink {
color: #ff00ff;
}
/* Multi-forward ruler rows */
.multi-forward-ruler {
  font-family: monospace;
  white-space: pre;
  line-height: 1.4;
  font-size: 0.82rem;
  overflow: visible;
}
.multi-forward-ruler .fwd-lane {
  display: block;
}
.multi-forward-ruler .fwd-lane.active-fwd  { color: green;   font-weight: bold; }
.multi-forward-ruler .fwd-lane.inactive-fwd { color: #4caf50; opacity: 0.6; }
.multi-forward-ruler .fwd-arrow   { letter-spacing: 0; }
.multi-forward-ruler .fwd-label   { font-size: 0.7rem; vertical-align: super; margin-left: 2px; }

.sticky_alignmenttd {
position: sticky;
top: 0;
z-index: 10;
background: #fff;
}
#alignment_tb .sticky_alignmenttd {
padding-left: 0 !important;
}
#load_compress_data {
max-height: 300px;
overflow: scroll;
}
.drag-target {
display: none;
}

.summary_tbl2loader,
.summary_tbl1loader {
border: 8px solid #f3f3f3;
border-radius: 50%;
border-top: 8px solid #3498db;
width: 10px;
height: 10px;
-webkit-animation: spin1 2s linear infinite; /* Safari */
animation: spin1 2s linear infinite;
position: relative;

top: 4px;
display: none;
}

/* Safari */
@-webkit-keyframes spin1 {
0% {
    -webkit-transform: rotate(0deg);
}
100% {
    -webkit-transform: rotate(360deg);
}
}

@keyframes spin1 {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
}

.group_number_sticky {
top: 0;
position: sticky;
left: 0;
background-color: white !important;
z-index: 22;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1) !important;
font-size: 0.8125rem;
padding-right: 2px !important;
}

.group_number_sticky[data-sticky-oligo-labels="1"] {
vertical-align: top;
white-space: nowrap;
}

.sticky-header-label-block {
display: flex;
flex-direction: column;
align-items: flex-start;
margin: 0;
padding: 5px 0 0;
background: transparent;
border: 0;
font-family: inherit;
font-size: 0.75rem;
font-weight: 600;
line-height: 1.15;
white-space: nowrap;
color: #5f6170;
}

.sticky-header-label-row {
display: flex;
align-items: center;
min-height: 1.55em;
}

.sticky-header-label-spacer {
min-height: 1.45em;
}

.sticky-header-label-query {
font-weight: 700;
}

.q_ht_from_num {
font-size: 10px;
}
#multiCollapseExample1 h5 span {
font-size: 16px;
}

#alignment_tb_container table tr:last-child,
#load_compress_data table tr:last-child,
#load_pnp_data table tr:last-child,
#load_pnp1_data table tr:last-child,
#load_detectiongp_data table tr:last-child {
height: 500px;
vertical-align: top;
}

#alignment_tb_container table tr:first-child,
#load_compress_data table tr:first-child,
#load_pnp_data table tr:first-child,
#load_pnp1_data table tr:first-child,
#load_detectiongp_data table tr:first-child {
position: sticky;
top: 0;
background-color: #fff;
z-index: 222;
}

.lazy-tab-placeholder-shell {
min-height: 500px;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}

.alignment_summaryAccesion  {
margin:0px auto;
}
.grouptab_alignment_head_summaryAccesion td:first-child, .grouptab_alignment_body_summaryAccesion td:first-child, .alignment_head_summaryAccesion td:first-child,.alignment_body_summaryAccesion td:first-child {
display: none;
}

.nav-link.active .tabler-info-circle-filled {
color: #fff !important;
}

/* Tabs scroll wrapper for small screens */
.tabs-scroll-wrapper {
    position: relative;
}
.tabs-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tabs-scroll::-webkit-scrollbar { display: none; }
.tabs-scroll .nav { display: flex; flex-wrap: nowrap; }
.tabs-scroll .nav-link { white-space: nowrap; }
.tabs-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255,255,255,0.9);
    border: 1px solid #ddd;
    width: 34px;
    height: 34px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
}
.tabs-scroll-btn.left { left: 4px; }
.tabs-scroll-btn.right { right: 4px; }

@media (min-width: 992px) {
    .tabs-scroll-btn { display: none !important; }
}

.summary_table_1 .dropdown-toggle::after {
display: none;
}

.summary_table_2 {
border-collapse: separate;
border-spacing: 0;
}

#summary_table_2_container .summary_table_2 thead {
z-index: 6;
}

#summary_table_2_container .summary_table_2 thead th {
position: sticky;
top: -12px;
z-index: 7;
background: #e3dbfc;
background-clip: padding-box;
}

.summary_table_2 > :not(caption) > * > * {
border-color: #e6e6e8;
}

.summary_table_2 tbody > tr > td {
border-right: 1px solid #e6e6e8;
border-bottom: 1px solid #e6e6e8;
vertical-align: middle;
background-color: #fff;
}

.summary_table_2 tbody > tr > td:last-child {
border-right: 0;
}

.summary_table_2 tbody > tr.head_tr > td {
background-color: #c7c3ef;
border-bottom: 1px solid #b9b1e5;
}

.summary_table_2 tbody > tr > td[colspan="2"] {
padding: 0;
}

.summary_table_2 .summary_table2_compound_cell {
--summary-table2-oligo-column: max(180px, 32%);
position: relative;
padding: 0;
vertical-align: top;
}

.summary_table_2 .summary_table2_compound_cell::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: calc(100% - var(--summary-table2-oligo-column));
width: 1px;
background: #e6e6e8;
pointer-events: none;
}

.summary_table_2 .summary_table2_mutation_grid {
display: flex;
flex-direction: column;
height: 100%;
background: #fff;
}

.summary_table_2 .summary_table2_mutation_row {
display: grid;
grid-template-columns: minmax(0, 1fr) var(--summary-table2-oligo-column);
align-items: stretch;
min-height: 48px;
}

.summary_table_2 .summary_table2_mutation_row + .summary_table2_mutation_row {
border-top: 1px solid #e6e6e8;
}

.summary_table_2 .summary_table2_mutation_grid--limited .summary_table2_mutation_row {
min-height: 70px;
}

.summary_table_2 .summary_table2_mutation_oligo,
.summary_table_2 .summary_table2_mutation_text {
display: flex;
align-items: center;
padding: 10px 14px;
background: transparent;
}

.summary_table_2 .summary_table2_mutation_oligo {
justify-content: center;
text-align: center;
}

.summary_table_2 .summary_table2_mutation_oligo_value {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 4px;
flex-wrap: wrap;
width: 100%;
}

.summary_table_2 .summary_table2_mutation_text {
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
text-align: left;
white-space: normal;
word-break: break-word;
overflow-wrap: anywhere;
}

.summary_table_2 .summary_table2_delta_g {
display: inline-flex;
flex-direction: column;
align-items: flex-start;
max-width: 100%;
font-size: 11px;
line-height: 1.4;
}

.summary_table_2 .summary_table2_delta_g_details {
margin-top: 2px;
color: #666;
}

.summary_table_2 .summary_table2_binding_explain_btn {
margin-left: 4px;
padding: 0 4px;
border: 0;
background: transparent;
font-size: 14px;
line-height: 1.2;
cursor: pointer;
}

.swal2-popup.summary_table2_binding_explain_popup {
padding: 22px 26px 20px;
border-radius: 12px;
max-width: 92vw;
}

.swal2-popup.summary_table2_binding_explain_popup .summary_table2_binding_explain_title {
margin: 0 0 10px;
padding: 0;
font-size: 18px !important;
font-weight: 600;
line-height: 1.3;
color: #2b2b3c;
text-align: left;
}

.swal2-popup.summary_table2_binding_explain_popup .summary_table2_binding_explain_body {
margin: 0;
padding: 0;
font-size: 14px !important;
line-height: 1.65;
color: #444;
text-align: left !important;
}

.swal2-popup.summary_table2_binding_explain_popup .summary_table2_binding_explain_body p {
margin: 0 0 10px;
text-align: justify;
text-justify: inter-word;
hyphens: auto;
overflow-wrap: anywhere;
}

.swal2-popup.summary_table2_binding_explain_popup .swal2-actions {
margin: 14px 0 0;
justify-content: flex-end;
width: 100%;
}

.swal2-popup.summary_table2_binding_explain_popup .summary_table2_binding_explain_close {
padding: 8px 22px;
border: 0;
border-radius: 8px;
background: #803DEC;
color: #fff;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: background 0.15s ease;
}

.swal2-popup.summary_table2_binding_explain_popup .summary_table2_binding_explain_close:hover {
background: #6a2fd0;
}

.swal2-popup.summary_table2_binding_explain_popup .summary_table2_binding_explain_close:focus-visible {
outline: 2px solid #b794f6;
outline-offset: 2px;
}

.summary_table_2 .summary_table2_mutation_text--no-mutation {
color: #aaa;
font-style: italic;
}

.summary_table_2 .summary_table2_outer_tr.summary_table2_single_mutation .summary_table2_mutation_oligo {
align-items: center;
padding-top: 0;
padding-bottom: 0;
}

.summary_table_2 .summary_table2_outer_tr.summary_table2_single_mutation .summary_table2_mutation_text {
align-items: flex-start;
padding-top: 6px;
}

.summary_table_2 .summary_table2_outer_tr.summary_table2_single_mutation .summary_table2_mutation_row {
min-height: 34px;
}

.summary_table_2 .summary_table2_outer_tr.summary_table2_single_mutation .summary_table2_mutation_oligo,
.summary_table_2 .summary_table2_outer_tr.summary_table2_single_mutation .summary_table2_mutation_text {
padding-bottom: 6px;
}

.summary_table_2 .summary_table2_outer_tr.summary_table2_single_mutation .summary_table2_mutation_oligo {
padding-bottom: 0;
}

.summary_table2_accession_search {
width: 100%;
margin-top: 8px;
padding: 5px 8px;
border: 1px solid #cbbcf7;
border-radius: 4px;
font-size: 12px;
font-weight: 400;
background: #fff;
color: #333;
}

.summary_table2_accession_search:focus {
outline: none;
border-color: #8A42FF;
box-shadow: 0 0 0 2px rgba(138, 66, 255, 0.12);
}

.summary_table2_accession_preview {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
text-align: left;
line-height: 1.4;
}

.summary_table2_accession_preview_list {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
width: 100%;
}

.summary_table2_accession_preview_item {
display: block;
width: 100%;
word-break: break-word;
overflow-wrap: anywhere;
}

.summary_table2_accession_toggle {
padding: 0;
border: 0;
background: transparent;
color: #8A42FF;
font-size: 12px;
font-weight: 600;
text-decoration: underline;
cursor: pointer;
}

.summary_table2_accession_toggle:hover,
.summary_table2_accession_toggle:focus {
color: #5c2d91;
outline: none;
}

#summary_table_2_container.summary_table2_single_oligo_mode .summary_table2_accession_preview {
display: block;
line-height: 1.4;
}

#summary_table_2_container.summary_table2_single_oligo_mode .summary_table2_accession_preview_list {
display: block;
width: auto;
white-space: normal;
}

#summary_table_2_container.summary_table2_single_oligo_mode .summary_table2_accession_preview_item {
display: block;
width: auto;
word-break: break-all;
}

#summary_table_2_container.summary_table2_single_oligo_mode .summary_table2_accession_toggle {
display: inline-block;
margin-top: 4px;
}

.summary_table_2 tbody > tr > td[colspan="2"] > table {
width: 100%;
margin: 0;
table-layout: fixed;
border-collapse: collapse;
border-spacing: 0;
background: transparent;
}

.summary_table_2 tbody > tr > td[colspan="2"] > table td {
background: transparent;
border-color: #e6e6e8;
}

.summary_table_2 tbody > tr > td[colspan="2"] > table tr + tr td {
border-top: 1px solid #e6e6e8;
}

.summary_table_2 td table:nth-of-type(even) {
background-color: transparent;
}

#scrollTopBtn {
position: fixed;
bottom: 30px;
right: 30px;
z-index: 1030;
display: none; /* Hidden by default */
font-size: 24px;
border: none;
outline: none;
background-color: #8A42FF;
color: white;
cursor: pointer;
border-radius: 50%;
transition: background-color 0.3s;
width: 40px;
height: 40px;
line-height: 40px;
}

#scrollTopBtn:hover {
background-color: #514b9a;
}

.search_forward_mismatch, .search_probe_mismatch, .search_reverse_mismatch{
color: #8b0000;
font-weight: bold;
}

.no_filter_mutation {
display: none !important;
}

.no_filter_detected {
display: none !important;
}

.no_filter_accession {
display: none !important;
}

/* Tab nav wrapper with arrow buttons */
.tabs-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1rem;
  position: relative;
}

.tabs-scroll-container {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

#searchpills-tab {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 0 !important;
  cursor: default;
}

#searchpills-tab::-webkit-scrollbar {
  display: none;
}

#searchpills-tab .nav-item {
  flex: 0 0 auto;
  margin-right: 4px;
}

.tab-scroll-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #d9d0f0;
  border-radius: 6px;
  background: #8A42FF;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  padding: 0;
  line-height: 1;
}

.tab-scroll-arrow:hover {
  background: #6d2fb5;
  color: #fff;
  box-shadow: 0 2px 8px rgba(138,66,255,0.35);
}

.tab-scroll-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.tab-scroll-arrow i {
  font-size: 1.1rem;
}

/* Ribbon styling for AI widget */
.bds-ai-ribbon {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 8px;
}

.bds-ai-ribbon-tabs {
display: flex;
gap: 4px;
}

.bds-ai-ribbon-tab {
padding: 4px 8px;
border: none;
background: #ececec;
cursor: pointer;
font-size: 12px;
border-radius: 3px 3px 0 0;
}

.bds-ai-ribbon-tab.active {
background: #dde5ff;
border-bottom: 2px solid #4a5cff;
}

.bds-ai-ribbon-content {
display: flex;
flex-wrap: wrap;
gap: 4px;
}

.bds-ai-ribbon-content.hidden {
display: none;
}

.bds-ai-ribbon-btn {
padding: 3px 8px;
background: #f7f7f7;
border: 1px solid #ddd;
border-radius: 12px;
font-size: 11px;
cursor: pointer;
white-space: nowrap;
}

/* Ribbon button hover effect */
.bds-ai-ribbon-btn:hover {
background: #ececff;
border-color: #ccc;
transition: background 0.15s ease, border-color 0.15s ease;
}

/* Slightly larger and cleaner ribbon tabs */
.bds-ai-ribbon-tab {
font-size: 13px;
padding: 6px 12px;
}

/* Soft visual separator between ribbon and chat */
.bds-ai-ribbon {
border-bottom: 1px solid #eee;
padding-bottom: 6px;
margin-bottom: 10px;
}

/* Make ribbon sticky inside AI panel */
.bds-ai-ribbon {
position: sticky;
top: 0;
background: #fff;
z-index: 5;
}

/* Two-column layout for AI panel */
.bds-ai-layout {
display: flex;
gap: 12px;
flex: 1 1 auto;
min-height: 0;
}

/* Left sidebar */
.bds-ai-sidebar {
flex: 0 0 210px;
display: flex;
flex-direction: column;
gap: 14px;
padding-right: 8px;
border-right: 1px solid #eee;
padding-top: 8px;
overflow-y: auto;
max-height: 100%;
}

/* Right main area (chat) */
.bds-ai-main {
flex: 1 1 auto;
display: flex;
flex-direction: column;
gap: 8px;
height: 100%;
overflow: hidden;
min-height: 0;
}

/* Sidebar sections */
.bds-ai-sidebar-section {
display: flex;
flex-direction: column;
gap: 4px;
}

.bds-ai-sidebar-title {
margin-bottom: 6px;
margin-top: 4px;
font-size: 13px;
font-weight: 600;
color: #666;
text-transform: uppercase;
letter-spacing: 0.03em;
opacity: 0.75;
}

/* Sidebar buttons */
.bds-ai-sidebar-btn {
padding: 6px 10px;
border-radius: 8px;
border: 1px solid #ddd;
background: #fafafa;
font-size: 12px;
text-align: left;
cursor: pointer;
transition: background 0.15s ease, border-color 0.15s ease;
}

.bds-ai-sidebar-btn:hover {
background: #f0f3ff;
border-color: #c2ccff;
}

.bds-ai-sidebar-btn:active {
transform: translateY(1px);
}

.bds-ai-sidebar-section button {
margin-bottom: 4px;
}

/* Main AI area scroll fix */
.bds-ai-main {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}

/* Messages area must scroll */
.bds-ai-messages {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding-right: 6px;
}

/* Left sidebar */
.bds-ai-sidebar {
flex: 0 0 210px;
min-width: 180px;
max-width: 360px;
display: flex;
flex-direction: column;
gap: 14px;
padding-right: 8px;
border-right: 1px solid #eee;
padding-top: 8px;
overflow-y: auto;
max-height: 100%;
}

/* Resizer between sidebar and main */
.bds-ai-resizer {
position: relative;
flex: 0 0 10px;
cursor: col-resize;
background: transparent;
}

.bds-ai-resizer::before {
content: "";
position: absolute;
top: 8px;
bottom: 8px;
left: 50%;
transform: translateX(-50%);
width: 2px;
border-radius: 999px;
background: rgba(0, 0, 0, 0.06);
}

.bds-ai-resizer:hover::before {
background: rgba(0, 0, 0, 0.12);
}

/* Slim arrow tab */
.bds-ai-collapse-btn {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 18px;
height: 40px;
border-radius: 999px;
border: 1px solid #ddd;
background: #f8f8f8;
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
cursor: pointer;
font-size: 11px;
padding: 0;
color: #555;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
}

.bds-ai-collapse-btn:hover {
background: #f0f0f0;
}

.bds-ai-sidebar.collapsed + .bds-ai-resizer::before {
background: rgba(0, 0, 0, 0.04);
}

/* Layout: sidebar + resizer + main */
.bds-ai-layout {
display: flex;
gap: 0;
flex: 1 1 auto;
min-height: 0;
}

/* Sidebar remains fixed-width, resizable via flex-basis */
.bds-ai-sidebar {
flex: 0 0 220px;
display: flex;
flex-direction: column;
gap: 14px;
padding-right: 8px;
border-right: 1px solid #eee;
overflow-y: auto;
max-height: 100%;
}

/* Vertical resizer between sidebar and main */
.bds-ai-resizer {
flex: 0 0 4px;
cursor: col-resize;
background: transparent;
position: relative;
}

.bds-ai-resizer::before {
content: "";
position: absolute;
top: 8px;
bottom: 8px;
left: 50%;
transform: translateX(-50%);
width: 2px;
border-radius: 999px;
background: rgba(0, 0, 0, 0.06);
}

.bds-ai-resizer:hover::before {
background: rgba(0, 0, 0, 0.12);
}

/* Right main chat area */
.bds-ai-main {
flex: 1 1 auto;
display: flex;
flex-direction: column;
min-height: 0;
}

/* Ensure messages area scrolls inside main */
.bds-ai-messages {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding-right: 6px;
}

/* Ensure the AI panel is a flex column with constrained height */
.bds-ai-panel {
display: flex;
flex-direction: column;
max-height: 70vh;
}

/* demo.css */
 #searchpills-tab {
        z-index: 99;
        position: static;
    }
    #searchpills-tab.sticky {
        position: fixed;
        top: 0;
        width: 100%;
        left: 0;
        background: #fff;
        padding-left: 25px;
        padding-top: 10px;
        padding-bottom: 10px;
        box-shadow: 0px 1px 4px 0px rgba(47, 43, 61, 0.1);
    }
    #layout-navbar {
        box-shadow: 0px 1px 4px 0px rgba(47, 43, 61, 0.1);
    }

    .tab-content thead th{
        padding-block: 8px !important;
        font-size: 13.5px;
    }

    .desc_td {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 600px; 
    }

    .des_variant_col {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 200px; 
    }

    .blast_result_section {
        
        background-color: #8a42ff26;
    }

    .blast_result_section th, .blast_result_section td {
      font-size: 14px;
    }
    .blast_result_section tbody {
      background-color:#fff;
    }

    .caption {
color: #000;
text-align: left;
margin: 0 0 .5em 0;
letter-spacing: -1px;
font-size: 110%;
font-weight: bold;
}

.section {
    border: 1px solid mistyrose;
    background-color: #8a42ff26;
    padding: .5em;
}

#graphic {
text-align: center;
margin: auto;
}

#clkey {
background-color: White;
border: 1px solid black;
padding-bottom: 1em;
width: 610px;
padding-right:1em;
}

.grQuery {
clear: left;  
font-family: verdana;
font-size: 11px;
font-weight: bold;
height: 12px;  
vertical-align: text-top;  
background-color: #58c7c7; 
color: black;
}
.grQuery.leftGr.masterLen > span {
display: inline-block;
margin-top: -4px;
}

.leftGr.grpos {
clear: left;
}

.leftGr {
margin-left: 70px;  
}

.leftGr.grpos > img {
float: left;
}

.leftGr.grpos div {
margin-bottom: 5px;
height:4px;
}
.leftGr.grpos div {
float: left;
}

.grSpace, .grH, .h4 {
height: 4px;
}

.h6 {
height: 6px;
}
.h1 {
height: 1px;
}

.graphSeq {
display: inline-block;
}
.grey {
background-color: #808080;
margin-top: 2px;
}

.black {
background-color: Black;
margin-top: -1px;
}

.purple {
background-color:Fuchsia;
}

.white {
background-color:white;    
}
.green {
background-color:lime;
}
.red {
background-color: red;
}

.blue {
background-color: blue;
}

.sdg {
float: none;
font-family: verdana;
font-size: 0.9em;
height: 13px;
margin-bottom: 1em;
margin-top: -7px;
padding-bottom: 1em;
width: 10px;
}

#df {
background-color: #ffffcc;
display: inline-block;
margin-bottom: 0.2em;
margin-top: -0.2em;
padding: 0 3px;
width: 326px;
}

#grBlastHits {
display:inline-block;
}
.scale {
width: 2px;
height: 10px;
background-color: black;
}

.clkey {
display: inline-block;
float: left;
font-family: verdana;
font-size: 13px;
margin-bottom: 0.5em;
width: 20%;
text-align: left;
}

.clKeyTl {
font-family: verdana;
font-weight: bold;
margin-bottom: 3px;
}

.masterLen {
width: 500px;
}
.ck {
display: inline-block;
height: 1em;
width: 1em;
}
.cl {
display: inline-block;
margin-left: 0.2em;
vertical-align: 2px;
}

table#definition, table#iteration, table#hlist, table#hits, table#statistics { border-collapse: collapse; background: White; }
table#definition { width: 610px; background: White; }
table#definition td { border: 1px solid Brown; padding: 2px; }
table#definition td:nth-child(odd) { color: White; font-weight: bold; background: Maroon; text-align: right; }

table#iteration, table#hlist, table#hits { width: 100%; }
table#iteration th { color: white; background: OrangeRed; border: 1px solid Red; padding: 2px; text-align: center; }
table#iteration td { border: 1px solid Red; padding: 2px; }
table#iteration tr:nth-child(odd) { background: PapayaWhip; }

table#hlist th {     color: #000;
background: #e1f3f8;
border: 1px solid #ddd; padding: 2px; text-align: center; }
table#hlist td { border: 1px solid #ddd; padding: 2px; }
table#hlist tr:nth-child(odd) { background: floralwhite; }

table#hits th { color: #000; background: #8a42ff26; border: 1px solid #ddd; padding: 2px; text-align: center; }
table#hits td { border: 1px solid #ddd; padding: 2px; }
table#hits tr:nth-child(odd) { background: floralwhite; }

table#statistics { width: 300px; }
table#statistics td { border: 1px solid Brown; padding: 2px; }
table#statistics td:nth-child(odd) { color: white; background: Maroon; }

#ilnk { text-decoration: none; }
#rilnk { text-decoration: none; color: red; }
#algfmt { line-height: 95%; font-size: 15px;overflow: hidden; }
#dsphide { max-width: 450px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#evfix { min-width: 50px; text-align: center; }
#idp, #qcvr, #tscr { min-width: 40px; text-align: center; }
.searchpills-Inclusive pre {
  margin-bottom: 0px;
}
/* demo.css end */
/* Oligo Show/Hide inline toggle switch */
.oligo-switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  border: 1px solid #ece1ff;
  padding: 5px;
  border-radius: 8px;
}
.oligo-switch-caption {
  font-size: 12px;
  line-height: 13px;
  white-space: nowrap;
}
.oligo-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}
.oligo-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.oligo-switch-track {
  position: absolute;
  inset: 0;
  background: #adb5bd;
  border-radius: 12px;
  transition: background 0.22s;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 7px 0 25px;
}
.oligo-switch-track::before {
  content: '';
  position: absolute;
  left: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: left 0.22s;
}
.oligo-switch input:checked ~ .oligo-switch-track {
  background: #8a42ff;
  justify-content: flex-start;
  padding: 0 25px 0 7px;
}
.oligo-switch input:checked ~ .oligo-switch-track::before {
  left: calc(100% - 21px);
}
.oligo-sw-show,
.oligo-sw-hide {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}
.oligo-sw-hide { display: none; }
.oligo-switch input:checked ~ .oligo-switch-track .oligo-sw-show { display: none; }
.oligo-switch input:checked ~ .oligo-switch-track .oligo-sw-hide { display: block; }

#groupAccesssion .modal-header.accession-modal-header,
#summaryAccession .modal-header.accession-modal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 12px 16px;
  padding-right: 16px;
}

#groupAccesssion .accession-modal-header-left,
#summaryAccession .accession-modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
  justify-self: start;
  align-content: center;
}

#groupAccesssion .accession-modal-header-right,
#summaryAccession .accession-modal-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  min-width: 0;
}

#groupAccesssion .accession-modal-header-title,
#summaryAccession .accession-modal-header-title {
  margin: 0;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-self: center;
  align-self: center;
}

#groupAccesssion .accession-modal-header-close,
#summaryAccession .accession-modal-header-close {
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: 1px solid #cfd2de;
  border-radius: 10px;
  background: #f8f9fd;
  color: #4e5268;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08);
  opacity: 1;
  text-shadow: none;
  justify-self: end;
  align-self: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

#groupAccesssion .accession-modal-header-close:hover,
#summaryAccession .accession-modal-header-close:hover {
  background: #ffffff;
  border-color: #8a42ff;
  color: #8a42ff;
  box-shadow: 0 2px 4px rgba(138, 66, 255, 0.18);
  transform: translateY(-1px);
}

#groupAccesssion .accession-modal-header-close:focus,
#summaryAccession .accession-modal-header-close:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(138, 66, 255, 0.18);
}

@media (max-width: 991.98px) {
  #groupAccesssion .modal-header.accession-modal-header,
  #summaryAccession .modal-header.accession-modal-header {
    grid-template-columns: 1fr auto;
    row-gap: 8px;
  }

  #groupAccesssion .accession-modal-header-title,
  #summaryAccession .accession-modal-header-title {
    grid-column: 1 / -1;
    white-space: normal;
    text-align: center;
  }

  #groupAccesssion .accession-modal-header-right,
  #summaryAccession .accession-modal-header-right {
    grid-column: 1 / -1;
    justify-self: end;
  }

  #groupAccesssion .accession-modal-header-close,
  #summaryAccession .accession-modal-header-close {
    grid-column: 2;
  }

  #groupAccesssion .accession-modal-header-left,
  #summaryAccession .accession-modal-header-left {
    grid-column: 1;
    min-width: 0;
  }
}

/* Compact-view mode for accession popup modals */

/* Direction arrows row is hidden in normal view */
.sticky_alignment .oligo-direction-row { display: none; }

/* Compact mode keeps the numbering visible and draws the arrow on the oligo row. */
.compact-modal-view .sticky_alignment pre.lazy-oligo-row span.color_green[data-oligo-arrow="1"],
.compact-modal-view .sticky_alignment pre.lazy-oligo-row span.background_color_green[data-oligo-arrow="1"] { --oligo-arrow-color: green; }
.compact-modal-view .sticky_alignment pre.lazy-oligo-row span.color_pink[data-oligo-arrow="1"],
.compact-modal-view .sticky_alignment pre.lazy-oligo-row span.background_color_pink[data-oligo-arrow="1"] { --oligo-arrow-color: #ff00ff; }
.compact-modal-view .sticky_alignment pre.lazy-oligo-row span.color_red[data-oligo-arrow="1"],
.compact-modal-view .sticky_alignment pre.lazy-oligo-row span.background_color_red[data-oligo-arrow="1"] { --oligo-arrow-color: #ff0000; }

.compact-modal-view .sticky_alignment pre.lazy-oligo-row span[data-oligo-arrow="1"] {
  position: relative;
  display: inline-block;
  color: transparent !important;
  vertical-align: middle;
  line-height: 1;
}

.compact-modal-view .sticky_alignment pre.lazy-oligo-row span[data-oligo-arrow="1"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 0.62em;
  transform: translateY(-50%);
  background: var(--oligo-arrow-color, currentColor);
  clip-path: polygon(0% 0%, calc(100% - 0.9em) 0%, 100% 50%, calc(100% - 0.9em) 100%, 0% 100%);
}

.compact-modal-view .sticky_alignment pre.lazy-oligo-row span[data-oligo-arrow="1"]::after {
  content: none;
}

.compact-modal-view .sticky_alignment pre.lazy-oligo-row span[data-oligo-arrow="1"][data-oligo-direction="left"]::before {
  left: 0;
  right: 0;
  clip-path: polygon(0.9em 0%, 100% 0%, 100% 100%, 0.9em 100%, 0% 50%);
}

.compact-modal-view .sticky_alignment pre.lazy-oligo-row span[data-oligo-arrow="1"][data-oligo-direction="left"]::after {
  content: none;
}

/* Main page sticky alignment preview when oligo sequences are hidden */
.sticky_alignment.oligo-decrypt-hidden pre.lazy-oligo-row span.color_green[data-oligo-arrow="1"],
.sticky_alignment.oligo-decrypt-hidden pre.lazy-oligo-row span.background_color_green[data-oligo-arrow="1"] { --oligo-arrow-color: green; }
.sticky_alignment.oligo-decrypt-hidden pre.lazy-oligo-row span.color_pink[data-oligo-arrow="1"],
.sticky_alignment.oligo-decrypt-hidden pre.lazy-oligo-row span.background_color_pink[data-oligo-arrow="1"] { --oligo-arrow-color: #ff00ff; }
.sticky_alignment.oligo-decrypt-hidden pre.lazy-oligo-row span.color_red[data-oligo-arrow="1"],
.sticky_alignment.oligo-decrypt-hidden pre.lazy-oligo-row span.background_color_red[data-oligo-arrow="1"] { --oligo-arrow-color: #ff0000; }

.sticky_alignment.oligo-decrypt-hidden pre.lazy-oligo-row span[data-oligo-arrow="1"] {
  position: relative;
  display: inline-block;
  color: transparent !important;
  vertical-align: middle;
  line-height: 1;
}

.sticky_alignment.oligo-decrypt-hidden pre.lazy-oligo-row span[data-oligo-arrow="1"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 0.62em;
  transform: translateY(-50%);
  background: var(--oligo-arrow-color, currentColor);
  clip-path: polygon(0% 0%, calc(100% - 0.9em) 0%, 100% 50%, calc(100% - 0.9em) 100%, 0% 100%);
}

.sticky_alignment.oligo-decrypt-hidden pre.lazy-oligo-row span[data-oligo-arrow="1"]::after {
  content: none;
}

.sticky_alignment.oligo-decrypt-hidden pre.lazy-oligo-row span[data-oligo-arrow="1"][data-oligo-direction="left"]::before {
  left: 0;
  right: 0;
  clip-path: polygon(0.9em 0%, 100% 0%, 100% 100%, 0.9em 100%, 0% 50%);
}

.sticky_alignment.oligo-decrypt-hidden pre.lazy-oligo-row span[data-oligo-arrow="1"][data-oligo-direction="left"]::after {
  content: none;
}

/* Query Anchor alignment uses direct pre rows instead of the sticky_alignment wrapper. */
.query-anchor-number-row .oligo-direction-row {
  display: none;
}


.query-anchor-oligo-row.oligo-decrypt-hidden span.color_green[data-oligo-arrow="1"],
.query-anchor-oligo-row.oligo-decrypt-hidden span.background_color_green[data-oligo-arrow="1"] { --oligo-arrow-color: green; }
.query-anchor-oligo-row.oligo-decrypt-hidden span.color_pink[data-oligo-arrow="1"],
.query-anchor-oligo-row.oligo-decrypt-hidden span.background_color_pink[data-oligo-arrow="1"] { --oligo-arrow-color: #ff00ff; }
.query-anchor-oligo-row.oligo-decrypt-hidden span.color_red[data-oligo-arrow="1"],
.query-anchor-oligo-row.oligo-decrypt-hidden span.background_color_red[data-oligo-arrow="1"] { --oligo-arrow-color: #ff0000; }

.query-anchor-oligo-row.oligo-decrypt-hidden span[data-oligo-arrow="1"] {
  position: relative;
  display: inline-block;
  color: transparent !important;
  vertical-align: middle;
  line-height: 1;
}

.query-anchor-oligo-row.oligo-decrypt-hidden span[data-oligo-arrow="1"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 0.62em;
  transform: translateY(-50%);
  background: var(--oligo-arrow-color, currentColor);
  clip-path: polygon(0% 0%, calc(100% - 0.9em) 0%, 100% 50%, calc(100% - 0.9em) 100%, 0% 100%);
}

.query-anchor-oligo-row.oligo-decrypt-hidden span[data-oligo-arrow="1"]::after {
  content: none;
}

.query-anchor-oligo-row.oligo-decrypt-hidden span[data-oligo-arrow="1"][data-oligo-direction="left"]::before {
  left: 0;
  right: 0;
  clip-path: polygon(0.9em 0%, 100% 0%, 100% 100%, 0.9em 100%, 0% 50%);
}

.query-anchor-oligo-row.oligo-decrypt-hidden span[data-oligo-arrow="1"][data-oligo-direction="left"]::after {
  content: none;
}

/* Hidden Query line bar matching oligo arrow bar height/style */
.query-hidden-line {
  position: relative;
  display: inline-block;
  color: transparent !important;
  vertical-align: middle;
  line-height: 1;
}

.query-hidden-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 0.62em;
  transform: translateY(-50%);
  background: var(--bs-body-color, #6d6b77);
  border-radius: 1px;
}

/* Individual mutation bases get a semi-transparent black box covering the letter. */
.mutation-blur {
  display: inline-block;
  background: rgb(0 0 0 / 56%);
  color: transparent !important;
  border-radius: 1px;
  user-select: none;
}
