/* Portal layout and responsive controls. */
.news-filter-toggle,
.portal-clipboard__scroll-hint { display: none; }

.portal-user-profile__card {
    padding: 24px;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 10px;
}
.portal-user-profile__heading {
    margin: 0 0 20px;
    color: #2c4050;
    font-size: 18px;
    font-weight: 600;
}
.portal-user-profile__details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 28px;
    margin: 0;
}
.portal-user-profile__details > div { min-width: 0; }
.portal-user-profile__details dt {
    margin-bottom: 4px;
    color: #657587;
    font-size: 13px;
    font-weight: 400;
}
.portal-user-profile__details dd {
    margin: 0;
    color: #2c4050;
    font-size: 15px;
    font-weight: 500;
    overflow-wrap: anywhere;
}
.portal-user-profile__office {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5ebf0;
}
.portal-user-profile__logo { max-width: 100%; max-height: 80px; width: auto; height: auto; }

.portal-clipboard .portal-clipboard__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 12px 0;
}
.portal-clipboard__selection { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.portal-clipboard__summary { color: #657587; font-size: 13px; }
.portal-clipboard__actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.portal-clipboard__submit { order: -1; }
.portal-clipboard__notice { display: block; max-width: 340px; font-size: 12px; }
.portal-clipboard__notice:not(:empty) { margin-bottom: 8px; }
.portal-clipboard__download { min-width: 0; }
.dropdown-menu.offer-pdf-menu {
    width: max-content;
    min-width: min(21rem, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
}
.offer-pdf-menu .dropdown-item {
    padding-inline: 14px;
    white-space: normal;
    overflow-wrap: break-word;
}

.investment-card-table tbody td { padding-block: 9px; }

.offer-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}
.offer-row-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 22px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
}
.offer-row-actions img {
    display: block;
    width: auto;
    height: 14px;
}
.offer-row-actions button:hover { background: #e8f1f8; }
.offer-row-actions button.btn-primary { background: #245e88; }
.offer-row-actions button:focus-visible { outline: 2px solid #245e88; outline-offset: 2px; }
.offer-row-actions button:not(.btn-primary) .offer-row-actions__remove,
.offer-row-actions button.btn-primary .offer-row-actions__add { display: none; }

.main-filters.offer-search-region { padding-top: 14px; }
.offer-search-panel {
    padding: 0 16px 16px;
    background: #fff;
    border: 1px solid #d7e3ed;
    border-radius: 8px;
}
.offer-search-panel .portal-property-tabs {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    border-bottom: 1px solid #dce6ed;
    scrollbar-width: thin;
}
.offer-search-panel .portal-property-tabs .nav-item { flex: none; }
.offer-search-panel .portal-property-tabs .nav-link {
    padding: 9px 12px 7px;
    color: #486277;
    font: 500 14px/20px Roboto, sans-serif;
    white-space: nowrap;
}
.offer-search-panel .portal-property-tabs .nav-link.active {
    color: #245b85;
    background: transparent;
    font-weight: 700;
}
.offer-search-panel .filters-container { padding-top: 12px; }
#main-search .offer-primary-fields {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px 12px;
    align-items: start;
}
.offer-primary-fields > div { min-width: 0; }
.offer-filter-location, .offer-filter-range { position: relative; }
.offer-filter-location { grid-column: span 2; }
.offer-filter-location > .hidden-range-fields,
.offer-filter-range > .hidden-range-fields { left: 0; top: calc(100% + 3px); }
.offer-location-control { position: relative; }
.offer-location-control > :is(i, svg) {
    position: absolute;
    inset: 50% auto auto 11px;
    transform: translateY(-50%);
    z-index: 1;
    color: #42647d;
    pointer-events: none;
}
#main-search .offer-location-control input { padding-left: 30px; }
.offer-primary-fields .form-group { margin-bottom: 0; }
.offer-filter-choice { position: relative; }
#main-search .offer-filter-choice input { padding-right: 28px; }
.offer-filter-choice::after {
    content: '';
    position: absolute;
    bottom: 16px;
    right: 12px;
    width: 7px;
    height: 7px;
    border: solid #42647d;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    pointer-events: none;
}
.offer-primary-fields .help-block:empty { display: none; }
.offer-primary-fields .form-group > .control-label {
    display: block;
    margin-bottom: 4px;
    color: #354f64;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}
/* Read-only summaries open pickers and use the same surface as editable fields. */
#main-search .codefellow-range-picker[readonly] {
    cursor: pointer;
    text-overflow: ellipsis;
    color: #263238;
    background-color: #fff;
    border-color: #cfe0ee;
}
#main-search .codefellow-range-picker[readonly]:hover { border-color: #b8d3e8; }
#main-search .codefellow-range-picker[readonly]:focus { border-color: #9fc3df; }
/* Typeahead overlays the editable input on a read-only suggestion. */
#main-search .tt-hint { background-color: #fff; }
/* The portal theme sets important shadows on both resting and focused Select2 controls. */
#main-search .form-control,
#main-search .select2-selection { box-shadow: none !important; }
#main-search .select2-container:not(.select2-container--disabled) .select2-selection__rendered,
#main-search .select2-search--inline .select2-search__field { color: #263238; }
#main-search .form-control::placeholder,
#main-search .select2-search__field::placeholder,
#main-search .select2-selection__placeholder,
#main-search .tt-hint {
    color: #64748b;
    opacity: 1;
}
#main-search .offer-filter-name .select2-container { width: 100% !important; max-width: 100%; }
#main-search .select2-selection--multiple { flex-wrap: wrap; }
#main-search .select2-selection--multiple:not(:has(.select2-selection__choice)) { padding-inline: 12px 6px; }
#main-search .select2-selection--multiple:not(:has(.select2-selection__choice)) .select2-selection__clear { display: none; }
/* Select2 renders the list of choices and the search input as flex siblings. */
#main-search .select2-selection__rendered:has(+ .select2-search--inline) { width: auto; max-width: 100%; }
#main-search .select2-search--inline { flex: 1 1 auto; min-width: 0; max-width: 100%; }
#main-search .select2-search--inline .select2-search__field { max-width: 100%; margin: 0; font-family: inherit; }
#main-search .select2-search__field[placeholder]:not([placeholder=""]) { width: 100% !important; padding-inline: 0; }
#main-search .select2-selection__choice { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
#main-search .offer-primary-fields .hidden-range-fields .form-group + .form-group { margin-top: 8px; }
.offer-filter-more, .offer-filter-submit { align-self: end; }
.offer-filter-more { grid-column: -3; }
.offer-filter-more .btn, .offer-filter-submit .btn {
    min-height: 38px;
    padding: 6px 10px;
    line-height: 20px;
    box-shadow: none;
}
[data-offer-filter-toggle]::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 2px 3px 8px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
[data-offer-filter-toggle][aria-expanded="true"]::after { margin-bottom: 0; transform: rotate(225deg); }
.offer-filter-clear { grid-column: 1 / -1; }
#main-search .advanced-search { margin-top: 12px; padding-top: 12px; border-top: 1px solid #dce6ed; }

.portal-offers-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 14px;
    color: #34566f;
}
.portal-offers-summary { margin-right: auto; font-size: 17px; line-height: 1.35; }
.portal-offers-sort { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; }
.portal-offers-sort select, .portal-offers-map {
    min-height: 34px;
    padding: 5px 10px;
    border: 1px solid #c7d7e5;
    border-radius: 5px;
    background-color: #fff;
    color: #245b85;
    font: 500 14px/20px Roboto, sans-serif;
}
.portal-offers-sort select {
    min-width: 0;
    max-width: 100%;
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1.5 1.75 4.5 4.5 4.5-4.5' fill='none' stroke='%2342647d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
@media (forced-colors: active) {
    .portal-offers-sort select { appearance: auto; background-image: none; padding-right: 10px; }
}
.portal-offers-map { display: inline-flex; align-items: center; gap: 6px; }
.portal-offers-map:hover { background-color: #f4f8fc; text-decoration: none; }

@media screen and (max-width: 991.98px) {
    /* The fixed header is 56px high. Remove the old desktop offset on these pages. */
    .main-filters {
        top: 0;
        margin-top: 72px !important;
        padding-top: 0;
    }
    .main-filters + .container-margin { margin-top: 16px; margin-bottom: 32px; }
    .alert-info-full .main-filters { top: 0 !important; margin-top: 121px !important; }
    .alert-info-full .main-filters + .container-margin { margin-top: 16px !important; }
    .portal-property-tabs {
        flex-wrap: nowrap;
        gap: 4px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        padding: 4px 0 8px;
        margin: 0;
    }
    .portal-property-tabs .nav-item {
        flex: 0 0 auto;
        width: auto !important;
        margin: 0 !important;
    }
    .portal-property-tabs .nav-link {
        padding: 9px 10px !important;
        margin: 0 !important;
        border-bottom-width: 2px;
        white-space: nowrap;
        font-family: Roboto, sans-serif;
        font-size: 12px;
        font-weight: 500;
        line-height: 20px;
    }
    .portal-property-tabs .nav-link.text-muted { color: #5d6c7d !important; }
    .portal-property-tabs .nav-link.active { font-weight: 700; }
    #main-search .offer-primary-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 767.98px) {
    .offer-search-panel { padding: 0 12px 12px; }
    #main-search .offer-primary-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 10px; }
    #main-search .offer-filter-location { grid-column: 1 / -1; }
    .portal-offers-summary { flex-basis: 100%; font-size: 15px; }
    .portal-offers-sort { flex: 1; }
    .portal-offers-sort select { flex: 1; width: 0; }
    #main-search .advanced-search > .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin: 0; }
    #main-search .advanced-search > .form-row > [class*="col-"] { min-width: 0; max-width: none; padding: 0; }
    #main-search .advanced-search > .form-row > :first-child,
    #main-search .advanced-search > .form-row > .col-12 { grid-column: 1 / -1; }
    #main-search .form-group { margin-bottom: 0; }
    #main-search .control-label { margin-bottom: 4px; font-size: 12px; line-height: 18px; }
    #main-search .form-control,
    #main-search .select2-selection { min-height: 38px; height: 38px; font-size: 16px; }
    #main-search .select2-search__field,
    #main-search .select2-selection--single .select2-selection__rendered { font-size: 16px; }
    #main-search .select2-selection--multiple { height: auto; }
    #main-search .select2-container { width: 100% !important; min-width: 0; }
    #main-search .select2-selection--single .select2-selection__rendered { line-height: 36px; }
    #main-search .select2-selection__arrow { height: 36px; }
    #main-search .hidden-range-fields .form-group + .form-group { margin-top: 8px; }
    #main-search .primary-search-btn.btn { min-height: 40px; padding: 8px 6px; margin: 0; font-size: 13px; }
    #main-search .help-block:empty { display: none; }
    #main-search .advanced-checkbox-list .checkbox { width: 50%; flex-basis: 50%; }

    .portal-user-profile__card { padding: 16px; }
    .portal-user-profile__heading { margin-bottom: 16px; font-size: 16px; }
    .portal-user-profile__details { grid-template-columns: 1fr; gap: 14px; }
    .portal-user-profile__details dd { font-size: 14px; }
    .portal-user-profile .customer-navigation__trail { flex-basis: auto; }
    .portal-user-profile .customer-navigation__actions .btn { min-height: 36px; padding: 7px 10px; font-size: 12px; }

    .portal-clipboard > .customer-navigation .customer-navigation__actions { display: none; }
    .portal-clipboard__scroll-hint { display: block; margin: 10px 0; color: #657587; font-size: 12px; }
    .portal-clipboard .ibox { margin-bottom: 0; }
    .portal-clipboard .ibox-body { padding: 0; }
    .portal-clipboard .portal-clipboard__toolbar { padding: 12px; font-size: 12px; }
    .portal-clipboard .kv-grid-container { margin: 0; }
    .portal-clipboard .table { margin-bottom: 0; }
    .portal-clipboard .table th,
    .portal-clipboard .table td { padding: 9px 10px; font-size: 12px; }
    .portal-clipboard .table th { text-transform: none; }
    .portal-clipboard .portal-clipboard__footer { padding: 0; border: 0; background: transparent; }
    .portal-clipboard__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 8px; margin-top: 12px; }
    .portal-clipboard__submit { display: contents; }
    .portal-clipboard__notice { grid-column: 1 / -1; order: -2; max-width: none; }
    .portal-clipboard__notice:empty { display: none; }
    .portal-clipboard__submit .appendClipboard { order: -1; }
    .portal-clipboard__actions .btn { width: 100%; min-height: 40px; padding: 10px 6px; margin: 0 !important; font-size: 13px; white-space: normal; }

    .news-page .news-filters { padding: 14px; box-shadow: none; }
    .news-page .news-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
    .news-page .news-filter-grid .news-wide,
    .news-page #news-extra-investment,
    .news-page .news-check,
    .news-page .news-actions,
    .news-page .news-filter-toggle { grid-column: 1 / -1; }
    .news-page .news-filter-grid label { margin-bottom: 0; gap: 4px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
    .news-page .news-filter-field > label { margin-bottom: 4px; }
    .news-page .news-filter-grid input:not([type=checkbox]),
    .news-page .news-filter-grid select { height: 38px; padding: 8px 10px; font-size: 16px; box-shadow: none; }
    .news-page .news-filter-field .select2-container .select2-selection--single { height: 38px; box-shadow: none; font-size: 16px; }
    .news-page .news-filter-field .select2-selection__rendered { line-height: 36px !important; }
    .news-page .news-filter-field .select2-selection__arrow { height: 36px !important; }
    .news-page .news-filter-grid .news-check { height: 32px; }
    .news-page .is-filter-ready:not(.is-filter-expanded) .news-filter-extra { display: none; }
    .news-page .is-filter-ready .news-filter-toggle { display: block; }
    .news-page .news-filters .btn { min-height: 40px; padding: 8px 10px; font-size: 13px; box-shadow: none; }
    .news-page .news-actions { gap: 8px; }
    .news-page .news-actions .btn { flex: 1; }
    .news-page .news-grid { gap: 14px; margin-top: 16px; }
    .news-page .news-card-media { height: 170px; }
    .news-page .news-card-content { min-height: 0; padding: 14px; }
    .news-page .news-card-content h2 { margin: 8px 0; font-size: 16px; }
    .news-page .news-card-content p { margin: 4px 0; font-size: 13px; line-height: 1.45; }
    .news-page .news-card-content .news-card-meta:empty { display: none; }
    .news-page .news-card-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
    .news-page .news-read { padding-top: 10px; font-size: 13px; }
    .news-page .news-pagination { margin-top: 16px; }
    .news-page .news-pagination .pagination { gap: 3px; flex-wrap: wrap; }
    .news-page .news-pagination .pagination > li > a,
    .news-page .news-pagination .pagination > li > span { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; padding: 7px !important; font-size: 13px; }
}

@media screen and (max-width: 575.98px) {
    .list-investment-mobile .investment-promo-card { padding: 0; }
    .list-investment-mobile .investment-promo-card .ibox { margin-bottom: 14px; }
    .list-investment-mobile .ibox-head { height: auto; min-height: 0; padding: 12px !important; }
    .list-investment-mobile .ibox .ibox-head .ibox-title { display: block; min-width: 0; padding-right: 10px; }
    .list-investment-mobile .promo-card-title { font-size: 15px; line-height: 1.3; text-transform: none; overflow-wrap: anywhere; }
    .list-investment-mobile .promo-card-adress { margin-top: 5px !important; font-size: 12px; line-height: 1.35; font-weight: 400 !important; text-transform: none; overflow-wrap: anywhere; }
    .list-investment-mobile .ibox .ibox-head .ibox-title .promo-card-adress i { font-size: 12px; }
    .list-investment-mobile .promo-card-logo { flex: 0 0 56px; max-width: 56px; }
    .list-investment-mobile .promo-card-logo img { max-width: 100%; max-height: 42px; object-fit: contain; }
    .list-investment-mobile .offer-photo-container { height: 180px; }
    .list-investment-mobile .offer-photo-container > a { display: block; height: 100%; }
    .list-investment-mobile .offer-photo-container img { width: 100%; height: 100%; object-fit: cover; }
    .list-investment-mobile .promo-card-bg { padding: 6px 12px !important; }
    .list-investment-mobile .promo-card-bg .row { margin: 0 -6px !important; }
    .list-investment-mobile .promo-card-bg .col-6 { padding: 0 6px; }
    .list-investment-mobile .promo-card-element { margin: 6px 0 !important; }
    .list-investment-mobile .promo-card-element hr { display: none; }
    .list-investment-mobile .promo-card-element-label { margin: 2px 0 0; font-size: 11px; line-height: 1.3; text-transform: none !important; }
    .list-investment-mobile .promo-card-value { font-size: 13px; }
    .list-investment-mobile .promo-card-icon { padding: 2px !important; }
    .list-investment-mobile .promo-card-icon img { width: 18px; height: 18px; }
    .list-investment-mobile .promo-card-button { padding: 10px 8px; font-size: 14px; white-space: normal; }
    .list-investment-mobile .pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 3px; }
    .list-investment-mobile .pagination > li > a,
    .list-investment-mobile .pagination > li > span { display: inline-flex; align-items: center; justify-content: center; padding: 7px !important; min-width: 32px; min-height: 32px; font-size: 13px; }
}

@media screen and (max-width: 383.98px) {
    #main-search .offer-filter-name { grid-column: 1 / -1; }
}

/* This form can open in the shared AJAX modal from several portal pages. */
.dev-customers-create form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}
.dev-customers-create .form-group { min-width: 0; margin: 0; }
.dev-customers-create .control-label {
    margin-bottom: 5px;
    color: #526879;
    font-size: 13px;
    font-weight: 500;
}
.dev-customers-create .form-control {
    width: 100%;
    min-height: 38px;
    box-shadow: none;
}
.dev-customers-create .help-block { margin: 4px 0 0; }
.dev-customers-create .help-block:empty { display: none; }
.dev-customers-create .customer-consent {
    padding-top: 10px;
    border-top: 1px solid #e1e8ee;
}
.dev-customers-create .customer-consent .checkbox { margin: 0; }
.dev-customers-create .customer-consent label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    padding: 0;
    color: #43576a !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}
.dev-customers-create .customer-consent input[type="checkbox"] {
    position: static;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #235b86;
}
.modal-content:has(.dev-customers-create) .modal-header,
.modal-content:has(.dev-customers-create) .modal-footer {
    align-items: center;
    padding: 10px 16px;
}
.modal-content:has(.dev-customers-create) .modal-header .close {
    margin: 0 0 0 auto;
    padding: 6px;
}
.modal-content:has(.dev-customers-create) .modal-footer .btn {
    min-height: 38px;
    margin: 0;
    padding: 7px 14px;
}
@media (min-width: 576px) {
    .modal-dialog:has(.dev-customers-create) { max-width: 430px; }
}
@media (max-width: 575.98px) {
    .dev-customers-create .form-control { font-size: 16px; }
}

.portal-files details + details { margin-top: 8px; border-top: 1px solid #e2eaf0; }
.portal-files summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 4px;
    color: #334e63;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}
.portal-files summary::-webkit-details-marker { display: none; }
.portal-files summary::after {
    content: '';
    flex: none;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
.portal-files details[open] > summary::after { transform: rotate(225deg); }
.portal-files ul { list-style: none; padding: 0; margin: 0; }
.portal-files li { margin: 0; padding: 0; }
.portal-files li a {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 2px 4px;
    border-radius: 4px;
    color: #235b86;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.portal-files li svg { flex: none; margin-top: 1px; color: #728798; }
.portal-files li a:hover, .portal-files summary:hover { background: #f0f5f9; }
.portal-files :is(a, summary):focus-visible { outline: 2px solid #235b86; outline-offset: 0; }

/* Quick customer selection in the shared AJAX dialog. */
.customer-picker__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}
.customer-picker__count { color: #526879; font-size: 12px; }
.customer-picker__toolbar .btn { margin: 0 0 0 auto; white-space: nowrap; }
.customer-picker .customer-picker__scroll {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dce6ef;
    border-radius: 6px;
}
.customer-picker .customer-picker__table {
    width: 100%;
    min-width: 550px;
    table-layout: fixed;
    margin: 0;
}
.customer-picker .customer-picker__table :is(td, th) {
    padding: 5px 8px;
    vertical-align: middle;
    border: 0;
    border-bottom: 1px solid #e1e9f0;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.customer-picker .customer-picker__table thead th {
    padding-block: 8px;
    background: #f5f9fc;
    color: #235b86;
    font-weight: 600;
    text-transform: uppercase;
}
.customer-picker__table thead th a { color: inherit; }
.customer-picker__table thead th:nth-child(1) { width: 9%; }
.customer-picker__table thead th:nth-child(2) { width: 14%; }
.customer-picker__table thead th:nth-child(3) { width: 17%; }
.customer-picker__table thead th:nth-child(4) { width: 16%; }
.customer-picker__table thead th:last-child { width: 74px; text-align: right; }
.customer-picker .customer-picker__table .filters td { background: #fafcfe; }
.customer-picker .customer-picker__table .filters input.form-control {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 29px;
    padding: 3px 6px;
    border: 1px solid #c6d7e5;
    border-radius: 4px;
    background: #fff;
    color: #233c50;
    font-size: 13px;
    box-shadow: none;
}
.customer-picker__table tbody td { background: #fff; color: #243746; }
.customer-picker__table tbody td:nth-child(3) { font-weight: 600; }
.customer-picker__table tbody td:last-child:not([colspan]) { text-align: right; }
.customer-picker__table tbody tr:last-child td { border-bottom: 0; }
.customer-picker__table tbody tr:hover td { background: #f6f9fc; }
.customer-picker__table tbody tr.customer-picker__current td { background: #e8f2fc; }
.customer-picker__table .customer-picker__current td:first-child { box-shadow: inset 3px 0 #3283c3; }
.customer-picker__choose, .customer-picker__selected {
    display: inline-block;
    padding: 3px 7px;
    border: 1px solid #ccdeed;
    border-radius: 4px;
    color: #235b86;
    font-size: 12px;
    white-space: nowrap;
}
.customer-picker__choose:hover { background: #f0f6fc; border-color: #93b9d8; }
.customer-picker__selected { padding-inline: 0; border-color: transparent; font-weight: 600; }
.customer-picker .pagination { gap: 3px; flex-wrap: wrap; justify-content: center; margin: 10px 0 0; font-size: 13px; }
.customer-picker :is(a, input, [tabindex]):focus-visible,
.investment-extra :is(summary, a):focus-visible { outline: 2px solid #235b86; outline-offset: -2px; }

@media (max-width: 575.98px) {
    .customer-picker .customer-picker__table :is(th, td):last-child:not([colspan]) {
        position: sticky;
        right: 0;
        z-index: 1;
        box-shadow: -1px 0 #dce6ef;
    }
    .customer-picker .customer-picker__table .filters input.form-control { font-size: 16px; }
    .customer-picker__choose { padding-block: 5px; }
}

/* Investment information disclosed from the offer, limited to the dialog content. */
.investment-extra { color: #243746; }
.investment-extra > details + details { border-top: 1px solid #dce6ef; }
.investment-extra summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 5px;
    color: #235b86;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}
.investment-extra summary::-webkit-details-marker { display: none; }
.investment-extra summary::after {
    content: '';
    width: 8px;
    height: 8px;
    flex: none;
    margin-right: 4px;
    border: solid #466c89;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
.investment-extra details[open] > summary::after { transform: rotate(225deg); }
.investment-extra summary:hover { background: #f4f8fc; }
.investment-extra__body {
    padding: 0 5px 9px;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    overflow-x: auto;
}
.investment-extra__body > :first-child { margin-top: 0; }
.investment-extra__body > :last-child { margin-bottom: 0; }
.investment-extra__body :is(ul, ol):not([class]) { padding-inline-start: 19px; }
.investment-extra__body img { max-width: 100%; height: auto; }
.investment-extra__office > .row { margin-inline: 0; }
.investment-extra__office > .row > .col-md-12 { padding-inline: 0; }
.investment-extra__office .office-details-main__list-item { flex-wrap: wrap; padding-right: 0; }
.investment-extra__office .office-details-main__list-item p { margin-bottom: 2px; }
.investment-extra__period > summary { padding: 5px; font-size: 12px; }
.investment-extra__period > div { padding: 2px 5px 6px; }
.investment-extra > p { margin: 0; color: #526879; }
