/* WordPressの簡易チェック (TC-T-08). Colors: accent #1F3A5F; red only for warnings (alert #A8322A / alert-soft #FBF0EE). */

#tochoku-quick-check { margin-top: var(--wp--style--block-gap, 1.2rem); } /* TC-T-57: 見出し「チェックする」の下なので、見出しと本文の間と同じ */

.qc-field { margin-bottom: 28px; }
.qc-label, .qc-questions legend { display: block; font-weight: 700; margin-bottom: 8px; }
#qc-url { box-sizing: border-box; width: 100%; padding: 12px 14px; font-size: 1rem; border: 1px solid #8a94a3; border-radius: 4px; }
#qc-url:focus { outline: 2px solid #1F3A5F; outline-offset: 1px; }
.qc-note { font-size: 0.9em; color: #555; margin: 6px 0 0; }

.qc-questions { border: 1px solid #d6dbe2; border-radius: 6px; padding: 20px 20px 8px; margin: 0 0 24px; }
.qc-questions legend { padding: 0 6px; }
.qc-q { margin: 20px 0; }
.qc-q-text { font-weight: 700; margin: 0 0 8px; }
.qc-choice { display: inline-flex; align-items: center; gap: 6px; margin: 0 18px 8px 0; cursor: pointer; }
.qc-choice input { margin: 0; width: 1.1em; height: 1.1em; accent-color: #1F3A5F; }

.qc-turnstile { margin: 8px 0 16px; min-height: 65px; }
.qc-submit[disabled] { opacity: 0.6; cursor: wait; }
.qc-status { margin-top: 12px; }

.qc-result { margin-top: 48px; padding-top: 8px; border-top: 2px solid #1F3A5F; }
.qc-meta { color: #555; margin-top: 0; }
.qc-level { border-left: 6px solid #1F3A5F; background: #f2f5f9; padding: 14px 18px; margin: 20px 0 32px; }
.qc-level p { margin: 4px 0; }
.qc-level-head { font-weight: 700; font-size: 1.15em; }
.qc-level-3 { border-left-color: #A8322A; background: #FBF0EE; }
.qc-level-3 .qc-level-head { color: #A8322A; }

.qc-items { margin: 0 0 24px; }
.qc-items dt { font-weight: 700; margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qc-items dd { margin: 6px 0 0; }
.qc-badge { font-size: 0.8em; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid currentColor; }
.qc-ok { color: #1F3A5F; }
.qc-warn { color: #1F3A5F; background: #e6ecf3; }
.qc-bad { color: #fff; background: #A8322A; border-color: #A8322A; }
.qc-unknown { color: #666; }

.qc-links a { font-weight: 700; }
.qc-actions { margin-top: 24px; }

@media print {
	header.wp-block-template-part, footer.wp-block-template-part,
	.wp-block-post-content > :not(#tochoku-quick-check), .qc-form, .qc-actions { display: none !important; }
	.qc-result { margin-top: 0; border-top: 0; }
	.qc-level, .qc-badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.qc-links a::after { content: "（" attr(href) "）"; font-weight: 400; font-size: 0.85em; }
}
