.ballet-home { border: 1px solid #ebcbd5; background: #fff9fb; }
.ballet-home .ballet-head, .ballet-detail .ballet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ballet-home h2, .ballet-home h3, .ballet-detail h2, .ballet-detail h3 { margin: 0 0 8px; }
.ballet-home p, .ballet-detail p { line-height: 1.6; }
.ballet-home .button, .ballet-detail .button, .ballet-home .text-button, .ballet-detail .text-button { min-height: 44px; }
.ballet-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ballet-practice { margin-top: 12px; padding: 16px; border: 1px solid #eddce1; border-radius: 14px; background: #fff; }
.ballet-practice.ballet-paused { border-color: #d8bd91; background: #fffbf3; }
.ballet-meta { color: #685960; font-size: .9rem; }
.ballet-status { display: inline-block; padding: 4px 10px; border-radius: 14px; font-size: .85rem; background: #f3e5eb; }
.ballet-record { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eddce1; }
.ballet-record fieldset, .ballet-detail fieldset { border: 1px solid #dfcdd4; border-radius: 12px; padding: 12px; min-width: 0; }
.ballet-record legend, .ballet-detail legend { font-weight: 600; padding: 0 6px; }
.ballet-choice { display: block; margin: 8px 0; line-height: 1.5; }
.ballet-choice input { margin-right: 8px; }
.ballet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ballet-detail .field { margin: 12px 0; }
.ballet-detail input:not([type=checkbox]):not([type=radio]), .ballet-detail textarea, .ballet-detail select { max-width: 100%; box-sizing: border-box; }
.ballet-detail textarea { width: 100%; min-height: 80px; }
.ballet-files { display: grid; gap: 12px; margin-top: 12px; }
.ballet-file { padding: 12px; border-radius: 10px; background: #faf5f7; overflow-wrap: anywhere; }
.ballet-file video, .ballet-file img { display: block; width: 100%; max-height: 430px; object-fit: contain; margin-top: 10px; background: #161416; }
.ballet-file audio { display: block; width: 100%; margin-top: 10px; }
.ballet-plan-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.ballet-plan-table caption { text-align: left; font-weight: 600; margin-bottom: 8px; }
.ballet-plan-table th, .ballet-plan-table td { padding: 10px; border-bottom: 1px solid #eadfe3; text-align: left; vertical-align: top; }
.ballet-table-scroll { max-width: 100%; overflow-x: auto; }
.ballet-save-status { min-height: 1.6em; margin: 8px 0; color: #665461; font-size: .9rem; }
.ballet-problem { color: #7d4122; background: #fff4e6; padding: 12px; border-radius: 10px; }
.ballet-source-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.ballet-adult { margin-top: 16px; border-top: 1px dashed #d9c4cd; padding-top: 14px; }
.ballet-detail .notice { margin: 12px 0; }
@media (max-width: 600px) {
  .ballet-grid { grid-template-columns: 1fr; }
  .ballet-actions .button { flex: 1 1 130px; text-align: center; }
  .ballet-plan-table { min-width: 470px; }
  .ballet-practice { padding: 13px; }
}
