/* Activity Empty State */
.activity-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    color: var(--ink-muted);
    font-size: 13px;
}

.activity-empty svg {
    opacity: 0.5;
}

/* ===== Stock Activity Ticker ===== */
.stock-ticker-section {
    margin-bottom: 1rem;
}

.stock-ticker-section .panel-header {
    margin-bottom: 6px;
}

.stock-ticker-section .panel-header h2 {
    font-size: 16px;
    margin: 0;
}

.stock-ticker {
    position: relative;
    min-height: 46px;
}

.stock-ticker-stage {
    position: relative;
    height: 40px;
    overflow: hidden;
}

.stock-ticker-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    background: var(--control-bg);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
}

.stock-ticker-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.stock-ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink-muted);
    flex-shrink: 0;
}

.stock-ticker-dot.dot-add {
    background: var(--pcb-dark);
}

.stock-ticker-dot.dot-sell {
    background: var(--danger);
}

.stock-ticker-dot.dot-adjust {
    background: var(--copper);
}

.stock-ticker-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ink-muted);
    flex-shrink: 0;
}

.stock-ticker-name {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.stock-ticker-qty {
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.stock-ticker-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.6rem;
}

.stock-ticker-dot-btn {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: var(--line);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}

.stock-ticker-dot-btn.active {
    background: var(--pcb-dark);
    transform: scale(1.4);
}

.stock-ticker-dot-btn:hover {
    background: var(--pcb-dark);
}
