html:has(body.study-room-page),body.study-room-page{height:100%;overflow:hidden}
body.study-room-page{margin:0;background:#f3f7f5;color:#193a36}
body.study-room-page .skip,body.study-room-page>dialog,body.study-room-page>#app,body.study-room-page>#announce{display:none}
.study-room-shell{height:100dvh;min-height:520px;display:flex;flex-direction:column;overflow:hidden}
.study-room-toolbar{height:58px;flex:0 0 58px;background:#fff;border-bottom:1px solid #dfe9e4;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4vw,64px);gap:20px}
.study-room-exit{border:1px solid #c8ddd2;border-radius:9px;background:#f5faf7;color:#245c4f;padding:9px 13px;color:#245c4f;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}.study-room-exit:hover{background:#eaf5ee;border-color:#91b8a1}
.study-room-toolbar-center{display:flex;align-items:center;gap:18px}.study-room-toolbar-center label{display:flex;align-items:center;gap:9px;color:#6a7e77;font-size:12px;font-weight:750}.study-room-toolbar-center select{min-width:210px;border:1px solid #d6e2dc;border-radius:8px;padding:8px 30px 8px 11px;color:#264e46;background:#fff;font:inherit}.study-room-question-count{font-size:13px;color:#82958c;font-variant-numeric:tabular-nums}.study-room-toolbar-actions{display:flex;align-items:center;gap:13px}.study-room-points{padding:7px 11px;border-radius:999px;background:#f0f7d7;color:#315f50;font-weight:800;font-size:12px}.study-room-history{color:#678078;font-size:12px;text-decoration:none}.study-room-account,.study-room-login{font-size:12px;font-weight:750;color:#174d45}
.study-room-main{flex:1;min-height:0;width:100%;box-sizing:border-box;padding:16px clamp(18px,4vw,64px);display:flex}.study-room-grid{width:min(1240px,100%);height:100%;min-height:0;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:16px}.study-question-card,.study-side-card{background:#fff;border:1px solid #dfe9e4;border-radius:16px;min-height:0}.study-question-card{padding:25px 30px;display:flex;flex-direction:column;overflow:auto}.study-question-meta{display:flex;align-items:center;gap:10px;color:#93a49d;font-size:12px;flex:0 0 auto}.study-room-badge{padding:4px 9px;border-radius:5px;background:#eaf3ed;color:#4a7861;font-weight:700}.study-kind{margin-left:auto}.study-question-card h1{font-size:clamp(22px,2.3vw,31px);line-height:1.4;letter-spacing:-.8px;margin:22px 0 20px;word-break:keep-all}.study-options{display:flex;flex-direction:column;gap:8px}.study-option{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #dce7e0;border-radius:10px;padding:12px 14px;background:#fff;line-height:1.4;min-height:48px}.study-option>span{width:26px;height:26px;border:1px solid #c8d9cd;border-radius:50%;display:grid;place-items:center;color:#6e8979;flex-shrink:0;font-size:12px}.study-option strong{font-size:14px;font-weight:550}.study-option:hover:not(:disabled){background:#f4f8f3;border-color:#8aae96}.study-option.is-selected{border-color:#6d9575;background:#edf6ed}.study-option.is-answer{border-color:#6f9b76;background:#e6f4e8}.study-option.is-wrong{border-color:#d39889;background:#fff1ed}.study-option.is-answer>span{background:#2c6a51;color:#fff;border-color:#2c6a51}.study-option.is-wrong>span{background:#b76556;color:#fff;border-color:#b76556}.study-hint{color:#899a93;font-size:13px;margin:16px 0 0}.study-feedback{padding:13px 15px;border-radius:10px;margin-top:15px;background:#eef7ed;border-left:3px solid #7ba27e}.study-feedback.is-incorrect{background:#fff5ef;border-color:#c7826e}.study-feedback strong{color:#4a7e50}.study-feedback.is-incorrect strong{color:#a26451}.study-feedback p{color:#5d6e63;margin:5px 0 0;line-height:1.5;font-size:13px}.study-term{padding:12px 14px;border:1px solid #e1e9d8;background:#f5f8ec;border-radius:10px;margin-top:10px}.study-term span{display:block;color:#8c9a78;font-size:10px}.study-term strong{display:block;color:#536e4d;margin:3px 0;font-size:13px}.study-term p{font-size:12px;color:#74816d;margin:0}.study-next{display:flex;justify-content:space-between;width:100%;margin-top:auto;padding:12px 15px;border:0;border-radius:9px;background:#164a42;color:#fff;font-weight:700}.study-side-card{padding:22px;display:flex;flex-direction:column;overflow:auto}.study-side-head{display:flex;align-items:center;justify-content:space-between;color:#193a36}.study-side-head strong{font-size:18px}.study-side-head span{font-size:13px;color:#789088;font-variant-numeric:tabular-nums}.study-side-track{color:#6d8179;font-size:12px;margin:12px 0 20px}.study-side-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #edf1ee;border-bottom:1px solid #edf1ee;padding:16px 0;margin-bottom:20px}.study-side-stats>div{text-align:center}.study-side-stats>div+div{border-left:1px solid #edf1ee}.study-side-stats strong,.study-side-stats span{display:block}.study-side-stats strong{font-size:22px;color:#245c4f}.study-side-stats span{font-size:11px;color:#85968f;margin-top:5px}.study-meter{height:7px;border-radius:7px;background:#e8efea;overflow:hidden}.study-meter span{display:block;height:100%;background:#79a07e;border-radius:7px}.study-side-card>small{color:#8b9a93;font-size:11px;margin-top:8px}.study-side-note{color:#71827b;font-size:12px;line-height:1.6;margin-top:auto;padding-top:20px}.study-side-link{display:block;margin-top:16px;padding:12px;border:1px solid #dce8e0;border-radius:9px;color:#356b5b;font-size:13px;font-weight:750;text-align:center}
.study-room-gate{height:100dvh;display:grid;place-items:center;background:#f5faf7;padding:24px;box-sizing:border-box}.study-room-gate-card{max-width:520px;background:#fff;border:1px solid #dce9e2;border-radius:24px;padding:48px;box-shadow:0 18px 48px rgba(20,74,65,.1)}.study-room-gate-card h1{font-size:32px;color:#173b35;margin:12px 0}.study-room-gate-card p{color:#5f776f;line-height:1.7}.study-room-gate-help{padding:16px;background:#f4f8e9;border-radius:12px}.study-room-gate .study-room-exit{display:inline-block;margin-top:18px;font-weight:800;color:#14564b}
@media(max-width:760px){.study-room-shell{min-height:100dvh}.study-room-toolbar{height:auto;min-height:58px;flex-wrap:wrap;padding:10px 15px;gap:8px}.study-room-toolbar-center{order:3;width:100%;justify-content:space-between}.study-room-toolbar-center select{min-width:0;flex:1}.study-room-main{padding:10px 12px 12px;overflow:hidden}.study-room-grid{grid-template-columns:1fr;gap:10px;overflow:auto}.study-question-card{padding:18px 16px}.study-question-card h1{font-size:20px;margin:16px 0}.study-side-card{padding:15px;min-height:150px}.study-side-note{display:none}.study-side-link{margin-top:12px}.study-room-account{display:none}}
