body { overflow-y: auto !important; background-color: #0f1117; color: #e5e7eb; }
.canvas-container { 
    background: #111827; 
    border: 2px dashed #2a3441; 
    border-radius: 12px; 
    position: relative;
    cursor: crosshair;
    touch-action: none;
    height: 280px;
}
#drawCanvas { width: 100%; height: 100%; border-radius: 12px; display: block; }

.controls-panel { background: #0b0d12; border: 1px solid #1f2933; border-radius: 12px; padding: 20px; }
.form-select, .form-control { background-color: #111827; color: #fff; border: 1px solid #1f2933; }
.form-select:focus, .form-control:focus { background-color: #111827; color: #fff; border-color: #86ab2c; box-shadow: none; }

.btn-draw { background-color: #86ab2c; color: #fff; font-weight: 500; transition: 0.2s; }
.btn-draw:hover { background-color: #769a24; color: #fff; }

#progressContainer { display: none; }
.progress { height: 8px; background-color: #1f2933; border-radius: 4px; }
.progress-bar { background-color: #86ab2c; }

/* Сетка результатов */
.result-card { background: #111827; border: 1px solid #1f2933; border-radius: 8px; padding: 10px; height: 280px; display: flex; flex-direction: column; }
.chart-wrap { flex: 1; position: relative; min-height: 0; }
.lw-chart { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.similarity-score { color: #86ab2c; font-weight: bold; font-size: 12px; }

.empty-state { background-color: #0b0d12; border: 1px dashed #1f2933; border-radius: 12px; padding: 50px 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.empty-icon { font-size: 48px; color: #2a3441; margin-bottom: 15px; }

.block-view-graph { margin-top: 250px; }

@media (min-width: 992px) {
    .canvas-container { height: 400px; } 
}    

/* Мобильные устройства */
@media (max-width: 768px) {
    .block-view-graph { margin-top: 0px; }
}         