/* My Account only: shared dashboard and modal geometry stay unchanged. */
.teacherMyAccountOpen{overflow:hidden!important}
.studentManagerUi #teacherMyAccountBtn.tmaLaunch{display:grid;place-items:center;flex:none;width:40px;min-width:40px;height:40px;padding:1px;border:0;border-radius:50%;background:#fff;color:#10203d;cursor:pointer;margin:0 0 0 auto;box-shadow:0 0 0 1px #b8dce5,0 2px 6px #16849c15}
.tmaLaunch img{width:38px;height:38px;display:block;border-radius:50%;object-fit:cover}
.studentManagerUi .studentHeaderPrimaryActions.tmaHeaderActions{min-width:0;gap:4px}
.studentManagerUi .studentHeaderPrimaryActions.tmaHeaderActions>.navIconBtn,.studentManagerUi .studentHeaderPrimaryActions.tmaHeaderActions>.feedbackBtn{flex-shrink:1;min-width:32px;padding-left:7px;padding-right:7px}
.studentManagerUi #teacherMyAccountBtn+#studentToolsBtn{margin-left:0}
.tmaOverlay{position:fixed;inset:0;z-index:8800;overflow-y:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at top left,#f8faff,transparent 65%),#edf2ff;color:#111b49;font-family:Arial,sans-serif;padding:env(safe-area-inset-top) max(12px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));box-sizing:border-box}
.tmaOverlay *{box-sizing:border-box}
.tmaPage{max-width:860px;margin:0 auto;padding:18px 0 24px}
.tmaHeader{display:flex;align-items:center;gap:10px;margin:0 0 14px}
.tmaHeader h1{font-size:clamp(26px,5.4vw,38px);line-height:1.1;margin:0;font-weight:750;letter-spacing:-.6px}
.tmaHeader button{display:flex;align-items:center;justify-content:center;flex:none;width:36px;min-width:36px;height:36px;margin:0;padding:0;border:1px solid #dce5ef;border-radius:50%;background:#ffffffb3;color:#152044;cursor:pointer;line-height:1}
.tmaHeader button .tmaIcon{width:21px;height:21px;color:inherit;stroke-width:2.1}
.tmaContent{display:grid;gap:13px}
.tmaProfile{display:grid;grid-template-columns:100px 1fr;column-gap:22px;row-gap:10px;padding:20px;border:1px solid #fff;background:#fffffff2;border-radius:18px;box-shadow:0 4px 18px #7183a008}
.tmaAvatar{width:100px;height:100px;object-fit:cover;border-radius:50%;grid-row:span 2;align-self:center;background:#deebff}
.tmaAvatarButton{position:relative;grid-row:span 2;align-self:center;width:100px;height:100px;display:block;border:0;margin:0;padding:0;background:transparent;border-radius:50%;cursor:pointer}
.tmaAvatarButton .tmaAvatar{display:block;width:100%;height:100%}
.tmaCamera{position:absolute;bottom:0;right:0;width:24px;height:24px;display:grid;place-items:center;background:#fff;border:1px solid #d5e4ed;border-radius:50%}
.tmaCamera .tmaIcon{width:14px;height:14px;color:#21718a}.tmaAvatarButton[aria-busy=true]{opacity:.6;cursor:progress}
.tmaIdentity h2{font-size:26px;line-height:1.2;margin:0 0 5px;font-weight:750}
.tmaIdentity p{margin:0;color:#566993;font-size:18px}
.tmaStats{display:grid;grid-template-columns:1.25fr .65fr 1fr;gap:12px;align-items:start}
.tmaStats>div{display:flex;align-items:flex-start;gap:9px;min-width:0}
.tmaStats>div+div{border-left:1px solid #d6def0;padding-left:14px}
.tmaStats .tmaIcon{width:25px;height:25px;flex:none;margin-top:2px}
.tmaStats strong{display:block;font-size:20px;line-height:1.2;font-weight:750;overflow-wrap:anywhere}
.tmaStats small{display:block;color:#5c6e94;margin-top:3px;font-size:13px}
.tmaTabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tmaTabs button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:48px;border:1px solid #dce4f3;border-radius:13px;background:#ffffff90;color:#62739b;font-size:17px;font-weight:500}
.tmaTabs button[aria-selected=true]{background:#dff4f9;border-color:#cbe8ee;color:#087f9f;font-weight:700}
.tmaTabs button:disabled{cursor:default;opacity:.8}
.tmaTabs .tmaIcon{width:23px;height:23px}
.tmaIcon{width:19px;height:19px;display:inline-block;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#566892}
.tmaTabs [aria-selected=true] .tmaIcon{color:#0782a1}
.tmaNotice,.tmaLoading{margin:0;padding:16px;background:#ffffffb5;border:1px solid #dce6f3;border-radius:13px;color:#5a6b88;font-size:14px;line-height:1.5}
.tmaNotice button{display:block;margin-top:12px;border:1px solid #b8dce5;border-radius:8px;background:#fff;color:#087e96;padding:10px 18px}
.tmaNotice+.tmaLevels{margin-top:13px}
.tmaLevels{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.tmaLevel{min-width:0}
.tmaLevelCard{min-width:0;display:grid;grid-template-columns:78px 1fr;gap:18px;align-items:center;padding:15px 18px;border:1px solid #dde6ef;border-radius:16px;background:#ffffffcb;box-shadow:0 3px 12px #52649105}
.tma-achieved .tmaLevelCard{background:linear-gradient(110deg,#f8fffc,#fcfffd);border-color:#d6e9e3}
.tma-current .tmaLevelCard{border:1.5px solid #00a8bf;background:linear-gradient(110deg,#ecfbfc,#f5fbff);box-shadow:0 3px 16px #008aa80b;padding:14.5px 17.5px}
.tmaBadgeWrap{position:relative;align-self:center;justify-self:center;width:78px}
.tmaBadge{display:block;width:100%;height:auto;filter:drop-shadow(0 2px 2px #21394e24)}
.tmaBadgeLock{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:23px;height:23px;border:1px solid #e2e6ec;background:#f9fafc;border-radius:50%;box-shadow:0 1px 3px #6b728015}
.tmaBadgeLock .tmaIcon{width:13px;height:13px;color:#8995a8}
.tmaLevelCopy{min-width:0}
.tmaLevelTitle{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:8px}
.tmaLevelTitle h3{font-size:20px;line-height:1.2;letter-spacing:-.25px;margin:0;font-weight:700;min-width:0;overflow-wrap:anywhere}
.tmaCurrent,.tmaLockedLabel{flex:none;font-size:11px;font-weight:700;white-space:nowrap}
.tmaCurrent{background:#ceeff7;border-radius:12px;padding:4px 9px;color:#087f9b}
.tmaLockedLabel{color:#8c97a7;font-weight:500}
.tmaRequirements{display:flex;align-items:center;flex-wrap:wrap;gap:7px 20px;color:#52628d;font-size:15px;line-height:1.25}
.tmaRequirements>span{display:flex;align-items:center;gap:8px}
.tmaRequirements>span+span{border-left:1px solid #d2dced;padding-left:18px}
.tmaBenefits{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:10px;color:#52658d;font-size:13px;line-height:1.35}
.tmaBenefit{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%}
.tmaBenefit>span{white-space:nowrap}
.tmaBenefitLong{flex-basis:100%}.tmaBenefitLong>span{white-space:normal;overflow-wrap:anywhere}
.tmaBenefit .tmaIcon{color:#087a9d}.tmaBenefit .tmaLeaveIcon{color:#d13d55}
.tmaBenefit .tmaRevenueIcon{color:#188253}.tmaBenefit .tmaCertificateIcon{color:#ac7a23}
.tmaBenefitAmount{white-space:nowrap}
.tmaApproval{display:flex;align-items:center;gap:8px;margin-top:8px;color:#647292;font-size:13px}
.tma-locked .tmaLevelCard,.tma-approval_required .tmaLevelCard,.tma-unverified .tmaLevelCard{background:#f7f8fce6;border-color:#e3e7ef;box-shadow:none}
.tma-locked .tmaBadge,.tma-approval_required .tmaBadge,.tma-unverified .tmaBadge{filter:grayscale(1);opacity:.5}
.tma-locked .tmaLevelCopy,.tma-approval_required .tmaLevelCopy,.tma-unverified .tmaLevelCopy{color:#737f96}
.tma-locked .tmaLevelTitle h3,.tma-approval_required .tmaLevelTitle h3,.tma-unverified .tmaLevelTitle h3{color:#63718a}
.tma-locked .tmaBenefits,.tma-locked .tmaRequirements,.tma-locked .tmaIcon,.tma-locked .tmaApproval,.tma-approval_required .tmaBenefits,.tma-approval_required .tmaRequirements,.tma-approval_required .tmaIcon,.tma-approval_required .tmaApproval,.tma-unverified .tmaBenefits,.tma-unverified .tmaRequirements,.tma-unverified .tmaIcon,.tma-unverified .tmaApproval{color:#69768c}
.tmaOverlay button:focus-visible,.tmaLaunch:focus-visible{outline:3px solid #168fa8;outline-offset:3px}
@media(max-width:600px){
 .tmaPage{padding-top:12px}.tmaHeader{margin-bottom:12px}.tmaContent{gap:11px}
 .tmaProfile{grid-template-columns:62px 1fr;column-gap:12px;row-gap:8px;padding:14px;border-radius:15px}
 .tmaAvatar{width:62px;height:62px;grid-row:auto}.tmaIdentity{align-self:center}.tmaIdentity h2{font-size:20px;margin-bottom:4px}.tmaIdentity p{font-size:12px}
 .tmaAvatarButton{width:62px;height:62px;grid-row:auto}.tmaCamera{width:20px;height:20px}.tmaCamera .tmaIcon{width:12px;height:12px}
 .tmaStats{grid-column:1/-1;grid-template-columns:1.35fr .65fr 1fr;gap:6px}.tmaStats>div{gap:5px}.tmaStats>div+div{padding-left:7px}
 .tmaStats .tmaIcon{width:17px;height:17px;margin-top:0}.tmaStats strong{font-size:13px}.tmaStats>div:first-child strong{font-size:12px}.tmaStats>div:last-child strong{font-size:12px}.tmaStats small{font-size:9.5px;margin-top:3px}
 .tmaTabs{gap:8px}.tmaTabs button{min-height:42px;font-size:13px;gap:6px;border-radius:10px;padding:5px}.tmaTabs .tmaIcon{width:17px;height:17px}
 .tmaLevels{gap:8px}.tmaLevelCard{grid-template-columns:44px 1fr;gap:11px;padding:9px 10px;border-radius:12px}.tma-current .tmaLevelCard{padding:8.5px 9.5px}
 .tmaBadgeWrap{width:44px}.tmaBadgeLock{width:17px;height:17px}.tmaBadgeLock .tmaIcon{width:10px;height:10px}
 .tmaLevelTitle{gap:5px;margin-bottom:5px}.tmaLevelTitle h3{font-size:13px;letter-spacing:-.15px}.tmaCurrent{font-size:8px;padding:3px 5px}.tmaLockedLabel{font-size:8px}
 .tmaRequirements{gap:6px 14px;font-size:10.5px}.tmaRequirements>span{gap:5px}.tmaRequirements>span+span{padding-left:12px}.tmaRequirements .tmaIcon{width:13px;height:13px}
 .tmaBenefits{font-size:10px;line-height:1.4;margin-top:7px;gap:7px 12px}.tmaBenefit{gap:5px}.tmaBenefit .tmaIcon{width:13px;height:13px}
 .tmaBenefitAmount{white-space:nowrap}
 .tmaApproval{font-size:10px;gap:5px;margin-top:7px}.tmaApproval .tmaIcon{width:14px;height:14px}
}
@media(max-width:350px){
 .tmaOverlay{padding-left:9px;padding-right:9px}.tmaProfile{grid-template-columns:48px 1fr;padding:12px;column-gap:9px}.tmaAvatar{width:48px;height:48px}.tmaIdentity h2{font-size:18px}
 .tmaAvatarButton{width:48px;height:48px}
 .tmaStats{gap:4px}.tmaStats>div{gap:4px}.tmaStats>div+div{padding-left:6px}.tmaStats .tmaIcon{width:15px;height:15px}.tmaStats>div:first-child strong{font-size:10.5px}.tmaStats strong{font-size:12px}.tmaStats>div:last-child strong{font-size:10.5px}.tmaStats small{font-size:9px}
 .tmaLevelCard{grid-template-columns:44px 1fr;gap:9px;padding:11px 9px}.tma-current .tmaLevelCard{padding:10.5px 8.5px}.tmaBadgeWrap{width:44px}.tmaLevelTitle h3{font-size:12px}.tmaCurrent{font-size:7px}
 .tmaBenefits{font-size:9px;column-gap:10px}.tmaBenefit{gap:4px}.tmaBenefit .tmaIcon{width:12px;height:12px}.tmaRequirements{font-size:10px;gap:6px 10px}.tmaRequirements>span+span{padding-left:9px}
}
.tmaLevelLeave{grid-column:1/-1;display:flex;align-items:center;gap:6px;border-top:1px solid #e5ebf3;padding-top:8px;min-width:0;color:#52658d;font-size:12px;line-height:1.5}.tmaLevelLeave>span{white-space:nowrap}.tmaLevelLeave .tmaIcon{width:15px;height:15px;color:#b54c62}.tmaBenefits:empty{display:none}.tma-locked .tmaLevelLeave,.tma-unverified .tmaLevelLeave,.tma-approval_required .tmaLevelLeave{color:#69768c}@media(max-width:600px){.tmaLevelLeave{font-size:10px;gap:5px;padding-top:7px}.tmaLevelLeave .tmaIcon{width:12px;height:12px}}@media(max-width:350px){.tmaLevelLeave{font-size:9px;gap:4px}}
