.tecz-cm-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}
.tecz-cm-header { margin-bottom: 20px; border-bottom: 1px solid #e2e8f0; padding-bottom: 16px; }
.tecz-cm-header h3 { margin: 0 0 8px 0; font-size: 24px; color: #1a202c; }
.tecz-cm-header p { margin: 0; color: #718096; font-size: 14px; }

.tecz-cm-controls { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.tecz-cm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .tecz-cm-grid { grid-template-columns: 1fr; } }

.tecz-cm-box { display: flex; flex-direction: column; }
.tecz-cm-box label { font-weight: 600; color: #4a5568; font-size: 14px; margin-bottom: 8px; }

#tecz-input-code, #tecz-output-code {
    width: 100%;
    height: 300px;
    padding: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    resize: vertical;
    box-sizing: border-box;
}
#tecz-input-code:focus { outline: none; border-color: #3182ce; }
#tecz-output-code { background: #f7fafc; color: #2d3748; }

.tecz-cm-stats { font-size: 12px; color: #718096; margin-top: 8px; font-weight: 500; }

.tecz-btn {
    border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer;
    font-weight: 600; font-size: 14px; transition: background 0.2s;
}
.tecz-btn.primary { background: #3182ce; color: #fff; }
.tecz-btn.primary:hover { background: #2b6cb0; }
.tecz-btn.danger { background: #e53e3e; color: #fff; }
.tecz-btn.danger:hover { background: #c53030; }
.tecz-btn.success { background: #48bb78; color: #fff; margin-top: 12px; width: 100%; }
.tecz-btn.success:hover { background: #38a169; }
.tecz-btn.copied { background: #2f855a !important; }