/* Reuse the teacher workspace palette; separate private work from the public action. */
.weekly-feedback{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:var(--ink)}
.weekly-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px;position:sticky;top:0;z-index:1;background:var(--panel)}
.weekly-head h2{font-size:20px;line-height:1.4;margin:0}
.weekly-head p,.weekly-source p,.weekly-public p,.weekly-scope,.weekly-existing p{margin:6px 0;color:var(--muted);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.weekly-source{padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:16px}
.weekly-source-text{white-space:pre-wrap;max-height:9em;overflow:auto}
.weekly-target,.weekly-label{display:block;font-weight:600;font-size:14px;margin:16px 0 6px}
.weekly-target select,.weekly-feedback textarea{display:block;width:100%;max-width:100%;margin-top:8px;border:1px solid var(--line2);border-radius:var(--r-sm);padding:10px 12px;background:var(--panel);color:var(--ink);font:inherit;line-height:1.6}
.weekly-target select{min-height:44px;font-size:14px}
.weekly-feedback textarea{resize:vertical;min-height:150px}
.weekly-existing{font-size:13px;border-bottom:1px solid var(--line);padding-bottom:8px}
.weekly-existing p{font-size:13px}
.weekly-hint,.weekly-private span{font-size:12px;color:var(--muted);line-height:1.6}
.weekly-private{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px}
.weekly-public{border-top:1px solid var(--line);margin-top:20px;padding-top:12px}
.weekly-public .btn{margin-top:6px}
.weekly-feedback [data-weekly-status]{font-size:14px;line-height:1.6;min-height:1.6em;color:var(--muted);overflow-wrap:anywhere}
.weekly-feedback [data-weekly-status].warn{color:var(--bad)}
@media(max-width:560px){.weekly-feedback{padding:16px}.weekly-head{gap:10px}.weekly-head h2{font-size:18px}.weekly-public .btn{width:100%;white-space:normal}.weekly-target select{font-size:13px}.weekly-private span{flex-basis:100%}}
