/* Scoped adaptation of current plan-student, lesson-task and plan-grading interfaces. */
#teaching .tfp-workspace,#teaching .tfr-workspace{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.45fr);min-height:520px;background:#f3ebdd;border-radius:18px;overflow:hidden;font:400 14px/1.6 var(--body,sans-serif);color:var(--ink,#1c1813)}
#teaching .tfp-workspace *,#teaching .tfr-workspace *{box-sizing:border-box}
#teaching .tfp-plan{display:flex;flex-direction:column;min-width:0;background:#f5efdf}
#teaching .tfp-plan-head{padding:26px 28px 23px;background:linear-gradient(145deg,#30261c,#17110c);color:#fffdf8;position:relative}
#teaching .tfp-kicker{font:400 12px/1.5 var(--body,sans-serif);color:#796c55}
#teaching .tfp-plan-head .tfp-kicker{color:#d9bf99}
#teaching .tfp-example{font:400 10px/1.5 var(--body,sans-serif);color:#796c55;white-space:nowrap}
#teaching .tfp-plan-head>.tfp-example{float:right;color:#c3b49d}
#teaching .tfp-plan-head h3{font:700 25px/1.4 var(--title,sans-serif);margin:13px 0 4px}
#teaching .tfp-plan-head>p{font-size:12px;color:#d0c1aa;margin:0}
#teaching .tfp-plan-progress{display:flex;justify-content:space-between;font-size:11px;color:#d0c1aa;margin-top:22px;gap:12px}
#teaching .tfp-progress-track{height:3px;background:#fff0d81c;margin-top:8px;border-radius:2px}
#teaching .tfp-progress-track i{display:block;height:100%;width:0;background:#f5350c}
#teaching .tfp-tasks{padding:14px 18px 0;display:grid;gap:8px}
#teaching .tfp-task{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#fffdf8;border:1px solid transparent;border-radius:10px;padding:13px 12px;min-height:78px;line-height:1.45}
#teaching .tfp-task[aria-pressed=true]{border-color:#cfb897;background:#fffcf4}
#teaching .tfp-task-no{color:#927b5e;font-size:11px;flex:none;font-variant-numeric:tabular-nums}
#teaching .tfp-task-copy{flex:1;min-width:0;display:grid;gap:5px}
#teaching .tfp-kind{font-size:10px;color:#796c55;line-height:1.4}
#teaching .tfp-task-name{font-size:14px;font-weight:500;color:#1c1813;overflow-wrap:anywhere}
#teaching .tfp-task-state{font-size:10px;color:#796c55;white-space:nowrap}
#teaching .tfp-task-state.is-submitted{color:#8a6b2b}
#teaching .tfp-task>span:last-child{color:#927b5e;font-size:20px;line-height:1}
#teaching .tfp-notice{display:flex;gap:10px;align-items:center;margin:auto 20px 0;padding:18px 4px 19px;font:400 10px/1.6 var(--body,sans-serif);color:#796c55;background:transparent;border:0;text-align:left;width:calc(100% - 40px);min-height:44px;cursor:pointer}
#teaching .tfp-notice-dot{display:block;width:7px;height:7px;border-radius:50%;background:#f5350c;flex:none}
#teaching .tfp-notice-copy{flex:1;min-width:0;display:flex;flex-direction:column}
#teaching .tfp-notice-title{font-size:12px;color:#1c1813;margin:3px 0 0;display:flex;justify-content:space-between;gap:12px}
#teaching .tfp-detail{padding:28px 32px;display:flex;flex-direction:column;background:#fffcf5;min-width:0}
#teaching .tfp-detail-head{display:flex;flex-wrap:wrap;align-items:center;gap:0 14px}
#teaching .tfp-detail-head>.tfp-kind{background:#f4ead8;padding:4px 9px;border-radius:6px}
#teaching .tfp-detail-head>.tfp-example{margin-left:auto}
#teaching .tfp-detail-head h4{flex-basis:100%;font:500 23px/1.4 var(--body,sans-serif);margin:14px 0 5px}
#teaching .tfp-detail-head p{font-size:13px;color:#796c55;margin:0}
#teaching .tfp-practice{margin-top:26px}
#teaching .tfp-practice-label{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#796c55;font-size:11px}
#teaching .tfp-practice-label>span:last-child{color:#1c1813}
#teaching .tfp-count-row{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:17px}
#teaching .tfp-count-row>div{min-width:0}
#teaching .tfp-count-row>div>span{font-size:11px;color:#796c55}
#teaching .tfp-count-row p{display:flex;align-items:baseline;gap:7px;margin:2px 0 0}
#teaching .tfp-count-row output{font:400 31px/1.3 var(--body,sans-serif);font-variant-numeric:tabular-nums}
#teaching .tfp-count-row p>span{font-size:12px;color:#796c55}
#teaching .tfp-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:15px}
#teaching .tfp-days>span{display:flex;justify-content:space-between;align-items:center;gap:4px;background:#f2ecdf;border-radius:7px;padding:8px 10px;font-size:11px;color:#796c55}
#teaching .tfp-days i{font-style:normal;font-size:12px;color:#b8a98d}
#teaching .tfp-days .is-done{background:#e9efe2;color:#476d35}
#teaching .tfp-days .is-done i{color:#476d35}
#teaching .tfp-song-task{display:flex;align-items:center;gap:18px;margin:26px 0 2px}
#teaching .tfp-song-cover{width:99px;aspect-ratio:1;border-radius:9px;overflow:hidden;flex:none}
#teaching .tfp-song-cover img{height:100%;width:100%;object-fit:cover}
#teaching .tfp-song-task>div:last-child>span{font-size:11px;color:#796c55}
#teaching .tfp-song-task p{font-size:15px;margin:7px 0 5px}
#teaching .tfp-submission{margin-top:24px;display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid #e7dece;border-bottom:1px solid #e7dece}
#teaching .tfp-submission-mark{display:grid;place-items:center;background:#eee5d3;border-radius:8px;width:34px;height:34px;flex:none;color:#796c55;font-size:19px}
#teaching .tfp-submission>div{min-width:0;flex:1}
#teaching .tfp-submission p{font-size:13px;margin:0}
#teaching .tfp-submission>div>span{font-size:11px;color:#796c55;display:block;margin-top:4px}
#teaching .tfp-status{color:#796c55;font-size:10px;white-space:nowrap}
#teaching .tfp-bottom{margin-top:auto;padding-top:20px}
#teaching .tfp-queue-note{font-size:11px;color:#796c55;margin:0 0 12px}
#teaching .tfp-action-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
#teaching .tfp-primary{display:inline-flex;align-items:center;justify-content:center;gap:18px;background:#f5350c;color:#fffdf8;min-height:44px;padding:11px 18px;border-radius:9px;font:400 13px/1.5 var(--body,sans-serif);border:0}
#teaching .tfp-primary:disabled{background:#e7dfcf;color:#796c55;cursor:default}
#teaching .tfp-reset{min-height:44px;padding:8px 3px;background:transparent;color:#796c55;font:400 11px/1.5 var(--body,sans-serif);border:0}
#teaching .tfp-sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
#teaching .tfr-workspace{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
#teaching .tfr-student{padding:29px 32px;background:#f3ebdd;min-width:0;display:flex;flex-direction:column}
#teaching .tfr-header{display:flex;flex-wrap:wrap;align-items:center;gap:0 15px}
#teaching .tfr-header .tfp-example{margin-left:auto}
#teaching .tfr-header h3{font:700 23px/1.45 var(--title,sans-serif);flex-basis:100%;margin:16px 0 10px}
#teaching .tfr-status{display:inline-flex;color:#856724;background:#eadfbf;border-radius:6px;padding:3px 8px;font-size:10px}
#teaching .tfr-status.is-revision{color:#b33d24;background:#f6e1d5}
#teaching .tfr-status.is-passed{color:#38633d;background:#e2eddd}
#teaching .tfr-recording{display:flex;gap:12px;align-items:center;margin-top:24px;padding:19px 16px;background:#fffdf8;border-radius:11px 11px 0 0}
#teaching .tfr-record-icon{font-size:22px;color:#796c55;flex:none}
#teaching .tfr-recording>div{min-width:0;flex:1}
#teaching .tfr-recording p{font-size:14px;margin:0}
#teaching .tfr-recording>div>span{font-size:10px;color:#796c55;margin-top:5px;display:block}
#teaching .tfr-audio-note{font-size:9px;color:#796c55;max-width:65px;text-align:right}
#teaching .tfr-history{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eee6d9;padding:0 6px;background:#fffdf8;border-radius:0 0 11px 11px;font-size:10px;color:#796c55}
#teaching .tfr-history button{width:44px;height:44px;font-size:23px;color:#f5350c;border:0;background:none}
#teaching .tfr-history button:disabled{color:#bcb2a0;cursor:default}
#teaching .tfr-feedback{margin-top:24px}
#teaching .tfr-feedback-label{font-size:11px;color:#796c55;margin-bottom:10px}
#teaching .tfr-message{display:flex;align-items:flex-start;gap:10px}
#teaching .tfr-avatar{display:grid;place-items:center;background:#f7dfd0;color:#a94e33;width:31px;height:31px;border-radius:9px;flex:none;font-size:14px}
#teaching .tfr-bubble{margin:0;background:#fffdf8;border-radius:4px 13px 13px 13px;padding:11px 14px;font-size:13px;line-height:1.65;overflow-wrap:anywhere;min-width:0}
#teaching .tfr-feedback-meta{display:flex;gap:12px;margin:14px 0 0 41px;font-size:10px;color:#796c55}
#teaching .tfr-waiting{display:flex;gap:9px;align-items:center;margin-top:26px;font-size:12px;color:#796c55}
#teaching .tfr-waiting-dot{width:6px;height:6px;flex:none;border-radius:50%;background:#aa8d4e}
#teaching .tfr-resubmit{margin-top:20px;align-self:flex-start}
#teaching .tfr-teacher{padding:29px 32px;background:#fffcf5;min-width:0;display:flex;flex-direction:column}
#teaching .tfr-review-top{display:flex;justify-content:space-between;gap:15px;align-items:center}
#teaching .tfr-teacher h4{font:500 22px/1.4 var(--body,sans-serif);margin:16px 0 21px}
#teaching .tfr-review-object>span{color:#796c55;font-size:10px}
#teaching .tfr-review-object p{display:flex;justify-content:space-between;flex-wrap:wrap;gap:3px 12px;font-size:13px;margin:4px 0 18px}
#teaching .tfr-review-object p>span{font-size:10px;color:#796c55}
#teaching .tfr-comment-label{display:block;font-size:11px;color:#796c55;margin-bottom:7px}
#teaching .tfr-teacher textarea{display:block;width:100%;resize:vertical;min-height:104px;background:#f3eddf;border:1px solid transparent;border-radius:9px;padding:13px 14px;font:400 13px/1.65 var(--body,sans-serif);color:#1c1813}
#teaching .tfr-voice-note{display:flex;align-items:center;gap:8px;font-size:11px;color:#796c55;margin-top:11px;min-height:32px}
#teaching .tfr-voice-note>span:last-child{font-size:9px;margin-left:auto}
#teaching .tfr-action-result{font-size:11px;color:#796c55;min-height:18px;margin:auto 0 11px;padding-top:20px}
#teaching .tfr-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#teaching .tfr-revise{border:1px solid #d2c2a9;border-radius:9px;background:none;min-height:44px;padding:10px 15px;font:400 13px/1.5 var(--body,sans-serif)}
#teaching .tfr-revise:disabled{opacity:.5;cursor:default}
#teaching .tfr-reset{align-self:center;margin:3px 0 -10px}
#teaching .tfr-path-state{display:flex;flex-direction:column;min-height:520px;padding:28px 32px;box-sizing:border-box;background:#f3ebdd;font:400 14px/1.6 var(--body,sans-serif);color:#1c1813}
#teaching [data-tfr-view][hidden]{display:none!important}
#teaching .tfr-path-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
#teaching .tfr-notice-body{flex:1;display:flex;align-items:center;justify-content:center;padding:24px 0 44px}
#teaching .tfr-service-message{width:100%;max-width:560px;margin:0;padding:26px;background:#fffdf8;border-radius:12px;align-items:flex-start;gap:16px}
#teaching .tfr-service-message .tfp-notice-dot{margin-top:6px}
#teaching .tfr-service-message strong{font:500 20px/1.5 var(--body,sans-serif);color:#1c1813;margin-top:12px}
#teaching .tfr-notice-student{font-size:12px;margin-top:5px}
#teaching .tfr-service-message .tfp-notice-title{margin-top:22px;padding-top:14px;border-top:1px solid #eee6d9;color:#796c55}
#teaching .tfr-queue-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:32px 0 24px}
#teaching .tfr-queue-head h3{font:700 25px/1.4 var(--title,sans-serif);margin:0}
#teaching .tfr-queue-head>span{font-size:12px;color:#796c55;flex:none}
#teaching .tfr-queue-plan{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12px;color:#796c55;margin-bottom:12px}
#teaching .tfr-queue-plan>span:last-child{font-size:11px}
#teaching .tfr-queue-row{display:flex;align-items:center;gap:16px;width:100%;min-height:104px;padding:20px;background:#fffdf8;border:0;border-radius:12px;text-align:left;font-family:var(--body,sans-serif);cursor:pointer}
#teaching .tfr-queue-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
#teaching .tfr-queue-copy strong{font-size:16px;font-weight:500}
#teaching .tfr-queue-copy>span{font-size:12px;color:#796c55}
#teaching .tfr-queue-copy small{font-size:10px;font-weight:400;color:#796c55}
#teaching .tfr-queue-arrow{font-size:23px;color:#927b5e;flex:none}
#teaching .tfr-queue-row .tfr-status{white-space:nowrap;flex:none}
#teaching .tfr-back-message{align-self:flex-start;margin-top:20px;font-size:12px}
#teaching .tfr-back-queue{font-size:12px;margin:0}
#teaching .tfr-path-state button:focus-visible{outline:2px solid #f5350c;outline-offset:3px}
#teaching .tfp-workspace button:focus-visible,#teaching .tfr-workspace button:focus-visible,#teaching .tfr-teacher textarea:focus-visible{outline:2px solid #f5350c;outline-offset:3px}
@media(hover:hover){#teaching .tfp-task:hover{background:#fffaf0}#teaching .tfp-primary:not(:disabled):hover{background:#d72c0b}#teaching .tfp-reset:hover{color:#f5350c}}
@media(max-width:1000px){#teaching .tfp-workspace{grid-template-columns:minmax(0,.95fr) minmax(0,1.25fr)}#teaching .tfp-detail,#teaching .tfr-teacher,#teaching .tfr-student{padding:24px}#teaching .tfp-plan-head{padding:24px}#teaching .tfp-tasks{padding-inline:12px}#teaching .tfp-task{gap:9px;padding-inline:10px}#teaching .tfp-task-name{font-size:13px}#teaching .tfp-task-state{font-size:9px}}
@media(max-width:680px){#teaching .tfp-workspace,#teaching .tfr-workspace{grid-template-columns:minmax(0,1fr);min-height:0;border-radius:14px}#teaching .tfp-plan-head{padding:22px 22px 20px}#teaching .tfp-plan-head h3{font-size:22px;margin-top:10px}#teaching .tfp-plan-progress{margin-top:16px}#teaching .tfp-tasks{padding:12px 14px 0;gap:7px}#teaching .tfp-task{min-height:70px;padding:11px 12px;gap:12px}#teaching .tfp-task-name{font-size:14px}#teaching .tfp-task-state{font-size:10px}#teaching .tfp-notice{padding:15px 5px 17px;margin-inline:16px}#teaching .tfp-detail{padding:23px 22px 24px}#teaching .tfp-detail-head h4{font-size:21px;margin-top:13px}#teaching .tfp-practice{margin-top:23px}#teaching .tfp-count-row{gap:16px}#teaching .tfp-count-row output{font-size:28px}#teaching .tfp-days{gap:7px}#teaching .tfp-days>span{padding:8px;font-size:10px}#teaching .tfp-submission{gap:10px;margin-top:22px}#teaching .tfp-submission p{font-size:12px}#teaching .tfp-submission>div>span{font-size:10px}#teaching .tfp-submission-mark{width:30px;height:30px}#teaching .tfp-status{font-size:9px}#teaching .tfp-primary{font-size:12px;gap:12px;padding-inline:14px}#teaching .tfp-queue-note{font-size:10px}#teaching .tfr-student,#teaching .tfr-teacher{padding:23px 22px}#teaching .tfr-header h3{font-size:22px;margin-top:13px}#teaching .tfr-recording{margin-top:20px;padding:16px 13px;gap:10px}#teaching .tfr-recording p{font-size:13px}#teaching .tfr-teacher{padding-top:26px}#teaching .tfr-teacher h4{font-size:21px;margin:12px 0 19px}#teaching .tfr-feedback{margin-top:21px}#teaching .tfr-waiting{font-size:11px}#teaching .tfr-action-result{padding-top:20px}#teaching .tfr-actions{gap:10px}}
@media(prefers-reduced-motion:reduce){#teaching .tfp-workspace *,#teaching .tfr-workspace *{scroll-behavior:auto}}
@media(max-width:680px){#teaching .tfp-notice{width:calc(100% - 32px)}#teaching .tfr-path-state{padding:23px 22px;min-height:520px}#teaching .tfr-notice-body{padding:24px 0 40px}#teaching .tfr-service-message{width:100%;margin:0;padding:22px 18px;gap:12px}#teaching .tfr-service-message strong{font-size:19px}#teaching .tfr-queue-head{margin:28px 0 20px}#teaching .tfr-queue-head h3{font-size:23px}#teaching .tfr-queue-row{padding:17px 13px;gap:11px;flex-wrap:wrap}#teaching .tfr-queue-copy{min-width:150px}#teaching .tfr-queue-row .tfr-status{margin-left:auto}#teaching .tfr-queue-arrow{font-size:21px}#teaching .tfr-back-message{font-size:11px}}
