:root {
    color-scheme: light;
    --ink: #17231e;
    --ink-soft: #425049;
    --pine: #17231e;
    --pine-2: #223229;
    --paper: #f3f0e7;
    --paper-deep: #e7e2d5;
    --white: #fffefa;
    --signal: #c9ff63;
    --signal-dark: #668f16;
    --coral: #f08a63;
    --red: #c9584d;
    --line: rgba(23, 35, 30, 0.15);
    --muted: #6f7b74;
    --shadow: 0 18px 60px rgba(23, 35, 30, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 10% -5%, rgba(201, 255, 99, 0.18), transparent 28rem),
        var(--paper);
    color: var(--ink);
    font-family: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid #6a9913;
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--signal);
    color: var(--ink);
    font-weight: 800;
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.site-header {
    width: min(1440px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--signal);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.brand-copy {
    display: grid;
    line-height: 1.12;
}

.brand-copy strong {
    font-size: 0.92rem;
    letter-spacing: -0.01em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.market-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a4aea8;
    box-shadow: 0 0 0 4px rgba(164, 174, 168, 0.14);
}

.market-status.is-live .status-dot {
    background: #6f9c1b;
    box-shadow: 0 0 0 4px rgba(111, 156, 27, 0.14);
}

.text-link {
    font-size: 0.82rem;
    font-weight: 800;
    text-underline-offset: 4px;
}

main,
footer {
    width: min(1440px, calc(100% - 40px));
    margin-inline: auto;
}

.hero {
    min-height: 460px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: end;
    gap: clamp(40px, 8vw, 120px);
    padding: clamp(54px, 8vw, 110px) clamp(28px, 6vw, 88px) 54px;
    overflow: hidden;
    position: relative;
    border-radius: 42px 42px 8px 8px;
    background:
        linear-gradient(120deg, rgba(201, 255, 99, 0.08), transparent 35%),
        var(--pine);
    color: var(--white);
}

.hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    right: -180px;
    top: -200px;
    border: 1px solid rgba(201, 255, 99, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(201, 255, 99, 0.025), 0 0 0 120px rgba(201, 255, 99, 0.018);
}

.hero-copy,
.hero-value {
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-label {
    margin: 0 0 14px;
    color: var(--signal-dark);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero .eyebrow,
.section-label.light {
    color: var(--signal);
}

.hero h1 {
    margin: 0;
    max-width: 710px;
    font-size: clamp(3.5rem, 7.2vw, 7.7rem);
    font-weight: 730;
    letter-spacing: -0.075em;
    line-height: 0.82;
}

.hero h1 em {
    color: var(--signal);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.hero-description {
    max-width: 610px;
    margin: 34px 0 0;
    color: #b9c2bd;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-value {
    padding: 0 0 10px;
}

.metric-label {
    margin: 0 0 10px;
    color: #aab5af;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-total {
    margin: 0;
    font-size: clamp(3.1rem, 5.2vw, 6rem);
    font-weight: 760;
    letter-spacing: -0.065em;
    line-height: 1;
    white-space: nowrap;
}

.loading-value {
    opacity: 0.55;
}

.hero-change {
    min-height: 34px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #c5cec9;
    font-size: 0.92rem;
}

.change-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 900;
}

.change-pill.positive {
    background: var(--signal);
    color: var(--ink);
}

.change-pill.negative {
    background: var(--coral);
    color: #29140d;
}

.change-pill.neutral {
    background: rgba(255, 255, 255, 0.1);
    color: #d9dfdc;
}

.as-of {
    margin: 32px 0 0;
    color: #85938b;
    font-size: 0.78rem;
}

.control-strip {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: rgba(243, 240, 231, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(23, 35, 30, 0.05);
}

.range-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.range-nav::-webkit-scrollbar {
    display: none;
}

.range-nav a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.range-nav a:hover {
    color: var(--ink);
    background: rgba(23, 35, 30, 0.06);
}

.range-nav a[aria-current="page"] {
    background: var(--ink);
    color: var(--signal);
}

.display-controls,
.segmented-control {
    display: flex;
    align-items: center;
}

.display-controls {
    gap: 10px;
}

.segmented-control {
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
}

.segmented-control button {
    min-width: 50px;
    padding: 7px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 850;
}

.segmented-control button[aria-pressed="true"] {
    background: var(--paper-deep);
    color: var(--ink);
}

.refresh-button,
.scenario-box button,
.quiet-button {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
}

.refresh-button:hover,
.scenario-box button:hover {
    background: var(--pine-2);
}

.refresh-button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.75fr);
    gap: 20px;
    margin-top: 56px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 254, 250, 0.72);
    box-shadow: var(--shadow);
}

.performance-panel,
.pulse-panel,
.allocation-panel,
.asset-panel {
    padding: clamp(22px, 3vw, 36px);
}

.panel-heading {
    min-height: 64px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.panel-heading.compact {
    min-height: auto;
}

.panel-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.4vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.chart-summary {
    display: grid;
    justify-items: end;
    text-align: right;
}

.chart-summary strong {
    font-size: 1.15rem;
}

.chart-summary span,
.panel-note {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.chart-shell {
    height: 410px;
    margin-top: 28px;
    position: relative;
}

.chart-shell canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: repeating-linear-gradient(-45deg, rgba(23, 35, 30, 0.025), rgba(23, 35, 30, 0.025) 10px, transparent 10px, transparent 20px);
    color: var(--muted);
    font-size: 0.82rem;
}

.chart-loading[hidden] {
    display: none;
}

.data-disclosure {
    margin-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
}

.data-disclosure summary {
    padding: 16px 0 0;
    cursor: pointer;
    font-weight: 750;
}

.pulse-panel {
    background: var(--pine);
    color: var(--white);
}

.pulse-panel .section-label {
    color: var(--signal);
}

.pulse-list {
    margin: 34px 0 0;
}

.pulse-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pulse-list dt {
    color: #98a59e;
    font-size: 0.78rem;
}

.pulse-list dd {
    margin: 0;
    font-size: 0.93rem;
    font-weight: 850;
    text-align: right;
}

.positive-text {
    color: #bdf052 !important;
}

.negative-text {
    color: #ff9d7a !important;
}

.scenario-box {
    margin-top: 32px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
}

.scenario-title {
    margin: 0;
    font-weight: 800;
}

.scenario-box > div > p:last-child {
    margin: 5px 0 16px;
    color: #98a59e;
    font-size: 0.76rem;
}

.scenario-box form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.scenario-box label {
    grid-column: 1 / -1;
    color: #b9c2bd;
    font-size: 0.7rem;
    font-weight: 750;
}

.number-input {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.15);
}

.number-input input {
    width: 100%;
    min-width: 0;
    padding: 8px 4px 8px 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--white);
}

.number-input span {
    padding-right: 12px;
    color: #98a59e;
}

.scenario-box button {
    border-color: var(--signal);
    background: var(--signal);
    color: var(--ink);
}

.scenario-box .quiet-button,
.quiet-button {
    grid-column: 1 / -1;
    min-height: 34px;
    border-color: transparent;
    background: transparent;
    color: #aeb9b3;
}

.allocation-panel,
.holdings-panel,
.asset-panel {
    margin-top: 20px;
}

.allocation-list {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 34px;
}

.allocation-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 55px;
    align-items: center;
    gap: 12px;
}

.allocation-item strong,
.allocation-item span:last-child {
    font-size: 0.8rem;
}

.allocation-item span:last-child {
    color: var(--muted);
    text-align: right;
}

.allocation-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--paper-deep);
}

.allocation-track i {
    display: block;
    width: var(--weight);
    height: 100%;
    border-radius: inherit;
    background: var(--bar-color, var(--signal-dark));
}

.holdings-panel {
    overflow: hidden;
}

.holdings-heading {
    padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px) 24px;
}

.table-scroll {
    max-width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 16px clamp(16px, 2.5vw, 36px);
    border-top: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

th {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

td {
    font-size: 0.86rem;
}

tbody tr {
    transition: background 140ms ease;
}

tbody tr:hover {
    background: rgba(201, 255, 99, 0.08);
}

.numeric {
    text-align: right;
}

.asset-link {
    display: inline-grid;
    grid-template-columns: 36px auto;
    column-gap: 10px;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
}

.ticker-icon {
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--paper-deep);
    font-size: 0.67rem;
    font-weight: 900;
}

.asset-link strong {
    font-size: 0.88rem;
}

.asset-link small {
    color: var(--muted);
    font-size: 0.68rem;
}

.weight-cell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.weight-mini {
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: var(--paper-deep);
}

.weight-mini i {
    display: block;
    width: var(--weight);
    height: 100%;
    border-radius: inherit;
    background: var(--signal-dark);
}

.empty-state {
    padding: 48px;
    color: var(--muted);
    text-align: center;
}

.compact-table {
    max-height: 360px;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.compact-table th,
.compact-table td {
    padding: 10px 12px;
    font-size: 0.72rem;
}

.asset-heading .quiet-button {
    color: var(--ink-soft);
}

.asset-summary {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.asset-summary div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
}

.asset-summary span,
.asset-summary strong {
    display: block;
}

.asset-summary span {
    color: var(--muted);
    font-size: 0.72rem;
}

.asset-summary strong {
    margin-top: 5px;
    font-size: 1.1rem;
}

.asset-chart-shell {
    height: 340px;
}

.agent-section {
    margin-top: 72px;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
    gap: clamp(40px, 8vw, 120px);
    padding: clamp(36px, 6vw, 76px);
    border-radius: 36px;
    background: var(--pine);
    color: var(--white);
}

.agent-intro h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4.3vw, 4.6rem);
    font-weight: 720;
    letter-spacing: -0.065em;
    line-height: 0.94;
}

.agent-intro > p:last-child {
    max-width: 580px;
    margin: 26px 0 0;
    color: #aeb9b3;
    font-size: 0.96rem;
}

.agent-links {
    display: grid;
    align-content: center;
}

.agent-links a {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    text-decoration: none;
}

.agent-links a:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.agent-links a:hover span {
    color: var(--signal);
}

.agent-links span {
    font-weight: 800;
}

.agent-links code {
    grid-column: 1;
    margin-top: 4px;
    color: #89978f;
    font-size: 0.7rem;
    white-space: normal;
    word-break: break-all;
}

.agent-links b {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--signal);
    font-size: 1.1rem;
}

footer {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--muted);
    font-size: 0.72rem;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 50;
    max-width: min(390px, calc(100% - 40px));
    padding: 13px 16px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1050px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-value {
        padding-top: 10px;
    }

    .dashboard-grid,
    .agent-section {
        grid-template-columns: 1fr;
    }

    .agent-section {
        gap: 44px;
    }
}

@media (max-width: 760px) {
    .site-header,
    main,
    footer {
        width: min(100% - 24px, 1440px);
    }

    .site-header {
        min-height: 72px;
    }

    .header-actions .text-link,
    .brand-copy small {
        display: none;
    }

    .hero {
        padding: 50px 22px 36px;
        border-radius: 28px 28px 6px 6px;
    }

    .hero h1 {
        font-size: clamp(3.4rem, 17vw, 5.6rem);
    }

    .hero-total {
        font-size: clamp(2.55rem, 12.5vw, 4.2rem);
    }

    .control-strip {
        position: relative;
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
    }

    .range-nav {
        padding-bottom: 4px;
    }

    .display-controls {
        justify-content: space-between;
    }

    .dashboard-grid {
        margin-top: 28px;
    }

    .panel-heading {
        flex-direction: column;
        gap: 10px;
    }

    .chart-summary {
        justify-items: start;
        text-align: left;
    }

    .chart-shell {
        height: 320px;
    }

    .allocation-list {
        grid-template-columns: 1fr;
    }

    .asset-summary {
        grid-template-columns: 1fr;
    }

    .holdings-heading {
        padding-bottom: 18px;
    }

    th,
    td {
        padding-inline: 16px;
    }

    .agent-section {
        margin-top: 40px;
        padding: 34px 24px;
        border-radius: 24px;
    }

    footer {
        min-height: 150px;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Sortable Table Headers */
.sort-header-btn {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    width: 100%;
    transition: color 140ms ease;
}

.sort-header-btn.numeric {
    justify-content: flex-end;
}

.sort-header-btn:hover,
.sort-header-btn:focus-visible {
    color: var(--ink);
    outline: none;
}

th[data-sort-key] {
    cursor: pointer;
}

th[aria-sort= ascending] .sort-header-btn,
th[aria-sort=descending] .sort-header-btn {
    color: var(--signal-dark);
}

.sort-indicator {
    display: inline-block;
    width: 10px;
    font-size: 0.72rem;
    opacity: 0.35;
    line-height: 1;
    transition: transform 140ms ease, opacity 140ms ease;
}

th[aria-sort=ascending] .sort-indicator {
    opacity: 1;
}

th[aria-sort=ascending] .sort-indicator::after {
    content: ▲;
}

th[aria-sort=descending] .sort-indicator {
    opacity: 1;
}

th[aria-sort=descending] .sort-indicator::after {
    content: ▼;
}

th[aria-sort=none] .sort-header-btn:hover .sort-indicator {
    opacity: 0.7;
}

th[aria-sort=none] .sort-header-btn:hover .sort-indicator::after {
    content: ↕;
}

/* High Contrast Table Typography & Header Styles */
th {
    color: #17231e !important;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

td {
    font-size: 0.88rem;
    color: #17231e;
    font-weight: 550;
}

.holdings-table td.positive-text {
    color: #3f7511 !important;
    font-weight: 700;
}

.holdings-table td.negative-text {
    color: #c62828 !important;
    font-weight: 700;
}

.asset-link small {
    color: #4b5a52;
    font-weight: 600;
}

.sort-header-btn {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: #17231e;
    font-weight: 850;
    text-transform: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    width: 100%;
    transition: color 140ms ease;
}

.sort-header-btn.numeric {
    justify-content: flex-end;
}

.sort-header-btn:hover,
.sort-header-btn:focus-visible {
    color: #3f7511;
    outline: none;
}

th[data-sort-key] {
    cursor: pointer;
}

th[aria-sort="ascending"] .sort-header-btn,
th[aria-sort="descending"] .sort-header-btn {
    color: #3f7511;
    font-weight: 900;
}

.sort-indicator {
    display: inline-block;
    width: 12px;
    font-size: 0.76rem;
    opacity: 0.65;
    font-weight: 900;
    line-height: 1;
    transition: transform 140ms ease, opacity 140ms ease;
}

th[aria-sort="ascending"] .sort-indicator,
th[aria-sort="descending"] .sort-indicator {
    opacity: 1;
    color: #3f7511;
}

th[aria-sort="ascending"] .sort-indicator::after {
    content: "\25B2";
}

th[aria-sort="descending"] .sort-indicator::after {
    content: "\25BC";
}

th[aria-sort="none"] .sort-header-btn:hover .sort-indicator {
    opacity: 0.95;
}

th[aria-sort="none"] .sort-header-btn:hover .sort-indicator::after {
    content: "\2195";
}


/* Mobile & Responsive Enhancements */
@media (max-width: 760px) {
    /* Sticky Top Timeframe & Control Strip on Mobile */
    .control-strip {
        position: sticky;
        top: 6px;
        z-index: 50;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 8px 12px;
        background: rgba(243, 240, 231, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(23, 35, 30, 0.18);
        border-radius: 18px;
        box-shadow: 0 8px 30px rgba(23, 35, 30, 0.12);
    }

    .range-nav {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .range-nav::-webkit-scrollbar {
        display: none;
    }

    .range-nav a {
        padding: 8px 12px;
        font-size: 0.74rem;
        font-weight: 850;
        scroll-snap-align: start;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .display-controls {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding-top: 4px;
        border-top: 1px solid rgba(23, 35, 30, 0.08);
    }

    .segmented-control button,
    .refresh-button {
        min-height: 36px;
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    /* Mobile Holdings Table with Sticky Asset Column */
    .table-scroll {
        -webkit-overflow-scrolling: touch;
        margin-inline: -4px;
        padding-inline: 4px;
    }

    .holdings-table th:first-child,
    .holdings-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 3;
        background: #fbf9f4;
        border-right: 1px solid var(--line);
        box-shadow: 4px 0 12px rgba(23, 35, 30, 0.06);
    }

    .holdings-table th:first-child {
        z-index: 4;
        background: #f3f0e7;
    }

    .holdings-table td {
        padding: 12px 14px;
        font-size: 0.84rem;
    }

    .holdings-table th {
        padding: 12px 14px;
    }

    .asset-link {
        grid-template-columns: 32px auto;
        column-gap: 8px;
    }

    .ticker-icon {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    /* Mobile Hero & Spacing */
    .site-header {
        padding-inline: 4px;
    }

    .hero {
        padding: 32px 18px 28px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 12vw, 4.2rem);
        line-height: 0.9;
    }

    .hero-description {
        margin-top: 16px;
        font-size: 0.95rem;
    }

    .hero-total {
        font-size: clamp(2.4rem, 10vw, 3.6rem);
    }
}
