.about_visual-wrap.is-center {
    display: flex;
    flex-direction: column;
}

#chart-area {
    flex: 1;
    width: 100%;
    min-height: 400px;
}

.chart-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--_size-semantic---size--size-6);
    margin-bottom: var(--_size-semantic---size--size-4);
}

.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: var(--_size-semantic---size--size-4);
}

.toggle-switch {
    position: relative;
    width: 36px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--_color-semantics---border-color--primary);
    transition: background-color 0.2s;
    border-radius: 20px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: transform 0.2s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--_color-semantics---bg-color--yellow);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(16px);
}

.chart-legend {
    display: flex;
    gap: var(--_size-semantic---size--size-6);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--_size-semantic---size--size-2);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.legend-dot.is-price {
    background-color: var(--brand--yellow-hover);
}

.legend-dot.is-buy {
    background-color: #22c55e;
}

.legend-dot.is-sell {
    background-color: #ef4444;
}

.market-closed-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    gap: var(--_size-semantic---size--size-4);
    width: 100%;
}

.market-closed-message.is-visible {
    display: flex;
}

.market-closed-icon {
    font-size: 48px;
    opacity: 0.5;
    line-height: 1;
}

.market-closed-message .heading-style-h4 {
    line-height: 1.2;
    padding: 0.8rem 0;
}

.market-closed-message .text-size-small {
    line-height: 1.5;
}

.chart-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.chart-wrapper.is-hidden {
    display: none;
}

.price-up { color: #d60000; }
.price-down { color: #0fa200; }