/* Home layout only. Shell, navigation, palette, fonts and controls use styles.css. */
#student-home{min-width:0;color:var(--text);font-family:var(--font);line-height:1.55}
#student-home [hidden]{display:none!important}
#student-home .hd-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}
#student-home .hd-left,#student-home .hd-right{display:flex;flex-direction:column;gap:22px;min-width:0}
#student-home .hd-card{margin:0;min-width:0}
#student-home .hd-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
#student-home .hd-hero{overflow:hidden;background:linear-gradient(135deg,var(--card-solid),var(--primary-soft));padding:25px 26px 0}
#student-home .hd-kicker{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:var(--primary-dark)}
#student-home .hd-kicker>span:first-child{display:flex;align-items:center;gap:8px}
#student-home .hd-kicker>span:first-child::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px rgba(21,151,229,.1)}
#student-home .hd-status{font-size:12px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--success);text-align:right;max-width:45%}
#student-home .hd-status-warm{color:var(--warning)}
#student-home .hd-hero-content{display:grid;grid-template-columns:minmax(0,1fr) 122px;gap:24px;align-items:center;padding:24px 0}
#student-home #hd-hero-title{font-size:clamp(28px,2.4vw,36px);line-height:1.15;font-weight:900;letter-spacing:-.04em;margin:0 0 15px;max-width:490px}
#student-home #hd-hero-description{font-size:14px;line-height:1.7;color:var(--muted);max-width:480px;margin:0}
#student-home #hd-hero-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px 16px;color:var(--muted);font-size:12px;margin:18px 0 23px}
#student-home #hd-hero-meta>span{display:flex;align-items:center;gap:6px}
#student-home #hd-hero-meta .hd-icon{width:15px;height:15px}
#student-home .hd-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#student-home .hd-primary{min-height:46px;font-size:14px;gap:10px}
#student-home .hd-primary .hd-icon{width:17px;height:17px}
#student-home .hd-text-button{font-size:12px;font-weight:800;min-height:38px;gap:6px;white-space:nowrap}
#student-home .hd-text-button .hd-icon{width:14px;height:14px}
#student-home #hd-hero-secondary{font-size:12px}
#student-home .hd-mini-caption{font-size:11px;color:var(--muted);margin:0 0 10px;font-weight:700}
#student-home .hd-mini-bottom{text-align:center;margin:10px 0 0}
#student-home .hd-mini-map{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
#student-home .hd-mini-tile{height:34px;border:1px solid var(--line);background:var(--card);border-radius:10px;color:var(--muted);display:grid;place-items:center;font-size:12px;font-weight:800}
#student-home .hd-mini-tile.is-done{background:var(--primary-soft);color:var(--primary-dark)}
#student-home .hd-mini-tile.is-current{border-color:var(--primary);background:var(--card-solid);color:var(--primary-dark);box-shadow:0 0 0 2px rgba(21,151,229,.1)}
#student-home .hd-mini-tile .hd-icon{width:14px;height:14px;stroke-width:2}
#student-home .hd-lesson-steps{display:grid;gap:11px}
#student-home .hd-lesson-steps>span{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);font-weight:700}
#student-home .hd-lesson-steps b{width:25px;height:25px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:var(--card);color:var(--primary-dark);flex-shrink:0}
#student-home .hd-lesson-steps>span:first-child{color:var(--primary-dark)}
#student-home .hd-mini-illustration{width:96px;height:96px;display:grid;place-items:center;border:1px solid var(--line);border-radius:24px;background:var(--primary-soft);color:var(--primary-dark)}
#student-home .hd-mini-illustration .hd-icon{width:40px;height:40px;stroke-width:1.4}
#student-home .hd-after{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding:14px 26px;margin:0 -26px;font-size:11px;color:var(--muted)}
#student-home .hd-after b{font-weight:850;color:var(--primary-dark)}
#student-home .hd-after .hd-icon{width:12px;height:12px}
#student-home .hd-resume-note{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--card);border:1px dashed var(--line);border-radius:var(--radius-sm);font-size:12px;color:var(--muted)}
#student-home .hd-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#student-home .hd-section-head h2{font-size:20px;line-height:1.3;font-weight:900;letter-spacing:-.035em;margin:0}
#student-home .hd-preparation{padding:24px 24px 3px}
#student-home .hd-section-note{font-size:13px;line-height:1.6;color:var(--muted);margin:8px 0 18px}
#student-home .hd-topic{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:19px 0;border-top:1px solid var(--line)}
#student-home .hd-topic-number{height:42px;min-width:42px;display:grid;place-items:center;padding:0 3px;border-radius:14px;border:1px solid var(--line);background:var(--primary-soft);color:var(--primary-dark);font-size:14px;font-weight:900}
#student-home .hd-topic-copy h3{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:15px;line-height:1.45;letter-spacing:-.02em;font-weight:850;margin:0 0 5px}
#student-home .hd-topic-copy p{color:var(--muted);font-size:12px;line-height:1.65;margin:0}
#student-home .hd-priority{display:inline-block;padding:3px 7px;border-radius:8px;background:var(--primary-soft);color:var(--primary-dark);font-size:10px;line-height:1.4;font-weight:800;letter-spacing:0}
#student-home .hd-topic-actions{display:flex;align-items:center;gap:12px}
#student-home .hd-topic-percent{text-align:right;color:var(--muted);font-size:10px}
#student-home .hd-topic-percent b{display:block;color:var(--primary-dark);font-size:16px;font-weight:900;line-height:1.3;margin-bottom:3px}
#student-home .hd-topic-percent small{font:inherit}
#student-home .hd-topic-open{height:42px;min-width:42px;width:42px;padding:10px;border-radius:13px}
#student-home .hd-topic-open .hd-icon{width:17px;height:17px}
#student-home .hd-stats{display:flex;align-items:center;gap:18px;padding:22px 24px}
#student-home .hd-stat{flex:1;min-width:0}
#student-home .hd-stat>b{display:block;font-size:27px;line-height:1.2;font-weight:900;letter-spacing:-.04em}
#student-home .hd-stat>b small{font-size:12px;font-weight:650;color:var(--muted);letter-spacing:0}
#student-home .hd-stat>span{display:block;color:var(--muted);font-size:11px;font-weight:650;margin-top:5px}
#student-home .hd-stat-divider{width:1px;height:38px;background:var(--line)}
#student-home .hd-stats>.hd-text-button{font-size:11px}
#student-home .hd-right-card{padding:22px}
#student-home .hd-ready-header h2{font-size:18px}
#student-home .hd-exam-tag{font-size:10px;padding:5px 8px}
#student-home .hd-readiness-body{display:flex;align-items:center;gap:15px;margin:23px 0}
#student-home .hd-ring{width:108px;height:108px;position:relative;flex-shrink:0}
#student-home .hd-ring>svg{width:100%;height:100%;transform:rotate(-90deg)}
#student-home .hd-ring-track{fill:none;stroke:var(--line);stroke-width:8}
#student-home .hd-ring-fill{fill:none;stroke:var(--primary);stroke-width:8;stroke-linecap:round;transition:stroke-dasharray .25s}
#student-home .hd-ring-number{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:1px}
#student-home .hd-ring-number b{font-size:36px;line-height:1;font-weight:950;letter-spacing:-.05em}
#student-home .hd-ring-number small{font-size:13px;margin-top:14px;font-weight:800;color:var(--primary-dark)}
#student-home .hd-ready-copy{font-size:11px;line-height:1.65;color:var(--muted);min-width:0}
#student-home .hd-ready-copy>b{font-size:13px;font-weight:850;line-height:1.4;display:block;color:var(--text);margin-bottom:5px}
#student-home .hd-goal-row{display:flex;align-items:center;gap:5px;margin-top:13px;font-size:11px;font-weight:850;color:var(--primary-dark)}
#student-home .hd-goal-row button{border:1px solid var(--line);border-radius:8px;background:var(--card-solid);color:var(--primary-dark);width:27px;height:27px;min-width:27px;padding:5px;display:grid;place-items:center}
#student-home .hd-goal-row .hd-icon{width:14px;height:14px}
#student-home .hd-ready-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:14px}
#student-home .hd-ready-footer>span{font-size:11px;font-weight:700;color:var(--muted)}
#student-home .hd-ready-footer .hd-text-button{font-size:11px;padding:8px 10px}
#student-home .hd-leaderboard .hd-section-head h2{font-size:20px}
#student-home .hd-leaderboard .hd-section-head>.hd-icon{color:var(--primary-dark)}
#student-home .hd-rating-tabs{display:flex;gap:7px;margin:18px 0 13px;padding:4px;border-radius:14px;background:var(--primary-soft)}
#student-home .hd-rating-tabs button{flex:1;background:none;border:0;color:var(--muted);font-size:11px;font-weight:850;min-height:37px;padding:8px 5px;border-radius:11px}
#student-home .hd-rating-tabs button.is-active{background:var(--primary);color:white;box-shadow:var(--shadow-sm)}
#student-home .hd-ranking-list{list-style:none;padding:0;margin:0 -9px}
#student-home .hd-ranking-row{display:grid;grid-template-columns:16px 30px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:52px;padding:9px;border-radius:14px}
#student-home .hd-ranking-row.is-you{background:var(--primary-soft)}
#student-home .hd-rank{font-size:11px;font-weight:900;text-align:center;color:var(--muted)}
#student-home .hd-rank-1{color:var(--warning)}
#student-home .hd-ranking-avatar{height:30px;width:30px;display:grid;place-items:center;border-radius:11px;color:var(--primary-dark);background:var(--primary-soft);font-size:12px;font-weight:850}
#student-home .hd-avatar-1{background:#e8f6f0;color:var(--success)}
#student-home .hd-avatar-2{background:#fff4df;color:var(--warning)}
#student-home .hd-ranking-name{font-size:12px;line-height:1.4;font-weight:800;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#student-home .hd-ranking-name small{font-size:10px;color:var(--primary-dark);font-weight:650}
#student-home .hd-ranking-row>b{font-size:14px;color:var(--primary-dark);font-weight:900}
#student-home .hd-ranking-footer{font-size:11px;font-weight:700;color:var(--muted);margin-top:14px;padding-top:16px;border-top:1px solid var(--line)}
#student-home .hd-my-place{padding:12px;margin:8px -9px 0;background:var(--primary-soft);color:var(--primary-dark);font-size:13px;border-radius:14px}
#student-home .hd-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:23px 0 0;color:var(--muted);font-size:11px;font-weight:650}
#student-home .hd-footer>div{display:flex;gap:9px}
#student-home .hd-footer .hd-text-button{font-size:11px}
#student-home .hd-empty{font-size:13px;line-height:1.8;color:var(--muted);margin:0;padding:16px 0}
#student-home .hd-empty p{margin:7px 0 12px}
#student-home #onboarding-card{margin:0}
#student-home .hd-dialog{padding:24px;width:780px;max-width:calc(100vw - 28px);max-height:88dvh;border:1px solid var(--line);border-radius:var(--radius);color:var(--text);background:var(--card-solid);box-shadow:var(--shadow);overflow:auto;font-family:var(--font)}
#student-home .hd-dialog::backdrop{background:rgba(8,33,53,.34);backdrop-filter:blur(6px)}
#student-home .hd-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
#student-home .hd-dialog h2{font-size:24px;line-height:1.3;font-weight:900;margin:0}
#student-home .hd-close{min-width:38px;width:38px;height:38px;min-height:38px;padding:8px;font-size:20px;flex-shrink:0}
#student-home .hd-dialog .readiness-hero,#student-home .hd-dialog .readiness-summary-row{display:none}
#student-home .hd-dialog .readiness-task-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:12px}
#student-home .hd-dialog .readiness-tile{min-height:92px;padding:12px 6px;border-radius:14px}
#student-home .hd-dialog .readiness-tile strong{font-size:18px}
#student-home .hd-dialog .readiness-tile strong.is-text{font-size:11px}
#student-home .hd-dialog .readiness-tile small{font-size:11px}
#student-home .hd-dialog .compact-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
#student-home .hd-goal-dialog{width:430px}
#student-home .hd-goal-dialog label{display:grid;gap:10px;margin:16px 0;font-size:14px;font-weight:850}
#student-home .hd-goal-dialog input{font-size:24px;font-weight:850;width:100%}
#student-home #hd-goal-max{display:block;color:var(--muted);font-size:13px;margin:9px 0 20px}
@media(min-width:1650px){#student-home .hd-layout{grid-template-columns:minmax(0,1fr) 350px;gap:24px}#student-home .hd-left,#student-home .hd-right{gap:24px}#student-home .hd-hero{padding:28px 30px 0}#student-home .hd-hero-content{grid-template-columns:minmax(0,1fr) 150px;padding:28px 0}#student-home .hd-after{padding:16px 30px;margin:0 -30px}#student-home .hd-mini-tile{height:40px}#student-home .hd-readiness-body{gap:20px}#student-home .hd-ring{width:122px;height:122px}#student-home .hd-ready-copy{font-size:12px}#student-home .hd-ready-copy>b{font-size:14px}#student-home .hd-ranking-name{font-size:13px}#student-home .hd-ranking-row{min-height:57px}}
@media(max-width:1500px){#student-home .hd-priority{display:none}#student-home .hd-stats{gap:14px;flex-wrap:wrap}#student-home .hd-stats>.hd-text-button{width:100%;justify-content:flex-end;border-top:1px solid var(--line);padding-top:10px;background:none;border-left:0;border-right:0;border-bottom:0;border-radius:0;margin-top:1px}#student-home .hd-topic-copy h3{font-size:14px}}
@media(max-width:1320px){#student-home .hd-hero-content{grid-template-columns:1fr}#student-home .hd-hero-side{display:none}#student-home .hd-topic-percent small{display:none}#student-home .hd-topic-actions{gap:8px}#student-home .hd-topic{gap:10px}#student-home .hd-topic-copy p{font-size:11px}#student-home .hd-preparation{padding:23px 20px 3px}#student-home .hd-section-head h2{font-size:19px}}
@media(max-width:1060px) and (min-width:861px){#student-home .hd-hero-content{grid-template-columns:minmax(0,1fr) 122px}#student-home .hd-hero-side{display:block}}
@media(max-width:860px){#student-home .hd-layout{grid-template-columns:1fr}#student-home .hd-left,#student-home .hd-right{display:contents}#student-home .hd-hero{grid-row:1}#student-home .hd-resume-note{grid-row:2}#student-home .hd-readiness{grid-row:3}#student-home .hd-preparation{grid-row:4}#student-home .hd-stats{grid-row:5}#student-home .hd-leaderboard{grid-row:6}#student-home #onboarding-card{grid-row:7}#student-home .hd-hero-content{grid-template-columns:minmax(0,1fr) 122px}#student-home .hd-hero-side{display:block}#student-home .hd-readiness-body{gap:25px;margin:22px 0}#student-home .hd-ready-copy{font-size:13px}#student-home .hd-ready-copy>b{font-size:16px}#student-home .hd-goal-row{font-size:12px}#student-home .hd-ready-header h2{font-size:20px}#student-home .hd-topic-copy h3{font-size:15px}#student-home .hd-topic-copy p{font-size:12px}#student-home .hd-topic-percent small{display:block}#student-home .hd-ranking-name{font-size:14px}#student-home .hd-rating-tabs button{font-size:12px}#student-home .hd-ranking-row{min-height:56px}#student-home .hd-section-head h2{font-size:20px}}
@media(max-width:600px){#student-home .hd-layout{gap:16px}#student-home .hd-hero{padding:21px 20px 0}#student-home .hd-hero-content{grid-template-columns:1fr;padding:22px 0}#student-home .hd-hero-side{display:none}#student-home #hd-hero-title{font-size:29px;max-width:360px}#student-home #hd-hero-description{font-size:13px}#student-home #hd-hero-meta{font-size:11px;gap:8px 12px;margin:17px 0 20px}#student-home .hd-kicker{font-size:10px}#student-home .hd-status{font-size:10px}#student-home .hd-primary{font-size:13px}#student-home .hd-hero-actions{gap:9px}#student-home .hd-after{padding:13px 20px;margin:0 -20px;font-size:10px;gap:7px}#student-home .hd-right-card{padding:20px}#student-home .hd-preparation{padding:20px 17px 3px}#student-home .hd-section-head{gap:9px}#student-home .hd-section-head h2{font-size:18px}#student-home .hd-section-head .hd-text-button{font-size:11px;padding:8px 9px}#student-home .hd-section-note{font-size:12px}#student-home .hd-topic{grid-template-columns:35px minmax(0,1fr) auto;gap:9px;padding:17px 0}#student-home .hd-topic-number{height:35px;min-width:35px;border-radius:12px;font-size:12px}#student-home .hd-topic-copy h3{font-size:13px}#student-home .hd-topic-copy p{font-size:11px}#student-home .hd-topic-actions{gap:7px}#student-home .hd-topic-open{width:36px;min-width:36px;height:40px;min-height:40px;padding:8px}#student-home .hd-topic-percent{font-size:9px}#student-home .hd-topic-percent b{font-size:14px}#student-home .hd-topic-percent small{display:none}#student-home .hd-stats{padding:20px;gap:12px}#student-home .hd-stat>b{font-size:25px}#student-home .hd-stat>span{font-size:10px}#student-home .hd-footer{align-items:flex-start;font-size:10px;gap:12px}#student-home .hd-footer>span{max-width:170px}#student-home .hd-footer>div{flex-wrap:wrap;justify-content:flex-end;gap:6px}#student-home .hd-footer .hd-text-button{font-size:10px;padding:7px 8px}#student-home .hd-resume-note{font-size:11px}#student-home .hd-dialog{padding:18px;border-radius:20px}#student-home .hd-dialog h2{font-size:21px}#student-home .hd-dialog .readiness-task-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#student-home .hd-dialog .compact-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){#student-home *{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:820px){body.student-home .mobile-context{display:flex;align-items:center;gap:8px;padding:8px 12px;margin-bottom:14px;border-radius:16px}body.student-home .mobile-context>span{width:auto;flex:0 0 auto;white-space:nowrap;padding:4px 10px;min-height:28px;font-size:12px}}
