/* TraderDaniel Academy — private student experience v0.3.0. */
html { scroll-behavior: smooth; scroll-padding-top: calc(94px + var(--tda-admin-bar-offset, 0px)); }
body.tda-student-dashboard-page { margin: 0; min-width: 320px; background: #f4f7ff; color: var(--tda-color-text); }
.tda-student-app { min-height: 100vh; background: radial-gradient(circle at 10% 0%, rgba(109,74,255,.10), transparent 26rem), radial-gradient(circle at 90% 6%, rgba(24,189,232,.10), transparent 24rem), #f5f7fd; font-family: var(--tda-font-sans); color: var(--tda-color-text); }
.tda-student-app *, .tda-student-app *::before, .tda-student-app *::after { box-sizing: border-box; }
.tda-student-container { width: min(calc(100% - 48px), 1240px); margin-inline: auto; }
.tda-student-header { position: sticky; top: var(--tda-admin-bar-offset, 0px); z-index: 100; border-bottom: 1px solid rgba(35,44,78,.10); background: rgba(248,250,255,.86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.tda-student-header__inner { display: grid; grid-template-columns: minmax(210px,1fr) auto minmax(240px,1fr); align-items: center; gap: 1.5rem; min-height: 78px; }
.tda-student-brand { display: inline-flex; align-items: center; gap: .72rem; width: fit-content; color: var(--tda-color-text); text-decoration: none; }
.tda-student-brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--tda-gradient-brand); box-shadow: 0 12px 26px rgba(109,74,255,.24); color: #fff; font-size: .72rem; font-weight: 900; letter-spacing: -.04em; }
.tda-student-brand > span:last-child { display: grid; line-height: 1.05; }
.tda-student-brand strong { font-size: .94rem; letter-spacing: -.025em; }
.tda-student-brand small { margin-top: .22rem; color: var(--tda-color-muted); font-size: .62rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.tda-student-nav { display: flex; align-items: center; gap: 1.6rem; }
.tda-student-nav a { position: relative; padding: 1.75rem 0; color: var(--tda-color-muted); font-size: .84rem; font-weight: 720; text-decoration: none; }
.tda-student-nav a::after { content: ""; position: absolute; right: 100%; bottom: 1.18rem; left: 0; height: 2px; border-radius: 3px; background: var(--tda-gradient-brand); transition: right .22s ease; }
.tda-student-nav a:hover, .tda-student-nav a:focus-visible, .tda-student-nav a.is-active { color: var(--tda-color-text); }
.tda-student-nav a:hover::after, .tda-student-nav a:focus-visible::after, .tda-student-nav a.is-active::after { right: 0; }
.tda-student-user { justify-self: end; display: flex; align-items: center; gap: .65rem; }
.tda-student-user__avatar { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(109,74,255,.18); border-radius: 50%; background: linear-gradient(145deg,#fff,#edf1ff); color: var(--tda-color-primary-strong); font-size: .72rem; font-weight: 850; }
.tda-student-user__copy { display: grid; line-height: 1.18; }
.tda-student-user__copy strong { max-width: 120px; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.tda-student-user__copy span { color: var(--tda-color-muted); font-size: .66rem; }
.tda-student-logout { padding: .55rem .75rem; border: 1px solid var(--tda-color-border); border-radius: 10px; color: var(--tda-color-muted); font-size: .72rem; font-weight: 750; text-decoration: none; }
.tda-student-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--tda-color-border); border-radius: 12px; background: #fff; }
.tda-student-menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--tda-color-text); }
.tda-student-main { padding: clamp(1.35rem,3vw,2.5rem) 0 4.5rem; }
.tda-student-notice { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding: .9rem 1rem .9rem 1.15rem; border: 1px solid; border-radius: 14px; font-size: .9rem; font-weight: 650; scroll-margin-top: calc(94px + var(--tda-admin-bar-offset, 0px)); }
.tda-student-notice__dismiss { flex: 0 0 auto; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: rgba(255,255,255,.58); color: currentColor; cursor: pointer; font: inherit; font-size: 1.2rem; line-height: 1; }
.tda-student-notice__dismiss:hover,.tda-student-notice__dismiss:focus-visible { background: rgba(255,255,255,.9); outline: 2px solid currentColor; outline-offset: 2px; }
.tda-student-notice--success { border-color: rgba(19,138,97,.22); background: var(--tda-color-success-soft); color: #096744; }
.tda-student-notice--info { border-color: rgba(23,109,165,.20); background: var(--tda-color-info-soft); color: #135d8e; }
.tda-student-notice--error { border-color: rgba(189,52,75,.20); background: var(--tda-color-danger-soft); color: #9f263b; }
.tda-student-welcome { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding: clamp(1.65rem,3.2vw,2.55rem); overflow: hidden; border: 1px solid rgba(255,255,255,.85); border-radius: 28px; background: radial-gradient(circle at 92% 12%,rgba(24,189,232,.15),transparent 30%),radial-gradient(circle at 12% 10%,rgba(109,74,255,.18),transparent 34%),rgba(255,255,255,.82); box-shadow: var(--tda-shadow-md); backdrop-filter: blur(20px); }
.tda-student-welcome__copy { max-width: 780px; }
.tda-student-eyebrow { color: var(--tda-color-primary-strong); font-size: .69rem; font-weight: 850; letter-spacing: .145em; text-transform: uppercase; }
.tda-student-welcome h1 { margin: .7rem 0 .8rem; font-size: clamp(2rem,4.4vw,4rem); font-weight: 650; line-height: 1.02; letter-spacing: -.055em; }
.tda-student-welcome p { max-width: 700px; margin: 0; color: var(--tda-color-muted); font-size: 1.02rem; line-height: 1.7; }
.tda-student-welcome__signal { display: inline-flex; align-items: center; gap: .55rem; flex: 0 0 auto; padding: .65rem .85rem; border: 1px solid rgba(19,138,97,.16); border-radius: 999px; background: rgba(255,255,255,.72); color: #147451; font-size: .72rem; font-weight: 750; }
.tda-student-welcome__signal span { width: 8px; height: 8px; border-radius: 50%; background: var(--tda-color-success); box-shadow: 0 0 0 5px rgba(19,138,97,.09); }
.tda-student-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .9rem; margin-top: 1rem; }
.tda-student-stats article { display: grid; gap: .32rem; min-height: 142px; padding: 1.3rem; border: 1px solid var(--tda-color-border); border-radius: 20px; background: rgba(255,255,255,.86); box-shadow: var(--tda-shadow-sm); }
.tda-student-stats span { color: var(--tda-color-muted); font-size: .75rem; font-weight: 700; }
.tda-student-stats strong { align-self: end; font-size: 2.25rem; font-weight: 650; letter-spacing: -.05em; }
.tda-student-stats small { color: var(--tda-color-muted); font-size: .7rem; }
.tda-student-section { padding-top: clamp(2.8rem,5vw,4.6rem); scroll-margin-top: calc(94px + var(--tda-admin-bar-offset, 0px)); }
.tda-student-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.tda-student-section__heading h2 { margin: .45rem 0 0; font-size: clamp(1.75rem,3vw,2.6rem); font-weight: 650; line-height: 1.1; letter-spacing: -.045em; }
.tda-student-section__heading > span { color: var(--tda-color-muted); font-size: .78rem; font-weight: 700; }
.tda-continue-card { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); overflow: hidden; border: 1px solid var(--tda-color-border); border-radius: 26px; background: #fff; box-shadow: var(--tda-shadow-md); }
.tda-continue-card__visual, .tda-student-course-card__image { position: relative; min-height: 270px; background-image: linear-gradient(145deg,rgba(20,26,51,.10),rgba(109,74,255,.22)),var(--tda-course-image,linear-gradient(135deg,#151a34,#704cff 55%,#19bde8)); background-position: center; background-size: cover; }
.tda-continue-card__visual::after, .tda-student-course-card__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top,rgba(15,19,40,.38),transparent 60%); }
.tda-continue-card__visual > span, .tda-student-course-card__image > span { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .48rem .7rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(12,17,38,.62); color: #fff; font-size: .66rem; font-weight: 800; backdrop-filter: blur(10px); }
.tda-continue-card__content { display: grid; align-content: center; gap: 1.45rem; padding: clamp(1.5rem,4vw,3rem); }
.tda-continue-card h3 { margin: .45rem 0 .6rem; font-size: clamp(1.7rem,3vw,2.7rem); font-weight: 650; line-height: 1.08; letter-spacing: -.045em; }
.tda-continue-card p { margin: 0; color: var(--tda-color-muted); line-height: 1.65; }
.tda-continue-card .tda-button { justify-self: start; }
.tda-course-progress { display: grid; gap: .55rem; }
.tda-course-progress > div:first-child { display: flex; justify-content: space-between; gap: 1rem; color: var(--tda-color-muted); font-size: .77rem; font-weight: 700; }
.tda-course-progress > div:first-child strong { color: var(--tda-color-text); }
.tda-course-progress__track { height: 9px; overflow: hidden; border-radius: 999px; background: rgba(40,48,83,.09); }
.tda-course-progress__track span { display: block; height: 100%; border-radius: inherit; background: var(--tda-gradient-brand); }
.tda-course-progress small { color: var(--tda-color-muted); font-size: .7rem; }
.tda-student-course-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.tda-student-course-grid--enrolled { grid-template-columns: repeat(2,minmax(0,1fr)); }
.tda-student-course-card--enrolled { display: grid; grid-template-columns: 150px minmax(0,1fr); min-height: 205px; }
.tda-student-course-card--enrolled .tda-student-course-card__image { min-height: 100%; }
.tda-student-course-card--enrolled .tda-student-course-card__body { align-content: center; }
.tda-student-course-card { overflow: hidden; border: 1px solid var(--tda-color-border); border-radius: 22px; background: #fff; box-shadow: var(--tda-shadow-sm); transition: transform .2s ease,box-shadow .25s ease; }
.tda-student-course-card:hover { transform: translateY(-4px); box-shadow: var(--tda-shadow-md); }
.tda-student-course-card__image { display: block; min-height: 188px; }
.tda-student-course-card__body { display: grid; gap: .9rem; padding: 1.2rem; }
.tda-student-course-card__meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--tda-color-muted); font-size: .67rem; font-weight: 750; text-transform: capitalize; }
.tda-student-course-card h3 { margin: 0; font-size: 1.17rem; line-height: 1.28; letter-spacing: -.025em; }
.tda-student-course-card h3 a { color: var(--tda-color-text); text-decoration: none; }
.tda-student-course-card p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--tda-color-muted); font-size: .82rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.tda-course-progress--compact { gap: .45rem; }
.tda-course-progress--compact .tda-course-progress__track { height: 7px; }
.tda-student-text-link { color: var(--tda-color-primary-strong); font-size: .78rem; font-weight: 800; text-decoration: none; }
.tda-enroll-form { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .2rem; }
.tda-enroll-form .tda-button { flex: 1 1 140px; min-height: 44px; padding: .65rem .85rem; font-size: .75rem; }
.tda-enroll-form button:disabled { cursor: wait; opacity: .68; transform: none; }
.tda-student-empty { padding: clamp(1.5rem,4vw,2.5rem); border: 1px dashed rgba(109,74,255,.24); border-radius: 22px; background: rgba(255,255,255,.72); text-align: center; }
.tda-student-empty h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.tda-student-empty p { margin: 0 0 1rem; color: var(--tda-color-muted); }
.tda-student-empty--critical { max-width: 760px; margin: 8vh auto; }
.tda-student-empty--critical h1 { margin: .7rem 0; font-size: clamp(2rem,5vw,3.6rem); line-height: 1.05; letter-spacing: -.05em; }
.tda-student-resource-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.tda-student-resource-grid article { position: relative; min-height: 230px; padding: 1.4rem; overflow: hidden; border: 1px solid var(--tda-color-border); border-radius: 22px; background: linear-gradient(145deg,#fff,#f3f6ff); }
.tda-student-resource-grid h3 { margin: 1.4rem 0 .55rem; font-size: 1.25rem; }
.tda-student-resource-grid p { margin: 0; color: var(--tda-color-muted); font-size: .86rem; line-height: 1.6; }
.tda-student-resource-grid small { position: absolute; right: 1.2rem; bottom: 1.15rem; color: var(--tda-color-primary-strong); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tda-student-resource-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 14px; background: rgba(109,74,255,.09); color: var(--tda-color-primary-strong); font-size: .72rem; font-weight: 850; }
.tda-student-footer { border-top: 1px solid var(--tda-color-border); background: rgba(255,255,255,.76); }
.tda-student-footer > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; color: var(--tda-color-muted); font-size: .72rem; }
.tda-student-auth { position: relative; display: grid; place-items: center; min-height: 100vh; padding: 2rem; overflow: hidden; background: radial-gradient(circle at 15% 10%,rgba(109,74,255,.22),transparent 28rem),radial-gradient(circle at 85% 12%,rgba(24,189,232,.18),transparent 26rem),linear-gradient(145deg,#f8faff,#eef3ff); }
.tda-student-auth__glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(109,74,255,.12); filter: blur(70px); }
.tda-student-auth__card { position: relative; z-index: 1; width: min(100%,650px); padding: clamp(1.8rem,5vw,3.5rem); border: 1px solid rgba(255,255,255,.85); border-radius: 30px; background: rgba(255,255,255,.82); box-shadow: var(--tda-shadow-lg); backdrop-filter: blur(24px); }
.tda-student-auth__card .tda-student-brand { margin-bottom: 3rem; }
.tda-student-auth__card h1 { margin: .8rem 0 1rem; font-size: clamp(2.2rem,6vw,4.2rem); font-weight: 650; line-height: 1; letter-spacing: -.058em; }
.tda-student-auth__card > p { color: var(--tda-color-muted); font-size: 1rem; line-height: 1.7; }
.tda-student-auth__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.tda-student-auth__note { margin: 2rem 0 0!important; padding-top: 1.2rem; border-top: 1px solid var(--tda-color-border); font-size: .74rem!important; font-weight: 700; }
@media (max-width:1050px) { .tda-student-header__inner { grid-template-columns: 1fr auto; } .tda-student-menu-toggle { display: block; justify-self: end; } .tda-student-nav { position: absolute; top: calc(100% + 1px); right: 24px; left: 24px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .55rem; border: 1px solid var(--tda-color-border); border-radius: 16px; background: #fff; box-shadow: var(--tda-shadow-md); } .tda-student-nav.is-open { display: flex; } .tda-student-nav a { padding: .8rem; border-radius: 10px; } .tda-student-nav a::after { display: none; } .tda-student-nav a:hover { background: var(--tda-color-background-soft); } .tda-student-user { grid-column: 1/-1; display: none; } .tda-student-stats { grid-template-columns: repeat(2,minmax(0,1fr)); } .tda-student-course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .tda-student-course-grid--enrolled { grid-template-columns: 1fr; } }
@media (max-width:760px) { .tda-student-container { width: min(calc(100% - 28px),1240px); } .tda-student-header__inner { min-height: 68px; } .tda-student-brand__mark { width: 38px; height: 38px; } .tda-student-welcome { display: grid; padding: 1.45rem; border-radius: 22px; } .tda-student-welcome__signal { justify-self: start; } .tda-student-stats { grid-template-columns: 1fr 1fr; } .tda-student-stats article { min-height: 120px; padding: 1rem; } .tda-student-stats strong { font-size: 1.8rem; } .tda-continue-card { grid-template-columns: 1fr; } .tda-continue-card__visual { min-height: 210px; } .tda-student-course-grid,.tda-student-resource-grid { grid-template-columns: 1fr; } .tda-student-course-card--enrolled { grid-template-columns: 120px minmax(0,1fr); min-height: 180px; } .tda-student-section__heading { align-items: start; } .tda-student-footer > div { flex-direction: column; } }
@media (max-width:480px) { .tda-student-course-card--enrolled { grid-template-columns: 1fr; } .tda-student-course-card--enrolled .tda-student-course-card__image { min-height: 150px; } .tda-student-stats { grid-template-columns: 1fr; } .tda-student-stats article { min-height: auto; } .tda-student-section { padding-top: 3.4rem; } .tda-student-auth { padding: 1rem; } .tda-student-auth__card { padding: 1.4rem; border-radius: 22px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .tda-student-course-card,.tda-button { transition: none!important; } .tda-student-course-card:hover,.tda-button:hover { transform: none!important; } }


/* Student profile v0.4.3. */
.tda-student-user__profile-link { color: inherit; text-decoration: none; }
.tda-student-user__profile-link:hover strong { color: var(--tda-color-primary-strong); }
.tda-profile-page { padding-bottom: 5rem; }
.tda-profile-hero { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: 2.7rem 0 1.4rem; padding: clamp(2rem,4vw,3.4rem); border: 1px solid rgba(255,255,255,.9); border-radius: 30px; background: radial-gradient(circle at 12% 0,rgba(109,74,255,.14),transparent 34%),radial-gradient(circle at 92% 10%,rgba(24,189,232,.16),transparent 32%),rgba(255,255,255,.8); box-shadow: 0 22px 65px rgba(34,43,89,.1); }
.tda-profile-hero h1 { margin: .5rem 0 .65rem; font-size: clamp(2.8rem,5vw,5rem); line-height: .98; letter-spacing: -.06em; }
.tda-profile-hero p { max-width: 700px; margin: 0; color: #6c748a; line-height: 1.65; }
.tda-profile-identity { display: flex; align-items: center; gap: 1rem; min-width: 280px; padding: 1rem 1.15rem; border: 1px solid rgba(49,58,99,.1); border-radius: 20px; background: rgba(255,255,255,.8); }
.tda-profile-identity > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; background: var(--tda-gradient-brand); color: #fff; font-weight: 900; }
.tda-profile-identity div { display: grid; gap: .25rem; min-width: 0; }
.tda-profile-identity strong,.tda-profile-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tda-profile-identity small { color: #70788e; }
.tda-profile-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(340px,.75fr); gap: 1.25rem; align-items: start; }
.tda-profile-side { display: grid; gap: 1.25rem; }
.tda-profile-card { padding: clamp(1.5rem,3vw,2.3rem); border: 1px solid rgba(45,55,95,.11); border-radius: 26px; background: rgba(255,255,255,.9); box-shadow: 0 18px 50px rgba(34,43,89,.075); }
.tda-profile-card__heading { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.7rem; }
.tda-profile-card__number { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px; background: rgba(109,74,255,.1); color: var(--tda-color-primary-strong); font-size: .75rem; font-weight: 900; }
.tda-profile-card__heading h2 { margin: 0 0 .35rem; font-size: clamp(1.45rem,2.4vw,2rem); letter-spacing: -.035em; }
.tda-profile-card__heading p { margin: 0; color: #747c91; font-size: .86rem; line-height: 1.55; }
.tda-profile-form { display: grid; gap: 1rem; }
.tda-profile-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.tda-profile-fields .is-full { grid-column: 1 / -1; }
.tda-profile-form label:not(.tda-profile-check) { display: grid; gap: .45rem; color: #30364a; font-size: .78rem; font-weight: 780; }
.tda-profile-form label small { min-height: 1rem; color: #7b8398; font-size: .68rem; font-weight: 500; line-height: 1.45; }
.tda-profile-form input:not([type="checkbox"]),.tda-profile-form select { box-sizing: border-box; width: 100%; min-height: 52px; padding: .82rem .95rem; border: 1px solid rgba(45,55,95,.16); border-radius: 14px; outline: none; background: #fff; color: var(--tda-color-text); font: inherit; font-size: .9rem; transition: border-color .16s ease,box-shadow .16s ease; }
.tda-profile-form input[readonly] { background: #f4f6fb; color: #697187; cursor: not-allowed; }
.tda-profile-form input:focus,.tda-profile-form select:focus { border-color: rgba(109,74,255,.65); box-shadow: 0 0 0 4px rgba(109,74,255,.1); }
.tda-profile-password { position: relative; display: block; }
.tda-profile-password input { padding-right: 4.4rem !important; }
.tda-profile-password button { position: absolute; top: 50%; right: .8rem; transform: translateY(-50%); border: 0; background: transparent; color: var(--tda-color-primary-strong); font-size: .72rem; font-weight: 850; cursor: pointer; }
.tda-profile-check { display: flex; align-items: flex-start; gap: .7rem; color: #5e667c; font-size: .76rem; line-height: 1.55; cursor: pointer; }
.tda-profile-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--tda-color-primary); }
.tda-profile-submit { width: 100%; min-height: 52px; margin-top: .3rem; border: 0; cursor: pointer; }
.tda-profile-card--account { background: linear-gradient(145deg,#281c70,#40309c 58%,#126f98); color: #fff; }
.tda-profile-card--account .tda-student-eyebrow { color: #a5edff; }
.tda-profile-card--account h2 { margin: .65rem 0 1.2rem; font-size: 1.55rem; line-height: 1.15; letter-spacing: -.035em; }
.tda-profile-card--account ul { display: grid; gap: .75rem; margin: 0 0 1.5rem; padding: 0; list-style: none; color: rgba(255,255,255,.76); font-size: .8rem; }
.tda-profile-card--account li { display: flex; gap: .65rem; }
.tda-profile-card--account li span { width: 7px; height: 7px; margin-top: .35rem; border-radius: 50%; background: #45d9b1; }
.tda-profile-card--account .tda-button--ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.tda-profile-page .tda-student-notice ul { margin: .45rem 0 0; padding-left: 1.1rem; }
@media (max-width: 980px) { .tda-profile-grid { grid-template-columns: 1fr; } .tda-profile-side { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .tda-profile-hero { align-items: flex-start; flex-direction: column; } .tda-profile-identity { width: 100%; min-width: 0; box-sizing: border-box; } .tda-profile-fields,.tda-profile-side { grid-template-columns: 1fr; } .tda-profile-fields .is-full { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .tda-profile-form input,.tda-profile-form select { transition: none; } }

/* First-access welcome v0.4.4. */
.tda-welcome-page { min-height: calc(100vh - 82px); padding: clamp(2.2rem,5vw,5rem) 0 5rem; }
.tda-first-welcome { position: relative; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.72fr); gap: clamp(2rem,5vw,5rem); align-items: center; overflow: hidden; padding: clamp(2rem,5vw,4.8rem); border: 1px solid rgba(255,255,255,.88); border-radius: 34px; background: radial-gradient(circle at 8% 5%,rgba(109,74,255,.18),transparent 34%),radial-gradient(circle at 90% 12%,rgba(24,189,232,.2),transparent 35%),rgba(255,255,255,.84); box-shadow: 0 28px 85px rgba(35,43,88,.13); }
.tda-first-welcome::after { content:""; position:absolute; inset:auto -90px -150px auto; width:360px; height:360px; border-radius:50%; background:rgba(109,74,255,.1); filter:blur(30px); pointer-events:none; }
.tda-first-welcome__copy { position:relative; z-index:1; max-width:760px; }
.tda-first-welcome h1 { margin:.75rem 0 1rem; font-size:clamp(3rem,7vw,6.6rem); font-weight:650; line-height:.92; letter-spacing:-.065em; }
.tda-first-welcome__copy > p { max-width:660px; margin:0; color:var(--tda-color-muted); font-size:clamp(1rem,1.7vw,1.2rem); line-height:1.7; }
.tda-first-welcome__actions { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:2rem; }
.tda-first-welcome__visual { position:relative; z-index:1; display:grid; place-items:center; min-height:390px; border:1px solid rgba(255,255,255,.72); border-radius:28px; background:linear-gradient(145deg,rgba(43,27,112,.96),rgba(52,66,167,.9) 58%,rgba(22,169,207,.86)); box-shadow:inset 0 1px rgba(255,255,255,.2),0 24px 55px rgba(47,42,126,.2); }
.tda-first-welcome__orbit { position:relative; display:grid; place-items:center; width:190px; height:190px; border:1px solid rgba(255,255,255,.24); border-radius:50%; }
.tda-first-welcome__orbit::before,.tda-first-welcome__orbit::after { content:""; position:absolute; border:1px solid rgba(255,255,255,.13); border-radius:50%; }
.tda-first-welcome__orbit::before { inset:-32px; }
.tda-first-welcome__orbit::after { inset:28px; }
.tda-first-welcome__orbit > span { position:relative; z-index:2; display:grid; place-items:center; width:78px; height:78px; border-radius:24px; background:linear-gradient(145deg,#734cff,#1abde8); color:#fff; font-size:1.2rem; font-weight:900; box-shadow:0 18px 35px rgba(18,21,66,.35); }
.tda-first-welcome__orbit i { position:absolute; width:12px; height:12px; border-radius:50%; background:#fff; box-shadow:0 0 0 7px rgba(255,255,255,.1); }
.tda-first-welcome__orbit i:nth-child(2) { top:13px; right:34px; }
.tda-first-welcome__orbit i:nth-child(3) { right:8px; bottom:50px; background:#49e3c0; }
.tda-first-welcome__orbit i:nth-child(4) { bottom:12px; left:42px; background:#9feaff; }
.tda-first-welcome__signal { position:absolute; right:1.25rem; bottom:1.25rem; left:1.25rem; display:grid; gap:.18rem; padding:1rem 1.1rem; border:1px solid rgba(255,255,255,.22); border-radius:17px; background:rgba(11,18,63,.28); color:#fff; backdrop-filter:blur(14px); }
.tda-first-welcome__signal strong { font-size:.82rem; }
.tda-first-welcome__signal small { overflow:hidden; color:rgba(255,255,255,.7); font-size:.7rem; text-overflow:ellipsis; white-space:nowrap; }
.tda-first-welcome__steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:1.2rem; }
.tda-first-welcome__steps article { min-height:210px; padding:1.5rem; border:1px solid var(--tda-color-border); border-radius:23px; background:rgba(255,255,255,.88); box-shadow:var(--tda-shadow-sm); }
.tda-first-welcome__steps article > span { display:grid; place-items:center; width:44px; height:44px; border-radius:14px; background:rgba(109,74,255,.1); color:var(--tda-color-primary-strong); font-size:.72rem; font-weight:900; }
.tda-first-welcome__steps h2 { margin:1.25rem 0 .55rem; font-size:1.25rem; letter-spacing:-.025em; }
.tda-first-welcome__steps p { margin:0; color:var(--tda-color-muted); font-size:.84rem; line-height:1.6; }
.tda-first-welcome__steps a { display:inline-block; margin-top:1rem; color:var(--tda-color-primary-strong); font-size:.78rem; font-weight:800; text-decoration:none; }
@media (max-width:900px) { .tda-first-welcome { grid-template-columns:1fr; } .tda-first-welcome__visual { min-height:330px; } .tda-first-welcome__steps { grid-template-columns:1fr; } .tda-first-welcome__steps article { min-height:0; } }
@media (max-width:560px) { .tda-welcome-page { padding-top:1.2rem; } .tda-first-welcome { padding:1.5rem; border-radius:24px; } .tda-first-welcome h1 { font-size:clamp(2.8rem,16vw,4.6rem); } .tda-first-welcome__visual { min-height:280px; } .tda-first-welcome__orbit { width:150px; height:150px; } .tda-first-welcome__actions .tda-button { width:100%; justify-content:center; } }


/* 0.4.10 — compact mobile dashboard hero and 2-up stats */
@media (max-width: 560px) {
	.tda-student-main {
		padding-top: 1rem;
	}
	.tda-student-welcome {
		gap: 1rem;
		padding: 1.15rem;
		border-radius: 20px;
	}
	.tda-student-welcome__copy {
		max-width: none;
	}
	.tda-student-welcome h1 {
		margin: .5rem 0 .65rem;
		font-size: clamp(1.8rem, 10.6vw, 2.7rem);
		line-height: .98;
		letter-spacing: -.05em;
	}
	.tda-student-welcome p {
		font-size: .96rem;
		line-height: 1.58;
	}
	.tda-student-welcome__signal {
		padding: .55rem .75rem;
		font-size: .7rem;
	}
	.tda-student-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .75rem;
	}
	.tda-student-stats article {
		min-height: 108px;
		padding: .95rem;
		border-radius: 18px;
	}
	.tda-student-stats span {
		font-size: .72rem;
		line-height: 1.35;
	}
	.tda-student-stats strong {
		font-size: 1.65rem;
	}
	.tda-student-stats small {
		font-size: .67rem;
		line-height: 1.4;
	}
}

@media (max-width: 480px) {
	.tda-student-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tda-student-stats article {
		min-height: 104px;
	}
}

@media (max-width: 380px) {
	.tda-student-container {
		width: min(calc(100% - 24px), 1240px);
	}
	.tda-student-welcome {
		padding: 1rem;
	}
	.tda-student-welcome h1 {
		font-size: clamp(1.7rem, 10.4vw, 2.35rem);
	}
	.tda-student-stats {
		gap: .65rem;
	}
	.tda-student-stats article {
		padding: .85rem;
	}
	.tda-student-stats strong {
		font-size: 1.45rem;
	}
}


/* 0.4.11 — dashboard/profile action contrast. */
.tda-profile-card--account .tda-button--ghost {
	border-color: rgba(255,255,255,.32);
	background: rgba(255,255,255,.10);
	color: #fff !important;
}
.tda-profile-card--account .tda-button--ghost:hover,
.tda-profile-card--account .tda-button--ghost:focus-visible {
	border-color: rgba(255,255,255,.52);
	background: rgba(255,255,255,.17);
	color: #fff !important;
}

/* LEGION ACADEMY branding v0.4.13. */
.tda-student-brand .tda-brand-logo { display:block; width:auto; height:auto; object-fit:contain; }
.tda-student-brand .tda-brand-logo--student { width: 176px; max-width: 176px; height: auto; }
.tda-brand-logo--student-auth { width: 205px; }
.tda-student-brand { min-width: 176px; }
.tda-student-header {
	background: rgba(250,251,255,.9);
	box-shadow: 0 10px 34px rgba(20,31,70,.035);
}
.tda-student-header::after {
	content:"";
	position:absolute;
	right:0;
	bottom:-1px;
	left:0;
	height:1px;
	background:linear-gradient(90deg,transparent,rgba(85,92,242,.3),rgba(37,181,239,.24),transparent);
	pointer-events:none;
}
.tda-first-welcome__orbit > span img { width: 58px; height: 44px; object-fit: contain; }
@media (max-width:760px) {
	.tda-student-brand .tda-brand-logo--student { width: 146px; max-width: 146px; height: auto; }
	.tda-student-brand { min-width: 146px; }
}
@media (max-width:480px) {
	.tda-brand-logo--student-auth { width: 178px; }
}
