:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#1e2b36;background:#f7f9fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:#116b65;text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button{cursor:pointer}.site-header{background:white;border-bottom:1px solid #e0e8e8;position:relative;z-index:2}.head-row{height:66px;display:flex;align-items:center;justify-content:space-between;max-width:1550px;margin:auto;padding:0 29px}.brand{display:flex;align-items:center;gap:9px;font-weight:500;color:#173d40;font-size:21px;letter-spacing:-.6px}.brand:hover{text-decoration:none}.brand-logo{color:white;background:#12685d;width:36px;height:36px;display:grid;place-items:center;font-size:25px;border-radius:11px}.head-right{display:flex;align-items:center;gap:17px;font-size:13px}.institution-name{font-weight:600}.avatar{display:inline-grid;place-items:center;border-radius:50%;width:34px;height:34px;background:#d9eae7;color:#155d52;font-weight:700}.link-button{border:0;background:none;color:#597071;font-size:13px;padding:4px}.small-link{font-weight:600}.top-nav{padding:0 29px;max-width:1550px;margin:auto;display:flex;gap:11px;flex-wrap:wrap}.top-nav a{display:flex;align-items:center;gap:8px;font-size:14px;color:#52676c;padding:14px 17px;border-bottom:3px solid transparent}.top-nav a:hover,.top-nav a.active{border-bottom-color:#188275;color:#14695c;text-decoration:none;background:#f4f9f8}.footer{text-align:center;padding:28px;font-size:11px;color:#93a1a3}.main-container{max-width:1340px;padding:40px 30px 80px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:35px}.page-heading h1{font-size:34px;letter-spacing:-1.3px;margin:7px 0 4px}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;font-size:10px;font-weight:800;color:#178577}.muted{color:#718087}.section h2,h2{font-size:23px;letter-spacing:-.5px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:23px}.course-card{border:1px solid #e2e9e9;background:white;border-radius:13px;overflow:hidden;box-shadow:0 6px 14px #183d3c08;color:inherit;transition:transform .15s}.course-card:hover{text-decoration:none;transform:translateY(-3px)}.course-art{height:130px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#28695f,#65ad93);color:white;font-size:60px}.course-art.theme-1{background:linear-gradient(135deg,#345d87,#9badd2)}.course-art.theme-2{background:linear-gradient(135deg,#775c85,#b298ca)}.course-art.theme-3{background:linear-gradient(135deg,#826747,#d4b18a)}.course-card-body{padding:21px}.course-card-body h3{margin:8px 0}.course-card-body p{font-size:13px;color:#738186;min-height:40px}.card-foot,.activity-header{display:flex;justify-content:space-between;gap:10px;align-items:center}.card-foot{margin-top:22px;font-size:12px;color:#196e63}.pill{font-size:11px;padding:5px 9px;border-radius:999px;background:#eff2f4;color:#6e777a;display:inline-flex;white-space:nowrap}.pill.live{background:#e0f3eb;color:#12775c}.quick-row,.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:45px}.quick-row article,.feature-grid article,.panel{background:white;border:1px solid #e3e9ea;border-radius:12px;padding:24px}.quick-row article p,.feature-grid article p{color:#79878e;font-size:13px;line-height:1.6}.button{background:#116d61;color:white;display:inline-block;border:1px solid #116d61;padding:11px 16px;border-radius:8px;font-size:13px;font-weight:700;white-space:nowrap}.button:hover{background:#0c554d;color:white;text-decoration:none}.button.secondary{background:white;color:#126b60;border-color:#b8d7d0}.button.secondary:hover{background:#e8f4f0}.button:disabled{opacity:.5;cursor:not-allowed}.button.full{width:100%;margin-top:14px}.button-row,.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.landing{max-width:1140px;margin:0 auto;padding:85px 25px}.hero{max-width:770px}.hero h1{font-size:clamp(38px,6vw,65px);letter-spacing:-2.5px;line-height:1.1;margin:16px 0}.hero p{font-size:20px;color:#718087;line-height:1.6}.note{margin-top:50px;color:#718087}.auth-wrap{min-height:calc(100vh - 190px);display:grid;place-items:start center;padding:60px 20px}.auth-card{border:1px solid #dde8e8;background:white;padding:36px;width:min(100%,480px);border-radius:15px;box-shadow:0 10px 40px #1f4e4a0a}.auth-card h1{font-size:30px;letter-spacing:-1px;margin:12px 0}.auth-card p{line-height:1.6;font-size:14px}.auth-card form,.panel form,.editor-box form{display:grid;gap:15px;margin-top:24px}label{display:grid;gap:7px;font-size:13px;font-weight:650}input,textarea,select{display:block;width:100%;background:white;color:#20393b;border:1px solid #cad8d9;padding:11px 12px;border-radius:7px;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #9bd3c8;border-color:#157a6d}textarea{resize:vertical;line-height:1.5}small,.help{color:#859294;font-size:12px}.error{padding:13px;background:#fff0ef;color:#b6322c;border-radius:8px;margin-top:15px}.success{padding:15px;background:#e4f5ef;color:#206c52;border-radius:8px;margin:14px 0;overflow-wrap:anywhere}.success input{margin-top:10px}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.panel h2{margin:0 0 10px}.panel h3{margin-top:0}.stat{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ecf1f2;padding:12px 0}.stat b{font-size:28px;color:#1b6d5e}.stat span{color:#789}.course-layout{display:grid;grid-template-columns:235px minmax(0,1fr);max-width:1550px;min-height:calc(100vh - 170px);margin:auto;background:#fff}.course-sidebar{background:#f7faf9;border-right:1px solid #e0e8e8;display:flex;flex-direction:column;padding:30px 15px}.course-small{padding:0 13px 22px;display:grid;gap:8px}.course-small strong{font-size:14px}.side-nav{display:grid;gap:5px}.side-nav a{display:flex;align-items:center;gap:11px;padding:13px 13px;border-radius:8px;font-size:14px;color:#52646a}.side-nav a.selected,.side-nav a:hover{background:#e4f2ee;color:#126e61;font-weight:700;text-decoration:none}.side-icon{font-size:21px;width:22px;text-align:center}.sidebar-bottom{margin-top:auto;padding:23px 10px;font-size:13px}.course-content{padding:37px clamp(20px,4vw,70px) 75px;min-width:0}.crumb{font-size:12px;color:#96a1a5;margin-bottom:22px}.crumb span{padding:0 8px}.course-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.course-title-row h1{font-size:clamp(25px,3vw,38px);letter-spacing:-1.4px;margin:3px 0 8px}.course-title-row p{line-height:1.5}.content-meta{display:flex;align-items:center;gap:15px;border-bottom:1px solid #e9eeee;margin:17px 0 28px;padding-bottom:24px;color:#89979a;font-size:11px;flex-wrap:wrap}.content-meta code{overflow-wrap:anywhere}.welcome-panel{background:#ecf6f3;padding:32px;border:1px solid #d4e8e0;border-radius:13px}.welcome-panel h2{margin:12px 0}.welcome-panel p{color:#5a7770;line-height:1.6}.two-panels{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.two-panels .panel p{border-bottom:1px solid #eef2f2;padding-bottom:13px;font-size:13px}.module-card{display:flex;gap:18px;padding:23px;background:white;border:1px solid #e0e8e8;border-radius:11px;margin-bottom:13px}.module-card h3{margin:0 0 9px}.module-number{border-radius:50%;display:grid;place-items:center;background:#dfefe9;color:#176d60;font-size:14px;font-weight:800;min-width:36px;height:36px}.prose{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.editor-box{margin-top:22px;padding:20px;background:#f4f8f7;border:1px dashed #b2d3c9;border-radius:9px}.editor-box summary{font-weight:750;color:#166e60;cursor:pointer}.empty{padding:35px;border:1px dashed #ccd9dc;border-radius:10px;color:#86969a;background:#fff}.activity{margin-bottom:20px}.activity p{line-height:1.6}.discussion-list{margin-top:22px;display:grid;gap:12px}.comment-user{display:flex;align-items:center;gap:10px}.comment-user small{color:#829195}table{border-collapse:collapse;width:100%;font-size:13px}td,th{text-align:left;padding:13px 8px;border-bottom:1px solid #e7eded}th{color:#687c7d}.grade-form{display:grid;grid-template-columns:140px 1fr auto;gap:10px;align-items:end}.grade-form input{max-width:100%}@media(max-width:800px){.course-layout{grid-template-columns:1fr}.course-sidebar{padding:12px;display:block}.course-small{padding:5px}.side-nav{display:flex;overflow-x:auto;padding:7px 0}.side-nav a{white-space:nowrap}.sidebar-bottom{display:none}.course-content{padding:22px}.course-title-row{display:block}.head-row{padding:0 14px}.institution-name{display:none}.top-nav{padding:0 8px;gap:0}.top-nav a{padding:12px;font-size:12px}.admin-grid,.two-panels,.quick-row,.feature-grid{grid-template-columns:1fr}.grade-form{grid-template-columns:1fr}.page-heading{display:block}.main-container{padding:25px 18px}.auth-card{padding:24px}}@media(max-width:450px){.top-nav a{font-size:11px;padding:9px 8px}.top-nav a span{display:none}.brand{font-size:18px}.head-right{gap:7px}}

.role-view{display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:#edf6f4;border:1px solid #c9e3dc;padding:12px 15px;border-radius:12px;margin:15px 0}.role-view span{color:#425b54;flex:1}.role-view .button{font-size:.82rem;padding:8px 12px}.syllabus-field{margin:18px 0}.syllabus-field label{display:block;margin-bottom:7px}.syllabus-field textarea{width:100%;box-sizing:border-box;white-space:pre-wrap}.syllabus-section{border-top:1px solid #e1e5e8;padding:16px 0}.syllabus-section h3{margin:0 0 8px}.syllabus-section .prose{white-space:pre-wrap}

.module-unit{background:#fff;border:1px solid #dae5e3;border-radius:14px;padding:22px;margin:18px 0}.module-top{display:flex;align-items:flex-start;gap:16px}.module-top h3{margin:0}.module-entries{margin:18px 0 10px 52px;display:grid;gap:12px}.module-entry{padding:16px;background:#fafdfc;border:1px solid #e3edeb;border-radius:10px}.module-entry-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.kind-tag{font-size:11px;font-weight:750;color:#166b60;background:#e3f2ed;padding:5px 9px;border-radius:6px}.entry-meta{font-size:12px;color:#738784;margin:10px 0}.module-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.module-controls form{margin:0}.module-controls button{padding:6px 9px;font-size:11px}.module-reply{margin-top:14px!important;display:grid;gap:9px}.module-reply button{justify-self:start}.topic-replies{margin:12px 0;border-left:3px solid #d1e8df;padding-left:14px;font-size:13px}.topic-replies p{margin:8px 0}@media(max-width:800px){.module-entries{margin-left:0}.module-unit{padding:14px}}
.lecture-block{margin:16px 0}.flip-card{padding:18px;border:1px solid #cbd5e1;border-radius:12px;background:#eff6ff}.flip-card summary{cursor:pointer}.flip-back{background:white;padding:20px;border-radius:8px;margin-top:12px}.video-frame{aspect-ratio:16/9;max-width:850px}.video-frame iframe{width:100%;height:100%;border:0;border-radius:12px}

/* Academy emblem reused in header and browser favicon */
.brand-mark{width:36px;height:36px;object-fit:contain;display:inline-block;flex:none;border-radius:10px}

/* Build .0015 lecture composer and private image blocks */
.lecture-section-title{margin-top:28px}.lecture-block{position:relative}.lecture-block h3{margin:12px 0 15px}
.lecture-text{font-size:15px;line-height:1.8}.lecture-image{margin:16px 0;max-width:100%;display:grid;gap:10px}
.lecture-image img{display:block;max-width:100%;max-height:680px;width:auto;height:auto;border-radius:10px;border:0;object-fit:contain}
.lecture-image figcaption{font-size:13px;color:#5a7371;line-height:1.5}
.lecture-composer [hidden]{display:none!important}.lecture-composer form{gap:14px}
.lecture-check{max-width:500px;margin-top:18px}.lecture-check button{justify-self:start}

/* Activity scheduling controls */
.schedule-fields { border:1px solid var(--border, #cbd5e1); border-radius:10px; padding:12px; margin:14px 0; }
.schedule-fields legend { font-weight:700; padding:0 8px; }
.schedule-fields label { display:block; margin:8px 0; }
.schedule-fields small { display:block; opacity:.78; margin-top:8px; }

/* Course lifecycle administration */
.retention-table{overflow-x:auto;margin:18px 0}.retention-table table{min-width:680px}.retention-table td{vertical-align:top}.retention-table label{font-size:12px;margin-bottom:8px}.retention-table form{margin:0;gap:8px}.retention-table input{max-width:235px}.retention-table .button{padding:8px 12px}.panel#course-retention,.panel#course-availability{margin-top:22px}.panel#course-retention>form{max-width:680px}.panel#course-retention label:has(input[type=checkbox]){display:flex;align-items:center;gap:12px}.panel#course-retention input[type=checkbox]{width:18px;height:18px;flex:none}

/* Discussion scheduling: always show all four independent dates. */
.discussion-schedule{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px;margin:14px 0 18px}
.discussion-date{background:#f2f7f6;border:1px solid #d9e8e3;border-radius:9px;padding:11px;display:grid;gap:5px;min-width:0}
.discussion-date .date-label{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#496861;font-weight:750}
.discussion-date strong{font-size:12px;color:#253d38;overflow-wrap:anywhere}
.discussion-next{background:#edf6f3;border-left:3px solid #287769;padding:10px 12px;color:#28574f;font-size:12px;line-height:1.6}
.post-stage{font-size:11px;display:inline-block;border:1px solid #accfc6;border-radius:20px;padding:1px 7px;color:#126456;vertical-align:middle}
.post-late{font-size:11px;font-weight:700;display:inline-block;border-radius:20px;background:#fff0da;color:#80520b;padding:1px 7px;vertical-align:middle}


/* .0031 Native interactive lesson layout — reference-inspired, original Harbor Learn CSS. */
.lecture-stream{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 22px;max-width:920px;margin-top:26px;align-items:start;--lesson-accent:#ff642c}
.lecture-stream .lecture-wide-unit{grid-column:1/-1}
.lecture-stream .lecture-flash-unit{grid-column:auto;min-width:0}
.lecture-stream .lecture-block{margin:0;box-shadow:none;border:0;border-radius:0;padding:16px 0 20px;background:transparent}
.lecture-stream .lecture-block-heading{color:#162c33;font-family:ui-sans-serif,system-ui,sans-serif;font-size:clamp(23px,2.6vw,32px);font-weight:680;letter-spacing:-.035em;line-height:1.22;margin:0 0 16px}
.lecture-stream .lecture-text,.lecture-stream .lecture-intro{font-family:Georgia,"Times New Roman",serif;line-height:1.7;font-size:clamp(16px,1.6vw,19px);color:#172331;margin:12px 0 26px;white-space:pre-wrap}
.lecture-stream .lecture-intro{white-space:pre-line}
.lecture-stream .lecture-flash-unit{padding:0;display:flex;flex-direction:column;border:0}
.lecture-stream .lecture-flash-unit .lecture-block-heading{font-size:18px;margin:0;padding:0 6px 12px;line-height:1.4}
.lecture-stream .lecture-flash-unit .lecture-edit-meta{padding:8px}
.lecture-stream .flip-card{position:relative;border:1px solid #d7dfe0;border-top:3px solid var(--lesson-accent);border-radius:0;background:#fff;min-height:240px;height:100%;padding:0;box-shadow:0 7px 20px #11182708}
.lecture-stream .flip-card summary{list-style:none;cursor:pointer;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:235px;padding:35px 27px;text-align:center;gap:12px}
.lecture-stream .flip-card summary::-webkit-details-marker{display:none}
.lecture-stream .flip-face{font-size:clamp(18px,2vw,24px);font-weight:350;line-height:1.5;color:#252c2f;overflow-wrap:anywhere;white-space:pre-wrap}
.lecture-stream .flip-toggle{position:absolute;right:14px;top:10px;font-size:25px;line-height:1;color:#2b383d}
.lecture-stream .flip-instruction{color:#687a7d;font-size:11px;letter-spacing:.02em}
.lecture-stream .flip-card[open] summary{min-height:0;padding:14px 22px 10px;border-bottom:1px solid #ececec}.lecture-stream .flip-card[open] summary .flip-face{font-size:14px}
.lecture-stream .flip-back{background:white;border:0;padding:24px;min-height:150px;display:flex;flex-direction:column;justify-content:center;text-align:center;align-items:center;gap:15px}
.lecture-stream .flip-back .flip-face{font-size:18px}
.lecture-accordion{border:0;margin:22px auto;max-width:790px;background:transparent}
.lecture-accordion-item{border:0;border-radius:9px;margin-bottom:10px;background:#f6f9f8}
.lecture-accordion-item:last-child{border-bottom:0}
.lecture-accordion-item[open]{background:#f3f8f6}
.lecture-accordion-item summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:26px 30px;font-weight:730;list-style:none;color:#152f39}
.lecture-accordion-item summary::-webkit-details-marker{display:none}
.accordion-toggle::before{content:'+';font-size:25px;font-weight:350;color:#637377}
.lecture-accordion-item[open] .accordion-toggle::before{content:'−'}
.lecture-accordion-item .accordion-detail{font-family:Georgia,"Times New Roman",serif;white-space:pre-wrap;font-size:17px;line-height:1.65;padding:0 30px 28px;color:#20313d}
.lecture-numbered{list-style:none;display:grid;gap:25px;margin:28px 0;padding:0}
.lecture-numbered li{display:grid;grid-template-columns:54px minmax(0,1fr);gap:20px;align-items:start;font-family:Georgia,"Times New Roman",serif;line-height:1.65;font-size:18px}
.lecture-numbered strong{font-weight:750}.lecture-number{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;background:var(--lesson-accent);color:white;font:700 15px ui-sans-serif,system-ui,sans-serif}
.lecture-stream .lecture-kind-check{border:0;padding:30px 0 44px}
.lecture-question{font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.5;margin:12px 0 20px;padding-bottom:8px;border:0}
.lecture-stream .lecture-check{max-width:none;display:grid;gap:22px;margin:0}
.lecture-choices{padding:0;border:0;margin:0;display:grid;gap:9px}
.lecture-choice{display:flex;flex-direction:row;gap:18px;align-items:center;padding:13px 14px;border:0;border-radius:6px;cursor:pointer;font:400 17px Georgia,"Times New Roman",serif}
.lecture-choice:hover,.lecture-choice:has(input:checked){background:#fff4ed}
.lecture-choice input{width:20px;height:20px;accent-color:#ee5b25;flex:none;margin:0}
.lecture-stream .lecture-submit{justify-self:center;min-width:170px;background:var(--lesson-accent);border-color:var(--lesson-accent);border-radius:999px;text-transform:uppercase;letter-spacing:.03em;color:#151515}
.lecture-stream .lecture-submit:hover{background:#ec5520}
.lecture-answer-feedback{border-radius:6px;padding:15px;margin:20px 0 5px;line-height:1.5;font-weight:650}
.lecture-answer-success{color:#155d41;background:#e3f5eb}.lecture-answer-retry{color:#8c4b11;background:#fff0df}
.lecture-check-note{font-size:12px;color:#637577;line-height:1.5}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.lecture-stream .editor-box{margin-top:15px}
@media (max-width:900px){.lecture-stream{gap:24px 16px}.lecture-stream .lecture-block{padding:13px 0 17px}}
@media (max-width:620px){.lecture-stream{grid-template-columns:1fr;gap:20px}.lecture-stream .lecture-flash-unit{grid-column:1/-1}.lecture-stream .lecture-block{padding:12px 0}.lecture-numbered li{grid-template-columns:42px minmax(0,1fr);gap:9px}.lecture-accordion-item summary{padding:22px 17px}.lecture-accordion-item .accordion-detail{padding:0 18px 23px}}
@media (prefers-reduced-motion:reduce){.lecture-stream *, .lecture-stream *::before,.lecture-stream *::after{animation:none!important;transition:none!important}}

/* Interaction clarity and accessibility: native details/summary works without JS. */
.lecture-stream .flip-instruction-back{display:none}
.lecture-stream .flip-card[open] .flip-instruction-front{display:none}
.lecture-stream .flip-card[open] .flip-instruction-back{display:inline}
.lecture-stream .flip-card[open] summary .flip-face{display:none}
.lecture-stream .flip-card[open] summary{min-height:0;align-items:flex-end;justify-content:flex-end;padding:15px 22px 8px;border-bottom:0}
.lecture-stream .flip-card[open] .flip-back{min-height:188px;padding:25px 25px 40px}
.lecture-stream .flip-card[open] .flip-back .flip-instruction{display:none}
.lecture-stream .flip-card:focus-within{outline:2px solid #d14b16;outline-offset:3px}
.lecture-stream .flip-card summary:focus-visible, .lecture-accordion-item summary:focus-visible, .lecture-choice:focus-within{outline:3px solid #145f56;outline-offset:3px}
.lecture-stream .lecture-choice:has(input:checked){background:#fff3e8}
.lecture-stream .lecture-choice input:focus-visible{outline:2px solid #145f56;outline-offset:4px}
@media print{.lecture-stream{display:block}.lecture-stream .lecture-block{margin-bottom:20px;page-break-inside:avoid}.lecture-stream .flip-card{min-height:180px}.lecture-stream .lecture-kind-check button{display:none}}

/* .0297: Content-sized, two-sided flashcards. Each face participates in grid
   track sizing, so the longer face sets the card height at every viewport/zoom.
   No clipped, absolutely positioned face or fixed 255px limit. */
.lecture-stream button.flip-card{
  display:block;appearance:none;-webkit-appearance:none;cursor:pointer;
  text-align:initial;font:inherit;color:inherit;width:100%;height:auto;min-height:0;
  padding:0;border:0;border-radius:10px;background:transparent;
  perspective:1100px;box-shadow:none;overflow:visible
}
.lecture-stream .flip-card-inner{
  display:grid;grid-template-columns:minmax(0,1fr);position:relative;
  width:100%;height:auto;min-height:260px;transform-style:preserve-3d;
  transition:transform .68s cubic-bezier(.25,.7,.25,1)
}
.lecture-stream .flip-card.is-flipped .flip-card-inner{transform:rotateY(180deg)}
.lecture-stream .flip-card-side{
  grid-area:1/1;position:relative;inset:auto;display:flex;
  flex-direction:column;justify-content:center;align-items:center;
  min-width:0;width:100%;min-height:260px;height:auto;
  text-align:center;gap:14px;padding:44px 25px 25px;
  box-sizing:border-box;backface-visibility:hidden;-webkit-backface-visibility:hidden;
  border:1px solid #dce7e3;border-radius:10px;
  background:#f7f9f8;box-shadow:0 6px 19px #1118270c
}
.lecture-stream .flip-card-back{transform:rotateY(180deg);background:#f6fbfa}
.lecture-stream .flip-card .flip-face{
  display:block;max-width:100%;font-size:clamp(15px,1.2vw,17px);
  font-weight:400;line-height:1.5;white-space:pre-wrap;
  overflow-wrap:anywhere;word-break:normal
}
.lecture-stream .flip-card .flip-instruction{
  display:block;font-size:12px;line-height:1.4;color:#627772;
  white-space:normal
}
.lecture-stream .flip-card:hover .flip-card-side{box-shadow:0 10px 24px #11182716}
.lecture-stream .flip-card:focus-visible{outline:3px solid #145f56;outline-offset:5px}
.lecture-stream .flip-card .flip-toggle{position:absolute;right:14px;top:12px}
@media(max-width:620px){
  .lecture-stream .flip-card-side{padding:42px 20px 22px;min-height:230px}
  .lecture-stream .flip-card-inner{min-height:230px}
}
.lecture-stream .lecture-choices legend{font-weight:650;color:#354b4c;margin-bottom:8px;font-size:14px}
@media (prefers-reduced-motion:reduce){.lecture-stream .flip-card-inner{transition:none}}
@media print{.lecture-stream button.flip-card{height:auto;min-height:0}.lecture-stream .flip-card-inner{height:auto;transform:none!important;display:grid;gap:10px}.lecture-stream .flip-card-side{position:static;min-height:160px;transform:none!important;backface-visibility:visible;box-shadow:none}.lecture-stream .flip-card .flip-instruction{display:none}}

/* .0033: Seamless lesson canvas. Only authoring tools retain a dashed edit boundary. */
.lecture-stream .lecture-wide-unit{min-width:0}
.lecture-stream .lecture-image{margin:6px 0 15px}
.lecture-stream .video-frame{border:0;overflow:hidden;border-radius:9px}
.lecture-stream .lecture-edit-meta{margin-bottom:12px}
.lecture-stream .lecture-block:focus-within{scroll-margin-top:18px}
.lecture-stream .lecture-accordion-item summary:hover{background:#edf4f1;border-radius:9px}
.lecture-stream .lecture-accordion-item summary:focus-visible{outline:3px solid #145f56;outline-offset:2px}
@media print{.lecture-stream .lecture-block,.lecture-stream .flip-card-side,.lecture-stream .lecture-accordion-item{border:0!important;box-shadow:none!important}}

/* .0034: independently selected lecture-component heading typography. */
.lecture-heading-settings{border:1px solid #d9e5e1;border-radius:10px;padding:14px 16px;margin:10px 0 18px}
.lecture-heading-settings legend{font-weight:700;padding:0 7px;color:#23463f}
.lecture-heading-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lecture-heading-toggles{display:flex;flex-wrap:wrap;gap:12px 22px;margin:14px 0}
.lecture-heading-toggles label{display:inline-flex;align-items:center;gap:7px;cursor:pointer;margin:0}
.lecture-heading-toggles input{width:18px;height:18px;accent-color:#12665c}
.lecture-stream .lecture-block-heading.heading-font-arial{font-family:Arial,Helvetica,sans-serif}
.lecture-stream .lecture-block-heading.heading-font-georgia{font-family:Georgia,serif}
.lecture-stream .lecture-block-heading.heading-font-times{font-family:"Times New Roman",Times,serif}
.lecture-stream .lecture-block-heading.heading-font-verdana{font-family:Verdana,Geneva,sans-serif}
.lecture-stream .lecture-block-heading.heading-font-trebuchet{font-family:"Trebuchet MS",Arial,sans-serif}
.lecture-stream .lecture-block-heading.heading-font-tahoma{font-family:Tahoma,Geneva,sans-serif}
.lecture-stream .lecture-block-heading.heading-regular{font-weight:400}
.lecture-stream .lecture-block-heading.heading-italic{font-style:italic}
.lecture-stream .lecture-block-heading.heading-underline{text-decoration:underline;text-decoration-thickness:from-font;text-underline-offset:.13em}
.lecture-stream .lecture-block-heading.heading-size-16,.lecture-stream .lecture-flash-unit .lecture-block-heading.heading-size-16{font-size:16px}
.lecture-stream .lecture-block-heading.heading-size-18,.lecture-stream .lecture-flash-unit .lecture-block-heading.heading-size-18{font-size:18px}
.lecture-stream .lecture-block-heading.heading-size-20,.lecture-stream .lecture-flash-unit .lecture-block-heading.heading-size-20{font-size:20px}
.lecture-stream .lecture-block-heading.heading-size-24,.lecture-stream .lecture-flash-unit .lecture-block-heading.heading-size-24{font-size:24px}
.lecture-stream .lecture-block-heading.heading-size-28,.lecture-stream .lecture-flash-unit .lecture-block-heading.heading-size-28{font-size:28px}
.lecture-stream .lecture-block-heading.heading-size-32,.lecture-stream .lecture-flash-unit .lecture-block-heading.heading-size-32{font-size:32px}
.lecture-stream .lecture-block-heading.heading-size-36,.lecture-stream .lecture-flash-unit .lecture-block-heading.heading-size-36{font-size:36px}
.lecture-stream .lecture-block-heading.heading-size-40,.lecture-stream .lecture-flash-unit .lecture-block-heading.heading-size-40{font-size:40px}
.lecture-stream .lecture-block-heading.heading-size-48,.lecture-stream .lecture-flash-unit .lecture-block-heading.heading-size-48{font-size:48px}
@media(max-width:620px){.lecture-heading-settings-grid{grid-template-columns:1fr}}

/* 2026.10.09.0035 — question bank and student assessment */
.bank-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.bank-tools{display:grid;gap:18px}.bank-import-guide{overflow-wrap:anywhere;background:var(--surface-alt,#f3f6f5);padding:14px;border-radius:10px;margin:14px 0}
.bank-question{padding:18px 0;border-bottom:1px solid var(--line,#dde3e0)}.bank-question p{margin:7px 0}
.bank-pick,.bank-answer{display:flex;align-items:flex-start;gap:12px;padding:10px 8px;cursor:pointer}
.bank-pick span{display:grid;gap:4px}.bank-pick small{color:var(--muted,#53635e)}
.bank-pick input,.bank-answer input{width:auto;margin-top:4px;flex:none}.bank-quiz-question{border:0;border-bottom:1px solid var(--line,#dde3e0);padding:18px 0;margin:0 0 18px}
.bank-quiz-question legend{font-weight:650;font-size:1.05rem;line-height:1.6}.bank-quiz-question legend small{font-weight:400;color:var(--muted,#53635e)}
.bank-quiz fieldset[disabled]{opacity:.8}

/* 2026.10.09.0036 — make Question Bank import templates immediately discoverable */
.bank-import-panel h3{margin:0 0 8px}
.bank-template-downloads{display:grid;gap:10px;padding:16px;margin:16px 0;background:#fff;border-radius:10px}
.bank-template-downloads strong{font-size:14px;color:#1c534b}
.bank-template-links{display:flex;flex-wrap:wrap;gap:12px}
.bank-template-links .button{white-space:normal;text-align:center}
.bank-template-downloads small{line-height:1.5}
.bank-upload-title{margin:22px 0 2px;font-size:14px}
@media(max-width:540px){.bank-template-links{display:grid;grid-template-columns:1fr}.bank-template-links .button{width:100%}}

/* .0038: quiz subsection navigation, author-only; student quiz pages show no tools. */
.quiz-tools-nav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;border-bottom:1px solid #dbe6e2;padding:0 0 10px}
.quiz-tools-nav a{display:inline-flex;align-items:center;padding:9px 16px;border-radius:8px;color:#285b52;text-decoration:none;font-weight:650}
.quiz-tools-nav a:hover{background:#e9f3f0}
.quiz-tools-nav a.selected{background:#e6f2ee;color:#0d5546}
.quiz-tools-nav a:focus-visible{outline:3px solid #136455;outline-offset:3px}

/* .0039: One continuous syllabus, no independent availability/content cards. */
.syllabus-availability-summary,.syllabus-content,.syllabus-builder,.syllabus-availability-editor{
  border:0;box-shadow:none;border-radius:0;background:transparent;padding:0;
}
.syllabus-availability-summary{margin:22px 0 0;}
.syllabus-availability-summary h3{margin:0 0 12px;}
.syllabus-availability-summary p{margin:0;line-height:1.7;}
.syllabus-content{margin:20px 0 0;}
.syllabus-content .syllabus-section:first-child{border-top:0;padding-top:8px;}
.syllabus-content .syllabus-section{padding:22px 0;}
.syllabus-availability-editor{margin:20px 0 12px;}
.syllabus-availability-editor summary{font-weight:750;color:#166e60;cursor:pointer;}
.syllabus-availability-editor form,.syllabus-builder form{display:grid;gap:15px;margin-top:20px;}
.syllabus-builder{margin:26px 0;}
.syllabus-builder h3{margin:0 0 12px;}

/* .0040: Modules link existing items only; no duplicate creation editors. */
.module-linker {margin-top:1rem}
.module-link-row {display:flex;align-items:end;gap:0.75rem;flex-wrap:wrap;padding:0.5rem 0}
.module-link-row label {flex:1 1 240px;margin:0}
.module-link-row .button {flex:0 0 auto}
.module-link-row small {flex-basis:100%}


/* .0043 Module drag-and-drop ordering, scoped to developer workspace only. */
.js-module-sort .module-entry{transition:background .16s ease,border-color .16s ease,opacity .16s ease}
.module-entry-heading .module-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:29px;height:34px;flex:none;border-radius:6px;font:700 24px ui-sans-serif,system-ui,sans-serif;line-height:1;color:#367468;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.module-entry-heading .module-drag-handle:hover{background:#e6f2ed}
.module-entry-heading .module-drag-handle:active{cursor:grabbing}
.js-module-sort .module-entry.is-dragging{opacity:.52}
.js-module-sort .module-entry.drop-above{box-shadow:0 -4px 0 #20806e}
.js-module-sort .module-entry.drop-below{box-shadow:0 4px 0 #20806e}
.js-module-sort.is-saving{pointer-events:none;opacity:.8}
.module-order-status{font-size:12px;color:#1b6b58;min-height:1em;margin:6px 0 0}
.module-order-status.is-error{color:#b42318;font-weight:650}
@media(prefers-reduced-motion:reduce){.js-module-sort .module-entry{transition:none}}

/* 2026.10.09.0045: linked module assessments open as full, focused pages. */
.activity-detail-navigation{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:22px 0 26px}
.activity-detail{max-width:960px}
.activity-detail .activity-header{margin-bottom:16px}
.activity-detail form{margin-top:18px}
.activity-detail .bank-quiz-question{margin:18px 0}

/* 2026.10.09.0046 — module assessment titles are direct, keyboard-accessible links. */
.module-activity-title{color:#175c50;font-weight:750;text-decoration:none;text-underline-offset:3px}
.module-activity-title:hover,.module-activity-title:focus-visible{text-decoration:underline}
.module-activity-title:focus-visible{outline:2px solid #177d6d;outline-offset:3px;border-radius:3px}
.module-entry:target{border-color:#20806e;box-shadow:0 0 0 2px #d1e8df;scroll-margin-top:24px}

/* .0047: Independent, course-scoped drag ordering of full modules. */
.js-course-module-sort > .module-unit{transition:background .16s ease,border-color .16s ease,opacity .16s ease}
.module-top .module-unit-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:29px;height:36px;flex:none;border-radius:6px;font:700 24px ui-sans-serif,system-ui,sans-serif;line-height:1;color:#367468;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.module-top .module-unit-drag-handle:hover{background:#e6f2ed}
.module-top .module-unit-drag-handle:active{cursor:grabbing}
.module-top .module-unit-title{flex:1;min-width:0}
.module-unit-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-left:auto}
.module-unit-controls form{margin:0}
.module-unit-controls button{font-size:11px;padding:7px 9px}
.js-course-module-sort > .module-unit.is-dragging{opacity:.5}
.js-course-module-sort > .module-unit.drop-above{box-shadow:0 -4px 0 #20806e}
.js-course-module-sort > .module-unit.drop-below{box-shadow:0 4px 0 #20806e}
.js-course-module-sort.is-saving{pointer-events:none;opacity:.8}
.course-module-order-status{font-size:12px;color:#1b6b58;min-height:1em;margin:8px 0}
.course-module-order-status.is-error{color:#b42318;font-weight:650}
.module-sorting-help{font-size:12px}
@media(max-width:850px){.module-unit-controls{width:100%;margin-left:0;padding-left:42px}.module-top{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.js-course-module-sort > .module-unit{transition:none}}

/* .0048: assignment attempt history remains legible for long submission lists. */
.attempt-history{margin-top:28px;display:grid;gap:12px}
.attempt-history h3{margin:0 0 4px}
.attempt-record{border-left:3px solid #287b67;padding:14px 16px}
.attempt-record p{overflow-wrap:anywhere}
.attempt-record a{overflow-wrap:anywhere}
.attempt-record .grade-form{margin-top:12px}

/* .0049 course templates and reuse controls */
.course-copy-tools { display:flex; gap:.8rem; flex-wrap:wrap; align-items:flex-start; margin:1rem 0 1.4rem; }
.course-copy-tools > details { flex:1 1 290px; min-width:260px; margin:0; }
.course-copy-tools > form { flex:1 1 230px; }
.course-copy-tools > a { align-self:center; }
.course-template-flag small {display:block; max-width:30rem; margin-top:.5rem; }
.course-template-grid {display:grid; gap:1rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));}
.template-heading {display:flex; align-items:center; gap:.75rem; flex-wrap:wrap;}
.template-heading h2 {margin:0;}
.inline-choice {display:flex; align-items:center; gap:.6rem;}
.inline-choice input {width:auto;}
.template-preview-list {display:flex; gap:.5rem; flex-wrap:wrap;}

/* .0054 institution-scoped header branding */
.brand-institution-logo{display:block;max-width:min(260px,45vw);height:48px;max-height:48px;width:auto;object-fit:contain;object-position:left center}
.logo-settings-preview{max-width:320px;max-height:100px;height:100px;width:auto}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:450px){.brand-institution-logo{max-width:145px;height:40px}}
/* Grading category controls — wraps cleanly on narrow viewports. */
.grade-category-item,.grade-category-controls{display:flex;align-items:end;gap:.75rem;flex-wrap:wrap;margin:.7rem 0;padding:.7rem;border-bottom:1px solid var(--border,#d7dce3)}
.grade-category-item label,.grade-category-controls label{flex:1 1 280px;min-width:170px}
.grade-category-controls form{display:flex;align-items:end;gap:.6rem;flex-wrap:wrap}

/* Grading scheme validation: focus-managed modal with readable explanatory copy. */
.grading-error-dialog{max-width:min(92vw,30rem);border:1px solid #d0d9e7;border-radius:12px;padding:1.5rem;box-shadow:0 20px 60px rgba(0,0,0,.28);color:#152d45;background:white}
.grading-error-dialog::backdrop{background:rgba(5,20,36,.56)}
.grading-error-dialog h3{margin-top:0}
.grading-weight-total{margin:.65rem 0;padding:.5rem .75rem;border:1px solid #d7dce3;border-radius:6px}
.grading-invalid{color:#9e3127}
.grading-template-save-form,[data-scheme-apply-form]{display:flex;gap:1rem;align-items:end;flex-wrap:wrap;margin:.75rem 0}
.grading-template-save-form label,[data-scheme-apply-form] label{flex:1 1 260px}

/* .0061: tightly aligned platform administration controls and account management. */
.institution-actions{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-top:15px}
.institution-actions>form,.platform-admin-actions form{display:flex;align-items:end;gap:12px;margin:0}
.institution-suspend-form{flex:1 1 360px;max-width:650px}
.institution-suspend-form label{flex:1;min-width:175px}
.institution-actions .button{min-height:43px}
.platform-admin-create{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:20px 0 26px}
.platform-admin-create>div{border:1px solid #e0e8e8;border-radius:10px;padding:20px;min-width:0}
.platform-admin-account{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid #e3e9ea}
.platform-admin-account p{margin:7px 0 0;overflow-wrap:anywhere}
.platform-admin-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.platform-delete-confirm{max-width:365px}
.platform-delete-confirm summary{cursor:pointer;color:#a12b2b;font-weight:700}
.platform-delete-confirm form{display:grid;margin-top:12px}
.button.danger{background:#9e2828;border-color:#9e2828}
@media(max-width:850px){.platform-admin-create{grid-template-columns:1fr}.platform-admin-account{align-items:stretch;flex-direction:column}.institution-actions{align-items:stretch}.institution-actions>form,.institution-suspend-form{flex-wrap:wrap;align-items:stretch}.institution-suspend-form label{flex-basis:100%}}

/* .0062 — Platform administration: consistent, accessible expandable heading rows. */
.platform-workspace{max-width:1200px}
.platform-page-heading{margin-bottom:10px}
.platform-workspace-intro{font-size:14px;margin:0 0 20px}
.platform-section{background:#fff;border:1px solid #dfe9e8;border-radius:12px;overflow:hidden;margin:0 0 12px}
.platform-section[open]{border-color:#c5dfd8;box-shadow:0 4px 16px #153d3509}
.platform-section-heading,.platform-item-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;list-style:none;min-width:0}
.platform-section-heading::-webkit-details-marker,.platform-item-heading::-webkit-details-marker{display:none}
.platform-section-heading{padding:19px 22px;min-height:82px}
.platform-section-heading:hover,.platform-item-heading:hover{background:#f5faf8}
.platform-section-heading:focus-visible,.platform-item-heading:focus-visible{outline:3px solid #188b7e;outline-offset:-4px}
.platform-section-title{display:flex;align-items:center;gap:16px;min-width:0}
.platform-section-title>span:last-child,.platform-item-title{display:grid;gap:5px;min-width:0}
.platform-section-title strong{font-size:18px;letter-spacing:-.3px;color:#193d3c}
.platform-section-title small,.platform-item-title small{font-size:12px;color:#687d80;line-height:1.4;overflow-wrap:anywhere}
.platform-section-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;background:#e9f4f0;color:#116d61;font-weight:bold;font-size:22px}
.platform-section-right{display:flex;align-items:center;gap:20px;flex-shrink:0}
.platform-section-count{font-size:12px;color:#52686a;background:#f1f5f5;padding:5px 10px;border-radius:30px;white-space:nowrap}
.platform-chevron{width:10px;height:10px;border-right:2px solid #55716d;border-bottom:2px solid #55716d;transform:rotate(45deg);transition:transform .15s;margin-right:5px;flex-shrink:0}
[open]>.platform-section-heading .platform-chevron,[open]>.platform-item-heading .platform-chevron{transform:rotate(225deg)}
.platform-section-content{padding:22px;border-top:1px solid #e7eeee}
.platform-section-content>p:first-child{margin-top:0;line-height:1.6}
.platform-section-content h3{margin:20px 0 10px}
.platform-section-content h3:first-child{margin-top:0}
.platform-subsection{padding:18px 20px;background:#f8fbfa;border:1px solid #e4eeeb;border-radius:10px}
.platform-simple-form{max-width:750px}
.platform-compact-list{display:grid;gap:9px;margin-top:18px}
.platform-item{border:1px solid #e1e9e8;border-radius:9px;background:#fff;overflow:hidden;min-width:0}
.platform-item[open]{border-color:#bcdcd4}
.platform-item-heading{padding:15px 17px;min-height:62px}
.platform-item-title strong{font-size:15px;color:#193d3c}
.platform-item-content{padding:15px 18px 18px;border-top:1px solid #e9efee}
.platform-item-content>p:first-child{margin-top:0}
.platform-status{font-size:12px;font-weight:700;border-radius:30px;padding:6px 11px;white-space:nowrap}
.platform-status-active{background:#e1f4e9;color:#176c48}
.platform-status-suspended{background:#fff0e9;color:#994735}
.platform-admin-create{margin:18px 0 25px}
.platform-admin-create>details{padding:0;min-width:0}
.platform-admin-create .platform-item-heading{min-height:80px}
.platform-admin-account{display:block;padding:0}
.platform-admin-account .platform-item-heading{flex-direction:row;align-items:center}
.platform-admin-account .platform-item-content{display:block}
.platform-list-entry{padding:16px 0;border-bottom:1px solid #e7eded}
.platform-entry-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.platform-entry-heading small,.platform-audit-line{font-size:12px;color:#647b7e}
.platform-audit-line{padding:10px 0;border-bottom:1px solid #e7eded;overflow-wrap:anywhere}
@media(max-width:700px){.platform-section-heading{padding:15px;min-height:72px}.platform-section-content{padding:15px}.platform-section-title{gap:10px}.platform-section-title strong{font-size:15px}.platform-section-icon{width:32px;height:32px;font-size:18px}.platform-section-count{display:none}.platform-section-right{gap:9px}.platform-item-heading{padding:13px}.platform-item-content{padding:13px}.platform-page-heading form{margin-top:12px}}

/* .0068: course-scoped Student View action beside the signed-in person's name. */
.head-right .user-name{font-weight:600;white-space:nowrap;max-width:30ch;overflow:hidden;text-overflow:ellipsis}
.head-right .header-preview-form{display:flex;align-items:center;margin:0;flex:0 0 auto}
.head-right .header-student-view{font-size:12px;padding:8px 12px}
@media(max-width:680px){.head-row{height:auto;min-height:66px;gap:12px;padding:10px 16px;flex-wrap:wrap}.head-right{gap:10px;flex-wrap:wrap;justify-content:flex-end}.head-right .user-name{max-width:22ch}}

/* .0069: explicit, student-owned unread alerts and accessible acknowledgement. */
.alert-read-form{margin:12px 0 0;display:flex;align-items:center}
.alert-read-form .button{font-size:13px;padding:8px 14px}
.alert-read-status{display:inline-flex;align-items:center;margin-top:10px;font-size:13px;font-weight:600;color:#24665e}
.side-nav a{white-space:normal}

.course-settings-nav{margin-top:14px;border-top:1px solid #dae6e4;padding-top:17px!important}
.course-settings-availability{margin-bottom:22px}

/* 0072: grouped, horizontally scrollable instructor gradebook. */
.gradebook-matrix-wrap{max-width:100%;overflow:auto;border:1px solid #d8e5e3;border-radius:10px;margin-top:20px;background:#fff;max-height:75vh}
.gradebook-matrix{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
.gradebook-matrix th,.gradebook-matrix td{min-width:130px;border-bottom:1px solid #e7eeec;border-right:1px solid #edf2f1;padding:12px;text-align:center;background:#fff}
.gradebook-matrix thead th{position:sticky;top:0;z-index:2;background:#eef6f3;color:#1d6158;vertical-align:middle}
.gradebook-matrix thead tr:nth-child(2) th{top:43px;background:#f5faf8;z-index:2}
.gradebook-matrix th.gradebook-student-col{position:sticky;left:0;min-width:190px;max-width:230px;text-align:left;z-index:3;background:#fafdfc}
.gradebook-matrix thead th.gradebook-student-col{z-index:5;background:#e6f3ee}
.gradebook-activity-col span{display:block;min-width:115px;max-width:190px;white-space:normal;overflow-wrap:anywhere}
.gradebook-activity-col small{display:block;margin-top:6px}
.gradebook-activity-kind{font-weight:400;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#5e7b77;margin-bottom:4px}
.gradebook-category{font-weight:750;background:#deeee8!important;border-bottom:2px solid #a2cbbf!important}
.gradebook-grade-link{display:inline-flex;padding:8px 12px;border-radius:8px;font-weight:750;min-width:64px;justify-content:center}
.gradebook-grade-link.needs-grade{background:#fff1d9;color:#825100}
.gradebook-grade-link.is-graded{background:#e1f2ea;color:#0e6552}
.gradebook-grade-link:hover{text-decoration:underline;outline:1px solid currentColor}
.gradebook-no-submission{color:#9aa8aa}
.gradebook-legend{margin:13px 0 18px}
.grade-review-page{max-width:980px;margin:auto;padding:30px 22px 60px}
.grade-review-response{padding:18px 0;border-top:1px solid #e0e8e8}
.grade-review-response .grade-form{margin:12px 0 24px}
@media(max-width:800px){.gradebook-matrix th.gradebook-student-col{min-width:140px;max-width:160px}.gradebook-matrix-wrap{max-height:70vh}}

/* .0073: live grading summary in syllabus; compact, scrollable on mobile. */
.syllabus-grading-summary{max-width:640px;overflow-x:auto}.syllabus-grading-summary h4{margin:14px 0 6px}.syllabus-grading-summary table{width:100%;border-collapse:collapse}.syllabus-grading-summary th,.syllabus-grading-summary td{padding:8px 10px;text-align:left;border-bottom:1px solid #dde6e2}.syllabus-grading-summary th:last-child,.syllabus-grading-summary td:last-child{text-align:right}.syllabus-grading-summary p{margin:6px 0 12px}.syllabus-legacy-notes{border-top:1px solid #dde6e2;padding-top:12px}.syllabus-legacy-notes summary{cursor:pointer;font-weight:700}.syllabus-legacy-notes .prose{white-space:pre-wrap}

/* .0075: staff-only course roster and class-section management */
.course-roster-form { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; align-items:end; }
.course-roster-form label { min-width:0; }
.course-roster-form select[multiple] { min-height:145px; }
.roster-section-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.roster-section-change { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.roster-section-change select { max-width:210px; }

/* .0076 threaded discussions */
.forum-content{min-width:0}.forum-list-header,.forum-hero-title,.forum-topic-heading,.forum-post-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.forum-topic-list{display:grid;gap:15px;margin-top:20px}.forum-topic-card h3{margin:4px 0 12px;font-size:20px}.forum-topic-kicker{text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:750;color:#187768;margin:0 0 4px}.forum-topic-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;max-width:850px}.forum-topic-meta{display:flex;gap:10px 20px;flex-wrap:wrap;font-size:12px;color:#657980;margin:15px 0}.forum-topic-card .button{margin-top:8px}.forum-hero h1{margin:6px 0 13px;font-size:clamp(24px,3vw,33px)}.forum-prompt{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.forum-moderation-actions,.forum-post-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.forum-moderation-actions form,.forum-post-actions form{margin:0}.forum-post-section{margin-top:26px}.forum-post-section-heading{margin-bottom:12px}.forum-post{margin-bottom:14px;padding:20px}.forum-post-heading{display:flex;align-items:center;gap:12px}.forum-post-byline{font-size:12px;color:#667980;margin-top:3px}.forum-post-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;padding:4px 0}.forum-children{border-left:3px solid #d2e9e3;margin-top:18px;padding-left:18px}.forum-children>.forum-post{background:#fbfefd;margin-top:13px;margin-bottom:0}.forum-post-hidden{border-style:dashed;background:#f6f7f7}.forum-reply-panel{min-width:150px}.forum-reply-panel summary{cursor:pointer;font-weight:650;color:#146c61;font-size:13px}.forum-reply-panel form{padding:12px 0;max-width:640px}.forum-reply-panel textarea,.forum-composer textarea{width:100%}@media(max-width:700px){.forum-children{padding-left:9px}.forum-post{padding:14px}.forum-hero{padding:16px}.forum-topic-meta{gap:6px 15px}}

.forum-legacy-archive{margin-top:22px}.forum-legacy-post{border-top:1px solid #e3eded;padding:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}

/* .0078 — clear course-level enrollment and instructor handoff controls. */
.roster-manage-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(270px,1fr)); gap:22px; }
.roster-manage-grid>div { min-width:0; }
.roster-table-wrap { max-width:100%; overflow-x:auto; }
.roster-actions { display:flex; gap:8px; flex-direction:column; align-items:flex-start; min-width:210px; }
.roster-actions form { margin:0; }
.roster-swap { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.roster-swap select { max-width:270px; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }


/* .0080 — compact Course People roster and responsive administrator actions */
.roster-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.roster-panel-head h3{margin-bottom:4px}.roster-panel-head .muted{margin:0 0 12px}
.roster-help{max-width:960px;margin-top:2px}
.roster-bulk-pointer{margin:10px 0 18px;font-size:.9rem}
.roster-table{width:100%;table-layout:auto;min-width:0}
.roster-table th,.roster-table td{padding:14px 12px;vertical-align:middle;text-align:left}
.roster-table th:nth-child(1){width:30%}.roster-table th:nth-child(2){width:13%}
.roster-table th:nth-child(3){width:27%}.roster-table th:nth-child(4){width:30%}
.roster-table .roster-person{min-width:150px;overflow-wrap:anywhere}
.roster-email{display:block;max-width:360px;font-size:12px;line-height:1.5;overflow-wrap:anywhere;margin-top:3px}
.roster-role{display:inline-flex;align-items:center;border:1px solid #dfe8e6;background:#f7faf9;border-radius:99px;padding:3px 9px;font-size:12px;font-weight:650;color:#476661;white-space:nowrap}
.roster-role-instructor{background:#eaf5f1;border-color:#d0e6dd;color:#165f54}
.roster-table-wrap{overflow-x:auto;max-width:100%}
.roster-section-cell{min-width:170px}.roster-section-change{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;margin:0}
.roster-section-change select{flex:1 1 155px;min-width:120px;max-width:240px;width:100%;padding:8px 9px}
.roster-actions{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.roster-actions form{margin:0}.roster-small-button,.roster-actions .button{width:auto;min-height:36px;padding:8px 11px;font-size:12px;line-height:1.3;white-space:nowrap;text-align:center}
.roster-remove{color:#9a3b37;border-color:#dbc4c1;background:white}
.roster-remove:hover{color:#7a2828;border-color:#b9837e;background:#fff9f8}
.roster-replace{min-width:0}.roster-replace>summary{list-style:none;display:inline-flex;align-items:center;gap:7px;cursor:pointer}
.roster-replace>summary::-webkit-details-marker{display:none}
.roster-replace>summary::after{content:'⌄';color:#53756d;font-size:15px;line-height:1}
.roster-replace[open]>summary::after{content:'⌃'}
.roster-replace[open]{flex:1 1 100%;padding:6px 0}
.roster-replace[open] .roster-swap{display:grid;grid-template-columns:minmax(160px,1fr) auto;align-items:end;gap:8px;max-width:470px;margin-top:10px}
.roster-replace .roster-swap label{grid-column:1/-1;font-size:12px;font-weight:650;margin:0}
.roster-replace .roster-swap select{min-width:0;width:100%;max-width:none;padding:8px 9px}
.bulk-upload-form{max-width:800px;align-items:end}
.bulk-upload-form input[type=file]{width:100%;max-width:100%}
.bulk-upload-form>small{grid-column:1/-1;line-height:1.6}
.bulk-upload-form>button{justify-self:start}
@media(max-width:920px){
 .roster-table th,.roster-table td{padding:11px 8px}
 .roster-section-change{flex-wrap:wrap}.roster-section-change select{flex-basis:170px}
}
@media(max-width:660px){
 .roster-table,.roster-table tbody,.roster-table tr,.roster-table td{display:block;width:100%}
 .roster-table thead{display:none}
 .roster-table tr{border:1px solid #e3ebeb;border-radius:10px;margin:0 0 12px;padding:9px 12px;background:#fff}
 .roster-table td{display:grid;grid-template-columns:94px minmax(0,1fr);gap:8px;align-items:start;border:0;padding:7px 0;min-width:0}
 .roster-table td::before{content:attr(data-label);font-size:11px;letter-spacing:.01em;color:#627779;font-weight:700;padding-top:6px}
 .roster-table td.roster-person{min-width:0}
 .roster-section-change{flex-wrap:wrap}.roster-section-change select{min-width:0;flex:1}
 .roster-table tr td[colspan]{display:block}
 .roster-actions{gap:7px}.roster-replace[open] .roster-swap{grid-template-columns:minmax(0,1fr);width:100%}
 .bulk-upload-form{grid-template-columns:1fr}
}
/* Override the generic .panel form grid and spacing for compact inline roster controls. */
.roster-panel .roster-section-change {display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:0}
.roster-panel .roster-section-change select {width:auto;flex:1 1 auto;min-width:96px;max-width:none}
.roster-panel .roster-section-change .roster-small-button {width:auto;flex:0 0 auto}
.roster-panel .roster-actions form{margin:0}
.roster-panel .roster-replace .roster-swap {display:grid;margin-top:9px}
@media(max-width:920px){
 .roster-panel .roster-section-change{flex-wrap:wrap}
}
@media(max-width:800px){
 .course-layout{grid-template-columns:minmax(0,1fr)}
 .course-content{min-width:0}
 .roster-table-wrap{min-width:0;max-width:100%;overflow-x:auto}
}
@media(max-width:660px){
 .roster-panel .roster-section-change{flex-wrap:nowrap}
 .roster-panel .roster-section-change select{min-width:0}
 .roster-table td{min-width:0}
 .roster-table td>*{min-width:0}
}

/* .0081 — course-level offering section code in Settings */
.course-identifier-panel{margin-bottom:18px}
.course-identifier-form{max-width:560px}
.course-identifier-form input[name="section_code"]{max-width:240px;text-transform:uppercase}
.course-display-code{white-space:normal;overflow-wrap:anywhere}
/* .0083: responsive, read-only institutional reporting */
.report-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.report-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin:14px 0}
.report-stat{display:flex;flex-direction:column;gap:6px;margin:0;padding:18px}
.report-stat strong{font-size:1.75rem;font-weight:700;line-height:1.2;color:#00655d}
.report-stat span{font-size:.88rem;color:#526667}
.report-table-scroller{width:100%;overflow-x:auto}
.report-table{width:100%;border-collapse:collapse;min-width:750px}
.report-table th,.report-table td{padding:12px 10px;text-align:left;border-bottom:1px solid #e2e9e9;vertical-align:top;font-size:.9rem}
.report-table th{white-space:nowrap;color:#3a595d;font-weight:650;background:#f5f8f8}
.report-table tbody tr:hover{background:#f7fafa}
.report-subtitle{display:block;font-size:.82rem;color:#5c7378;margin-top:3px}
.report-filter-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}
.report-filter-form label{flex:1 1 210px;max-width:400px;margin:0}
.report-filter-form select{width:100%}
.report-export{margin-top:12px}
.report-footnote{font-size:.85rem;margin-top:12px}
@media(max-width:650px){.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-form label,.report-filter-form>div{flex:1 1 100%;max-width:none}.report-header>.button{width:auto}}

/* 0086: horizontal, student-by-date attendance matrix with a sticky name column. */
.attendance-matrix{max-width:100%;overflow:auto;max-height:70vh;border:1px solid var(--border,#d9d9d6);border-radius:8px}
.attendance-matrix .report-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}
.attendance-matrix .report-table thead th{position:sticky;top:0;background:var(--card,#fff);z-index:2;white-space:nowrap}
.attendance-matrix .attendance-student-heading{position:sticky;left:0;z-index:1;min-width:175px;max-width:235px;text-align:left;background:var(--card,#fff);box-shadow:2px 0 3px rgba(0,0,0,.06)}
.attendance-matrix thead .attendance-student-heading{z-index:3}
.attendance-matrix td.attendance-cell{min-width:95px;text-align:center;font-weight:600}
.attendance-present{color:#146c3c}.attendance-absent{color:#b01d29}.attendance-late{color:#785a00}.attendance-excused{color:#315780}
.attendance-date-links{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:680px){.attendance-matrix .attendance-student-heading{min-width:130px;max-width:175px}.attendance-matrix td.attendance-cell{min-width:78px}}
/* .0087 — reporting workspace: a single concise report at a time */
.reports-workspace{max-width:1320px}
.report-page-heading{margin-bottom:20px}
.report-view-nav{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:5px;margin:0 0 18px;border:1px solid #dfe9e8;border-radius:11px;background:#fff}
.report-view-nav a{display:inline-flex;padding:11px 15px;font-size:13px;font-weight:650;white-space:nowrap;border-radius:8px;color:#466164}
.report-view-nav a:hover,.report-view-nav a.selected{background:#e9f4f1;color:#0e675c;text-decoration:none}
.report-view-nav a.selected{box-shadow:inset 0 0 0 1px #b3d8d0}
.report-panel{margin-bottom:18px}
.report-panel h2{font-size:21px}
.report-intro{font-size:13px;line-height:1.5;margin:0 0 12px}
.report-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.report-choice{border:1px solid #dce8e5;background:#fafcfc;border-radius:10px;padding:17px;display:flex;flex-direction:column;gap:7px;min-width:0}
.report-choice:hover{border-color:#9acbc3;background:#f0faf7;text-decoration:none}
.report-choice strong{display:flex;justify-content:space-between;gap:12px;color:#0d6a5f}
.report-choice small{line-height:1.5;font-size:12px;color:#647577}
.report-compact-table{min-width:620px}
.report-compact-table td{line-height:1.45}
.report-compact-table .report-subtitle{overflow-wrap:anywhere}
.report-simple-filter{display:flex!important;align-items:end;flex-wrap:wrap;gap:12px!important;margin:18px 0 2px!important}
.report-simple-filter label{flex:1 1 210px;max-width:410px}
.report-simple-filter .button{justify-self:start;margin:0 0 1px;height:42px}
.report-empty-selection{background:#f8fbfb;border:1px dashed #cfdfdf;border-radius:10px;text-align:center;padding:22px;margin:19px 0 0;font-size:14px;color:#647578}
.report-empty-selection span{font-size:26px}
.report-empty-selection p{margin-bottom:0}
.report-row-details summary{color:#176c61;font-weight:600;cursor:pointer;font-size:13px}
.report-row-details div{padding-top:8px;color:#5d7173;font-size:12px;line-height:1.5}
.report-corrections{margin:0 0 18px}
.report-corrections>summary{cursor:pointer;list-style-position:inside}
.report-corrections>.report-header{margin:12px 0}
.report-legend{font-size:12px;color:#586c70;margin:14px 0}
@media(max-width:750px){.report-choice-grid{grid-template-columns:1fr}.report-view-nav{gap:2px}.report-view-nav a{padding:10px 12px}.report-page-heading h1{font-size:30px}.report-simple-filter .button{width:100%}}

.report-extra-download{font-size:13px;margin:0 0 14px}
.report-admin-settings .inline-choice{display:flex;align-items:center;gap:10px;font-weight:600}
.report-admin-settings .inline-choice input{width:auto;flex:0 0 auto}

/* 0088: institution-scoped bulk course import */
.bulk-course-workspace {max-width:1180px}
.bulk-course-layout {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:1rem;margin-bottom:1rem;align-items:start}
.bulk-course-upload {display:flex;flex-direction:column;align-items:stretch;gap:.6rem}
.bulk-course-upload input[type=file] {max-width:100%;padding:.8rem;border:1px dashed #b1b3b3;border-radius:8px}
.bulk-course-upload button,.bulk-course-confirm button {align-self:flex-start}
.bulk-course-term-list {display:flex;flex-wrap:wrap;gap:.5rem}
.bulk-term-pill {display:inline-flex;gap:.25rem;align-items:center;border:1px solid #d9d9d6;border-radius:6px;padding:.35rem .6rem;font-size:.9rem}
.bulk-course-institution-list {display:grid;gap:.6rem}
.bulk-course-institution {display:flex;justify-content:space-between;align-items:center;gap:1rem;border-bottom:1px solid #d9d9d6;padding:.5rem 0}
.bulk-course-institution form {margin:0}
.bulk-course-confirm {border-top:1px solid #d9d9d6;padding-top:1rem;margin-top:1rem}
@media(max-width:750px){.bulk-course-layout{grid-template-columns:minmax(0,1fr)}.bulk-course-institution{align-items:flex-start;flex-direction:column}}

/* Bulk course import .0090: a visible, non-actionable confirm button when blocked. */
.bulk-import-decision{margin:16px 0 20px;background:#f7faf9}
.bulk-import-decision h2{margin-top:0}
.bulk-import-action-row,.bulk-import-bottom-action{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.bulk-import-action-row{margin-top:14px}
.bulk-import-bottom-action{padding-top:14px;margin-top:16px;border-top:1px solid #d9d9d6}
.bulk-import-bottom-action p{flex:0 0 100%;margin:0}
.bulk-course-workspace button.button:disabled{cursor:not-allowed;opacity:.50;background:#63666a;border-color:#63666a;color:#fff;box-shadow:none}
@media(max-width:550px){.bulk-import-action-row .button,.bulk-import-bottom-action .button{width:100%;text-align:center}}

/* 0091: editable, accessible bulk import review; no CSV reupload needed. */
.bulk-row-editor-list{display:grid;gap:.65rem;margin-top:1rem}
.bulk-edit-row{border:1px solid #d9d9d6;border-radius:10px;background:#fff;overflow:hidden}
.bulk-edit-row.bulk-edit-error{border-left:4px solid #ce1126}
.bulk-edit-row>summary{cursor:pointer;display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.85rem 1rem;list-style-position:inside}
.bulk-edit-row>summary:hover{background:#f7faf9}
.bulk-edit-row>summary::marker{color:#63666a}
.bulk-edit-status{white-space:nowrap;color:#145a49;font-size:.84rem;font-weight:600}
.bulk-status-error{color:#9b1c2b}
.bulk-row-editor-body{padding:1rem;border-top:1px solid #d9d9d6}
.bulk-edit-issues{border:1px solid #edb4be;background:#fff7f8;border-radius:6px;padding:.75rem 1rem;margin:0 0 1rem;color:#751827}
.bulk-edit-issues ul{margin:.4rem 0 0;padding-left:1.3rem}
.bulk-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1rem}
.bulk-edit-grid label{display:flex;flex-direction:column;gap:.2rem;font-size:.92rem;font-weight:600;min-width:0}
.bulk-edit-grid label small{color:#63666a;font-size:.78rem;line-height:1.35;font-weight:400;min-height:2.1em}
.bulk-edit-grid input{width:100%;box-sizing:border-box;min-width:0}
.bulk-sync-offering{display:flex;align-items:flex-start;gap:.6rem;margin:.9rem 0;font-size:.9rem}
.bulk-sync-offering input{flex:none;margin-top:.15rem}
@media(max-width:650px){.bulk-edit-grid{grid-template-columns:minmax(0,1fr)}.bulk-edit-row>summary{align-items:flex-start;flex-direction:column;gap:.35rem}}
/* Keep correction forms compact despite the general .panel form grid rule. */
.panel form.bulk-edit-form{display:block;margin:0}
.panel form.bulk-edit-form .bulk-edit-grid{display:grid}
.panel form.bulk-edit-form .bulk-sync-offering{display:flex;align-items:center;min-height:35px;gap:.55rem;margin:12px 0;font-weight:500}
.panel form.bulk-edit-form .bulk-sync-offering input[type=checkbox]{display:inline-block;width:18px;height:18px;min-width:18px;flex:0 0 18px;padding:0;margin:0}

/* 0094: concise, auditable preview normalizations */
.bulk-autofixes{border-left:4px solid #145a49}
.bulk-autofixes summary{cursor:pointer;font-weight:600;padding:.4rem 0}
.bulk-autofixes table td{word-break:break-word;max-width:260px}

/* .0095: highlight authoritative existing-term dates without disrupting editor columns. */
.bulk-term-verified{grid-column:1/-1;margin:0;padding:.65rem .8rem;border:1px solid #bcded7;border-radius:7px;background:#f3faf7;color:#24574c;font-size:.85rem;line-height:1.5}

/* .0096: clear status for existing vs new institutional terms. */
.bulk-term-autofill-status {grid-column:1/-1;margin:0;padding:.55rem .75rem;border:1px solid #b1d7cf;border-radius:8px;background:#f2f8f6;color:#135c51;font-size:.87rem}
.bulk-edit-form input[readonly] {background:#f0f3f3;border-color:#d5dddd;cursor:default}

/* .0099 Institutional Admin: compact dashboard and progressive disclosure. */
.admin-hub{max-width:1180px}.admin-hub-heading{margin-bottom:18px}.admin-hub-heading .muted{margin:7px 0 0}
.admin-hub-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 18px}
.admin-hub-stats>div{background:#fff;border:1px solid #e0e9e8;border-radius:11px;padding:17px;display:grid;gap:4px;min-width:0}
.admin-hub-stats b{font-size:24px;color:#155f55;overflow-wrap:anywhere}.admin-hub-stats span{color:#60777b;font-size:12px}
.admin-hub-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 23px}
.admin-hub-shortcuts a{background:#fff;border:1px solid #dbe6e5;border-radius:10px;padding:15px;display:grid;gap:3px;color:#193d3d;min-width:0}
.admin-hub-shortcuts a:hover,.admin-hub-shortcuts a:focus-visible{border-color:#1b786a;background:#f2faf6;text-decoration:none}
.admin-hub-shortcuts a>span{font-size:21px;color:#176a5f}.admin-hub-shortcuts a strong{font-size:14px}.admin-hub-shortcuts a small{font-size:12px;color:#697c80;line-height:1.4}
.admin-hub-section{background:#fff;border:1px solid #dfe7e8;border-radius:12px;margin:12px 0;overflow:visible}
.admin-hub-summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:20px 22px;gap:16px}
.admin-hub-summary::-webkit-details-marker{display:none}.admin-hub-summary-heading{display:grid;gap:4px;min-width:0}
.admin-hub-summary-heading strong{font-size:18px;letter-spacing:-.35px;color:#1c3539}.admin-hub-summary-heading small{color:#6a7a7e;font-size:12px}
.admin-hub-chevron{border-right:2px solid #5a7770;border-bottom:2px solid #5a7770;transform:rotate(45deg);width:9px;height:9px;flex:none;transition:transform .12s}
.admin-hub-section[open]>.admin-hub-summary>.admin-hub-chevron{transform:rotate(225deg)}
.admin-hub-body{padding:0 22px 22px;border-top:1px solid #e7eeee}.admin-pane{padding:18px 0 20px;min-width:0}
.admin-pane h2{font-size:18px;margin:0 0 6px}.admin-pane p.muted{font-size:13px;line-height:1.5}
.admin-pane-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}
.admin-hub-tool{border-top:1px solid #edf0f1}.admin-hub-tool>summary{cursor:pointer;list-style:none;padding:18px 3px;color:#1c5d56}
.admin-hub-tool>summary::-webkit-details-marker{display:none}.admin-hub-tool>summary>span{display:grid;gap:3px}
.admin-hub-tool>summary>span>small{font-size:12px;color:#728288;font-weight:400}
.admin-hub-tool>summary::after{content:'+';float:right;font-size:20px;font-weight:400;line-height:1;margin-top:-22px}
.admin-hub-tool[open]>summary::after{content:'−'}
.admin-hub-tool-body{padding:0 3px 19px}.admin-hub-tool-body .admin-pane{max-width:810px;padding:8px 0}
.admin-hub-tool-body .admin-pane form{max-width:770px}
.admin-course-list{display:grid;margin-top:14px}
.admin-course-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(140px,auto);align-items:center;gap:14px;border-bottom:1px solid #e8eeee;padding:13px 2px;min-width:0}
.admin-course-row:last-of-type{border-bottom:none}
.admin-course-identity{min-width:0;display:grid;gap:4px}.admin-course-name{font-size:14px;font-weight:700;overflow-wrap:anywhere}.admin-course-meta{display:flex;gap:8px 16px;flex-wrap:wrap;color:#708085;font-size:11px;overflow-wrap:anywhere}
.admin-course-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end}.admin-course-actions .button{padding:8px 11px;font-size:12px}
.admin-course-actions .admin-delete-trigger{background:#fff;border-color:#d6bbbb;color:#9e2828}.admin-course-actions .admin-delete-trigger:hover{background:#fff2f1}
.admin-delete-dialog{width:min(92vw,530px);max-height:min(85vh,850px);overflow-y:auto;border:1px solid #dbe5e5;border-radius:14px;padding:24px;box-shadow:0 20px 75px #12232b42;color:#1e3036}
.admin-delete-dialog::backdrop{background:rgba(10,22,26,.55)}.admin-dialog-heading{display:flex;gap:14px;align-items:flex-start}.admin-dialog-heading h2{font-size:23px;margin:2px 0 4px}
.admin-dialog-icon{width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:#fff0ed;color:#a3342a;font-size:23px;font-weight:800;display:grid;place-items:center}
.admin-delete-warning{background:#fff8f6;border:1px solid #f0d9d6;border-radius:8px;padding:12px;font-size:13px;line-height:1.6;margin:17px 0}
.admin-delete-dialog form.admin-delete-form{display:grid;gap:16px;margin:0}.admin-delete-dialog input{width:100%}.admin-delete-dialog label{font-size:13px}
.admin-delete-dialog .admin-delete-ack{display:flex;align-items:flex-start;gap:10px;line-height:1.5;font-weight:500}
.admin-delete-ack input{width:17px;flex:none;margin:3px 0 0}.admin-dialog-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.admin-dialog-actions .button{width:auto}.admin-hub :target{scroll-margin-top:28px}
@media(max-width:820px){.admin-hub-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-hub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.admin-hub-summary{padding:17px}.admin-hub-body{padding:0 15px 15px}.admin-course-row{grid-template-columns:minmax(0,1fr) auto;row-gap:7px}.admin-course-row>.pill{grid-column:2;grid-row:1}.admin-course-actions{grid-column:1/-1;justify-content:flex-start}.admin-hub-shortcuts{gap:8px}.admin-hub-shortcuts a{padding:12px}.admin-dialog-actions{display:grid;grid-template-columns:1fr}.admin-dialog-actions .button{width:100%}.admin-delete-dialog{padding:18px}}
@media(prefers-reduced-motion:reduce){.admin-hub-chevron{transition:none}}

/* Accessible role workspaces: table layout, keyboard navigation and progress. */
.skip-to-content{position:absolute;left:1rem;top:-100px;z-index:9999;padding:.7rem 1rem;background:#fff;color:#082d42;border:2px solid #082d42;border-radius:.5rem}
.skip-to-content:focus{top:0.5rem}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #087e97;outline-offset:3px}
.workbench-table-wrap{overflow-x:auto;max-width:100%}
.workbench-table{border-collapse:collapse;width:100%;min-width:640px;margin-top:1rem}
.workbench-table :is(th,td){padding:.8rem .65rem;border-bottom:1px solid #d5e4e9;vertical-align:top;text-align:left}
.workbench-table th{background:#edf6f7;color:#183c50}
.workbench-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1rem;margin:1rem 0}
.workbench-metrics .panel{display:flex;flex-direction:column;gap:.4rem}
.workbench-metrics strong{font-size:2rem;line-height:1.2}
progress{width:min(100%,420px);height:1rem;vertical-align:middle;accent-color:#067c89;margin-right:.6rem}
@media(max-width:650px){.workbench-table{min-width:540px}.workbench-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Release .0123: accessible, responsive teaching and learning workflow filters. */
.workbench-filter{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;margin:1rem 0}
.workbench-filter select{max-width:100%;min-width:min(100%,16rem);padding:.6rem;border:1px solid #648a9b;border-radius:.4rem;background:#fff;color:#173447}
.workbench-pages{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:1rem;margin:1.25rem 0 .25rem}
.workbench-pages a,.workbench-tabs a{color:#135c68;text-decoration:underline}
.workbench-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}
.workbench-tabs a{padding:.6rem .85rem;border:1px solid #9dbfc9;border-radius:.5rem;background:#fff}
.workbench-tabs a.active{background:#e0f5f3;border-color:#197b77;font-weight:700;color:#0e4f4a;text-decoration:none}
.workbench-overdue{color:#9a2716;font-weight:700}

/* Retention confirmation feedback stays visible inside the expanded settings panel. */
.retention-form-feedback{line-height:1.55;margin:14px 0;padding:14px 16px;border-radius:9px;border:1px solid transparent}
.retention-form-feedback.error{border-color:#efb5ae;background:#fff2f0;color:#9b2420}
.retention-form-feedback.success{border-color:#b1dfcb;background:#e9f8f0;color:#185b41}
.retention-form-feedback[hidden]{display:none}
#retention-policy-form input[aria-invalid="true"]{border-color:#b6322c;outline:2px solid #f0c7c3}

/* 2026.11.02.0211 — Public, human-readable status (scoped; no effect on course UI). */
.hl-status-page{--hl-status-ink:#173c39;--hl-status-muted:#5a706d;--hl-status-line:#dce8e4;max-width:1100px;margin:0 auto;padding:48px 24px 75px;color:var(--hl-status-ink)}
.hl-status-shell{overflow:hidden;background:#fff;border:1px solid #dce8e4;border-radius:18px;box-shadow:0 16px 48px rgba(25,61,53,.065)}
.hl-status-topline{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:18px 35px;border-bottom:1px solid var(--hl-status-line)}
.hl-status-eyebrow{display:flex;gap:9px;align-items:center;font-size:11px;font-weight:800;letter-spacing:.11em;color:#2a655b}
.hl-status-monogram{display:grid;place-items:center;background:#125e54;color:#fff;border-radius:8px;width:27px;height:27px;font-size:16px;letter-spacing:0}
.hl-status-separator{color:#a2bbb4;margin:0 3px}
.hl-status-refresh,.hl-status-home{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;color:#145c52;text-decoration:none;font-weight:750;font-size:13px;border:1px solid #c4ddd5;border-radius:9px;background:#f6faf8}
.hl-status-refresh:hover,.hl-status-home:hover{background:#e8f5f0}
.hl-status-hero{padding:35px;display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(130deg,#f8fcfa,#e9f5f1)}
.hl-status-label{font-size:11px;letter-spacing:.14em;font-weight:850;color:#3e8175}
.hl-status-hero h1{margin:9px 0 9px;font-size:clamp(26px,3.3vw,41px);letter-spacing:-.04em;color:#113f39;line-height:1.16}
.hl-status-hero p{margin:0;color:#58716a;font-size:14px;line-height:1.6}
.hl-status-summary{display:flex;gap:13px;align-items:center;border-radius:13px;border:1px solid #c8e8d8;background:#e5f5ed;padding:18px 20px;min-width:260px}
.hl-status-summary.hl-status-bad{background:#fff1ec;border-color:#f3c5b8}
.hl-status-summary strong{display:block;font-size:15px;color:#145b40}.hl-status-summary.hl-status-bad strong{color:#953d2f}
.hl-status-summary small{display:block;font-size:12px;margin-top:4px;color:#4b7360;line-height:1.4}.hl-status-summary.hl-status-bad small{color:#915c51}
.hl-status-indicator{height:14px;width:14px;background:#238653;border-radius:50%;flex-shrink:0;box-shadow:0 0 0 5px #c6e8d5}.hl-status-bad .hl-status-indicator{background:#b64d39;box-shadow:0 0 0 5px #f6d1c5}
.hl-status-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--hl-status-line);border-bottom:1px solid var(--hl-status-line)}
.hl-status-meta>div{display:grid;gap:6px;padding:18px 35px;min-width:0}.hl-status-meta>div+div{border-left:1px solid var(--hl-status-line)}
.hl-status-meta span{font-size:12px;font-weight:650;color:var(--hl-status-muted)}.hl-status-meta strong{font-size:13px;overflow-wrap:anywhere;color:#1a4842}
.hl-status-section{padding:28px 35px 0}.hl-status-section-header{display:flex;gap:14px;align-items:start;justify-content:space-between;margin-bottom:16px}
.hl-status-section h2{color:#184840;font-size:19px;margin:0 0 5px}.hl-status-section p{font-size:13px;color:#617873;margin:0}
.hl-status-key{font-size:11px;font-weight:700;border-radius:20px;padding:6px 12px;background:#e9f5ef;color:#247047;white-space:nowrap}.hl-status-key-muted{background:#f0f3f3;color:#657371}
.hl-status-services{padding:0;margin:0;list-style:none;border:1px solid var(--hl-status-line);border-radius:12px;overflow:hidden}
.hl-status-services li{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;background:#fff}
.hl-status-services li+li{border-top:1px solid #e7eeeb}
.hl-status-services li>div{display:grid;gap:4px}.hl-status-services strong{font-size:14px;color:#274b45}.hl-status-services li>div span{font-size:12px;color:#617874}
.hl-status-state{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;font-weight:750;padding:7px 10px;border-radius:8px}
.hl-status-state-good{background:#eaf6ef;color:#23764a}.hl-status-state-bad{background:#fff0eb;color:#ad4531}.hl-status-state-unknown{background:#f2f5f4;color:#596e6a}
.hl-status-dot{width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}
.hl-status-bottom{margin:28px 35px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f7faf8;border:1px solid #e4ece7;border-radius:12px;padding:19px 20px}
.hl-status-bottom strong{font-size:13px;color:#284b43}.hl-status-bottom p{font-size:12px;margin:5px 0 0;line-height:1.6;color:#62766f}.hl-status-bottom a:not(.hl-status-home){color:#176c5b;text-decoration:underline;text-underline-offset:2px}
.hl-status-home{white-space:nowrap;background:white}
.hl-status-page a:focus-visible{outline:3px solid #1a806d;outline-offset:3px}
@media(max-width:760px){.hl-status-page{padding:20px 12px 45px}.hl-status-topline,.hl-status-hero{padding:22px}.hl-status-hero{align-items:stretch;flex-direction:column}.hl-status-summary{min-width:0}.hl-status-meta{grid-template-columns:1fr}.hl-status-meta>div{padding:12px 22px}.hl-status-meta>div+div{border-left:0;border-top:1px solid var(--hl-status-line)}.hl-status-section{padding:24px 19px 0}.hl-status-services li{padding:14px;gap:10px}.hl-status-section-header{flex-wrap:wrap}.hl-status-bottom{margin:24px 19px;flex-direction:column;align-items:stretch}}
@media(prefers-reduced-motion:reduce){.hl-status-page *{scroll-behavior:auto!important;transition:none!important}}


/* 2026.11.02.0251 — responsive card, navigation and form alignment design system.
   Use explicit card containers instead of forcing every panel/form into two columns.
   This preserves the grading table, editorial flow and student submission forms. */
:root{--hl-layout-gap:clamp(14px,1.6vw,22px);--hl-layout-border:#dce7e6;--hl-layout-ink:#244442}
:is(.course-layout,.course-content,.main-container,.panel,.editor-box,.admin-grid,.two-panels,.course-grid,.quick-row,.feature-grid,.workbench-metrics,.hl-card-grid,.hl-feature-grid)>*{min-width:0}
:is(.course-content,.main-container,.platform-section-content) :is(.panel,.module-card,.course-card,.course-alert,.report-panel){overflow-wrap:anywhere}
.hl-card-grid,.hl-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hl-layout-gap);align-items:stretch;min-width:0}
.hl-card-grid>*{min-width:0;min-height:0}
.hl-grid-full{grid-column:1/-1}
.hl-card-grid .course-alert{display:flex;flex-direction:column;min-width:0;margin:0;padding:22px;border:1px solid var(--hl-layout-border);border-radius:12px;background:#fff;box-shadow:0 4px 15px rgba(15,72,65,.035)}
.hl-card-grid .course-alert :is(h3,p){overflow-wrap:anywhere}
.hl-card-grid .course-alert .prose{margin-bottom:0;white-space:pre-wrap}
.hl-card-grid .course-alert .activity-header{align-items:flex-start;flex-wrap:wrap;gap:10px}
.hl-card-grid .course-alert .activity-header h3{margin:0;flex:1 1 14rem;min-width:0}
.hl-card-grid .course-alert .activity-header .pill{white-space:normal;text-align:center;max-width:100%}
.hl-card-grid .course-alert .alert-read-form,.hl-card-grid .course-alert .alert-read-status{margin-top:auto;padding-top:12px}
.hl-card-grid .empty{margin:0}
.course-announcement-grid{margin-top:16px}
.platform-announcement-grid{margin-top:18px}
.calendar-task-grid{margin-top:16px}
.hl-feature-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);margin-top:var(--hl-layout-gap)}
.hl-feature-grid>.panel{margin:0}
.admin-action-layout .button{max-width:100%;white-space:normal;text-align:center}
/* Give standalone panels and sections consistent separation across all role views. */
.main-container>:is(.panel,.section,.quick-row,.admin-grid,.workbench-metrics,.hl-feature-grid)+:is(.panel,.section,.quick-row,.admin-grid,.workbench-metrics,.hl-feature-grid),
.course-content>:is(.panel,.section,.module-card,.editor-box)+:is(.panel,.section,.module-card,.editor-box){margin-top:var(--hl-layout-gap)}
.panel> :is(.panel,.course-alert)+:is(.panel,.course-alert){margin-top:var(--hl-layout-gap)}
:is(.admin-grid,.two-panels,.platform-admin-create,.report-choice-grid,.workbench-metrics){align-items:start;min-width:0}
:is(.course-grid,.quick-row,.feature-grid){align-items:stretch;min-width:0}
.course-grid .course-card{height:100%}
.course-card-body{display:flex;flex-direction:column;height:calc(100% - 130px);min-width:0}
.course-card-body .card-foot{margin-top:auto;padding-top:20px;flex-wrap:wrap}
/* Shared navigations: fixed icon column in each view; no mismatched text indentation. */
.side-nav{min-width:0;gap:4px}
.side-nav>a{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;column-gap:10px;min-height:45px;padding:10px 12px;min-width:0;line-height:1.4;overflow-wrap:anywhere}
.side-nav>a>.side-icon{grid-column:1;display:flex;align-items:center;justify-content:center;width:25px;min-width:25px;line-height:1.2;font-size:19px}
.side-nav>a:not(:has(>.side-icon))::before{content:'•';grid-column:1;text-align:center;font-size:16px;color:#688481;line-height:1}
.side-nav>a.selected{box-shadow:inset 3px 0 0 #158072}
.side-nav>a:focus-visible{outline:2px solid #128479;outline-offset:-2px}
.course-sidebar{min-width:0}
/* Common cards, controls, and tables avoid collisions at narrow widths. */
:is(.panel,.editor-box,.course-content,.main-container) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){max-width:100%}
:is(.panel,.editor-box) .button-row{align-items:center;flex-wrap:wrap}
:is(.panel,.editor-box) :is(.button-row,.actions)>*{min-width:0;max-width:100%}
:is(.panel,.editor-box) :is(.activity-header,.section-head){min-width:0;flex-wrap:wrap;row-gap:10px}
:is(.panel,.editor-box) :is(.activity-header,.section-head)>*{min-width:0}
:is(.panel,.editor-box) :is(h2,h3,p){overflow-wrap:anywhere}
:is(.panel,.editor-box) form{min-width:0}
:is(.panel,.editor-box) :is(table,pre){max-width:100%}
/* Existing scroll containers retain their horizontal scrolling; never compress gradebook columns. */
.workbench-table-wrap,.gradebook-matrix-wrap,.retention-table{max-width:100%;overflow-x:auto}
@media(max-width:1050px){
 .hl-feature-grid{grid-template-columns:1fr}
 .course-announcement-grid{grid-template-columns:1fr}
}
@media(max-width:800px){
 .hl-card-grid,.hl-feature-grid{grid-template-columns:1fr}
 .side-nav>a{display:inline-flex;flex:0 0 auto;min-height:42px;white-space:nowrap;gap:8px}
 .side-nav>a:not(:has(>.side-icon))::before{display:none}
 .side-nav>a>.side-icon{width:22px;min-width:22px}
 .course-title-row{min-width:0}
 .course-content,.main-container{overflow-wrap:anywhere}
}
@media(max-width:480px){
 .panel{padding:17px}
 .hl-card-grid .course-alert{padding:17px}
 .hl-card-grid .course-alert .activity-header{display:block}
 .hl-card-grid .course-alert .activity-header .pill{margin-top:10px}
 .admin-grid,.two-panels,.platform-admin-create,.workbench-metrics{grid-template-columns:1fr}
 .section-head>.button{white-space:normal}
}
/* Prevent role banners from squeezing a long staff-role description into a narrow column. */
@media(max-width:760px){
 .role-view{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;align-items:start}
 .role-view>span{flex:none;min-width:0;max-width:100%;overflow-wrap:anywhere}
 .course-sidebar .side-nav{scrollbar-width:thin}
}

/* .0252: unified browser-only error experience; APIs keep their JSON contract. */
.hl-error-main{max-width:1080px;margin:0 auto;padding-top:clamp(26px,4vw,64px);padding-bottom:100px;min-height:55vh}
.hl-error-panel{max-width:780px;margin:0 auto;padding:clamp(24px,5vw,52px);border:1px solid #d9e7e3;border-radius:18px;background:#fff;box-shadow:0 14px 34px rgba(20,64,57,.06)}
.hl-error-panel .eyebrow{letter-spacing:.1em;margin:0 0 12px;color:#54736c;font-size:12px;font-weight:800}
.hl-error-panel h1{font-size:clamp(27px,4vw,38px);line-height:1.2;letter-spacing:-.03em;margin:0 0 12px;color:#102f2e}
.hl-error-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:30px;font-weight:800;background:#fff0e5;color:#a54d1d;margin-bottom:20px}
.hl-error-explanation{font-size:16px;line-height:1.65;overflow-wrap:anywhere;max-width:70ch;margin:0 0 13px}
.hl-error-help{line-height:1.65;max-width:70ch}
.hl-error-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:28px}
.hl-error-actions .button{text-decoration:none;text-align:center;max-width:100%;white-space:normal}
@media(max-width:520px){.hl-error-actions{display:grid;grid-template-columns:1fr}.hl-error-actions .button{width:100%}.hl-error-panel{padding:24px 19px}}

/* Public read-only status refresh and CPU-only private draft progress. */
.hl-status-poll-feedback{font-size:12px;color:#5a706d;margin:0 35px 25px}
.hl-ai-progress{display:flex;gap:12px;align-items:flex-start;margin:16px 0 0;padding:16px;border:1px solid #a6d8ce;background:#eaf8f4;border-radius:10px;color:#124e45}
.hl-ai-progress strong{display:block;margin-bottom:5px}
.hl-ai-progress p{margin:6px 0 0;line-height:1.45;font-size:13px}
.hl-ai-spinner{width:21px;height:21px;border:3px solid #acd9d0;border-top-color:#086f5c;border-radius:50%;flex:none;animation:hl-ai-spin 1s linear infinite}
@keyframes hl-ai-spin{to{transform:rotate(360deg)}}
#hl-ai-client-error{margin-top:14px}
.hl-ai-progress[hidden],#hl-ai-client-error[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.hl-ai-spinner{animation:none;border-top-color:#086f5c}}

/* .0261 institutional colors use a curated accessible accent palette. */
body[style*="--hl-institution-accent"] .button:not(.secondary){background:var(--hl-institution-accent,#116d61);border-color:var(--hl-institution-accent,#116d61)}
body[style*="--hl-institution-accent"] .top-nav a.active{border-bottom-color:var(--hl-institution-accent,#116d61)}
.hl-studio-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:start}
.hl-studio-items{margin:10px 0 0 0;padding:0;list-style:none}
.hl-studio-items li{padding:11px 0;border-top:1px solid #e0e7e7;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.hl-studio-module{margin-bottom:18px;padding:20px;border:1px solid #dbe6e5;border-radius:12px;background:white}
.hl-studio-module h3{margin:0 0 14px}
.hl-studio-links{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}
.hl-studio-warning{border:1px solid #ebdba9;background:#fff8e7;padding:14px;border-radius:9px}
@media(max-width:880px){.hl-studio-grid{grid-template-columns:1fr}}

/* .0266: Institutional landing page hero, with logo top-aligned to Welcome title. */
.institution-entry-layout{display:block;margin-top:16px}
.institution-entry-layout.has-logo{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,340px);align-items:start;gap:clamp(24px,5vw,56px)}
.institution-entry-copy{min-width:0}
.institution-entry-copy h1{margin:0 0 16px;overflow-wrap:break-word}
.institution-entry-copy p{margin-top:0}
.institution-entry-logo{min-width:0;align-self:start;display:flex;justify-content:flex-end;align-items:flex-start}
.institution-entry-logo img{display:block;max-width:100%;width:auto;height:auto;max-height:220px;object-fit:contain;object-position:top right}
@media(max-width:720px){.institution-entry-layout.has-logo{grid-template-columns:minmax(0,1fr);gap:24px}.institution-entry-logo{justify-content:flex-start}.institution-entry-logo img{max-width:min(100%,320px);max-height:180px;object-position:top left}}

/* Large-wave gradebook roster filtering must hide table rows even if table styles set display. */
#gradebook-matrix-body tr[hidden] { display: none !important; }
/* SCORM content is hosted on a separate origin. The frame never gets LMS cookies. */
.scorm-player-frame { display:block; width:100%; min-height:70vh; border:1px solid #d4e2df; border-radius:10px; background:white; }


/* .0286 Institution Administration: navigable, calm, responsive workspace. */
.admin-hub{max-width:1420px}
.admin-hub-heading{margin-bottom:16px}
.admin-hub-layout{display:grid;grid-template-columns:236px minmax(0,1fr);align-items:start;gap:24px}
.admin-hub-sidebar{min-width:0}
.admin-hub-sidebar-inner{position:sticky;top:18px;border:1px solid #dce7e6;border-radius:12px;background:#fff;padding:15px 11px;box-shadow:0 2px 10px rgba(15,46,43,.035)}
.admin-hub-sidebar-label{font-size:10px;letter-spacing:.13em;font-weight:800;color:#69817f;padding:0 12px;margin:8px 0 12px}
.admin-hub-side-nav{display:grid;gap:3px}
.admin-hub-side-nav a{display:block;border-radius:8px;border-left:3px solid transparent;padding:12px 12px;color:#304b4f;font-size:13px;font-weight:600;line-height:1.45;text-decoration:none;transition:background .14s ease,color .14s ease}
.admin-hub-side-nav a:hover{background:#f2f8f6;text-decoration:none;color:#11594f}
.admin-hub-side-nav a:focus-visible{outline:2px solid #126f63;outline-offset:2px}
.admin-hub-side-nav a[aria-current="page"]{background:#eaf5f1;border-left-color:#187d6b;color:#135f53;font-weight:750}
.admin-hub-sidebar-footnote{font-size:11px;line-height:1.55;color:#7b8a8b;border-top:1px solid #e8eeee;margin:15px 10px 2px;padding-top:13px;overflow-wrap:anywhere}
.admin-hub-workspace{min-width:0}
.admin-hub-view{min-width:0}
.admin-hub-view[hidden]{display:none!important}
.admin-view-heading{margin:0 0 17px}
.admin-view-heading h2{font-size:22px;letter-spacing:-.5px;color:#173339;margin:0 0 6px}
.admin-view-heading p{font-size:13px;margin:0;line-height:1.5}
.admin-hub-view>.admin-hub-section{margin:0 0 14px}
.admin-hub-view>.panel{margin:0 0 14px}
.admin-hub-workspace .admin-hub-stats{margin:0 0 23px}
.admin-overview-subheading{font-size:15px;font-weight:750;color:#1b3b3e;margin:0 0 12px}
.admin-hub-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.admin-hub-task-grid a{display:grid;gap:6px;min-width:0;background:#fff;border:1px solid #dae7e4;border-radius:11px;padding:20px;color:#163f3e;text-decoration:none}
.admin-hub-task-grid a:hover,.admin-hub-task-grid a:focus-visible{border-color:#2a8d7d;background:#f5faf8;text-decoration:none}
.admin-hub-task-grid strong{font-size:14px;color:#134c45}
.admin-hub-task-grid small{font-size:12px;color:#607679;line-height:1.5}
.admin-overview-footnote{margin:16px 0;color:#657c7f;font-size:12px;line-height:1.6}
.admin-hub-view:is([data-admin-view="reports"],[data-admin-view="operations"])>.panel{margin-bottom:13px}
.admin-hub-view:is([data-admin-view="reports"],[data-admin-view="operations"])>.panel h2{font-size:17px;margin-bottom:4px}
.admin-hub-view[data-admin-view="mail"]>.panel>form{max-width:760px}
.admin-mail-tool{max-width:870px}
.admin-mail-tool .admin-hub-tool-body{padding:0 6px 18px}
.admin-mail-tool h3{font-size:15px;margin:4px 0 8px}
.admin-mail-tool form{max-width:760px}
@media(max-width:960px){
  .admin-hub-layout{grid-template-columns:190px minmax(0,1fr);gap:15px}
  .admin-hub-side-nav a{padding:10px 9px;font-size:12px}
}
@media(max-width:740px){
  .admin-hub-layout{grid-template-columns:1fr;gap:16px}
  .admin-hub-sidebar-inner{position:static;padding:10px 11px}
  .admin-hub-side-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .admin-hub-sidebar-label{margin:5px 0 8px}
  .admin-hub-sidebar-footnote{margin:8px 9px 0}
  .admin-hub-task-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
  .admin-hub-side-nav{grid-template-columns:1fr 1fr}
  .admin-hub-side-nav a{padding:9px 7px;font-size:11px}
  .admin-hub-stats{gap:8px}
  .admin-hub-stats>div{padding:12px}
}
@media(prefers-reduced-motion:reduce){.admin-hub-side-nav a{transition:none}}
/* .0287: classroom assessment workflow controls; responsive, keyboard native */
.hl-workflow-team{margin:1rem 0;padding:1rem;border:1px solid #cedbd8;border-radius:.65rem;background:#f8fbfa}
.hl-workflow-team form{margin:.6rem 0}
.hl-workflow-team button{margin-top:.4rem}

/* Authenticated PowerPoint lecture resource preview, added in .0288. */
.lecture-slide-deck{max-width:100%;overflow:hidden}
.lecture-slide-frame{width:100%;aspect-ratio:16/9;min-height:370px;border:1px solid #b7c8d3;border-radius:12px;background:#f5f7fa}
@media(max-width:640px){.lecture-slide-frame{min-height:240px}}

/* .0289: Course Portability, scoped desktop/mobile layout and real upload status. */
.hl-portability-page{max-width:1240px;width:100%;margin:0 auto;padding:30px 28px 74px;min-width:0}
.hl-portability-titlebar{align-items:flex-start;margin:0 0 24px;gap:14px}
.hl-portability-titlebar h1{margin:3px 0 7px;font-size:31px}
.hl-portability-titlebar p.muted{max-width:700px;margin:0;line-height:1.55}
.hl-portability-titlebar>.button{flex:0 0 auto;margin-top:11px}
.hl-portability-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.85fr);gap:20px;align-items:start}
.hl-portability-grid>*{min-width:0}
.hl-portability-import{padding:28px}
.hl-portability-head{display:flex;align-items:flex-start;gap:14px;padding-bottom:18px;border-bottom:1px solid #e3ebea}
.hl-portability-head h2,.hl-portability-info h2{font-size:19px;letter-spacing:-.35px;margin:0 0 6px}
.hl-portability-head p{margin:0;font-size:13px;line-height:1.5}
.hl-portability-icon{display:grid;place-items:center;background:#e3f2ed;border-radius:12px;color:#08665c;width:40px;height:40px;flex:0 0 40px;font-size:25px}
.hl-portability-import form{display:block;margin:0;max-width:none}
.hl-portability-field{padding-top:21px}
.hl-portability-field label{display:flex;flex-direction:column;gap:4px;font-size:14px;color:#243b41;margin:0 0 10px}
.hl-portability-field label small{font-size:12px;color:#66797d;font-weight:400;line-height:1.5}
.hl-portability-field input[type=file]{display:block;width:100%;min-height:54px;padding:12px;border:1px dashed #aebfbe;background:#f8fbfa;border-radius:9px;color:#233b42}
.hl-portability-field input[type=file]::file-selector-button{border:1px solid #c8dbd6;background:white;padding:8px 11px;border-radius:6px;color:#15594f;cursor:pointer;margin-right:12px}
.hl-portability-file-help{font-size:12px;color:#647679;line-height:1.45;margin:8px 0 0}
.hl-portability-file-name{margin:6px 0 0;font-size:12px;font-weight:600;color:#146a60}
.hl-portability-slug-field{display:flex;align-items:center;border:1px solid #cbd9d9;background:#fff;border-radius:8px;overflow:hidden;max-width:100%}
.hl-portability-slug-field>span{padding:0 12px;align-self:stretch;display:flex;align-items:center;background:#f2f7f6;border-right:1px solid #dce7e6;color:#6c7f80;font-size:13px;white-space:nowrap}
.hl-portability-slug-field input{flex:1 1 auto;min-width:0!important;width:100%;border:0!important;border-radius:0!important;margin:0!important;padding:13px 12px!important;box-shadow:none!important}
.hl-portability-slug-field:focus-within{outline:2px solid #17776f;outline-offset:2px}
.hl-portability-actions{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid #e9eeee;padding-top:22px;margin-top:24px}
.hl-portability-actions button{min-height:44px}
.hl-portability-aside{display:grid;gap:15px}
.hl-portability-info{padding:24px}
.hl-portability-info h2{font-size:17px;margin-bottom:18px}
.hl-portability-steps{list-style:none;padding:0;margin:0;counter-reset:hl-step;display:grid;gap:17px}
.hl-portability-steps li{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:10px;row-gap:3px;counter-increment:hl-step;align-items:start}
.hl-portability-steps li:before{content:counter(hl-step);grid-row:1/3;background:#e4f2ef;color:#096c5e;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800}
.hl-portability-steps b{font-size:13px;color:#2d474a}
.hl-portability-steps span{grid-column:2;font-size:12px;color:#667b7e;line-height:1.55}
.hl-portability-formats{display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:12px;row-gap:12px;align-items:start}
.hl-portability-formats strong{font-size:12px;color:#165c53}
.hl-portability-formats span{font-size:12px;line-height:1.5;color:#5f7278}
.hl-portability-small{font-size:12px;line-height:1.65;margin:18px 0 0;padding-top:15px;border-top:1px solid #e9eeee}
.hl-portability-preview{margin-top:16px;border:1px solid #a5d6c8;border-radius:10px;background:#eff9f5;padding:13px 16px;color:#21554d;font-size:13px;line-height:1.5}
.hl-portability-preview p{margin:5px 0}
.hl-portability-import .alert{margin-top:16px}
.hl-portability-status{margin-top:17px;padding:16px;border:1px solid #b6d8d0;background:#f1f9f7;border-radius:11px}
.hl-portability-status-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:#164e48}
.hl-portability-status-elapsed,.hl-portability-status-heading .muted{font-size:12px;margin-left:auto}
.hl-portability-spinner{width:16px;height:16px;border:2px solid #b3d6cb;border-top-color:#087364;border-radius:50%;animation:hl-portability-turn .8s linear infinite}
.hl-portability-status progress{display:block;width:100%;height:12px;accent-color:#087563;margin:13px 0 9px;border-radius:20px}
.hl-portability-status p{font-size:12px;line-height:1.55;color:#456764;margin:0}
.hl-portability-status[data-stage="done"] .hl-portability-spinner{animation:none;border-color:#087563;background:#087563}
@keyframes hl-portability-turn{to{transform:rotate(360deg)}}
[hidden]{display:none!important}
@media(max-width:950px){.hl-portability-grid{grid-template-columns:minmax(0,1fr)}.hl-portability-aside{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.hl-portability-page{padding:22px 16px 60px}.hl-portability-titlebar{flex-direction:column;align-items:start}.hl-portability-titlebar>.button{margin-top:0}.hl-portability-import{padding:20px}.hl-portability-aside{grid-template-columns:minmax(0,1fr)}}
@media(max-width:430px){.hl-portability-actions{display:grid;grid-template-columns:1fr}.hl-portability-actions button{width:100%}.hl-portability-formats{grid-template-columns:1fr;gap:5px}.hl-portability-formats span{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.hl-portability-spinner{animation:none;border-top-color:#087563}}

/* .0298: Inline practice feedback never forces a lecture-page refresh. */
.lecture-stream .lecture-answer-feedback[hidden]{display:none!important}
.lecture-stream .lecture-answer-feedback{scroll-margin-top:20px}

/* .0298: Harmonized lecture typography. Scope to lecture pages only so
   instructor dashboards, course designer, and global typography are untouched.
   Instructor-selected heading-size classes (16–48px) remain authoritative. */
.lecture-page{
  --lecture-body-size:16px;
  --lecture-line-height:1.65;
  font-size:var(--lecture-body-size);
}
.lecture-page>h1{font-size:clamp(27px,2.2vw,33px);line-height:1.22;letter-spacing:-.035em;margin:8px 0 12px}
.lecture-page .lecture-section-title h2{font-size:21px;line-height:1.35;margin:0}
.lecture-page .lecture-stream{font-size:var(--lecture-body-size);line-height:var(--lecture-line-height);gap:25px 20px}
.lecture-page .lecture-stream .lecture-block{min-width:0}
.lecture-page .lecture-stream .lecture-block-heading.heading-size-0{
  font-size:clamp(21px,1.8vw,25px);line-height:1.32;letter-spacing:-.02em;margin-bottom:12px
}
.lecture-page .lecture-stream .lecture-flash-unit .lecture-block-heading.heading-size-0{
  font-size:16px;line-height:1.4;letter-spacing:0;margin-bottom:9px;padding:0 2px 9px
}
.lecture-page .lecture-stream .lecture-text,
.lecture-page .lecture-stream .lecture-intro{
  font-family:inherit;font-size:var(--lecture-body-size);
  line-height:var(--lecture-line-height);letter-spacing:0;
  margin:9px 0 20px;max-width:78ch
}
.lecture-page .lecture-stream .lecture-text{white-space:pre-wrap}
.lecture-page .lecture-accordion-item summary{
  font-size:16px;line-height:1.48;letter-spacing:0;padding:18px 22px
}
.lecture-page .lecture-accordion-item .accordion-detail{
  font-family:inherit;font-size:16px;line-height:1.65;padding:0 22px 22px
}
.lecture-page .lecture-numbered{gap:18px;margin:20px 0}
.lecture-page .lecture-numbered li{font-family:inherit;font-size:16px;line-height:1.65;gap:12px;grid-template-columns:40px minmax(0,1fr)}
.lecture-page .lecture-numbered .lecture-number{height:34px;width:34px;font-size:14px}
.lecture-page .lecture-stream .lecture-question{
  font-family:inherit;font-size:17px;font-weight:650;
  line-height:1.55;letter-spacing:0;margin:8px 0 15px
}
.lecture-page .lecture-stream .lecture-check{gap:15px}
.lecture-page .lecture-stream .lecture-choice{
  font-family:inherit;font-size:16px;font-weight:450;
  line-height:1.5;gap:12px;padding:11px 12px
}
.lecture-page .lecture-stream .lecture-choices legend{font-size:14px;line-height:1.5}
.lecture-page .lecture-stream .flip-card .flip-face{
  font-family:inherit;font-size:clamp(15px,1.2vw,16px);
  line-height:1.55;letter-spacing:0
}
.lecture-page .lecture-stream .flip-card .flip-instruction{font-size:12px;line-height:1.4}
.lecture-page .lecture-stream .lecture-check-note{font-size:13px;line-height:1.6}
.lecture-page .lecture-stream .lecture-answer-feedback{font-size:15px;line-height:1.6}
.lecture-page .lecture-stream .lecture-submit{font-size:13px;line-height:1.35}
.lecture-page .lecture-image figcaption,
.lecture-page .lecture-slide-deck>.muted{font-size:13px;line-height:1.55}
.lecture-page .lecture-stream .lecture-edit-meta{font-size:12px}
@media(max-width:620px){
  .lecture-page>h1{font-size:27px}
  .lecture-page .lecture-section-title h2{font-size:20px}
  .lecture-page .lecture-stream .lecture-block-heading.heading-size-0{font-size:22px}
  .lecture-page .lecture-stream .lecture-flash-unit .lecture-block-heading.heading-size-0{font-size:16px}
  .lecture-page .lecture-accordion-item summary{padding:16px}
  .lecture-page .lecture-accordion-item .accordion-detail{padding:0 16px 18px}
  .lecture-page .lecture-numbered li{grid-template-columns:36px minmax(0,1fr);gap:10px}
  .lecture-page .lecture-stream .flip-card .flip-face{font-size:15px}
}

/* 2026.11.06.0300: Harbor spreadsheet gradebook and GradeFlow */
.hl-gradebook-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.hl-gradebook-heading h2{margin:.2rem 0;font-size:clamp(1.45rem,2vw,1.9rem)}
.hl-gradebook-heading p{max-width:750px;margin:.35rem 0}
.hl-gradebook-toolbar{margin:0 0 1.1rem!important;padding:16px 18px!important}
.hl-gradebook-controls{display:grid;grid-template-columns:1fr 1fr minmax(185px,.7fr);gap:12px;align-items:end}
.hl-gradebook-controls label{display:block;font-size:13px;font-weight:700;margin:0}
.hl-gradebook-controls input,.hl-gradebook-controls select{margin-top:5px;width:100%;min-height:40px}
.hl-gradebook-toolbar-foot{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:13px}
.hl-gradebook-toolbar-foot .button-row{margin:0;flex-wrap:wrap}
.hl-gradebook-keyboard-help{font-size:12px;margin:9px 0 0}
.gradebook-matrix-wrap{margin-top:10px;max-height:70vh;border:1px solid #cbded9;box-shadow:0 2px 8px #092e2720}
.gradebook-matrix{font-size:13px;table-layout:auto}
.gradebook-matrix th,.gradebook-matrix td{padding:8px 9px;min-width:148px}
.gradebook-matrix th.gradebook-student-col{min-width:200px;max-width:240px;box-shadow:2px 0 6px #092e270c}
.gradebook-matrix tbody tr:nth-child(even) td{background:#f8fbfa}
.gradebook-matrix tbody tr:hover td,.gradebook-matrix tbody tr:hover th{background:#f0f7f4}
.gradebook-matrix td[hidden],.gradebook-matrix th[hidden]{display:none!important}
.gradebook-matrix .hl-grid-grade-form{display:flex;align-items:center;justify-content:center;gap:3px;margin:0 auto;padding:3px 5px;border:1px solid #d8e6e1;border-radius:7px;background:#fff;max-width:167px;min-height:38px}
.gradebook-matrix .hl-grid-grade-form.needs-grade{background:#fff9ed;border-color:#ead4a6}
.gradebook-matrix .hl-grid-grade-form.is-dirty{border:2px solid #ce7e12;background:#fff6e8}
.gradebook-matrix .hl-grid-score{width:44px;min-width:0;flex:1;font-size:14px;text-align:right;padding:5px 2px;margin:0;border:0;background:transparent;box-shadow:none}
.gradebook-matrix .hl-grid-score:focus-visible{outline:2px solid #00776b;outline-offset:1px}
.gradebook-matrix .hl-grid-max{color:#58756f;font-size:12px;white-space:nowrap}
.gradebook-matrix .hl-grid-save{padding:5px 7px;line-height:1.2;font-size:11px;min-height:29px;border-radius:5px;border:1px solid #b2d1c8;background:#e6f4ef;color:#075b50;cursor:pointer}
.gradebook-matrix .hl-grid-save:hover,.gradebook-matrix .hl-grid-save:focus-visible{background:#c9eade}
.gradebook-matrix .hl-grid-save:disabled{opacity:.5;cursor:wait}
.gradebook-matrix .hl-grid-review{font-size:11px;display:inline-block;margin-top:4px;color:#0b665b;text-decoration:underline}
.gradebook-matrix .hl-gradebook-moderated{color:#77550c}
.hl-gradebook-posted{display:block;font-size:11px;color:#616e7d;font-weight:400}
.hl-gradebook-save-status{font-size:13px;font-weight:600;min-height:20px;margin:12px 0}
.hl-gradebook-save-status.is-error{color:#ad2929}
.hl-gradebook-advanced{border:1px solid #d7e3de;border-radius:10px;background:#fff;margin:24px 0;padding:12px 16px}
.hl-gradebook-advanced>summary{font-weight:700;cursor:pointer;padding:8px 0}
.hl-gradebook-advanced>.panel{box-shadow:none;border:0;margin:0;padding:8px 0}
.grade-review-page{max-width:1450px}
.hl-gradeflow-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.hl-gradeflow-heading h1{font-size:clamp(1.7rem,2.6vw,2.2rem);margin:.2rem 0}
.hl-gradeflow-heading .eyebrow{display:block;margin-top:12px}
.hl-gradeflow-stepper{display:flex;align-items:center;gap:10px}
.hl-gradeflow-stepper strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.hl-flow-disabled{opacity:.4;pointer-events:none;cursor:default}
.hl-gradeflow-layout{display:grid;grid-template-columns:minmax(220px,265px) minmax(0,1fr);gap:20px;align-items:start}
.hl-gradeflow-roster{border:1px solid #d7e5e1;border-radius:11px;background:#fff;padding:16px;position:sticky;top:12px;max-height:80vh;overflow:auto}
.hl-gradeflow-roster h2{font-size:17px;margin:.1rem 0}
.hl-gradeflow-roster-list{display:flex;flex-direction:column;gap:3px;margin-top:14px}
.hl-gradeflow-student{display:flex;align-items:center;justify-content:space-between;gap:6px;border-radius:7px;padding:9px 10px;color:#214e46;text-decoration:none;font-size:13px}
.hl-gradeflow-student.current{background:#dff3eb;border-left:3px solid #087868;font-weight:700}
.hl-gradeflow-student:not(.current):hover{background:#f2faf7}
.hl-gradeflow-student small{font-size:11px;white-space:nowrap}
.hl-gradeflow-body{min-width:0}
.hl-gradeflow-body .panel{margin:0}
.hl-gradeflow-student-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 14px}
.hl-gradeflow-student-heading h2{margin:0;font-size:22px}
.hl-gradeflow-status{font-size:13px;min-height:12px;font-weight:700;color:#116456}
.hl-gradeflow-status.is-error{color:#ad2929}
.hl-gradeflow-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:16px 0}
.hl-gradeflow-body .grade-review-response{overflow-wrap:anywhere}
@media(max-width:900px){.hl-gradebook-controls{grid-template-columns:1fr 1fr}.hl-gradeflow-layout{grid-template-columns:1fr}.hl-gradeflow-roster{position:static;max-height:185px}.hl-gradeflow-roster-list{display:flex;flex-direction:row;flex-wrap:wrap}}
@media(max-width:580px){.hl-gradebook-controls{grid-template-columns:1fr}.hl-gradebook-toolbar-foot{align-items:flex-start;flex-direction:column}.hl-gradeflow-heading{flex-direction:column;align-items:flex-start}.hl-gradeflow-stepper{width:100%;justify-content:space-between}.hl-gradeflow-footer{flex-direction:column;align-items:flex-start}.gradebook-matrix th.gradebook-student-col{min-width:120px;max-width:160px}}

/* Wave E: optional authenticated course card covers, stable aspect/crop on all screens. */
.course-grid .course-art{position:relative;height:auto;aspect-ratio:16/9;overflow:hidden}
.course-grid .course-art img,.course-cover-preview img{width:100%;height:100%;object-fit:cover;display:block}
.course-cover-preview{height:auto;max-width:540px;aspect-ratio:16/9;overflow:hidden;border-radius:10px;margin:14px 0}
.course-grid .course-card-body{height:auto;min-height:185px}
@media(prefers-reduced-motion:reduce){.course-grid .course-card{transition:none}}


/* Wave E .0307: immersive, image-forward course gallery. Scope to dashboard only. */
.course-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:24px;align-items:stretch}
.course-grid .course-card-immersive{display:flex;flex-direction:column;min-width:0;border-radius:17px;border:1px solid #dce5e4;box-shadow:0 8px 28px rgba(20,48,53,.09);overflow:hidden;background:#fff;isolation:isolate;transition:transform .18s ease,box-shadow .18s ease}
.course-grid .course-card-immersive:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(20,48,53,.15)}
.course-grid .course-card-immersive:focus-visible{outline:3px solid #0c8073;outline-offset:4px}
.course-grid .course-card-immersive .course-card-media{width:100%;height:auto;aspect-ratio:4/3;position:relative;flex:none;display:block;overflow:hidden;background-color:#254b66}
.course-grid .course-card-immersive .course-card-photo{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease;position:absolute;inset:0}
.course-grid .course-card-immersive:hover .course-card-photo{transform:scale(1.045)}
.course-grid .course-card-immersive .course-card-media-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.08) 5%,rgba(8,16,28,.12) 40%,rgba(6,15,27,.88) 100%);pointer-events:none}
.course-grid .course-card-immersive .course-card-media-caption{position:absolute;inset:auto 0 0;z-index:2;padding:26px 21px 20px;text-align:left;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.55)}
.course-grid .course-card-immersive .course-card-code{display:inline-block;font-size:11px;letter-spacing:.12em;font-weight:800;color:#fff;margin-bottom:7px;text-transform:uppercase}
.course-grid .course-card-immersive .course-card-media-caption h3{font-size:clamp(20px,1.65vw,24px);line-height:1.19;margin:0;letter-spacing:-.025em;color:#fff;overflow-wrap:anywhere;text-wrap:balance}
.course-grid .course-card-immersive .course-card-body{padding:17px 20px 19px;display:flex;flex:1;flex-direction:column;min-height:142px;height:auto}
.course-grid .course-card-immersive .course-card-description{line-height:1.5;min-height:0;margin:0 0 12px;color:#5c6d72;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.course-grid .course-card-immersive .course-term-label{margin:0 0 10px;min-height:0;font-size:11px;color:#526e72}
.course-grid .course-card-immersive .card-foot{margin-top:auto;padding-top:12px;border-top:1px solid #edf1ef;flex-wrap:wrap}
.course-grid .course-card-immersive .course-card-open{font-weight:700;white-space:nowrap}
/* Original abstract fallback artwork, avoiding a misleading stock-photo default. */
.course-grid .course-card-immersive .has-fallback{background-image:radial-gradient(circle at 72% 26%,rgba(255,255,255,.40) 0 5%,transparent 5.5%),radial-gradient(circle at 74% 28%,transparent 0 18%,rgba(255,255,255,.13) 18.5% 19.5%,transparent 20%),linear-gradient(35deg,transparent 25%,rgba(255,255,255,.12) 25% 26%,transparent 27% 58%,rgba(255,255,255,.12) 59% 60%,transparent 61%),linear-gradient(135deg,#164a70,#327e94 54%,#84bdcb)}
.course-grid .course-card-immersive .has-fallback.theme-1{background-image:radial-gradient(circle at 74% 20%,rgba(252,227,169,.66),transparent 32%),repeating-linear-gradient(125deg,transparent 0 24px,rgba(255,255,255,.09) 25px 26px,transparent 27px 48px),linear-gradient(120deg,#2b375b,#56698a 58%,#ad96b7)}
.course-grid .course-card-immersive .has-fallback.theme-2{background-image:radial-gradient(circle at 76% 30%,rgba(244,216,255,.65),transparent 27%),repeating-radial-gradient(circle at 35% 40%,transparent 0 22px,rgba(255,255,255,.09) 23px 24px,transparent 25px 42px),linear-gradient(125deg,#352a68,#705b9f 60%,#b285b8)}
.course-grid .course-card-immersive .has-fallback.theme-3{background-image:radial-gradient(circle at 76% 22%,rgba(255,236,176,.58),transparent 28%),repeating-linear-gradient(35deg,transparent 0 30px,rgba(255,255,255,.08) 31px 32px,transparent 33px 60px),linear-gradient(135deg,#66513e,#ad7a54 55%,#e5bc87)}
.course-grid .course-card-immersive .course-card-artmark{position:absolute;top:12%;right:12%;font-size:clamp(45px,5vw,85px);color:rgba(255,255,255,.68);text-shadow:0 12px 35px rgba(0,0,0,.12);transform:rotate(-14deg)}
@media(min-width:1000px){.course-grid .course-card-immersive .course-card-media{aspect-ratio:1.38}}
@media(max-width:650px){.course-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}.course-grid .course-card-immersive .course-card-media{aspect-ratio:16/11}.course-grid .course-card-immersive .course-card-media-caption{padding:22px 17px 16px}}
@media(prefers-reduced-motion:reduce){.course-grid .course-card-immersive,.course-grid .course-card-immersive .course-card-photo{transition:none}.course-grid .course-card-immersive:hover .course-card-photo{transform:none}}

/* .0314: source rubric descriptors remain legible as manual scoring guidance. */
.rubric-guidance{white-space:pre-line;overflow-wrap:anywhere;line-height:1.55;}


/* .0315 Instructor spreadsheet: frozen roster, anchored grouped headers, high-density grading.
   All scrolling is confined to the gradebook region, keeping row identities visible. */
.hl-gradebook-workspace{max-width:1550px;width:100%}
.hl-gradebook-workspace .course-content{padding-left:clamp(20px,4vw,70px);padding-right:clamp(20px,4vw,70px)}
.hl-gradebook-sheet-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:15px 0 9px}
.hl-gradebook-sheet-heading h3{margin:0;font-size:17px;color:#123c39}
.hl-gradebook-sheet-heading p{margin:4px 0;font-size:12px}
.hl-gradebook-sheet-buttons{display:flex;gap:8px;flex-wrap:wrap}
.hl-gradebook-sheet-buttons .button{padding:8px 11px;font-size:12px}
.hl-gradebook-sheet-buttons button:disabled{opacity:.4;cursor:not-allowed}
.hl-gradebook-workspace .gradebook-matrix-wrap{width:100%;max-width:100%;max-height:min(70vh,720px);overflow:auto;overscroll-behavior:contain;position:relative;isolation:isolate;border:1px solid #b7d1cb;border-radius:10px;scrollbar-gutter:stable}
.hl-gradebook-workspace .gradebook-matrix{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;table-layout:fixed;font-variant-numeric:tabular-nums}
.hl-gradebook-workspace .gradebook-matrix th,.hl-gradebook-workspace .gradebook-matrix td{box-sizing:border-box;width:164px;min-width:164px;max-width:164px;padding:9px 8px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
.hl-gradebook-workspace .gradebook-matrix thead th{position:sticky;top:0;z-index:4;background:#e4f0ec;color:#174940;box-shadow:0 1px 0 #bdd5cd}
.hl-gradebook-workspace .gradebook-matrix thead tr:nth-child(2) th{top:var(--hl-gradebook-header-height,44px);z-index:4;background:#f3f8f6}
.hl-gradebook-workspace .gradebook-matrix th.gradebook-student-col{position:sticky;left:0;width:214px;min-width:214px;max-width:214px;text-align:left;z-index:5;border-right:2px solid #91b9ae;background:#f1f8f4;box-shadow:4px 0 8px #163d3718}
.hl-gradebook-workspace .gradebook-matrix thead th.gradebook-student-col{z-index:9;top:0;background:#daeee6}
.hl-gradebook-frozen-label{display:block;font-size:10px;letter-spacing:.02em;color:#56786e;margin-top:4px;font-weight:500}
.hl-gradebook-student-name{display:block;font-size:13px;font-weight:750;line-height:1.4;color:#123d38}
.hl-gradebook-workspace .gradebook-matrix tbody tr:nth-child(even) th.gradebook-student-col{background:#eaf3ef}
.hl-gradebook-workspace .gradebook-matrix tbody tr:hover th.gradebook-student-col,.hl-gradebook-workspace .gradebook-matrix tbody tr:focus-within th.gradebook-student-col{background:#d6eee4}
.hl-gradebook-workspace .gradebook-matrix tbody tr:hover td,.hl-gradebook-workspace .gradebook-matrix tbody tr:focus-within td{background:#f1faf6}
.hl-gradebook-workspace .gradebook-matrix tbody tr:focus-within td{box-shadow:inset 0 1px 0 #b3d5cc,inset 0 -1px 0 #b3d5cc}
.hl-gradebook-workspace .gradebook-matrix .hl-grid-grade-form{width:100%;padding:2px 4px;max-width:100%}
.hl-gradebook-workspace .gradebook-matrix .hl-grid-grade-form .hl-grid-score{width:0;min-width:0;flex:1 1 auto}
.hl-gradebook-workspace .gradebook-matrix .hl-grid-review{font-size:11px}
.hl-gradebook-workspace .gradebook-matrix .gradebook-activity-col span{min-width:0;max-width:100%}
.hl-gradebook-workspace .gradebook-category{background:#d3e7df!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hl-gradebook-workspace .hl-gradebook-empty-row td{background:#fafdfb;text-align:left;padding:23px!important}
.hl-gradebook-workspace .hl-gradebook-empty-row td p{margin:0 0 12px;max-width:480px}
.hl-gradebook-workspace .hl-gradebook-empty-assessments strong{display:block;color:#193d3b;margin-bottom:6px}
.hl-gradebook-workspace .hl-gradebook-empty-assessments p{font-size:13px;margin-bottom:15px}
.hl-gradebook-workspace .gradebook-matrix-wrap:focus-visible{outline:3px solid #4a9b88;outline-offset:3px}
@media(max-width:760px){
 .hl-gradebook-workspace .gradebook-matrix th.gradebook-student-col{width:152px;min-width:152px;max-width:152px}
 .hl-gradebook-workspace .gradebook-matrix th,.hl-gradebook-workspace .gradebook-matrix td{width:151px;min-width:151px;max-width:151px}
 .hl-gradebook-workspace .gradebook-matrix-wrap{max-height:66vh}
 .hl-gradebook-sheet-buttons .button{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.hl-gradebook-workspace .gradebook-matrix-wrap{scroll-behavior:auto}}


/* .0323 student, teaching and institution experience refresh.
   Readable contrast, responsive layouts, stable dashboard interactions. */
.hl-focus-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,.9fr);gap:26px;padding:32px;background:linear-gradient(125deg,#093e44,#126e67 64%,#257e77);border-radius:21px;color:#fff;box-shadow:0 16px 42px rgba(18,67,73,.18);margin:22px 0 32px}
.hl-focus-intro .eyebrow{color:#bbebdc}.hl-focus-hero h2{color:#fff;font-size:clamp(26px,3vw,38px);letter-spacing:-.03em;line-height:1.15;margin:9px 0}.hl-focus-hero p{color:#e6f7f1;line-height:1.55;max-width:58ch}.hl-focus-actions,.hl-role-links,.hl-teaching-quicklinks{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:19px}.hl-focus-hero .hl-focus-actions .button{background:#fff;color:#145449;border-color:#fff;text-decoration:none}.hl-focus-hero .hl-focus-actions .button.secondary{background:transparent;color:#fff;border-color:#a5d5c9}.hl-focus-hero .hl-focus-actions .button:focus-visible{outline:3px solid #ffe39a}
.hl-focus-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:center}.hl-focus-metrics>div{background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.24);border-radius:14px;padding:17px}.hl-focus-metrics strong{font-size:clamp(26px,3vw,35px);display:block;color:#fff;line-height:1.2}.hl-focus-metrics span{font-size:12px;color:#effff7}
.hl-next-work{margin:0 0 35px}.hl-next-work .section-head{align-items:end}.hl-next-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px}.hl-next-item{display:flex;flex-direction:column;align-items:flex-start;text-decoration:none;background:#fff;border:1px solid #d6e3e1;border-radius:16px;padding:18px;gap:8px;color:#174440;box-shadow:0 4px 20px rgba(30,72,66,.055);transition:transform .16s ease,box-shadow .16s ease}.hl-next-item:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(30,72,66,.12)}.hl-next-item:focus-visible{outline:3px solid #087e97;outline-offset:3px}.hl-next-item strong{font-size:17px;line-height:1.3}.hl-next-item>span:not(.hl-next-tag):not(.hl-next-open){color:#526a68;font-size:13px}.hl-next-item small{color:#3b5f5c;font-size:12px}.hl-next-tag{padding:4px 9px;border-radius:99px;background:#dcefe7;color:#155747;font-size:11px;font-weight:750}.hl-next-tag.late{background:#ffeadf;color:#8e3024}.hl-next-open{margin-top:auto;padding-top:8px;font-weight:700;color:#09695e;font-size:12px}.hl-next-empty{padding:24px;border:1px dashed #b9d0c9;border-radius:15px;background:#f8fbf9}.hl-next-empty p{margin:8px 0;color:#54736c}
.hl-role-ribbon,.hl-teaching-overview{display:flex;gap:24px;align-items:center;justify-content:space-between;background:linear-gradient(125deg,#ecf8f4,#f6faf9);border:1px solid #c6e1d6;border-radius:18px;padding:25px;margin:20px 0 32px}.hl-role-ribbon h2,.hl-teaching-overview h2{margin:5px 0 4px;font-size:clamp(21px,2.5vw,27px);color:#174d46}.hl-role-ribbon p,.hl-teaching-overview p{max-width:58ch}.hl-role-links a{border:1px solid #a9cfc4;border-radius:9px;padding:10px 13px;color:#105c4f;background:#fff;font-weight:700;font-size:13px;text-decoration:none;white-space:nowrap}.hl-role-links a:hover{background:#dbf3eb}
.hl-progress-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}.hl-progress-overview>div{display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid #d9e5e0;border-radius:14px;padding:19px 15px}.hl-progress-overview strong{font-size:clamp(24px,3vw,35px);color:#175e52;line-height:1.1}.hl-progress-overview span{color:#506f68;font-size:12px;font-weight:700}
.hl-launch-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.35fr);gap:25px;align-items:center;background:linear-gradient(130deg,#114d50,#1b7465);border-radius:20px;padding:30px;color:#fff;margin:16px 0 25px}.hl-launch-overview .eyebrow,.hl-launch-overview p{color:#ddf4eb}.hl-launch-overview h2{color:#fff;font-size:clamp(24px,3vw,34px);line-height:1.2;margin:8px 0}.hl-launch-overview .button{margin-top:8px;background:#fff;color:#155c50;border-color:#fff}.hl-launch-score{display:flex;flex-direction:column;gap:9px;padding:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:15px}.hl-launch-score strong{font-size:clamp(29px,3vw,38px);color:#fff}.hl-launch-score span{color:#eef9f4;font-size:12px}.hl-launch-score progress{width:100%;accent-color:#b6ebcd}
.hl-launch-guidance{margin-bottom:24px}.hl-launch-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hl-launch-steps a{display:flex;flex-direction:column;gap:8px;min-width:0;padding:18px;border:1px solid #d6e6e0;border-radius:13px;background:#fff;text-decoration:none;color:#1c5348}.hl-launch-steps a:hover{border-color:#6da89b;background:#f5fbf9}.hl-launch-steps strong{font-size:13px}.hl-launch-steps span{font-size:12px;color:#54716a}
@media(max-width:860px){.hl-focus-hero,.hl-launch-overview{grid-template-columns:1fr}.hl-progress-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.hl-launch-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-role-ribbon,.hl-teaching-overview{align-items:flex-start;flex-direction:column}}
@media(max-width:570px){.hl-focus-hero,.hl-launch-overview{padding:20px;border-radius:15px}.hl-focus-metrics{gap:8px}.hl-focus-metrics>div{padding:12px}.hl-progress-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-next-grid{grid-template-columns:1fr}.hl-launch-steps{grid-template-columns:1fr}.hl-role-ribbon{padding:18px}.hl-focus-actions>.button{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.hl-next-item{transition:none}.hl-next-item:hover{transform:none}}
/* Institutional accent cannot override light CTAs placed on dark hero surfaces. */
body[style*="--hl-institution-accent"] .hl-focus-hero .hl-focus-actions a.button:not(.secondary),
body[style*="--hl-institution-accent"] .hl-launch-overview a.button:not(.secondary){background-color:#fff;border-color:#fff;color:#145449}
body[style*="--hl-institution-accent"] .hl-focus-hero .hl-focus-actions a.button:not(.secondary):hover,
body[style*="--hl-institution-accent"] .hl-launch-overview a.button:not(.secondary):hover{background-color:#e4f5ec;border-color:#e4f5ec;color:#12473e}
/* A single course must remain a card, not stretch into an enormous billboard. */
@media(min-width:651px){.course-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr))}}

/* .0326 instructor feedback and institutional student-support presentation */
.hl-feedback-quick{display:flex;gap:.65rem;flex-wrap:wrap;align-items:end;margin:.75rem 0 1rem;padding:.85rem;border:1px solid var(--border,#cbd5dc);border-radius:12px;background:var(--surface,#f7faf9)}
.hl-feedback-quick label{flex:1 1 230px;margin:0}.hl-feedback-quick select{width:100%}.hl-feedback-quick button{flex:0 0 auto}
.hl-feedback-insert-status:not(.visually-hidden){flex-basis:100%;color:#145b50;font-weight:600;font-size:.87rem}
.hl-feedback-entry{display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:1rem 0;border-bottom:1px solid #e2e9e7}
.hl-feedback-entry p{white-space:pre-wrap;overflow-wrap:anywhere;max-width:70ch}
.hl-feedback-form textarea{width:100%}
@media(max-width:650px){.hl-feedback-entry{align-items:stretch;flex-direction:column}.hl-feedback-quick button{width:100%}}


/* .0327: refined compact spreadsheet gradebook, accessible frozen roster and controls. */
.hl-gradebook-workspace{--hl-sheet-border:#dbe8e4;--hl-sheet-ink:#173c38}
.hl-gradebook-workspace .hl-gradebook-heading{margin-bottom:16px}
.hl-gradebook-heading-tag{display:inline-block;vertical-align:middle;margin-left:8px;padding:5px 10px;border-radius:20px;background:#e3f2ed;color:#12695e;font-size:11px;letter-spacing:0;font-weight:700}
.hl-gradebook-workspace .hl-gradebook-toolbar{border:1px solid #e0eae7;border-radius:14px;box-shadow:0 3px 15px #143e3910;background:#fff}
.hl-gradebook-workspace .hl-gradebook-controls{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(180px,.7fr)}
.hl-gradebook-workspace .hl-gradebook-controls input,.hl-gradebook-workspace .hl-gradebook-controls select{min-height:38px;border-radius:8px}
.hl-gradebook-workspace .hl-gradebook-toolbar-foot{border-top:1px solid #edf1ef;padding-top:11px}
.hl-gradebook-workspace .hl-gradebook-keyboard-help{color:#687d79;line-height:1.45}
.hl-gradebook-workspace .hl-gradebook-sheet-heading{margin:20px 0 10px;align-items:flex-end;gap:10px}
.hl-gradebook-workspace .hl-gradebook-sheet-intro h3{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0;font-size:18px;letter-spacing:-.02em}
.hl-gradebook-sheet-count{font-size:11px;letter-spacing:0;color:#315c54;background:#e9f4ef;border:1px solid #d6e9e0;border-radius:20px;padding:4px 9px;font-weight:650}
.hl-gradebook-workspace .hl-gradebook-sheet-intro p{margin:5px 0 0;font-size:12px}
.hl-gradebook-workspace .hl-gradebook-sheet-buttons{align-items:end;gap:8px}
.hl-gradebook-jump-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:650;color:#365e57;margin:0}
.hl-gradebook-workspace .hl-gradebook-jump-label select{margin:0;min-height:35px;width:min(210px,25vw);max-width:210px;padding:6px 25px 6px 10px;font-size:12px;border:1px solid #cfe1da;border-radius:8px;background:#fff}
.hl-gradebook-stepper{display:flex;align-items:center;gap:4px;border:1px solid #cfe0da;border-radius:9px;padding:2px;background:#fff;white-space:nowrap}
.hl-gradebook-stepper .button{height:30px;min-height:30px;min-width:32px;padding:1px 8px;font-size:23px;line-height:1;border:0;background:transparent;color:#0d5f52}
#hl-gradebook-column-position{font-size:11px;font-weight:650;color:#4c6762;min-width:91px;text-align:center;font-variant-numeric:tabular-nums}
.hl-gradebook-workspace .hl-gradebook-density-toggle{padding:7px 10px;font-size:12px;min-height:35px;border-radius:8px}
.hl-gradebook-workspace .gradebook-matrix-wrap{border:1px solid #cedfd9;border-radius:13px;box-shadow:0 5px 18px #1c3f3912;margin-top:0;max-height:min(70vh,660px);background:#fff;scrollbar-color:#a7c6bb #eef5f2}
.hl-gradebook-workspace .gradebook-matrix{font-size:12px}
.hl-gradebook-workspace .gradebook-matrix th,.hl-gradebook-workspace .gradebook-matrix td{width:150px;min-width:150px;max-width:150px;padding:7px 8px;border-right:1px solid #e6eeeb;border-bottom:1px solid #e6eeeb}
.hl-gradebook-workspace .gradebook-matrix thead th{background:#f5f9f7;color:#153f38;box-shadow:none}
.hl-gradebook-workspace .gradebook-matrix th.gradebook-student-col{width:184px;min-width:184px;max-width:184px;background:#f5faf7;border-right:2px solid #9bc5b6;box-shadow:3px 0 9px #0d493219}
.hl-gradebook-workspace .gradebook-matrix thead th.gradebook-student-col{background:#eaf5ef;z-index:9;color:#174f43;font-size:13px}
.hl-gradebook-workspace .gradebook-matrix tbody tr:nth-child(even) td{background:#f9fbfa}
.hl-gradebook-workspace .gradebook-matrix tbody tr:nth-child(even) th.gradebook-student-col{background:#eff7f2}
.hl-gradebook-workspace .gradebook-matrix tbody tr:hover td,.hl-gradebook-workspace .gradebook-matrix tbody tr:focus-within td{background:#eaf6f0}
.hl-gradebook-workspace .gradebook-category{height:31px;padding:7px 10px!important;background:#dceee5!important;color:#22594c!important;border-bottom:1px solid #b8d9c9!important;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;text-align:left}
.hl-gradebook-workspace .gradebook-activity-col{height:78px;padding:9px 8px!important;vertical-align:top!important}
.hl-gradebook-workspace .gradebook-activity-col .gradebook-activity-kind{font-size:9px;letter-spacing:.07em;color:#598078;font-weight:800;text-transform:uppercase;margin:0 0 5px}
.hl-gradebook-workspace .gradebook-activity-col .hl-gradebook-activity-title{display:-webkit-box;line-height:1.24;font-size:11px;font-weight:750;color:#174b44;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:27px;overflow-wrap:anywhere}
.hl-gradebook-workspace .gradebook-activity-col small{font-size:10px;margin-top:4px;color:#69837b;font-weight:650}
.hl-gradebook-workspace .gradebook-matrix tbody th.gradebook-student-col{font-size:12px}
.hl-gradebook-workspace .gradebook-matrix tbody tr:focus-within th.gradebook-student-col{background:#d9efe3}
.hl-gradebook-workspace .gradebook-matrix .hl-grid-grade-form{min-height:34px;border-radius:6px;padding:2px 4px;gap:2px}
.hl-gradebook-workspace .gradebook-matrix .hl-grid-grade-form .hl-grid-score{font-size:13px}
.hl-gradebook-workspace .gradebook-matrix .hl-grid-grade-form .hl-grid-save{font-size:10px;padding:4px 5px;min-height:25px}
.hl-gradebook-workspace .gradebook-matrix .hl-grid-review{font-size:10px;margin-top:4px}
.hl-gradebook-roster-prompt{display:flex;align-items:center;gap:13px;background:#f6faf8;border:1px solid #d5e6dc;border-radius:11px;padding:13px 15px;margin:0 0 12px}
.hl-gradebook-roster-prompt .hl-gradebook-roster-icon{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:10px;background:#d9eee4;color:#106656;font-size:25px;font-weight:700}
.hl-gradebook-roster-prompt div{flex:1;min-width:0}
.hl-gradebook-roster-prompt strong{display:block;color:#1a4d41;font-size:13px}
.hl-gradebook-roster-prompt p{margin:3px 0 0;color:#5c766e;font-size:12px;line-height:1.4}
.hl-gradebook-roster-prompt .button{white-space:nowrap;font-size:12px}
.hl-gradebook-workspace .hl-gradebook-empty-row td{padding:11px 15px!important;height:50px;color:#637c76;font-size:12px}
.hl-gradebook-workspace .hl-gradebook-empty-row th{color:#688079;font-weight:600}
.hl-gradebook-workspace .hl-gradebook-empty-row td span{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hl-gradebook-workspace .gradebook-legend{font-size:11px;line-height:1.6;color:#657b76;margin-top:10px}
.hl-gradebook-workspace.hl-gradebook-comfortable .gradebook-matrix th:not(.gradebook-student-col),.hl-gradebook-workspace.hl-gradebook-comfortable .gradebook-matrix td{width:178px;min-width:178px;max-width:178px;padding:12px 10px}
.hl-gradebook-workspace.hl-gradebook-comfortable .gradebook-matrix .gradebook-activity-col{height:95px}
.hl-gradebook-workspace.hl-gradebook-comfortable .gradebook-matrix .hl-grid-grade-form{min-height:44px}
@media(max-width:900px){
 .hl-gradebook-workspace .hl-gradebook-sheet-heading{align-items:flex-start}
 .hl-gradebook-workspace .hl-gradebook-sheet-buttons{width:100%;justify-content:flex-start}
 .hl-gradebook-workspace .hl-gradebook-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hl-gradebook-workspace .hl-gradebook-controls label:last-child{grid-column:1/-1}
}
@media(max-width:620px){
 .hl-gradebook-workspace .gradebook-matrix th.gradebook-student-col{width:132px;min-width:132px;max-width:132px}
 .hl-gradebook-workspace .gradebook-matrix th:not(.gradebook-student-col),.hl-gradebook-workspace .gradebook-matrix td{width:142px;min-width:142px;max-width:142px}
 .hl-gradebook-workspace .hl-gradebook-controls{grid-template-columns:1fr}
 .hl-gradebook-workspace .hl-gradebook-controls label:last-child{grid-column:auto}
 .hl-gradebook-workspace .hl-gradebook-sheet-buttons{flex-wrap:wrap}
 .hl-gradebook-workspace .hl-gradebook-jump-label select{width:160px}
 .hl-gradebook-roster-prompt{flex-wrap:wrap}
 .hl-gradebook-roster-prompt .button{margin-left:49px}
}
@media(prefers-reduced-motion:reduce){.hl-gradebook-workspace .gradebook-matrix-wrap{scroll-behavior:auto}}

.hl-gradebook-workspace .hl-gradebook-density-toggle[aria-pressed="false"]{background:#fff;color:#416e65;border-color:#c9dbd3}
.hl-gradebook-workspace .hl-gradebook-density-toggle[aria-pressed="true"]{background:#e5f2ec;color:#075a50;border-color:#b7d9cd}

/* .0328 SCORM navigation: compact integrations inventory, course-scoped package editor. */
.hl-scorm-search .actions {display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px}
.hl-scorm-search input {flex:1 1 280px;min-width:0;max-width:560px}
.hl-scorm-course-list {margin-top:16px;border-top:1px solid #dce8e5}
.hl-scorm-course-row {padding:14px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #dce8e5}
.hl-scorm-course-row .muted {margin:5px 0 0}
@media (max-width:620px){.hl-scorm-course-row{align-items:stretch;flex-direction:column}.hl-scorm-course-row .button{align-self:flex-start}}

/* .0332: printable, course-scoped non-credit completion credential. */
.hl-certificate-page{max-width:1100px;margin:2rem auto;padding:0 1rem 2rem}
.hl-certificate-tools{display:flex;justify-content:space-between;gap:.75rem;align-items:center;margin-bottom:1rem;flex-wrap:wrap}
.hl-certificate{background:#fdfdfb;color:#17283a;border:1px solid #c0b7a1;border-radius:14px;box-shadow:0 12px 40px rgba(18,44,54,.10);padding:12px}
.hl-certificate-border{border:2px solid #0e6c64;outline:1px solid #d0bc8e;outline-offset:-10px;border-radius:7px;padding:clamp(2rem,5vw,4.5rem);min-height:630px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hl-certificate-issuer{font-weight:800;text-transform:uppercase;letter-spacing:.16em;color:#086d60;font-size:clamp(.9rem,1.5vw,1.12rem)}
.hl-certificate-flourish{font-size:2rem;color:#b18b49;margin:.35rem 0 0}
.hl-certificate-kicker{text-transform:uppercase;letter-spacing:.2em;font-size:.75rem;color:#526674;font-weight:700}
.hl-certificate h1{font-family:Georgia,'Times New Roman',serif;color:#153a4a;font-size:clamp(2rem,4.5vw,3.5rem);margin:.5rem 0 1.2rem;line-height:1.12}
.hl-certificate-small{font-size:.96rem;color:#526674;margin:.3rem 0}
.hl-certificate-recipient{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.7rem,3.3vw,2.6rem);font-weight:600;color:#095e56;margin:1rem 0 .35rem}
.hl-certificate-line{background:#b18b49;height:2px;width:min(60%,390px);margin:.5rem auto 1.15rem}
.hl-certificate-course{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.3rem,2.5vw,1.85rem);color:#153a4a;margin:.6rem 0 0;line-height:1.25}
.hl-certificate-hours{color:#36505b;margin:.7rem 0}
.hl-certificate-details{display:flex;justify-content:center;gap:clamp(1rem,5vw,4rem);margin:2rem 0 .5rem;flex-wrap:wrap}
.hl-certificate-details>div{display:flex;flex-direction:column;gap:.35rem;min-width:180px}
.hl-certificate-details small{font-size:.69rem;color:#667580;font-weight:800;letter-spacing:.14em}
.hl-certificate-details strong{font-weight:600;font-size:.85rem;overflow-wrap:anywhere}
.hl-certificate-code{font-family:ui-monospace,monospace;max-width:340px}
.hl-certificate-method{font-size:.77rem;color:#4d6267;margin:.7rem 0 .2rem}
.hl-certificate-disclaimer{font-size:.68rem;color:#65737a;max-width:700px;margin:.55rem auto 0}
@media(max-width:600px){.hl-certificate-border{min-height:490px;padding:2rem 1.4rem}.hl-certificate-details{margin:1rem 0 .5rem}}
@media print{
  @page{size:landscape;margin:10mm}
  body{background:white!important;margin:0!important}
  header,footer,nav,.hl-certificate-tools,.course-sidebar{display:none!important}
  .hl-certificate-page{max-width:100%!important;margin:0!important;padding:0!important}
  .hl-certificate{border:none;box-shadow:none;border-radius:0;padding:0;print-color-adjust:exact;-webkit-print-color-adjust:exact;break-inside:avoid}
  .hl-certificate-border{min-height:175mm;max-height:182mm;padding:12mm;outline-offset:-4mm;break-inside:avoid}
}

/* .0333: streamlined grading weights with removable, restorable categories. */
.grading-weight-list{display:grid;gap:.6rem;margin:1rem 0}
.grading-weight-row{display:flex;align-items:end;gap:.8rem;padding:.75rem 1rem;border:1px solid var(--border,#d7dce3);border-radius:10px;background:var(--surface,#fff)}
.grading-weight-row label{margin:0;flex:1 1 200px;min-width:0;font-weight:700}
.grading-weight-row input{max-width:170px;margin:.4rem 0 0}
.grading-weight-row .button{white-space:normal;margin:0;flex:0 0 auto}
.grading-weight-restore{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap;margin:.8rem 0 1rem}
.grading-weight-restore label{flex:1 1 220px;margin:0;max-width:500px}
.grading-weight-restore select{margin-top:.4rem}
.grading-weight-row[hidden],.grading-weight-restore[hidden]{display:none!important}
@media(max-width:640px){.grading-weight-row{flex-wrap:wrap}.grading-weight-row input{max-width:none}.grading-weight-row .button{width:100%}}

/* .0340: consolidated educator / CE / institution readiness workflows */
.hl-evidence-page { max-width: 1100px; margin-inline: auto; padding-block: 1.75rem; }
.hl-data-list {display: grid; grid-template-columns: minmax(130px, 200px) minmax(0, 1fr); gap: .65rem 1.25rem;}
.hl-data-list dt {font-weight:700;} .hl-data-list dd{margin:0;overflow-wrap:anywhere;}
.hl-readiness-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:.85rem;margin:1.3rem 0;}
.hl-readiness-grid .panel {padding:1rem;} .hl-readiness-grid h2 {margin:.4rem 0 0;}
.hl-age-pill {display:inline-block;border-radius:999px;padding:.24rem .65rem;background:#e4f3ee;color:#135c50;font-size:.84rem;font-weight:650;white-space:nowrap;}
@media(max-width:660px){.hl-data-list{grid-template-columns:1fr;gap:.2rem}.hl-data-list dd{margin-bottom:.7rem}.hl-evidence-page{padding-inline:1rem}}
@media print{.top-nav,.site-header,.footer,.hl-evidence-page .actions{display:none!important}.hl-evidence-page{max-width:100%;padding:0}}

/* .0343: low-distraction private PDF page review notes. */
.hl-review-notes{margin:20px 0}.hl-review-notes form{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:12px;align-items:end}.hl-review-notes form label:nth-of-type(3){grid-column:1 / -1}.hl-review-notes form button{justify-self:start}.hl-review-note-list{padding-left:23px}.hl-review-note-list li{margin:10px 0;padding:12px;border:1px solid #e3ece9;border-radius:9px}@media(max-width:650px){.hl-review-notes form{grid-template-columns:1fr}}

/* .0348 accessible adoption and catalog layout */
.hl-adopt-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:18px 0}
.hl-adopt-metrics .panel{display:flex;flex-direction:column;gap:7px}
.hl-adopt-metrics strong{font-size:1.6rem;font-weight:750}
.hl-adopt-metrics span,.hl-adopt-block{font-size:.88rem}
.hl-adopt-block{display:block;margin-top:4px}
.hl-adopt-links{display:flex;flex-wrap:wrap;gap:10px}
.hl-adopt-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.hl-adopt .report-table-scroller{max-width:100%;overflow-x:auto}
.hl-adopt table td,.hl-adopt table th{vertical-align:top}
.hl-adopt textarea{display:block;max-width:100%;width:100%}
@media(max-width:720px){.hl-adopt-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-adopt-links .button{width:100%}}
/* Harbor Library .0352: responsive digital-resource cards and metadata management. */
.hl-lib-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;margin:12px 0}
.hl-lib-card{border:1px solid var(--border,#ccd5da);border-radius:12px;padding:16px;background:var(--surface,#fff);min-width:0}
.hl-lib-card h3{font-size:1.03rem;margin:9px 0}.hl-lib-card p{overflow-wrap:anywhere}
.hl-lib-meta{display:grid;gap:9px;margin:15px 0}.hl-lib-search,.hl-lib-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:14px;align-items:end}
.hl-lib-form label,.hl-lib-search label{display:grid;gap:5px}.hl-lib-wide{grid-column:1/-1}
.hl-library .panel{margin-bottom:20px}.hl-library input,.hl-library select,.hl-library textarea{max-width:100%}
@media(max-width:600px){.hl-lib-search,.hl-lib-form{grid-template-columns:1fr}}

/* .0360 college transition evidence and mobile readiness */
.college-section-nav{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.1rem 0}
.college-section-nav a{display:inline-block;padding:.5rem .8rem;border:1px solid #c8d8d5;border-radius:999px;color:inherit}
.college-six-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:.65rem}
.college-evidence-form{display:grid;gap:.85rem;max-width:920px;margin:1rem 0}
.college-evidence-form label{display:grid;gap:.3rem}
.college-evidence-form select,.college-evidence-form input,.college-evidence-form textarea{width:100%;min-width:0}
.college-delta{display:inline-block;margin:.1rem .6rem .1rem 0;white-space:nowrap;font-size:.9rem}
@media(max-width:640px){.college-section-nav{display:grid;grid-template-columns:1fr}.college-section-nav a{width:100%}.college-delta{white-space:normal}}

/* .0360: readable, consistent institution-local deadlines */
.hl-due-badge{display:inline-block;background:#eef6f2;color:#14584a;border:1px solid #cce5da;border-radius:6px;font-size:.9em;font-weight:700;padding:3px 8px;line-height:1.5;white-space:normal;font-variant-numeric:tabular-nums}

/* .0361: consistent course-tool layout, headings and responsive data tables. */
.hl-course-tool-layout{max-width:1550px;width:100%}
.hl-course-tool{min-width:0;max-width:100%;overflow-wrap:anywhere}
.hl-course-tool>.hl-tool-title,.hl-course-tool>.page-heading .hl-tool-title{font-size:clamp(21px,2.1vw,27px);letter-spacing:-.045em;line-height:1.3;margin:0 0 12px;color:#122d41}
.hl-course-tool>.page-heading{margin-top:0;margin-bottom:22px}
.hl-course-tool>p.muted{margin-top:0;margin-bottom:22px;line-height:1.55}
.hl-course-tool>.panel,.hl-course-tool>section.panel{margin-top:18px}
.hl-course-tool :is(table,.hl-lib-grid,.hl-studio-grid){max-width:100%}
.hl-tool-table-wrap{overflow-x:auto;max-width:100%;scrollbar-gutter:stable}
.hl-tool-table-wrap table{min-width:680px}
.hl-course-tool .hl-lib-card{max-width:100%}
.hl-course-tool .page-heading{gap:16px;flex-wrap:wrap}
.hl-course-tool .page-heading .muted{line-height:1.5}
.hl-course-tool .panel :is(textarea,input,select){max-width:100%}
@media(max-width:800px){
  .hl-course-tool-layout .course-content,.hl-gradebook-workspace .course-content{padding:22px}
  .hl-course-tool>.page-heading{margin-bottom:18px}
  .hl-course-tool>.hl-tool-title{font-size:23px}
}

/* .0364 Teaching & Learning: bounded responsive task and triage workspaces. */
.hl-0364-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:12px;margin:15px 0}
.hl-0364-metrics>div{border:1px solid #d5e5de;background:#f7fbf9;border-radius:12px;display:flex;flex-direction:column;gap:6px;padding:14px;min-width:0}
.hl-0364-metrics strong{font-size:clamp(23px,2vw,32px);font-weight:800;color:#145d51;line-height:1.12;font-variant-numeric:tabular-nums}
.hl-0364-metrics span{font-size:12px;font-weight:650;color:#456b66}
.hl-0364-filter-grid{display:flex;flex-wrap:wrap;align-items:end;gap:12px 16px;margin:12px 0 18px;max-width:100%}
.hl-0364-filter-grid label{display:flex;flex:1 1 190px;min-width:min(100%,165px);flex-direction:column;font-size:13px;font-weight:700;color:#264a44;gap:7px}
.hl-0364-filter-grid :is(input,select){width:100%;max-width:100%;min-width:0}
.hl-0364-filter-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:2px}
.hl-0364-queue{max-width:1380px}
.hl-0364-queue .workbench-table-wrap,.hl-course-tool .hl-tool-table-wrap{max-width:100%;overflow-x:auto}
.hl-0364-queue .workbench-table td:last-child{white-space:nowrap}
.hl-0364-empty{background:#f4f8f7;border:1px solid #d6e5e0;border-radius:10px;padding:16px}
.hl-0364-next-list{list-style:decimal;margin:14px 0 0;padding-left:24px;display:flex;flex-direction:column;gap:10px}
.hl-0364-next-list li{padding:12px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border:1px solid #d8e5e0;border-radius:12px;background:#fcfefd}
.hl-0364-next-list li>div{flex:1;min-width:min(100%,210px)}
.hl-0364-next-list h3{font-size:16px;margin:5px 0;color:#204d45}
.hl-0364-next-list p{margin:4px 0 0}
.hl-0364-priority{display:inline-block;border-radius:16px;background:#e4f4ec;color:#145e4e;padding:3px 9px;font-size:11px;font-weight:750}
.hl-0364-priority.is-overdue{background:#fff0dc;color:#79500f}
.hl-course-tool progress{max-width:125px;display:block}
@media(max-width:600px){.hl-0364-filter-grid label{flex:1 1 100%}.hl-0364-filter-actions{width:100%}.hl-0364-next-list li>.button{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.hl-0364-next-list *{scroll-behavior:auto}}

/* .0366: GradeFlow queue controls remain readable within the existing grading workspace. */
.hl-0366-review-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 16px}
.hl-0366-review-filters .button{font-size:12px;min-height:35px;padding:8px 12px}
.hl-0366-review-filters .is-current{background:#e2f3eb;color:#095c4c;border:1px solid #aad3c1;font-weight:800}
.hl-0366-review-filters .is-disabled{opacity:.7;cursor:not-allowed}
.hl-0366-review-help{font-size:12px;color:#526e67;line-height:1.5}
@media(max-width:600px){.hl-0366-review-filters .button{flex:1 1 auto;text-align:center}}

/* .0367 instructor grading: rubric and feedback editor inside course workspace */
.hl-rubric-evaluation,.hl-feedback-library{width:100%;max-width:100%;min-width:0}
.hl-rubric-criterion{margin-bottom:14px}
.hl-rubric-totals{border-left:4px solid var(--hl-institution-accent,#116d61);margin:18px 0}
.hl-rubric-totals p{margin:7px 0}
.hl-rubric-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}
.hl-feedback-edit{margin:12px 0}
.hl-feedback-edit summary{cursor:pointer;color:#0b695f;font-weight:700;padding:5px 0}
.hl-feedback-entry-body{white-space:pre-line;overflow-wrap:anywhere}
.hl-feedback-library label,.hl-rubric-evaluation label{display:block;max-width:100%}
.hl-feedback-library input,.hl-feedback-library textarea,.hl-rubric-evaluation input,.hl-rubric-evaluation textarea{max-width:100%;box-sizing:border-box}
@media(max-width:700px){.hl-rubric-actions{flex-direction:column;align-items:stretch}.hl-rubric-actions .button{width:100%}}

/* .0368 GradeFlow keyboard visibility and readable manual-override notices. */
.hl-gradeflow-stepper a:focus-visible,.hl-0366-review-filters a:focus-visible,
.hl-gradeflow-roster a:focus-visible,.hl-gradeflow-body button:focus-visible,
.hl-gradeflow-body :is(input,textarea,select):focus-visible{
  outline:3px solid #0a6153;outline-offset:3px;
}
.hl-gradeflow-key-help{font-size:12px;line-height:1.55;color:#456b63;margin:9px 0 13px}
@media(max-width:650px){.hl-gradeflow-stepper{flex-wrap:wrap}.hl-gradeflow-key-help{padding:0 3px}}

/* .0370 student completion and course updates; readable mobile layouts and focus. */
.hl-lesson-checkoff{margin:24px 0;max-width:850px}.hl-lesson-checkoff form{display:block;margin:12px 0}.hl-lesson-grid,.hl-student-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:18px 0 28px}.hl-lesson-card{border:1px solid #d9e5e0;border-radius:12px;background:#fff;padding:19px;min-width:0}.hl-lesson-card h3{margin:0 0 7px}.hl-lesson-card progress{display:block;width:100%;max-width:480px;margin:12px 0 6px}.hl-lesson-card .button{white-space:normal;text-align:center}.hl-home-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #e5efeb}.hl-home-row p{margin:5px 0;font-size:12px;color:#58746f}.hl-home-row .button{white-space:normal}.hl-home-update{display:grid;gap:5px;border-bottom:1px solid #e6efec;padding:11px 0}.hl-updates-list{display:grid;gap:15px}.hl-updates-page .workbench-tabs{margin:18px 0}.hl-update-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.hl-update-heading h2{margin:0}.hl-update .prose{margin:15px 0;line-height:1.6}.hl-update form{margin:15px 0 0;display:block}.hl-update-summary{font-weight:700;color:#175e52} .hl-updates-page a:focus-visible,.hl-updates-page button:focus-visible,.hl-lesson-card a:focus-visible,.hl-lesson-checkoff button:focus-visible{outline:3px solid #087e97;outline-offset:3px}
@media(max-width:760px){.hl-student-home-grid,.hl-lesson-grid{grid-template-columns:1fr}.hl-home-row{align-items:flex-start;flex-direction:column}.hl-update-heading{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.hl-lesson-checkoff *, .hl-updates-page *{scroll-behavior:auto}}

/* 2026.11.08.0374: consistent focus visibility across wrapped admin navigation. */
.top-nav a:focus-visible{outline:2px solid #116d61;outline-offset:-3px;border-radius:4px}
.top-nav a[aria-current="page"]{border-bottom-color:#188275;color:#14695c;background:#f4f9f8}

/* .0404: mobile labels remain visible (icons alone were ambiguous), with
   an accessible horizontal nav scroll and reduced-motion focus treatment. */
@media (max-width: 600px) {
  .top-nav {display:flex; flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch; scroll-padding-inline:12px; scrollbar-width:thin;}
  .top-nav a {flex:0 0 auto; white-space:nowrap; min-height:42px; display:inline-flex;
    gap:6px; align-items:center;}
  .top-nav a span {display:inline !important;}
  .main-container, .course-content {min-width:0; max-width:100%;}
  .panel, .course-content {overflow-wrap:anywhere;}
}
:where(a, button, input, textarea, select, summary):focus-visible {
 outline:3px solid #126455; outline-offset:3px;
}
@media (prefers-reduced-motion:reduce) {
 html {scroll-behavior:auto !important;}
 .hl-ai-spinner {animation:none !important;}
}


/* .0405: short primary navigation and accessible, categorized disclosure menu. */
.top-nav.hl-simple-nav{align-items:stretch;flex-wrap:wrap;gap:5px}
.hl-simple-nav .hl-nav-more{position:relative;align-self:stretch;flex:0 0 auto}
.hl-simple-nav .hl-nav-more>summary{list-style:none;display:flex;align-items:center;gap:8px;height:100%;min-height:0;padding:14px 17px;cursor:pointer;color:#52676c;font-size:14px;line-height:normal;border-bottom:3px solid transparent}
.hl-simple-nav .hl-nav-more>summary::-webkit-details-marker{display:none}
.hl-simple-nav .hl-nav-more>summary:after{content:'▾';margin-left:0;font-size:12px;line-height:1;align-self:center}
.hl-simple-nav .hl-nav-more[open]>summary,.hl-simple-nav .hl-nav-more>summary:hover{background:#f4f9f8;color:#14695c;border-bottom-color:#188275}
.hl-simple-nav .hl-nav-menu{position:absolute;top:100%;right:0;z-index:20;min-width:240px;max-width:min(94vw,680px);background:white;border:1px solid #cadbd7;border-radius:9px;padding:13px;box-shadow:0 14px 32px #183d3c1b;max-height:min(70vh,640px);overflow-y:auto}
.hl-simple-nav .hl-nav-menu a{display:block;border:0;border-radius:7px;padding:9px 11px;font-size:13px;white-space:normal}
.hl-simple-nav .hl-admin-menu{width:min(660px,95vw);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hl-simple-nav .hl-nav-menu-section strong{display:block;font-size:12px;color:#244c47;padding:8px 11px}
.hl-simple-nav .hl-nav-menu a[aria-current="page"]{background:#dff0eb;color:#0c574b}
.hl-course-tools{margin:7px 0;border:1px solid #dce9e4;border-radius:8px;background:#fff}
.hl-course-tools>summary{cursor:pointer;list-style:revert;padding:13px 14px;font-size:13px;font-weight:700;color:#176d60}
.hl-course-tools-links{padding:2px 6px 8px;display:grid;gap:4px}
.hl-course-tools-links>a{width:100%}
@media(max-width:800px){.hl-simple-nav .hl-nav-more{position:static}.hl-simple-nav .hl-nav-menu{position:absolute;left:8px;right:8px;top:100%;max-width:none;max-height:55vh}.hl-simple-nav .hl-admin-menu{width:auto;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hl-simple-nav{position:relative}.hl-simple-nav .hl-nav-more>summary{white-space:nowrap;min-height:42px;font-size:12px;gap:6px}.hl-simple-nav .hl-admin-menu{grid-template-columns:1fr}.hl-simple-nav .hl-nav-menu{top:100%;white-space:normal}}
@media(prefers-reduced-motion:reduce){.hl-nav-more *, .hl-course-tools *{animation:none!important;transition:none!important}}

.hl-admin-tools-index{margin-top:25px}.hl-admin-tools-index-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px}.hl-admin-tools-index-grid a{border:1px solid #dce9e4;border-radius:9px;background:#fff;padding:13px;font-size:13px;font-weight:600}.hl-admin-tools-index-grid a:hover,.hl-admin-tools-index-grid a:focus-visible{background:#edf8f2}

@media(max-width:600px){.top-nav.hl-simple-nav{overflow:visible;flex-wrap:wrap;padding-bottom:5px}.top-nav.hl-simple-nav .hl-nav-more{position:static}}

.hl-admin-tools-index label{max-width:430px;margin:13px 0 4px}.hl-admin-tools-index-grid a[hidden]{display:none!important}

/* .0406 authenticated first-run guidance and fast course finding */
.hl-course-launch-list{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.65rem}
.hl-course-launch-list>li{display:grid;grid-template-columns:minmax(78px,auto) minmax(170px,1fr) auto;align-items:center;gap:.75rem;padding:.8rem;border:1px solid var(--border,#dce4e7);border-radius:12px}
.hl-course-launch-list>li p{margin:.2rem 0 0}.hl-course-launch-list>li form{margin:0}.hl-course-launch-list>li .button{white-space:normal;text-align:center}
.hl-course-finder-0406{display:flex;flex-wrap:wrap;align-items:end;gap:1rem;margin:.5rem 0 1.1rem}
.hl-course-finder-0406 input{min-width:min(20rem,75vw)}
#hl-dashboard-courses>.course-card[hidden]{display:none!important}
@media(max-width:720px){.hl-course-launch-list>li{grid-template-columns:1fr;align-items:start}.hl-course-launch-list>li .button{display:inline-flex;max-width:100%}.hl-course-finder-0406 input{min-width:0;width:100%}}

/* .0408: Align the accessible Admin tools disclosure with every primary link.
   Match desktop and breakpoint-specific padding, font and baseline. */
.top-nav.hl-simple-nav .hl-nav-admin-tools>summary>.hl-nav-leading-icon {display:inline-block;flex:0 0 auto;font-weight:400;line-height:1;}
.top-nav.hl-simple-nav .hl-nav-admin-tools>summary>span:nth-child(2) {display:inline;}
/* Keep all seven entries on one line at the 944 px desktop/tablet transition. */
@media (min-width:801px) and (max-width:1100px){
 .top-nav.hl-simple-nav{padding-inline:16px;gap:4px}
 .top-nav.hl-simple-nav>a,.top-nav.hl-simple-nav .hl-nav-more>summary{padding:14px 11px}
}
@media(max-width:800px){
 .top-nav.hl-simple-nav .hl-nav-more>summary{padding:12px;font-size:12px;min-height:42px}
}
@media(max-width:450px){
 .top-nav.hl-simple-nav .hl-nav-more>summary{padding:9px 8px;font-size:11px;min-height:42px}
}

/* .0409: responsive, print-ready staff QR attendance panel */
.hl-qr-checkin-display{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin:18px 0}.hl-qr-image{display:block;box-sizing:border-box;max-width:100%;height:auto;border:1px solid #cfddda;border-radius:12px;background:#fff;padding:10px}.hl-qr-checkin-display>div{flex:1 1 260px;min-width:0}.hl-qr-checkin-display input{width:100%;max-width:100%;box-sizing:border-box}.hl-attendance-qr button:focus-visible{outline:3px solid #147f72;outline-offset:3px}@media print{.hl-attendance-qr form{display:none}.hl-qr-checkin-display{break-inside:avoid}}

/* .0410 course messages: preserve whitespace but never render user content as HTML. */
.hl-private-message-body { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Simple accessible tutor output: generated text never rendered as trusted HTML. */
.hl-ai-tutor-output { white-space: pre-wrap; overflow-wrap:anywhere; line-height:1.6; max-width:75ch; }
@media(prefers-reduced-motion:reduce){ .hl-ai-tutor-output { scroll-behavior:auto; } }
