/* V21 candidate usability — no clipped tabs + clickable hero */
.v20NavAvatar{display:inline-flex;align-items:center;gap:7px;border:1px solid #d8e3ec;background:#fff;border-radius:999px;padding:5px 9px 5px 5px;cursor:pointer;box-shadow:0 5px 14px rgba(24,45,70,.12);font-weight:800;color:#17384a;max-width:190px}.v20NavAvatar.hidden{display:none!important}.v20NavAvatar img,.v20NavAvatar>b{width:34px;height:34px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,#7b3ff2,#168cff);color:#fff}.v20NavAvatar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px}.v20RememberRow{display:flex;align-items:center;gap:7px;margin:6px 0 3px;font-weight:700;color:#34495e;flex-wrap:wrap}.v20RememberRow small{font-weight:500;color:#718096;margin-left:4px}.v20BackWebsite{background:linear-gradient(135deg,#118ab2,#35c0cf)!important;color:#fff!important;border:0!important}.v20ProfileHead{display:flex;align-items:center;gap:14px;margin-bottom:16px}.v20ProfileAvatar{width:72px;height:72px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#7b3ff2,#168cff);color:#fff;display:grid;place-items:center;font-size:24px;font-weight:900;box-shadow:0 8px 20px rgba(60,70,150,.2)}.v20ProfileAvatar img{width:100%;height:100%;object-fit:cover}.v20EditBox{margin-top:18px;padding:16px;border:1px solid #dbe5f0;border-radius:16px;background:linear-gradient(135deg,#f8fbff,#fff8fd)}.v20EditBox label{display:block;font-weight:800;margin:8px 0}.v20HeroLink{display:block;width:100%;height:100%;cursor:pointer}.v20HeroLink img{width:100%}.heroSlide:has(.v20HeroLink){cursor:pointer}
/* Keep all six candidate tabs completely reachable. */
#studentDashboard .appDashTabs{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:9px!important;padding-left:8px!important;padding-right:8px!important}#studentDashboard .dashTab{flex:1 1 145px!important;min-width:135px!important;max-width:none!important}.dashboardActions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important}.welcome{overflow:visible!important}
body.dashboard-mode #portal>.wrap{padding-left:12px!important;padding-right:12px!important;box-sizing:border-box!important}
@media(max-width:760px){#studentDashboard .appDashTabs{flex-wrap:nowrap!important;overflow-x:auto!important;scroll-padding-left:12px!important;padding:10px 12px 13px!important}#studentDashboard .dashTab{flex:0 0 auto!important;min-width:max-content!important}.v20NavAvatar span{display:none}.v20NavAvatar{padding-right:5px}.welcome{padding:15px!important}.dashboardActions{width:100%;justify-content:flex-start!important}}
body.dashboard-mode .dashTabs{position:static!important;top:auto!important}


/* V21: Hero link occupies the full visible slide and stays above the image. */
#heroSlider .heroSlide.v21HeroClickable{position:relative;cursor:pointer}
#heroSlider .v21HeroLink{display:block!important;width:100%!important;height:100%!important;position:relative;z-index:2;cursor:pointer;text-decoration:none}
#heroSlider .v21HeroLink img{display:block;width:100%!important;height:auto!important;pointer-events:none}
#heroSlider .sliderArrow,#heroSlider .heroDots{z-index:10!important}

/* V21: keep the whole candidate tab bar inside the dashboard. */
body.dashboard-mode #studentDashboard{overflow:visible!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
body.dashboard-mode #studentDashboard .appDashTabs{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;max-width:100%!important;margin:0!important;padding:10px!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important}
body.dashboard-mode #studentDashboard .appDashTabs .dashTab{width:100%!important;min-width:0!important;max-width:none!important;white-space:normal!important;line-height:1.2!important;padding:12px 8px!important;text-align:center!important;box-sizing:border-box!important}
@media(max-width:900px){
  body.dashboard-mode #studentDashboard .appDashTabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:visible!important;scrollbar-width:thin!important;scroll-padding:12px!important;padding:10px 12px 14px!important;margin:0!important;overscroll-behavior-x:contain}
  body.dashboard-mode #studentDashboard .appDashTabs .dashTab{flex:0 0 auto!important;min-width:145px!important;width:auto!important;white-space:nowrap!important}
}


/* V23 — candidate identity/photo + philosopher strip in dashboard header */
body.dashboard-mode #studentDashboard .welcome{display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(260px,1.35fr) auto!important;align-items:center!important;column-gap:22px!important;overflow:visible!important}
body.dashboard-mode #studentDashboard .welcome>div:first-child{min-width:0!important}
.v22CandidateIdentity{display:flex;align-items:center;gap:13px;min-width:0}.v22IdentityText{min-width:0}.v22IdentityText h3{margin:0 0 3px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v22HeaderAvatar{width:58px;height:58px;flex:0 0 58px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#0ea5e9);color:#fff;font-weight:900;font-size:19px;border:3px solid #fff;box-shadow:0 7px 19px rgba(40,64,90,.18)}.v22HeaderAvatar img{width:100%;height:100%;object-fit:cover;display:block}.v22PhilosopherStrip{display:flex;justify-content:center;align-items:center;gap:12px;min-width:0;padding:2px 10px}.v22PhilosopherStrip img{width:48px;height:48px;object-fit:cover;border-radius:50%;background:#fff;border:2px solid #e5e7eb;box-shadow:0 5px 15px rgba(31,41,55,.13)}.v22PhilosopherStrip img[src$=".svg"]{object-fit:contain;padding:3px}.dashboardActions{align-items:center!important}
@media(max-width:980px){body.dashboard-mode #studentDashboard .welcome{grid-template-columns:minmax(240px,1fr) auto!important;row-gap:12px!important}.v22PhilosopherStrip{grid-column:1/-1;grid-row:2;justify-content:flex-start;overflow-x:auto;padding-left:0}.dashboardActions{grid-column:2;grid-row:1}}
@media(max-width:640px){body.dashboard-mode #studentDashboard .welcome{display:flex!important;flex-wrap:wrap!important;padding:16px!important}.v22CandidateIdentity{width:100%}.v22HeaderAvatar{width:52px;height:52px;flex-basis:52px}.v22PhilosopherStrip{order:3;width:100%;justify-content:center;gap:8px;overflow-x:auto}.v22PhilosopherStrip img{width:40px;height:40px}.dashboardActions{order:2;width:100%;justify-content:flex-start!important}.v22IdentityText h3{white-space:normal}}

/* V23 — supplied philosopher banner, violet Back to Website, prominent study-help CTA */
body.dashboard-mode #studentDashboard .welcome{grid-template-columns:minmax(270px,.95fr) minmax(420px,1.55fr) auto!important;column-gap:18px!important}
.v22PhilosopherStrip{display:flex!important;justify-content:center!important;align-items:center!important;min-width:0!important;padding:0 8px!important;overflow:hidden!important}
.v22PhilosopherStrip .v23PhilosopherBanner{display:block!important;width:100%!important;max-width:760px!important;height:84px!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.v20BackWebsite{background:linear-gradient(135deg,#6d28d9,#8b5cf6)!important;color:#fff!important;border:1px solid #7c3aed!important;box-shadow:0 7px 18px rgba(109,40,217,.26)!important}
.v20BackWebsite:hover{background:linear-gradient(135deg,#5b21b6,#7c3aed)!important;transform:translateY(-1px)}
.studyHelpCta{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 0 18px;padding:16px 20px;border:0;border-radius:18px;background:linear-gradient(135deg,#6d28d9,#2563eb,#0891b2);color:#fff;font:inherit;font-weight:900;font-size:16px;line-height:1.35;cursor:pointer;box-shadow:0 10px 26px rgba(65,59,180,.25);text-align:center}
.studyHelpCta:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(65,59,180,.32)}
.studyHelpCta small{display:block;font-weight:700;opacity:.9}
@media(max-width:1100px){body.dashboard-mode #studentDashboard .welcome{grid-template-columns:minmax(250px,1fr) minmax(320px,1.25fr) auto!important}.v22PhilosopherStrip .v23PhilosopherBanner{height:72px!important}}
@media(max-width:860px){body.dashboard-mode #studentDashboard .welcome{grid-template-columns:1fr auto!important}.v22PhilosopherStrip{grid-column:1/-1!important;grid-row:2!important;width:100%!important;justify-content:center!important}.v22PhilosopherStrip .v23PhilosopherBanner{max-width:100%!important;height:auto!important;max-height:92px!important}.dashboardActions{grid-column:2!important;grid-row:1!important}}
@media(max-width:640px){.v22PhilosopherStrip{order:3!important;width:100%!important}.v22PhilosopherStrip .v23PhilosopherBanner{height:auto!important;max-height:80px!important}.studyHelpCta{font-size:14px;padding:14px 13px}}
