.study-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}
.attendance-notice{margin:0 0 24px;background:#edf3e6;border:1px solid #d7e3ca}.attendance-notice h2{font-size:18px}.attendance-notice p{font-size:14px!important;line-height:1.8;margin:9px 0 13px;max-width:850px}.attendance-notice .text-link{font-size:12px}
.study-room{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--paper);min-width:0}
.study-room-head{padding:22px 25px;display:flex;gap:16px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.study-room-head strong{font-size:13px}.study-room-head p{font-size:12px;color:var(--muted);margin:6px 0 0}.study-dot{width:7px;height:7px;border-radius:50%;background:var(--green);display:inline-block;margin-right:8px}
.study-reset.button{font-size:11px;padding:10px 12px;flex-shrink:0}
.study-conversation{min-height:330px;max-height:65vh;overflow-y:auto;overscroll-behavior:contain;padding:26px;scrollbar-color:#b4c3aa transparent}
.study-welcome{padding:22px 2px;text-align:center;max-width:560px;margin:auto}.study-welcome-icon{display:inline-flex;background:var(--pale);padding:18px;border-radius:18px;color:var(--green);margin-bottom:20px}.study-welcome-icon .icon{width:30px;height:30px}
.study-welcome h2{font-family:var(--heading);font-size:25px;margin:0 0 14px}.study-welcome p{font-size:14px;color:var(--muted);line-height:1.8;max-width:430px;margin:auto}
.study-suggestions{display:grid;gap:9px;margin:25px auto 0;max-width:450px}.study-suggestions button{font:inherit;font-size:12px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border:1px solid var(--line);border-radius:10px;background:#fafbf8;color:var(--ink);cursor:pointer}.study-suggestions button:hover{border-color:var(--green);background:var(--pale)}.study-suggestions .icon{width:15px;flex-shrink:0}
.study-turn+.study-turn{margin-top:30px;padding-top:25px;border-top:1px solid var(--line)}.study-question{background:var(--pale);border-radius:14px 14px 3px 14px;padding:14px 18px;margin:0 0 24px 28px;overflow-wrap:anywhere}.study-question>span{font-size:10px;font-weight:700;letter-spacing:.5px;color:var(--green)}.study-question p{font-size:14px;line-height:1.65;margin:6px 0 0;white-space:pre-wrap}
.study-speaker{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px}.study-speaker>span:last-child{color:var(--muted);font-size:10px}.study-avatar{display:inline-flex;background:var(--forest);color:var(--lime);border-radius:9px;padding:7px}.study-avatar .icon{width:17px;height:17px}
.study-intro{font-size:13px;line-height:1.8;color:var(--muted);margin:14px 0 18px}.study-source{border:1px solid var(--line);border-radius:12px;padding:18px;margin-top:12px;overflow-wrap:anywhere}.study-source-label{color:var(--green);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1px}.study-source h3{font-size:16px;line-height:1.5;margin:8px 0 12px}.study-source h4{font-size:12px;margin:8px 0;color:var(--muted)}.study-source p,.study-source li{font-size:14px;line-height:1.85}.study-source p{margin:0}.study-source ul{padding-left:20px;margin:0}.study-source li+li{margin-top:8px}.study-source-links{display:flex;flex-wrap:wrap;gap:13px;margin-top:15px;padding-top:13px;border-top:1px solid var(--line)}.study-source-links .text-link{font-size:11px}
.study-composer{padding:22px 25px;background:#fafbf8;border-top:1px solid var(--line)}.study-composer textarea{resize:vertical;min-height:85px;font:inherit;font-size:14px}.study-modes{border:0;padding:0;margin:0 0 18px;display:flex;gap:7px;flex-wrap:wrap}.study-modes legend{font-size:11px;font-weight:600;margin-bottom:10px}.study-modes label{cursor:pointer;display:flex;gap:6px;align-items:center;border:1px solid var(--line);border-radius:20px;padding:7px 10px;background:#fff;font-size:11px}.study-modes input{accent-color:var(--green);margin:0}.study-modes .selected{background:var(--pale);border-color:#aabd98}.study-compose-actions{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-top:14px}.study-compose-actions p{color:var(--muted);font-size:11px;line-height:1.6;max-width:360px;margin:0}.study-compose-actions .button{flex-shrink:0;font-size:12px}
.study-context .panel{padding:24px}.study-context h2{font-size:18px;line-height:1.5;margin:9px 0 23px}.study-context .field{max-width:100%;min-width:0;font-size:12px}.study-context .form-label{margin:16px 0 8px}.study-context-links{display:grid;gap:0;margin-top:20px}.study-context-links a{display:flex;align-items:center;gap:9px;padding:13px 0;border-top:1px solid var(--line);font-size:12px}.study-context-links .icon{width:16px;height:16px;flex-shrink:0}.study-context-links .icon:last-child{margin-left:auto}
.study-note{padding:24px 5px}.study-note .smallcaps{font-size:9px;letter-spacing:1px}.study-note h3{font-size:17px;margin:13px 0}.study-note p{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:17px}.study-note a{font-size:11px;overflow-wrap:anywhere}
.study-room button:focus-visible,.study-room a:focus-visible,.study-context a:focus-visible{outline:3px solid #8aaa59;outline-offset:3px}.study-modes label:focus-within{outline:2px solid var(--green);outline-offset:2px}
@media(min-width:1400px){.study-layout{grid-template-columns:minmax(0,1fr) 310px;gap:30px}}
@media(max-width:1100px){.study-layout{grid-template-columns:minmax(0,1fr)}.study-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.study-note{padding:24px 10px}}
@media(max-width:650px){.study-layout{gap:18px}.study-room-head{padding:16px;align-items:flex-start}.study-room-head p{line-height:1.6}.study-room-head strong{font-size:11px}.study-reset.button{font-size:10px;padding:9px}.study-conversation{padding:17px;min-height:260px;max-height:65vh}.study-welcome{padding:10px 0}.study-welcome h2{font-size:21px}.study-question{margin-left:14px}.study-source{padding:14px}.study-composer{padding:17px}.study-compose-actions{align-items:stretch;flex-direction:column;gap:13px}.study-compose-actions p{max-width:none}.study-compose-actions .button{align-self:flex-end}.study-context{grid-template-columns:minmax(0,1fr);gap:0}.study-context .field,.study-composer textarea{font-size:16px}.study-note{padding:22px 8px}}
