/* Student overview only: spacious bento cards, actual progress and one clear action. */
.dashboard-overview { width:100%; max-width:1320px; margin-inline:auto; }
.student-home-shell #assessment-dashboard:first-child { margin-top:0; }
.dashboard-overview .bento-header {
  display:flex; justify-content:space-between; align-items:center; gap:30px;
  margin-bottom:29px; padding-bottom:27px; border-bottom:1px solid #2b3449;
}
.bento-heading { min-width:0; }
.bento-kicker { display:flex; align-items:center; gap:8px; color:#a78bfa; font-size:10px; font-weight:600; letter-spacing:.15em; margin-bottom:13px; }
.bento-kicker .icon { width:16px; height:16px; }
.student-home-shell #assessment-dashboard .bento-heading h1 { color:#fff; font-size:32px; font-weight:650; line-height:1.2; letter-spacing:-.045em; margin:0 0 10px; }
.dashboard-overview .bento-heading p { color:#9ca3af; font-size:14px; line-height:1.65; margin:0; }
.bento-header-actions { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.bento-progress { display:flex; align-items:center; gap:13px; padding:13px 17px; border:1px solid #30384c; border-radius:17px; background:#161f3099; }
.bento-progress-ring { position:relative; isolation:isolate; width:56px; height:56px; display:grid; place-items:center; flex-shrink:0; border-radius:50%; background:conic-gradient(#8b5cf6 var(--stage-progress),#2b3449 0); }
.bento-progress-ring::before { content:""; position:absolute; inset:4px; z-index:-1; border-radius:50%; background:#131b2b; }
.bento-progress-ring strong { color:#c4b5fd; font-size:12px; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.bento-progress > div > span { display:block; font-size:10px; color:#9ca3af; margin-bottom:5px; }
.bento-progress > div > strong { display:block; color:#fff; font-size:13px; font-weight:600; white-space:nowrap; }
.bento-progress > div > small { display:block; font-size:10px; color:#9ca3af; margin-top:4px; }
.dashboard-overview .bento-welcome { font-size:11px; gap:7px; padding:11px 13px; border-color:#354058; white-space:nowrap; }
.bento-welcome .icon { width:15px; height:15px; }

.dashboard-bento { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:21px; }
.dashboard-overview .bento-card {
  position:relative; isolation:isolate; overflow:hidden; min-width:0;
  border:1px solid #30394e; border-radius:24px; color:#fff;
  background:linear-gradient(145deg,#1b2435 0%,#161f30 65%,#141c2b 100%);
  box-shadow:inset 0 1px #ffffff05,0 12px 30px #00000014;
  transition:border-color .24s,box-shadow .24s;
}
.bento-card::after {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:0;
  background:radial-gradient(400px circle at var(--glass-x,80%) var(--glass-y,0%),#c4b5fd0d,transparent 70%);
  transition:opacity .24s;
}
.bento-card:is(:hover,:focus-within)::after { opacity:1; }
.dashboard-overview .bento-card:is(:hover,:focus-within) { border-color:#766099; box-shadow:inset 0 1px #ffffff08,0 12px 35px #8b5cf60b; }
.dashboard-overview .bento-primary {
  grid-column:1/3; grid-row:1; min-height:305px; padding:31px 33px;
  display:flex; flex-direction:column; justify-content:space-between; gap:25px;
  border-color:#504269;
  background:radial-gradient(ellipse at 100% 0,#8b5cf61a,transparent 66%),linear-gradient(135deg,#1e253a,#161f30 62%,#151c2c);
}
.bento-primary-copy { position:relative; z-index:1; }
.bento-session { display:inline-flex; align-items:center; gap:7px; border:1px solid #8b5cf63b; background:#8b5cf612; color:#c4b5fd; border-radius:25px; padding:7px 10px; font-size:9px; letter-spacing:.09em; font-weight:600; }
.bento-session i { width:5px; height:5px; border-radius:50%; background:#a78bfa; box-shadow:0 0 9px #a78bfa4d; }
.dashboard-overview .bento-primary h2 { color:#fff; font-size:34px; font-weight:650; line-height:1.18; letter-spacing:-.045em; margin:18px 0 12px; max-width:520px; }
.dashboard-overview .bento-primary p { color:#a7aebd; font-size:14px; line-height:1.75; margin:0; max-width:480px; }
.bento-compass-art { position:absolute; width:165px; height:165px; right:12px; top:24px; color:#a78bfa12; transform:rotate(-16deg); pointer-events:none; z-index:0; }
.bento-compass-art > .icon { width:100%; height:100%; stroke-width:.8; }
.bento-compass-art > span { position:absolute; right:20px; top:20px; color:#f59e0b5c; font-size:18px; }
.bento-primary-bottom { position:relative; z-index:1; display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.dashboard-overview .bento-main-action { min-width:220px; min-height:49px; justify-content:center; gap:24px; border-radius:12px; font-size:14px; padding:13px 22px; }
.bento-main-action .icon { width:17px; height:17px; }
.bento-next { display:inline-flex; align-items:center; gap:7px; color:#9ca3af; font-size:11px; }
.bento-next > .icon { width:14px; height:14px; color:#a78bfa; }

.bento-stages { grid-column:1/-1; grid-row:2; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:21px; padding:0; margin:0; list-style:none; }
.dashboard-overview .bento-stage { display:flex; flex-direction:column; padding:24px; min-height:221px; border-radius:20px; }
.bento-stage-top { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:23px; }
.bento-stage-icon { display:grid; place-items:center; width:42px; height:42px; border:1px solid #354057; border-radius:12px; background:#202a3e; color:#aeb6c8; flex-shrink:0; }
.bento-stage-icon .icon { width:20px; height:20px; }
.bento-stage-status { display:inline-flex; align-items:center; justify-content:flex-end; gap:5px; color:#9ca3af; font-size:10px; line-height:1.4; }
.bento-stage-status .icon { width:12px; height:12px; flex-shrink:0; }
.bento-stage-title { display:flex; align-items:baseline; gap:9px; }
.bento-stage-title > span { color:#7e8ba3; font-size:10px; font-weight:600; letter-spacing:.07em; }
.dashboard-overview .bento-stage h2 { color:#edf0f7; font-size:16px; font-weight:600; letter-spacing:-.02em; line-height:1.4; margin:0; }
.dashboard-overview .bento-stage p { color:#9ca3af; font-size:12px; line-height:1.75; margin:9px 0 20px; }
.bento-stage-detail { display:flex; align-items:center; gap:7px; padding-top:13px; margin-top:auto; border-top:1px solid #2c3549; color:#a7aebd; font-size:10px; line-height:1.5; }
.bento-stage-detail .icon { width:13px; height:13px; flex-shrink:0; color:#8c98af; }
.dashboard-overview .bento-stage.is-current { border-color:#8b5cf680; background:linear-gradient(145deg,#28223e,#1c2234 70%); box-shadow:inset 0 1px #d8c7ff0d,0 5px 24px #8b5cf60a; }
.bento-stage.is-current .bento-stage-icon { background:#8b5cf61a; border-color:#8b5cf64d; color:#c4b5fd; }
.bento-stage.is-current .bento-stage-status { color:#d2b47e; }
.bento-stage.is-current .bento-stage-status .icon { color:#f59e0b; }
.bento-stage.is-current .bento-stage-title > span { color:#a78bfa; }
.bento-stage.is-saved .bento-stage-status { color:#c4b5fd; }
.bento-stage.is-saved .bento-stage-icon { color:#b9a7e8; border-color:#514568; background:#a78bfa0c; }
.bento-stage.is-saved .bento-stage-detail > .icon { color:#a78bfa; }

.dashboard-overview .bento-report { grid-column:3; grid-row:1; padding:27px; display:flex; flex-direction:column; justify-content:space-between; gap:19px; background:linear-gradient(150deg,#161f30,#121a28); }
.bento-report-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.bento-report-icon { width:45px; height:45px; display:grid; place-items:center; color:#b6a2df; border:1px solid #3c354f; border-radius:13px; background:#8b5cf60b; }
.bento-report-icon .icon { width:23px; height:23px; }
.bento-report-status { display:inline-flex; align-items:center; gap:6px; font-size:10px; color:#9ca3af; }
.bento-report-status .icon { width:12px; height:12px; color:#a78bfa; }
.dashboard-overview .bento-report h2 { font-size:20px; line-height:1.35; letter-spacing:-.035em; font-weight:600; margin:0 0 10px; }
.dashboard-overview .bento-report p { font-size:12px; line-height:1.8; color:#9ca3af; margin:0; }
.bento-report-link { display:flex; justify-content:space-between; align-items:center; gap:15px; border-top:1px solid #30384b; padding-top:16px; min-height:44px; font-size:12px; font-weight:500; color:#bfa7ff; text-decoration:none; }
.bento-report-link .icon { width:16px; height:16px; }
.bento-report-link:hover { color:#e3d5ff; }
.dashboard-overview .bento-preview-note { display:flex; align-items:flex-start; gap:7px; margin:22px 0 0; font-size:10px; line-height:1.7; color:#8e99ad; }
.bento-preview-note .icon { width:13px; height:13px; flex-shrink:0; margin-top:2px; }

@media(max-width:1180px) and (min-width:1001px) {
  .bento-header-actions { flex-direction:column; align-items:flex-end; }
  .dashboard-overview .bento-welcome { padding-block:8px; min-height:40px; }
  .dashboard-overview .bento-primary { padding:29px; }
  .dashboard-overview .bento-primary h2 { font-size:31px; }
  .dashboard-overview .bento-stage { padding:21px; }
  .dashboard-overview .bento-report { padding:24px; }
}
@media(max-width:1000px) {
  .bento-header-actions { align-items:center; }
  .bento-header-actions .bento-welcome span { display:none; }
  .dashboard-overview .bento-welcome { min-width:44px; padding:12px; }
  .dashboard-overview .bento-primary { grid-column:1/-1; min-height:285px; }
  .dashboard-overview .bento-report { grid-column:1/-1; grid-row:3; gap:17px; min-height:230px; }
  .dashboard-overview .bento-report p { max-width:600px; }
  .dashboard-overview .bento-stage { padding:20px; }
  .bento-stage-top { gap:8px; }
  .bento-stage-status { font-size:9px; }
}
@media(max-width:780px) {
  .dashboard-overview .bento-header { display:block; padding-bottom:24px; margin-bottom:24px; }
  .bento-header-actions { margin-top:21px; align-items:stretch; }
  .bento-progress { flex:1; padding:12px 14px; border-radius:14px; gap:12px; }
  .bento-progress-ring { width:46px; height:46px; }
  .bento-progress-ring strong { font-size:11px; }
  .bento-progress > div > small { display:none; }
  .bento-header-actions .bento-welcome { min-width:50px; justify-content:center; border-radius:13px; }
  .dashboard-bento { gap:17px; }
  .bento-stages { grid-template-columns:1fr; gap:14px; }
  .dashboard-overview .bento-stage { min-height:0; padding:21px; }
  .bento-stage-top { margin-bottom:17px; }
  .bento-stage-status { font-size:10px; }
  .dashboard-overview .bento-stage p { font-size:13px; margin-bottom:16px; max-width:520px; }
  .bento-stage-detail { font-size:11px; }
}
@media(max-width:550px) {
  .student-home-shell #assessment-dashboard .bento-heading h1 { font-size:28px; line-height:1.2; }
  .dashboard-overview .bento-heading p { font-size:12px; }
  .bento-kicker { font-size:9px; margin-bottom:12px; }
  .dashboard-overview .bento-header { padding-bottom:21px; margin-bottom:21px; }
  .bento-header-actions { margin-top:18px; gap:10px; }
  .bento-progress > div > strong { font-size:12px; }
  .dashboard-overview .bento-primary { min-height:310px; padding:25px 22px; border-radius:21px; gap:23px; }
  .bento-session { font-size:8px; padding:7px 9px; }
  .dashboard-overview .bento-primary h2 { font-size:30px; max-width:270px; margin-top:18px; }
  .dashboard-overview .bento-primary p { font-size:13px; line-height:1.75; }
  .bento-compass-art { width:128px; height:128px; right:-25px; top:30px; opacity:.8; }
  .bento-compass-art > span { right:25px; top:12px; font-size:14px; }
  .bento-primary-bottom { gap:13px; }
  .dashboard-overview .bento-main-action { min-width:0; width:100%; min-height:49px; font-size:13px; }
  .bento-next { font-size:10px; }
  .dashboard-overview .bento-stage { padding:21px; border-radius:18px; }
  .bento-stage-icon { width:39px; height:39px; border-radius:11px; }
  .dashboard-overview .bento-stage h2 { font-size:17px; }
  .dashboard-overview .bento-stage p { font-size:12px; }
  .dashboard-overview .bento-report { padding:24px 22px; border-radius:20px; }
  .dashboard-overview .bento-report h2 { font-size:21px; }
  .dashboard-overview .bento-report p { font-size:13px; }
  .dashboard-overview .bento-preview-note { margin-top:19px; font-size:10px; }
}
@media(prefers-reduced-motion:reduce) {
  .dashboard-overview .bento-card,
  .dashboard-overview .bento-card::after { transition:none; }
}
