/* Performance (#FeosPerformance, feos:views/performance) — tiles by group, the drawer by firm and adviser (Peter, 21 Oct 2026) */
.feos-perf { --fp-navy: #0f2a44; --fp-ink: #12202f; --fp-muted: #5b6b7c; --fp-line: #e1e7ee; --fp-red: #b42318;
    --fp-amber: #9a5b00; --fp-green: #1e7a46; --fp-blue: #0a72ba;
    max-width: 1320px; margin: 0 auto; padding: 8px 0 48px; color: var(--fp-ink); }
.feos-perf.is-busy { opacity: .55; pointer-events: none; }
.fp-empty { padding: 40px; text-align: center; color: var(--fp-muted); }
.fp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 18px; }
.fp-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fp-muted); }
.fp-head h2 { margin: 4px 0; font-size: 28px; font-weight: 700; color: var(--fp-navy); }
.fp-lead { font-size: 15px; color: #3a4a5b; max-width: 760px; }

.fp-group { margin-top: 26px; }
.fp-group > h3 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fp-navy);
    margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.fp-group.is-money > h3 { color: var(--fp-green); } .fp-group.is-work > h3 { color: var(--fp-red); }
.fp-note { font-size: 13px; color: var(--fp-amber); background: #fff7e6; border-radius: 8px; padding: 8px 12px; margin: 0 0 12px; }
.fp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.fp-span2 { grid-column: span 2; }
@media (max-width: 640px) { .fp-span2 { grid-column: span 1; } }

.fp-tile { background: #fff; border: 1px solid var(--fp-line); border-radius: 14px; padding: 14px 16px; min-width: 0;
    cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.fp-tile:hover, .fp-tile:focus-visible { border-color: var(--fp-blue); box-shadow: 0 2px 10px rgba(10, 114, 186, .12); outline: 0; }
.fp-tile.is-list { cursor: default; }
.fp-tile.is-list:hover { border-color: var(--fp-line); box-shadow: none; }
.fp-label { font-size: 13px; font-weight: 700; color: var(--fp-navy); margin-bottom: 6px; }
.fp-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.fp-big { font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--fp-ink); font-variant-numeric: tabular-nums; }
.fp-big.is-warn { color: var(--fp-red); }
.fp-sub { font-size: 12px; color: var(--fp-muted); margin-top: 2px; }
.fp-compare { margin-top: 10px; padding-top: 8px; border-top: 1px solid #edf1f5; font-size: 12px; color: var(--fp-muted); line-height: 1.6; }
.fp-compare b { color: var(--fp-ink); font-variant-numeric: tabular-nums; }
.fp-delta { font-weight: 700; margin-left: 4px; white-space: nowrap; }
.fp-delta.is-up { color: var(--fp-green); } .fp-delta.is-down { color: var(--fp-red); }
.fp-bars { display: flex; align-items: flex-end; gap: 5px; height: 52px; }
.fp-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; width: 26px; }
.fp-bar i { display: block; width: 18px; background: #c9d6e3; border-radius: 4px 4px 0 0; }
.fp-bar.is-now i { background: var(--fp-navy); }
.fp-bar small { font-size: 10px; color: var(--fp-muted); margin-top: 2px; }

.fp-people { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 18px; }
@media (max-width: 640px) { .fp-people { columns: 1; } }
.fp-people li { break-inside: avoid; }
.fp-people button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 8px; border: 0;
    background: transparent; padding: 6px 4px; border-bottom: 1px solid #edf1f5; text-align: left; cursor: pointer; }
.fp-people button:hover { background: #f4f8fb; }
.fp-people small { display: block; font-size: 11px; color: var(--fp-muted); }
.fp-people b { color: var(--fp-red); font-variant-numeric: tabular-nums; }
.fp-people em, .fp-adviser em { color: var(--fp-muted); font-style: normal; font-size: 12px; }

/* the drawer */
.fp-shade { position: fixed; inset: 0; background: rgba(15, 27, 38, .25); opacity: 0; pointer-events: none;
    transition: opacity .2s; z-index: 1040; }
.fp-shade.is-open { opacity: 1; pointer-events: auto; }
.fp-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(720px, 100vw); background: #f7f9fb;
    box-shadow: -8px 0 30px rgba(15, 27, 38, .18); transform: translateX(105%); transition: transform .22s ease;
    z-index: 1041; overflow-y: auto; outline: 0; }
.fp-drawer.is-open { transform: none; }
body.fp-drawer-open { overflow: hidden; }
.fp-dtop { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #e1e7ee; padding: 14px 18px;
    display: flex; align-items: center; gap: 10px; z-index: 2; }
.fp-dtitle { flex: 1; min-width: 0; }
.fp-dtitle h3 { margin: 2px 0 0; font-size: 20px; font-weight: 700; color: #0f2a44; }
.fp-x { border: 0; background: transparent; font-size: 28px; line-height: 1; color: #5b6b7c; cursor: pointer; padding: 0 6px; }
.fp-back { padding-left: 0; font-weight: 600; }
.fp-dbody { padding: 16px 18px 40px; }
.fp-pad { padding: 12px 0; }
.fp-months { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.fp-months button { border: 1px solid #e1e7ee; background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; cursor: pointer; }
.fp-months button.is-on { background: #0f2a44; border-color: #0f2a44; color: #fff; }
.fp-total { display: flex; justify-content: space-between; align-items: baseline; background: #fff; border: 1px solid #e1e7ee;
    border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; font-weight: 600; }
.fp-total b { font-size: 24px; font-variant-numeric: tabular-nums; }
.fp-total small, .fp-firm-head small, .fp-adviser small { font-weight: 600; color: #5b6b7c; }
.fp-firm { background: #fff; border: 1px solid #e1e7ee; border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.fp-firm-head { display: flex; width: 100%; align-items: center; gap: 10px; border: 0; background: #fff; padding: 12px 16px;
    text-align: left; font-weight: 700; color: #0f2a44; cursor: pointer; }
.fp-firm-head > span { flex: 1; }
.fp-firm-head b { font-variant-numeric: tabular-nums; }
.fp-firm-head .fa-chevron-right { transition: transform .15s; font-size: 12px; color: #5b6b7c; }
.fp-firm.is-open .fp-firm-head .fa-chevron-right { transform: rotate(90deg); }
.fp-advisers { display: none; border-top: 1px solid #edf1f5; }
.fp-firm.is-open .fp-advisers { display: block; }
.fp-adviser { display: grid; grid-template-columns: minmax(0, 1fr) 110px auto 14px; align-items: center; gap: 12px; width: 100%;
    border: 0; border-bottom: 1px solid #f0f3f6; background: transparent; padding: 9px 16px 9px 38px; text-align: left; cursor: pointer; }
.fp-adviser:last-child { border-bottom: 0; }
.fp-adviser:hover { background: #f4f8fb; }
.fp-adviser b { font-variant-numeric: tabular-nums; text-align: right; }
.fp-share { height: 6px; background: #edf1f5; border-radius: 3px; overflow: hidden; }
.fp-share i { display: block; height: 100%; background: #0a72ba; }
.fp-go { font-size: 11px; color: #9aa7b4; }
@media (max-width: 560px) { .fp-adviser { grid-template-columns: minmax(0, 1fr) auto 14px; } .fp-share { display: none; } }
.fp-recs { background: #fff; border: 1px solid #e1e7ee; border-radius: 12px; overflow: hidden; }
.fp-rec { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 16px;
    border-bottom: 1px solid #f0f3f6; color: #12202f; text-decoration: none; }
.fp-rec:last-child { border-bottom: 0; }
.fp-rec:hover { background: #f4f8fb; text-decoration: none; }
.fp-rec-main small { display: block; font-size: 12px; color: #5b6b7c; }
.fp-rec-date, .fp-rec-n { font-size: 13px; color: #3a4a5b; white-space: nowrap; font-variant-numeric: tabular-nums; }
