.q-dialog.student-profile-dialog{width:min(940px,calc(100vw - 28px));max-width:940px;max-height:calc(100dvh - 28px);padding:30px;border-radius:24px;box-sizing:border-box;overflow:auto}
.q-dialog.student-profile-dialog{max-height:calc(100dvh - 144px);overflow:visible}
.q-dialog.student-profile-dialog>:is(.q-content,#island-dialog-content){max-height:calc(100dvh - 208px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e5b271 transparent}
.q-dialog.student-profile-dialog>.q-close{position:absolute;top:-52px;right:8px;z-index:10;float:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #e8a740;border-radius:50%;background:#fff9ef;color:#71350b;font-size:25px;line-height:1;box-shadow:0 4px 16px #38231740}
.sp-practice-house-note{display:none}
@media(max-width:760px), (any-pointer:coarse){
 .sp-practice-create,.sp-practice-create-heading{display:none}
 .sp-practice-house-note{display:block;margin:18px 0;padding:18px;border:1px solid #edca8d;border-radius:16px;background:#fff1cf}
 .student-profile .sp-practice-house-note h3{font-size:20px}
}
.student-profile{color:#442a1e;font-family:var(--brand-body,'Nunito',sans-serif);line-height:1.5;text-align:left}
.student-profile *{box-sizing:border-box}.student-profile button,.student-profile summary,.student-profile input{cursor:pointer}.student-profile button:focus-visible,.student-profile summary:focus-visible,.student-profile a:focus-visible{outline:3px solid #c54c00;outline-offset:4px}
.student-profile h2,.student-profile h3,.student-profile h4{font-family:var(--brand-heading,'Baloo 2',sans-serif);line-height:1.2;margin:0;color:#442a1e}.student-profile h2{font-size:30px}.student-profile h3{font-size:25px}.student-profile h4{font-size:21px}.student-profile p{margin:8px 0 0}.sp-header{display:flex;align-items:center;gap:18px;padding:4px 42px 24px 0}.sp-header p{color:#796453;font-size:14px}.sp-avatar{display:grid;place-items:center;width:70px;height:70px;border:3px solid #fff;border-radius:24px;transform:rotate(-5deg);background:#ffd34d;color:#763a12;box-shadow:0 5px 0 #f7ae20;font-size:38px;font-weight:900;flex:none}.sp-eyebrow{font-size:11px;letter-spacing:2px;font-weight:900;color:#aa4e0a}
.sp-tabs{display:flex;gap:8px;border-bottom:1px solid #eed4b6;margin-bottom:22px;padding-bottom:12px}.student-profile button,.student-profile .sp-button{font:800 14px var(--brand-body,'Nunito',sans-serif);color:#442a1e;padding:11px 18px;min-height:44px;border:1px solid #ebcbaa;background:#fff;border-radius:12px;text-decoration:none}.sp-tabs button{flex:1}.sp-tabs button[aria-pressed=true]{background:#ffd34d;border-color:#e7ab23;box-shadow:0 3px 0 #e7ab23}.sp-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.sp-totals>div{padding:18px 14px;border:1px solid #eed4b6;background:white;border-radius:16px}.sp-totals>div:first-child{background:#fff0d7;border-color:#f2b96d}.sp-totals span{display:block;font-size:12px;font-weight:800;color:#796453}.sp-totals strong{font-size:30px;font-family:var(--brand-heading)}.sp-totals strong small{font:700 13px var(--brand-body);color:#796453}
.sp-section-heading{margin:26px 0 17px}.sp-section-heading p{color:#796453;font-size:14px}.sp-subjects{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sp-subject{border:1px solid #eed4b6;background:white;padding:20px;border-radius:18px;min-width:0}.sp-subject-top{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between}.sp-badge{font-size:11px;font-weight:900;padding:4px 9px;border-radius:16px;background:#fff0d7;color:#884710;white-space:nowrap}.sp-strong .sp-badge{background:#fff0b0}.sp-new .sp-badge{background:#f1ede7;color:#756451}.sp-grade{display:flex;align-items:baseline;gap:10px;margin-top:14px}.sp-grade strong{font:800 32px var(--brand-heading)}.sp-grade span{font-size:12px;color:#796453}.sp-subject meter{width:100%;height:12px;display:block;margin:9px 0 16px;background:#fff0d7;border-radius:8px;border:0}.sp-subject meter::-webkit-meter-bar{background:#fff0d7;border:0}.sp-subject meter::-webkit-meter-optimum-value{background:#f49b21}.sp-subject meter::-moz-meter-bar{background:#f49b21}.sp-subject>p{font-size:14px;color:#796453}.sp-results summary{font-size:13px;font-weight:800;min-height:32px}.sp-results ul{padding:0;margin:8px 0 0;list-style:none}.sp-results li{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:12px 0;border-top:1px solid #f0e1d2;font-size:13px;overflow-wrap:anywhere}.sp-results small{display:block;color:#796453;font-size:11px;margin-top:5px}.sp-results b{font-size:17px;white-space:nowrap}.student-profile .sp-note{font-size:12px;color:#796453;margin-top:18px}.sp-song{border:1px solid #eed4b6;border-radius:18px;background:white;margin-bottom:14px;overflow:hidden}.sp-song>summary{display:flex;align-items:center;gap:15px;list-style:none;padding:20px}.sp-song>summary::-webkit-details-marker{display:none}.sp-song>summary>span:last-child{min-width:0;flex:1}.sp-song strong{font:800 23px var(--brand-heading);display:block;line-height:1.2;overflow-wrap:anywhere}.sp-song small{font-size:12px;color:#796453;display:block;margin:5px 0}.sp-song-icon{width:52px;height:58px;display:grid;place-items:center;background:#fff0d7;border-radius:16px;flex:none;color:#bc580d;font-size:30px}.sp-song-action{color:#ad4e0b;font-size:12px;font-weight:900}.sp-song-body{padding:0 22px 22px}.sp-song-body audio{display:block;width:100%;margin:18px 0 10px}.sp-topic{font-size:13px;overflow-wrap:anywhere}.sp-topic strong{display:inline;font:800 13px var(--brand-body)}.sp-loop{display:flex!important;align-items:center;gap:8px;font-size:13px;min-height:38px;margin-bottom:18px}.sp-loop input{width:18px!important;height:18px!important;accent-color:#f47708;margin:0!important}.sp-lyrics{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9;border-left:3px solid #ffd34d;padding-left:16px}.sp-empty{text-align:center;background:#fff4e3;border:1px dashed #eab879;border-radius:18px;padding:30px 22px;grid-column:1/-1}.sp-empty>span{font-size:46px;color:#d47414}.sp-empty p{max-width:480px;margin:12px auto 20px;font-size:14px;color:#796453}.sp-more{text-align:center;margin:20px 0}.sp-wait{padding:35px 12px;text-align:center;color:#796453}.sp-wait img{object-fit:contain}.sp-loader{display:block;width:80px;height:5px;background:#ffd34d;border-radius:5px;margin:14px auto;animation:sp-pulse 1.2s ease-in-out infinite alternate}.sp-audio-error{font-size:13px;color:#974914}
.student-hud #student-profile{margin-top:6px;font-weight:800}.student-hud #student-profile[hidden]{display:none}.profile-page{margin:0;padding:24px;background:#fff5e5;min-height:100dvh}.profile-page>header{max-width:920px;margin:0 auto 20px;display:flex;align-items:center;justify-content:space-between}.profile-page>header a{color:#93450c;font-weight:800;text-decoration:none}.profile-page>main{max-width:920px;margin:auto;background:#fffaf2;padding:30px;border:1px solid #eed4b6;border-radius:24px}
@keyframes sp-pulse{to{opacity:.35;transform:scaleX(.6)}}@media(prefers-reduced-motion:reduce){.sp-loader{animation:none}}
@media(max-width:600px){.q-dialog.student-profile-dialog{padding:20px 16px}.student-profile h2{font-size:26px}.sp-header{gap:12px;padding-right:32px}.sp-avatar{width:49px;height:49px;border-radius:16px;font-size:28px}.sp-totals{grid-template-columns:1fr 1fr;gap:9px}.sp-totals>div{padding:13px}.sp-subjects{grid-template-columns:1fr}.sp-tabs{gap:7px}.sp-tabs button{padding:10px 8px;font-size:13px}.sp-song>summary{padding:16px;gap:12px}.sp-song strong{font-size:21px}.sp-song-icon{width:42px;height:49px}.sp-song-body{padding:0 16px 18px}.profile-page{padding:12px}.profile-page>main{padding:20px 14px}.student-hud #student-profile{font-size:11px;padding:7px 10px;min-height:34px}}

/* Student plan status stays visible without competing with the profile tabs. */
.sp-header>div{min-width:0}.sp-header h2,.sp-header p{overflow-wrap:anywhere}.sp-avatar img{width:68%;height:68%}
.sp-account{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 24px;padding:14px 16px;border:1px solid #efcf9b;border-radius:16px;background:#fff2d8}
.sp-wallet{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;flex:1;font:800 16px var(--brand-body,'Nunito',sans-serif);color:#7a3f0b}.sp-wallet>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.sp-wallet .coin-icon{width:24px;height:24px;vertical-align:middle}.sp-aura{color:#986023}
.student-profile [data-profile-signout]{background:transparent;border-color:#e5c6a0;padding:8px 12px;font-size:12px}.sp-account-status:empty{display:none}.sp-account-status{width:100%;font-size:13px}.sp-demo-note{font-size:12px;color:#8b6244}
@media(max-width:600px){.sp-tabs{display:grid;grid-template-columns:1fr 1fr}.sp-header{padding-right:0}.sp-account{padding:12px}.sp-wallet{font-size:14px}}
.sp-trial{display:grid;grid-template-columns:36px minmax(0,1fr);gap:11px;align-items:center;margin:-8px 0 20px;padding:12px 15px;border:1px solid #e8b83e;border-radius:15px;background:linear-gradient(135deg,#fff9df,#fff0b7);color:#70430d}.sp-trial>span{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#ffd34d;color:#8d4a06;font-size:21px;font-weight:900}.sp-trial strong{display:block;font:800 16px var(--brand-heading,'Baloo 2',sans-serif)}.sp-trial p{margin:1px 0 0;color:#765421;font-size:13px}.sp-trial.is-inactive{border-color:#dfc8b5;background:#fff5eb;color:#754a32}.sp-trial.is-inactive>span{background:#f0dfcf;color:#9b5c36}.sp-trial.is-inactive p{color:#765d4c}.sp-trial-inline{margin:0 0 18px}
@media(max-width:600px){.sp-trial{grid-template-columns:31px minmax(0,1fr);gap:9px;padding:11px 12px}.sp-trial>span{width:31px;height:31px;border-radius:10px;font-size:18px}.sp-trial strong{font-size:15px}}
