.ssc-resizer-wrapper {
    max-width: 900px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1e1e1e;
}

.ssc-header-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: #f0f0f1;
    border: 2px solid #ccd0d4;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tab-btn.active {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.ssc-spec-badge {
    background: #e7f3fa;
    border-left: 4px solid #0073aa;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.ssc-dropzone {
    border: 2px dashed #0073aa;
    background: #fafafa;
    border-radius: 8px;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
}
.ssc-dropzone:hover { background: #f0f6fa; }
.ssc-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.drop-content p { margin: 10px 0 4px; font-weight: 500; font-size: 15px; }
.drop-content .highlight { color: #0073aa; font-weight: bold; }
.drop-content small { color: #646970; }

.ssc-workspace {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    background: #fff;
    border: 1px solid #dcdcde;
    padding: 20px;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .ssc-workspace { grid-template-columns: 1fr; }
}

.ssc-canvas-box {
    background: #2c3338;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
}
.ssc-canvas-box img { max-width: 100%; display: block; }

.ssc-quick-tools {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.ssc-result-sidebar {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.ssc-result-sidebar h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    border-bottom: 1px solid #dcdcde;
    padding-bottom: 8px;
}

.spec-table .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}
.badge-status {
    color: #46b450;
    font-weight: bold;
}
.badge-status.error {
    color: #dc3232;
}

.btn {
    border: 1px solid #ccd0d4;
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
}
.btn:hover { background: #f0f0f1; }
.btn-download {
    margin-top: auto;
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
}
.btn-download:hover:not(:disabled) { background: #005177; }
.btn-download:disabled {
    background: #a7aaad;
    cursor: not-allowed;
}

.notice {
    font-size: 11px;
    color: #646970;
    margin-top: 10px;
    text-align: center;
}