.standalone-tutor{max-width:850px;margin:auto}.tutor-panel{display:flex;flex-direction:column;gap:18px;min-width:0;scroll-margin-top:20px}.tutor-panel h2{margin-bottom:12px}.tutor-notice p:last-child{margin-bottom:0}.chat-transcript{display:flex;flex-direction:column;gap:18px}.chat-empty{padding:8px 14px}.canonical-correction{border-left:3px solid var(--blue);padding-left:13px;margin-bottom:15px}.canonical-correction p{font-size:.9rem}.api-fallback{font-size:.8rem;color:var(--orange);border-top:1px solid var(--line);padding-top:10px}.tutor-panel .bubble p{overflow-wrap:anywhere}.reader-layout.with-tutor{grid-template-columns:minmax(0,1fr) 350px}.embedded .card{padding:18px}.embedded .tutor-notice h2{font-size:1.15rem}.embedded .badge{font-size:.7rem}.embedded .chat-transcript{max-height:460px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.embedded .bubble{padding:16px;max-width:100%;font-size:.87rem}.embedded .bubble .eyebrow{font-size:.59rem}.embedded .source{padding:12px}.embedded .source .excerpt{font-size:.8rem}.embedded .chat-composer .stack{gap:10px}.embedded input,.embedded textarea,.embedded select{font-size:.82rem}.embedded label{font-size:.82rem}.embedded .option{padding:12px;font-size:.83rem}.embedded .chat-exercise h3{font-size:1rem}.embedded .fine{font-size:.75rem}.tutor-panel details>summary{list-style-position:outside;margin-left:12px}.tutor-panel .button{width:100%}
@media(max-width:1000px){.reader-layout.with-tutor{grid-template-columns:minmax(0,1fr) 310px}.reader-layout.with-tutor .reader-toolbar{justify-content:center}}
@media(max-width:720px){.reader-layout.with-tutor{grid-template-columns:1fr}.embedded .chat-transcript{max-height:420px}.standalone-tutor .card{padding:20px}.tutor-panel{gap:15px}}
