.cc-main { display: flex; gap: 16px; align-items: flex-start; }
.cc-preview-col { flex: 0 0 130px; text-align: center; }
.cc-preview { width: 120px; height: 120px; border-radius: 8px; border: 1px solid #ccc; margin: 0 auto 8px; }
.cc-adjust-btns { display: flex; flex-direction: column; gap: 5px; }
.cc-adjust { width: 100%; font-size: 12px; }
.cc-forms-col { flex: 1; }
.cc-field-group { margin-bottom: 14px; }
.cc-field-group label { font-weight: bold; margin-bottom: 4px; display: block; }
.cc-hex-row, .cc-rgb-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
input[type="color"]#cc_color_picker { width: 44px; height: 36px; padding: 2px; border: 1px solid #ccc; border-radius: 4px; cursor: pointer; }
.cc-input-mono { font-family: monospace; }
.cc-input-full { width: 100%; margin-top: 6px; }
.cc-channel { display: flex; align-items: center; gap: 4px; }
.cc-channel span { font-size: 12px; font-weight: bold; color: #666; width: 14px; }
.cc-channel input { width: 64px; }

/* コントラスト表 */
.cc-contrast-wrap { margin-top: 16px; }
.cc-contrast-title { font-weight: bold; margin-bottom: 6px; font-size: 14px; }
.cc-ct-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cc-ct-table th, .cc-ct-table td { padding: 7px 10px; border: 1px solid #ddd; text-align: center; vertical-align: middle; }
.cc-ct-table th { background: #f5f5f5; font-weight: bold; white-space: nowrap; }
.cc-ct-table td:first-child { text-align: left; white-space: nowrap; }
.cc-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.cc-aaa  { color: #27ae60; font-weight: bold; }
.cc-aa   { color: #2980b9; font-weight: bold; }
.cc-fail { color: #c0392b; font-weight: bold; }
.cc-sample-cell { width: 90px; }
.cc-sample-text { padding: 2px 8px; border-radius: 3px; font-size: 13px; font-weight: bold; }

@media (max-width: 600px) {
	.cc-main { flex-direction: column; }
	.cc-preview-col { flex: none; width: 100%; display: flex; align-items: center; gap: 12px; }
	.cc-preview { width: 80px; height: 80px; margin: 0; flex-shrink: 0; }
	.cc-adjust-btns { flex-direction: row; }
	.cc-adjust { width: auto; }
	.cc-ct-table th:last-child, .cc-ct-table td:last-child { display: none; }
}
