/* Coding Classroom v0.9.2 — persistent student accounts + classroom management */
.student-account-card{margin-bottom:18px;padding:20px;border:1px solid #c9def2;border-radius:16px;background:linear-gradient(145deg,#f9fcff,#eef7ff);box-shadow:0 10px 28px rgba(26,76,126,.06)}
.student-account-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.student-account-heading h2{margin:3px 0 4px;color:#143e6b}.student-account-heading p:not(.eyebrow){margin:0;max-width:760px;color:#58718a;line-height:1.65}.account-server-badge{flex:none;padding:7px 10px;border-radius:999px;background:#e2f7ee;color:#187152;font-size:.78rem;font-weight:800}
.student-auth-grid{display:grid;grid-template-columns:minmax(270px,.8fr) minmax(360px,1.2fr);gap:14px}.student-auth-form{display:grid;gap:11px;padding:16px;border:1px solid #d6e4f1;border-radius:13px;background:#fff}.student-auth-form h3{margin:0;color:#183f6a}.student-register-box{border:1px solid #d6e4f1;border-radius:13px;background:#fff;overflow:hidden}.student-register-box>summary{cursor:pointer;padding:16px;font-weight:750;color:#245b95}.student-register-box[open]>summary{border-bottom:1px solid #e3ebf3}.student-register-box .student-auth-form{border:0;border-radius:0}.student-auth-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.student-account-live{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #cde5db;border-radius:13px;background:#f5fcf9}.student-account-live>div:first-child{display:flex;align-items:center;gap:11px;min-width:0}.student-account-live>div:first-child>div{display:grid;gap:2px}.student-account-live strong{color:#164c3d}.student-account-live span,.student-account-live small{color:#57776e}.account-avatar{display:grid!important;place-items:center;width:40px;height:40px;border-radius:12px;background:#d8f3e8;color:#147253!important;font-weight:900}.student-account-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.student-account-actions>span{font-size:.78rem}.student-account-rooms{margin-top:14px}.student-account-rooms h3{margin:0 0 8px;font-size:.95rem;color:#274d74}.student-room-list{display:flex;gap:8px;flex-wrap:wrap}.student-room-chip{display:grid;gap:2px;min-width:170px;padding:10px 12px;border:1px solid #cfdfee;border-radius:10px;background:#fff;color:#315676;text-align:left;cursor:pointer}.student-room-chip:hover,.student-room-chip.is-active{border-color:#6ca9ea;background:#edf6ff}.student-room-chip span{font-weight:750}.student-room-chip small{color:#70879a}
.room-delete-btn{min-height:40px;padding:8px 11px;border:1px solid #e5b4ad;border-radius:8px;background:#fff4f2;color:#a43f34;font:inherit;font-size:.8rem;font-weight:700;cursor:pointer}.room-delete-btn:hover{background:#ffe9e5}.room-member-row{display:grid!important;grid-template-columns:minmax(150px,1.1fr) minmax(120px,.8fr) minmax(180px,1.2fr) auto;gap:9px;align-items:center}.room-member-row>span:first-child{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.room-member-row>span:first-child small{width:100%;color:#7890a5}.account-badge{font-style:normal;font-size:.68rem;padding:3px 6px;border-radius:999px;background:#e4f6ef;color:#1f7258}.mini-reset-pin{min-height:34px;padding:6px 9px;border:1px solid #cddced;border-radius:7px;background:#fff;color:#345e88;font:inherit;font-size:.75rem;cursor:pointer;white-space:nowrap}
@media(max-width:850px){.student-auth-grid{grid-template-columns:1fr}.student-account-live{align-items:flex-start;flex-direction:column}.student-account-actions{justify-content:flex-start}.room-member-row{grid-template-columns:1fr 1fr}.room-member-row .mini-reset-pin{justify-self:start}}
@media(max-width:560px){.student-account-card{padding:14px}.student-account-heading{display:block}.account-server-badge{display:inline-flex;margin-top:9px}.student-auth-two{grid-template-columns:1fr}.room-member-row{grid-template-columns:1fr}.student-room-chip{width:100%}}
.student-pin-settings{margin-top:12px;border-top:1px solid #dbe7f1;padding-top:10px}.student-pin-settings>summary{cursor:pointer;color:#315d88;font-weight:700}.student-pin-settings .student-auth-form{margin-top:10px;max-width:620px}
