.sig-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 850px) {
    .sig-container {
        grid-template-columns: 1fr;
    }
    .sig-sidebar {
        order: 2;
    }
}

.canvas-wrap {
    background: #fff;
    border: 2px dashed var(--line);
    border-radius: 16px;
    height: 400px;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: crosshair;
}

#sigCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

#typePreview {
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 60px;
    user-select: none;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.color-dot.active {
    border-color: var(--brand);
    transform: scale(1.1);
}

.mode-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}
.mode-btn:first-child { border-radius: 8px 0 0 8px; }
.mode-btn:last-child { border-radius: 0 8px 8px 0; border-left: 0; }
.mode-btn.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 20px 0;
}

.full-width { width: 100%; }
.hidden { display: none !important; }
