/* ==========================================================================
   TODEY Data — Dark Luxury Intelligence Platform Styles
   Design System: docs/DESIGN-SYSTEM.md & TODEY-API-Panels parity
   Tokens:
     - Base & Card Background: #000000 (Pure Solid Black)
     - Border: 1px solid #141414 (Static, zero transition on hover/focus)
     - Radius: 0px (Sharp / Flat)
     - Primary Accent: #ff4400 (Orange)
     - Red Accent: #ff0000 (Pure Red for errors/alerts)
     - Subtle Row Hover: #080808 (Strictly reserved for list/table rows)
     - Typography: 'DM Sans', sans-serif
   ========================================================================== */

:root {
    --todey-bg-primary: #000000;
    --todey-bg-card: #000000;
    --todey-bg-hover: #080808;
    --todey-border-color: #141414;
    --todey-border-dashed: #191919;
    --todey-accent-orange: #ff4400;
    --todey-accent-green: #14F195;
    --todey-accent-red: #ff0000;
    --todey-text-primary: #ffffff;
    --todey-text-secondary: #b3b3b3;
    --todey-text-muted: #888888;
    --todey-font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --todey-font-mono: 'Space Grotesk', 'Roboto Mono', monospace;
    --todey-sidebar-width: 260px;
    --todey-header-height: 70px;
}

/* Reset & Embed Component Root */
.todey-data-embed-wrapper {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: var(--todey-bg-primary);
    color: var(--todey-text-primary);
    font-family: var(--todey-font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.todey-data-embed-wrapper *,
.todey-data-embed-wrapper *::before,
.todey-data-embed-wrapper *::after {
    box-sizing: inherit;
}

.todey-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-height: 38px;
    padding: 0 15px;
    background-color: #000000;
    border: 1px solid var(--todey-border-color);
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, transform 0.15s;
}

.todey-btn:hover {
    background-color: var(--todey-accent-orange);
    color: #000000;
    transform: translateY(-2px);
}

/* ==========================================================================
   CONJOINED HORIZONTAL NAVIGATION MENU (100% Full Width)
   ========================================================================== */

.todey-tabs-nav-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 25px;
}

.todey-tabs-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.todey-tabs-nav.todey-data-horizontal-menu {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #000000;
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
    height: 38px;
    min-height: 38px;
    box-sizing: border-box;
    flex-wrap: nowrap;
    min-width: max-content;
}

.todey-tabs-nav.todey-data-horizontal-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    height: 100%;
    flex-shrink: 0;
}

.todey-tabs-nav.todey-data-horizontal-menu a.todey-data-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 20px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    border: none;
    border-right: 1px solid var(--todey-border-color);
    border-radius: 0px;
    background: #000000;
    box-sizing: border-box;
    transition: background-color 0.15s ease, color 0.15s ease;
    outline: none;
    box-shadow: none;
    white-space: nowrap;
}

.todey-tabs-nav.todey-data-horizontal-menu a.todey-data-nav-link:hover {
    background-color: var(--todey-accent-orange);
    color: #000000;
}

.todey-tabs-nav.todey-data-horizontal-menu li.active-tab a.todey-data-nav-link,
.todey-tabs-nav.todey-data-horizontal-menu a.todey-data-nav-link.active {
    background-color: var(--todey-accent-orange) !important;
    color: #000000 !important;
    font-weight: 800;
}

/* ==========================================================================
   DYNAMIC TAB STAGE & BENTO PRIMITIVES
   ========================================================================== */

.todey-data-stage {
    padding-top: 24px;
    padding-bottom: 32px;
    padding-left: 8px;
    padding-right: 8px;
    flex-grow: 1;
    background-color: var(--todey-bg-primary);
}

.todey-tab-pane {
    display: none !important;
}

.todey-tab-pane.active {
    display: block !important;
}

.todey-tab-content-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Bento Grid System */
.todey-bento-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.todey-bento-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.todey-bento-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.todey-bento-card, .todey-full-card {
    background-color: var(--todey-bg-card);
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.todey-bento-header {
    height: 52px;
    min-height: 52px;
    padding-left: 8px;
    padding-right: 8px;
    border-bottom: 1px solid var(--todey-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.todey-bento-title {
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #ffffff;
    margin: 0;
}

.todey-bento-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border: 1px solid var(--todey-border-color);
    background-color: #080808;
    color: var(--todey-text-secondary);
    letter-spacing: 0.8px;
    border-radius: 0px;
}

.todey-bento-body {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 8px;
    padding-right: 8px;
    flex-grow: 1;
}

.todey-bento-footer {
    height: 40px;
    min-height: 40px;
    padding-left: 8px;
    padding-right: 8px;
    border-top: 1px solid var(--todey-border-color);
    display: flex;
    align-items: center;
    margin-top: auto;
}

.todey-footer-muted {
    font-size: 9.5px;
    font-weight: 500;
    color: var(--todey-text-muted);
    letter-spacing: 0.4px;
}

/* Metric Bento Card Primitive */
.todey-metric-card {
    background-color: var(--todey-bg-card);
    border: 1px solid var(--todey-border-color);
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
}

.todey-metric-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.todey-metric-label {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--todey-text-muted);
}

.todey-metric-delta {
    font-size: 9.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 0px;
    border: 1px solid var(--todey-border-color);
}

.todey-metric-delta.trend-positive {
    color: var(--todey-accent-green);
    border-color: rgba(20, 241, 149, 0.3);
    background-color: rgba(20, 241, 149, 0.06);
}

.todey-metric-delta.trend-neutral {
    color: var(--todey-text-secondary);
    background-color: #080808;
}

.todey-metric-delta.trend-negative {
    color: var(--todey-accent-red);
    border-color: rgba(255, 0, 0, 0.3);
    background-color: rgba(255, 0, 0, 0.06);
}

.todey-metric-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--todey-text-primary);
    line-height: 1.1;
    margin-bottom: 4px;
    font-feature-settings: 'tnum';
}

.todey-metric-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--todey-text-secondary);
    letter-spacing: 0.3px;
}

/* ==========================================================================
   FORM CONTROLS, TOOLBARS & TABLES
   ========================================================================== */

.todey-data-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.todey-search-wrap {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.todey-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--todey-text-muted);
    pointer-events: none;
}

.todey-data-input {
    width: 100%;
    height: 38px;
    min-height: 38px;
    background-color: #000000;
    border: 1px solid var(--todey-border-color);
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 0 12px 0 34px;
    border-radius: 0px;
    outline: none;
    box-shadow: none;
}

.todey-data-input:focus, .todey-data-input:active {
    border-color: var(--todey-border-color) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Conjoined Filter Group */
.todey-conjoined-filter-group {
    display: inline-flex;
    height: 38px;
    background-color: #000000;
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
    overflow: hidden;
}

.todey-filter-btn {
    height: 38px;
    padding: 0 15px;
    background-color: #000000;
    border: none;
    border-right: 1px solid var(--todey-border-color);
    color: var(--todey-text-secondary);
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    border-radius: 0px;
    transition: background-color 0.15s, color 0.15s;
}

.todey-filter-btn:last-child {
    border-right: none;
}

.todey-filter-btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.04);
}

.todey-filter-btn.active {
    background-color: var(--todey-accent-orange) !important;
    color: #000000 !important;
    font-weight: 800;
}

/* Data Table Container */
.todey-table-container {
    width: 100%;
    background-color: var(--todey-bg-card);
    border: 1px solid var(--todey-border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.todey-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11.5px;
    text-align: left;
}

.todey-data-table th {
    height: 42px;
    padding: 0 18px;
    background-color: #050505;
    border-bottom: 1px solid var(--todey-border-color);
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--todey-text-muted);
}

.todey-data-table td {
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 8px;
    padding-right: 8px;
    border-bottom: 1px solid var(--todey-border-color);
    vertical-align: middle;
}

.todey-data-table tr:hover td {
    background-color: var(--todey-bg-hover);
}

.todey-empty-state, .todey-loading-container {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    color: var(--todey-text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================================================
   RIGHT VIEWPORT FOOTER
   ========================================================================== */

.todey-data-footer {
    height: 60px;
    min-height: 60px;
    padding-left: 32px;
    padding-right: 32px;
    border-top: 1px solid var(--todey-border-color);
    background-color: var(--todey-bg-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.todey-data-footer-tagline {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--todey-text-muted);
}

.todey-data-footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.todey-footer-link {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--todey-text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.todey-footer-link:hover {
    color: var(--todey-accent-orange);
}

/* ==========================================================================
   RESPONSIVE LAYOUT (<1024px & <768px & <480px & <340px)
   ========================================================================== */

@media (max-width: 1024px) {
    .todey-bento-grid-2col,
    .todey-bento-grid-3col {
        grid-template-columns: 1fr;
    }
    .todey-bento-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .todey-data-embed-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .todey-tabs-nav-wrapper {
        margin-bottom: 16px;
    }

    .todey-tabs-nav.todey-data-horizontal-menu a.todey-data-nav-link {
        padding: 0 14px;
        font-size: 10.5px;
    }

    .todey-data-stage {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0;
        padding-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .todey-tabs-nav.todey-data-horizontal-menu a.todey-data-nav-link {
        padding: 0 11px;
        font-size: 10px;
        letter-spacing: 0.3px;
    }
}

/* ==========================================================================
   CARD NETWORK INTELLIGENCE & STREAMGRAPH STYLES (Global Scope)
   ========================================================================== */

.todey-network-tab-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

/* Top 4-Column Counter Grid */
.todey-network-counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.todey-network-counter-card {
    background-color: #000000;
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
    padding: 18px 18px 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 125px;
    position: relative;
    box-sizing: border-box;
}

.todey-network-counter-card .todey-counter-header,
.todey-network-tab-wrap .todey-counter-header,
.todey-counter-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.todey-network-counter-card .todey-counter-label,
.todey-network-tab-wrap .todey-counter-label,
.todey-data-shell .todey-counter-label,
.todey-counter-label {
    font-size: 11px !important;
    font-weight: 1000 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    font-family: var(--todey-font-main) !important;
}

.todey-network-counter-card .todey-counter-dominance,
.todey-counter-dominance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    line-height: 1.15;
    border: none;
    background: transparent;
    padding: 0;
}

.todey-network-counter-card .todey-dominance-tag,
.todey-dominance-tag {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #71717a;
    font-family: 'DM Sans', -apple-system, sans-serif;
    margin-bottom: 2px;
    line-height: 1;
}

.todey-network-counter-card .todey-dominance-pct,
.todey-dominance-pct {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ff4400;
    font-family: 'DM Sans', -apple-system, sans-serif;
    line-height: 1;
    border: none;
    background: transparent;
    padding: 0;
}

.todey-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 0px;
}

.todey-badge-green {
    background: rgba(20, 241, 149, 0.1);
    color: #14F195;
    border: 1px solid rgba(20, 241, 149, 0.25);
}

.todey-counter-main-val {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.todey-counter-number {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--todey-text-primary);
    letter-spacing: -0.03em;
    font-family: 'DM Sans', -apple-system, sans-serif;
}

.todey-counter-subtext {
    font-size: 11px;
    font-weight: 500;
    color: var(--todey-text-muted);
    letter-spacing: 0.01em;
    font-family: 'DM Sans', -apple-system, sans-serif;
}

/* ==========================================================================
   MAIN STREAMGRAPH SECTION
   ========================================================================== */

.todey-streamgraph-section {
    background-color: #000000;
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.todey-streamgraph-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 10px;
}

.todey-streamgraph-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.todey-streamgraph-heading {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--todey-text-primary);
    margin: 0;
    line-height: 1.2;
}

.todey-streamgraph-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--todey-text-muted);
    letter-spacing: 0.04em;
}

.todey-streamgraph-header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.todey-legend-group {
    display: flex;
    align-items: center;
    padding: 4px 10px;
    gap: 16px;
    border: 1px solid #141414;
}

.todey-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.todey-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 0px;
    display: inline-block;
    flex-shrink: 0;
}

.todey-pill-dot,
.todey-tooltip-dot {
    width: 7px;
    height: 7px;
    border-radius: 0px;
    display: inline-block;
    flex-shrink: 0;
}

.todey-dot-visa {
    background-color: #1434cb;
    box-shadow: 0 0 6px rgba(20, 52, 203, 0.5);
}

.todey-dot-mc {
    background-color: #ff5f00;
    box-shadow: 0 0 6px rgba(255, 95, 0, 0.4);
}

.todey-dot-oth {
    background-color: #71717a;
    box-shadow: 0 0 6px rgba(113, 113, 122, 0.4);
}

.todey-dot-non-cust {
    background-color: #ff5500;
    box-shadow: 0 0 6px rgba(255, 85, 0, 0.5);
}

.todey-dot-cust {
    background-color: #0070f3;
    box-shadow: 0 0 6px rgba(0, 112, 243, 0.5);
}

.todey-dot-ct-virtual,
.todey-dot-ct-vp {
    background-color: #ff5500;
    box-shadow: 0 0 6px rgba(255, 85, 0, 0.5);
}

.todey-dot-ct-physical,
.todey-dot-ct-vo {
    background-color: #0070f3;
    box-shadow: 0 0 6px rgba(0, 112, 243, 0.5);
}

.todey-dot-ct-credit {
    background-color: #00ff88;
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.5);
}

.todey-dot-ct-po {
    background-color: #00e676;
    box-shadow: 0 0 6px rgba(0, 230, 118, 0.5);
}

.todey-dot-ct-oth {
    background-color: #71717a;
    box-shadow: 0 0 6px rgba(113, 113, 122, 0.4);
}

.todey-dot-ov-listed {
    background-color: #ff4400;
    box-shadow: 0 0 6px rgba(255, 68, 0, 0.5);
}

.todey-dot-ov-active {
    background-color: #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.todey-dot-ov-retired {
    background-color: #ff0000;
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.5);
}

.todey-legend-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--todey-text-secondary);
    letter-spacing: 0.04em;
    white-space: nowrap !important;
    display: inline-block;
}

/* Conjoined View Mode Switcher (Top-Right) */
.todey-conjoined-view-switcher {
    display: inline-flex;
    height: 28px;
    background-color: #000000;
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
    overflow: hidden;
}

.todey-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    background-color: #000000;
    border: none;
    border-right: 1px solid var(--todey-border-color);
    color: var(--todey-text-secondary);
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    border-radius: 0px;
    transition: background-color 0.15s ease, color 0.15s ease;
    user-select: none;
}

.todey-view-btn:last-child {
    border-right: none;
}

.todey-view-btn svg {
    stroke: currentColor;
    transition: stroke 0.15s ease;
}

.todey-view-btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.todey-view-btn.active {
    background-color: var(--todey-accent-orange) !important;
    color: #000000 !important;
    font-weight: 800;
}

.todey-view-btn.active svg {
    stroke: #000000 !important;
}

/* Top Milestone Numbers Axis */
.todey-streamgraph-top-axis {
    display: block;
    position: relative;
    width: 100%;
    height: 28px;
    background-color: #000000;
    border: 1px dashed var(--todey-border-color);
    border-radius: 0px;
    padding: 17px 12px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

/* Streamgraph Canvas Wrapper */
.todey-streamgraph-canvas-wrap {
    position: relative;
    width: 100%;
    height: 380px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
}

/* Ambient Radial Glow Backdrop (Disabled for pure solid black) */
.todey-streamgraph-glow {
    display: none;
}

/* Centered Brand Watermark — Overlay Layer */
.todey-streamgraph-watermark {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.12;
    margin: 0;
    line-height: 1;
}

.todey-watermark-logo-img {
    width: 120px;
    height: auto;
    max-height: 32px;
    display: block;
    pointer-events: none;
    user-select: none;
    filter: brightness(1);
}

.todey-streamgraph-svg {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: visible;
}

.todey-stream-layer {
    cursor: crosshair;
}

.todey-stream-gridline {
    stroke: #141414;
    stroke-width: 1px;
    stroke-dasharray: 4 4;
    pointer-events: none;
}

/* Stacked Discrete Bars (Equalizer View) */
.todey-bars-group {
    cursor: crosshair;
}

.todey-bar-column {
    pointer-events: none;
}

.todey-bar-seg {
    shape-rendering: geometricPrecision;
    transition: opacity 0.2s ease;
}

.todey-pin-line {
    stroke: #1c1c1c;
    stroke-width: 1px;
    stroke-dasharray: 2 4;
}

/* Floating Milestone Pills Container */
.todey-milestone-pills-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.todey-milestone-column {
    position: absolute;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    box-sizing: border-box;
    width: auto;
    pointer-events: none;
}

.todey-floating-pill {
    background-color: #000000;
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: 'DM Sans', -apple-system, sans-serif;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.95);
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
    width: max-content;
}

.todey-pill-val {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
}

.todey-pill-label {
    font-size: 8.5px;
    font-weight: 700;
    color: var(--todey-text-muted);
    letter-spacing: 0.06em;
}

.todey-pill-top {
    margin-top: 6px;
}

.todey-pill-bottom {
    margin-bottom: 6px;
}

/* Interactive Timeline Cursor Breakdown Tooltip */
.todey-streamgraph-tooltip {
    position: absolute;
    z-index: 100;
    background-color: #000000;
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
    padding: 8px 12px;
    pointer-events: none !important;
    user-select: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.95);
    min-width: 170px;
    white-space: nowrap;
    transform: none;
    transition: opacity 0.12s ease;
}

.todey-tooltip-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.todey-tooltip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.todey-tooltip-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--todey-text-secondary);
    flex: 1;
    margin-left: 6px;
}

.todey-tooltip-val {
    font-size: 11px;
    font-weight: 700;
    color: var(--todey-text-primary);
}

/* Bottom Timeline Axis */
.todey-streamgraph-timeline-axis {
    display: block;
    position: relative;
    width: 100%;
    height: 28px;
    background-color: #000000;
    border: 1px dashed var(--todey-border-color);
    border-radius: 0px;
    padding: 17px 12px;
    margin-top: 30px;
    box-sizing: border-box;
}

.todey-axis-step {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.todey-axis-start {
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    align-items: flex-start;
}

.todey-axis-end {
    left: auto !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    align-items: flex-end;
}

.todey-axis-label {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--todey-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}

/* Active Dynamic Hairline Hover Markers (Directly Above & Below Canvas Line) */
.todey-hairline-hover-marker {
    position: absolute;
    z-index: 12;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    line-height: 1;
}

.todey-hairline-top {
    top: -22px;
}

.todey-hairline-bot {
    bottom: -22px;
}

.todey-hairline-hover-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ededed;
}

/* Streamgraph Controls & Square Checkbox */
.todey-streamgraph-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: max-content;
    margin-top: 10px;
    padding: 5px 15px 5px 10px;
    border: none;
}

.todey-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.todey-square-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.todey-checkbox-custom {
    width: 14px;
    height: 14px;
    border: 1px solid var(--todey-border-color);
    background-color: #000000;
    border-radius: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

.todey-checkbox-label:hover .todey-checkbox-custom {
    border-color: #ff4400;
}

.todey-square-checkbox:checked + .todey-checkbox-custom {
    background-color: #ff4400;
    border-color: #ff4400;
}

.todey-square-checkbox:checked + .todey-checkbox-custom::after {
    content: '';
    display: block;
    width: 4px;
    height: 7px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.todey-checkbox-text {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--todey-text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.todey-checkbox-label:hover .todey-checkbox-text {
    color: #ffffff;
}

.todey-controls-hint {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--todey-text-muted);
    letter-spacing: 0.02em;
}

/* ==========================================================================
   ADDITIONAL RESPONSIVE OVERRIDES
   ========================================================================== */

@media (max-width: 1100px) {
    .todey-network-counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .todey-streamgraph-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .todey-streamgraph-header-controls {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }
    .todey-legend-group {
        width: 100%;
        box-sizing: border-box;
        justify-content: flex-start;
        gap: 14px;
        flex-wrap: wrap;
    }
    .todey-conjoined-view-switcher {
        align-self: flex-end;
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .todey-network-counter-card {
        padding: 14px 10px 12px 10px;
        min-height: 115px;
    }
    .todey-streamgraph-section {
        padding: 16px 8px;
    }
    .todey-streamgraph-canvas-wrap {
        height: 280px;
    }
    .todey-floating-pill {
        padding: 2px 6px;
        font-size: 9.5px;
    }
    .todey-streamgraph-top-axis,
    .todey-streamgraph-timeline-axis {
        padding: 14px 8px;
    }
    .todey-conjoined-view-switcher {
        align-self: flex-end;
        margin-left: auto;
    }
    .todey-streamgraph-watermark {
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.10;
        z-index: 3;
    }
    .todey-watermark-logo-img {
        width: 95px;
        max-height: 26px;
    }
}

@media (max-width: 600px) {
    .todey-network-counters-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .todey-streamgraph-header-controls {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        width: 100%;
    }
    .todey-legend-group {
        width: 100%;
        justify-content: flex-start;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 6px 8px;
        box-sizing: border-box;
    }
    .todey-conjoined-view-switcher {
        align-self: flex-end;
        margin-left: auto;
    }
    /* Suppress intermediate milestones on mobile to prevent label collision */
    .todey-streamgraph-top-axis .todey-axis-step:nth-child(2),
    .todey-streamgraph-top-axis .todey-axis-step:nth-child(4),
    .todey-streamgraph-timeline-axis .todey-axis-step:nth-child(2),
    .todey-streamgraph-timeline-axis .todey-axis-step:nth-child(4) {
        display: none !important;
    }
    .todey-axis-label {
        font-size: 9.5px;
        letter-spacing: 0.03em;
    }
    .todey-streamgraph-watermark {
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.09;
        z-index: 3;
    }
    .todey-watermark-logo-img {
        width: 82px;
        max-height: 22px;
    }
}

@media (max-width: 480px) {
    .todey-network-counter-card {
        padding: 12px 6px 10px 6px;
        min-height: 105px;
    }
    .todey-streamgraph-header-controls {
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        gap: 8px;
    }
    .todey-legend-group {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 14px;
        padding: 6px 8px;
        box-sizing: border-box;
    }
    .todey-conjoined-view-switcher {
        align-self: flex-end;
        margin-left: auto;
        height: 32px;
    }
    .todey-view-btn {
        height: 32px;
        padding: 0 10px;
        font-size: 10px;
    }
    .todey-bento-grid-4col {
        grid-template-columns: 1fr;
    }
    /* Mobile Milestone Axes Refinement */
    .todey-streamgraph-top-axis .todey-axis-step:nth-child(2),
    .todey-streamgraph-top-axis .todey-axis-step:nth-child(4),
    .todey-streamgraph-timeline-axis .todey-axis-step:nth-child(2),
    .todey-streamgraph-timeline-axis .todey-axis-step:nth-child(4) {
        display: none !important;
    }
    .todey-streamgraph-top-axis,
    .todey-streamgraph-timeline-axis {
        height: 24px;
        padding: 12px 6px;
        margin-top: 16px;
        margin-bottom: 16px;
    }
    .todey-axis-start {
        left: 6px !important;
    }
    .todey-axis-end {
        right: 6px !important;
    }
    .todey-axis-label {
        font-size: 9px;
        letter-spacing: 0.02em;
    }
    /* Mobile Watermark Centering & Sizing */
    .todey-streamgraph-watermark {
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.08;
        z-index: 3;
    }
    .todey-watermark-logo-img {
        width: 72px;
        max-height: 18px;
    }
    .todey-floating-pill {
        padding: 2px 5px;
        font-size: 8.5px;
        gap: 3px;
    }
    .todey-pill-val {
        font-size: 9.5px;
    }
    .todey-pill-label {
        font-size: 7.5px;
    }
    .todey-data-header {
        padding-left: 5px;
        padding-right: 5px;
    }
    .todey-data-title {
        font-size: 1.15rem;
    }
    .todey-data-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .todey-search-wrap {
        min-width: 100%;
    }
    .todey-streamgraph-section {
        padding: 14px 5px;
    }
    .todey-counter-number {
        font-size: 1.7rem;
    }
    .todey-counter-subtext {
        font-size: 10px;
    }
    .todey-counter-label {
        font-size: 10.5px !important;
    }
    .todey-streamgraph-canvas-wrap {
        height: 220px;
    }
    .todey-streamgraph-top-axis,
    .todey-streamgraph-timeline-axis {
        padding: 12px 5px;
        margin-top: 18px;
        margin-bottom: 18px;
    }
    .todey-axis-label {
        font-size: 9.5px;
    }
    .todey-streamgraph-controls {
        width: 100%;
        padding: 4px 5px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .todey-legend-name {
        font-size: 10px;
    }
    .todey-conjoined-view-switcher {
        height: 32px;
    }
    .todey-view-btn {
        height: 32px;
        padding: 0 8px;
        font-size: 9.5px;
    }
}

@media (max-width: 360px) {
    .todey-network-counter-card {
        padding: 10px 5px 8px 5px;
    }
    .todey-counter-number {
        font-size: 1.5rem;
    }
    .todey-counter-subtext {
        font-size: 9.5px;
    }
    .todey-streamgraph-canvas-wrap {
        height: 190px;
    }
}

@media (max-width: 340px) {
    .todey-data-stage {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .todey-btn, .todey-btn-back {
        padding: 0 8px;
        font-size: 9.5px;
    }
    .todey-counter-number {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   BLOCKCHAIN INTELLIGENCE TAB & 3-CHART SUITE (TODEY LUXURY DESIGN SYSTEM)
   ========================================================================== */

.todey-blockchain-tab-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.todey-blockchain-visualizer-section {
    position: relative;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.todey-blockchain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #141414;
    padding-bottom: 16px;
    gap: 16px;
}

/* Legend Matrix */
.todey-blockchain-legend-bar {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none; /* Firefox */
}

.todey-blockchain-legend-bar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge, Opera */
}

.todey-bc-legend-list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
}

.todey-bc-legend-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    height: 28px;
    padding: 0 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.todey-bc-legend-chip:hover {
    background: #080808;
    color: #ffffff;
}

.todey-bc-legend-chip.active-solo {
    background: #ff4400 !important;
    color: #000000 !important;
    border-color: #ff4400 !important;
}

.todey-bc-legend-chip.muted {
    opacity: 0.35;
}

.todey-bc-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.todey-bc-chip-val {
    color: #888888;
    font-size: 10px;
    font-weight: 500;
}

.todey-bc-legend-chip.active-solo .todey-bc-chip-val {
    color: #000000;
    font-weight: 700;
}

/* Visualizer Canvas Wrap */
.todey-blockchain-canvas-wrap {
    position: relative;
    width: 100%;
    min-height: 440px;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.todey-bc-view-pane {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   VIEW 1: SQUARIFIED TREEMAP (FILLED OFFICIAL BRAND PALETTE)
   ========================================================================== */

.todey-treemap-canvas {
    position: relative;
    width: 100%;
    height: 480px;
    background: #000000;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #141414;
}

.todey-treemap-box {
    position: absolute;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    min-height: 0;
    box-sizing: border-box;
}

/* Individual Official Blockchain Filled Gradients */
.todey-tm-ethereum  { background: linear-gradient(140deg, #627eea 0%, #3e53a0 100%) !important; }
.todey-tm-solana    { background: linear-gradient(140deg, #9945ff 0%, #5d17aa 100%) !important; }
.todey-tm-bitcoin   { background: linear-gradient(140deg, #f7931a 0%, #b86604 100%) !important; }
.todey-tm-arbitrum  { background: linear-gradient(140deg, #28a0f0 0%, #15629c 100%) !important; }
.todey-tm-polygon   { background: linear-gradient(140deg, #8247e5 0%, #4f219c 100%) !important; }
.todey-tm-base      { background: linear-gradient(140deg, #0052ff 0%, #0036a6 100%) !important; }
.todey-tm-bnb       { background: linear-gradient(140deg, #f3ba2f 0%, #c99310 100%) !important; }
.todey-tm-tron      { background: linear-gradient(140deg, #ff0013 0%, #ab000d 100%) !important; }
.todey-tm-xrp       { background: linear-gradient(140deg, #00aae4 0%, #006894 100%) !important; }
.todey-tm-optimism  { background: linear-gradient(140deg, #ff0420 0%, #aa0012 100%) !important; }
.todey-tm-avalanche { background: linear-gradient(140deg, #e84142 0%, #9e1f20 100%) !important; }
.todey-tm-hyperevm  { background: linear-gradient(140deg, #00d2ff 0%, #007799 100%) !important; }
.todey-tm-cardano   { background: linear-gradient(140deg, #2669ff 0%, #0033ad 100%) !important; }
.todey-tm-gnosis    { background: linear-gradient(140deg, #00c2a3 0%, #047957 100%) !important; }
.todey-tm-ton       { background: linear-gradient(140deg, #0098ea 0%, #005f8f 100%) !important; }
.todey-tm-monad     { background: linear-gradient(140deg, #836ef9 0%, #4d38c6 100%) !important; }
.todey-tm-scroll    { background: linear-gradient(140deg, #ff9e40 0%, #d47a22 100%) !important; }
.todey-tm-cronos    { background: linear-gradient(140deg, #1f6fff 0%, #002d74 100%) !important; }
.todey-tm-starknet  { background: linear-gradient(140deg, #fe5a5e 0%, #a83c2e 100%) !important; }
.todey-tm-sui       { background: linear-gradient(140deg, #4da2ff 0%, #1f64b3 100%) !important; }
.todey-tm-linea     { background: linear-gradient(140deg, #61dfff 0%, #1ca0c2 100%) !important; }
.todey-tm-celo      { background: linear-gradient(140deg, #35d07f 0%, #1a8a4f 100%) !important; }
.todey-tm-monero    { background: linear-gradient(140deg, #ff6600 0%, #ab4400 100%) !important; }
.todey-tm-stellar   { background: linear-gradient(140deg, #14b6f7 0%, #0b7aa9 100%) !important; }
.todey-tm-algorand  { background: linear-gradient(140deg, #00d2ff 0%, #00738f 100%) !important; }
.todey-tm-near      { background: linear-gradient(140deg, #00ec97 0%, #009961 100%) !important; }
.todey-tm-aptos     { background: linear-gradient(140deg, #2ed8a7 0%, #178a68 100%) !important; }
.todey-tm-mantle    { background: linear-gradient(140deg, #65b3ae 0%, #356965 100%) !important; }
.todey-tm-sonic     { background: linear-gradient(140deg, #00e0ff 0%, #008094 100%) !important; }
.todey-tm-cosmos    { background: linear-gradient(140deg, #6b7dff 0%, #2e3148 100%) !important; }
.todey-tm-xlayer    { background: linear-gradient(140deg, #d4d4d4 0%, #666666 100%) !important; }
.todey-tm-other     { background: linear-gradient(140deg, #2a2e39 0%, #1a1d24 100%) !important; }

.todey-treemap-box:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.todey-treemap-box.dimmed {
    opacity: 0.2;
    filter: grayscale(0.5);
}

.todey-treemap-box.highlighted {
    transform: scale(1.02);
    filter: brightness(1.2);
    z-index: 12;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.todey-tm-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.todey-tm-title-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.todey-tm-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.todey-tm-symbol {
    font-family: 'DM Sans', sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.2;
}

.todey-tm-tier-badge {
    font-family: 'DM Sans', sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    padding: 2px 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0px;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
    line-height: 1;
}

.todey-tm-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin: 2px 0;
    min-width: 0;
}

.todey-tm-dominance {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.todey-tm-type-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.todey-tm-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
    margin-top: auto;
    min-width: 0;
}

.todey-tm-cards-count {
    font-family: 'DM Sans', sans-serif;
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.todey-tm-indicator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

/* Major Anchor Cards (> 25% share) */
.todey-tm-ethereum .todey-tm-dominance {
    font-size: 30px;
}
.todey-tm-ethereum .todey-tm-name {
    font-size: 15px;
}

/* Compact Nodes (Width < 140px or Height < 110px) */
.todey-tm-compact {
    padding: 7px 8px;
}
.todey-tm-compact .todey-tm-dominance {
    font-size: 16px;
}
.todey-tm-compact .todey-tm-name {
    font-size: 11px;
}
.todey-tm-compact .todey-tm-symbol {
    font-size: 9px;
}
.todey-tm-compact .todey-tm-type-text {
    display: none;
}
.todey-tm-compact .todey-tm-cards-count {
    font-size: 8.5px;
}

/* Micro Nodes (Width < 90px or Height < 80px) */
.todey-tm-micro {
    padding: 4px 6px;
}
.todey-tm-micro .todey-tm-dominance {
    font-size: 13px;
    letter-spacing: 0;
}
.todey-tm-micro .todey-tm-name {
    font-size: 10px;
}
.todey-tm-micro .todey-tm-symbol {
    display: none;
}
.todey-tm-micro .todey-tm-tier-badge {
    padding: 1px 3px;
    font-size: 7.5px;
}
.todey-tm-micro .todey-tm-type-text {
    display: none;
}
.todey-tm-micro .todey-tm-cards-count {
    font-size: 8px;
}

/* High Contrast Rules for Yellow/Light Cells (BNB Chain) */
.todey-tm-dark-text,
.todey-tm-bnb {
    color: #000000 !important;
}
.todey-tm-dark-text .todey-tm-name,
.todey-tm-bnb .todey-tm-name {
    color: #000000 !important;
    text-shadow: none !important;
}
.todey-tm-dark-text .todey-tm-symbol,
.todey-tm-bnb .todey-tm-symbol {
    color: #222222 !important;
}
.todey-tm-dark-text .todey-tm-tier-badge,
.todey-tm-bnb .todey-tm-tier-badge {
    background: rgba(0, 0, 0, 0.12) !important;
    color: #000000 !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}
.todey-tm-dark-text .todey-tm-dominance,
.todey-tm-bnb .todey-tm-dominance {
    color: #000000 !important;
    text-shadow: none !important;
}
.todey-tm-dark-text .todey-tm-type-text,
.todey-tm-bnb .todey-tm-type-text {
    color: #222222 !important;
}
.todey-tm-dark-text .todey-tm-footer,
.todey-tm-bnb .todey-tm-footer {
    border-top: none !important;
}
.todey-tm-dark-text .todey-tm-cards-count,
.todey-tm-bnb .todey-tm-cards-count {
    color: #222222 !important;
}
.todey-tm-dark-text .todey-tm-indicator,
.todey-tm-bnb .todey-tm-indicator {
    background: #000000 !important;
}

.todey-tm-tron .todey-tm-tier-badge,
.todey-tm-other .todey-tm-tier-badge {
    font-size: 7.5px;
    padding: 1.5px 3px;
}
.todey-tm-tron .todey-tm-dominance,
.todey-tm-other .todey-tm-dominance {
    font-size: 16px;
}
.todey-tm-tron .todey-tm-cards-count,
.todey-tm-other .todey-tm-cards-count {
    font-size: 8px;
}
.todey-tm-tron .todey-tm-indicator,
.todey-tm-other .todey-tm-indicator {
    width: 4px;
    height: 4px;
}
.todey-tm-tron .todey-tm-footer,
.todey-tm-other .todey-tm-footer {
    display: flex;
}

/* ==========================================================================
   VIEW 2: HISTORICAL TIME-SERIES STACKED BARS
   ========================================================================== */

.todey-bars-canvas-container {
    position: relative;
    width: 100%;
    height: 440px;
    padding: 20px 20px 40px 70px;
    background: #000000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.todey-bars-y-axis {
    position: absolute;
    left: 10px;
    top: 20px;
    bottom: 40px;
    width: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    z-index: 3;
}

.todey-y-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    color: #888888;
    text-align: right;
}

.todey-bars-gridlines {
    position: absolute;
    left: 70px;
    right: 20px;
    top: 20px;
    bottom: 40px;
    pointer-events: none;
    z-index: 1;
}

.todey-gridline {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #141414;
}

.todey-bars-svg {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: visible;
    shape-rendering: crispEdges;
}

.todey-bc-bar-column {
    transition: opacity 0.12s ease;
}

.todey-bc-bar-column.dimmed {
    opacity: 0.30;
}

.todey-bc-bar-column.active-col {
    opacity: 1;
}

.todey-bc-bar-seg {
    cursor: pointer;
    transition: filter 0.12s ease;
}

.todey-bc-bar-seg:hover {
    filter: brightness(1.2);
}

.todey-bc-bar-seg.dimmed {
    opacity: 0.15;
}

.todey-bc-bar-seg.highlighted {
    filter: brightness(1.35) drop-shadow(0 0 4px rgba(255, 68, 0, 0.5));
}

.todey-bars-x-axis {
    position: absolute;
    left: 70px;
    right: 20px;
    bottom: 12px;
    display: flex;
    justify-content: space-between;
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    color: #888888;
    pointer-events: none;
    z-index: 3;
}

/* ==========================================================================
   VIEW 3: CLUSTERED BUBBLE MATRIX (2D Minimalist Luxury Spread)
   ========================================================================== */

.todey-bubble-canvas-container {
    position: relative;
    width: 100%;
    height: 480px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.todey-bubble-svg {
    width: 100%;
    height: 100%;
    max-height: 480px;
    display: block;
}

.todey-bubble-node {
    cursor: pointer;
    transition: opacity 0.18s ease;
    will-change: opacity;
}

.todey-bubble-disc {
    transition: filter 0.2s ease, stroke-width 0.2s ease;
}

.todey-bubble-node:hover .todey-bubble-disc {
    stroke-width: 2.5px;
    filter: brightness(1.22);
}

.todey-bubble-node.dimmed {
    opacity: 0.16;
}

.todey-bubble-node.highlighted {
    opacity: 1;
}

.todey-bubble-node.highlighted .todey-bubble-disc {
    stroke-width: 3px;
    filter: brightness(1.30);
}

.todey-bubble-text-symbol {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    pointer-events: none;
    text-transform: uppercase;
    user-select: none;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.95);
}

.todey-bubble-text-pct {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    pointer-events: none;
    user-select: none;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.95);
}

/* ==========================================================================
   FLOATING MULTI-METRIC INSPECTION TOOLTIP
   ========================================================================== */

.todey-blockchain-tooltip {
    position: absolute;
    width: auto;
    min-width: 210px;
    max-width: 280px;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 12px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95);
    z-index: 100;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.todey-bc-tt-single-mode {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.todey-bc-tt-header {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #141414;
    padding-bottom: 8px;
}

.todey-bc-tt-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.todey-bc-tt-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.4px;
    flex: 1;
}

.todey-bc-tt-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.todey-bc-tt-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.todey-bc-tt-lbl {
    font-family: 'DM Sans', sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    color: #888888;
    line-height: 1.3;
}

.todey-bc-tt-val {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-align: right;
}

.todey-bc-tt-footer {
    font-family: 'DM Sans', sans-serif;
    font-size: 9.5px;
    color: #b3b3b3;
    border-top: 1px solid #141414;
    padding-top: 6px;
}

/* Multi-Chain Evolution Bars Hover Tooltip (Matching Reference UI) */
.todey-bc-tt-bars-mode {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.todey-bc-bars-tt-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.1px;
    margin-bottom: 2px;
    padding-bottom: 5px;
    border-bottom: 1px solid #141414;
}

.todey-bc-bars-tt-list {
    display: flex;
    flex-direction: column;
    gap: 3.5px;
}

.todey-bc-bars-tt-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
    color: #ffffff;
}

.todey-bc-bars-tt-swatch {
    width: 9px;
    height: 9px;
    min-width: 9px;
    border-radius: 0px;
    display: inline-block;
    flex-shrink: 0;
}

.todey-bc-bars-tt-name {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: #ffffff;
}

.todey-bc-bars-tt-pct {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: #ffffff;
    margin-left: 2px;
}

/* ==========================================================================
   RANKED DISTRIBUTION EQUALIZER RAIL
   ========================================================================== */

.todey-ranked-breakdown-section {
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#todey-blockchain-tab-container[data-active-view="bubble"] .todey-ranked-breakdown-section {
    display: none !important;
}

.todey-ranked-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid #141414;
    padding-bottom: 14px;
}

.todey-ranked-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}

.todey-ranked-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    color: #888888;
}

.todey-ranked-bars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 1200px) {
    .todey-ranked-bars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .todey-ranked-bars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .todey-ranked-bars-grid {
        grid-template-columns: 1fr;
    }
}

.todey-ranked-bar-card {
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    box-shadow: none !important;
    transition: opacity 0.15s ease;
}

.todey-ranked-bar-card:hover,
.todey-ranked-bar-card:focus,
.todey-ranked-bar-card.highlighted {
    background: #000000 !important;
    border-color: #141414 !important;
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.todey-ranked-bar-card.dimmed {
    opacity: 0.25;
}

.todey-ranked-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.todey-ranked-rank-name {
    display: flex;
    align-items: center;
    gap: 6px;
}

.todey-ranked-num {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #888888;
}

.todey-ranked-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.todey-ranked-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.todey-ranked-symbol {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #888888;
}

.todey-ranked-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.todey-ranked-pct {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.todey-ranked-vol {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #b3b3b3;
}

.todey-ranked-track {
    width: 100%;
    height: 4px;
    background: #0d0d0d;
    border: 1px solid #141414;
    border-radius: 0px;
    overflow: hidden;
}

.todey-ranked-fill {
    height: 100%;
    border-radius: 0px;
    transition: width 0.3s ease;
}

.todey-ranked-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    color: #888888;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS FOR BLOCKCHAIN TAB
   ========================================================================== */

@media (max-width: 960px) {
    .todey-treemap-canvas {
        height: 440px;
    }
    .todey-blockchain-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .todey-blockchain-visualizer-section,
    .todey-ranked-breakdown-section {
        padding: 16px 8px;
    }
    .todey-treemap-canvas {
        height: 420px;
    }
    .todey-bubble-canvas-container {
        height: 380px;
    }
    .todey-blockchain-canvas-wrap {
        min-height: 360px;
    }
    .todey-bars-canvas-container {
        padding: 15px 8px 35px 48px;
        height: 360px;
    }
    .todey-bars-y-axis {
        width: 38px;
        left: 4px;
    }
    .todey-bars-gridlines {
        left: 48px;
        right: 8px;
    }
    .todey-bars-x-axis {
        left: 48px;
        right: 8px;
        font-size: 9px;
    }
    .todey-ranked-bars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 540px) {
    .todey-ranked-bars-grid {
        grid-template-columns: 1fr;
    }
    #todey-blockchain-view-switcher {
        width: 100%;
        display: flex;
    }
    #todey-blockchain-view-switcher .todey-view-btn {
        flex: 1;
        justify-content: center;
        padding: 0 6px;
        font-size: 9px;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .todey-blockchain-visualizer-section,
    .todey-ranked-breakdown-section {
        padding: 12px 5px;
    }
    .todey-treemap-canvas {
        height: 380px;
    }
    .todey-treemap-box {
        padding: 5px 6px;
    }
    .todey-treemap-box.todey-tm-compact {
        padding: 4px 5px;
    }
    .todey-treemap-box.todey-tm-micro {
        padding: 2px 4px;
    }
    .todey-tm-name {
        font-size: 11px;
    }
    .todey-tm-dominance {
        font-size: 15px;
    }
    .todey-tm-ethereum .todey-tm-dominance {
        font-size: 22px;
    }
    .todey-tm-ethereum .todey-tm-name {
        font-size: 13px;
    }
    .todey-tm-compact .todey-tm-tier-badge,
    .todey-tm-micro .todey-tm-tier-badge {
        display: none !important;
    }
    .todey-tm-micro .todey-tm-cards-count {
        display: none !important;
    }
    .todey-bubble-canvas-container {
        height: 300px;
    }
    .todey-blockchain-canvas-wrap {
        min-height: 280px;
    }
    .todey-bars-canvas-container {
        height: 280px;
        padding: 10px 5px 28px 38px;
    }
    .todey-bars-y-axis {
        left: 2px;
        width: 32px;
        font-size: 8.5px;
    }
    .todey-bars-gridlines,
    .todey-bars-x-axis {
        left: 38px;
        right: 5px;
    }
    .todey-bars-x-axis {
        font-size: 8px;
        bottom: 8px;
    }
    .todey-ranked-bar-card {
        padding: 10px 8px;
    }
}

@media (max-width: 360px) {
    .todey-treemap-canvas {
        height: 350px;
    }
    .todey-tm-name {
        font-size: 9.5px;
    }
    .todey-tm-dominance {
        font-size: 13px;
    }
    .todey-tm-ethereum .todey-tm-dominance {
        font-size: 18px;
    }
    .todey-bars-canvas-container {
        height: 240px;
        padding: 8px 4px 25px 32px;
    }
    .todey-bars-y-axis {
        width: 28px;
        font-size: 7.5px;
    }
    .todey-bars-gridlines,
    .todey-bars-x-axis {
        left: 32px;
    }
}

/* ==========================================================================
   OVERVIEW TAB — Cards Listed vs. Cards Retired Lifecycle & Market Velocity
   ========================================================================== */

.todey-overview-tab-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.todey-overview-counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.todey-text-orange {
    color: var(--todey-accent-orange) !important;
}

.todey-text-red {
    color: var(--todey-accent-red) !important;
}

.todey-dom-alert {
    color: var(--todey-accent-red) !important;
    border-color: rgba(255, 0, 0, 0.28) !important;
    background-color: rgba(255, 0, 0, 0.08) !important;
}

/* Institutional Terminal Bento Card */
.todey-overview-chart-card {
    background-color: var(--todey-bg-card);
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.todey-overview-terminal-header {
    padding: 16px 18px 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.todey-terminal-badge-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.todey-terminal-live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--todey-accent-orange);
    border-radius: 0px;
    display: inline-block;
    box-shadow: 0 0 8px rgba(255, 68, 0, 0.6);
}

.todey-terminal-live-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--todey-accent-orange);
}

/* Overview Tab Conjoined View Mode Switcher */
.todey-overview-view-nav {
    display: inline-flex;
    align-items: center;
    height: 38px;
    background-color: #000000;
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.todey-overview-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    line-height: 36px;
    padding: 0 16px;
    background: #000000;
    border: none;
    border-right: 1px solid var(--todey-border-color);
    color: var(--todey-text-secondary);
    font-family: var(--todey-font-main, 'DM Sans', sans-serif);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 0px;
    outline: none;
    box-shadow: none;
    user-select: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.todey-overview-view-btn:last-child {
    border-right: none;
}

.todey-overview-view-btn:hover:not(.active) {
    background-color: var(--todey-accent-orange);
    color: #000000;
}

.todey-overview-view-btn.active {
    background-color: var(--todey-accent-orange) !important;
    color: #000000 !important;
    font-weight: 700;
}

/* Institutional Legend Strip (Minimalist Header) */
.todey-terminal-legend-strip {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 18px;
    background-color: #000000;
    border-top: 1px solid var(--todey-border-color);
    border-bottom: 1px solid var(--todey-border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
}

.todey-terminal-legend-strip::-webkit-scrollbar {
    display: none;
}

/* Institutional Telemetry Strip */
.todey-terminal-telemetry-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 18px;
    background-color: #000000;
    border-top: 1px solid var(--todey-border-color);
    border-bottom: 1px solid var(--todey-border-color);
    flex-wrap: wrap;
}

.todey-telemetry-metrics-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.todey-telemetry-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.todey-telemetry-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--todey-text-muted);
}

.todey-telemetry-val {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--todey-font-main);
    letter-spacing: 0.2px;
}

.todey-telemetry-divider {
    color: #222222;
    font-size: 10px;
    font-weight: 300;
}

.todey-telemetry-subval {
    font-size: 9.5px;
    font-weight: 600;
    color: #888888;
    margin-left: 3px;
    letter-spacing: 0.2px;
}

/* Series Legend Group (Aligned Right within Telemetry Row) */
.todey-overview-legend-group {
    margin-left: auto;
    background-color: #000000;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    white-space: nowrap !important;
    border: 1px solid var(--todey-border-color);
    padding: 6px 12px;
    box-sizing: border-box;
}

.todey-dot-ov-listed-tiers {
    background-color: #00f2fe;
    box-shadow: 0 0 6px rgba(0, 242, 254, 0.7);
}

.todey-dot-ov-listed {
    background-color: #38bdf8;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
}

.todey-dot-ov-active-tiers {
    background-color: #ffb703;
    box-shadow: 0 0 6px rgba(255, 183, 3, 0.7);
}

.todey-dot-ov-active {
    background-color: #ff4400;
    box-shadow: 0 0 6px rgba(255, 68, 0, 0.6);
}

.todey-dot-ov-retired-tiers {
    background-color: #ff3366;
    box-shadow: 0 0 6px rgba(255, 51, 102, 0.6);
}

.todey-dot-ov-retired {
    background-color: #ff0000;
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
}

.todey-text-cyan {
    color: #00f2fe !important;
    font-weight: 700;
}

.todey-text-azure {
    color: #38bdf8 !important;
    font-weight: 700;
}

.todey-text-amber {
    color: #ffb703 !important;
    font-weight: 700;
}

.todey-text-orange {
    color: #ff4400 !important;
    font-weight: 700;
}

.todey-text-coral {
    color: #ff3366 !important;
    font-weight: 700;
}

.todey-text-red {
    color: #ff0000 !important;
    font-weight: 700;
}

/* 6-Series SVG Styling & Glow Effects */
.todey-ov-line-listed-tiers {
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.65));
}

.todey-ov-line-listed {
    opacity: 0.65;
}

.todey-ov-line-active-tiers {
    filter: drop-shadow(0 0 7px rgba(255, 183, 3, 0.55));
}

.todey-ov-line-active {
    filter: drop-shadow(0 0 6px rgba(255, 68, 0, 0.5));
}

.todey-ov-line-retired-tiers {
    filter: drop-shadow(0 0 7px rgba(255, 51, 102, 0.6));
}

.todey-ov-line-retired {
    filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.6));
}

/* Terminal Canvas Stage with Embedded Y/X Axes */
.todey-terminal-canvas-stage {
    position: relative;
    width: 100%;
    height: 360px;
    min-height: 360px;
    display: flex;
    align-items: stretch;
    background-color: #000000;
}

.todey-terminal-y-axis {
    width: 55px;
    min-width: 55px;
    height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 10px 38px 12px;
    border-right: 1px solid var(--todey-border-color);
    background-color: #000000;
    z-index: 5;
    user-select: none;
    text-align: right;
    box-sizing: border-box;
}

.todey-terminal-y-axis .todey-y-tick {
    font-size: 9.5px;
    font-weight: 700;
    color: #777777;
    font-family: var(--todey-font-mono, monospace);
    line-height: 1;
    letter-spacing: 0.3px;
}

.todey-terminal-y-axis.is-velocity-view {
    display: block;
    position: relative;
}

.todey-terminal-y-axis.is-velocity-view .todey-y-tick {
    position: absolute;
    right: 10px;
    transform: translateY(-50%);
    white-space: nowrap;
}

.todey-terminal-y-axis.is-velocity-view #todey-ov-y-5 {
    top: 5.56%;
}

.todey-terminal-y-axis.is-velocity-view #todey-ov-y-4 {
    top: 34.72%;
}

.todey-terminal-y-axis.is-velocity-view #todey-ov-y-3 {
    top: 63.89%;
}

.todey-terminal-y-axis.is-velocity-view #todey-ov-y-2 {
    top: 76.39%;
}

.todey-terminal-y-axis.is-velocity-view #todey-ov-y-1 {
    top: 88.89%;
}

.todey-overview-chart-viewport {
    flex: 1;
    position: relative;
    height: 360px;
    min-height: 360px;
    background-color: #000000;
    overflow: hidden;
}

.todey-overview-chart-viewport .todey-streamgraph-watermark {
    top: 45%;
    left: 50%;
    transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.todey-overview-chart-viewport.is-velocity-view .todey-streamgraph-watermark {
    top: 34%;
    left: 50%;
}

.todey-overview-chart-viewport svg {
    width: 100%;
    height: 360px;
    min-height: 360px;
    display: block;
}

/* Bidirectional Diverging Flow Bars */
.todey-ov-bar-col {
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
    cursor: crosshair;
}

.todey-ov-bar-col.dimmed {
    opacity: 0.22 !important;
}

.todey-ov-bar-col.active {
    opacity: 1.0 !important;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
}

.todey-ov-bar-core-listed,
.todey-ov-bar-tier-listed,
.todey-ov-bar-core-retired,
.todey-ov-bar-tier-retired {
    shape-rendering: geometricPrecision;
}

.todey-ov-datum-zero {
    stroke: #222222;
    stroke-width: 1.5px;
    stroke-dasharray: 4 4;
    pointer-events: none;
}

/* Bottom X-Axis Scale Row */
.todey-terminal-x-axis {
    height: 28px;
    position: relative;
    margin-left: 55px;
    border-top: 1px solid var(--todey-border-color);
    border-bottom: 1px solid var(--todey-border-color);
    background-color: #000000;
    user-select: none;
}

.todey-terminal-x-axis .todey-x-tick {
    position: absolute;
    top: 7px;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 700;
    color: #777777;
    font-family: var(--todey-font-mono, monospace);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.todey-terminal-x-axis .todey-x-tick.is-first {
    left: 12px !important;
    right: auto !important;
    transform: translateX(0) !important;
}

.todey-terminal-x-axis .todey-x-tick.is-last {
    left: auto !important;
    right: 12px !important;
    transform: translateX(0) !important;
}

/* Bottom X-Axis Dynamic Date Cursor Pin */
.todey-axis-cursor-pin {
    position: absolute;
    bottom: 6px;
    transform: translateX(-50%);
    background-color: var(--todey-accent-orange);
    color: #000000;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 0px;
    pointer-events: none;
    z-index: 40;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Floating Dark Tooltip */
.todey-overview-tooltip {
    position: absolute;
    z-index: 50;
    background-color: #000000;
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
    padding: 12px 14px;
    pointer-events: none;
    min-width: 190px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
}

.todey-overview-tooltip .todey-tooltip-date {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--todey-border-color);
}

.todey-overview-tooltip .todey-tooltip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 4px;
}

.todey-overview-tooltip .todey-tt-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--todey-text-muted);
}

.todey-overview-tooltip .todey-tt-dot {
    width: 6px;
    height: 6px;
    border-radius: 0px;
    display: inline-block;
}

.todey-overview-tooltip .todey-tt-val {
    font-weight: 700;
    color: #ffffff;
    font-family: var(--todey-font-main);
}

.todey-overview-tooltip .todey-tt-footer {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--todey-border-color);
}



/* Secondary 2-Column Bento Grid */
.todey-overview-secondary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    align-items: stretch;
}

/* Overview Health Card & Secondary Bento Cards */
.todey-overview-health-card,
.todey-overview-secondary-grid .todey-analytics-card {
    background-color: var(--todey-bg-card, #000000);
    border: 1px solid var(--todey-border-color, #141414);
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.todey-overview-health-card .todey-analytics-card-header,
.todey-overview-secondary-grid .todey-analytics-card-header {
    padding: 16px 18px 12px 18px;
    border-bottom: 1px solid var(--todey-border-color, #141414);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.todey-overview-health-card .todey-analytics-tag,
.todey-overview-secondary-grid .todey-analytics-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--todey-accent-orange, #ff4400);
}

.todey-analytics-title,
.todey-overview-health-card .todey-analytics-title,
.todey-overview-secondary-grid .todey-analytics-title {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 0;
}

.todey-overview-health-card .todey-analytics-card-body,
.todey-overview-secondary-grid .todey-analytics-card-body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.todey-overview-health-card .todey-analytics-card-footer,
.todey-overview-secondary-grid .todey-analytics-card-footer {
    padding: 12px 18px;
    border-top: 1px solid var(--todey-border-color, #141414);
    margin-top: auto;
    font-size: 10.5px;
    color: var(--todey-text-muted, #777777);
}

/* Listing Cohort Rows */
.todey-cohort-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.todey-cohort-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background-color: #000000;
    border: 1px solid var(--todey-border-color);
    border-radius: 0px;
}

.todey-cohort-row:hover {
    background-color: var(--todey-bg-hover);
}

.todey-cohort-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.todey-cohort-year {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.todey-cohort-stats {
    font-size: 10.5px;
    color: var(--todey-text-muted);
}

.todey-cohort-rate {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.todey-cohort-pct {
    font-size: 13px;
    font-weight: 800;
    color: var(--todey-accent-orange);
}

.todey-cohort-tag {
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--todey-text-muted);
    letter-spacing: 0.5px;
}

/* Survival Metrics Grid */
.todey-survival-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.todey-overview-health-card {
    width: 100%;
}

.todey-survival-5col-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    width: 100%;
}

.todey-survival-item {
    background-color: #000000;
    border: 1px solid var(--todey-border-color, #141414);
    border-radius: 0px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.todey-survival-label {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--todey-text-muted, #777777);
}

.todey-survival-val {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1.1;
}

.todey-survival-sub {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--todey-text-muted, #888888);
    line-height: 1.35;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .todey-survival-5col-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .todey-overview-counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .todey-overview-secondary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .todey-overview-counters-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .todey-overview-terminal-header {
        padding: 14px 10px 12px 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .todey-overview-terminal-header .todey-streamgraph-controls {
        width: 100%;
    }
    .todey-terminal-legend-strip {
        padding: 8px 10px;
        overflow: visible;
        scrollbar-width: none;
        justify-content: flex-start;
        box-sizing: border-box;
    }
    .todey-terminal-legend-strip::-webkit-scrollbar {
        display: none;
    }
    .todey-overview-legend-group {
        width: 100%;
        min-width: 0;
        gap: 8px 12px;
        flex-wrap: wrap;
        white-space: normal;
        margin-left: 0;
        padding: 5px 8px;
    }
    .todey-terminal-legend-strip .todey-legend-item {
        white-space: nowrap !important;
        flex-shrink: 0;
        gap: 5px;
    }
    .todey-terminal-legend-strip .todey-legend-name {
        white-space: nowrap !important;
        font-size: 9.5px;
    }
    .todey-terminal-y-axis {
        width: 42px;
        min-width: 42px;
        padding-left: 5px;
        padding-right: 5px;
        height: 300px;
    }
    .todey-terminal-y-axis.is-velocity-view .todey-y-tick {
        right: 5px;
    }
    .todey-terminal-x-axis {
        margin-left: 42px;
    }
    .todey-terminal-x-axis .todey-x-tick.is-first {
        left: 8px !important;
    }
    .todey-terminal-x-axis .todey-x-tick.is-last {
        right: 8px !important;
    }
    .todey-overview-chart-viewport {
        height: 300px;
        min-height: 300px;
    }
    .todey-overview-chart-viewport .todey-streamgraph-watermark,
    .todey-overview-chart-viewport.is-velocity-view .todey-streamgraph-watermark {
        top: 45%;
        left: 50%;
    }
    .todey-terminal-canvas-stage {
        height: 300px;
        min-height: 300px;
    }
    .todey-overview-chart-viewport svg {
        height: 300px;
        min-height: 300px;
    }
    .todey-overview-secondary-grid .todey-analytics-card-header,
    .todey-overview-secondary-grid .todey-analytics-card-body,
    .todey-overview-secondary-grid .todey-analytics-card-footer,
    .todey-overview-health-card .todey-analytics-card-header,
    .todey-overview-health-card .todey-analytics-card-body,
    .todey-overview-health-card .todey-analytics-card-footer {
        padding-left: 10px;
        padding-right: 10px;
    }
    .todey-survival-metrics-grid {
        grid-template-columns: 1fr;
    }
    .todey-survival-5col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .todey-survival-item {
        padding: 12px 10px;
    }
    .todey-overview-tooltip {
        padding: 9px 10px;
        min-width: 150px;
        max-width: calc(100% - 16px);
    }
    .todey-overview-tooltip .todey-tooltip-date {
        font-size: 10px;
        margin-bottom: 5px;
        padding-bottom: 4px;
    }
    .todey-overview-tooltip .todey-tooltip-row {
        font-size: 10px;
        margin-bottom: 3px;
    }
    .todey-overview-tooltip .todey-tt-footer {
        margin-top: 5px;
        padding-top: 4px;
    }
}

@media (max-width: 480px) {
    .todey-overview-tab-wrap {
        gap: 12px;
    }
    .todey-overview-terminal-header {
        padding: 12px 5px 10px 5px;
    }
    .todey-overview-view-nav {
        width: 100%;
        display: flex;
    }
    .todey-overview-view-btn {
        flex: 1;
        text-align: center;
        padding: 0 6px;
        font-size: 9.5px;
        letter-spacing: 0.3px;
        justify-content: center;
    }
    .todey-terminal-legend-strip {
        padding: 6px 5px;
        overflow: visible;
        justify-content: flex-start;
    }
    .todey-overview-legend-group {
        width: 100%;
        min-width: 0;
        gap: 6px 10px;
        flex-wrap: wrap;
        white-space: normal;
        margin-left: 0;
        padding: 4px 6px;
    }
    .todey-terminal-legend-strip .todey-legend-item {
        white-space: nowrap !important;
        flex-shrink: 0;
        gap: 4px;
    }
    .todey-terminal-legend-strip .todey-legend-name {
        white-space: nowrap !important;
        font-size: 9px;
        letter-spacing: 0.2px;
    }
    .todey-terminal-y-axis {
        width: 34px;
        min-width: 34px;
        padding-left: 2px;
        padding-right: 3px;
        height: 250px;
    }
    .todey-terminal-y-axis.is-velocity-view .todey-y-tick {
        right: 3px;
    }
    .todey-terminal-y-axis .todey-y-tick {
        font-size: 8.5px;
    }
    .todey-terminal-x-axis {
        margin-left: 34px;
        height: 24px;
    }
    .todey-terminal-x-axis .todey-x-tick {
        font-size: 8px;
        top: 5px;
    }
    .todey-terminal-x-axis .todey-x-tick.is-first {
        left: 6px !important;
    }
    .todey-terminal-x-axis .todey-x-tick.is-last {
        right: 6px !important;
    }
    .todey-overview-chart-viewport {
        height: 250px;
        min-height: 250px;
    }
    .todey-terminal-canvas-stage {
        height: 250px;
        min-height: 250px;
    }
    .todey-overview-chart-viewport svg {
        height: 250px;
        min-height: 250px;
    }
    .todey-overview-secondary-grid .todey-analytics-card-header,
    .todey-overview-secondary-grid .todey-analytics-card-body,
    .todey-overview-secondary-grid .todey-analytics-card-footer,
    .todey-overview-health-card .todey-analytics-card-header,
    .todey-overview-health-card .todey-analytics-card-body,
    .todey-overview-health-card .todey-analytics-card-footer {
        padding-left: 5px;
        padding-right: 5px;
    }
    .todey-survival-5col-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .todey-survival-item {
        padding: 10px 8px;
    }
    .todey-survival-val {
        font-size: 18px;
    }
    .todey-survival-label {
        font-size: 9px;
    }
    .todey-survival-sub {
        font-size: 10px;
    }
    .todey-overview-tooltip {
        padding: 7px 8px;
        min-width: 140px;
    }
    .todey-overview-tooltip .todey-tooltip-date {
        font-size: 9.5px;
        margin-bottom: 4px;
        padding-bottom: 3px;
    }
    .todey-overview-tooltip .todey-tooltip-row {
        font-size: 9.5px;
        margin-bottom: 2px;
    }
    .todey-overview-tooltip .todey-tt-footer {
        margin-top: 4px;
        padding-top: 3px;
    }
}

@media (max-width: 360px) {
    .todey-terminal-y-axis {
        width: 30px;
        min-width: 30px;
        padding-left: 1px;
        padding-right: 2px;
        height: 220px;
    }
    .todey-terminal-y-axis.is-velocity-view .todey-y-tick {
        right: 2px;
    }
    .todey-terminal-y-axis .todey-y-tick {
        font-size: 7.5px;
    }
    .todey-terminal-x-axis {
        margin-left: 30px;
    }
    .todey-terminal-x-axis .todey-x-tick.is-first {
        left: 4px !important;
    }
    .todey-terminal-x-axis .todey-x-tick.is-last {
        right: 4px !important;
    }
    .todey-overview-chart-viewport {
        height: 220px;
        min-height: 220px;
    }
    .todey-terminal-canvas-stage {
        height: 220px;
        min-height: 220px;
    }
    .todey-overview-chart-viewport svg {
        height: 220px;
        min-height: 220px;
    }
}

