/* Server-backed personal classrooms. Demo workspace styles remain separate. */
.account-space .nav a{min-height:48px}.account-space .topbar{gap:18px;flex-wrap:wrap;height:auto;min-height:82px;padding-top:16px;padding-bottom:16px}.account-user{display:flex;align-items:center;gap:18px;min-width:0;margin-left:auto}.account-user>span{overflow-wrap:anywhere;max-width:360px}.account-user .btn{min-height:44px;white-space:nowrap}.account-space .page-head h1{overflow-wrap:anywhere}.account-space .account-demo-link{color:#d6e2ff;display:inline-flex;padding:12px 0;min-height:44px}.account-space .side-note{margin-bottom:10px}.account-actions{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}.account-class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.account-class-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;margin:0}.account-class-card h2{margin:0;overflow-wrap:anywhere}.account-class-card p{margin:0;overflow-wrap:anywhere}.account-class-card .btn{margin-top:auto}.account-form-panel{max-width:760px}.account-form-panel input,.account-form-panel select{font-size:16px;min-height:48px;width:100%;min-width:0}.account-form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.account-invite{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:start}.account-invite p{overflow-wrap:anywhere}.account-invite>.help,.account-invite>#space-error,.account-invite>#space-status{grid-column:1/-1;margin:0}.account-invite .account-actions{flex-direction:column}.account-invite-code{font-size:clamp(24px,3vw,38px);display:block;letter-spacing:.12em;color:#203663;background:#edf2fc;padding:18px;border-radius:12px;width:fit-content;max-width:100%;user-select:all;overflow-wrap:anywhere}.account-roster{list-style:none;padding:0;margin:18px 0 0}.account-roster li{padding:16px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;overflow-wrap:anywhere}.account-roster li>*{min-width:0}.account-roster span{color:#61708a}.account-profile{max-width:760px}.account-profile dl{margin:0}.account-profile dl>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}.account-profile dt{color:#61708a}.account-profile dd{margin:0;font-weight:600;overflow-wrap:anywhere}.account-stage-note{margin-top:26px;font-size:14px;line-height:1.7}.account-success{padding:16px;border:1px solid #b4d5c3;background:#eff8f2;color:#23513a;border-radius:12px}.account-space .error:empty,.account-space #space-status:empty{display:none}.account-space .btn:disabled{opacity:.65;cursor:wait}
@media(max-width:1000px){.account-class-grid{grid-template-columns:1fr}.account-invite{grid-template-columns:1fr}.account-invite .account-actions{flex-direction:row}.account-user>span{max-width:240px}}
@media(max-width:640px){.account-space .sidebar{padding:20px}.account-space .sidebar .nav{display:flex;gap:8px;overflow-x:auto}.account-space .nav a{white-space:nowrap;padding:12px}.account-space .side-bottom{display:none}.account-space .topbar{padding:16px 20px}.account-user{width:100%;justify-content:space-between;margin:0}.account-user>span{max-width:65%}.account-space .page-head h1{font-size:30px}.account-form-row{grid-template-columns:1fr;gap:0}.account-profile dl>div{grid-template-columns:1fr;gap:5px}.account-invite-code{font-size:24px;letter-spacing:.08em;padding:14px}.account-roster li{flex-direction:column;gap:5px}.account-actions .btn{flex-grow:1}.account-space .panel{padding:22px}}

.account-space .footer{flex-wrap:wrap;gap:12px 20px}
