.cheque-designer-scroll {
    overflow: auto;
    padding: 8px;
    background: #f3f4f6;
    border-radius: 10px;
}

.cheque-designer-stage {
    display: inline-block;
    min-width: 100%;
}

.cheque-designer-canvas {
    position: relative;
    background: #fff;
    border: 2px dashed #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    margin: 0 auto;
    overflow: hidden;
}

.cheque-designer-field {
    position: absolute;
    max-width: calc(100% - 8mm);
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    cursor: grab;
    user-select: none;
    touch-action: none;
    line-height: 1.25;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.cheque-designer-field:hover {
    border-color: #93c5fd;
    background: rgba(239, 246, 255, 0.96);
}

.cheque-designer-field.is-selected {
    border-color: #2563eb;
    background: rgba(219, 234, 254, 0.98);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
    z-index: 2;
}

.cheque-designer-field.is-dragging {
    cursor: grabbing;
    z-index: 3;
}

.cheque-designer-field-tag {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 2px;
}

.cheque-designer-field-value {
    display: block;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
}

.cheque-coordinate-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cheque-coordinate-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    color: #334155;
}

.cheque-coordinate-pill.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

@media (max-width: 768px) {
    .cheque-designer-field-value {
        white-space: normal;
    }
}
