.tuning { margin: 20px 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); }
.tuning summary { cursor: pointer; padding: 18px 22px; font-weight: 650; }
.tuning summary span { display: inline-block; margin-left: 12px; font-size: .8rem; font-weight: 400; color: var(--text-soft); }
.tuning-body { padding: 0 22px 22px; }
.tuning-body p { margin: 12px 0; line-height: 1.7; overflow-wrap: anywhere; }
.tuning-body h3, .tuning-body h4 { margin: 20px 0 8px; }
#tuningForm { display: flex; gap: 10px; margin: 8px 0; }
#tuningQuestion { flex: 1; min-width: 0; padding: 12px; font: inherit; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: var(--bg); }
.tuning-help, #tuningBasis { font-size: .82rem; color: var(--text-soft); }
#tuningStatus { font-weight: 550; }
.tuning-table { max-width: 100%; overflow-x: auto; }
.tuning table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.tuning th, .tuning td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tuning th:first-child, .tuning td:first-child { text-align: left; white-space: normal; min-width: 100px; }
.tuning-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.tuning button:disabled { opacity: .5; cursor: not-allowed; }
.tuning [hidden] { display: none; }
@media (max-width: 600px) { .tuning-body { padding: 0 12px 16px; } .tuning summary { padding: 16px 12px; } .tuning summary span { display: block; margin: 6px 0 0; } #tuningForm { flex-wrap: wrap; } #tuningQuestion { flex-basis: 100%; } .tuning-actions button { width: 100%; } }
