/* School learning spaces: readable chapter lists, quiet controls, familiar DYOJ blue. */
.hydro-refined .school-page{max-width:1220px;margin:auto;float:none}
.hydro-refined .school-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 20px;font-size:13px;color:var(--ref-muted)}
.hydro-refined .dyoj-course-layout{grid-template-columns:220px minmax(0,1fr);gap:32px;padding:28px}
.hydro-refined .dyoj-course-side{background:var(--ref-canvas);border:0;border-radius:10px;padding:16px 10px;align-self:start}
.hydro-refined .dyoj-course-cat{border:0;border-radius:6px;padding:14px 12px;line-height:1.5}
.hydro-refined .dyoj-course-cat.is-active{box-shadow:none;background:var(--ref-accent-soft)}
.hydro-refined .school-course-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px;gap:12px}
.hydro-refined .school-course-heading h2{font-size:24px;font-weight:650;margin:7px 0}
.hydro-refined .school-author-tools{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}
.hydro-refined .school-author-tools details[open]{flex:1 0 100%}
.hydro-refined .school-author-tools .dyoj-class-form{padding:20px;margin:12px 0 0;background:var(--ref-canvas);border-radius:8px}
.hydro-refined .school-author-tools summary{cursor:pointer;list-style:none}
.hydro-refined .school-course-list{display:grid;gap:14px}
.hydro-refined .school-course-row{display:flex;align-items:center;gap:18px;border:1px solid var(--ref-line);border-radius:10px;padding:22px;background:var(--ref-panel)}
.hydro-refined .school-course-number{align-self:flex-start;font:600 18px/46px ui-monospace,monospace;width:46px;flex:none;text-align:center;border-radius:8px;color:var(--ref-accent);background:var(--ref-accent-soft)}
.hydro-refined .school-course-text{flex:1;min-width:0}
.hydro-refined a.school-course-title{font-size:18px;font-weight:650;color:var(--ref-ink);line-height:1.5}
.hydro-refined a.school-course-title:hover{color:var(--ref-accent)}
.hydro-refined .school-course-text p{font-size:13px;line-height:1.7;margin:6px 0 10px;color:var(--ref-muted);overflow-wrap:anywhere}
.hydro-refined .school-course-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--ref-muted)}
.hydro-refined .school-course-end{width:105px;flex:none;text-align:right;font-size:13px}
.hydro-refined .school-course-end>span{font-size:23px;font-weight:600;color:var(--ref-ink)}
.hydro-refined .school-course-end small{font-size:12px;margin-left:3px;color:var(--ref-muted)}
.hydro-refined .school-progress{height:4px;background:var(--ref-line);border-radius:5px;margin:9px 0 13px;overflow:hidden}
.hydro-refined .school-progress i{display:block;height:100%;background:var(--ref-accent)}
.hydro-refined .school-state{display:inline-block;white-space:nowrap;background:var(--ref-canvas);padding:4px 9px;border-radius:5px;color:var(--ref-muted);font-size:12px}
.hydro-refined .school-state.is-published{background:#e9f5ee;color:#217449}
.hydro-refined .school-empty{padding:48px 20px;text-align:center;color:var(--ref-muted);line-height:1.9}
.hydro-refined .school-empty h3{font-size:18px;color:var(--ref-ink);margin-bottom:8px}
.hydro-refined .dyoj-category-editor{border-top:1px solid var(--ref-line);margin:20px 4px 0;padding-top:16px;font-size:13px}
.hydro-refined .dyoj-category-editor summary{cursor:pointer;color:var(--ref-muted)}
.hydro-refined .dyoj-category-editor form{padding:15px 0;border-bottom:1px solid var(--ref-line)}
.hydro-refined .dyoj-category-editor label{display:block;margin-bottom:10px}
.hydro-refined .school-course-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:30px 32px;border-top:3px solid var(--ref-accent);margin-bottom:24px}
.hydro-refined .school-course-hero h1{font-size:28px;margin:8px 0 10px;line-height:1.5;font-weight:650}
.hydro-refined .school-course-hero p:not(.learning-eyebrow){color:var(--ref-muted);line-height:1.8;margin:0 0 16px}
.hydro-refined .school-hero-actions{display:flex;flex-direction:column;gap:10px;flex:none;font-size:12px;color:var(--ref-muted)}
.hydro-refined .school-hero-actions strong{font-size:30px;color:var(--ref-ink)}
.hydro-refined .school-hero-actions small{font-size:18px;color:var(--ref-muted)}
.hydro-refined .school-chapter{margin-bottom:20px;overflow:hidden}
.hydro-refined .school-chapter>summary{cursor:pointer;display:flex;align-items:center;gap:16px;padding:23px 28px;list-style:none}
.hydro-refined .school-chapter>summary::-webkit-details-marker{display:none}
.hydro-refined .school-chapter-index{font:500 20px/42px ui-monospace,monospace;color:var(--ref-accent);background:var(--ref-accent-soft);text-align:center;width:42px;border-radius:7px}
.hydro-refined .school-chapter h2{font-size:18px;font-weight:600;line-height:1.5;margin:0 0 3px}
.hydro-refined .school-chapter summary div>span{font-size:12px;color:var(--ref-muted)}
.hydro-refined .school-chevron{margin-left:auto;color:var(--ref-muted)}
.hydro-refined .school-chapter:not([open]) .school-chevron{transform:rotate(-90deg)}
.hydro-refined .school-chapter-note{padding:0 28px 18px;font-size:14px}
.hydro-refined .school-problems th:first-child,.hydro-refined .school-problems td:first-child{width:140px;padding-left:28px}
.hydro-refined .school-problems td{padding-top:17px;padding-bottom:17px}
.hydro-refined .school-problems td a{color:var(--ref-ink);font-weight:500}
.hydro-refined .school-problems td a:hover{color:var(--ref-accent)}
.hydro-refined .school-problem-id{color:var(--ref-muted);margin-right:18px;font-size:13px;font-variant-numeric:tabular-nums}
.hydro-refined .school-editor-basics,.hydro-refined .school-section-editor,.hydro-refined .school-progress-page{padding:28px 32px;margin-bottom:22px}
.hydro-refined .school-editor h1,.hydro-refined .school-progress-page h1{font-size:26px;font-weight:650;margin-bottom:12px}
.hydro-refined .school-editor h2{font-size:18px;font-weight:600}
.hydro-refined .school-editor label{display:block;font-size:14px;margin-top:18px}
.hydro-refined .school-editor .textbox{margin-top:8px;width:100%;max-width:100%}
.hydro-refined .school-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.hydro-refined .school-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hydro-refined .school-section-heading .button{font-size:12px;margin-left:5px;padding:7px 10px}
.hydro-refined .school-picker{margin-top:16px;font-size:13px}
.hydro-refined .school-picker summary{cursor:pointer;color:var(--ref-accent);padding:8px 0}
.hydro-refined .school-picker-results{max-height:260px;overflow:auto;display:grid;gap:4px;margin-top:8px}
.hydro-refined .school-picker-item{border:0;background:var(--ref-canvas);color:var(--ref-ink);padding:12px;text-align:left;cursor:pointer;border-radius:4px}
.hydro-refined .school-picker-item:hover{background:var(--ref-accent-soft)}
.hydro-refined .school-add-chapter{width:100%;padding:17px;border-style:dashed;margin-bottom:22px}
.hydro-refined .school-save-bar{display:flex;align-items:center;gap:20px;padding:20px 28px;position:sticky;bottom:12px;z-index:3;box-shadow:0 4px 24px #182f4920}
.hydro-refined .school-save-bar label{margin:0}.hydro-refined .school-save-bar>.button{margin-left:auto}
.hydro-refined .school-save-bar span{font-size:12px}.hydro-refined .school-archive{margin:24px 0;color:var(--ref-muted);font-size:13px;line-height:2}
.hydro-refined .school-archive summary{cursor:pointer}
@media(max-width:900px){.hydro-refined .dyoj-course-layout{grid-template-columns:1fr;padding:20px;gap:22px}.hydro-refined .dyoj-course-cats{display:flex;overflow:auto}.hydro-refined .dyoj-course-cat{white-space:nowrap}.hydro-refined .dyoj-category-editor form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hydro-refined .dyoj-category-editor label{max-width:45%}}
@media(max-width:600px){.hydro-refined .school-course-row{gap:12px;padding:16px;flex-wrap:wrap}.hydro-refined .school-course-number{width:34px;line-height:36px;font-size:15px}.hydro-refined .school-course-end{width:100%;display:flex;align-items:center;gap:14px;text-align:left}.hydro-refined .school-course-end .school-progress{flex:1;margin:0}.hydro-refined .school-course-end>span{font-size:18px}.hydro-refined .school-course-heading h2{font-size:21px}.hydro-refined .school-course-hero{padding:22px;align-items:flex-start;flex-direction:column}.hydro-refined .school-course-hero h1{font-size:23px}.hydro-refined .school-hero-actions{flex-direction:row;align-items:center}.hydro-refined .school-chapter>summary{padding:18px}.hydro-refined .school-problems th:first-child,.hydro-refined .school-problems td:first-child{width:100px;padding-left:14px}.hydro-refined .school-editor-basics,.hydro-refined .school-section-editor,.hydro-refined .school-progress-page{padding:20px}.hydro-refined .school-form-grid{grid-template-columns:1fr;gap:0}.hydro-refined .school-save-bar{padding:16px;flex-wrap:wrap;gap:12px}.hydro-refined .school-save-bar span{display:none}.hydro-refined .school-section-heading{flex-wrap:wrap}.hydro-refined .school-problem-id{display:block;margin-bottom:4px}}

.hydro-refined .school-editor textarea.textbox,.hydro-refined .dyoj-class-form textarea.textbox{min-height:80px;height:auto;resize:vertical}
.hydro-refined .school-editor textarea[name=dag][hidden]{display:none!important}
.hydro-refined .dyoj-class-hero{padding:24px 28px}
.hydro-refined .dyoj-class-tabs--inner{padding-left:28px;padding-right:28px}

.hydro-refined .school-course-hero::before,.hydro-refined .school-course-hero::after,.hydro-refined .school-save-bar::before,.hydro-refined .school-save-bar::after{display:none}
.hydro-refined #school-panel>.dyoj-class-block,.hydro-refined .school-class-content{background:var(--ref-panel);border:1px solid var(--ref-line);border-radius:10px;margin-top:20px;padding:28px}
.hydro-refined #school-panel[aria-busy=true],.hydro-refined #school-browser[aria-busy=true]{opacity:.6;pointer-events:none;transition:opacity .15s}
.hydro-refined .school-request-error{padding:14px 18px;background:#fff0ed;color:#9c382b;border:1px solid #e4b3a7;border-radius:7px;margin:16px 0}
.hydro-refined .school-class-content h2,.hydro-refined .school-library h1{font-size:25px;font-weight:650;margin:0 0 12px;line-height:1.5}
.hydro-refined .school-list-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.hydro-refined .school-list-tools p,.hydro-refined .school-library-header p{font-size:14px;color:var(--ref-muted);margin:0;line-height:1.7}
.hydro-refined .school-compose{margin-bottom:24px}
.hydro-refined .school-compose summary{cursor:pointer;list-style:none;display:inline-flex}
.hydro-refined .school-compose form{padding:24px;background:var(--ref-canvas);border:1px solid var(--ref-line);border-radius:8px;margin-top:16px}
.hydro-refined .school-compose label,.hydro-refined .school-reply-form label,.hydro-refined .school-add-stage label{display:block;font-size:14px;line-height:1.6;margin:0 0 16px}
.hydro-refined .school-compose .textbox,.hydro-refined .school-reply-form .textbox,.hydro-refined .school-add-stage .textbox{width:100%;margin-top:7px;max-width:100%}
.hydro-refined .school-compose textarea.textbox,.hydro-refined .school-reply-form textarea.textbox{min-height:90px;height:auto;resize:vertical}
.hydro-refined .school-set-list{display:grid;gap:0}
.hydro-refined .school-set-list article{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:23px 4px;border-bottom:1px solid var(--ref-line)}
.hydro-refined .school-set-list article:first-child{border-top:1px solid var(--ref-line)}
.hydro-refined .school-set-list article>div:first-child{flex:1;min-width:0}
.hydro-refined .school-set-list p{color:var(--ref-muted);font-size:14px;margin:9px 0;line-height:1.6}
.hydro-refined .school-set-list span{color:var(--ref-muted);font-size:13px}
.hydro-refined .school-row-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:13px}
.hydro-refined .school-row-actions form{margin:0}
.hydro-refined .school-text-button{font:inherit;background:none;border:0;color:var(--ref-accent);cursor:pointer;padding:0}
.hydro-refined .school-back-link{display:inline-block;margin-bottom:24px;font-size:13px}
.hydro-refined .school-thread-header{border-bottom:1px solid var(--ref-line);padding-bottom:20px;margin-bottom:24px}
.hydro-refined .school-thread-header p{font-size:13px;color:var(--ref-muted)}
.hydro-refined .school-thread-body{line-height:1.9;padding-bottom:24px}
.hydro-refined .school-replies-title{font-size:17px;margin:20px 0}
.hydro-refined .school-replies article{border-top:1px solid var(--ref-line);padding:22px 0;line-height:1.8}
.hydro-refined .school-replies article>strong{color:var(--ref-accent);font-size:13px;display:block;margin-bottom:12px}
.hydro-refined .school-reply-form{margin-top:28px}
.hydro-refined .school-pagination{display:flex;gap:16px;align-items:center;justify-content:center;margin-top:24px;font-size:13px}
.hydro-refined .school-record-code{padding:20px;border:1px solid var(--ref-line);border-radius:8px;background:var(--ref-canvas);overflow:auto;line-height:1.7;margin-top:16px}
.hydro-refined .school-library-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;border-bottom:1px solid var(--ref-line)}
.hydro-refined .school-library-header .learning-eyebrow{font-size:12px;margin-bottom:7px}
.hydro-refined .school-library-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:32px;padding:28px 32px}
.hydro-refined .school-library-layout>aside{border-right:1px solid var(--ref-line);padding-right:24px;min-width:0}
.hydro-refined .school-library-layout>aside h2{font-size:13px;font-weight:500;color:var(--ref-muted);margin:4px 12px 16px}
.hydro-refined .school-stage-link{display:block;padding:13px 12px;border-radius:6px;color:var(--ref-ink);font-size:14px;margin:4px 0}
.hydro-refined .school-stage-link.is-active{color:var(--ref-accent);background:var(--ref-accent-soft);font-weight:600}
.hydro-refined .school-add-stage{margin:24px 12px 0;font-size:13px}.hydro-refined .school-add-stage summary{cursor:pointer;color:var(--ref-muted)}
.hydro-refined .school-add-stage form{padding-top:16px}
.hydro-refined .school-library .school-list-tools h2{font-size:21px;font-weight:600}
.hydro-refined .dyoj-class-stats li{border:0;border-right:1px solid var(--ref-line);border-radius:0;background:transparent;box-shadow:none;padding:10px 20px}
.hydro-refined .dyoj-class-stats li:last-child{border-right:0}
@media(max-width:700px){.hydro-refined .school-library-layout{grid-template-columns:1fr;padding:20px;gap:24px}.hydro-refined .school-library-layout>aside{border-right:0;border-bottom:1px solid var(--ref-line);padding:0 0 20px}.hydro-refined .school-stage-link{display:inline-block}.hydro-refined .school-library-header{padding:24px;align-items:flex-start}.hydro-refined .school-list-tools{flex-wrap:wrap}.hydro-refined .school-list-tools form{width:100%}.hydro-refined .school-list-tools form input{width:100%}.hydro-refined #school-panel>.dyoj-class-block,.hydro-refined .school-class-content{padding:20px}.hydro-refined .school-set-list article{flex-wrap:wrap;gap:12px}.hydro-refined .school-compose form{padding:16px}.hydro-refined .school-bank-table{min-width:520px}}

/* Classroom iteration: separate navigation and content surfaces, no decorative initials. */
.hydro-refined .dyoj-class-page .dyoj-class-toolbar{padding:24px;border-bottom:1px solid var(--ref-line);gap:20px}
.hydro-refined .dyoj-class-page .dyoj-class-grid{padding:24px;margin:0;gap:20px}
.hydro-refined .dyoj-class-card{box-shadow:none!important;border:1px solid var(--ref-line);border-radius:10px}
.hydro-refined .dyoj-class-card:hover{transform:none;border-color:var(--ref-accent)}
.hydro-refined .dyoj-class-card-link{padding:24px;text-decoration:none!important}
.hydro-refined .dyoj-class-card-link *{text-decoration:none!important}
.hydro-refined .dyoj-class-card-head{min-height:52px}
.hydro-refined .dyoj-class-card-title strong{font-size:18px}
.hydro-refined .dyoj-class-card-desc{min-height:38px;margin-top:16px}
.hydro-refined .dyoj-class-card-foot{padding-top:16px;margin-top:16px}
.hydro-refined .dyoj-class-detail{background:transparent;border:0;box-shadow:none;overflow:visible}
.hydro-refined .dyoj-class-hero{background:var(--ref-panel);border:1px solid var(--ref-line);border-radius:10px;padding:26px 28px;min-height:0}
.hydro-refined .dyoj-class-head{min-height:0}
.hydro-refined .dyoj-class-head h1{font-size:26px;margin:5px 0 12px}
.hydro-refined .dyoj-class-tabs--inner{padding:8px 20px;margin:16px 0 0;background:var(--ref-panel);border:1px solid var(--ref-line);border-radius:10px;gap:10px}
.hydro-refined .dyoj-class-tabs--inner .dyoj-class-tab{padding:12px 16px;border-radius:6px;border:0}
.hydro-refined .dyoj-class-tabs--inner .dyoj-class-tab.is-active{background:var(--ref-accent-soft)}
.hydro-refined .dyoj-course-layout,.hydro-refined .dyoj-class-overview,.hydro-refined .dyoj-class-detail>.dyoj-class-block{background:var(--ref-panel);border:1px solid var(--ref-line);border-radius:10px;margin-top:20px;padding:28px}
.hydro-refined .dyoj-class-stats{gap:16px;margin:22px 0}
.hydro-refined .dyoj-class-section-head{margin:28px 0 16px}
.hydro-refined .dyoj-class-create{padding:24px!important;margin:24px!important;background:var(--ref-canvas);border-radius:10px}
@media(max-width:600px){.hydro-refined .dyoj-class-page .dyoj-class-toolbar,.hydro-refined .dyoj-class-page .dyoj-class-grid{padding:18px}.hydro-refined .dyoj-class-hero,.hydro-refined .dyoj-course-layout,.hydro-refined .dyoj-class-overview,.hydro-refined .dyoj-class-detail>.dyoj-class-block{padding:20px}.hydro-refined .dyoj-class-tabs--inner{padding:8px}.hydro-refined .dyoj-class-tabs--inner .dyoj-class-tab{padding:10px 12px}}

/* Shared classroom controls: consistent spacing and visible keyboard focus. */
.hydro-refined .school-stage-edit{margin:16px 0 24px;font-size:13px;color:var(--ref-muted)}
.hydro-refined .school-stage-edit summary{cursor:pointer;padding:10px 0}
.hydro-refined .school-stage-edit form{padding:18px;background:var(--ref-canvas);border:1px solid var(--ref-line);border-radius:8px}
.hydro-refined .school-stage-edit label{display:block;line-height:1.6;margin-bottom:12px}
.hydro-refined .school-stage-edit .textbox{width:100%;margin-top:6px}
.hydro-refined .school-library .school-compose{margin-bottom:18px}
.hydro-refined .school-compose>summary.button,.hydro-refined .school-author-tools summary.button{margin:0;min-height:38px;align-items:center;justify-content:center}
.hydro-refined .school-list-tools h2{margin:0}
.hydro-refined .school-list-tools input[type=search]{min-width:240px;padding:10px 14px;border-radius:7px;height:42px}
.hydro-refined .school-stage-link:hover,.hydro-refined .dyoj-class-tab:hover{background:var(--ref-accent-soft);text-decoration:none}
.hydro-refined .school-library a:focus-visible,.hydro-refined .dyoj-class-detail a:focus-visible,.hydro-refined .school-page summary:focus-visible{outline:2px solid var(--ref-accent);outline-offset:3px}
.hydro-refined .dyoj-class-overview>.dyoj-class-stats:first-child{margin-top:0}
@media(max-width:600px){.hydro-refined .school-list-tools input[type=search]{min-width:0}.hydro-refined .school-library-header{flex-wrap:wrap}.hydro-refined .school-set-list article>div:first-child{flex-basis:100%}}

.hydro-refined .school-library .textbox,.hydro-refined .school-class-content .textbox,.hydro-refined .dyoj-class-detail .textbox{box-sizing:border-box;max-width:100%;min-width:0}
.hydro-refined .school-library-layout>div,.hydro-refined .school-list-tools form{min-width:0}
/* School workspace refinement: neutral surfaces, restrained colour, consistent density. */
html.hydro-refined:is(.page--dyoj_class,.page--dyoj_problemsets,.page--dyoj_course,.page--dyoj_course_edit){--ref-line:#e1e5e7}
html.hydro-refined :is(.dyoj-class-page,.dyoj-class-detail,.school-library,.school-page) .button{box-sizing:border-box;min-height:38px;height:auto;line-height:1.4;padding:10px 16px;border-radius:6px;margin-bottom:0;font-size:13px;background:var(--ref-panel);border:1px solid var(--ref-line);color:var(--ref-ink);box-shadow:none;cursor:pointer}
html.hydro-refined :is(.dyoj-class-page,.dyoj-class-detail,.school-library,.school-page) .primary.button{background:var(--ref-primary);border-color:var(--ref-primary);color:white}
html.hydro-refined :is(.dyoj-class-page,.dyoj-class-detail,.school-library,.school-page) .button:hover{filter:brightness(.97);box-shadow:none}
html.hydro-refined :is(.dyoj-class-page,.dyoj-class-detail,.school-library,.school-page) .textbox{box-sizing:border-box;border-radius:6px;border:1px solid var(--ref-line);min-height:40px;padding:9px 12px;max-width:100%;margin-bottom:0;font-size:14px}
html.hydro-refined :is(.dyoj-class-page,.dyoj-class-detail,.school-library,.school-page) textarea.textbox{height:auto;min-height:80px}
html.hydro-refined .dyoj-class-page.section{background:transparent;border:0;box-shadow:none}
html.hydro-refined .dyoj-class-page-head,html.hydro-refined .school-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 4px 28px}
html.hydro-refined .dyoj-class-page-head h1,html.hydro-refined .school-workspace-head h1{font-size:29px;font-weight:650;line-height:1.35;margin:7px 0 10px;color:var(--ref-ink)}
html.hydro-refined .dyoj-class-page-head p,html.hydro-refined .school-workspace-head p{margin:0;color:var(--ref-muted);font-size:14px;line-height:1.7}
html.hydro-refined .dyoj-class-page-head .learning-eyebrow,html.hydro-refined .school-workspace-head .learning-eyebrow{font-size:11px;letter-spacing:.08em}
html.hydro-refined .dyoj-class-page .dyoj-class-toolbar{background:var(--ref-panel);border:1px solid var(--ref-line);border-radius:8px;padding:18px 20px;margin:0 0 20px}
html.hydro-refined .dyoj-class-page .dyoj-class-tabs{border:0;background:transparent;padding:0;gap:4px;border-radius:0;max-width:100%;overflow:auto}
html.hydro-refined .dyoj-class-tab.is-active,html.hydro-refined .dyoj-class-tabs--inner .dyoj-class-tab.is-active{color:var(--ref-accent);background:var(--ref-accent-soft);box-shadow:none;border-color:transparent}
html.hydro-refined .dyoj-class-tab.is-active .dyoj-class-count{background:var(--ref-primary);color:#fff}
html.hydro-refined .dyoj-class-page .dyoj-class-grid{padding:0;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
html.hydro-refined .dyoj-class-card{background:var(--ref-panel);border-radius:8px;min-width:0}
html.hydro-refined .dyoj-class-card:hover{border-color:var(--ref-accent);box-shadow:0 5px 16px #253d3210!important}
html.hydro-refined .dyoj-class-card-link{display:flex;flex-direction:column;gap:0;box-sizing:border-box;width:100%;padding:24px;min-height:220px}
html.hydro-refined .dyoj-class-card-head{min-height:0;margin-bottom:14px}
html.hydro-refined .dyoj-class-card-title strong{font-size:18px;line-height:1.6;white-space:normal}
html.hydro-refined .dyoj-class-members{padding:0;background:none;border-radius:0;font-size:12px}
html.hydro-refined .dyoj-class-card-desc{min-height:42px;margin:0 0 14px;line-height:1.7}
html.hydro-refined .dyoj-class-card-foot{margin-top:auto;padding:14px 0 0}
html.hydro-refined .dyoj-class-card .dyoj-class-kind{background:none;padding:0;color:var(--ref-muted)}
html.hydro-refined .dyoj-class-card .dyoj-class-enter{color:var(--ref-ink);font-weight:500}
html.hydro-refined .dyoj-class-search{margin:0;max-width:100%}
html.hydro-refined .dyoj-class-search .textbox{height:40px;padding-left:36px;width:250px}
html.hydro-refined .dyoj-class-hero{padding:26px 28px;border-radius:8px;background:var(--ref-panel)}
html.hydro-refined .dyoj-class-head{padding-bottom:0}
html.hydro-refined .dyoj-class-head-meta span{background:none;box-shadow:none;padding:0;margin-right:12px;border-radius:0}
html.hydro-refined .dyoj-class-desc{font-size:14px;line-height:1.8;margin:16px 0 0;color:var(--ref-muted)}
html.hydro-refined .dyoj-class-tabs--inner{border-radius:8px;padding:8px 16px;gap:6px;overflow:auto}
html.hydro-refined .dyoj-class-tabs--inner .dyoj-class-tab{font-size:14px;padding:10px 16px;border-radius:5px}
html.hydro-refined .dyoj-course-layout{padding:24px;gap:24px;grid-template-columns:210px minmax(0,1fr)}
html.hydro-refined .dyoj-course-side{background:none;border-right:1px solid var(--ref-line);padding:2px 20px 2px 0;border-radius:0}
html.hydro-refined .dyoj-course-cat{padding:12px 10px;color:var(--ref-ink);font-size:14px;border-radius:5px;box-shadow:none}
html.hydro-refined .dyoj-course-cat.is-active{box-shadow:none;background:var(--ref-accent-soft);color:var(--ref-accent);font-weight:650}
html.hydro-refined .school-course-heading{margin-bottom:18px}
html.hydro-refined .school-course-heading .learning-eyebrow{display:none}
html.hydro-refined .school-course-heading h2{margin:0;font-size:22px}
html.hydro-refined .school-course-list{gap:0;border-top:1px solid var(--ref-line)}
html.hydro-refined .school-course-row{padding:22px 4px;border:0;border-bottom:1px solid var(--ref-line);border-radius:0;gap:18px}
html.hydro-refined .school-course-number{background:none;color:var(--ref-muted);width:30px;font:500 13px/30px ui-monospace,monospace}
html.hydro-refined .school-course-title{font-size:17px!important}
html.hydro-refined .school-course-hero{border-top:1px solid var(--ref-line);border-radius:8px;padding:28px;margin-top:0}
html.hydro-refined .school-chapter{border-radius:8px;overflow:hidden}
html.hydro-refined .school-chapter-index{background:var(--ref-hover);color:var(--ref-muted)}
html.hydro-refined .school-network-status{background:var(--ref-panel);border:1px solid var(--ref-line);padding:12px 16px;margin:12px 0;border-radius:6px;font-size:13px;color:var(--ref-muted)}
html.hydro-refined .school-network-status.is-error{color:#a44735;background:#fff6f1}
html.hydro-refined #school-panel[aria-busy=true],html.hydro-refined #school-browser[aria-busy=true]{opacity:1;pointer-events:auto;transition:none}
html.hydro-refined .school-resource-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}
html.hydro-refined .school-resource-sidebar,html.hydro-refined .school-resource-filter,html.hydro-refined .school-create-panel,html.hydro-refined .school-resource-table{background:var(--ref-panel);border:1px solid var(--ref-line);border-radius:8px}
html.hydro-refined .school-resource-sidebar{padding:22px 18px}
html.hydro-refined .school-resource-sidebar h2{font-size:12px;letter-spacing:.06em;color:var(--ref-muted);margin:0 12px 16px}
html.hydro-refined .school-resource-sidebar .school-stage-link{display:flex;justify-content:space-between;align-items:center;gap:12px;line-height:1.6;padding:15px 12px;margin:6px 0;color:var(--ref-ink);border:1px solid transparent;border-radius:5px}
html.hydro-refined .school-resource-sidebar .school-stage-link.is-active{background:var(--ref-accent-soft);border-color:var(--ref-line);color:var(--ref-accent);box-shadow:none}
html.hydro-refined .school-resource-sidebar .school-stage-link>span:last-child{color:var(--ref-muted)}
html.hydro-refined .school-resource-main{display:grid;gap:20px;min-width:0}
html.hydro-refined .school-resource-filter,html.hydro-refined .school-create-panel{padding:24px}
html.hydro-refined .school-filter-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px}
html.hydro-refined .school-filter-heading h2{font-size:19px;font-weight:650;margin:0}
html.hydro-refined .school-filter-heading>span{font-size:12px}
html.hydro-refined .school-filter-form{display:flex;align-items:center;gap:12px;margin:0}
html.hydro-refined .school-resource-search{position:relative;display:block;flex:1;min-width:0}
html.hydro-refined .school-resource-search .icon{position:absolute;left:13px;top:13px;color:var(--ref-muted)}
html.hydro-refined .school-resource-search .textbox{width:100%;padding-left:36px}
html.hydro-refined .school-filter-form select.textbox{width:130px;flex:none}
html.hydro-refined .school-stage-edit{margin:14px 0 0;font-size:12px}
html.hydro-refined .school-create-panel label{display:block;font-size:13px;margin-bottom:16px;line-height:1.7}
html.hydro-refined .school-create-panel .textbox{width:100%;margin-top:6px}
html.hydro-refined .school-resource-table{overflow:hidden}
html.hydro-refined .school-resource-table table{width:100%}
html.hydro-refined .school-resource-table :is(th,td){border-left:0;border-right:0;padding:18px 20px;vertical-align:middle;font-size:13px}
html.hydro-refined .school-resource-table th{background:var(--ref-hover);font-size:12px;color:var(--ref-muted);font-weight:500}
html.hydro-refined .school-resource-table th:first-child{width:55%}
html.hydro-refined .school-resource-table td:not(:first-child){white-space:nowrap}
html.hydro-refined .school-resource-table tbody tr:last-child td{border-bottom:0}
html.hydro-refined .school-resource-table tbody tr:hover{background:var(--ref-hover)}
html.hydro-refined .school-resource-title{color:var(--ref-ink);font-size:15px;font-weight:600;line-height:1.6}
html.hydro-refined .school-resource-table td p{font-size:12px;color:var(--ref-muted);margin:5px 0 0}
html.hydro-refined .school-resource-table .school-row-actions{gap:14px;flex-wrap:nowrap}
html.hydro-refined .school-resource-table .school-row-actions a{color:var(--ref-accent)}
html.hydro-refined .school-state{font-size:11px;background:var(--ref-hover);padding:4px 8px;border-radius:4px}
html.hydro-refined .school-workspace-head>.button{flex:none}
html.hydro-refined .school-create-panel[hidden]{display:none}
@media(max-width:1000px){html.hydro-refined .dyoj-class-page .dyoj-class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html.hydro-refined .school-resource-layout{grid-template-columns:210px minmax(0,1fr);gap:18px}html.hydro-refined .school-resource-table :is(th,td){padding:15px 12px}}
@media(max-width:700px){html.hydro-refined .school-resource-layout{grid-template-columns:1fr}html.hydro-refined .school-resource-sidebar{padding:16px}html.hydro-refined .school-resource-sidebar nav{display:flex;overflow:auto;gap:6px}html.hydro-refined .school-resource-sidebar .school-stage-link{flex:none;white-space:nowrap;margin:0;padding:10px 12px}html.hydro-refined .school-resource-sidebar .school-stage-link>span:last-child{display:none}html.hydro-refined .school-add-stage{margin:16px 10px 0}html.hydro-refined .school-resource-table table{min-width:540px}html.hydro-refined .dyoj-course-layout{grid-template-columns:1fr}html.hydro-refined .dyoj-course-side{border:0;border-bottom:1px solid var(--ref-line);padding:0 0 16px}html.hydro-refined .school-filter-form{flex-wrap:wrap}html.hydro-refined .school-resource-search{flex-basis:100%}html.hydro-refined .school-workspace-head,html.hydro-refined .dyoj-class-page-head{padding:22px 8px;flex-wrap:wrap}html.hydro-refined .school-resource-filter{padding:20px}html.hydro-refined .school-resource-table .dyoj-table-scroll{overflow-x:auto}}
@media(max-width:500px){html.hydro-refined .dyoj-class-page .dyoj-class-grid{grid-template-columns:1fr;padding:0 12px}html.hydro-refined .dyoj-class-page .dyoj-class-toolbar{margin:0 12px 16px;padding:14px}html.hydro-refined .dyoj-class-search,html.hydro-refined .dyoj-class-search .textbox{width:100%}html.hydro-refined .dyoj-class-card-link{min-height:205px;padding:22px}html.hydro-refined .school-course-row{flex-wrap:wrap}html.hydro-refined .school-workspace-head h1,html.hydro-refined .dyoj-class-page-head h1{font-size:26px}}

/* Hydro's entrance effects do not initialize dynamically created editor sections. */
html.hydro-refined :is(.school-page,.dyoj-class-detail,.school-library) .section,
html.hydro-refined .dyoj-class-page.section,
html.hydro-refined .dyoj-class-detail.section{opacity:1!important;transform:none!important;animation:none!important;visibility:visible!important}
html.hydro-refined :is(.school-page,.dyoj-class-page,.dyoj-class-detail,.school-library){font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif}
html.hydro-refined .school-resource-layout>*{min-width:0}
html.hydro-refined .school-resource-sidebar nav{max-width:100%;box-sizing:border-box}
html.hydro-refined .school-resource-table tbody tr:nth-child(even){background:var(--ref-panel)}
html.hydro-refined .school-resource-table :is(td,th){padding-top:14px;padding-bottom:14px}
@media(max-width:700px){html.hydro-refined .school-resource-layout{grid-template-columns:minmax(0,1fr)}}

html.hydro-refined :is(.dyoj-class-page,.dyoj-class-detail,.school-library,.school-page) .primary.button:hover{background:var(--ref-primary-hover);border-color:var(--ref-primary-hover);filter:none}
