.hd-studio-wrapper {
    max-width: 1100px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #222;
}

.hd-dropzone {
    border: 2px dashed #0073aa;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    background: #f7f9fa;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
}
.hd-dropzone:hover { background: #eef3f7; }
.hd-dropzone input[type="file"] {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}
.hd-dropzone .highlight { color: #0073aa; font-weight: bold; }

.hd-workspace {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-top: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
    .hd-workspace { grid-template-columns: 1fr; }
}

.hd-canvas-area {
    min-height: 400px;
    max-height: 600px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
}
.hd-canvas-area img { max-width: 100%; display: block; }

.hd-controls h3 { margin: 0 0 10px 0; font-size: 15px; text-transform: uppercase; color: #555; }
.hd-controls hr { border: none; border-top: 1px solid #eaeaea; margin: 15px 0; }

.hd-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn {
    border: 1px solid #ccd0d4;
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}
.btn:hover { background: #f0f0f1; }
.btn-primary { background: #0073aa; color: #fff; border: none; }
.btn-primary:hover { background: #005a87; }
.btn-secondary { background: #ff6d00; color: #fff; border: none; }
.btn-secondary:hover { background: #e05d00; }
.btn-text { background: transparent; border: none; text-decoration: underline; color: #666; }

.hd-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 8px;
}
.hd-input-row label { display: block; font-size: 12px; margin-bottom: 4px; color: #666; }
.hd-input-row input, .hd-input-row select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    box-sizing: border-box;
}

.checkbox-label { font-size: 12px; display: flex; align-items: center; gap: 6px; }
.hd-action-buttons { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.hd-status { margin-top: 10px; font-size: 13px; font-weight: 500; }