.copying-panel { margin-bottom: 1rem; }
.copying-workspace { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; margin-top: 20px; }
.copying-roster { border-right: 1px solid #e9e4ef; padding-right: 20px; }
.copying-roster label, .copying-editor label { display: block; font-size: 14px; font-weight: 700; color: #4b415c; margin-bottom: 8px; }
.copying-roster .form-input { width: 100%; min-width: 0; margin-bottom: 12px; }
.copying-roster__list { display: flex; flex-direction: column; gap: 6px; max-height: 570px; overflow-y: auto; }
.copying-person { text-align: left; padding: 12px 14px; border-radius: 12px; color: #594a69; min-height: 44px; }
.copying-person:hover { background: #f7f3fc; }
.copying-person.is-selected { background: #eee5fa; color: #663ba0; font-weight: 800; }
.copying-editor { min-width: 0; }
.copying-current { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.copying-current__minutes { color: #674199; font-size: 36px; font-weight: 900; line-height: 1.3; margin-top: 4px; }
.copying-current__minutes span { font-size: 17px; margin-left: 6px; font-weight: 600; }
.copying-count { font-size: 12px; color: #6b587f; background: #f2ecf8; padding: 7px 10px; border-radius: 20px; white-space: nowrap; }
.copying-editor fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.copying-editor fieldset:disabled { opacity: .65; }
.copying-modes { display: flex; gap: 12px; flex-wrap: wrap; padding: 12px; background: #f8f6fb; border-radius: 12px; margin-bottom: 18px; }
.copying-modes label { margin: 0; padding: 4px; cursor: pointer; }
.copying-modes input { accent-color: #8054b2; margin-right: 5px; }
.copying-time-input { display: flex; align-items: center; gap: 10px; }
.copying-time-input input { width: 120px; font-size: 22px; font-weight: 800; padding: 10px 14px; }
.copying-presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.copying-chip { border: 1px solid #e3d7ef; border-radius: 10px; padding: 9px 15px; min-height: 40px; color: #6b458e; background: #fff; }
.copying-chip:hover { background: #f2ecf8; }
#copying-preview { margin-bottom: 20px; }
.copying-editor textarea { width: 100%; padding: 12px 14px; line-height: 1.7; resize: vertical; min-height: 110px; }
.copying-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.copying-status { font-size: 13px; color: #527461; padding: 12px 0; min-height: 44px; line-height: 1.6; }
.copying-status.is-error { color: #ad3b3b; }
.copying-history-title { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid #eee8f3; padding-top: 22px; margin-top: 8px; }
.copying-history-title h3 { font-weight: 800; color: #403348; }
.copying-history-title span { font-size: 12px; color: #877a94; }
.copying-history { list-style: none; padding: 0; margin: 14px 0 0; }
.copying-history li { padding: 14px 0; border-bottom: 1px solid #eee8f3; }
.copying-history__heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; justify-content: space-between; }
.copying-history strong { color: #665078; font-size: 14px; }
.copying-history time { color: #83778d; font-size: 12px; }
.copying-history p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; font-size: 14px; color: #514958; margin-top: 6px; }
.copying-empty { padding: 24px 0; color: #887c93; font-size: 14px; }
.copying-student { padding: 22px; border: 1px solid #e9dff2; }
.copying-student .copying-current { margin-bottom: 12px; }
.copying-student__message { font-size: 14px; color: #6c6077; line-height: 1.7; }
.copying-note-card { margin-top: 18px; background: #f8f4fc; border-radius: 14px; padding: 16px; }
.copying-note-card p { font-size: 12px; color: #85699f; font-weight: 700; margin-bottom: 8px; }
.copying-note-card div { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; color: #51405f; }
.copying-student__footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.copying-student__footer span { font-size: 11px; color: #887893; }
.copying-text-button { padding: 10px 0; color: #79539e; font-size: 12px; min-height: 44px; white-space: nowrap; }
.copying-student-history { border-top: 1px solid #ece3f3; margin-top: 12px; }
.copying-student-history summary { padding: 16px 0 0; cursor: pointer; font-size: 14px; font-weight: 700; color: #62516f; }
.copying-student-history summary span { margin-left: 8px; font-weight: 400; font-size: 12px; }
@media (max-width: 640px) {
  .copying-workspace { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .copying-roster { border-right: 0; padding-right: 0; border-bottom: 1px solid #e9e4ef; padding-bottom: 16px; }
  .copying-roster__list { flex-direction: row; flex-wrap: wrap; max-height: 150px; }
  .copying-person { padding: 10px 13px; }
  .copying-current__minutes { font-size: 32px; }
  .copying-modes { gap: 6px; }
}
