@charset "UTF-8";
/* Мобильные карточки скринера акций — только /dashboard/screener.php.
   Десктоп (≥768px) и мини-скринер на главной эту таблицу не подменяют. */

.scriner-cards,
.scriner-cards-toolbar,
.scriner-sort-sheet,
.scriner-sort-sheet-backdrop {
    display: none;
}

@media (max-width: 767.98px) {
    body.lotos-screener-page {
        overflow-x: hidden;
    }

    .scriner-mc {
        position: relative;
        background: var(--tblr-body-bg);
        border: 1px solid var(--tblr-border-color);
        border-radius: 12px;
        padding: 10px 10px 10px 14px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    [data-bs-theme="dark"] .scriner-mc {
        background: #161e2a;
    }

    [data-bs-theme="light"] .scriner-mc {
        background: #e8eef5;
    }

    body.lotos-screener-page .scriner-table-responsive,
    body.lotos-screener-page #scriner-container .table-responsive,
    body.lotos-screener-page #scriner-preview-container .table-responsive {
        display: none !important;
    }

    body.lotos-screener-page .scriner-mobile-swipe-hint {
        display: none !important;
    }

    body.lotos-screener-page .scriner-preview-cta {
        position: static !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        max-width: 100%;
        margin: 12px 0 4px;
    }

    body.lotos-screener-page .page-body > .container-xl {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
    }

    body.lotos-screener-page #scriner-container > .card > .card-body,
    body.lotos-screener-page #scriner-preview-container .card-body {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body.lotos-screener-page #scriner-intro-legend-wrap {
        padding-bottom: 0 !important;
        margin-bottom: 8px;
    }

    body.lotos-screener-page .scriner-intro-legend,
    body.lotos-screener-page .scriner-intro-collapsed-bar,
    body.lotos-screener-page .scriner-mobile-guest-bar {
        margin-bottom: 8px;
    }

    body.lotos-screener-page .scriner-intro-hide-btn {
        position: absolute;
        top: 4px;
        right: 4px;
        z-index: 2;
        width: 44px;
        height: 44px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        margin: 0;
        background: none;
        border: 0;
        color: var(--tblr-secondary);
        cursor: pointer;
    }

    body.lotos-screener-page .scriner-intro-hide-btn:hover {
        text-decoration: none !important;
        color: var(--tblr-body-color);
    }

    body.lotos-screener-page .scriner-intro-hide-label {
        display: none;
    }

    body.lotos-screener-page .scriner-intro-hide-chevron {
        display: block;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    body.lotos-screener-page .scriner-intro-legend {
        padding-right: 48px !important;
    }

    /* История основателя — в гиде, не в этой плашке на телефоне */
    body.lotos-screener-page .scriner-intro-story {
        display: none;
    }

    body.lotos-screener-page .scriner-cards {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0 0 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.lotos-screener-page .scriner-cards-toolbar {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 12px 0 8px;
    }

    .scriner-cards-sort-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: 1px solid var(--tblr-border-color);
        background: var(--tblr-bg-surface);
        color: var(--tblr-body-color);
        border-radius: 8px;
        padding: 6px 12px;
        font-size: 0.8125rem;
        font-weight: 600;
        line-height: 1.2;
    }

    .scriner-cards-sort-btn:hover {
        text-decoration: none !important;
        color: #206bc4;
    }

    body.lotos-screener-dash #scriner-container .card-header .badge.bg-green-lt,
    body.lotos-screener-dash #scriner-preview-container .card-header .badge.bg-green-lt,
    body.lotos-screener-dash #scriner-container .card-header .ms-3:has(.badge),
    body.lotos-screener-dash #scriner-preview-container .card-header .ms-3:has(.badge),
    #scriner-container .card-header:has(.mt-2) .badge.bg-green-lt,
    #scriner-container .card-header:has(.mt-2) .ms-3:has(.badge),
    #scriner-preview-container .card-header .badge.bg-green-lt,
    #scriner-preview-container .card-header .ms-3:has(.badge) {
        display: none !important;
    }

    body.lotos-screener-dash #scriner-container .card-header .text-muted.small,
    body.lotos-screener-dash #scriner-preview-container .card-header .text-muted.small,
    #scriner-container .card-header:has(.mt-2) .text-muted.small,
    #scriner-preview-container .card-header .text-muted.small {
        display: none !important;
    }

    body.lotos-screener-dash #scriner-container .card-header > .d-flex.flex-column.w-100,
    body.lotos-screener-dash #scriner-preview-container .card-header > .d-flex.flex-column.w-100,
    #scriner-container .card-header:has(.mt-2) > .d-flex.flex-column.w-100,
    #scriner-preview-container .card-header > .d-flex.flex-column.w-100 {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 8px;
        row-gap: 0;
    }

    body.lotos-screener-dash #scriner-container .card-header > .d-flex.flex-column.w-100 > .d-flex:first-child,
    body.lotos-screener-dash #scriner-preview-container .card-header > .d-flex.flex-column.w-100 > .d-flex:first-child,
    #scriner-container .card-header:has(.mt-2) > .d-flex.flex-column.w-100 > .d-flex:first-child,
    #scriner-preview-container .card-header > .d-flex.flex-column.w-100 > .d-flex:first-child {
        grid-column: 1;
        grid-row: 1;
        width: auto !important;
        min-width: 0;
    }

    body.lotos-screener-dash #scriner-container .card-header > .d-flex.flex-column.w-100 > .d-flex.mt-1,
    body.lotos-screener-dash #scriner-preview-container .card-header > .d-flex.flex-column.w-100 > .d-flex.mt-1,
    #scriner-container .card-header:has(.mt-2) > .d-flex.flex-column.w-100 > .d-flex.mt-1,
    #scriner-preview-container .card-header > .d-flex.flex-column.w-100 > .d-flex.mt-1 {
        grid-column: 2;
        grid-row: 1;
        margin-top: 0 !important;
        width: auto !important;
        justify-content: flex-end !important;
        align-items: center;
        white-space: nowrap;
    }

    body.lotos-screener-dash #scriner-container .card-header .mt-2 {
        grid-column: 1 / -1;
    }

    body.lotos-screener-dash #scriner-container .card-header .mt-2:not(:has(.lwl-open-btn)) {
        display: none !important;
    }

    body.lotos-screener-dash .scriner-dash-actions,
    #scriner-container:not(:has(#scriner-search)) .scriner-cards-toolbar {
        display: flex !important;
        align-items: stretch;
        justify-content: stretch;
        gap: 8px;
        width: 100%;
        padding: 4px 0 8px;
    }

    body.lotos-screener-dash .scriner-dash-watchlist {
        flex: 1 1 0;
        min-width: 0;
        overflow: visible;
    }

    body.lotos-screener-dash .scriner-dash-watchlist .lwl-open-btn,
    body.lotos-screener-dash .scriner-dash-actions .scriner-cards-sort-btn,
    #scriner-container:not(:has(#scriner-search)) .scriner-dash-watchlist .lwl-open-btn,
    #scriner-container:not(:has(#scriner-search)) .scriner-cards-sort-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 38px;
        box-sizing: border-box;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        padding: 0 12px;
    }

    body.lotos-screener-dash .scriner-dash-watchlist .lwl-open-btn:hover,
    body.lotos-screener-dash .scriner-dash-actions .scriner-cards-sort-btn:hover {
        text-decoration: none !important;
    }

    body.lotos-screener-dash #scriner-container .card-header,
    body.lotos-screener-dash #scriner-container #scriner-intro-legend-wrap,
    body.lotos-screener-dash #scriner-preview-container .card-header,
    body.lotos-screener-dash #scriner-preview-container .scriner-intro-legend,
    body.lotos-screener-dash #scriner-preview-container .scriner-mobile-guest-bar {
        border-bottom: 0 !important;
        position: relative;
        overflow: visible;
    }

    body.lotos-screener-dash #scriner-container .card-body + .card-body,
    body.lotos-screener-dash #scriner-preview-container .card-body + .card-body {
        border-top: 0 !important;
    }

    body.lotos-screener-dash #scriner-container .card-header::after,
    body.lotos-screener-dash #scriner-container #scriner-intro-legend-wrap::after,
    body.lotos-screener-dash #scriner-preview-container .card-header::after,
    body.lotos-screener-dash #scriner-preview-container .scriner-mobile-guest-bar::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        pointer-events: none;
        background: linear-gradient(90deg, transparent, var(--tblr-border-color) 18%, var(--tblr-border-color) 82%, transparent);
    }

    body.lotos-screener-full .scriner-mobile-controls-source-hidden {
        display: none !important;
    }

    body.lotos-screener-full .scriner-mobile-controls-wrap {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-bottom: 4px;
        overflow: visible;
    }

    body.lotos-screener-full .scriner-mobile-controls-row {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    body.lotos-screener-full .scriner-mobile-controls-search {
        width: 100%;
        min-width: 0;
    }

    body.lotos-screener-full .scriner-mobile-controls-search .d-inline-block {
        display: block;
        width: 100%;
        margin: 0 !important;
    }

    body.lotos-screener-full #sectorDropdown,
    body.lotos-screener-full .scriner-mobile-controls-count,
    body.lotos-screener-full #scriner-search {
        height: 38px !important;
        border-radius: 8px !important;
        background: var(--tblr-bg-surface) !important;
        border: 1px solid var(--tblr-border-color) !important;
        color: var(--tblr-body-color) !important;
        font-size: 14px !important;
        font-weight: 500 !important;
    }

    body.lotos-screener-full #scriner-search {
        width: 100%;
        min-width: 0 !important;
        max-width: none !important;
        padding-left: 12px;
    }

    body.lotos-screener-full .scriner-mobile-controls-count {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0 10px;
        white-space: nowrap;
        font-size: 13px !important;
        color: var(--tblr-secondary) !important;
    }

    body.lotos-screener-full .scriner-mobile-controls-count .mx-2 {
        margin: 0 !important;
    }

    body.lotos-screener-full .scriner-mobile-controls-count select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        width: auto !important;
        min-width: 0 !important;
        color: var(--tblr-body-color) !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        text-align: center;
        text-align-last: center;
    }

    body.lotos-screener-full .scriner-mobile-controls-count select:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    body.lotos-screener-full .scriner-mobile-controls-sector {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
    }

    body.lotos-screener-full .scriner-mobile-controls-sector .dropdown.me-3 {
        width: 100%;
        margin-right: 0 !important;
    }

    body.lotos-screener-full #sectorDropdown {
        display: flex !important;
        align-items: center;
        width: 100%;
        min-width: 0 !important;
        overflow: hidden;
        text-align: left;
        padding: 0 12px !important;
    }

    body.lotos-screener-full #sectorDropdown .scriner-sector-btn-label {
        display: block;
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.lotos-screener-full .scriner-mobile-controls-watchlist,
    body.lotos-screener-full .scriner-mobile-controls-watchlist > span {
        display: block;
        width: 100%;
        margin: 0 !important;
    }

    body.lotos-screener-full .scriner-mobile-controls-watchlist .lwl-open-btn {
        width: 100%;
        height: 38px;
        justify-content: center;
        box-sizing: border-box;
        border-radius: 8px;
        font-size: 14px;
    }

    body.lotos-screener-full #scriner-container .card-header,
    body.lotos-screener-full #scriner-container #scriner-intro-legend-wrap,
    body.lotos-screener-full #scriner-container .card-body.border-bottom {
        border-bottom: 0 !important;
        position: relative;
        overflow: visible;
    }

    body.lotos-screener-full #scriner-container .card-body + .card-body {
        border-top: 0 !important;
    }

    body.lotos-screener-full #scriner-container .card-header::after,
    body.lotos-screener-full #scriner-container #scriner-intro-legend-wrap::after,
    body.lotos-screener-full #scriner-container .card-body.border-bottom.py-3::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        pointer-events: none;
        background: linear-gradient(90deg, transparent, var(--tblr-border-color) 18%, var(--tblr-border-color) 82%, transparent);
    }

    body.lotos-screener-full #scriner-container .card-body.border-bottom.py-2 .d-flex.flex-wrap {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    body.lotos-screener-full #scriner-container .card-body.border-bottom.py-2 .d-flex.flex-wrap > .text-secondary,
    body.lotos-screener-full #scriner-container .card-body.border-bottom.py-2 .scriner-preset-explanation {
        grid-column: 1 / -1;
    }

    body.lotos-screener-full #scriner-container .card-body.border-bottom.py-2 .scriner-preset-chip {
        width: 100%;
        height: auto;
        min-height: 38px;
        white-space: normal;
        text-align: center;
        justify-content: center;
        line-height: 1.2;
        font-size: 11px;
        font-weight: 600;
        text-transform: none;
        letter-spacing: normal;
        padding: 6px 6px;
        border-radius: 8px;
    }

    body.lotos-screener-full .scriner-cards-toolbar {
        display: block;
        width: 100%;
        padding: 4px 0 8px;
    }

    body.lotos-screener-full .scriner-cards-sort-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        height: 38px;
        box-sizing: border-box;
        padding: 0 12px;
        font-size: 14px;
        font-weight: 500;
    }

    .scriner-mc-accent {
        position: absolute;
        left: 0;
        top: 10px;
        bottom: 10px;
        width: 3px;
        border-radius: 2px;
    }

    .scriner-mc-head {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
        padding: 0;
        margin: 0;
        border: 0;
        background: transparent;
        color: inherit;
        text-align: left;
        cursor: pointer;
    }

    .scriner-mc-head:hover {
        text-decoration: none !important;
        color: inherit;
    }

    .scriner-mc-left {
        min-width: 0;
        flex: 1;
    }

    .scriner-mc-idrow {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .scriner-mc-logo {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        object-fit: contain;
        background: transparent;
        flex-shrink: 0;
    }

    .scriner-mc-lotus {
        width: 96px;
        height: 72px;
        flex-shrink: 0;
        margin-top: -2px;
    }

    .scriner-mc-lotus img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .scriner-mc-who {
        min-width: 0;
        flex: 1;
    }

    .scriner-mc-name {
        font-size: 0.9375rem;
        font-weight: 700;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .scriner-mc-ticker {
        font-size: 0.75rem;
        color: var(--tblr-secondary);
        letter-spacing: 0.02em;
    }

    .scriner-mc-chevron {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        align-self: flex-start;
        margin-top: 2px;
        color: var(--tblr-secondary);
        transition: transform 0.28s ease;
    }

    .scriner-mc.is-open .scriner-mc-chevron {
        transform: rotate(180deg);
    }

    .scriner-mc-price-row {
        display: flex;
        align-items: baseline;
        flex-wrap: nowrap;
        gap: 8px;
        margin: 6px 0 0;
        font-variant-numeric: tabular-nums;
        min-width: 0;
    }

    .scriner-mc-price {
        font-size: 1.125rem;
        font-weight: 700;
        line-height: 1.2;
        white-space: nowrap;
    }

    .scriner-mc-chg {
        font-size: 0.8125rem;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .scriner-mc-chg.is-up { color: #2fb344; }
    .scriner-mc-chg.is-down { color: #d63939; }
    .scriner-mc-chg.is-flat { color: var(--tblr-secondary); }

    .scriner-mc-metrics {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px 8px;
        margin-top: 10px;
    }

    .scriner-mc-metric {
        min-width: 0;
    }

    .scriner-mc-metric-lbl {
        display: block;
        font-size: 0.6875rem;
        color: var(--tblr-secondary);
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }

    .scriner-mc-metric-val {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        font-size: 0.8125rem;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }

    .scriner-mc-stars {
        color: #ffc107;
        letter-spacing: -1px;
        font-size: 0.75rem;
    }

    .scriner-mc-lts {
        display: inline-block;
        color: #fff;
        border-radius: 6px;
        padding: 1px 6px;
        font-size: 0.75rem;
        font-weight: 700;
        min-width: 28px;
        text-align: center;
    }

    .scriner-lts-locked {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 28px;
        height: 22px;
        padding: 0 6px;
        border-radius: 6px;
        background: var(--tblr-bg-surface-secondary);
        color: var(--tblr-secondary);
    }

    .scriner-mc-details {
        display: grid;
        grid-template-rows: 0fr;
        margin-top: 0;
        overflow: hidden;
        transition: grid-template-rows 0.28s ease, margin-top 0.28s ease;
    }

    .scriner-mc-details-inner {
        min-height: 0;
        overflow: hidden;
    }

    .scriner-mc.is-open .scriner-mc-details {
        grid-template-rows: 1fr;
        margin-top: 10px;
    }

    .scriner-mc-details-inner .scriner-mc-details-grid {
        padding-top: 11px;
        border-top: 0;
    }

    .scriner-mc-details-grid {
        position: relative;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 8px;
    }

    .scriner-mc-details-grid::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 1px;
        pointer-events: none;
        background: linear-gradient(90deg, transparent, var(--tblr-border-color) 18%, var(--tblr-border-color) 82%, transparent);
    }

    .scriner-mc-go {
        display: block;
        margin-top: 12px;
        text-align: center;
        background: #206bc4;
        color: #fff !important;
        border-radius: 8px;
        padding: 10px 12px;
        font-size: 0.875rem;
        font-weight: 600;
    }

    .scriner-mc-go:hover {
        text-decoration: none !important;
        color: #fff !important;
        filter: brightness(1.08);
    }

    .scriner-cards-empty {
        text-align: center;
        color: var(--tblr-secondary);
        padding: 24px 12px;
        font-size: 0.875rem;
    }

    .scriner-sort-sheet-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1100;
    }

    .scriner-sort-sheet {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1101;
        background: var(--tblr-bg-surface);
        border-radius: 16px 16px 0 0;
        padding: 8px 0 calc(12px + env(safe-area-inset-bottom));
        max-height: 80vh;
        overflow-y: auto;
    }

    .scriner-sort-sheet-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 16px 8px;
    }

    .scriner-sort-sheet-title {
        padding: 0;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--tblr-secondary);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .scriner-sort-sheet-reset {
        border: 0;
        background: transparent;
        color: #206bc4;
        font-size: 0.875rem;
        font-weight: 600;
        padding: 4px 0;
    }

    .scriner-sort-sheet-reset:hover {
        text-decoration: none !important;
        color: #206bc4;
        filter: brightness(1.15);
    }

    .scriner-sort-sheet-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .scriner-sort-sheet-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        border: 0;
        background: transparent;
        color: var(--tblr-body-color);
        padding: 12px 16px;
        font-size: 0.9375rem;
        text-align: left;
    }

    .scriner-sort-sheet-item:hover {
        text-decoration: none !important;
        color: #206bc4;
        background: var(--tblr-bg-surface-secondary);
    }

    .scriner-sort-sheet-item.is-active {
        color: #206bc4;
        font-weight: 700;
    }

    /* Скелетон загрузки: на телефоне это ещё широкая «таблица» из 12 кусков —
       из-за неё страница уезжает вправо. Оставляем три пятна (лого / имя / лотос)
       и режем всё, что шире экрана. */
    body.lotos-screener-page .scriner-skeleton-stack {
        overflow-x: hidden;
        max-width: 100%;
    }

    body.lotos-screener-page .scriner-skeleton-row {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr) 72px;
        gap: 10px;
        align-items: center;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        border: 1px solid var(--tblr-border-color);
        border-radius: 12px;
        margin-bottom: 8px;
        padding: 12px;
        background: var(--tblr-bg-surface);
    }

    [data-bs-theme="light"] body.lotos-screener-page .scriner-skeleton-row {
        background: var(--tblr-bg-surface);
    }

    body.lotos-screener-page .scriner-skeleton-row > *:nth-child(n+4) {
        display: none !important;
    }

    body.lotos-screener-page .scriner-skeleton-row > *:nth-child(1) {
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        flex: none !important;
    }

    body.lotos-screener-page .scriner-skeleton-row > *:nth-child(2) {
        flex: none !important;
        width: auto !important;
        min-width: 0;
    }

    body.lotos-screener-page .scriner-skeleton-row > *:nth-child(3) {
        width: 72px !important;
        height: 48px !important;
        flex: none !important;
        border-radius: 8px !important;
        justify-self: end;
    }

    body.lotos-screener-page .scriner-loading-message {
        max-width: calc(100% - 24px);
        box-sizing: border-box;
    }

    /* Список секторов: квадрат слева, название справа; окно внутри экрана */
    body.lotos-screener-page #scriner-container .card-body.border-bottom {
        position: relative;
        overflow: visible;
    }

    body.lotos-screener-page #scriner-container .dropdown {
        position: static !important;
    }

    body.lotos-screener-page #scriner-container .dropdown-menu {
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        transform: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        max-height: min(70vh, 480px) !important;
        box-sizing: border-box;
    }

    body.lotos-screener-page #scriner-container .dropdown-menu .dropdown-item {
        padding: 12px 10px !important;
        margin-bottom: 0 !important;
        min-height: 44px;
        display: flex;
        align-items: center;
        overflow: hidden;
        box-sizing: border-box;
        font-size: 13px !important;
    }

    body.lotos-screener-page #scriner-container .sector-dropdown-row {
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    body.lotos-screener-page #scriner-container .sector-dropdown-row > [class*="col-"] {
        min-width: 0 !important;
        max-width: 50%;
        overflow: hidden;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    body.lotos-screener-page #scriner-container .scriner-sector-item {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px;
        min-width: 0;
        width: 100%;
        overflow: hidden;
    }

    body.lotos-screener-page #scriner-container .scriner-sector-swatch {
        flex-shrink: 0;
        margin-right: 0 !important;
    }

    body.lotos-screener-page #scriner-container .scriner-sector-name {
        flex: 1 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
