/* The same saved-course board in Plan and in the Courses destination. */
html body.student-experience #app-shell#app-shell[data-preview-shell=true] .courses-board {
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:16px!important;margin:16px 0 24px;min-width:0;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true] .course-board-card {
 grid-column:span 2;display:flex;flex-direction:column;gap:14px;min-width:0;padding:22px;border:1px solid rgba(255,255,255,.94);border-radius:26px;
 background:linear-gradient(140deg,rgba(255,255,255,.84),rgba(234,252,255,.74));box-shadow:0 12px 28px #1630630b;color:#142344;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true] .course-board-card.is-featured{grid-column:span 3;min-height:290px;}
.course-board-heading{display:flex;gap:12px;align-items:center;min-width:0;}
.course-board-heading>div{min-width:0;flex:1;}
.course-board-dot{width:12px;height:12px;flex:none;border-radius:50%;}
html body.student-experience #app-shell#app-shell .course-board-heading h3{margin:3px 0 0;font-size:18px;line-height:1.35;letter-spacing:-.25px;overflow-wrap:anywhere;color:#142344;}
.course-board-eyebrow{display:block;font-size:10px;font-weight:850;letter-spacing:.7px;line-height:1.5;color:#51627d;overflow-wrap:anywhere;}
.course-board-resource{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:15px;border-radius:18px;background:rgba(90,118,197,.085);min-width:0;}
.course-board-resource strong{font-size:14px;line-height:1.45;overflow-wrap:anywhere;}
.course-board-resource p{margin:0;font-size:13px;line-height:1.55;color:#52617a;}
.course-board-resource small{font-size:12px;line-height:1.5;color:#52617a;}
.course-board-resource .course-board-ready{color:#13735d;font-weight:750;}
.course-board-resource progress{width:100%;height:6px;appearance:none;border:0;border-radius:6px;background:#d8e7ed;overflow:hidden;}
.course-board-resource progress::-webkit-progress-bar{background:#d8e7ed;border-radius:6px;}
.course-board-resource progress::-webkit-progress-value{background:#16816a;border-radius:6px;}
.course-board-resource progress::-moz-progress-bar{background:#16816a;}
html body.student-experience #app-shell#app-shell .course-board-button{min-height:44px;padding:10px 16px;border:0;border-radius:24px;background:#08135b;color:#fff;font:800 12px/1.4 Manrope,sans-serif;cursor:pointer;white-space:normal;text-align:center;}
.course-board-actions{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;margin-top:auto;padding-top:2px;}
html body.student-experience #app-shell#app-shell .course-board-link{min-height:44px;padding:8px 2px;border:0;background:transparent;color:#2548b2;font:750 12px/1.4 Manrope,sans-serif;cursor:pointer;}
html body.student-experience #app-shell#app-shell .course-board-delete{color:#884a5b;margin-left:auto;}
html body.student-experience #app-shell#app-shell .course-board-tile{grid-column:span 2;min-width:0;min-height:195px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;border:1.5px dashed #b8c5e5;border-radius:26px;background:#ffffff36;color:#2d48b5;cursor:pointer;text-align:center;font:700 14px/1.5 Manrope,sans-serif;}
.course-board-tile small{max-width:210px;font-size:12px;font-weight:650;color:#596781;}
.course-board-tile-icon{font-size:23px;line-height:1;}
html body.student-experience #app-shell#app-shell .course-board-tile:hover{background:#ffffff70;}
html body.student-experience #app-shell#app-shell .courses-board button:focus-visible{outline:3px solid #275ec9;outline-offset:4px;}
.courses-board-empty{grid-column:1/-1;padding:26px 4px 10px;}
.courses-board-empty h2{margin:0 0 10px;font-size:25px;letter-spacing:-.6px;}
.courses-board-empty p{margin:0;color:#52617a;line-height:1.6;max-width:520px;}
html body.student-experience #app-shell#app-shell [data-study-hero][hidden]{display:none!important;}
/* Use the board's cool backdrop only when no scenic theme is selected. */
html:not(.theme-dark) body.student-experience #app-shell#app-shell[data-preview-shell=true][data-design-theme=off]:has([data-view=study]:not([hidden]) [data-course-list-pane]:not([hidden]),[data-view=planner]:not([hidden])[data-plan-tab=courses]){background:radial-gradient(ellipse at 22% 4%,#a9dded88,transparent 52%),radial-gradient(ellipse at 88% 20%,#b4f1dc77,transparent 48%),radial-gradient(ellipse at 30% 95%,#c3dcff88,transparent 50%),#f3f5ff!important;}
@media(min-width:761px) and (max-width:1150px){
 html body.student-experience #app-shell#app-shell[data-preview-shell=true] .courses-board{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 html body.student-experience #app-shell#app-shell[data-preview-shell=true] .course-board-card,
 html body.student-experience #app-shell#app-shell[data-preview-shell=true] .course-board-card.is-featured,
 html body.student-experience #app-shell#app-shell .course-board-tile{grid-column:span 1;}
}
@media(max-width:760px){
 html body.student-experience #app-shell#app-shell[data-preview-shell=true] .courses-board{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin-top:12px;}
 html body.student-experience #app-shell#app-shell[data-preview-shell=true] .course-board-card,
 html body.student-experience #app-shell#app-shell[data-preview-shell=true] .course-board-card.is-featured{grid-column:1;min-height:0;padding:17px;gap:12px;border-radius:22px;}
 html body.student-experience #app-shell#app-shell .course-board-heading h3{font-size:18px;}
 .course-board-resource{padding:14px;border-radius:15px;}
 html body.student-experience #app-shell#app-shell .course-board-button{width:100%;font-size:13px;}
 .course-board-actions{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:6px;padding-top:0;}
 html body.student-experience #app-shell#app-shell .course-board-link{margin:0;min-height:44px;border:1px solid #bdcce266;border-radius:12px;}
 html body.student-experience #app-shell#app-shell .course-board-tile{grid-column:1;min-height:126px;padding:18px;gap:5px;border-radius:22px;}
 .courses-board-empty{padding:18px 4px 8px;}
 .courses-board-empty h2{font-size:23px;}
}

/* Compact library: course work first, secondary actions on demand. */
html body.student-experience #app-shell#app-shell[data-preview-shell=true] .courses-board{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:start;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true] .course-board-card,
html body.student-experience #app-shell#app-shell[data-preview-shell=true] .course-board-card.is-featured{grid-column:auto;min-height:0;padding:20px;gap:16px;border-radius:20px;box-shadow:0 4px 16px #16306308;}
.course-board-actions{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #172e5514;padding-top:12px;margin-top:auto;}
.course-board-menu{position:relative;margin-left:auto;}
.course-board-menu>summary{display:grid;place-items:center;width:44px;min-height:44px;border:1px solid #b8c9df;border-radius:12px;cursor:pointer;list-style:none;font-weight:800;letter-spacing:2px;background:#ffffff90;color:#243858;}
.course-board-menu>summary::-webkit-details-marker{display:none;}
.course-board-menu>div{position:absolute;z-index:10;right:0;top:calc(100% + 6px);display:grid;min-width:150px;padding:8px;border-radius:14px;border:1px solid #c7d3e5;background:#fff;box-shadow:0 12px 32px #14234424;}
.course-board-menu>div .course-board-link{text-align:left!important;padding:10px 14px!important;margin:0!important;}
.course-board-footer{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;}
html body.student-experience #app-shell#app-shell .course-board-tile{grid-column:auto;display:flex;flex-direction:row;min-height:48px;padding:10px 16px;gap:10px;border:1px solid #bacbe0;border-radius:12px;background:#ffffff70;font-size:13px;}
.course-board-tile small{display:none;}.course-board-tile-icon{font-size:17px;}
html body.student-experience #app-shell#app-shell [data-view=study] .page-header__actions{gap:8px;align-items:center;}
html body.student-experience #app-shell#app-shell [data-view=study] :is(.mc-button,.mc-study-more>summary){min-height:44px;border-radius:12px;padding:11px 16px;font-size:13px;font-weight:750;box-shadow:none;}
html body.student-experience #app-shell#app-shell [data-view=study] .mc-button--primary{background:#102b88!important;border:1px solid #102b88!important;color:#fff!important;}
html body.student-experience #app-shell#app-shell [data-view=study] .mc-button--secondary{background:#ffffffc9!important;border:1px solid #b9cbe3!important;color:#183156!important;}
html body.student-experience #app-shell#app-shell [data-view=study] button:focus-visible,
.course-board-menu>summary:focus-visible{outline:3px solid #3871d1;outline-offset:3px;}
html body.student-experience #app-shell#app-shell [data-view=study] .mc-button:disabled{opacity:.5;cursor:not-allowed;}
html body.student-experience #app-shell#app-shell [data-view=study] .mc-button:not(:disabled):hover{filter:brightness(.96);}
html body.student-experience #app-shell#app-shell [data-view=study] .library-sections{background:transparent;border-bottom:1px solid #aabed655;border-radius:0;padding:0;gap:22px;justify-content:flex-start;}
html body.student-experience #app-shell#app-shell [data-view=study] .library-sections a{flex:0 0 auto;min-height:44px;padding:12px 4px;border-radius:0;background:transparent;}
html body.student-experience #app-shell#app-shell [data-view=study] .library-sections a[aria-current=page]{border-bottom:3px solid #234caf;color:#183981;box-shadow:none;}
html body.student-experience #app-shell#app-shell [data-view=study] [data-recall-practice]{margin-top:16px;}
@media(max-width:1100px){html body.student-experience #app-shell#app-shell[data-preview-shell=true] .courses-board{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:640px){html body.student-experience #app-shell#app-shell[data-preview-shell=true] .courses-board{grid-template-columns:minmax(0,1fr)!important;}html body.student-experience #app-shell#app-shell .course-board-actions .course-board-button{width:auto;}.course-board-menu>div{min-width:160px;}html body.student-experience #app-shell#app-shell [data-view=study] .page-header__actions{flex-wrap:wrap;}}

html body.student-experience #app-shell#app-shell .course-board-due{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center;width:100%;min-height:60px;padding:10px 12px;border:1px solid #c4d4e8;border-radius:12px;text-align:left;color:#203657;background:#ffffff85;cursor:pointer;font:inherit;}
.course-board-due>.course-board-eyebrow{grid-column:1/-1;}.course-board-due strong{font-size:13px;overflow-wrap:anywhere;}.course-board-due small{font-size:12px;color:#465b76;}
.courses-resume{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:16px 0 8px;padding:14px 16px;border:1px solid #bfcee3;border-radius:14px;background:#ffffff90;}.courses-resume[hidden]{display:none!important;}.courses-resume>div{display:grid;gap:4px;min-width:0;}.courses-resume small{font-size:10px;letter-spacing:.6px;color:#4b607d;}.courses-resume strong{font-size:14px;overflow-wrap:anywhere;}.courses-resume button{flex-shrink:0;}
@media(max-width:480px){.courses-resume{align-items:flex-start;flex-direction:column;gap:10px;}.courses-resume button{width:100%;}}
