.forms-section{margin-top:20px}
.forms-title{display:block;margin-bottom:9px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.forms-section .forms{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px;margin-top:0}
.forms-section .forms span{min-width:0;padding:10px 12px;border-radius:10px}
.forms-section .forms small,.forms-section .forms b{display:block;overflow-wrap:anywhere}
.forms-section .forms small{margin-bottom:3px;color:var(--muted);font-size:10px}
.forms-section .forms b{font-size:13px}
.plan-toggle.mode-disabled{opacity:.48;pointer-events:none}
.choice small{line-height:1.4}
.grade-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.grade-actions .wrong{grid-column:1;min-height:48px}
.grade-actions .correct{grid-column:2;min-height:48px}
.grade-actions .ghost:not([hidden]){grid-column:1/-1;grid-row:2;min-height:44px}
.grade-actions button{transition:background-color .18s ease,color .18s ease,transform .18s ease}
.grade-actions button:hover{transform:translateY(-1px)}
.grade-actions button:focus-visible{outline:3px solid rgba(31,90,59,.22);outline-offset:3px}
.personal-note{display:block;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.personal-note>span{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:9px}
.personal-note b{font-size:13px}
.personal-note small{color:var(--muted);font-size:11px;font-weight:500}
.personal-note textarea{display:block;width:100%;min-height:86px;resize:vertical;border:1px solid #c9c4b8;border-radius:12px;background:#fffdf8;color:var(--ink);padding:12px 14px;font:500 15px/1.6 "DM Sans","Noto Sans SC",sans-serif;outline:none}
.personal-note textarea::placeholder{color:#8a8f89}
.personal-note textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(31,90,59,.1)}
@media(min-width:981px){
  .study-view{padding-top:10px;padding-bottom:16px}
  .study-header{margin-bottom:10px}
  .card-shell{min-height:0;padding:20px 28px}
  .card-shell.answered .prompt-label{margin:12px 0 4px}
  .card-shell.answered .prompt-row h2{font-size:44px}
  .card-shell.answered .prompt-cn{margin:6px 0;min-height:20px}
  .card-shell.answered .answer-form{display:none}
  .card-shell.answered .feedback{margin-top:10px;padding:10px 14px}
  .card-shell.answered .answer-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"answer forms" "memory memory" "example example" "note note";gap:12px 18px;margin-top:12px;padding-top:14px}
  .card-shell.answered .answer-top{grid-area:answer;align-self:start}
  .card-shell.answered .answer-top h3{font-size:27px;margin:3px 0}
  .card-shell.answered .answer-top .speak-btn{width:44px;height:44px}
  .card-shell.answered .memory-box{grid-area:memory;margin:0;padding:11px 13px;border-left-width:2px}
  .card-shell.answered .memory-box p{margin-top:3px;font-size:13px;line-height:1.45}
  .card-shell.answered .forms-section{grid-area:forms;margin:0;align-self:start}
  .card-shell.answered .forms-title{margin-bottom:6px}
  .card-shell.answered .forms{display:flex;gap:0;align-items:flex-start}
  .card-shell.answered .forms span{flex:1;background:transparent;padding:0 12px 0 0;border-right:1px solid var(--line);border-radius:0}
  .card-shell.answered .forms span+span{padding-left:12px}
  .card-shell.answered .forms span:last-child{border-right:0}
  .card-shell.answered .example{grid-area:example;margin:0;font-size:13px}
  .card-shell.answered .personal-note{grid-area:note;margin:0;padding:0;border-top:0}
  .card-shell.answered .personal-note>span{margin-bottom:6px}
  .card-shell.answered .personal-note textarea{min-height:64px;height:68px;max-height:96px}
  .card-shell.answered .grade-actions{margin-top:10px}
}
@media(max-width:650px){.forms-section .forms{grid-template-columns:1fr 1fr}}
