.property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .unit-note {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .coord-input {
            margin-bottom: 0.5rem;
        }
        .trading-canvas {
            width: 100%;
            height: auto;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-top: 1.5rem;
            display: block;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1rem;
            position: relative;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 0.5rem 0;
            font-size: 0.9rem;
            flex-wrap: wrap;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 50%;
        }
        .legend-color.green {
            background-color: #28a745;
        }
        .legend-color.red {
            background-color: #dc3545;
        }
        .legend-color.blue {
            background-color: #0d6efd;
        }
        .legend-color.gray {
            background-color: #6c757d;
        }
        .trade-panel {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1.2rem;
            margin-bottom: 1.2rem;
            border: 1px solid #e9ecef;
        }
        .trade-panel .form-control,
        .trade-panel .form-select {
            background: #fff;
        }
        .portfolio-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 0.8rem;
            margin-bottom: 1.2rem;
        }
        .stat-card {
            background: #fff;
            border-radius: 8px;
            padding: 0.8rem 1rem;
            border: 1px solid #e9ecef;
            text-align: center;
        }
        .stat-card .stat-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            color: #6c757d;
            letter-spacing: 0.5px;
        }
        .stat-card .stat-value {
            font-size: 1.4rem;
            font-weight: 700;
            margin-top: 0.2rem;
        }
        .stat-card .stat-value.positive {
            color: #28a745;
        }
        .stat-card .stat-value.negative {
            color: #dc3545;
        }
        .stat-card .stat-value.neutral {
            color: #6c757d;
        }
        .trade-history {
            max-height: 240px;
            overflow-y: auto;
            font-size: 0.9rem;
        }
        .trade-history table {
            margin-bottom: 0;
        }
        .trade-history th {
            position: sticky;
            top: 0;
            background: #fff;
            z-index: 2;
            border-bottom: 2px solid #dee2e6;
        }
        .trade-history td {
            padding: 0.3rem 0.5rem;
        }
        .badge-profit {
            background-color: #28a745;
            color: #fff;
        }
        .badge-loss {
            background-color: #dc3545;
            color: #fff;
        }
        .badge-neutral {
            background-color: #6c757d;
            color: #fff;
        }
        .btn-trade {
            min-width: 80px;
        }
        .symbol-badge {
            font-weight: 600;
            background: #e9ecef;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.85rem;
        }
        .position-row {
            border-bottom: 1px solid #f1f3f5;
            padding: 0.4rem 0;
        }
        .position-row:last-child {
            border-bottom: none;
        }
        .empty-state {
            color: #6c757d;
            font-style: italic;
            padding: 1rem 0;
            text-align: center;
        }
        .ticker-selector {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 0.8rem;
        }
        .ticker-btn {
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            border: 1px solid #dee2e6;
            background: #fff;
            font-weight: 500;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .ticker-btn:hover {
            background: #e9ecef;
        }
        .ticker-btn.active {
            background: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
        }
        .price-ticker {
            font-size: 1.8rem;
            font-weight: 700;
            margin: 0.3rem 0;
        }
        .price-change {
            font-size: 1rem;
            font-weight: 600;
        }
        .price-change.positive {
            color: #28a745;
        }
        .price-change.negative {
            color: #dc3545;
        }
        #chartCrosshair {
            position: absolute;
            pointer-events: none;
            display: none;
            background: rgba(0,0,0,0.7);
            color: #fff;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-family: monospace;
        }
        .canvas-wrapper {
            position: relative;
            display: inline-block;
            width: 100%;
        }