/* Hero layout on top of the compact theme. Loads after theme-compact.css. */
html, body { background: #FFFFFF; }
.shell { max-width: 1400px; padding: 8px 32px 64px; gap: 20px; }
.header__area.header--bar .container-fluid { max-width: 1400px; padding: 0 32px; }
.logo__main img { height: 30px; }
.logo { height: 36px; gap: 10px; }
.logo img.logo__mark { height: 36px; }
.header__menu ul li .menu__link { font-size: 15px; }

/* Hero */
.hero { margin-top: 16px; }
.hero__label { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 400; color: var(--c-500); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--c-400); }
.dot--navy { background: var(--c-accent-2, #21315D); }
.hero__value { font-family: var(--c-font-display); font-weight: 500; font-size: 64px; line-height: 1.05; letter-spacing: -.02em; color: var(--c-900); margin-top: 6px; font-variant-numeric: tabular-nums; }
.hero__value .unit { font-family: var(--c-font-display); font-size: 64px; color: var(--c-900); letter-spacing: -.02em; }
.hero__cents { font-size: 32px; color: var(--c-500); }
.hero__foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.hero__foot .muted { color: var(--c-500); font-size: 14px; }
.chip { display: inline-block; padding: 2px 6px; border-radius: 6px; font-size: 12px; font-weight: 500; line-height: 1.4; color: var(--c-500); background: var(--c-100); }
.chip--up { color: #1F9D55; background: #E8F6EE; }
.chip--down { color: #F33A3B; background: #FDECEC; }
.hero__metrics { justify-content: flex-end; }
.stat--plain { padding: 0; box-shadow: none; background: transparent; gap: 2px; overflow: visible; }
.stat--plain .stat__label { font-size: 14px; font-weight: 400; color: var(--c-500); }
.stat--plain .stat__value { font-size: 18px; line-height: 1.4; }
.stat--plain .stat__value .unit { font-size: 18px; color: var(--c-900); font-family: var(--c-font-display); }
@media (min-width: 992px) { .hero__metrics { text-align: right; } .hero__metrics .col-md-3 { width: auto; flex: 0 0 auto; padding-left: 40px; } }

/* Chart card (a table-card) */
.chart-card { padding: 16px 20px 8px; margin-top: 16px; }
.chart-card__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chart-card .controls { gap: 8px; }
.chart-card .select, .chart-card .btn { height: 36px; }
.select--icon { width: 36px; padding: 0; justify-content: center; }
.select--icon .ic { width: 16px; height: 16px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9999px; background: #FFFFFF; box-shadow: 0 0 0 .5px rgba(33,49,93,.10), 0 1px 2px rgba(33,49,93,.05); }
.seg .btn { height: 28px; padding: 0 12px; font-size: 13px; font-weight: 500; color: var(--c-500); background: transparent; box-shadow: none; border-radius: 9999px; }
.seg .btn-check:checked + .btn { background: #FDF5E9; color: #21315D; }
.seg .btn-check:focus-visible + .btn { box-shadow: 0 0 0 3px rgba(33,49,93,.14); }
.legend-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-500); margin-right: 6px; }
.legend-inline i { width: 12px; height: 2px; display: block; border-radius: 1px; }
.chart { position: relative; height: 320px; margin-top: 12px; }
.chart > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart .grid { stroke: rgba(27,29,36,.05); stroke-width: 1; stroke-dasharray: 2 4; }
.chart .line-bench { fill: none; stroke: #D7D8DE; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart .line-bench--zero { stroke-dasharray: 4 5; }
.chart .line-value { fill: none; stroke: #21315D; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chart .fill-value { fill: url(#gValue); }
.chart .fill-bench { fill: url(#gBench); }
.chart .event-line { stroke: rgba(27,29,36,.14); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .event-line--live { stroke: #F33A3B; stroke-dasharray: none; opacity: .8; }
.chart .axis-dot { fill: #D7D8DE; }
.chart .axis-text { font: 13px var(--rg-font); fill: var(--c-500); }
.chart .today { font: 13px var(--rg-font); fill: var(--c-700); }
.chart .today-bg { fill: #F1F1F4; }
.event { position: absolute; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(33,49,93,.12); display: grid; place-items: center; color: var(--c-900); transform: translateX(-50%); z-index: 2; }
.event .ic { width: 16px; height: 16px; }
.event--live { color: #F33A3B; box-shadow: 0 0 0 1px #F33A3B, 0 0 0 5px rgba(243,58,59,.08); }
.event--cream { background: #FDF5E9; box-shadow: none; color: #21315D; }
.tip { position: absolute; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .12s ease; transform: translate(-50%, 0); background: #fff; border-radius: 10px; padding: 8px 12px; font-size: 13px; box-shadow: inset 0 0 0 .5px rgba(33,49,93,.10), 0 6px 20px rgba(27,29,36,.06); white-space: nowrap; }
.tip.is-on { opacity: 1; }
.tip b { font-weight: 600; font-family: var(--c-font-display); }
.tip span { color: var(--c-500); }
.crosshair { position: absolute; top: 0; bottom: 48px; width: 1px; background: #21315D; opacity: 0; pointer-events: none; }
.crosshair.is-on { opacity: .35; }
.hover-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #21315D; box-shadow: 0 0 0 3px #fff; transform: translate(-50%,-50%); opacity: 0; pointer-events: none; }
.hover-dot.is-on { opacity: 1; }
.line-value, .line-bench { stroke-dasharray: 4000; stroke-dashoffset: 4000; animation: draw 1.4s cubic-bezier(.4,0,.2,1) forwards; }
.line-bench { animation-delay: .1s; }
.fill-value, .fill-bench { opacity: 0; animation: fadeIn .8s ease .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .line-value, .line-bench, .fill-value, .fill-bench { animation: none; stroke-dashoffset: 0; opacity: 1; } }

/* Allocation card */
.alloc-card { padding-bottom: 22px; min-height: 0; display: flex; flex-direction: column; gap: 14px; }
.alloc-card .table-card__head { margin-bottom: 0; }
.alloc { display: flex; flex-direction: column; gap: 8px; padding: 0 22px; }
.alloc__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--c-500); }
.alloc__bar { display: flex; gap: 3px; height: 14px; }
.alloc__bar i { display: block; border-radius: 4px; }
.alloc__legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.alloc__legend li { display: inline-flex; align-items: center; gap: 7px; }
.alloc__legend i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.alloc__legend b { font-weight: 500; }
.score { display: flex; gap: 18px; align-items: center; padding: 8px 22px 0; margin-top: auto; }
.score__ring { width: 80px; height: 80px; flex: 0 0 auto; }
.score__ring text { font: 500 22px var(--c-font-display); fill: var(--c-900); }
.score__title { font-family: var(--c-font-display); font-weight: 500; font-size: 18px; }
.score__text { color: var(--c-500); font-size: 14px; line-height: 1.5; }
.score__text b { color: var(--c-900); font-weight: 500; }
.table-card__head h2 small { font-family: var(--rg-font); font-weight: 400; color: var(--c-500); font-size: 14px; margin-left: 2px; }
.h-100 .table-card__head { margin-bottom: 16px; }

/* Toast */
.toast-lite { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 8px); padding: 9px 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 .5px rgba(33,49,93,.10), 0 8px 24px rgba(27,29,36,.10); font-size: 13px; color: var(--c-900); opacity: 0; pointer-events: none; transition: opacity .16s ease, transform .16s ease; z-index: 30; white-space: nowrap; }
.toast-lite.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 991px) {
  .hero__value { font-size: 44px; } .hero__value .unit { font-size: 44px; } .hero__cents { font-size: 24px; }
  .hero__metrics { margin-top: 12px; }
  .chart { height: 260px; }
}
.hero__foot { flex-wrap: wrap; }

/* ---- Align with the hero demo: tokens, type, header, controls, cards ---- */
:root {
  --c-900: #1B1D24; --c-700: #5A5D68; --c-500: #8B8E99; --c-400: #B6B8C2;
  --c-100: #FEFAF3; --c-200: #FDF5E9; --c-ring-08: rgba(27,29,36,.08); --c-ring-06: rgba(27,29,36,.05); --c-ring-10: rgba(27,29,36,.10);
  --c-r-xl: 16px; --c-r-control: 12px;
  --rg-fg: #1B1D24; --rg-fg-2: #5A5D68; --rg-fg-3: #8B8E99; --rg-surface-2: #FEFAF3; --rg-line: rgba(27,29,36,.08);
}
html, body { font-size: 15px; color: #1B1D24; }
.hero__label, .stat--plain .stat__label, .alloc__row, .score__text, .table-card__head p, .chart .axis-text { color: #8B8E99; }

/* Header: plain text nav, account switcher, JK avatar */
.header__area.header--bar .container-fluid { height: 92px; }
.header__menu ul li .menu__link, .header__menu ul li .menu__link.active { background: transparent !important; box-shadow: none; padding: 6px 0; margin: 0 14px; color: #8B8E99; font-weight: 400; font-size: 15px; transition: color .12s ease; }
.header__menu ul li .menu__link:hover { color: #1B1D24; }
.header__menu ul li .menu__link.active { color: #1B1D24; font-weight: 600; }
.header__right { gap: 18px; align-items: center; }
.switcher { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 4px; border: 0; background: transparent; color: #1B1D24; font-weight: 500; font-size: 15px; border-radius: 12px; cursor: pointer; transition: background .12s ease; }
.switcher:hover, .switcher[aria-expanded="true"] { background: #FEFAF3; }
.switcher:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(33,49,93,.14); }
.switcher__badge { width: 26px; height: 26px; border-radius: 50%; background: #FDF5E9; color: #21315D; display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.switcher .ic { width: 14px; height: 14px; color: #8B8E99; }
.language__dropdown__wrap .dropdown-toggle { color: #5A5D68; height: 40px; padding: 0 8px; border-radius: 12px; transition: background .12s ease; }
.language__dropdown__wrap .dropdown-toggle:hover, .language__dropdown__wrap .dropdown-toggle[aria-expanded="true"] { background: #FEFAF3; color: #1B1D24; }
.mail a { width: 40px; height: 40px; color: #5A5D68; transition: background .12s ease, color .12s ease; }
.mail a:hover { background: #FEFAF3; color: #1B1D24; }
.mail a:focus-visible, .user__dropdown .dropdown-toggle:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(33,49,93,.14); }
.user__dropdown .dropdown-toggle { width: 40px; height: 40px; padding: 0; }
.user__dropdown .dropdown-toggle:hover { background: transparent; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #21315D; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; letter-spacing: .02em; box-shadow: 0 0 0 4px #FEFAF3; transition: box-shadow .12s ease, background .12s ease; }
.user__dropdown .dropdown-toggle:hover .avatar, .user__dropdown .dropdown-toggle[aria-expanded="true"] .avatar { background: #182548; box-shadow: 0 0 0 4px #FDF5E9; }

/* Dropdown menus */
.dropdown-menu { border-radius: 12px; padding: 6px; min-width: 200px; margin-top: 6px !important; box-shadow: inset 0 0 0 1px rgba(27,29,36,.08), 0 10px 30px rgba(27,29,36,.10); }
.dropdown-menu .dropdown-item { border-radius: 8px; height: 36px; padding: 0 10px; font-size: 14px; color: #1B1D24; font-weight: 400; }
.dropdown-menu .dropdown-item:hover, .dropdown-menu .dropdown-item:focus-visible { background: #FEFAF3; color: #1B1D24; }
.dropdown-menu .dropdown-item.active, .dropdown-menu .dropdown-item:active { background: #FDF5E9; color: #21315D !important; font-weight: 500; }
.dropdown-menu .dropdown-item.active::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #21315D; box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px #21315D; }
.dropdown-menu [data-pick] .dropdown-item::before, .dropdown-menu .dropdown-item:not(.active):not(.dropdown-item--switch)::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto; }
.user__dropdown .dropdown-item::before, .language__dropdown__wrap .dropdown-item::before { display: none; }
.user__dropdown #lnk_logout { color: #F33A3B; }
.dropdown-item--switch:hover { background: #FEFAF3; }

/* Controls: 12px radius rectangles with hairline, like the hero demo */
.select, .btn-secondary, .field, .seg { border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(27,29,36,.08); transition: box-shadow .15s ease, background .15s ease; }
.select { height: 40px; padding: 0 14px 0 16px; font-size: 15px; font-weight: 500; color: #1B1D24; }
.select:hover, .btn-secondary:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(27,29,36,.16); }
.select[aria-expanded="true"] { background: #fff; box-shadow: inset 0 0 0 1px rgba(27,29,36,.18); }
.select:focus-visible, .btn:focus-visible { outline: 0; box-shadow: inset 0 0 0 1px rgba(27,29,36,.18), 0 0 0 3px rgba(33,49,93,.14); }
.select:active { transform: none; }
.select .ic { color: #8B8E99; width: 14px; height: 14px; }
.select--icon { width: 40px; }
.select--icon .ic { width: 18px; height: 18px; color: #5A5D68; }
.chart-card .select, .chart-card .btn { height: 40px; }
.btn, .btn-sm { border-radius: 12px; font-weight: 500; }
.btn-secondary { color: #1B1D24; }
.btn-secondary:active { background: #FEFAF3; box-shadow: inset 0 0 0 1px rgba(27,29,36,.18); }
.btn-sm { border-radius: 10px; height: 32px; padding: 0 12px 0 14px; font-size: 14px; color: #5A5D68; }
.seg { padding: 3px; height: 40px; box-shadow: inset 0 0 0 1px rgba(27,29,36,.08); }
.seg .btn { height: 32px; border-radius: 9px; padding: 0 12px; font-size: 13px; transition: background .12s ease, color .12s ease; }
.seg .btn:hover { color: #1B1D24; background: #FEFAF3; }
.seg .btn-check:checked + .btn { background: #FDF5E9; color: #21315D; }
.seg .btn-check:checked + .btn:hover { background: #FDF5E9; }

/* Cards and tables */
.table-card { box-shadow: inset 0 0 0 1px rgba(27,29,36,.08); border-radius: 16px; }
.table-card__head h2 { font-size: 20px; }
.table-card__head p { font-size: 13px; }
.common__table__area .table tbody tr td { transition: background .12s ease; }
.common__table__area .table tbody tr:hover td { background: #FEFAF3; }
.common__table__area .table thead th { color: #8B8E99; font-weight: 400; font-size: 13px; }
.common__table__area .table thead th:hover { color: #1B1D24; }
.common__table__area .table thead th.sorting_asc, .common__table__area .table thead th.sorting_desc { color: #1B1D24; }
.tag { border-radius: 6px; }
.alloc-card .table-card__head { padding: 0 22px; }
.hero__foot .chip { margin: 0; }
.event { transition: box-shadow .12s ease; cursor: default; }
.event:hover { box-shadow: 0 0 0 1px rgba(27,29,36,.18); }
.event--live:hover { box-shadow: 0 0 0 1px #F33A3B, 0 0 0 5px rgba(243,58,59,.14); }
.logo { transition: opacity .12s ease; }
.logo:hover { opacity: .85; }
@media (max-width: 991px) { .header__area.header--bar .container-fluid { height: 64px; } .account__dropdown { display: none; } }
.switcher { white-space: nowrap; }
@media (max-width: 1199px) { .account__dropdown { display: none; } }
/* Requested: no hover on the hero metrics, no header divider, quiet segment buttons */
.stat--plain, .stat--plain:hover { transform: none; box-shadow: none; background: transparent; transition: none; cursor: default; }
.header__area.header--bar, body.no-shadows .header__area.header--bar { box-shadow: none; border-bottom: 0; }
.seg .btn, .seg .btn-check + .btn, .seg .btn-check:checked + .btn, .seg .btn-check:focus + .btn, .seg .btn-check:active + .btn, .seg .btn:focus, .seg .btn:active { border: 0; outline: 0; box-shadow: none; }
.seg .btn-check:checked + .btn { background: #FDF5E9; color: #21315D; }
.seg .btn-check:focus-visible + .btn { box-shadow: 0 0 0 3px rgba(33,49,93,.14); }
/* Numeric columns right-aligned, headers included */
.common__table__area .table th, .common__table__area .table td { text-align: left; }
.common__table__area .table.tableToSort--funds th:nth-child(n+3), .common__table__area .table.tableToSort--funds td:nth-child(n+3),
.common__table__area .table.tableToSort--cash th:nth-child(n+2), .common__table__area .table.tableToSort--cash td:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.common__table__area .table th:last-child, .common__table__area .table td:last-child { padding-right: 22px; }
.common__table__area .table thead th.sorting, .common__table__area .table thead th.sorting_asc, .common__table__area .table thead th.sorting_desc { padding-right: 22px !important; background-position: right 4px center; }
.common__table__area .table thead th:nth-child(1) { padding-left: 22px; }
/* Headers align with their values; sort arrows sit on the inner side and appear on hover */
.common__table__area .table thead th, .common__table__area .table thead th.sorting, .common__table__area .table thead th.sorting_asc, .common__table__area .table thead th.sorting_desc { padding: 9px 12px !important; background-image: none !important; cursor: pointer; }
.common__table__area .table thead th:first-child, .common__table__area .table tbody td:first-child { padding-left: 22px !important; }
.common__table__area .table thead th:last-child, .common__table__area .table tbody td:last-child { padding-right: 22px !important; }
.common__table__area .table thead th::before, .common__table__area .table thead th::after { content: none; }
.common__table__area .table thead th.sorting::after, .common__table__area .table thead th.sorting_asc::after, .common__table__area .table thead th.sorting_desc::after { content: "↑"; margin-left: 5px; opacity: 0; transition: opacity .12s ease; }
.common__table__area .table thead th.sorting:hover::after { opacity: .45; }
.common__table__area .table thead th.sorting_asc::after { opacity: 1; }
.common__table__area .table thead th.sorting_desc::after { content: "↓"; opacity: 1; }
/* Right-aligned numeric columns: arrow on the left of the label */
.table.tableToSort--funds thead th:nth-child(n+3)::after, .table.tableToSort--cash thead th:nth-child(n+2)::after { content: none !important; }
.table.tableToSort--funds thead th.sorting:nth-child(n+3)::before, .table.tableToSort--funds thead th.sorting_asc:nth-child(n+3)::before, .table.tableToSort--funds thead th.sorting_desc:nth-child(n+3)::before,
.table.tableToSort--cash thead th.sorting:nth-child(n+2)::before, .table.tableToSort--cash thead th.sorting_asc:nth-child(n+2)::before, .table.tableToSort--cash thead th.sorting_desc:nth-child(n+2)::before { content: "↑"; margin-right: 5px; opacity: 0; transition: opacity .12s ease; }
.table.tableToSort--funds thead th.sorting:nth-child(n+3):hover::before, .table.tableToSort--cash thead th.sorting:nth-child(n+2):hover::before { opacity: .45; }
.table.tableToSort--funds thead th.sorting_asc:nth-child(n+3)::before, .table.tableToSort--cash thead th.sorting_asc:nth-child(n+2)::before { opacity: 1; }
.table.tableToSort--funds thead th.sorting_desc:nth-child(n+3)::before, .table.tableToSort--cash thead th.sorting_desc:nth-child(n+2)::before { content: "↓"; opacity: 1; }

/* Circular currency flags in the Cash table */
.flag { display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: middle; margin-right: 8px; background-size: cover; box-shadow: inset 0 0 0 .5px rgba(27,29,36,.12); }
.flag--eur { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3CclipPath%20id=%22c%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%2212%22/%3E%3C/clipPath%3E%3Cg%20clip-path=%22url%28%23c%29%22%3E%3Crect%20width=%2224%22%20height=%2224%22%20fill=%22%23003399%22/%3E%3Ccircle%20cx=%2218.20%22%20cy=%2212.00%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3Ccircle%20cx=%2217.37%22%20cy=%2215.10%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3Ccircle%20cx=%2215.10%22%20cy=%2217.37%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3Ccircle%20cx=%2212.00%22%20cy=%2218.20%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3Ccircle%20cx=%228.90%22%20cy=%2217.37%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3Ccircle%20cx=%226.63%22%20cy=%2215.10%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3Ccircle%20cx=%225.80%22%20cy=%2212.00%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3Ccircle%20cx=%226.63%22%20cy=%228.90%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3Ccircle%20cx=%228.90%22%20cy=%226.63%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3Ccircle%20cx=%2212.00%22%20cy=%225.80%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3Ccircle%20cx=%2215.10%22%20cy=%226.63%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3Ccircle%20cx=%2217.37%22%20cy=%228.90%22%20r=%220.9%22%20fill=%22%23FFCC00%22/%3E%3C/g%3E%3C/svg%3E"); }
.flag--usd { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3CclipPath%20id=%22c%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%2212%22/%3E%3C/clipPath%3E%3Cg%20clip-path=%22url%28%23c%29%22%3E%3Crect%20width=%2224%22%20height=%2224%22%20fill=%22%23fff%22/%3E%3Crect%20y=%220%22%20width=%2224%22%20height=%221.85%22%20fill=%22%23B22234%22/%3E%3Crect%20y=%223%22%20width=%2224%22%20height=%221.85%22%20fill=%22%23B22234%22/%3E%3Crect%20y=%227%22%20width=%2224%22%20height=%221.85%22%20fill=%22%23B22234%22/%3E%3Crect%20y=%2211%22%20width=%2224%22%20height=%221.85%22%20fill=%22%23B22234%22/%3E%3Crect%20y=%2214%22%20width=%2224%22%20height=%221.85%22%20fill=%22%23B22234%22/%3E%3Crect%20y=%2218%22%20width=%2224%22%20height=%221.85%22%20fill=%22%23B22234%22/%3E%3Crect%20y=%2222%22%20width=%2224%22%20height=%221.85%22%20fill=%22%23B22234%22/%3E%3Crect%20width=%2211%22%20height=%2213%22%20fill=%22%233C3B6E%22/%3E%3C/g%3E%3C/svg%3E"); }
.flag--gbp { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3CclipPath%20id=%22c%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%2212%22/%3E%3C/clipPath%3E%3Cg%20clip-path=%22url%28%23c%29%22%3E%3Crect%20width=%2224%22%20height=%2224%22%20fill=%22%23012169%22/%3E%3Cpath%20d=%22M0%200L24%2024M24%200L0%2024%22%20stroke=%22%23fff%22%20stroke-width=%224%22/%3E%3Cpath%20d=%22M0%200L24%2024M24%200L0%2024%22%20stroke=%22%23C8102E%22%20stroke-width=%221.6%22/%3E%3Cpath%20d=%22M12%200v24M0%2012h24%22%20stroke=%22%23fff%22%20stroke-width=%226%22/%3E%3Cpath%20d=%22M12%200v24M0%2012h24%22%20stroke=%22%23C8102E%22%20stroke-width=%223.2%22/%3E%3C/g%3E%3C/svg%3E"); }
.tableToSort--cash td:first-child { white-space: nowrap; }
/* Sort arrows: small, at the left edge of every header cell, hover only (solid when sorted) */
.common__table__area .table thead th { position: relative; }
.common__table__area .table thead th::after, .common__table__area .table thead th.sorting::after, .common__table__area .table thead th.sorting_asc::after, .common__table__area .table thead th.sorting_desc::after,
.table.tableToSort--funds thead th:nth-child(n+3)::after, .table.tableToSort--cash thead th:nth-child(n+2)::after { content: none !important; }
.common__table__area .table thead th.sorting::before, .common__table__area .table thead th.sorting_asc::before, .common__table__area .table thead th.sorting_desc::before,
.table.tableToSort--funds thead th.sorting:nth-child(n+3)::before, .table.tableToSort--cash thead th.sorting:nth-child(n+2)::before { content: "↑"; position: absolute; left: 2px; top: 50%; transform: translateY(-50%); margin: 0; font-size: 10px; line-height: 1; color: var(--c-900); opacity: 0; transition: opacity .12s ease; }
.common__table__area .table thead th:first-child::before { left: 8px !important; }
.common__table__area .table thead th.sorting:hover::before, .table.tableToSort--funds thead th.sorting:nth-child(n+3):hover::before, .table.tableToSort--cash thead th.sorting:nth-child(n+2):hover::before { opacity: .45; }
.common__table__area .table thead th.sorting_asc::before, .table.tableToSort--funds thead th.sorting_asc:nth-child(n+3)::before, .table.tableToSort--cash thead th.sorting_asc:nth-child(n+2)::before { opacity: 1; }
.common__table__area .table thead th.sorting_desc::before, .table.tableToSort--funds thead th.sorting_desc:nth-child(n+3)::before, .table.tableToSort--cash thead th.sorting_desc:nth-child(n+2)::before { content: "↓"; opacity: 1; }
.common__table__area .table thead th.sorting::before, .common__table__area .table thead th.sorting_asc::before, .common__table__area .table thead th.sorting_desc::before,
table.dataTable thead th.sorting::before, table.dataTable thead th.sorting_asc::before, table.dataTable thead th.sorting_desc::before { display: block !important; position: absolute !important; left: 2px !important; right: auto !important; top: 50% !important; bottom: auto !important; transform: translateY(-50%) !important; font-size: 10px !important; line-height: 1 !important; margin: 0 !important; }
.common__table__area .table thead th:first-child::before, table.dataTable thead th:first-child::before { left: 8px !important; }
/* Sort arrow on the right of the label; takes space only when shown, so right-aligned labels slide left */
.common__table__area .table thead th::before, .common__table__area .table thead th.sorting::before, .common__table__area .table thead th.sorting_asc::before, .common__table__area .table thead th.sorting_desc::before,
table.dataTable thead th.sorting::before, table.dataTable thead th.sorting_asc::before, table.dataTable thead th.sorting_desc::before,
.table.tableToSort--funds thead th.sorting:nth-child(n+3)::before, .table.tableToSort--cash thead th.sorting:nth-child(n+2)::before { content: none !important; display: none !important; }
.common__table__area .table thead th.sorting::after, .common__table__area .table thead th.sorting_asc::after, .common__table__area .table thead th.sorting_desc::after,
table.dataTable thead th.sorting::after, table.dataTable thead th.sorting_asc::after, table.dataTable thead th.sorting_desc::after,
.table.tableToSort--funds thead th:nth-child(n+3)::after, .table.tableToSort--cash thead th:nth-child(n+2)::after { content: "↑" !important; display: inline-block !important; position: static !important; width: 0; margin: 0 0 0 0 !important; overflow: hidden; vertical-align: baseline; font-size: 11px; line-height: 1; opacity: 0; color: var(--c-900); transition: width .14s ease, opacity .14s ease, margin .14s ease; }
.common__table__area .table thead th.sorting:hover::after, table.dataTable thead th.sorting:hover::after { width: 9px; margin-left: 5px !important; opacity: .45; }
.common__table__area .table thead th.sorting_asc::after, table.dataTable thead th.sorting_asc::after { width: 9px; margin-left: 5px !important; opacity: 1; }
.common__table__area .table thead th.sorting_desc::after, table.dataTable thead th.sorting_desc::after { content: "↓" !important; width: 9px; margin-left: 5px !important; opacity: 1; }
/* ---- Unified buttons: every control is a 40px white pill with a hairline; hover darkens the hairline ---- */
.select, .btn-secondary, .switcher, .language__dropdown__wrap .dropdown-toggle, .mail a, .seg {
  height: 40px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(27,29,36,.08); color: #1B1D24; transition: box-shadow .15s ease, background .15s ease; }
.select:hover, .btn-secondary:hover, .switcher:hover, .language__dropdown__wrap .dropdown-toggle:hover, .mail a:hover { background: #fff; color: #1B1D24; box-shadow: inset 0 0 0 1px rgba(27,29,36,.16); }
.select[aria-expanded="true"], .switcher[aria-expanded="true"], .language__dropdown__wrap .dropdown-toggle[aria-expanded="true"] { background: #fff; color: #1B1D24; box-shadow: inset 0 0 0 1px rgba(27,29,36,.18); }
.select:active, .btn-secondary:active, .switcher:active, .language__dropdown__wrap .dropdown-toggle:active, .mail a:active { background: #FEFAF3; }
.select:focus-visible, .btn:focus-visible, .switcher:focus-visible, .language__dropdown__wrap .dropdown-toggle:focus-visible, .mail a:focus-visible { outline: 0; box-shadow: inset 0 0 0 1px rgba(27,29,36,.18), 0 0 0 3px rgba(33,49,93,.14); }
.switcher { padding: 0 12px 0 8px; gap: 8px; }
.language__dropdown__wrap .dropdown-toggle { padding: 0 12px 0 14px; font-size: 15px; font-weight: 500; gap: 6px; }
.language__dropdown__wrap .dropdown-toggle span { display: inline-flex; color: #5A5D68; }
.language__dropdown__wrap .dropdown-toggle::after { display: none; }
.language__dropdown__wrap .dropdown-toggle .bi { width: 16px; height: 16px; }
.mail a { width: 40px; border-radius: 12px; color: #5A5D68; }
.mail a .bi { width: 18px; height: 18px; }
.header__right { gap: 8px; }
.user__dropdown { margin-left: 6px; }

/* Segment: Bootstrap's button-group stripped the inner radii and added a -1px margin */
.seg { padding: 3px; gap: 2px; }
.seg .btn, .seg > .btn, .btn-group > .seg .btn, .seg.btn-group > .btn:not(:first-child), .seg.btn-group > .btn:not(:last-child) { border-radius: 9px !important; margin: 0 !important; height: 32px; }
.seg .btn-check:checked + .btn { background: #FDF5E9; color: #21315D; }

/* Dropdown menus: radio dots only in picker menus */
.dropdown-menu .dropdown-item::before { content: none !important; }
.dropdown-menu[data-pick] .dropdown-item::before { content: "" !important; width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(27,29,36,.18); }
.dropdown-menu[data-pick] .dropdown-item.active::before { background: #21315D; box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px #21315D; }
.header__menu .dropdown-menu { margin-top: 10px !important; }
.dropdown-menu.mt-3 { margin-top: 6px !important; }
.dropdown-menu .dropdown-item { display: flex; align-items: center; gap: 10px; }
.seg .btn, .seg > .btn { height: 34px; }
.seg.btn-group > .btn, .seg.btn-group > .btn:not(:first-child), .seg.btn-group > .btn:not(:last-child) { height: 34px !important; }
/* Header: nav centred; right side is mail + avatar */
.header__area.header--bar .container-fluid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.header__area.header--bar .logo__main { justify-self: start; }
.header__area.header--bar .header__menu { justify-self: center; }
.header__area.header--bar .header__right { justify-self: end; }
/* Profile menu: headings and spacing instead of divider lines */
.profile-menu { min-width: 240px; padding: 8px; }
.profile-menu .dropdown-heading { padding: 10px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-500); }
.profile-menu .dropdown-heading:first-child { padding-top: 4px; }
.profile-menu .dropdown-gap { height: 8px; }
.profile-menu .dropdown-divider, .dropdown-menu .dropdown-divider, .dropdown-divider-item { display: none; }
.profile-menu .dropdown-item[data-group]::before { content: "" !important; width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(27,29,36,.18); }
.profile-menu .dropdown-item[data-group].active::before { background: #21315D; box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px #21315D; }
.profile-menu .dropdown-item.active { background: transparent; color: #1B1D24 !important; font-weight: 500; }
.profile-menu .dropdown-item.active:hover { background: #FEFAF3; }
.profile-menu #lnk_logout { color: #F33A3B; }
.profile-menu .dropdown-item[data-group]::before, .dropdown-menu[data-pick] .dropdown-item::before { display: block !important; }
