/* Stoxly.io - Detailed Calculators Custom Styling Sheet */

/* ==========================================
   1. Detailed View & Split Pane Layouts
   ========================================== */
.calculator-detail-container {
    max-inline-size: 1200px;
    margin-inline: auto;
    padding-block: 1rem 3rem;
}

.calc-split-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3.5rem; /* Increased spacing to give tooltip balloons breathing room */
    align-items: start;
}

/* ==========================================
   2. Left Sidebar Control Panel (Inputs)
   ========================================== */
.calc-control-panel {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    position: relative;
    overflow: visible;
    z-index: 2; /* baseline stacking layer */
    transition: z-index 0.1s;
}

.calc-control-panel:hover,
.calc-control-panel:focus-within {
    z-index: 100; /* Float entire control panel above results dashboard siblings on hover */
}

.calc-control-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    position: relative;
    z-index: 1;
}

.input-group:hover {
    z-index: 50; /* stack hovered tooltips above other inputs */
}

.label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure full width expansion for tooltips alignment */
}

.input-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.info-tooltip-trigger {
    position: relative;
    color: var(--text-inactive);
    font-size: 0.82rem;
    cursor: pointer;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    text-transform: none;
}

.info-tooltip-trigger:hover {
    color: var(--color-orange);
}

/* Premium Custom Hover Tooltip Balloon */
.info-tooltip-trigger::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(10, 8, 16, 0.98);
    border: 1px solid var(--border-glass-focus);
    color: var(--text-primary);
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
    inline-size: 220px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    text-align: center;
}

/* Tooltip Balloon Indicator Arrow */
.info-tooltip-trigger::before {
    content: '';
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    border-width: 6px;
    border-style: solid;
    border-color: var(--border-glass-focus) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.info-tooltip-trigger:hover::after,
.info-tooltip-trigger:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Numeric input override */
.input-numeric-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-currency-symbol {
    position: absolute;
    inset-inline-start: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
}

.input-suffix {
    position: absolute;
    inset-inline-end: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
}

.input-number-control {
    inline-size: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass-focus);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-number-control:focus {
    border-color: rgba(239, 125, 56, 0.4);
    box-shadow: 0 0 0 3px rgba(239, 125, 56, 0.15);
}

/* Premium Dropdown Select Inputs */
.input-select-control {
    inline-size: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass-focus);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a98a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-inline-end: 2.5rem;
}

.input-select-control:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.input-select-control:focus {
    border-color: rgba(239, 125, 56, 0.4);
    box-shadow: 0 0 0 3px rgba(239, 125, 56, 0.15);
}

.input-select-control option {
    background-color: var(--bg-dark-surface, #0e0d14);
    color: var(--text-white);
    padding: 0.5rem;
}

.has-currency {
    padding-inline-start: 2rem;
}

.has-suffix {
    padding-inline-end: 2.2rem;
}

/* Premium Custom Range Sliders */
.input-slider-control {
    -webkit-appearance: none;
    appearance: none;
    inline-size: 100%;
    background: rgba(255, 255, 255, 0.05);
    block-size: 5px;
    border-radius: 100px;
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
}

.input-slider-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    inline-size: 16px;
    block-size: 16px;
    border-radius: 50%;
    background: var(--gradient-yellow);
    box-shadow: 0 0 10px rgba(239, 125, 56, 0.5);
    border: none;
    transition: transform 0.1s, box-shadow 0.1s;
}

.input-slider-control::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 14px rgba(239, 125, 56, 0.7);
}

/* Toggle Switch Styling */
.input-toggle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1rem;
    margin-block-start: 0.5rem;
    position: relative;
    z-index: 1;
}

.input-toggle-wrapper > div:first-child {
    flex: 1;
    min-width: 0;
    width: 100%;
    overflow: visible;
    margin-inline-end: 1rem; /* spacing between text column and toggle switch */
}

/* Push tooltip icon to the far-right edge of the label row inside toggle cards */
.input-toggle-wrapper .label-wrapper .input-label {
    flex: 1;
}

.input-toggle-wrapper .label-wrapper .info-tooltip-trigger {
    margin-inline-start: auto;
    flex-shrink: 0;
}

.input-toggle-wrapper:hover {
    z-index: 50; /* stack hovered tooltips above other inputs */
}

.toggle-switch-container {
    position: relative;
    display: inline-block;
    inline-size: 46px;
    block-size: 24px;
}

.toggle-switch-container input {
    opacity: 0;
    inline-size: 0;
    block-size: 0;
}

.slider-switch {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.08);
    transition: .3s;
    border-radius: 24px;
    border: 1px solid var(--border-glass-focus);
}

.slider-switch:before {
    position: absolute;
    content: "";
    block-size: 16px;
    inline-size: 16px;
    inset-inline-start: 3px;
    inset-block-end: 3px;
    background-color: var(--text-muted);
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider-switch {
    background: var(--gradient-magenta);
    border-color: transparent;
}

input:checked + .slider-switch:before {
    transform: translateX(22px);
    background-color: var(--text-white);
}

/* ==========================================
   3. Right Output Dashboard Panel
   ========================================== */
.calc-results-dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Highlight Key Metrics Cards */
.results-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.highlight-metric-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.metric-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.metric-value {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

/* Custom visual coloring for accents */
.accent-total-value { background: linear-gradient(135deg, #FFF 0%, #AAA 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.accent-passive-income { background: var(--gradient-magenta); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.accent-compound-return { background: var(--gradient-yellow); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.metric-meta {
    font-size: 0.72rem;
    color: var(--text-inactive);
}

/* ==========================================
   4. High-Performance SVG Chart Layout
   ========================================== */
.chart-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-title {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.chart-legend {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.legend-color-dot {
    inline-size: 10px;
    block-size: 10px;
    border-radius: 50%;
}

.dot-total { background-color: var(--text-white); box-shadow: 0 0 5px rgba(255,255,255,0.4); }
.dot-principal { background-color: var(--color-orange); box-shadow: 0 0 5px rgba(249,115,22,0.4); }
.dot-passive { background-color: var(--color-magenta); box-shadow: 0 0 5px rgba(236,72,153,0.4); }

/* Interactive SVG Canvas Area */
.svg-canvas-wrapper {
    position: relative;
    inline-size: 100%;
    block-size: 320px;
}

.chart-svg-element {
    inline-size: 100%;
    block-size: 100%;
    overflow: visible;
}

/* SVG Line Paths */
.svg-path-gridline {
    stroke: rgba(255, 255, 255, 0.04);
    stroke-width: 1px;
}

.svg-axis-label {
    fill: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.svg-path-line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: d 0.25s ease-in-out;
}

.line-total {
    stroke: var(--text-white);
    stroke-width: 3.5px;
    filter: drop-shadow(0px 4px 10px rgba(255, 255, 255, 0.15));
}

.line-principal {
    stroke: var(--color-orange);
    stroke-width: 2.5px;
    stroke-dasharray: 4 2;
}

.line-passive {
    stroke: var(--color-magenta);
    stroke-width: 3px;
    filter: drop-shadow(0px 3px 6px rgba(236, 72, 153, 0.25));
}

.line-real {
    stroke: var(--color-gold);
    stroke-width: 3px;
    filter: drop-shadow(0px 3px 6px rgba(249, 184, 47, 0.25));
}

/* Active Hover Vertical Guide Rule */
.svg-hover-guide {
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1px;
    stroke-dasharray: 4 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s, x 0.15s ease-out;
}

.svg-hover-marker {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s, cx 0.15s ease-out, cy 0.15s ease-out;
}

.marker-total { fill: var(--text-white); stroke: var(--bg-dark-deep); stroke-width: 2px; }
.marker-principal { fill: var(--color-orange); stroke: var(--bg-dark-deep); stroke-width: 2px; }
.marker-passive { fill: var(--color-magenta); stroke: var(--bg-dark-deep); stroke-width: 2px; }
.marker-real { fill: var(--color-gold); stroke: var(--bg-dark-deep); stroke-width: 2px; }

/* Dynamic Floating HTML Tooltip overlay */
.svg-chart-tooltip {
    position: absolute;
    background: rgba(10, 8, 16, 0.95);
    border: 1px solid var(--border-glass-focus);
    border-radius: 12px;
    padding: 0.9rem;
    font-size: 0.78rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    transition: opacity 0.15s, transform 0.15s ease-out;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    pointer-events: none;
}

.tooltip-year-title {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--text-white);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 0.25rem;
    margin-bottom: 0.25rem;
}

.tooltip-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.tooltip-val {
    font-weight: 700;
}

.tooltip-val-total { color: var(--text-white); }
.tooltip-val-principal { color: var(--color-orange); }
.tooltip-val-passive { color: var(--color-magenta); }

/* ==========================================
   5. Year-by-Year Collapsible Amortization Table
   ========================================== */
.table-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.table-collapse-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 700;
    inline-size: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
    transition: background 0.25s;
}

.table-collapse-trigger:hover {
    background: rgba(255, 255, 255, 0.015);
}

.table-collapse-trigger i {
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.table-collapse-trigger.expanded i {
    transform: rotate(180deg);
}

.table-collapse-body {
    max-block-size: 0;
    overflow: hidden;
    transition: max-block-size 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.table-collapse-body.expanded {
    max-block-size: 500px;
    overflow-y: auto;
}

.table-wrapper {
    padding: 0 2rem 2rem 2rem;
}

.forecaster-table {
    inline-size: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: right;
}

.forecaster-table th {
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border-glass-focus);
}

.forecaster-table td {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-weight: 500;
}

.forecaster-table th:first-child,
.forecaster-table td:first-child {
    text-align: left;
}

.forecaster-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

/* ==========================================
   6. Responsiveness Layouts
   ========================================== */
@media (max-inline-size: 968px) {
    .calc-split-layout {
        grid-template-columns: 1fr;
    }
    
    .calc-control-panel {
        position: sticky;
        inset-block-start: 90px; /* keep accessible while scrolling results on mobile/tablet */
        z-index: 10;
    }
}

@media (max-inline-size: 576px) {
    .calc-control-panel {
        position: static;
        padding: 1.5rem;
    }
    
    .chart-card {
        padding: 1.25rem;
    }
    
    .svg-canvas-wrapper {
        block-size: 240px;
    }
    
    .table-wrapper {
        padding: 0 1rem 1rem 1rem;
    }
    
    .table-collapse-trigger {
        padding: 1.25rem;
    }
}

/* ==========================================
   7. FIRE Calculator Specific Styles
   ========================================== */

/* FIRE Type Selector Group */
.fire-type-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.fire-type-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 0.65rem 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s ease;
    outline: none;
}

.fire-type-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-glass-focus);
}

.fire-type-btn.active {
    color: var(--text-white);
    background: linear-gradient(135deg, rgba(239, 125, 56, 0.15) 0%, rgba(249, 184, 47, 0.1) 100%);
    border-color: rgba(239, 125, 56, 0.4);
    box-shadow: 0 0 12px rgba(239, 125, 56, 0.15);
}

/* FIRE Milestone Banner */
.fire-milestone-banner {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    overflow: clip;
}

.fire-milestone-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(239, 125, 56, 0.2) 0%, rgba(249, 184, 47, 0.1) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.fire-icon-circle {
    inline-size: 72px;
    block-size: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(239, 125, 56, 0.12) 0%, rgba(249, 184, 47, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-orange);
    box-shadow: 0 4px 24px rgba(239, 125, 56, 0.15);
}

.fire-age-headline {
    font-family: var(--font-headings);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
}

.fire-age-number {
    background: var(--gradient-yellow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fire-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-inline-size: 500px;
}

/* FIRE Progress Bar */
.fire-progress-section {
    inline-size: 100%;
    max-inline-size: 500px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fire-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.fire-progress-track {
    inline-size: 100%;
    block-size: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: clip;
    position: relative;
}

.fire-progress-fill {
    block-size: 100%;
    background: var(--gradient-logo);
    border-radius: 100px;
    transition: inline-size 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(239, 125, 56, 0.3);
}

/* Chart FIRE Target Line */
.line-fire-target {
    stroke: var(--color-success);
    stroke-width: 2px;
    stroke-dasharray: 8 6;
    filter: drop-shadow(0px 2px 6px rgba(16, 185, 129, 0.3));
}

.line-coast-target {
    stroke: var(--color-violet);
    stroke-width: 1.5px;
    stroke-dasharray: 5 5;
}

.line-net-worth {
    stroke: var(--text-white);
    stroke-width: 3.5px;
    filter: drop-shadow(0px 4px 10px rgba(255, 255, 255, 0.15));
}

.line-contributions {
    stroke: var(--color-orange);
    stroke-width: 2.5px;
    stroke-dasharray: 4 2;
}

/* SVG Annotation Labels */
.svg-label-fire {
    fill: var(--color-success);
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.svg-label-coast {
    fill: var(--color-violet);
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
}

/* FIRE dot legend additions */
.dot-net-worth { background-color: var(--text-white); box-shadow: 0 0 5px rgba(255,255,255,0.4); }
.dot-contributions { background-color: var(--color-orange); box-shadow: 0 0 5px rgba(249,115,22,0.4); }
.dot-fire-target { background-color: var(--color-success); box-shadow: none; border: 2px dashed var(--color-success); background: transparent; }
.dot-coast { background-color: var(--color-violet); box-shadow: 0 0 5px rgba(142,45,226,0.4); }

.marker-net-worth { fill: var(--text-white); stroke: var(--bg-dark-deep); stroke-width: 2px; }
.marker-contributions { fill: var(--color-orange); stroke: var(--bg-dark-deep); stroke-width: 2px; }

/* FIRE accent colors for metric cards */
.accent-fire-age { background: var(--gradient-yellow); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.accent-fire-number { background: var(--gradient-orange); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.accent-savings-rate { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.accent-coast-fire { background: linear-gradient(135deg, #8e2de2 0%, #a855f7 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* FIRE Milestone Marker on Chart */
.fire-marker-group {
    pointer-events: none;
}

.fire-marker-diamond {
    fill: var(--color-success);
    filter: drop-shadow(0px 2px 6px rgba(16, 185, 129, 0.5));
}

.tooltip-val-fire { color: var(--color-success); }

