.stock-chart-card {
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        border: none;
        margin-bottom: 30px;
        background: #fff;
        padding: 20px;
    }
    .chart-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-bottom: 16px;
        text-align: center;
    }
    .chart-subtitle {
        font-size: 13px;
        color: #888;
        text-align: center;
        margin-top: -12px;
        margin-bottom: 12px;
    }
    .right-placeholder {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        text-align: center;
    }
    .empty-state {
        text-align: center;
        padding: 60px 20px;
        color: #999;
    }
    .empty-state svg {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
        opacity: 0.5;
    }
    .empty-state p {
        font-size: 15px;
    }
    .metric-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }
    .metric-table th {
        background: #f9f0ff;
        padding: 12px 8px;
        text-align: center;
        font-weight: 600;
        color: #722ed1;
        border-bottom: 2px solid #e0e0e0;
    }
    .metric-table td {
        padding: 10px 8px;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    .metric-table tr:hover td {
        background: #f8fafc;
    }
    .metric-label {
        text-align: left !important;
        font-weight: 500;
        color: #555;
    }
    .modal-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.45);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }
    .modal-overlay.active { display: flex; }
    .modal-box {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        max-width: 420px;
        width: 90%;
        padding: 28px 28px 22px;
        text-align: center;
    }
    .modal-title {
        font-size: 17px;
        font-weight: 700;
        color: #2d3436;
        margin-bottom: 12px;
    }
    .modal-body {
        font-size: 14px;
        color: #555;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    .modal-btn {
        padding: 8px 28px;
        background: #4e83fd;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        cursor: pointer;
        font-weight: 500;
    }
    .modal-btn:hover { background: #3a6fd6; }
    .compare-actions-bar {
        display: flex;
        gap: 10px;
        margin-bottom: 16px;
        flex-wrap: wrap;
        align-items: center;
    }
    .compare-mode {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }
    .compare-btn-inline {
        padding: 8px 18px;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        font-size: 13px;
        color: #4e83fd;
        cursor: pointer;
        font-weight: 500;
        transition: all 0.2s;
    }
    .compare-btn-inline:hover {
        background: #f5f7ff;
        border-color: #4e83fd;
    }
    .compare-btn-inline.active {
        background: #4e83fd;
        color: #fff;
        border-color: #4e83fd;
    }
    .compare-input-inline {
        width: 160px;
        padding: 7px 10px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        font-size: 13px;
        outline: none;
    }
    .compare-input-inline:focus {
        border-color: #4e83fd;
    }
    .compare-confirm-btn {
        padding: 8px 18px;
        background: #ff5151;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 13px;
        cursor: pointer;
        font-weight: 500;
        transition: background 0.2s;
    }
    .compare-confirm-btn:hover {
        background: #e64a0e;
    }
    .compare-tag-inline {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px 10px;
        background: #eef2ff;
        border-radius: 5px;
        font-size: 12px;
        color: #4e83fd;
        font-weight: 500;
    }
    .compare-tag-inline .tag-remove {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: rgba(78,131,253,0.15);
        color: #4e83fd;
        font-size: 10px;
        line-height: 1;
        cursor: pointer;
        margin-left: 2px;
    }
    .compare-tag-inline .tag-remove:hover {
        background: #ff5151;
        color: #fff;
    }
    .suggest-box-inline {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 4px;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 1000;
        max-height: 200px;
        overflow-y: auto;
        display: none;
        font-size: 13px;
    }
    .suggest-box-inline .suggest-item {
        padding: 8px 12px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f5f5f5;
    }
    .suggest-box-inline .suggest-item:last-child {
        border-bottom: none;
    }
    .suggest-box-inline .suggest-item:hover {
        background: #f8faff;
    }
    .compare-input-wrap-inline {
        position: relative;
        display: inline-block;
    }