/* Deliberate color: three bold study tools, quiet exam surfaces. */
body.dashboard #bottom-grid{border-top:0!important;padding-top:0!important;margin-top:30px!important;gap:16px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.dashboard #bottom-grid .tool-preview{--tool-color:#d64218;--tool-ink:#fff;position:relative;isolation:isolate;overflow:hidden!important;display:flex!important;align-items:center;min-height:128px!important;height:auto!important;padding:23px 21px!important;border:0!important;border-radius:17px!important;background:var(--tool-color)!important;color:var(--tool-ink)!important;box-shadow:none!important;transition:transform .22s ease,box-shadow .22s ease}
body.dashboard #bottom-grid .leitner-preview{--tool-color:#7040dd;--tool-ink:#fff}body.dashboard #bottom-grid .feedback-preview{--tool-color:#ffdb5b;--tool-ink:#392b16}
body.dashboard #bottom-grid .tool-preview+.tool-preview{border-left:0!important;border-top:0!important}
body.dashboard #bottom-grid .tool-preview:hover{transform:translateY(-4px);box-shadow:0 10px 20px #31203d12!important}
body.dashboard #bottom-grid .tool-heading{position:static!important;display:flex!important;align-items:center!important;gap:15px!important;width:100%;margin:0!important;padding:0!important;z-index:2}
body.dashboard #bottom-grid .tool-heading>div{min-width:0;flex:1}body.dashboard #bottom-grid .tool-heading h2{color:var(--tool-ink)!important;font-size:22px!important;font-weight:800;line-height:1.2;letter-spacing:-.045em;margin:0 0 7px!important}body.dashboard #bottom-grid .tool-heading p{color:var(--tool-ink)!important;font-size:11px!important;font-weight:500;line-height:1.55;margin:0!important}
body.dashboard #bottom-grid .section-emblem{background:#ffffff1f!important;color:var(--tool-ink)!important;width:48px!important;height:54px!important;flex:0 0 48px!important;border-radius:12px!important;box-shadow:none!important}body.dashboard #bottom-grid .section-emblem .ui-icon{width:30px!important;height:30px!important;stroke-width:1.7}
body.dashboard #bottom-grid .feedback-preview .section-emblem{background:#e4b83255!important}
body.dashboard #bottom-grid .tool-heading>button{position:static!important;flex:none;padding:0!important;border:0!important;background:none!important;border-radius:50%;color:inherit}body.dashboard #bottom-grid .tool-heading>button::after{content:'';position:absolute;inset:0;z-index:3;border-radius:17px;cursor:pointer}
body.dashboard #bottom-grid .round-arrow{position:relative!important;inset:auto!important;display:grid!important;place-items:center;width:35px!important;height:35px!important;min-width:35px!important;background:#fff!important;color:var(--tool-color)!important;box-shadow:none!important;border:0!important;transform:none;transition:transform .22s ease}body.dashboard #bottom-grid .feedback-preview .round-arrow{background:#392b16!important;color:#ffdb5b!important}body.dashboard #bottom-grid .round-arrow .ui-icon{width:21px!important;height:21px!important}body.dashboard #bottom-grid .tool-preview:hover .round-arrow{transform:rotate(-35deg)}
body.dashboard #bottom-grid .tool-preview:has(button:focus-visible){outline:3px solid #362440;outline-offset:4px}body.dashboard #bottom-grid .tool-heading>button:focus-visible{outline:0!important}
/* A small stack motif belongs to the flashcard tool. */
body.dashboard #bottom-grid .leitner-preview::after{content:'';position:absolute;width:100px;height:120px;right:26px;top:-41px;border:1px solid #ffffff23;border-radius:13px;transform:rotate(24deg);pointer-events:none;z-index:-1}
body.dashboard #overview-top{border-top:1px solid #e8e1ed!important;margin-top:29px!important;padding-top:24px!important}body.dashboard #overview-top .labs-heading{margin-bottom:15px!important;gap:12px!important}body.dashboard #overview-top .labs-heading>.section-emblem{background:#eee7ff!important;color:#7040dd!important;border-radius:12px!important}body.dashboard #overview-top .labs-heading h2{color:#2a2436!important;font-size:20px!important}body.dashboard #overview-top .labs-heading p{color:#85758f!important;font-size:11px!important}body.dashboard #overview-top .heading-arrow .round-arrow{background:#7040dd!important;color:#fff!important;width:39px!important;height:39px!important}
body.dashboard #overview-top .lab-card{--lab-color:#7040dd;--lab-tint:#f4efff;position:relative;background:#fff!important;border:1px solid #e7e0ed!important;border-radius:13px!important;min-height:99px!important;padding:17px 15px!important;gap:13px!important;box-shadow:none!important;transition:background .2s,border-color .2s,transform .2s}
body.dashboard #overview-top .lab-card.listening{--lab-color:#2864c9;--lab-tint:#edf4ff}body.dashboard #overview-top .lab-card.speaking{--lab-color:#d64218;--lab-tint:#fff0e8}body.dashboard #overview-top .lab-card.writing{--lab-color:#927000;--lab-tint:#fff7d9}
body.dashboard #overview-top .lab-card:hover{background:var(--lab-tint)!important;border-color:var(--lab-color)!important;transform:translateY(-2px)}body.dashboard #overview-top .lab-symbol{width:43px!important;flex-basis:43px!important;height:49px!important;border-radius:12px!important;background:var(--lab-tint)!important;color:var(--lab-color)!important;transition:background .2s,color .2s}body.dashboard #overview-top .lab-symbol .ui-icon{width:27px!important;height:27px!important}body.dashboard #overview-top .lab-copy b{font-size:14px!important;color:#332b41!important;line-height:1.3}body.dashboard #overview-top .lab-copy small{font-size:11px!important;line-height:1.55;color:#8e7d9a!important;margin-top:5px}body.dashboard #overview-top .lab-card .round-arrow{background:var(--lab-tint)!important;color:var(--lab-color)!important;width:28px!important;height:28px!important;right:13px!important;bottom:15px!important}body.dashboard #overview-top .lab-card:hover .lab-symbol{background:var(--lab-color)!important;color:#fff!important}body.dashboard #overview-top .lab-card:hover .round-arrow{background:var(--lab-color)!important;color:#fff!important}
/* Strengthen the primary action and keep supporting exam text legible. */
body.dashboard #studio-continue{background:#d64218!important;color:#fff!important}body.dashboard #studio-continue:hover{background:#b73512!important}body.dashboard .card-title{color:#453450!important}body.dashboard .exam-number{color:#79569c!important}body.dashboard .exam-subtitle{color:#91769f!important}body.dashboard .studio-card-footer>span:last-child{color:#8e729e!important}body.dashboard .exam-card.studio-in-progress{background:#fff7f0!important;border-color:#f1c4aa!important}body.dashboard .studio-in-progress .exam-number{background:#ffe8d6!important;color:#b84b1d!important}body.dashboard .studio-in-progress .card-action{background:#d64218!important;color:#fff!important}
@media(min-width:1700px){body.dashboard #bottom-grid .tool-preview{min-height:145px!important;padding:25px!important}body.dashboard #bottom-grid .tool-heading h2{font-size:25px!important}body.dashboard #bottom-grid .tool-heading p{font-size:13px!important}body.dashboard #bottom-grid .section-emblem{width:57px!important;flex-basis:57px!important;height:62px!important}body.dashboard #bottom-grid .round-arrow{width:41px!important;height:41px!important}body.dashboard #overview-top .lab-card{min-height:111px!important}body.dashboard #overview-top .lab-copy b{font-size:16px!important}body.dashboard #overview-top .lab-copy small{font-size:12px!important}}
@media(max-width:1150px){body.dashboard #bottom-grid .tool-preview{padding:19px 15px!important;min-height:118px!important}body.dashboard #bottom-grid .tool-heading{gap:11px!important}body.dashboard #bottom-grid .tool-heading h2{font-size:19px!important}body.dashboard #bottom-grid .tool-heading p{font-size:10px!important}body.dashboard #bottom-grid .section-emblem{width:40px!important;flex-basis:40px!important;height:48px!important}body.dashboard #bottom-grid .round-arrow{width:28px!important;min-width:28px!important;height:28px!important}body.dashboard #overview-top .lab-card{padding-inline:12px!important;gap:10px!important}body.dashboard #overview-top .lab-copy b{font-size:13px!important}body.dashboard #overview-top .lab-copy small{font-size:10px!important}}
@media(max-width:800px){body.dashboard #bottom-grid{grid-template-columns:1fr!important;gap:12px!important}body.dashboard #bottom-grid .tool-preview{min-height:108px!important;padding:22px!important}body.dashboard #bottom-grid .tool-heading{gap:16px!important}body.dashboard #bottom-grid .tool-heading h2{font-size:22px!important}body.dashboard #bottom-grid .tool-heading p{font-size:12px!important}body.dashboard #bottom-grid .section-emblem{width:49px!important;flex-basis:49px!important;height:55px!important}body.dashboard #bottom-grid .round-arrow{width:35px!important;min-width:35px!important;height:35px!important}body.dashboard #overview-top .lab-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}body.dashboard #overview-top .lab-card{min-height:115px!important;align-items:flex-start!important;padding:15px!important}body.dashboard #overview-top .lab-copy{padding-top:4px!important}body.dashboard #overview-top .lab-copy b{font-size:13px!important}body.dashboard #overview-top .lab-copy small{font-size:10px!important}body.dashboard #overview-top .lab-symbol{width:36px!important;flex-basis:36px!important;height:43px!important}body.dashboard #overview-top .lab-symbol .ui-icon{width:24px!important;height:24px!important}body.dashboard #overview-top .lab-card .round-arrow{right:10px!important;bottom:10px!important;width:25px!important;height:25px!important}}
@media(max-width:430px){body.dashboard #overview-top .lab-card{padding:13px!important;gap:8px!important}body.dashboard #overview-top .lab-copy b{font-size:12px!important}body.dashboard #overview-top .lab-copy small{font-size:9px!important}body.dashboard #overview-top .lab-symbol{width:31px!important;flex-basis:31px!important;height:38px!important}body.dashboard #overview-top .lab-symbol .ui-icon{width:22px!important;height:22px!important}}
@media(prefers-reduced-motion:reduce){body.dashboard #bottom-grid .tool-preview,body.dashboard #bottom-grid .round-arrow,body.dashboard #overview-top .lab-card{transition:none!important;transform:none!important}}
