.iteration-intro,.collection-explain { color: var(--muted); font-size: 12px; line-height: 1.9; }
.resume-context { display: block; text-align: left; width: 100%; margin: 0 0 14px; padding: 10px 13px; border: 1px solid #dfe8ef; background: #f0f7fb; color: #61849d; border-radius: 9px; font-size: 11px; }
.resume-target { outline: 3px solid #9cbecf !important; outline-offset: 3px; }
.iteration-alert { border: 1px solid #e4c78d; background: #fff9ec; color: #86642e; padding: 16px; border-radius: 12px; font-size: 12px; margin: 16px 0; }
.iteration-alert button { background: white; border: 1px solid #e6d7ba; border-radius: 7px; padding: 7px 10px; margin: 4px; }
.collect-button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 9px; font-size: 11px; border: 1px solid #e5e1f1; border-radius: 8px; background: #faf8fe; color: #8a72b0; }
.collect-button[aria-pressed='true'] { color: #7756aa; background: #eee7fb; border-color: #d9caef; }
.collect-button .studio-icon { width: 14px; height: 14px; }
.follow-star.collect-button { height: auto; width: auto; flex: none; }
.follow-star.collect-button > span { display: none; }
.wrong-practice { margin-top: 22px; padding: 16px; border: 1px solid #f0dfbf; background: #fffaf1; border-radius: 12px; }
.wrong-practice h3 { font-size: 15px; margin: 0 0 5px; color: #9b783b; }
.wrong-practice > p { font-size: 11px; color: #9a8a70; }
.wrong-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.wrong-row > span { flex: 1; min-width: 110px; color: #7c715e; font-size: 11px; }
.wrong-row button { border: 1px solid #e7dabc; background: #fff; color: #9b783b; padding: 7px 10px; border-radius: 7px; font-size: 11px; }
#showAllExpressions { margin-top: 16px; }
main[data-view='collection'] .course-title { border: 0; padding: 0; background: none; box-shadow: none; margin-bottom: 22px; }
main[data-view='collection'] .course-title::after { display: none; }
main[data-view='collection'] h1 { font-size: 28px; }
.collection-panel { max-width: 1040px; }
.collection-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 10px; }
.collection-filters button { border: 1px solid #e3e6f0; background: #fff; color: #7a85a0; padding: 8px 13px; font-size: 12px; border-radius: 9px; }
.collection-filters button[aria-pressed='true'] { background: #eeeafb; color: #7f62af; border-color: #dfd5f0; }
#collectionStatus { color: #4f9079; font-size: 12px; }
.collection-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.collection-card { padding: 20px; border: 1px solid var(--line); background: #fff; border-radius: 14px; min-width: 0; }
.collection-card-head { display: flex; align-items: center; gap: 12px; }
.collection-card .sentence-listen { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: none; white-space: nowrap; border: 1px solid #e1e6f2; background: #f5f7fd; color: #7386b2; border-radius: 8px; }
.collection-source { color: #9aa3b4; font-size: 10px; flex: 1; }
.collection-original { font-size: 17px; color: #3b4760; line-height: 1.8; margin: 18px 0 12px; overflow-wrap: anywhere; }
.collection-translation { font-size: 12px; color: var(--muted); line-height: 1.9; }
.collection-card .secondary-button { min-height: 32px; font-size: 11px; padding: 0 10px; }
.memory-ratings { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 16px; }
.memory-ratings button { border: 1px solid #e3e7f0; background: #f9faff; color: #7b85a1; border-radius: 8px; padding: 9px 6px; font-size: 11px; }
.memory-ratings button:nth-child(3) { color: #528f7b; background: #f0f8f4; border-color: #d6eae0; }
.memory-ratings button:nth-child(4) { color: #836aaf; background: #f6f1fc; border-color: #e8dff3; }
.rating-hint { display: block; font-size: 9px; color: #9a9fb0; margin-top: 3px; }
.collection-foot { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 18px; padding-top: 12px; border-top: 1px solid #eff1f6; font-size: 10px; color: #99a2b4; }
.collection-foot a { color: #7c86b2; text-decoration: none; }
.collection-foot > span { flex: 1; }
.collection-foot button { color: #9aa3b7; background: none; border: 0; font-size: 10px; }
.collection-empty { font-size: 13px; color: #9aa5b9; padding: 24px 0; grid-column: 1 / -1; }
.recorder-panel { background: #fcf9fc; border: 1px solid #eedfe8; border-radius: 12px; padding: 18px; margin-bottom: 20px; }
.recorder-panel strong { font-size: 14px; font-weight: 600; color: #b37590; }
.recorder-panel p { font-size: 11px; color: #9d8997; line-height: 1.9; margin: 7px 0; }
#recordingSentence { color: #6e6173; font-size: 13px; }
.recorder-actions { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 10px; }
.recorder-actions button { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; padding: 0 10px; font-size: 11px; color: #a96c88; border: 1px solid #e6cfde; border-radius: 8px; background: #fff; }
.recorder-actions #recordToggle { background: #b77b97; border-color: #b77b97; color: white; }
#myRecording { width: 100%; height: 38px; margin-top: 7px; }
.workspace-nav nav { gap: 6px; }
.learning-outcomes { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; color: #8a94a8; font-size: 10px; line-height: 1.9; }
.learning-outcomes strong { color: #6576a2; font-weight: 550; }
@media(max-width:1000px) {
 .workspace-nav nav { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; }
 .workspace-nav nav a { font-size: 9px; }
 .collection-items { grid-template-columns: minmax(0,1fr); }
 .collection-card { padding: 17px; }
 .sentence-tools { flex-wrap: wrap; gap: 6px; }
 .sentence-tools .sentence-stamp { width: 100%; }
 main[data-view='collection'] h1 { font-size: 24px; }
 .recorder-panel { padding: 14px; }
}
